diff --git a/dist/0.ce4fa17e796500cc1eca.worker.worker.js b/dist/0.5a10394fad935889335e.worker.worker.js similarity index 100% rename from dist/0.ce4fa17e796500cc1eca.worker.worker.js rename to dist/0.5a10394fad935889335e.worker.worker.js diff --git a/dist/0.6000412d60ee3bcdd884.worker.worker.js b/dist/0.70ec3367f72b89cf4238.worker.worker.js similarity index 100% rename from dist/0.6000412d60ee3bcdd884.worker.worker.js rename to dist/0.70ec3367f72b89cf4238.worker.worker.js diff --git a/dist/1.08a977d792232ceaebd8.worker.worker.js b/dist/1.98868fb1f149804098e1.worker.worker.js similarity index 100% rename from dist/1.08a977d792232ceaebd8.worker.worker.js rename to dist/1.98868fb1f149804098e1.worker.worker.js diff --git a/dist/1.b8751dae0b6721cd3eef.worker.worker.js b/dist/1.a99894a851edb3310b1b.worker.worker.js similarity index 100% rename from dist/1.b8751dae0b6721cd3eef.worker.worker.js rename to dist/1.a99894a851edb3310b1b.worker.worker.js diff --git a/dist/georaster.browser.bundle.js b/dist/georaster.browser.bundle.js index 7785ac7..359ce81 100644 --- a/dist/georaster.browser.bundle.js +++ b/dist/georaster.browser.bundle.js @@ -137,7 +137,29 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /*! no static exports found */ /***/ (function(module, exports) { -eval("var global = typeof self !== 'undefined' ? self : this;\nvar __self__ = (function () {\nfunction F() {\nthis.fetch = false;\nthis.DOMException = global.DOMException\n}\nF.prototype = global;\nreturn new F();\n})();\n(function(self) {\n\nvar irrelevant = (function (exports) {\n\n var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob();\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n };\n\n function isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ];\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n };\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift();\n return {done: value === undefined, value: value}\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n };\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name]);\n }, this);\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n };\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)];\n };\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null\n };\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n };\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n };\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n };\n\n Headers.prototype.keys = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push(name);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.values = function() {\n var items = [];\n this.forEach(function(value) {\n items.push(value);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.entries = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items)\n };\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true;\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result);\n };\n reader.onerror = function() {\n reject(reader.error);\n };\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false;\n\n this._initBody = function(body) {\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n };\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n };\n }\n\n this.text = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n };\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n };\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n };\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method\n }\n\n function Request(input, options) {\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body);\n }\n\n Request.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n };\n\n function decode(body) {\n var form = new FormData();\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers\n }\n\n Body.call(Request.prototype);\n\n function Response(bodyInit, options) {\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = 'statusText' in options ? options.statusText : 'OK';\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n }\n\n Body.call(Response.prototype);\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n };\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''});\n response.type = 'error';\n return response\n };\n\n var redirectStatuses = [301, 302, 303, 307, 308];\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n };\n\n exports.DOMException = self.DOMException;\n try {\n new exports.DOMException();\n } catch (err) {\n exports.DOMException = function(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n exports.DOMException.prototype = Object.create(Error.prototype);\n exports.DOMException.prototype.constructor = exports.DOMException;\n }\n\n function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new exports.DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n resolve(new Response(body, options));\n };\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.onabort = function() {\n reject(new exports.DOMException('Aborted', 'AbortError'));\n };\n\n xhr.open(request.method, request.url, true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob';\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value);\n });\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n })\n }\n\n fetch.polyfill = true;\n\n if (!self.fetch) {\n self.fetch = fetch;\n self.Headers = Headers;\n self.Request = Request;\n self.Response = Response;\n }\n\n exports.Headers = Headers;\n exports.Request = Request;\n exports.Response = Response;\n exports.fetch = fetch;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n return exports;\n\n}({}));\n})(__self__);\n__self__.fetch.ponyfill = true;\n// Remove \"polyfill\" property added by whatwg-fetch\ndelete __self__.fetch.polyfill;\n// Choose between native implementation (global) or custom implementation (__self__)\n// var ctx = global.fetch ? global : __self__;\nvar ctx = __self__; // this line disable service worker support temporarily\nexports = ctx.fetch // To enable: import fetch from 'cross-fetch'\nexports.default = ctx.fetch // For TypeScript consumers without esModuleInterop.\nexports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch'\nexports.Headers = ctx.Headers\nexports.Request = ctx.Request\nexports.Response = ctx.Response\nmodule.exports = exports\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/cross-fetch/dist/browser-ponyfill.js?"); +eval("var global = typeof self !== 'undefined' ? self : this;\nvar __self__ = (function () {\nfunction F() {\nthis.fetch = false;\nthis.DOMException = global.DOMException\n}\nF.prototype = global;\nreturn new F();\n})();\n(function(self) {\n\nvar irrelevant = (function (exports) {\n\n var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob();\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n };\n\n function isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ];\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n };\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift();\n return {done: value === undefined, value: value}\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n };\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name]);\n }, this);\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n };\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)];\n };\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null\n };\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n };\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n };\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n };\n\n Headers.prototype.keys = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push(name);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.values = function() {\n var items = [];\n this.forEach(function(value) {\n items.push(value);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.entries = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items)\n };\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true;\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result);\n };\n reader.onerror = function() {\n reject(reader.error);\n };\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false;\n\n this._initBody = function(body) {\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n };\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n };\n }\n\n this.text = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n };\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n };\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n };\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method\n }\n\n function Request(input, options) {\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body);\n }\n\n Request.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n };\n\n function decode(body) {\n var form = new FormData();\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers\n }\n\n Body.call(Request.prototype);\n\n function Response(bodyInit, options) {\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = 'statusText' in options ? options.statusText : 'OK';\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n }\n\n Body.call(Response.prototype);\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n };\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''});\n response.type = 'error';\n return response\n };\n\n var redirectStatuses = [301, 302, 303, 307, 308];\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n };\n\n exports.DOMException = self.DOMException;\n try {\n new exports.DOMException();\n } catch (err) {\n exports.DOMException = function(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n exports.DOMException.prototype = Object.create(Error.prototype);\n exports.DOMException.prototype.constructor = exports.DOMException;\n }\n\n function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new exports.DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n resolve(new Response(body, options));\n };\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.onabort = function() {\n reject(new exports.DOMException('Aborted', 'AbortError'));\n };\n\n xhr.open(request.method, request.url, true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob';\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value);\n });\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n })\n }\n\n fetch.polyfill = true;\n\n if (!self.fetch) {\n self.fetch = fetch;\n self.Headers = Headers;\n self.Request = Request;\n self.Response = Response;\n }\n\n exports.Headers = Headers;\n exports.Request = Request;\n exports.Response = Response;\n exports.fetch = fetch;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n return exports;\n\n})({});\n})(__self__);\n__self__.fetch.ponyfill = true;\n// Remove \"polyfill\" property added by whatwg-fetch\ndelete __self__.fetch.polyfill;\n// Choose between native implementation (global) or custom implementation (__self__)\n// var ctx = global.fetch ? global : __self__;\nvar ctx = __self__; // this line disable service worker support temporarily\nexports = ctx.fetch // To enable: import fetch from 'cross-fetch'\nexports.default = ctx.fetch // For TypeScript consumers without esModuleInterop.\nexports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch'\nexports.Headers = ctx.Headers\nexports.Request = ctx.Request\nexports.Response = ctx.Response\nmodule.exports = exports\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/cross-fetch/dist/browser-ponyfill.js?"); + +/***/ }), + +/***/ "./node_modules/debug/src/browser.js": +/*!*******************************************!*\ + !*** ./node_modules/debug/src/browser.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(process) {/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = __webpack_require__(/*! ./common */ \"./node_modules/debug/src/common.js\")(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/browser.js?"); + +/***/ }), + +/***/ "./node_modules/debug/src/common.js": +/*!******************************************!*\ + !*** ./node_modules/debug/src/common.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = __webpack_require__(/*! ms */ \"./node_modules/ms/index.js\");\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/common.js?"); /***/ }), @@ -460,6 +482,17 @@ eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function /***/ }), +/***/ "./node_modules/ms/index.js": +/*!**********************************!*\ + !*** ./node_modules/ms/index.js ***! + \**********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/ms/index.js?"); + +/***/ }), + /***/ "./node_modules/node-libs-browser/mock/empty.js": /*!******************************************************!*\ !*** ./node_modules/node-libs-browser/mock/empty.js ***! @@ -495,6 +528,17 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ }), +/***/ "./node_modules/node-libs-browser/node_modules/punycode/punycode.js": +/*!**************************************************************************!*\ + !*** ./node_modules/node-libs-browser/node_modules/punycode/punycode.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = true && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = true && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.4.1',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttrue\n\t) {\n\t\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n\t\t\treturn punycode;\n\t\t}).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n\n}(this));\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module), __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/punycode/punycode.js?"); + +/***/ }), + /***/ "./node_modules/node-libs-browser/node_modules/timers-browserify/main.js": /*!*******************************************************************************!*\ !*** ./node_modules/node-libs-browser/node_modules/timers-browserify/main.js ***! @@ -853,17 +897,6 @@ eval("// shim for using process in browser\nvar process = module.exports = {};\n /***/ }), -/***/ "./node_modules/punycode/punycode.js": -/*!*******************************************!*\ - !*** ./node_modules/punycode/punycode.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = true && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = true && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.4.1',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttrue\n\t) {\n\t\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n\t\t\treturn punycode;\n\t\t}).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n\n}(this));\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module), __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/punycode/punycode.js?"); - -/***/ }), - /***/ "./node_modules/querystring-es3/decode.js": /*!************************************************!*\ !*** ./node_modules/querystring-es3/decode.js ***! @@ -900,6 +933,18 @@ eval("\n\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \ /***/ }), +/***/ "./node_modules/readable-stream/errors-browser.js": +/*!********************************************************!*\ + !*** ./node_modules/readable-stream/errors-browser.js ***! + \********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nvar codes = {};\n\nfunction createErrorType(code, message, Base) {\n if (!Base) {\n Base = Error;\n }\n\n function getMessage(arg1, arg2, arg3) {\n if (typeof message === 'string') {\n return message;\n } else {\n return message(arg1, arg2, arg3);\n }\n }\n\n var NodeError =\n /*#__PURE__*/\n function (_Base) {\n _inheritsLoose(NodeError, _Base);\n\n function NodeError(arg1, arg2, arg3) {\n return _Base.call(this, getMessage(arg1, arg2, arg3)) || this;\n }\n\n return NodeError;\n }(Base);\n\n NodeError.prototype.name = Base.name;\n NodeError.prototype.code = code;\n codes[code] = NodeError;\n} // https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js\n\n\nfunction oneOf(expected, thing) {\n if (Array.isArray(expected)) {\n var len = expected.length;\n expected = expected.map(function (i) {\n return String(i);\n });\n\n if (len > 2) {\n return \"one of \".concat(thing, \" \").concat(expected.slice(0, len - 1).join(', '), \", or \") + expected[len - 1];\n } else if (len === 2) {\n return \"one of \".concat(thing, \" \").concat(expected[0], \" or \").concat(expected[1]);\n } else {\n return \"of \".concat(thing, \" \").concat(expected[0]);\n }\n } else {\n return \"of \".concat(thing, \" \").concat(String(expected));\n }\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith\n\n\nfunction startsWith(str, search, pos) {\n return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\n\n\nfunction endsWith(str, search, this_len) {\n if (this_len === undefined || this_len > str.length) {\n this_len = str.length;\n }\n\n return str.substring(this_len - search.length, this_len) === search;\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes\n\n\nfunction includes(str, search, start) {\n if (typeof start !== 'number') {\n start = 0;\n }\n\n if (start + search.length > str.length) {\n return false;\n } else {\n return str.indexOf(search, start) !== -1;\n }\n}\n\ncreateErrorType('ERR_INVALID_OPT_VALUE', function (name, value) {\n return 'The value \"' + value + '\" is invalid for option \"' + name + '\"';\n}, TypeError);\ncreateErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {\n // determiner: 'must be' or 'must not be'\n var determiner;\n\n if (typeof expected === 'string' && startsWith(expected, 'not ')) {\n determiner = 'must not be';\n expected = expected.replace(/^not /, '');\n } else {\n determiner = 'must be';\n }\n\n var msg;\n\n if (endsWith(name, ' argument')) {\n // For cases like 'first argument'\n msg = \"The \".concat(name, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n } else {\n var type = includes(name, '.') ? 'property' : 'argument';\n msg = \"The \\\"\".concat(name, \"\\\" \").concat(type, \" \").concat(determiner, \" \").concat(oneOf(expected, 'type'));\n }\n\n msg += \". Received type \".concat(typeof actual);\n return msg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF');\ncreateErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) {\n return 'The ' + name + ' method is not implemented';\n});\ncreateErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close');\ncreateErrorType('ERR_STREAM_DESTROYED', function (name) {\n return 'Cannot call ' + name + ' after a stream was destroyed';\n});\ncreateErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');\ncreateErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable');\ncreateErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end');\ncreateErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\ncreateErrorType('ERR_UNKNOWN_ENCODING', function (arg) {\n return 'Unknown encoding: ' + arg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\nmodule.exports.codes = codes;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/errors-browser.js?"); + +/***/ }), + /***/ "./node_modules/readable-stream/lib/_stream_duplex.js": /*!************************************************************!*\ !*** ./node_modules/readable-stream/lib/_stream_duplex.js ***! @@ -908,7 +953,7 @@ eval("\n\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\n/**/\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }return keys;\n};\n/**/\n\nmodule.exports = Duplex;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\n\nutil.inherits(Duplex, Readable);\n\n{\n // avoid scope creep, the keys array can then be collected\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\n\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n\n Readable.call(this, options);\n Writable.call(this, options);\n\n if (options && options.readable === false) this.readable = false;\n\n if (options && options.writable === false) this.writable = false;\n\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\n\n this.once('end', onend);\n}\n\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// the no-half-open enforcer\nfunction onend() {\n // if we allow half-open state, or if the writable side ended,\n // then we're ok.\n if (this.allowHalfOpen || this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n pna.nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n\nDuplex.prototype._destroy = function (err, cb) {\n this.push(null);\n this.end();\n\n pna.nextTick(cb, err);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?"); +eval("/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n/**/\n\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n\n for (var key in obj) {\n keys.push(key);\n }\n\n return keys;\n};\n/**/\n\n\nmodule.exports = Duplex;\n\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\n\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")(Duplex, Readable);\n\n{\n // Allow the keys array to be GC'ed.\n var keys = objectKeys(Writable.prototype);\n\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\n\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n this.allowHalfOpen = true;\n\n if (options) {\n if (options.readable === false) this.readable = false;\n if (options.writable === false) this.writable = false;\n\n if (options.allowHalfOpen === false) {\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n }\n}\n\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n}); // the no-half-open enforcer\n\nfunction onend() {\n // If the writable side ended, then we're ok.\n if (this._writableState.ended) return; // no more data can be written.\n // But allow more writes to happen in this tick.\n\n process.nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?"); /***/ }), @@ -920,7 +965,7 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n\n\nmodule.exports = PassThrough;\n\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\nutil.inherits(PassThrough, Transform);\n\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n\n Transform.call(this, options);\n}\n\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n\nmodule.exports = PassThrough;\n\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")(PassThrough, Transform);\n\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n Transform.call(this, options);\n}\n\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?"); /***/ }), @@ -932,7 +977,7 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Readable;\n\n/**/\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\");\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n\n/**/\nvar EE = __webpack_require__(/*! events */ \"./node_modules/node-libs-browser/node_modules/events/events.js\").EventEmitter;\n\nvar EElistenerCount = function (emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/readable-stream/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\n/**/\nvar debugUtil = __webpack_require__(/*! util */ 0);\nvar debug = void 0;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function () {};\n}\n/**/\n\nvar BufferList = __webpack_require__(/*! ./internal/streams/BufferList */ \"./node_modules/readable-stream/lib/internal/streams/BufferList.js\");\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\nvar StringDecoder;\n\nutil.inherits(Readable, Stream);\n\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\n\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\n\nfunction ReadableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n var hwm = options.highWaterMark;\n var readableHwm = options.readableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\n\nfunction Readable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n if (!(this instanceof Readable)) return new Readable(options);\n\n this._readableState = new ReadableState(options, this);\n\n // legacy\n this.readable = true;\n\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n\n Stream.call(this);\n}\n\nObject.defineProperty(Readable.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n }\n});\n\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n this.push(null);\n cb(err);\n};\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\n\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (addToFront) {\n if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n stream.emit('error', new Error('stream.push() after EOF'));\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n }\n\n return needMoreData(state);\n}\n\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\n\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n}\n\n// if it's past the high water mark, we can push in some more.\n// Also, if we have no data yet, we can stand some\n// more bytes. This is to work around cases where hwm=0,\n// such as the repl. Also, if the push() triggered a\n// readable event, and the user called read(largeNumber) such that\n// needReadable was set, then we ought to push more, so that another\n// 'readable' event will be triggered.\nfunction needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n}\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n};\n\n// Don't raise the hwm > 8MB\nvar MAX_HWM = 0x800000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n } else {\n state.length -= n;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n\n return ret;\n};\n\nfunction onEofChunk(stream, state) {\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n\n // emit 'readable' now to make sure it gets picked up.\n emitReadable(stream);\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);\n }\n}\n\nfunction emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n pna.nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;else len = state.length;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n this.emit('error', new Error('_read() is not implemented'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);\n\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n // If the user pushes more data while we're writing to dest then we'll end up\n // in ondata again. However, we only want to increase awaitDrain once because\n // dest will only emit one 'drain' event for the multiple writes.\n // => Introduce a guard on increasing awaitDrain.\n var increasedAwaitDrain = false;\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n increasedAwaitDrain = false;\n var ret = dest.write(chunk);\n if (false === ret && !increasedAwaitDrain) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n increasedAwaitDrain = true;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function () {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = { hasUnpiped: false };\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, unpipeInfo);\n }return this;\n }\n\n // try to find the right one.\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n\n dest.emit('unpipe', this, unpipeInfo);\n\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n\n if (ev === 'data') {\n // Start flowing on next tick if stream isn't explicitly paused\n if (this._readableState.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n var state = this._readableState;\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.emittedReadable = false;\n if (!state.reading) {\n pna.nextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this);\n }\n }\n }\n\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n pna.nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n state.awaitDrain = 0;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null) {}\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n\n var state = this._readableState;\n var paused = false;\n\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n\n _this.push(null);\n });\n\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function (method) {\n return function () {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n }\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return this;\n};\n\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._readableState.highWaterMark;\n }\n});\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = fromListPartial(n, state.buffer, state.decoder);\n }\n\n return ret;\n}\n\n// Extracts only enough buffered data to satisfy the amount requested.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromListPartial(n, list, hasStrings) {\n var ret;\n if (n < list.head.data.length) {\n // slice is the same for buffers and strings\n ret = list.head.data.slice(0, n);\n list.head.data = list.head.data.slice(n);\n } else if (n === list.head.data.length) {\n // first chunk is a perfect match\n ret = list.shift();\n } else {\n // result spans more than one buffer\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\n }\n return ret;\n}\n\n// Copies a specified amount of characters from the list of buffered data\n// chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBufferString(n, list) {\n var p = list.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\n// Copies a specified amount of bytes from the list of buffered data chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBuffer(n, list) {\n var ret = Buffer.allocUnsafe(n);\n var p = list.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n\n // If we get here before consuming all the bytes, then that is a\n // bug in node. Should never happen.\n if (state.length > 0) throw new Error('\"endReadable()\" called on non-empty stream');\n\n if (!state.endEmitted) {\n state.ended = true;\n pna.nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?"); +eval("/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\nmodule.exports = Readable;\n/**/\n\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n/**/\n\nvar EE = __webpack_require__(/*! events */ \"./node_modules/node-libs-browser/node_modules/events/events.js\").EventEmitter;\n\nvar EElistenerCount = function EElistenerCount(emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\n\n\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n\nvar Buffer = __webpack_require__(/*! buffer */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer;\n\nvar OurUint8Array = global.Uint8Array || function () {};\n\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\n\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n/**/\n\n\nvar debugUtil = __webpack_require__(/*! util */ 0);\n\nvar debug;\n\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function debug() {};\n}\n/**/\n\n\nvar BufferList = __webpack_require__(/*! ./internal/streams/buffer_list */ \"./node_modules/readable-stream/lib/internal/streams/buffer_list.js\");\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \"./node_modules/readable-stream/lib/internal/streams/state.js\"),\n getHighWaterMark = _require.getHighWaterMark;\n\nvar _require$codes = __webpack_require__(/*! ../errors */ \"./node_modules/readable-stream/errors-browser.js\").codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance.\n\n\nvar StringDecoder;\nvar createReadableStreamAsyncIterator;\nvar from;\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")(Readable, Stream);\n\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\n\nfunction ReadableState(options, stream, isDuplex) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n options = options || {}; // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n\n this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n\n this.sync = true; // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n this.paused = true; // Should close be emitted on destroy. Defaults to true.\n\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish')\n\n this.autoDestroy = !!options.autoDestroy; // has it been destroyed\n\n this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s\n\n this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled\n\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\n\nfunction Readable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside\n // the ReadableState constructor, at least with V8 6.5\n\n var isDuplex = this instanceof Duplex;\n this._readableState = new ReadableState(options, this, isDuplex); // legacy\n\n this.readable = true;\n\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n\n Stream.call(this);\n}\n\nObject.defineProperty(Readable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined) {\n return false;\n }\n\n return this._readableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n\n this._readableState.destroyed = value;\n }\n});\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\n\nReadable.prototype._destroy = function (err, cb) {\n cb(err);\n}; // Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\n\n\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n}; // Unshift should *always* be something directly out of read()\n\n\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\n\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n debug('readableAddChunk', chunk);\n var state = stream._readableState;\n\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n\n if (er) {\n errorOrDestroy(stream, er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (addToFront) {\n if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());\n } else if (state.destroyed) {\n return false;\n } else {\n state.reading = false;\n\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n maybeReadMore(stream, state);\n }\n } // We can push more data if we are below the highWaterMark.\n // Also, if we have no data yet, we can stand some more bytes.\n // This is to work around cases where hwm=0, such as the repl.\n\n\n return !state.ended && (state.length < state.highWaterMark || state.length === 0);\n}\n\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n state.awaitDrain = 0;\n stream.emit('data', chunk);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n if (state.needReadable) emitReadable(stream);\n }\n\n maybeReadMore(stream, state);\n}\n\nfunction chunkInvalid(state, chunk) {\n var er;\n\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);\n }\n\n return er;\n}\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n}; // backwards compatibility.\n\n\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n var decoder = new StringDecoder(enc);\n this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8\n\n this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers:\n\n var p = this._readableState.buffer.head;\n var content = '';\n\n while (p !== null) {\n content += decoder.write(p.data);\n p = p.next;\n }\n\n this._readableState.buffer.clear();\n\n if (content !== '') this._readableState.buffer.push(content);\n this._readableState.length = content.length;\n return this;\n}; // Don't raise the hwm > 1GB\n\n\nvar MAX_HWM = 0x40000000;\n\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n\n return n;\n} // This function is designed to be inlinable, so please take care when making\n// changes to the function body.\n\n\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n } // If we're asking for more than the current hwm, then raise the hwm.\n\n\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n; // Don't have enough\n\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n\n return state.length;\n} // you can override either this method, or the async _read(n) below.\n\n\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n\n if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up.\n\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n } // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n // if we need a readable event, then we need to do some reading.\n\n\n var doRead = state.needReadable;\n debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some\n\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n } // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n\n\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true; // if the length is currently zero, then we *need* a readable event.\n\n if (state.length === 0) state.needReadable = true; // call internal read method\n\n this._read(state.highWaterMark);\n\n state.sync = false; // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = state.length <= state.highWaterMark;\n n = 0;\n } else {\n state.length -= n;\n state.awaitDrain = 0;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick.\n\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n return ret;\n};\n\nfunction onEofChunk(stream, state) {\n debug('onEofChunk');\n if (state.ended) return;\n\n if (state.decoder) {\n var chunk = state.decoder.end();\n\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n\n state.ended = true;\n\n if (state.sync) {\n // if we are sync, wait until next tick to emit the data.\n // Otherwise we risk emitting data in the flow()\n // the readable code triggers during a read() call\n emitReadable(stream);\n } else {\n // emit 'readable' now to make sure it gets picked up.\n state.needReadable = false;\n\n if (!state.emittedReadable) {\n state.emittedReadable = true;\n emitReadable_(stream);\n }\n }\n} // Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\n\n\nfunction emitReadable(stream) {\n var state = stream._readableState;\n debug('emitReadable', state.needReadable, state.emittedReadable);\n state.needReadable = false;\n\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n process.nextTick(emitReadable_, stream);\n }\n}\n\nfunction emitReadable_(stream) {\n var state = stream._readableState;\n debug('emitReadable_', state.destroyed, state.length, state.ended);\n\n if (!state.destroyed && (state.length || state.ended)) {\n stream.emit('readable');\n state.emittedReadable = false;\n } // The stream needs another readable event if\n // 1. It is not flowing, as the flow mechanism will take\n // care of it.\n // 2. It is not ended.\n // 3. It is below the highWaterMark, so we can schedule\n // another readable later.\n\n\n state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;\n flow(stream);\n} // at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\n\n\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n process.nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n // Attempt to read more data if we should.\n //\n // The conditions for reading more data are (one of):\n // - Not enough data buffered (state.length < state.highWaterMark). The loop\n // is responsible for filling the buffer with enough data if such data\n // is available. If highWaterMark is 0 and we are not in the flowing mode\n // we should _not_ attempt to buffer any extra data. We'll get more data\n // when the stream consumer calls read() instead.\n // - No data in the buffer, and the stream is in flowing mode. In this mode\n // the loop below is responsible for ensuring read() is called. Failing to\n // call read here would abort the flow and there's no other mechanism for\n // continuing the flow if the stream consumer has just subscribed to the\n // 'data' event.\n //\n // In addition to the above conditions to keep reading data, the following\n // conditions prevent the data from being read:\n // - The stream has ended (state.ended).\n // - There is already a pending 'read' operation (state.reading). This is a\n // case where the the stream has called the implementation defined _read()\n // method, but they are processing the call asynchronously and have _not_\n // called push() with new data. In this case we skip performing more\n // read()s. The execution ends in this method again after the _read() ends\n // up calling push() with more data.\n while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {\n var len = state.length;\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length) // didn't get any data, stop spinning.\n break;\n }\n\n state.readingMore = false;\n} // abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\n\n\nReadable.prototype._read = function (n) {\n errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n\n default:\n state.pipes.push(dest);\n break;\n }\n\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n } // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n\n\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n var cleanedUp = false;\n\n function cleanup() {\n debug('cleanup'); // cleanup event handlers once the pipe is broken\n\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n cleanedUp = true; // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n src.on('data', ondata);\n\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n debug('dest.write', ret);\n\n if (ret === false) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', state.awaitDrain);\n state.awaitDrain++;\n }\n\n src.pause();\n }\n } // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n\n\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er);\n } // Make sure our error handler is attached before userland ones.\n\n\n prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once.\n\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n\n dest.once('close', onclose);\n\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n } // tell the dest that it's being piped to\n\n\n dest.emit('pipe', src); // start the flow if it hasn't been started already.\n\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function pipeOnDrainFunctionResult() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = {\n hasUnpiped: false\n }; // if we're not piping anywhere, then do nothing.\n\n if (state.pipesCount === 0) return this; // just one destination. most common case.\n\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n if (!dest) dest = state.pipes; // got a match.\n\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n } // slow case. multiple pipe destinations.\n\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, {\n hasUnpiped: false\n });\n }\n\n return this;\n } // try to find the right one.\n\n\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n dest.emit('unpipe', this, unpipeInfo);\n return this;\n}; // set up data events if they are asked for\n// Ensure readable listeners eventually get something\n\n\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n var state = this._readableState;\n\n if (ev === 'data') {\n // update readableListening so that resume() may be a no-op\n // a few lines down. This is needed to support once('readable').\n state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused\n\n if (state.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.flowing = false;\n state.emittedReadable = false;\n debug('on readable', state.length, state.reading);\n\n if (state.length) {\n emitReadable(this);\n } else if (!state.reading) {\n process.nextTick(nReadingNextTick, this);\n }\n }\n }\n\n return res;\n};\n\nReadable.prototype.addListener = Readable.prototype.on;\n\nReadable.prototype.removeListener = function (ev, fn) {\n var res = Stream.prototype.removeListener.call(this, ev, fn);\n\n if (ev === 'readable') {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n\n return res;\n};\n\nReadable.prototype.removeAllListeners = function (ev) {\n var res = Stream.prototype.removeAllListeners.apply(this, arguments);\n\n if (ev === 'readable' || ev === undefined) {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n\n return res;\n};\n\nfunction updateReadableListening(self) {\n var state = self._readableState;\n state.readableListening = self.listenerCount('readable') > 0;\n\n if (state.resumeScheduled && !state.paused) {\n // flowing needs to be set to true now, otherwise\n // the upcoming resume will not flow.\n state.flowing = true; // crude way to check if we should resume\n } else if (self.listenerCount('data') > 0) {\n self.resume();\n }\n}\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n} // pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\n\n\nReadable.prototype.resume = function () {\n var state = this._readableState;\n\n if (!state.flowing) {\n debug('resume'); // we flow only if there is no one listening\n // for readable, but we still have to call\n // resume()\n\n state.flowing = !state.readableListening;\n resume(this, state);\n }\n\n state.paused = false;\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n process.nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n debug('resume', state.reading);\n\n if (!state.reading) {\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n\n if (this._readableState.flowing !== false) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n\n this._readableState.paused = true;\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n\n while (state.flowing && stream.read() !== null) {\n ;\n }\n} // wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\n\n\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n\n var state = this._readableState;\n var paused = false;\n stream.on('end', function () {\n debug('wrapped end');\n\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n\n _this.push(null);\n });\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode\n\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = _this.push(chunk);\n\n if (!ret) {\n paused = true;\n stream.pause();\n }\n }); // proxy all the other methods.\n // important when wrapping filters and duplexes.\n\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function methodWrap(method) {\n return function methodWrapReturnFunction() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n } // proxy certain important events.\n\n\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n } // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n\n\n this._read = function (n) {\n debug('wrapped _read', n);\n\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return this;\n};\n\nif (typeof Symbol === 'function') {\n Readable.prototype[Symbol.asyncIterator] = function () {\n if (createReadableStreamAsyncIterator === undefined) {\n createReadableStreamAsyncIterator = __webpack_require__(/*! ./internal/streams/async_iterator */ \"./node_modules/readable-stream/lib/internal/streams/async_iterator.js\");\n }\n\n return createReadableStreamAsyncIterator(this);\n };\n}\n\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.highWaterMark;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState && this._readableState.buffer;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableFlowing', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.flowing;\n },\n set: function set(state) {\n if (this._readableState) {\n this._readableState.flowing = state;\n }\n }\n}); // exposed for testing purposes only.\n\nReadable._fromList = fromList;\nObject.defineProperty(Readable.prototype, 'readableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.length;\n }\n}); // Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\n\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = state.buffer.consume(n, state.decoder);\n }\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n debug('endReadable', state.endEmitted);\n\n if (!state.endEmitted) {\n state.ended = true;\n process.nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift.\n\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the writable side is ready for autoDestroy as well\n var wState = stream._writableState;\n\n if (!wState || wState.autoDestroy && wState.finished) {\n stream.destroy();\n }\n }\n }\n}\n\nif (typeof Symbol === 'function') {\n Readable.from = function (iterable, opts) {\n if (from === undefined) {\n from = __webpack_require__(/*! ./internal/streams/from */ \"./node_modules/readable-stream/lib/internal/streams/from-browser.js\");\n }\n\n return from(Readable, iterable, opts);\n };\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n\n return -1;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?"); /***/ }), @@ -944,7 +989,7 @@ eval("/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n\n\nmodule.exports = Transform;\n\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\nutil.inherits(Transform, Duplex);\n\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n\n var cb = ts.writecb;\n\n if (!cb) {\n return this.emit('error', new Error('write callback called multiple times'));\n }\n\n ts.writechunk = null;\n ts.writecb = null;\n\n if (data != null) // single equals check for both `null` and `undefined`\n this.push(data);\n\n cb(er);\n\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\n\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n\n Duplex.call(this, options);\n\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n };\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n // When the writable side finishes, then flush out anything remaining.\n this.on('prefinish', prefinish);\n}\n\nfunction prefinish() {\n var _this = this;\n\n if (typeof this._flush === 'function') {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n throw new Error('_transform() is not implemented');\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nTransform.prototype._destroy = function (err, cb) {\n var _this2 = this;\n\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n _this2.emit('close');\n });\n};\n\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n\n if (data != null) // single equals check for both `null` and `undefined`\n stream.push(data);\n\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');\n\n if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');\n\n return stream.push(null);\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n\nmodule.exports = Transform;\n\nvar _require$codes = __webpack_require__(/*! ../errors */ \"./node_modules/readable-stream/errors-browser.js\").codes,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,\n ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;\n\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")(Transform, Duplex);\n\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n\n if (cb === null) {\n return this.emit('error', new ERR_MULTIPLE_CALLBACK());\n }\n\n ts.writechunk = null;\n ts.writecb = null;\n if (data != null) // single equals check for both `null` and `undefined`\n this.push(data);\n cb(er);\n var rs = this._readableState;\n rs.reading = false;\n\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\n\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n Duplex.call(this, options);\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n }; // start out asking for a readable event once data is transformed.\n\n this._readableState.needReadable = true; // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n if (typeof options.flush === 'function') this._flush = options.flush;\n } // When the writable side finishes, then flush out anything remaining.\n\n\n this.on('prefinish', prefinish);\n}\n\nfunction prefinish() {\n var _this = this;\n\n if (typeof this._flush === 'function' && !this._readableState.destroyed) {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n}; // This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\n\n\nTransform.prototype._transform = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n}; // Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\n\n\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && !ts.transforming) {\n ts.transforming = true;\n\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nTransform.prototype._destroy = function (err, cb) {\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n });\n};\n\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n if (data != null) // single equals check for both `null` and `undefined`\n stream.push(data); // TODO(BridgeAR): Write a test for these two error cases\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n\n if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();\n if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();\n return stream.push(null);\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?"); /***/ }), @@ -956,19 +1001,31 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("/* WEBPACK VAR INJECTION */(function(process, setImmediate, global) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Writable;\n\n/* */\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\nvar asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\n/**/\nvar internalUtil = {\n deprecate: __webpack_require__(/*! util-deprecate */ \"./node_modules/util-deprecate/browser.js\")\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/readable-stream/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nutil.inherits(Writable, Stream);\n\nfunction nop() {}\n\nfunction WritableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n var hwm = options.highWaterMark;\n var writableHwm = options.writableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // if _final has been called\n this.finalCalled = false;\n\n // drain event flag.\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function () {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})();\n\n// Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function (object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function (object) {\n return object instanceof this;\n };\n}\n\nfunction Writable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {\n return new Writable(options);\n }\n\n this._writableState = new WritableState(options, this);\n\n // legacy.\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n\n if (typeof options.writev === 'function') this._writev = options.writev;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n\n if (typeof options.final === 'function') this._final = options.final;\n }\n\n Stream.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n this.emit('error', new Error('Cannot pipe, not readable'));\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n // TODO: defer error events consistently everywhere, not just the cb\n stream.emit('error', er);\n pna.nextTick(cb, er);\n}\n\n// Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\nfunction validChunk(stream, state, chunk, cb) {\n var valid = true;\n var er = false;\n\n if (chunk === null) {\n er = new TypeError('May not write null values to stream');\n } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n if (er) {\n stream.emit('error', er);\n pna.nextTick(cb, er);\n valid = false;\n }\n return valid;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n\n if (typeof cb !== 'function') cb = nop;\n\n if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n\n return ret;\n};\n\nWritable.prototype.cork = function () {\n var state = this._writableState;\n\n state.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\n\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n\n state.length += len;\n\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n pna.nextTick(cb, er);\n // this can emit finish, and it will always happen\n // after error\n pna.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n // this can emit finish, but finish must\n // always follow error\n finishMaybe(stream, state);\n }\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n\n onwriteStateUpdate(state);\n\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state);\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n /**/\n asyncWrite(afterWrite, stream, state, finished, cb);\n /**/\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new Error('_write() is not implemented'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending && !state.finished) endWritable(this, state, cb);\n};\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n stream.emit('error', err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function') {\n state.pendingcb++;\n state.finalCalled = true;\n pna.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n }\n }\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\n\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = corkReq;\n } else {\n state.corkedRequestsFree = corkReq;\n }\n}\n\nObject.defineProperty(Writable.prototype, 'destroyed', {\n get: function () {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._writableState.destroyed = value;\n }\n});\n\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n this.end();\n cb(err);\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\"), __webpack_require__(/*! ./../../node-libs-browser/node_modules/timers-browserify/main.js */ \"./node_modules/node-libs-browser/node_modules/timers-browserify/main.js\").setImmediate, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?"); +eval("/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n\nmodule.exports = Writable;\n/* */\n\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n} // It seems a linked list but it is not\n// there will be only 2 of these for each stream\n\n\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\n\n\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n/**/\n\nvar internalUtil = {\n deprecate: __webpack_require__(/*! util-deprecate */ \"./node_modules/util-deprecate/browser.js\")\n};\n/**/\n\n/**/\n\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n\nvar Buffer = __webpack_require__(/*! buffer */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer;\n\nvar OurUint8Array = global.Uint8Array || function () {};\n\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\n\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \"./node_modules/readable-stream/lib/internal/streams/state.js\"),\n getHighWaterMark = _require.getHighWaterMark;\n\nvar _require$codes = __webpack_require__(/*! ../errors */ \"./node_modules/readable-stream/errors-browser.js\").codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,\n ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,\n ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,\n ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;\n\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")(Writable, Stream);\n\nfunction nop() {}\n\nfunction WritableState(options, stream, isDuplex) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n options = options || {}; // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream,\n // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.\n\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n\n this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called\n\n this.finalCalled = false; // drain event flag.\n\n this.needDrain = false; // at the start of calling end()\n\n this.ending = false; // when end() has been called, and returned\n\n this.ended = false; // when 'finish' is emitted\n\n this.finished = false; // has it been destroyed\n\n this.destroyed = false; // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n\n this.length = 0; // a flag to see when we're in the middle of a write.\n\n this.writing = false; // when true all writes will be buffered until .uncork() call\n\n this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n\n this.sync = true; // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n\n this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb)\n\n this.onwrite = function (er) {\n onwrite(stream, er);\n }; // the callback that the user supplies to write(chunk,encoding,cb)\n\n\n this.writecb = null; // the amount that is being written when _write is called.\n\n this.writelen = 0;\n this.bufferedRequest = null;\n this.lastBufferedRequest = null; // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n\n this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n\n this.prefinished = false; // True if the error was already emitted and should not be thrown again\n\n this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true.\n\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end')\n\n this.autoDestroy = !!options.autoDestroy; // count buffered requests\n\n this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n\n while (current) {\n out.push(current);\n current = current.next;\n }\n\n return out;\n};\n\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function writableStateBufferGetter() {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})(); // Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\n\n\nvar realHasInstance;\n\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function value(object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function realHasInstance(object) {\n return object instanceof this;\n };\n}\n\nfunction Writable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\"); // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n // Checking for a Stream.Duplex instance is faster here instead of inside\n // the WritableState constructor, at least with V8 6.5\n\n var isDuplex = this instanceof Duplex;\n if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);\n this._writableState = new WritableState(options, this, isDuplex); // legacy.\n\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n if (typeof options.writev === 'function') this._writev = options.writev;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n if (typeof options.final === 'function') this._final = options.final;\n }\n\n Stream.call(this);\n} // Otherwise people can pipe Writable streams, which is just wrong.\n\n\nWritable.prototype.pipe = function () {\n errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb\n\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n} // Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\n\n\nfunction validChunk(stream, state, chunk, cb) {\n var er;\n\n if (chunk === null) {\n er = new ERR_STREAM_NULL_VALUES();\n } else if (typeof chunk !== 'string' && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);\n }\n\n if (er) {\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n return false;\n }\n\n return true;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n if (typeof cb !== 'function') cb = nop;\n if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n return ret;\n};\n\nWritable.prototype.cork = function () {\n this._writableState.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nObject.defineProperty(Writable.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n\n return chunk;\n}\n\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n}); // if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\n\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false.\n\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n process.nextTick(cb, er); // this can emit finish, and it will always happen\n // after error\n\n process.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er); // this can emit finish, but finish must\n // always follow error\n\n finishMaybe(stream, state);\n }\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK();\n onwriteStateUpdate(state);\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state) || stream.destroyed;\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n process.nextTick(afterWrite, stream, state, finished, cb);\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n} // Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\n\n\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n} // if there's something in the buffer waiting, then process it\n\n\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n var count = 0;\n var allBuffers = true;\n\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n\n buffer.allBuffers = allBuffers;\n doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n\n state.pendingcb++;\n state.lastBufferedRequest = null;\n\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks\n\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n } // ignore unnecessary end() calls.\n\n\n if (!state.ending) endWritable(this, state, cb);\n return this;\n};\n\nObject.defineProperty(Writable.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n});\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\n\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n\n if (err) {\n errorOrDestroy(stream, err);\n }\n\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\n\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function' && !state.destroyed) {\n state.pendingcb++;\n state.finalCalled = true;\n process.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n\n if (need) {\n prefinish(stream, state);\n\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the readable side is ready for autoDestroy as well\n var rState = stream._readableState;\n\n if (!rState || rState.autoDestroy && rState.endEmitted) {\n stream.destroy();\n }\n }\n }\n }\n\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n\n if (cb) {\n if (state.finished) process.nextTick(cb);else stream.once('finish', cb);\n }\n\n state.ended = true;\n stream.writable = false;\n}\n\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n } // reuse the free corkReq.\n\n\n state.corkedRequestsFree.next = corkReq;\n}\n\nObject.defineProperty(Writable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._writableState === undefined) {\n return false;\n }\n\n return this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n\n this._writableState.destroyed = value;\n }\n});\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\n\nWritable.prototype._destroy = function (err, cb) {\n cb(err);\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?"); /***/ }), -/***/ "./node_modules/readable-stream/lib/internal/streams/BufferList.js": -/*!*************************************************************************!*\ - !*** ./node_modules/readable-stream/lib/internal/streams/BufferList.js ***! - \*************************************************************************/ +/***/ "./node_modules/readable-stream/lib/internal/streams/async_iterator.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/async_iterator.js ***! + \*****************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/readable-stream/node_modules/safe-buffer/index.js\").Buffer;\nvar util = __webpack_require__(/*! util */ 1);\n\nfunction copyBuffer(src, target, offset) {\n src.copy(target, offset);\n}\n\nmodule.exports = function () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n\n BufferList.prototype.push = function push(v) {\n var entry = { data: v, next: null };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n };\n\n BufferList.prototype.unshift = function unshift(v) {\n var entry = { data: v, next: this.head };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n };\n\n BufferList.prototype.shift = function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n };\n\n BufferList.prototype.clear = function clear() {\n this.head = this.tail = null;\n this.length = 0;\n };\n\n BufferList.prototype.join = function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) {\n ret += s + p.data;\n }return ret;\n };\n\n BufferList.prototype.concat = function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n if (this.length === 1) return this.head.data;\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n };\n\n return BufferList;\n}();\n\nif (util && util.inspect && util.inspect.custom) {\n module.exports.prototype[util.inspect.custom] = function () {\n var obj = util.inspect({ length: this.length });\n return this.constructor.name + ' ' + obj;\n };\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/BufferList.js?"); +eval("/* WEBPACK VAR INJECTION */(function(process) {\n\nvar _Object$setPrototypeO;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar finished = __webpack_require__(/*! ./end-of-stream */ \"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\");\n\nvar kLastResolve = Symbol('lastResolve');\nvar kLastReject = Symbol('lastReject');\nvar kError = Symbol('error');\nvar kEnded = Symbol('ended');\nvar kLastPromise = Symbol('lastPromise');\nvar kHandlePromise = Symbol('handlePromise');\nvar kStream = Symbol('stream');\n\nfunction createIterResult(value, done) {\n return {\n value: value,\n done: done\n };\n}\n\nfunction readAndResolve(iter) {\n var resolve = iter[kLastResolve];\n\n if (resolve !== null) {\n var data = iter[kStream].read(); // we defer if data is null\n // we can be expecting either 'end' or\n // 'error'\n\n if (data !== null) {\n iter[kLastPromise] = null;\n iter[kLastResolve] = null;\n iter[kLastReject] = null;\n resolve(createIterResult(data, false));\n }\n }\n}\n\nfunction onReadable(iter) {\n // we wait for the next tick, because it might\n // emit an error with process.nextTick\n process.nextTick(readAndResolve, iter);\n}\n\nfunction wrapForNext(lastPromise, iter) {\n return function (resolve, reject) {\n lastPromise.then(function () {\n if (iter[kEnded]) {\n resolve(createIterResult(undefined, true));\n return;\n }\n\n iter[kHandlePromise](resolve, reject);\n }, reject);\n };\n}\n\nvar AsyncIteratorPrototype = Object.getPrototypeOf(function () {});\nvar ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {\n get stream() {\n return this[kStream];\n },\n\n next: function next() {\n var _this = this;\n\n // if we have detected an error in the meanwhile\n // reject straight away\n var error = this[kError];\n\n if (error !== null) {\n return Promise.reject(error);\n }\n\n if (this[kEnded]) {\n return Promise.resolve(createIterResult(undefined, true));\n }\n\n if (this[kStream].destroyed) {\n // We need to defer via nextTick because if .destroy(err) is\n // called, the error will be emitted via nextTick, and\n // we cannot guarantee that there is no error lingering around\n // waiting to be emitted.\n return new Promise(function (resolve, reject) {\n process.nextTick(function () {\n if (_this[kError]) {\n reject(_this[kError]);\n } else {\n resolve(createIterResult(undefined, true));\n }\n });\n });\n } // if we have multiple next() calls\n // we will wait for the previous Promise to finish\n // this logic is optimized to support for await loops,\n // where next() is only called once at a time\n\n\n var lastPromise = this[kLastPromise];\n var promise;\n\n if (lastPromise) {\n promise = new Promise(wrapForNext(lastPromise, this));\n } else {\n // fast path needed to support multiple this.push()\n // without triggering the next() queue\n var data = this[kStream].read();\n\n if (data !== null) {\n return Promise.resolve(createIterResult(data, false));\n }\n\n promise = new Promise(this[kHandlePromise]);\n }\n\n this[kLastPromise] = promise;\n return promise;\n }\n}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {\n return this;\n}), _defineProperty(_Object$setPrototypeO, \"return\", function _return() {\n var _this2 = this;\n\n // destroy(err, cb) is a private API\n // we can guarantee we have that here, because we control the\n // Readable class this is attached to\n return new Promise(function (resolve, reject) {\n _this2[kStream].destroy(null, function (err) {\n if (err) {\n reject(err);\n return;\n }\n\n resolve(createIterResult(undefined, true));\n });\n });\n}), _Object$setPrototypeO), AsyncIteratorPrototype);\n\nvar createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {\n var _Object$create;\n\n var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {\n value: stream,\n writable: true\n }), _defineProperty(_Object$create, kLastResolve, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kLastReject, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kError, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kEnded, {\n value: stream._readableState.endEmitted,\n writable: true\n }), _defineProperty(_Object$create, kHandlePromise, {\n value: function value(resolve, reject) {\n var data = iterator[kStream].read();\n\n if (data) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(data, false));\n } else {\n iterator[kLastResolve] = resolve;\n iterator[kLastReject] = reject;\n }\n },\n writable: true\n }), _Object$create));\n iterator[kLastPromise] = null;\n finished(stream, function (err) {\n if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {\n var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise\n // returned by next() and store the error\n\n if (reject !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n reject(err);\n }\n\n iterator[kError] = err;\n return;\n }\n\n var resolve = iterator[kLastResolve];\n\n if (resolve !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(undefined, true));\n }\n\n iterator[kEnded] = true;\n });\n stream.on('readable', onReadable.bind(null, iterator));\n return iterator;\n};\n\nmodule.exports = createReadableStreamAsyncIterator;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/async_iterator.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/buffer_list.js": +/*!**************************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/buffer_list.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar _require = __webpack_require__(/*! buffer */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\"),\n Buffer = _require.Buffer;\n\nvar _require2 = __webpack_require__(/*! util */ 1),\n inspect = _require2.inspect;\n\nvar custom = inspect && inspect.custom || 'inspect';\n\nfunction copyBuffer(src, target, offset) {\n Buffer.prototype.copy.call(src, target, offset);\n}\n\nmodule.exports =\n/*#__PURE__*/\nfunction () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n\n _createClass(BufferList, [{\n key: \"push\",\n value: function push(v) {\n var entry = {\n data: v,\n next: null\n };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n }\n }, {\n key: \"unshift\",\n value: function unshift(v) {\n var entry = {\n data: v,\n next: this.head\n };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n }\n }, {\n key: \"shift\",\n value: function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this.head = this.tail = null;\n this.length = 0;\n }\n }, {\n key: \"join\",\n value: function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n\n while (p = p.next) {\n ret += s + p.data;\n }\n\n return ret;\n }\n }, {\n key: \"concat\",\n value: function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n\n return ret;\n } // Consumes a specified amount of bytes or characters from the buffered data.\n\n }, {\n key: \"consume\",\n value: function consume(n, hasStrings) {\n var ret;\n\n if (n < this.head.data.length) {\n // `slice` is the same for buffers and strings.\n ret = this.head.data.slice(0, n);\n this.head.data = this.head.data.slice(n);\n } else if (n === this.head.data.length) {\n // First chunk is a perfect match.\n ret = this.shift();\n } else {\n // Result spans more than one buffer.\n ret = hasStrings ? this._getString(n) : this._getBuffer(n);\n }\n\n return ret;\n }\n }, {\n key: \"first\",\n value: function first() {\n return this.head.data;\n } // Consumes a specified amount of characters from the buffered data.\n\n }, {\n key: \"_getString\",\n value: function _getString(n) {\n var p = this.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = str.slice(nb);\n }\n\n break;\n }\n\n ++c;\n }\n\n this.length -= c;\n return ret;\n } // Consumes a specified amount of bytes from the buffered data.\n\n }, {\n key: \"_getBuffer\",\n value: function _getBuffer(n) {\n var ret = Buffer.allocUnsafe(n);\n var p = this.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = buf.slice(nb);\n }\n\n break;\n }\n\n ++c;\n }\n\n this.length -= c;\n return ret;\n } // Make sure the linked list only shows the minimal necessary information.\n\n }, {\n key: custom,\n value: function value(_, options) {\n return inspect(this, _objectSpread({}, options, {\n // Only inspect one level.\n depth: 0,\n // It should not recurse.\n customInspect: false\n }));\n }\n }]);\n\n return BufferList;\n}();\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/buffer_list.js?"); /***/ }), @@ -980,7 +1037,54 @@ eval("\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance insta /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\n// undocumented cb() API, needed for core, not for public API\nfunction destroy(err, cb) {\n var _this = this;\n\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {\n pna.nextTick(emitErrorNT, this, err);\n }\n return this;\n }\n\n // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n }\n\n // if this is a duplex stream mark the writable part as destroyed as well\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n pna.nextTick(emitErrorNT, _this, err);\n if (_this._writableState) {\n _this._writableState.errorEmitted = true;\n }\n } else if (cb) {\n cb(err);\n }\n });\n\n return this;\n}\n\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\n\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\n\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?"); +eval("/* WEBPACK VAR INJECTION */(function(process) { // undocumented cb() API, needed for core, not for public API\n\nfunction destroy(err, cb) {\n var _this = this;\n\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err) {\n if (!this._writableState) {\n process.nextTick(emitErrorNT, this, err);\n } else if (!this._writableState.errorEmitted) {\n this._writableState.errorEmitted = true;\n process.nextTick(emitErrorNT, this, err);\n }\n }\n\n return this;\n } // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n } // if this is a duplex stream mark the writable part as destroyed as well\n\n\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n if (!_this._writableState) {\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else if (!_this._writableState.errorEmitted) {\n _this._writableState.errorEmitted = true;\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n } else if (cb) {\n process.nextTick(emitCloseNT, _this);\n cb(err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n });\n\n return this;\n}\n\nfunction emitErrorAndCloseNT(self, err) {\n emitErrorNT(self, err);\n emitCloseNT(self);\n}\n\nfunction emitCloseNT(self) {\n if (self._writableState && !self._writableState.emitClose) return;\n if (self._readableState && !self._readableState.emitClose) return;\n self.emit('close');\n}\n\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finalCalled = false;\n this._writableState.prefinished = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\n\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\n\nfunction errorOrDestroy(stream, err) {\n // We have tests that rely on errors being emitted\n // in the same tick, so changing this is semver major.\n // For now when you opt-in to autoDestroy we allow\n // the error to be emitted nextTick. In a future\n // semver major update we should change the default to this.\n var rState = stream._readableState;\n var wState = stream._writableState;\n if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);\n}\n\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy,\n errorOrDestroy: errorOrDestroy\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/end-of-stream.js": +/*!****************************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/end-of-stream.js ***! + \****************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Ported from https://github.com/mafintosh/end-of-stream with\n// permission from the author, Mathias Buus (@mafintosh).\n\n\nvar ERR_STREAM_PREMATURE_CLOSE = __webpack_require__(/*! ../../../errors */ \"./node_modules/readable-stream/errors-browser.js\").codes.ERR_STREAM_PREMATURE_CLOSE;\n\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n callback.apply(this, args);\n };\n}\n\nfunction noop() {}\n\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\n\nfunction eos(stream, opts, callback) {\n if (typeof opts === 'function') return eos(stream, null, opts);\n if (!opts) opts = {};\n callback = once(callback || noop);\n var readable = opts.readable || opts.readable !== false && stream.readable;\n var writable = opts.writable || opts.writable !== false && stream.writable;\n\n var onlegacyfinish = function onlegacyfinish() {\n if (!stream.writable) onfinish();\n };\n\n var writableEnded = stream._writableState && stream._writableState.finished;\n\n var onfinish = function onfinish() {\n writable = false;\n writableEnded = true;\n if (!readable) callback.call(stream);\n };\n\n var readableEnded = stream._readableState && stream._readableState.endEmitted;\n\n var onend = function onend() {\n readable = false;\n readableEnded = true;\n if (!writable) callback.call(stream);\n };\n\n var onerror = function onerror(err) {\n callback.call(stream, err);\n };\n\n var onclose = function onclose() {\n var err;\n\n if (readable && !readableEnded) {\n if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n\n if (writable && !writableEnded) {\n if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n };\n\n var onrequest = function onrequest() {\n stream.req.on('finish', onfinish);\n };\n\n if (isRequest(stream)) {\n stream.on('complete', onfinish);\n stream.on('abort', onclose);\n if (stream.req) onrequest();else stream.on('request', onrequest);\n } else if (writable && !stream._writableState) {\n // legacy streams\n stream.on('end', onlegacyfinish);\n stream.on('close', onlegacyfinish);\n }\n\n stream.on('end', onend);\n stream.on('finish', onfinish);\n if (opts.error !== false) stream.on('error', onerror);\n stream.on('close', onclose);\n return function () {\n stream.removeListener('complete', onfinish);\n stream.removeListener('abort', onclose);\n stream.removeListener('request', onrequest);\n if (stream.req) stream.req.removeListener('finish', onfinish);\n stream.removeListener('end', onlegacyfinish);\n stream.removeListener('close', onlegacyfinish);\n stream.removeListener('finish', onfinish);\n stream.removeListener('end', onend);\n stream.removeListener('error', onerror);\n stream.removeListener('close', onclose);\n };\n}\n\nmodule.exports = eos;\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/end-of-stream.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/from-browser.js": +/*!***************************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/from-browser.js ***! + \***************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function () {\n throw new Error('Readable.from is not available in the browser')\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/from-browser.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/pipeline.js": +/*!***********************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/pipeline.js ***! + \***********************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Ported from https://github.com/mafintosh/pump with\n// permission from the author, Mathias Buus (@mafintosh).\n\n\nvar eos;\n\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n callback.apply(void 0, arguments);\n };\n}\n\nvar _require$codes = __webpack_require__(/*! ../../../errors */ \"./node_modules/readable-stream/errors-browser.js\").codes,\n ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;\n\nfunction noop(err) {\n // Rethrow the error if it exists to avoid swallowing it\n if (err) throw err;\n}\n\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\n\nfunction destroyer(stream, reading, writing, callback) {\n callback = once(callback);\n var closed = false;\n stream.on('close', function () {\n closed = true;\n });\n if (eos === undefined) eos = __webpack_require__(/*! ./end-of-stream */ \"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\");\n eos(stream, {\n readable: reading,\n writable: writing\n }, function (err) {\n if (err) return callback(err);\n closed = true;\n callback();\n });\n var destroyed = false;\n return function (err) {\n if (closed) return;\n if (destroyed) return;\n destroyed = true; // request.destroy just do .end - .abort is what we want\n\n if (isRequest(stream)) return stream.abort();\n if (typeof stream.destroy === 'function') return stream.destroy();\n callback(err || new ERR_STREAM_DESTROYED('pipe'));\n };\n}\n\nfunction call(fn) {\n fn();\n}\n\nfunction pipe(from, to) {\n return from.pipe(to);\n}\n\nfunction popCallback(streams) {\n if (!streams.length) return noop;\n if (typeof streams[streams.length - 1] !== 'function') return noop;\n return streams.pop();\n}\n\nfunction pipeline() {\n for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {\n streams[_key] = arguments[_key];\n }\n\n var callback = popCallback(streams);\n if (Array.isArray(streams[0])) streams = streams[0];\n\n if (streams.length < 2) {\n throw new ERR_MISSING_ARGS('streams');\n }\n\n var error;\n var destroys = streams.map(function (stream, i) {\n var reading = i < streams.length - 1;\n var writing = i > 0;\n return destroyer(stream, reading, writing, function (err) {\n if (!error) error = err;\n if (err) destroys.forEach(call);\n if (reading) return;\n destroys.forEach(call);\n callback(error);\n });\n });\n return streams.reduce(pipe);\n}\n\nmodule.exports = pipeline;\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/pipeline.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/state.js": +/*!********************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/state.js ***! + \********************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar ERR_INVALID_OPT_VALUE = __webpack_require__(/*! ../../../errors */ \"./node_modules/readable-stream/errors-browser.js\").codes.ERR_INVALID_OPT_VALUE;\n\nfunction highWaterMarkFrom(options, isDuplex, duplexKey) {\n return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\n}\n\nfunction getHighWaterMark(state, options, duplexKey, isDuplex) {\n var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\n\n if (hwm != null) {\n if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\n var name = isDuplex ? duplexKey : 'highWaterMark';\n throw new ERR_INVALID_OPT_VALUE(name, hwm);\n }\n\n return Math.floor(hwm);\n } // Default value\n\n\n return state.objectMode ? 16 : 16 * 1024;\n}\n\nmodule.exports = {\n getHighWaterMark: getHighWaterMark\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/state.js?"); /***/ }), @@ -995,25 +1099,25 @@ eval("module.exports = __webpack_require__(/*! events */ \"./node_modules/node-l /***/ }), -/***/ "./node_modules/readable-stream/node_modules/safe-buffer/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/readable-stream/node_modules/safe-buffer/index.js ***! - \************************************************************************/ +/***/ "./node_modules/readable-stream/readable-browser.js": +/*!**********************************************************!*\ + !*** ./node_modules/readable-stream/readable-browser.js ***! + \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/node_modules/safe-buffer/index.js?"); +eval("exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\nexports.Stream = exports;\nexports.Readable = exports;\nexports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\nexports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\nexports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\nexports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \"./node_modules/readable-stream/lib/_stream_passthrough.js\");\nexports.finished = __webpack_require__(/*! ./lib/internal/streams/end-of-stream.js */ \"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\");\nexports.pipeline = __webpack_require__(/*! ./lib/internal/streams/pipeline.js */ \"./node_modules/readable-stream/lib/internal/streams/pipeline.js\");\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable-browser.js?"); /***/ }), -/***/ "./node_modules/readable-stream/readable-browser.js": -/*!**********************************************************!*\ - !*** ./node_modules/readable-stream/readable-browser.js ***! - \**********************************************************/ +/***/ "./node_modules/safe-buffer/index.js": +/*!*******************************************!*\ + !*** ./node_modules/safe-buffer/index.js ***! + \*******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\nexports.Stream = exports;\nexports.Readable = exports;\nexports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\nexports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\nexports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\nexports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \"./node_modules/readable-stream/lib/_stream_passthrough.js\");\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable-browser.js?"); +eval("/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/safe-buffer/index.js?"); /***/ }), @@ -1057,7 +1161,7 @@ eval("/* WEBPACK VAR INJECTION */(function(global) {exports.fetch = isFunction(g /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/* WEBPACK VAR INJECTION */(function(Buffer, global, process) {var capability = __webpack_require__(/*! ./capability */ \"./node_modules/stream-http/lib/capability.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")\nvar response = __webpack_require__(/*! ./response */ \"./node_modules/stream-http/lib/response.js\")\nvar stream = __webpack_require__(/*! readable-stream */ \"./node_modules/readable-stream/readable-browser.js\")\nvar toArrayBuffer = __webpack_require__(/*! to-arraybuffer */ \"./node_modules/to-arraybuffer/index.js\")\n\nvar IncomingMessage = response.IncomingMessage\nvar rStates = response.readyStates\n\nfunction decideMode (preferBinary, useFetch) {\n\tif (capability.fetch && useFetch) {\n\t\treturn 'fetch'\n\t} else if (capability.mozchunkedarraybuffer) {\n\t\treturn 'moz-chunked-arraybuffer'\n\t} else if (capability.msstream) {\n\t\treturn 'ms-stream'\n\t} else if (capability.arraybuffer && preferBinary) {\n\t\treturn 'arraybuffer'\n\t} else if (capability.vbArray && preferBinary) {\n\t\treturn 'text:vbarray'\n\t} else {\n\t\treturn 'text'\n\t}\n}\n\nvar ClientRequest = module.exports = function (opts) {\n\tvar self = this\n\tstream.Writable.call(self)\n\n\tself._opts = opts\n\tself._body = []\n\tself._headers = {}\n\tif (opts.auth)\n\t\tself.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64'))\n\tObject.keys(opts.headers).forEach(function (name) {\n\t\tself.setHeader(name, opts.headers[name])\n\t})\n\n\tvar preferBinary\n\tvar useFetch = true\n\tif (opts.mode === 'disable-fetch' || ('requestTimeout' in opts && !capability.abortController)) {\n\t\t// If the use of XHR should be preferred. Not typically needed.\n\t\tuseFetch = false\n\t\tpreferBinary = true\n\t} else if (opts.mode === 'prefer-streaming') {\n\t\t// If streaming is a high priority but binary compatibility and\n\t\t// the accuracy of the 'content-type' header aren't\n\t\tpreferBinary = false\n\t} else if (opts.mode === 'allow-wrong-content-type') {\n\t\t// If streaming is more important than preserving the 'content-type' header\n\t\tpreferBinary = !capability.overrideMimeType\n\t} else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') {\n\t\t// Use binary if text streaming may corrupt data or the content-type header, or for speed\n\t\tpreferBinary = true\n\t} else {\n\t\tthrow new Error('Invalid value for opts.mode')\n\t}\n\tself._mode = decideMode(preferBinary, useFetch)\n\tself._fetchTimer = null\n\n\tself.on('finish', function () {\n\t\tself._onFinish()\n\t})\n}\n\ninherits(ClientRequest, stream.Writable)\n\nClientRequest.prototype.setHeader = function (name, value) {\n\tvar self = this\n\tvar lowerName = name.toLowerCase()\n\t// This check is not necessary, but it prevents warnings from browsers about setting unsafe\n\t// headers. To be honest I'm not entirely sure hiding these warnings is a good thing, but\n\t// http-browserify did it, so I will too.\n\tif (unsafeHeaders.indexOf(lowerName) !== -1)\n\t\treturn\n\n\tself._headers[lowerName] = {\n\t\tname: name,\n\t\tvalue: value\n\t}\n}\n\nClientRequest.prototype.getHeader = function (name) {\n\tvar header = this._headers[name.toLowerCase()]\n\tif (header)\n\t\treturn header.value\n\treturn null\n}\n\nClientRequest.prototype.removeHeader = function (name) {\n\tvar self = this\n\tdelete self._headers[name.toLowerCase()]\n}\n\nClientRequest.prototype._onFinish = function () {\n\tvar self = this\n\n\tif (self._destroyed)\n\t\treturn\n\tvar opts = self._opts\n\n\tvar headersObj = self._headers\n\tvar body = null\n\tif (opts.method !== 'GET' && opts.method !== 'HEAD') {\n\t\tif (capability.arraybuffer) {\n\t\t\tbody = toArrayBuffer(Buffer.concat(self._body))\n\t\t} else if (capability.blobConstructor) {\n\t\t\tbody = new global.Blob(self._body.map(function (buffer) {\n\t\t\t\treturn toArrayBuffer(buffer)\n\t\t\t}), {\n\t\t\t\ttype: (headersObj['content-type'] || {}).value || ''\n\t\t\t})\n\t\t} else {\n\t\t\t// get utf8 string\n\t\t\tbody = Buffer.concat(self._body).toString()\n\t\t}\n\t}\n\n\t// create flattened list of headers\n\tvar headersList = []\n\tObject.keys(headersObj).forEach(function (keyName) {\n\t\tvar name = headersObj[keyName].name\n\t\tvar value = headersObj[keyName].value\n\t\tif (Array.isArray(value)) {\n\t\t\tvalue.forEach(function (v) {\n\t\t\t\theadersList.push([name, v])\n\t\t\t})\n\t\t} else {\n\t\t\theadersList.push([name, value])\n\t\t}\n\t})\n\n\tif (self._mode === 'fetch') {\n\t\tvar signal = null\n\t\tvar fetchTimer = null\n\t\tif (capability.abortController) {\n\t\t\tvar controller = new AbortController()\n\t\t\tsignal = controller.signal\n\t\t\tself._fetchAbortController = controller\n\n\t\t\tif ('requestTimeout' in opts && opts.requestTimeout !== 0) {\n\t\t\t\tself._fetchTimer = global.setTimeout(function () {\n\t\t\t\t\tself.emit('requestTimeout')\n\t\t\t\t\tif (self._fetchAbortController)\n\t\t\t\t\t\tself._fetchAbortController.abort()\n\t\t\t\t}, opts.requestTimeout)\n\t\t\t}\n\t\t}\n\n\t\tglobal.fetch(self._opts.url, {\n\t\t\tmethod: self._opts.method,\n\t\t\theaders: headersList,\n\t\t\tbody: body || undefined,\n\t\t\tmode: 'cors',\n\t\t\tcredentials: opts.withCredentials ? 'include' : 'same-origin',\n\t\t\tsignal: signal\n\t\t}).then(function (response) {\n\t\t\tself._fetchResponse = response\n\t\t\tself._connect()\n\t\t}, function (reason) {\n\t\t\tglobal.clearTimeout(self._fetchTimer)\n\t\t\tif (!self._destroyed)\n\t\t\t\tself.emit('error', reason)\n\t\t})\n\t} else {\n\t\tvar xhr = self._xhr = new global.XMLHttpRequest()\n\t\ttry {\n\t\t\txhr.open(self._opts.method, self._opts.url, true)\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(function () {\n\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t\treturn\n\t\t}\n\n\t\t// Can't set responseType on really old browsers\n\t\tif ('responseType' in xhr)\n\t\t\txhr.responseType = self._mode.split(':')[0]\n\n\t\tif ('withCredentials' in xhr)\n\t\t\txhr.withCredentials = !!opts.withCredentials\n\n\t\tif (self._mode === 'text' && 'overrideMimeType' in xhr)\n\t\t\txhr.overrideMimeType('text/plain; charset=x-user-defined')\n\n\t\tif ('requestTimeout' in opts) {\n\t\t\txhr.timeout = opts.requestTimeout\n\t\t\txhr.ontimeout = function () {\n\t\t\t\tself.emit('requestTimeout')\n\t\t\t}\n\t\t}\n\n\t\theadersList.forEach(function (header) {\n\t\t\txhr.setRequestHeader(header[0], header[1])\n\t\t})\n\n\t\tself._response = null\n\t\txhr.onreadystatechange = function () {\n\t\t\tswitch (xhr.readyState) {\n\t\t\t\tcase rStates.LOADING:\n\t\t\t\tcase rStates.DONE:\n\t\t\t\t\tself._onXHRProgress()\n\t\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\t// Necessary for streaming in Firefox, since xhr.response is ONLY defined\n\t\t// in onprogress, not in onreadystatechange with xhr.readyState = 3\n\t\tif (self._mode === 'moz-chunked-arraybuffer') {\n\t\t\txhr.onprogress = function () {\n\t\t\t\tself._onXHRProgress()\n\t\t\t}\n\t\t}\n\n\t\txhr.onerror = function () {\n\t\t\tif (self._destroyed)\n\t\t\t\treturn\n\t\t\tself.emit('error', new Error('XHR error'))\n\t\t}\n\n\t\ttry {\n\t\t\txhr.send(body)\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(function () {\n\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t\treturn\n\t\t}\n\t}\n}\n\n/**\n * Checks if xhr.status is readable and non-zero, indicating no error.\n * Even though the spec says it should be available in readyState 3,\n * accessing it throws an exception in IE8\n */\nfunction statusValid (xhr) {\n\ttry {\n\t\tvar status = xhr.status\n\t\treturn (status !== null && status !== 0)\n\t} catch (e) {\n\t\treturn false\n\t}\n}\n\nClientRequest.prototype._onXHRProgress = function () {\n\tvar self = this\n\n\tif (!statusValid(self._xhr) || self._destroyed)\n\t\treturn\n\n\tif (!self._response)\n\t\tself._connect()\n\n\tself._response._onXHRProgress()\n}\n\nClientRequest.prototype._connect = function () {\n\tvar self = this\n\n\tif (self._destroyed)\n\t\treturn\n\n\tself._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode, self._fetchTimer)\n\tself._response.on('error', function(err) {\n\t\tself.emit('error', err)\n\t})\n\n\tself.emit('response', self._response)\n}\n\nClientRequest.prototype._write = function (chunk, encoding, cb) {\n\tvar self = this\n\n\tself._body.push(chunk)\n\tcb()\n}\n\nClientRequest.prototype.abort = ClientRequest.prototype.destroy = function () {\n\tvar self = this\n\tself._destroyed = true\n\tglobal.clearTimeout(self._fetchTimer)\n\tif (self._response)\n\t\tself._response._destroyed = true\n\tif (self._xhr)\n\t\tself._xhr.abort()\n\telse if (self._fetchAbortController)\n\t\tself._fetchAbortController.abort()\n}\n\nClientRequest.prototype.end = function (data, encoding, cb) {\n\tvar self = this\n\tif (typeof data === 'function') {\n\t\tcb = data\n\t\tdata = undefined\n\t}\n\n\tstream.Writable.prototype.end.call(self, data, encoding, cb)\n}\n\nClientRequest.prototype.flushHeaders = function () {}\nClientRequest.prototype.setTimeout = function () {}\nClientRequest.prototype.setNoDelay = function () {}\nClientRequest.prototype.setSocketKeepAlive = function () {}\n\n// Taken from http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method\nvar unsafeHeaders = [\n\t'accept-charset',\n\t'accept-encoding',\n\t'access-control-request-headers',\n\t'access-control-request-method',\n\t'connection',\n\t'content-length',\n\t'cookie',\n\t'cookie2',\n\t'date',\n\t'dnt',\n\t'expect',\n\t'host',\n\t'keep-alive',\n\t'origin',\n\t'referer',\n\t'te',\n\t'trailer',\n\t'transfer-encoding',\n\t'upgrade',\n\t'via'\n]\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node-libs-browser/node_modules/buffer/index.js */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/lib/request.js?"); +eval("/* WEBPACK VAR INJECTION */(function(Buffer, global, process) {var capability = __webpack_require__(/*! ./capability */ \"./node_modules/stream-http/lib/capability.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")\nvar response = __webpack_require__(/*! ./response */ \"./node_modules/stream-http/lib/response.js\")\nvar stream = __webpack_require__(/*! readable-stream */ \"./node_modules/stream-http/node_modules/readable-stream/readable-browser.js\")\nvar toArrayBuffer = __webpack_require__(/*! to-arraybuffer */ \"./node_modules/to-arraybuffer/index.js\")\n\nvar IncomingMessage = response.IncomingMessage\nvar rStates = response.readyStates\n\nfunction decideMode (preferBinary, useFetch) {\n\tif (capability.fetch && useFetch) {\n\t\treturn 'fetch'\n\t} else if (capability.mozchunkedarraybuffer) {\n\t\treturn 'moz-chunked-arraybuffer'\n\t} else if (capability.msstream) {\n\t\treturn 'ms-stream'\n\t} else if (capability.arraybuffer && preferBinary) {\n\t\treturn 'arraybuffer'\n\t} else if (capability.vbArray && preferBinary) {\n\t\treturn 'text:vbarray'\n\t} else {\n\t\treturn 'text'\n\t}\n}\n\nvar ClientRequest = module.exports = function (opts) {\n\tvar self = this\n\tstream.Writable.call(self)\n\n\tself._opts = opts\n\tself._body = []\n\tself._headers = {}\n\tif (opts.auth)\n\t\tself.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64'))\n\tObject.keys(opts.headers).forEach(function (name) {\n\t\tself.setHeader(name, opts.headers[name])\n\t})\n\n\tvar preferBinary\n\tvar useFetch = true\n\tif (opts.mode === 'disable-fetch' || ('requestTimeout' in opts && !capability.abortController)) {\n\t\t// If the use of XHR should be preferred. Not typically needed.\n\t\tuseFetch = false\n\t\tpreferBinary = true\n\t} else if (opts.mode === 'prefer-streaming') {\n\t\t// If streaming is a high priority but binary compatibility and\n\t\t// the accuracy of the 'content-type' header aren't\n\t\tpreferBinary = false\n\t} else if (opts.mode === 'allow-wrong-content-type') {\n\t\t// If streaming is more important than preserving the 'content-type' header\n\t\tpreferBinary = !capability.overrideMimeType\n\t} else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') {\n\t\t// Use binary if text streaming may corrupt data or the content-type header, or for speed\n\t\tpreferBinary = true\n\t} else {\n\t\tthrow new Error('Invalid value for opts.mode')\n\t}\n\tself._mode = decideMode(preferBinary, useFetch)\n\tself._fetchTimer = null\n\n\tself.on('finish', function () {\n\t\tself._onFinish()\n\t})\n}\n\ninherits(ClientRequest, stream.Writable)\n\nClientRequest.prototype.setHeader = function (name, value) {\n\tvar self = this\n\tvar lowerName = name.toLowerCase()\n\t// This check is not necessary, but it prevents warnings from browsers about setting unsafe\n\t// headers. To be honest I'm not entirely sure hiding these warnings is a good thing, but\n\t// http-browserify did it, so I will too.\n\tif (unsafeHeaders.indexOf(lowerName) !== -1)\n\t\treturn\n\n\tself._headers[lowerName] = {\n\t\tname: name,\n\t\tvalue: value\n\t}\n}\n\nClientRequest.prototype.getHeader = function (name) {\n\tvar header = this._headers[name.toLowerCase()]\n\tif (header)\n\t\treturn header.value\n\treturn null\n}\n\nClientRequest.prototype.removeHeader = function (name) {\n\tvar self = this\n\tdelete self._headers[name.toLowerCase()]\n}\n\nClientRequest.prototype._onFinish = function () {\n\tvar self = this\n\n\tif (self._destroyed)\n\t\treturn\n\tvar opts = self._opts\n\n\tvar headersObj = self._headers\n\tvar body = null\n\tif (opts.method !== 'GET' && opts.method !== 'HEAD') {\n\t\tif (capability.arraybuffer) {\n\t\t\tbody = toArrayBuffer(Buffer.concat(self._body))\n\t\t} else if (capability.blobConstructor) {\n\t\t\tbody = new global.Blob(self._body.map(function (buffer) {\n\t\t\t\treturn toArrayBuffer(buffer)\n\t\t\t}), {\n\t\t\t\ttype: (headersObj['content-type'] || {}).value || ''\n\t\t\t})\n\t\t} else {\n\t\t\t// get utf8 string\n\t\t\tbody = Buffer.concat(self._body).toString()\n\t\t}\n\t}\n\n\t// create flattened list of headers\n\tvar headersList = []\n\tObject.keys(headersObj).forEach(function (keyName) {\n\t\tvar name = headersObj[keyName].name\n\t\tvar value = headersObj[keyName].value\n\t\tif (Array.isArray(value)) {\n\t\t\tvalue.forEach(function (v) {\n\t\t\t\theadersList.push([name, v])\n\t\t\t})\n\t\t} else {\n\t\t\theadersList.push([name, value])\n\t\t}\n\t})\n\n\tif (self._mode === 'fetch') {\n\t\tvar signal = null\n\t\tvar fetchTimer = null\n\t\tif (capability.abortController) {\n\t\t\tvar controller = new AbortController()\n\t\t\tsignal = controller.signal\n\t\t\tself._fetchAbortController = controller\n\n\t\t\tif ('requestTimeout' in opts && opts.requestTimeout !== 0) {\n\t\t\t\tself._fetchTimer = global.setTimeout(function () {\n\t\t\t\t\tself.emit('requestTimeout')\n\t\t\t\t\tif (self._fetchAbortController)\n\t\t\t\t\t\tself._fetchAbortController.abort()\n\t\t\t\t}, opts.requestTimeout)\n\t\t\t}\n\t\t}\n\n\t\tglobal.fetch(self._opts.url, {\n\t\t\tmethod: self._opts.method,\n\t\t\theaders: headersList,\n\t\t\tbody: body || undefined,\n\t\t\tmode: 'cors',\n\t\t\tcredentials: opts.withCredentials ? 'include' : 'same-origin',\n\t\t\tsignal: signal\n\t\t}).then(function (response) {\n\t\t\tself._fetchResponse = response\n\t\t\tself._connect()\n\t\t}, function (reason) {\n\t\t\tglobal.clearTimeout(self._fetchTimer)\n\t\t\tif (!self._destroyed)\n\t\t\t\tself.emit('error', reason)\n\t\t})\n\t} else {\n\t\tvar xhr = self._xhr = new global.XMLHttpRequest()\n\t\ttry {\n\t\t\txhr.open(self._opts.method, self._opts.url, true)\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(function () {\n\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t\treturn\n\t\t}\n\n\t\t// Can't set responseType on really old browsers\n\t\tif ('responseType' in xhr)\n\t\t\txhr.responseType = self._mode.split(':')[0]\n\n\t\tif ('withCredentials' in xhr)\n\t\t\txhr.withCredentials = !!opts.withCredentials\n\n\t\tif (self._mode === 'text' && 'overrideMimeType' in xhr)\n\t\t\txhr.overrideMimeType('text/plain; charset=x-user-defined')\n\n\t\tif ('requestTimeout' in opts) {\n\t\t\txhr.timeout = opts.requestTimeout\n\t\t\txhr.ontimeout = function () {\n\t\t\t\tself.emit('requestTimeout')\n\t\t\t}\n\t\t}\n\n\t\theadersList.forEach(function (header) {\n\t\t\txhr.setRequestHeader(header[0], header[1])\n\t\t})\n\n\t\tself._response = null\n\t\txhr.onreadystatechange = function () {\n\t\t\tswitch (xhr.readyState) {\n\t\t\t\tcase rStates.LOADING:\n\t\t\t\tcase rStates.DONE:\n\t\t\t\t\tself._onXHRProgress()\n\t\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\t// Necessary for streaming in Firefox, since xhr.response is ONLY defined\n\t\t// in onprogress, not in onreadystatechange with xhr.readyState = 3\n\t\tif (self._mode === 'moz-chunked-arraybuffer') {\n\t\t\txhr.onprogress = function () {\n\t\t\t\tself._onXHRProgress()\n\t\t\t}\n\t\t}\n\n\t\txhr.onerror = function () {\n\t\t\tif (self._destroyed)\n\t\t\t\treturn\n\t\t\tself.emit('error', new Error('XHR error'))\n\t\t}\n\n\t\ttry {\n\t\t\txhr.send(body)\n\t\t} catch (err) {\n\t\t\tprocess.nextTick(function () {\n\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t\treturn\n\t\t}\n\t}\n}\n\n/**\n * Checks if xhr.status is readable and non-zero, indicating no error.\n * Even though the spec says it should be available in readyState 3,\n * accessing it throws an exception in IE8\n */\nfunction statusValid (xhr) {\n\ttry {\n\t\tvar status = xhr.status\n\t\treturn (status !== null && status !== 0)\n\t} catch (e) {\n\t\treturn false\n\t}\n}\n\nClientRequest.prototype._onXHRProgress = function () {\n\tvar self = this\n\n\tif (!statusValid(self._xhr) || self._destroyed)\n\t\treturn\n\n\tif (!self._response)\n\t\tself._connect()\n\n\tself._response._onXHRProgress()\n}\n\nClientRequest.prototype._connect = function () {\n\tvar self = this\n\n\tif (self._destroyed)\n\t\treturn\n\n\tself._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode, self._fetchTimer)\n\tself._response.on('error', function(err) {\n\t\tself.emit('error', err)\n\t})\n\n\tself.emit('response', self._response)\n}\n\nClientRequest.prototype._write = function (chunk, encoding, cb) {\n\tvar self = this\n\n\tself._body.push(chunk)\n\tcb()\n}\n\nClientRequest.prototype.abort = ClientRequest.prototype.destroy = function () {\n\tvar self = this\n\tself._destroyed = true\n\tglobal.clearTimeout(self._fetchTimer)\n\tif (self._response)\n\t\tself._response._destroyed = true\n\tif (self._xhr)\n\t\tself._xhr.abort()\n\telse if (self._fetchAbortController)\n\t\tself._fetchAbortController.abort()\n}\n\nClientRequest.prototype.end = function (data, encoding, cb) {\n\tvar self = this\n\tif (typeof data === 'function') {\n\t\tcb = data\n\t\tdata = undefined\n\t}\n\n\tstream.Writable.prototype.end.call(self, data, encoding, cb)\n}\n\nClientRequest.prototype.flushHeaders = function () {}\nClientRequest.prototype.setTimeout = function () {}\nClientRequest.prototype.setNoDelay = function () {}\nClientRequest.prototype.setSocketKeepAlive = function () {}\n\n// Taken from http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method\nvar unsafeHeaders = [\n\t'accept-charset',\n\t'accept-encoding',\n\t'access-control-request-headers',\n\t'access-control-request-method',\n\t'connection',\n\t'content-length',\n\t'cookie',\n\t'cookie2',\n\t'date',\n\t'dnt',\n\t'expect',\n\t'host',\n\t'keep-alive',\n\t'origin',\n\t'referer',\n\t'te',\n\t'trailer',\n\t'transfer-encoding',\n\t'upgrade',\n\t'via'\n]\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node-libs-browser/node_modules/buffer/index.js */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/lib/request.js?"); /***/ }), @@ -1068,30 +1172,136 @@ eval("/* WEBPACK VAR INJECTION */(function(Buffer, global, process) {var capabil /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/* WEBPACK VAR INJECTION */(function(process, Buffer, global) {var capability = __webpack_require__(/*! ./capability */ \"./node_modules/stream-http/lib/capability.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")\nvar stream = __webpack_require__(/*! readable-stream */ \"./node_modules/readable-stream/readable-browser.js\")\n\nvar rStates = exports.readyStates = {\n\tUNSENT: 0,\n\tOPENED: 1,\n\tHEADERS_RECEIVED: 2,\n\tLOADING: 3,\n\tDONE: 4\n}\n\nvar IncomingMessage = exports.IncomingMessage = function (xhr, response, mode, fetchTimer) {\n\tvar self = this\n\tstream.Readable.call(self)\n\n\tself._mode = mode\n\tself.headers = {}\n\tself.rawHeaders = []\n\tself.trailers = {}\n\tself.rawTrailers = []\n\n\t// Fake the 'close' event, but only once 'end' fires\n\tself.on('end', function () {\n\t\t// The nextTick is necessary to prevent the 'request' module from causing an infinite loop\n\t\tprocess.nextTick(function () {\n\t\t\tself.emit('close')\n\t\t})\n\t})\n\n\tif (mode === 'fetch') {\n\t\tself._fetchResponse = response\n\n\t\tself.url = response.url\n\t\tself.statusCode = response.status\n\t\tself.statusMessage = response.statusText\n\t\t\n\t\tresponse.headers.forEach(function (header, key){\n\t\t\tself.headers[key.toLowerCase()] = header\n\t\t\tself.rawHeaders.push(key, header)\n\t\t})\n\n\t\tif (capability.writableStream) {\n\t\t\tvar writable = new WritableStream({\n\t\t\t\twrite: function (chunk) {\n\t\t\t\t\treturn new Promise(function (resolve, reject) {\n\t\t\t\t\t\tif (self._destroyed) {\n\t\t\t\t\t\t\treject()\n\t\t\t\t\t\t} else if(self.push(new Buffer(chunk))) {\n\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tself._resumeFetch = resolve\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t},\n\t\t\t\tclose: function () {\n\t\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.push(null)\n\t\t\t\t},\n\t\t\t\tabort: function (err) {\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.emit('error', err)\n\t\t\t\t}\n\t\t\t})\n\n\t\t\ttry {\n\t\t\t\tresponse.body.pipeTo(writable).catch(function (err) {\n\t\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.emit('error', err)\n\t\t\t\t})\n\t\t\t\treturn\n\t\t\t} catch (e) {} // pipeTo method isn't defined. Can't find a better way to feature test this\n\t\t}\n\t\t// fallback for when writableStream or pipeTo aren't available\n\t\tvar reader = response.body.getReader()\n\t\tfunction read () {\n\t\t\treader.read().then(function (result) {\n\t\t\t\tif (self._destroyed)\n\t\t\t\t\treturn\n\t\t\t\tif (result.done) {\n\t\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\t\tself.push(null)\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tself.push(new Buffer(result.value))\n\t\t\t\tread()\n\t\t\t}).catch(function (err) {\n\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\tif (!self._destroyed)\n\t\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t}\n\t\tread()\n\t} else {\n\t\tself._xhr = xhr\n\t\tself._pos = 0\n\n\t\tself.url = xhr.responseURL\n\t\tself.statusCode = xhr.status\n\t\tself.statusMessage = xhr.statusText\n\t\tvar headers = xhr.getAllResponseHeaders().split(/\\r?\\n/)\n\t\theaders.forEach(function (header) {\n\t\t\tvar matches = header.match(/^([^:]+):\\s*(.*)/)\n\t\t\tif (matches) {\n\t\t\t\tvar key = matches[1].toLowerCase()\n\t\t\t\tif (key === 'set-cookie') {\n\t\t\t\t\tif (self.headers[key] === undefined) {\n\t\t\t\t\t\tself.headers[key] = []\n\t\t\t\t\t}\n\t\t\t\t\tself.headers[key].push(matches[2])\n\t\t\t\t} else if (self.headers[key] !== undefined) {\n\t\t\t\t\tself.headers[key] += ', ' + matches[2]\n\t\t\t\t} else {\n\t\t\t\t\tself.headers[key] = matches[2]\n\t\t\t\t}\n\t\t\t\tself.rawHeaders.push(matches[1], matches[2])\n\t\t\t}\n\t\t})\n\n\t\tself._charset = 'x-user-defined'\n\t\tif (!capability.overrideMimeType) {\n\t\t\tvar mimeType = self.rawHeaders['mime-type']\n\t\t\tif (mimeType) {\n\t\t\t\tvar charsetMatch = mimeType.match(/;\\s*charset=([^;])(;|$)/)\n\t\t\t\tif (charsetMatch) {\n\t\t\t\t\tself._charset = charsetMatch[1].toLowerCase()\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!self._charset)\n\t\t\t\tself._charset = 'utf-8' // best guess\n\t\t}\n\t}\n}\n\ninherits(IncomingMessage, stream.Readable)\n\nIncomingMessage.prototype._read = function () {\n\tvar self = this\n\n\tvar resolve = self._resumeFetch\n\tif (resolve) {\n\t\tself._resumeFetch = null\n\t\tresolve()\n\t}\n}\n\nIncomingMessage.prototype._onXHRProgress = function () {\n\tvar self = this\n\n\tvar xhr = self._xhr\n\n\tvar response = null\n\tswitch (self._mode) {\n\t\tcase 'text:vbarray': // For IE9\n\t\t\tif (xhr.readyState !== rStates.DONE)\n\t\t\t\tbreak\n\t\t\ttry {\n\t\t\t\t// This fails in IE8\n\t\t\t\tresponse = new global.VBArray(xhr.responseBody).toArray()\n\t\t\t} catch (e) {}\n\t\t\tif (response !== null) {\n\t\t\t\tself.push(new Buffer(response))\n\t\t\t\tbreak\n\t\t\t}\n\t\t\t// Falls through in IE8\t\n\t\tcase 'text':\n\t\t\ttry { // This will fail when readyState = 3 in IE9. Switch mode and wait for readyState = 4\n\t\t\t\tresponse = xhr.responseText\n\t\t\t} catch (e) {\n\t\t\t\tself._mode = 'text:vbarray'\n\t\t\t\tbreak\n\t\t\t}\n\t\t\tif (response.length > self._pos) {\n\t\t\t\tvar newData = response.substr(self._pos)\n\t\t\t\tif (self._charset === 'x-user-defined') {\n\t\t\t\t\tvar buffer = new Buffer(newData.length)\n\t\t\t\t\tfor (var i = 0; i < newData.length; i++)\n\t\t\t\t\t\tbuffer[i] = newData.charCodeAt(i) & 0xff\n\n\t\t\t\t\tself.push(buffer)\n\t\t\t\t} else {\n\t\t\t\t\tself.push(newData, self._charset)\n\t\t\t\t}\n\t\t\t\tself._pos = response.length\n\t\t\t}\n\t\t\tbreak\n\t\tcase 'arraybuffer':\n\t\t\tif (xhr.readyState !== rStates.DONE || !xhr.response)\n\t\t\t\tbreak\n\t\t\tresponse = xhr.response\n\t\t\tself.push(new Buffer(new Uint8Array(response)))\n\t\t\tbreak\n\t\tcase 'moz-chunked-arraybuffer': // take whole\n\t\t\tresponse = xhr.response\n\t\t\tif (xhr.readyState !== rStates.LOADING || !response)\n\t\t\t\tbreak\n\t\t\tself.push(new Buffer(new Uint8Array(response)))\n\t\t\tbreak\n\t\tcase 'ms-stream':\n\t\t\tresponse = xhr.response\n\t\t\tif (xhr.readyState !== rStates.LOADING)\n\t\t\t\tbreak\n\t\t\tvar reader = new global.MSStreamReader()\n\t\t\treader.onprogress = function () {\n\t\t\t\tif (reader.result.byteLength > self._pos) {\n\t\t\t\t\tself.push(new Buffer(new Uint8Array(reader.result.slice(self._pos))))\n\t\t\t\t\tself._pos = reader.result.byteLength\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.onload = function () {\n\t\t\t\tself.push(null)\n\t\t\t}\n\t\t\t// reader.onerror = ??? // TODO: this\n\t\t\treader.readAsArrayBuffer(response)\n\t\t\tbreak\n\t}\n\n\t// The ms-stream case handles end separately in reader.onload()\n\tif (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') {\n\t\tself.push(null)\n\t}\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\"), __webpack_require__(/*! ./../../node-libs-browser/node_modules/buffer/index.js */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/lib/response.js?"); +eval("/* WEBPACK VAR INJECTION */(function(process, Buffer, global) {var capability = __webpack_require__(/*! ./capability */ \"./node_modules/stream-http/lib/capability.js\")\nvar inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")\nvar stream = __webpack_require__(/*! readable-stream */ \"./node_modules/stream-http/node_modules/readable-stream/readable-browser.js\")\n\nvar rStates = exports.readyStates = {\n\tUNSENT: 0,\n\tOPENED: 1,\n\tHEADERS_RECEIVED: 2,\n\tLOADING: 3,\n\tDONE: 4\n}\n\nvar IncomingMessage = exports.IncomingMessage = function (xhr, response, mode, fetchTimer) {\n\tvar self = this\n\tstream.Readable.call(self)\n\n\tself._mode = mode\n\tself.headers = {}\n\tself.rawHeaders = []\n\tself.trailers = {}\n\tself.rawTrailers = []\n\n\t// Fake the 'close' event, but only once 'end' fires\n\tself.on('end', function () {\n\t\t// The nextTick is necessary to prevent the 'request' module from causing an infinite loop\n\t\tprocess.nextTick(function () {\n\t\t\tself.emit('close')\n\t\t})\n\t})\n\n\tif (mode === 'fetch') {\n\t\tself._fetchResponse = response\n\n\t\tself.url = response.url\n\t\tself.statusCode = response.status\n\t\tself.statusMessage = response.statusText\n\t\t\n\t\tresponse.headers.forEach(function (header, key){\n\t\t\tself.headers[key.toLowerCase()] = header\n\t\t\tself.rawHeaders.push(key, header)\n\t\t})\n\n\t\tif (capability.writableStream) {\n\t\t\tvar writable = new WritableStream({\n\t\t\t\twrite: function (chunk) {\n\t\t\t\t\treturn new Promise(function (resolve, reject) {\n\t\t\t\t\t\tif (self._destroyed) {\n\t\t\t\t\t\t\treject()\n\t\t\t\t\t\t} else if(self.push(new Buffer(chunk))) {\n\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tself._resumeFetch = resolve\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t},\n\t\t\t\tclose: function () {\n\t\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.push(null)\n\t\t\t\t},\n\t\t\t\tabort: function (err) {\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.emit('error', err)\n\t\t\t\t}\n\t\t\t})\n\n\t\t\ttry {\n\t\t\t\tresponse.body.pipeTo(writable).catch(function (err) {\n\t\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\t\tif (!self._destroyed)\n\t\t\t\t\t\tself.emit('error', err)\n\t\t\t\t})\n\t\t\t\treturn\n\t\t\t} catch (e) {} // pipeTo method isn't defined. Can't find a better way to feature test this\n\t\t}\n\t\t// fallback for when writableStream or pipeTo aren't available\n\t\tvar reader = response.body.getReader()\n\t\tfunction read () {\n\t\t\treader.read().then(function (result) {\n\t\t\t\tif (self._destroyed)\n\t\t\t\t\treturn\n\t\t\t\tif (result.done) {\n\t\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\t\tself.push(null)\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tself.push(new Buffer(result.value))\n\t\t\t\tread()\n\t\t\t}).catch(function (err) {\n\t\t\t\tglobal.clearTimeout(fetchTimer)\n\t\t\t\tif (!self._destroyed)\n\t\t\t\t\tself.emit('error', err)\n\t\t\t})\n\t\t}\n\t\tread()\n\t} else {\n\t\tself._xhr = xhr\n\t\tself._pos = 0\n\n\t\tself.url = xhr.responseURL\n\t\tself.statusCode = xhr.status\n\t\tself.statusMessage = xhr.statusText\n\t\tvar headers = xhr.getAllResponseHeaders().split(/\\r?\\n/)\n\t\theaders.forEach(function (header) {\n\t\t\tvar matches = header.match(/^([^:]+):\\s*(.*)/)\n\t\t\tif (matches) {\n\t\t\t\tvar key = matches[1].toLowerCase()\n\t\t\t\tif (key === 'set-cookie') {\n\t\t\t\t\tif (self.headers[key] === undefined) {\n\t\t\t\t\t\tself.headers[key] = []\n\t\t\t\t\t}\n\t\t\t\t\tself.headers[key].push(matches[2])\n\t\t\t\t} else if (self.headers[key] !== undefined) {\n\t\t\t\t\tself.headers[key] += ', ' + matches[2]\n\t\t\t\t} else {\n\t\t\t\t\tself.headers[key] = matches[2]\n\t\t\t\t}\n\t\t\t\tself.rawHeaders.push(matches[1], matches[2])\n\t\t\t}\n\t\t})\n\n\t\tself._charset = 'x-user-defined'\n\t\tif (!capability.overrideMimeType) {\n\t\t\tvar mimeType = self.rawHeaders['mime-type']\n\t\t\tif (mimeType) {\n\t\t\t\tvar charsetMatch = mimeType.match(/;\\s*charset=([^;])(;|$)/)\n\t\t\t\tif (charsetMatch) {\n\t\t\t\t\tself._charset = charsetMatch[1].toLowerCase()\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!self._charset)\n\t\t\t\tself._charset = 'utf-8' // best guess\n\t\t}\n\t}\n}\n\ninherits(IncomingMessage, stream.Readable)\n\nIncomingMessage.prototype._read = function () {\n\tvar self = this\n\n\tvar resolve = self._resumeFetch\n\tif (resolve) {\n\t\tself._resumeFetch = null\n\t\tresolve()\n\t}\n}\n\nIncomingMessage.prototype._onXHRProgress = function () {\n\tvar self = this\n\n\tvar xhr = self._xhr\n\n\tvar response = null\n\tswitch (self._mode) {\n\t\tcase 'text:vbarray': // For IE9\n\t\t\tif (xhr.readyState !== rStates.DONE)\n\t\t\t\tbreak\n\t\t\ttry {\n\t\t\t\t// This fails in IE8\n\t\t\t\tresponse = new global.VBArray(xhr.responseBody).toArray()\n\t\t\t} catch (e) {}\n\t\t\tif (response !== null) {\n\t\t\t\tself.push(new Buffer(response))\n\t\t\t\tbreak\n\t\t\t}\n\t\t\t// Falls through in IE8\t\n\t\tcase 'text':\n\t\t\ttry { // This will fail when readyState = 3 in IE9. Switch mode and wait for readyState = 4\n\t\t\t\tresponse = xhr.responseText\n\t\t\t} catch (e) {\n\t\t\t\tself._mode = 'text:vbarray'\n\t\t\t\tbreak\n\t\t\t}\n\t\t\tif (response.length > self._pos) {\n\t\t\t\tvar newData = response.substr(self._pos)\n\t\t\t\tif (self._charset === 'x-user-defined') {\n\t\t\t\t\tvar buffer = new Buffer(newData.length)\n\t\t\t\t\tfor (var i = 0; i < newData.length; i++)\n\t\t\t\t\t\tbuffer[i] = newData.charCodeAt(i) & 0xff\n\n\t\t\t\t\tself.push(buffer)\n\t\t\t\t} else {\n\t\t\t\t\tself.push(newData, self._charset)\n\t\t\t\t}\n\t\t\t\tself._pos = response.length\n\t\t\t}\n\t\t\tbreak\n\t\tcase 'arraybuffer':\n\t\t\tif (xhr.readyState !== rStates.DONE || !xhr.response)\n\t\t\t\tbreak\n\t\t\tresponse = xhr.response\n\t\t\tself.push(new Buffer(new Uint8Array(response)))\n\t\t\tbreak\n\t\tcase 'moz-chunked-arraybuffer': // take whole\n\t\t\tresponse = xhr.response\n\t\t\tif (xhr.readyState !== rStates.LOADING || !response)\n\t\t\t\tbreak\n\t\t\tself.push(new Buffer(new Uint8Array(response)))\n\t\t\tbreak\n\t\tcase 'ms-stream':\n\t\t\tresponse = xhr.response\n\t\t\tif (xhr.readyState !== rStates.LOADING)\n\t\t\t\tbreak\n\t\t\tvar reader = new global.MSStreamReader()\n\t\t\treader.onprogress = function () {\n\t\t\t\tif (reader.result.byteLength > self._pos) {\n\t\t\t\t\tself.push(new Buffer(new Uint8Array(reader.result.slice(self._pos))))\n\t\t\t\t\tself._pos = reader.result.byteLength\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.onload = function () {\n\t\t\t\tself.push(null)\n\t\t\t}\n\t\t\t// reader.onerror = ??? // TODO: this\n\t\t\treader.readAsArrayBuffer(response)\n\t\t\tbreak\n\t}\n\n\t// The ms-stream case handles end separately in reader.onload()\n\tif (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') {\n\t\tself.push(null)\n\t}\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\"), __webpack_require__(/*! ./../../node-libs-browser/node_modules/buffer/index.js */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/lib/response.js?"); /***/ }), -/***/ "./node_modules/string_decoder/lib/string_decoder.js": -/*!***********************************************************!*\ - !*** ./node_modules/string_decoder/lib/string_decoder.js ***! - \***********************************************************/ +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js": +/*!*************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js ***! + \*************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/string_decoder/node_modules/safe-buffer/index.js\").Buffer;\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n encoding = '' + encoding;\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\n return true;\n default:\n return false;\n }\n};\n\nfunction _normalizeEncoding(enc) {\n if (!enc) return 'utf8';\n var retried;\n while (true) {\n switch (enc) {\n case 'utf8':\n case 'utf-8':\n return 'utf8';\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return 'utf16le';\n case 'latin1':\n case 'binary':\n return 'latin1';\n case 'base64':\n case 'ascii':\n case 'hex':\n return enc;\n default:\n if (retried) return; // undefined\n enc = ('' + enc).toLowerCase();\n retried = true;\n }\n }\n};\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n var nenc = _normalizeEncoding(enc);\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\n return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nexports.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n this.encoding = normalizeEncoding(encoding);\n var nb;\n switch (this.encoding) {\n case 'utf16le':\n this.text = utf16Text;\n this.end = utf16End;\n nb = 4;\n break;\n case 'utf8':\n this.fillLast = utf8FillLast;\n nb = 4;\n break;\n case 'base64':\n this.text = base64Text;\n this.end = base64End;\n nb = 3;\n break;\n default:\n this.write = simpleWrite;\n this.end = simpleEnd;\n return;\n }\n this.lastNeed = 0;\n this.lastTotal = 0;\n this.lastChar = Buffer.allocUnsafe(nb);\n}\n\nStringDecoder.prototype.write = function (buf) {\n if (buf.length === 0) return '';\n var r;\n var i;\n if (this.lastNeed) {\n r = this.fillLast(buf);\n if (r === undefined) return '';\n i = this.lastNeed;\n this.lastNeed = 0;\n } else {\n i = 0;\n }\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n return r || '';\n};\n\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte.\nfunction utf8CheckByte(byte) {\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\n return -1;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n var j = buf.length - 1;\n if (j < i) return 0;\n var nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 1;\n return nb;\n }\n if (--j < i) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 2;\n return nb;\n }\n if (--j < i) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) {\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n }\n return nb;\n }\n return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// UTF-8 replacement characters ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n if ((buf[0] & 0xC0) !== 0x80) {\n self.lastNeed = 0;\n return '\\ufffd'.repeat(p);\n }\n if (self.lastNeed > 1 && buf.length > 1) {\n if ((buf[1] & 0xC0) !== 0x80) {\n self.lastNeed = 1;\n return '\\ufffd'.repeat(p + 1);\n }\n if (self.lastNeed > 2 && buf.length > 2) {\n if ((buf[2] & 0xC0) !== 0x80) {\n self.lastNeed = 2;\n return '\\ufffd'.repeat(p + 2);\n }\n }\n }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n var p = this.lastTotal - this.lastNeed;\n var r = utf8CheckExtraBytes(this, buf, p);\n if (r !== undefined) return r;\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, p, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, p, 0, buf.length);\n this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n var total = utf8CheckIncomplete(this, buf, i);\n if (!this.lastNeed) return buf.toString('utf8', i);\n this.lastTotal = total;\n var end = buf.length - (total - this.lastNeed);\n buf.copy(this.lastChar, 0, end);\n return buf.toString('utf8', i, end);\n}\n\n// For UTF-8, a replacement character for each buffered byte of a (partial)\n// character needs to be added to the output.\nfunction utf8End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + '\\ufffd'.repeat(this.lastTotal - this.lastNeed);\n return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n if ((buf.length - i) % 2 === 0) {\n var r = buf.toString('utf16le', i);\n if (r) {\n var c = r.charCodeAt(r.length - 1);\n if (c >= 0xD800 && c <= 0xDBFF) {\n this.lastNeed = 2;\n this.lastTotal = 4;\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n return r.slice(0, -1);\n }\n }\n return r;\n }\n this.lastNeed = 1;\n this.lastTotal = 2;\n this.lastChar[0] = buf[buf.length - 1];\n return buf.toString('utf16le', i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) {\n var end = this.lastTotal - this.lastNeed;\n return r + this.lastChar.toString('utf16le', 0, end);\n }\n return r;\n}\n\nfunction base64Text(buf, i) {\n var n = (buf.length - i) % 3;\n if (n === 0) return buf.toString('base64', i);\n this.lastNeed = 3 - n;\n this.lastTotal = 3;\n if (n === 1) {\n this.lastChar[0] = buf[buf.length - 1];\n } else {\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n }\n return buf.toString('base64', i, buf.length - n);\n}\n\nfunction base64End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\n return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n return buf.toString(this.encoding);\n}\n\nfunction simpleEnd(buf) {\n return buf && buf.length ? this.write(buf) : '';\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/string_decoder/lib/string_decoder.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\n/**/\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }return keys;\n};\n/**/\n\nmodule.exports = Duplex;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js\");\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js\");\n\nutil.inherits(Duplex, Readable);\n\n{\n // avoid scope creep, the keys array can then be collected\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\n\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n\n Readable.call(this, options);\n Writable.call(this, options);\n\n if (options && options.readable === false) this.readable = false;\n\n if (options && options.writable === false) this.writable = false;\n\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\n\n this.once('end', onend);\n}\n\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// the no-half-open enforcer\nfunction onend() {\n // if we allow half-open state, or if the writable side ended,\n // then we're ok.\n if (this.allowHalfOpen || this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n pna.nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n\nDuplex.prototype._destroy = function (err, cb) {\n this.push(null);\n this.end();\n\n pna.nextTick(cb, err);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js?"); /***/ }), -/***/ "./node_modules/string_decoder/node_modules/safe-buffer/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/string_decoder/node_modules/safe-buffer/index.js ***! - \***********************************************************************/ +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js ***! + \******************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n\n\nmodule.exports = PassThrough;\n\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\nutil.inherits(PassThrough, Transform);\n\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n\n Transform.call(this, options);\n}\n\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js ***! + \***************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Readable;\n\n/**/\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\");\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n\n/**/\nvar EE = __webpack_require__(/*! events */ \"./node_modules/node-libs-browser/node_modules/events/events.js\").EventEmitter;\n\nvar EElistenerCount = function (emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/stream-http/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\n/**/\nvar debugUtil = __webpack_require__(/*! util */ 2);\nvar debug = void 0;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function () {};\n}\n/**/\n\nvar BufferList = __webpack_require__(/*! ./internal/streams/BufferList */ \"./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/BufferList.js\");\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js\");\nvar StringDecoder;\n\nutil.inherits(Readable, Stream);\n\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\n\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\n\nfunction ReadableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n var hwm = options.highWaterMark;\n var readableHwm = options.readableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\n\nfunction Readable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n if (!(this instanceof Readable)) return new Readable(options);\n\n this._readableState = new ReadableState(options, this);\n\n // legacy\n this.readable = true;\n\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n\n Stream.call(this);\n}\n\nObject.defineProperty(Readable.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n }\n});\n\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n this.push(null);\n cb(err);\n};\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\n\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (addToFront) {\n if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n stream.emit('error', new Error('stream.push() after EOF'));\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n }\n\n return needMoreData(state);\n}\n\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\n\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n}\n\n// if it's past the high water mark, we can push in some more.\n// Also, if we have no data yet, we can stand some\n// more bytes. This is to work around cases where hwm=0,\n// such as the repl. Also, if the push() triggered a\n// readable event, and the user called read(largeNumber) such that\n// needReadable was set, then we ought to push more, so that another\n// 'readable' event will be triggered.\nfunction needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n}\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n};\n\n// Don't raise the hwm > 8MB\nvar MAX_HWM = 0x800000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n } else {\n state.length -= n;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n\n return ret;\n};\n\nfunction onEofChunk(stream, state) {\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n\n // emit 'readable' now to make sure it gets picked up.\n emitReadable(stream);\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);\n }\n}\n\nfunction emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n pna.nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;else len = state.length;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n this.emit('error', new Error('_read() is not implemented'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);\n\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n // If the user pushes more data while we're writing to dest then we'll end up\n // in ondata again. However, we only want to increase awaitDrain once because\n // dest will only emit one 'drain' event for the multiple writes.\n // => Introduce a guard on increasing awaitDrain.\n var increasedAwaitDrain = false;\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n increasedAwaitDrain = false;\n var ret = dest.write(chunk);\n if (false === ret && !increasedAwaitDrain) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n increasedAwaitDrain = true;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function () {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = { hasUnpiped: false };\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, unpipeInfo);\n }return this;\n }\n\n // try to find the right one.\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n\n dest.emit('unpipe', this, unpipeInfo);\n\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n\n if (ev === 'data') {\n // Start flowing on next tick if stream isn't explicitly paused\n if (this._readableState.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n var state = this._readableState;\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.emittedReadable = false;\n if (!state.reading) {\n pna.nextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this);\n }\n }\n }\n\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n pna.nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n state.awaitDrain = 0;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null) {}\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n\n var state = this._readableState;\n var paused = false;\n\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n\n _this.push(null);\n });\n\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function (method) {\n return function () {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n }\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return this;\n};\n\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._readableState.highWaterMark;\n }\n});\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = fromListPartial(n, state.buffer, state.decoder);\n }\n\n return ret;\n}\n\n// Extracts only enough buffered data to satisfy the amount requested.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromListPartial(n, list, hasStrings) {\n var ret;\n if (n < list.head.data.length) {\n // slice is the same for buffers and strings\n ret = list.head.data.slice(0, n);\n list.head.data = list.head.data.slice(n);\n } else if (n === list.head.data.length) {\n // first chunk is a perfect match\n ret = list.shift();\n } else {\n // result spans more than one buffer\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\n }\n return ret;\n}\n\n// Copies a specified amount of characters from the list of buffered data\n// chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBufferString(n, list) {\n var p = list.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\n// Copies a specified amount of bytes from the list of buffered data chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBuffer(n, list) {\n var ret = Buffer.allocUnsafe(n);\n var p = list.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n\n // If we get here before consuming all the bytes, then that is a\n // bug in node. Should never happen.\n if (state.length > 0) throw new Error('\"endReadable()\" called on non-empty stream');\n\n if (!state.endEmitted) {\n state.ended = true;\n pna.nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js": +/*!****************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js ***! + \****************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n\n\nmodule.exports = Transform;\n\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\nutil.inherits(Transform, Duplex);\n\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n\n var cb = ts.writecb;\n\n if (!cb) {\n return this.emit('error', new Error('write callback called multiple times'));\n }\n\n ts.writechunk = null;\n ts.writecb = null;\n\n if (data != null) // single equals check for both `null` and `undefined`\n this.push(data);\n\n cb(er);\n\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\n\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n\n Duplex.call(this, options);\n\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n };\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n // When the writable side finishes, then flush out anything remaining.\n this.on('prefinish', prefinish);\n}\n\nfunction prefinish() {\n var _this = this;\n\n if (typeof this._flush === 'function') {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n throw new Error('_transform() is not implemented');\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nTransform.prototype._destroy = function (err, cb) {\n var _this2 = this;\n\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n _this2.emit('close');\n });\n};\n\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n\n if (data != null) // single equals check for both `null` and `undefined`\n stream.push(data);\n\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');\n\n if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');\n\n return stream.push(null);\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js ***! + \***************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(process, setImmediate, global) {// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Writable;\n\n/* */\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\nvar asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\");\n/**/\n\n/**/\nvar internalUtil = {\n deprecate: __webpack_require__(/*! util-deprecate */ \"./node_modules/util-deprecate/browser.js\")\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/stream-http/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nutil.inherits(Writable, Stream);\n\nfunction nop() {}\n\nfunction WritableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n var hwm = options.highWaterMark;\n var writableHwm = options.writableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // if _final has been called\n this.finalCalled = false;\n\n // drain event flag.\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function () {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})();\n\n// Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function (object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function (object) {\n return object instanceof this;\n };\n}\n\nfunction Writable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js\");\n\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {\n return new Writable(options);\n }\n\n this._writableState = new WritableState(options, this);\n\n // legacy.\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n\n if (typeof options.writev === 'function') this._writev = options.writev;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n\n if (typeof options.final === 'function') this._final = options.final;\n }\n\n Stream.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n this.emit('error', new Error('Cannot pipe, not readable'));\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n // TODO: defer error events consistently everywhere, not just the cb\n stream.emit('error', er);\n pna.nextTick(cb, er);\n}\n\n// Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\nfunction validChunk(stream, state, chunk, cb) {\n var valid = true;\n var er = false;\n\n if (chunk === null) {\n er = new TypeError('May not write null values to stream');\n } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n if (er) {\n stream.emit('error', er);\n pna.nextTick(cb, er);\n valid = false;\n }\n return valid;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n\n if (typeof cb !== 'function') cb = nop;\n\n if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n\n return ret;\n};\n\nWritable.prototype.cork = function () {\n var state = this._writableState;\n\n state.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\n\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n\n state.length += len;\n\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n pna.nextTick(cb, er);\n // this can emit finish, and it will always happen\n // after error\n pna.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n // this can emit finish, but finish must\n // always follow error\n finishMaybe(stream, state);\n }\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n\n onwriteStateUpdate(state);\n\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state);\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n /**/\n asyncWrite(afterWrite, stream, state, finished, cb);\n /**/\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new Error('_write() is not implemented'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending && !state.finished) endWritable(this, state, cb);\n};\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n stream.emit('error', err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function') {\n state.pendingcb++;\n state.finalCalled = true;\n pna.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n }\n }\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\n\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = corkReq;\n } else {\n state.corkedRequestsFree = corkReq;\n }\n}\n\nObject.defineProperty(Writable.prototype, 'destroyed', {\n get: function () {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._writableState.destroyed = value;\n }\n});\n\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n this.end();\n cb(err);\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\"), __webpack_require__(/*! ./../../../../node-libs-browser/node_modules/timers-browserify/main.js */ \"./node_modules/node-libs-browser/node_modules/timers-browserify/main.js\").setImmediate, __webpack_require__(/*! ./../../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/BufferList.js": +/*!**************************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/BufferList.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/stream-http/node_modules/safe-buffer/index.js\").Buffer;\nvar util = __webpack_require__(/*! util */ 3);\n\nfunction copyBuffer(src, target, offset) {\n src.copy(target, offset);\n}\n\nmodule.exports = function () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n\n BufferList.prototype.push = function push(v) {\n var entry = { data: v, next: null };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n };\n\n BufferList.prototype.unshift = function unshift(v) {\n var entry = { data: v, next: this.head };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n };\n\n BufferList.prototype.shift = function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n };\n\n BufferList.prototype.clear = function clear() {\n this.head = this.tail = null;\n this.length = 0;\n };\n\n BufferList.prototype.join = function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) {\n ret += s + p.data;\n }return ret;\n };\n\n BufferList.prototype.concat = function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n if (this.length === 1) return this.head.data;\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n };\n\n return BufferList;\n}();\n\nif (util && util.inspect && util.inspect.custom) {\n module.exports.prototype[util.inspect.custom] = function () {\n var obj = util.inspect({ length: this.length });\n return this.constructor.name + ' ' + obj;\n };\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/BufferList.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js ***! + \***********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\n// undocumented cb() API, needed for core, not for public API\nfunction destroy(err, cb) {\n var _this = this;\n\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {\n pna.nextTick(emitErrorNT, this, err);\n }\n return this;\n }\n\n // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n }\n\n // if this is a duplex stream mark the writable part as destroyed as well\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n pna.nextTick(emitErrorNT, _this, err);\n if (_this._writableState) {\n _this._writableState.errorEmitted = true;\n }\n } else if (cb) {\n cb(err);\n }\n });\n\n return this;\n}\n\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\n\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\n\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/destroy.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js": +/*!******************************************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js ***! + \******************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/string_decoder/node_modules/safe-buffer/index.js?"); +eval("module.exports = __webpack_require__(/*! events */ \"./node_modules/node-libs-browser/node_modules/events/events.js\").EventEmitter;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/lib/internal/streams/stream-browser.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/readable-stream/readable-browser.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/readable-stream/readable-browser.js ***! + \***********************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_readable.js\");\nexports.Stream = exports;\nexports.Readable = exports;\nexports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_writable.js\");\nexports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_duplex.js\");\nexports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_transform.js\");\nexports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \"./node_modules/stream-http/node_modules/readable-stream/lib/_stream_passthrough.js\");\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/readable-stream/readable-browser.js?"); + +/***/ }), + +/***/ "./node_modules/stream-http/node_modules/safe-buffer/index.js": +/*!********************************************************************!*\ + !*** ./node_modules/stream-http/node_modules/safe-buffer/index.js ***! + \********************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/stream-http/node_modules/safe-buffer/index.js?"); + +/***/ }), + +/***/ "./node_modules/string_decoder/lib/string_decoder.js": +/*!***********************************************************!*\ + !*** ./node_modules/string_decoder/lib/string_decoder.js ***! + \***********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/safe-buffer/index.js\").Buffer;\n/**/\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n encoding = '' + encoding;\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\n return true;\n default:\n return false;\n }\n};\n\nfunction _normalizeEncoding(enc) {\n if (!enc) return 'utf8';\n var retried;\n while (true) {\n switch (enc) {\n case 'utf8':\n case 'utf-8':\n return 'utf8';\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return 'utf16le';\n case 'latin1':\n case 'binary':\n return 'latin1';\n case 'base64':\n case 'ascii':\n case 'hex':\n return enc;\n default:\n if (retried) return; // undefined\n enc = ('' + enc).toLowerCase();\n retried = true;\n }\n }\n};\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n var nenc = _normalizeEncoding(enc);\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\n return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nexports.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n this.encoding = normalizeEncoding(encoding);\n var nb;\n switch (this.encoding) {\n case 'utf16le':\n this.text = utf16Text;\n this.end = utf16End;\n nb = 4;\n break;\n case 'utf8':\n this.fillLast = utf8FillLast;\n nb = 4;\n break;\n case 'base64':\n this.text = base64Text;\n this.end = base64End;\n nb = 3;\n break;\n default:\n this.write = simpleWrite;\n this.end = simpleEnd;\n return;\n }\n this.lastNeed = 0;\n this.lastTotal = 0;\n this.lastChar = Buffer.allocUnsafe(nb);\n}\n\nStringDecoder.prototype.write = function (buf) {\n if (buf.length === 0) return '';\n var r;\n var i;\n if (this.lastNeed) {\n r = this.fillLast(buf);\n if (r === undefined) return '';\n i = this.lastNeed;\n this.lastNeed = 0;\n } else {\n i = 0;\n }\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n return r || '';\n};\n\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte. If an invalid byte is detected, -2 is returned.\nfunction utf8CheckByte(byte) {\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\n return byte >> 6 === 0x02 ? -1 : -2;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n var j = buf.length - 1;\n if (j < i) return 0;\n var nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 1;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 2;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) {\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n }\n return nb;\n }\n return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// a single UTF-8 replacement character ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n if ((buf[0] & 0xC0) !== 0x80) {\n self.lastNeed = 0;\n return '\\ufffd';\n }\n if (self.lastNeed > 1 && buf.length > 1) {\n if ((buf[1] & 0xC0) !== 0x80) {\n self.lastNeed = 1;\n return '\\ufffd';\n }\n if (self.lastNeed > 2 && buf.length > 2) {\n if ((buf[2] & 0xC0) !== 0x80) {\n self.lastNeed = 2;\n return '\\ufffd';\n }\n }\n }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n var p = this.lastTotal - this.lastNeed;\n var r = utf8CheckExtraBytes(this, buf, p);\n if (r !== undefined) return r;\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, p, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, p, 0, buf.length);\n this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n var total = utf8CheckIncomplete(this, buf, i);\n if (!this.lastNeed) return buf.toString('utf8', i);\n this.lastTotal = total;\n var end = buf.length - (total - this.lastNeed);\n buf.copy(this.lastChar, 0, end);\n return buf.toString('utf8', i, end);\n}\n\n// For UTF-8, a replacement character is added when ending on a partial\n// character.\nfunction utf8End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + '\\ufffd';\n return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n if ((buf.length - i) % 2 === 0) {\n var r = buf.toString('utf16le', i);\n if (r) {\n var c = r.charCodeAt(r.length - 1);\n if (c >= 0xD800 && c <= 0xDBFF) {\n this.lastNeed = 2;\n this.lastTotal = 4;\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n return r.slice(0, -1);\n }\n }\n return r;\n }\n this.lastNeed = 1;\n this.lastTotal = 2;\n this.lastChar[0] = buf[buf.length - 1];\n return buf.toString('utf16le', i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) {\n var end = this.lastTotal - this.lastNeed;\n return r + this.lastChar.toString('utf16le', 0, end);\n }\n return r;\n}\n\nfunction base64Text(buf, i) {\n var n = (buf.length - i) % 3;\n if (n === 0) return buf.toString('base64', i);\n this.lastNeed = 3 - n;\n this.lastTotal = 3;\n if (n === 1) {\n this.lastChar[0] = buf[buf.length - 1];\n } else {\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n }\n return buf.toString('base64', i, buf.length - n);\n}\n\nfunction base64End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\n return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n return buf.toString(this.encoding);\n}\n\nfunction simpleEnd(buf) {\n return buf && buf.length ? this.write(buf) : '';\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/string_decoder/lib/string_decoder.js?"); /***/ }), @@ -1174,7 +1384,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyFunction\", function() { return createProxyFunction; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyModule\", function() { return createProxyModule; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/threads/node_modules/debug/src/browser.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _observable_promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable-promise */ \"./node_modules/threads/dist-esm/observable-promise.js\");\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../transferable */ \"./node_modules/threads/dist-esm/transferable.js\");\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/messages */ \"./node_modules/threads/dist-esm/types/messages.js\");\n/*\n * This source file contains the code for proxying calls in the master thread to calls in the workers\n * by `.postMessage()`-ing.\n *\n * Keep in mind that this code can make or break the program's performance! Need to optimize more…\n */\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nlet nextJobUID = 1;\nconst dedupe = (array) => Array.from(new Set(array));\nconst isJobErrorMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].error;\nconst isJobResultMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].result;\nconst isJobStartMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].running;\nfunction createObservableForJob(worker, jobUID) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n let asyncType;\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker:\", event.data);\n if (!event.data || event.data.uid !== jobUID)\n return;\n if (isJobStartMessage(event.data)) {\n asyncType = event.data.resultType;\n }\n else if (isJobResultMessage(event.data)) {\n if (asyncType === \"promise\") {\n if (typeof event.data.payload !== \"undefined\") {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n else {\n if (event.data.payload) {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n if (event.data.complete) {\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n }\n }\n else if (isJobErrorMessage(event.data)) {\n const error = Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error);\n if (asyncType === \"promise\" || !asyncType) {\n observer.error(error);\n }\n else {\n observer.error(error);\n }\n worker.removeEventListener(\"message\", messageHandler);\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n return () => {\n if (asyncType === \"observable\" || !asyncType) {\n const cancelMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].cancel,\n uid: jobUID\n };\n worker.postMessage(cancelMessage);\n }\n worker.removeEventListener(\"message\", messageHandler);\n };\n });\n}\nfunction prepareArguments(rawArgs) {\n if (rawArgs.length === 0) {\n // Exit early if possible\n return {\n args: [],\n transferables: []\n };\n }\n const args = [];\n const transferables = [];\n for (const arg of rawArgs) {\n if (Object(_transferable__WEBPACK_IMPORTED_MODULE_4__[\"isTransferDescriptor\"])(arg)) {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg.send));\n transferables.push(...arg.transferables);\n }\n else {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg));\n }\n }\n return {\n args,\n transferables: transferables.length === 0 ? transferables : dedupe(transferables)\n };\n}\nfunction createProxyFunction(worker, method) {\n return ((...rawArgs) => {\n const uid = nextJobUID++;\n const { args, transferables } = prepareArguments(rawArgs);\n const runMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].run,\n uid,\n method,\n args\n };\n debugMessages(\"Sending command to run function to worker:\", runMessage);\n try {\n worker.postMessage(runMessage, transferables);\n }\n catch (error) {\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Promise.reject(error));\n }\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(createObservableForJob(worker, uid)));\n });\n}\nfunction createProxyModule(worker, methodNames) {\n const proxy = {};\n for (const methodName of methodNames) {\n proxy[methodName] = createProxyFunction(worker, methodName);\n }\n return proxy;\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/invocation-proxy.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyFunction\", function() { return createProxyFunction; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyModule\", function() { return createProxyModule; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/debug/src/browser.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _observable_promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable-promise */ \"./node_modules/threads/dist-esm/observable-promise.js\");\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../transferable */ \"./node_modules/threads/dist-esm/transferable.js\");\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/messages */ \"./node_modules/threads/dist-esm/types/messages.js\");\n/*\n * This source file contains the code for proxying calls in the master thread to calls in the workers\n * by `.postMessage()`-ing.\n *\n * Keep in mind that this code can make or break the program's performance! Need to optimize more…\n */\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nlet nextJobUID = 1;\nconst dedupe = (array) => Array.from(new Set(array));\nconst isJobErrorMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].error;\nconst isJobResultMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].result;\nconst isJobStartMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].running;\nfunction createObservableForJob(worker, jobUID) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n let asyncType;\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker:\", event.data);\n if (!event.data || event.data.uid !== jobUID)\n return;\n if (isJobStartMessage(event.data)) {\n asyncType = event.data.resultType;\n }\n else if (isJobResultMessage(event.data)) {\n if (asyncType === \"promise\") {\n if (typeof event.data.payload !== \"undefined\") {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n else {\n if (event.data.payload) {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n if (event.data.complete) {\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n }\n }\n else if (isJobErrorMessage(event.data)) {\n const error = Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error);\n if (asyncType === \"promise\" || !asyncType) {\n observer.error(error);\n }\n else {\n observer.error(error);\n }\n worker.removeEventListener(\"message\", messageHandler);\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n return () => {\n if (asyncType === \"observable\" || !asyncType) {\n const cancelMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].cancel,\n uid: jobUID\n };\n worker.postMessage(cancelMessage);\n }\n worker.removeEventListener(\"message\", messageHandler);\n };\n });\n}\nfunction prepareArguments(rawArgs) {\n if (rawArgs.length === 0) {\n // Exit early if possible\n return {\n args: [],\n transferables: []\n };\n }\n const args = [];\n const transferables = [];\n for (const arg of rawArgs) {\n if (Object(_transferable__WEBPACK_IMPORTED_MODULE_4__[\"isTransferDescriptor\"])(arg)) {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg.send));\n transferables.push(...arg.transferables);\n }\n else {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg));\n }\n }\n return {\n args,\n transferables: transferables.length === 0 ? transferables : dedupe(transferables)\n };\n}\nfunction createProxyFunction(worker, method) {\n return ((...rawArgs) => {\n const uid = nextJobUID++;\n const { args, transferables } = prepareArguments(rawArgs);\n const runMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].run,\n uid,\n method,\n args\n };\n debugMessages(\"Sending command to run function to worker:\", runMessage);\n try {\n worker.postMessage(runMessage, transferables);\n }\n catch (error) {\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Promise.reject(error));\n }\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(createObservableForJob(worker, uid)));\n });\n}\nfunction createProxyModule(worker, methodNames) {\n const proxy = {};\n for (const methodName of methodNames) {\n proxy[methodName] = createProxyFunction(worker, methodName);\n }\n return proxy;\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/invocation-proxy.js?"); /***/ }), @@ -1198,7 +1408,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pool\", function() { return Pool; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/threads/node_modules/debug/src/browser.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _ponyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ponyfills */ \"./node_modules/threads/dist-esm/ponyfills.js\");\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./implementation */ \"./node_modules/threads/dist-esm/master/implementation.browser.js\");\n/* harmony import */ var _pool_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pool-types */ \"./node_modules/threads/dist-esm/master/pool-types.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PoolEventType\", function() { return _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"]; });\n\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thread */ \"./node_modules/threads/dist-esm/master/thread.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Thread\", function() { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"]; });\n\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nlet nextPoolID = 1;\nfunction createArray(size) {\n const array = [];\n for (let index = 0; index < size; index++) {\n array.push(index);\n }\n return array;\n}\nfunction delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\nfunction flatMap(array, mapper) {\n return array.reduce((flattened, element) => [...flattened, ...mapper(element)], []);\n}\nfunction slugify(text) {\n return text.replace(/\\W/g, \" \").trim().replace(/\\s+/g, \"-\");\n}\nfunction spawnWorkers(spawnWorker, count) {\n return createArray(count).map(() => ({\n init: spawnWorker(),\n runningTasks: []\n }));\n}\nclass WorkerPool {\n constructor(spawnWorker, optionsOrSize) {\n this.eventSubject = new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n this.initErrors = [];\n this.isClosing = false;\n this.nextTaskID = 1;\n this.taskQueue = [];\n const options = typeof optionsOrSize === \"number\"\n ? { size: optionsOrSize }\n : optionsOrSize || {};\n const { size = _implementation__WEBPACK_IMPORTED_MODULE_3__[\"defaultPoolSize\"] } = options;\n this.debug = debug__WEBPACK_IMPORTED_MODULE_0___default()(`threads:pool:${slugify(options.name || String(nextPoolID++))}`);\n this.options = options;\n this.workers = spawnWorkers(spawnWorker, size);\n this.eventObservable = Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"].from(this.eventSubject));\n Promise.all(this.workers.map(worker => worker.init)).then(() => this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].initialized,\n size: this.workers.length\n }), error => {\n this.debug(\"Error while initializing pool worker:\", error);\n this.eventSubject.error(error);\n this.initErrors.push(error);\n });\n }\n findIdlingWorker() {\n const { concurrency = 1 } = this.options;\n return this.workers.find(worker => worker.runningTasks.length < concurrency);\n }\n runPoolTask(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const workerID = this.workers.indexOf(worker) + 1;\n this.debug(`Running task #${task.id} on worker #${workerID}...`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskStart,\n taskID: task.id,\n workerID\n });\n try {\n const returnValue = yield task.run(yield worker.init);\n this.debug(`Task #${task.id} completed successfully`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted,\n returnValue,\n taskID: task.id,\n workerID\n });\n }\n catch (error) {\n this.debug(`Task #${task.id} failed`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed,\n taskID: task.id,\n error,\n workerID\n });\n }\n });\n }\n run(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const runPromise = (() => __awaiter(this, void 0, void 0, function* () {\n const removeTaskFromWorkersRunningTasks = () => {\n worker.runningTasks = worker.runningTasks.filter(someRunPromise => someRunPromise !== runPromise);\n };\n // Defer task execution by one tick to give handlers time to subscribe\n yield delay(0);\n try {\n yield this.runPoolTask(worker, task);\n }\n finally {\n removeTaskFromWorkersRunningTasks();\n if (!this.isClosing) {\n this.scheduleWork();\n }\n }\n }))();\n worker.runningTasks.push(runPromise);\n });\n }\n scheduleWork() {\n this.debug(`Attempt de-queueing a task in order to run it...`);\n const availableWorker = this.findIdlingWorker();\n if (!availableWorker)\n return;\n const nextTask = this.taskQueue.shift();\n if (!nextTask) {\n this.debug(`Task queue is empty`);\n this.eventSubject.next({ type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained });\n return;\n }\n this.run(availableWorker, nextTask);\n }\n taskCompletion(taskID) {\n return new Promise((resolve, reject) => {\n const eventSubscription = this.events().subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n resolve(event.returnValue);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n reject(event.error);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated) {\n eventSubscription.unsubscribe();\n reject(Error(\"Pool has been terminated before task was run.\"));\n }\n });\n });\n }\n settled(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const getCurrentlyRunningTasks = () => flatMap(this.workers, worker => worker.runningTasks);\n const taskFailures = [];\n const failureSubscription = this.eventObservable.subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n taskFailures.push(event.error);\n }\n });\n if (this.initErrors.length > 0) {\n return Promise.reject(this.initErrors[0]);\n }\n if (allowResolvingImmediately && this.taskQueue.length === 0) {\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n return taskFailures;\n }\n yield new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(void 0);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n failureSubscription.unsubscribe();\n return taskFailures;\n });\n }\n completed(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const settlementPromise = this.settled(allowResolvingImmediately);\n const earlyExitPromise = new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(settlementPromise);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n subscription.unsubscribe();\n reject(event.error);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n const errors = yield Promise.race([\n settlementPromise,\n earlyExitPromise\n ]);\n if (errors.length > 0) {\n throw errors[0];\n }\n });\n }\n events() {\n return this.eventObservable;\n }\n queue(taskFunction) {\n const { maxQueuedJobs = Infinity } = this.options;\n if (this.isClosing) {\n throw Error(`Cannot schedule pool tasks after terminate() has been called.`);\n }\n if (this.initErrors.length > 0) {\n throw this.initErrors[0];\n }\n const taskID = this.nextTaskID++;\n const taskCompletion = this.taskCompletion(taskID);\n taskCompletion.catch((error) => {\n // Prevent unhandled rejections here as we assume the user will use\n // `pool.completed()`, `pool.settled()` or `task.catch()` to handle errors\n this.debug(`Task #${taskID} errored:`, error);\n });\n const task = {\n id: taskID,\n run: taskFunction,\n cancel: () => {\n if (this.taskQueue.indexOf(task) === -1)\n return;\n this.taskQueue = this.taskQueue.filter(someTask => someTask !== task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCanceled,\n taskID: task.id\n });\n },\n then: taskCompletion.then.bind(taskCompletion)\n };\n if (this.taskQueue.length >= maxQueuedJobs) {\n throw Error(\"Maximum number of pool tasks queued. Refusing to queue another one.\\n\" +\n \"This usually happens for one of two reasons: We are either at peak \" +\n \"workload right now or some tasks just won't finish, thus blocking the pool.\");\n }\n this.debug(`Queueing task #${task.id}...`);\n this.taskQueue.push(task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueued,\n taskID: task.id\n });\n this.scheduleWork();\n return task;\n }\n terminate(force) {\n return __awaiter(this, void 0, void 0, function* () {\n this.isClosing = true;\n if (!force) {\n yield this.completed(true);\n }\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated,\n remainingQueue: [...this.taskQueue]\n });\n this.eventSubject.complete();\n yield Promise.all(this.workers.map((worker) => __awaiter(this, void 0, void 0, function* () { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"].terminate(yield worker.init); })));\n });\n }\n}\nWorkerPool.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nfunction PoolConstructor(spawnWorker, optionsOrSize) {\n // The function exists only so we don't need to use `new` to create a pool (we still can, though).\n // If the Pool is a class or not is an implementation detail that should not concern the user.\n return new WorkerPool(spawnWorker, optionsOrSize);\n}\nPoolConstructor.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nconst Pool = PoolConstructor;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pool\", function() { return Pool; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/debug/src/browser.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _ponyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ponyfills */ \"./node_modules/threads/dist-esm/ponyfills.js\");\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./implementation */ \"./node_modules/threads/dist-esm/master/implementation.browser.js\");\n/* harmony import */ var _pool_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pool-types */ \"./node_modules/threads/dist-esm/master/pool-types.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PoolEventType\", function() { return _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"]; });\n\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thread */ \"./node_modules/threads/dist-esm/master/thread.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Thread\", function() { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"]; });\n\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nlet nextPoolID = 1;\nfunction createArray(size) {\n const array = [];\n for (let index = 0; index < size; index++) {\n array.push(index);\n }\n return array;\n}\nfunction delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\nfunction flatMap(array, mapper) {\n return array.reduce((flattened, element) => [...flattened, ...mapper(element)], []);\n}\nfunction slugify(text) {\n return text.replace(/\\W/g, \" \").trim().replace(/\\s+/g, \"-\");\n}\nfunction spawnWorkers(spawnWorker, count) {\n return createArray(count).map(() => ({\n init: spawnWorker(),\n runningTasks: []\n }));\n}\nclass WorkerPool {\n constructor(spawnWorker, optionsOrSize) {\n this.eventSubject = new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n this.initErrors = [];\n this.isClosing = false;\n this.nextTaskID = 1;\n this.taskQueue = [];\n const options = typeof optionsOrSize === \"number\"\n ? { size: optionsOrSize }\n : optionsOrSize || {};\n const { size = _implementation__WEBPACK_IMPORTED_MODULE_3__[\"defaultPoolSize\"] } = options;\n this.debug = debug__WEBPACK_IMPORTED_MODULE_0___default()(`threads:pool:${slugify(options.name || String(nextPoolID++))}`);\n this.options = options;\n this.workers = spawnWorkers(spawnWorker, size);\n this.eventObservable = Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"].from(this.eventSubject));\n Promise.all(this.workers.map(worker => worker.init)).then(() => this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].initialized,\n size: this.workers.length\n }), error => {\n this.debug(\"Error while initializing pool worker:\", error);\n this.eventSubject.error(error);\n this.initErrors.push(error);\n });\n }\n findIdlingWorker() {\n const { concurrency = 1 } = this.options;\n return this.workers.find(worker => worker.runningTasks.length < concurrency);\n }\n runPoolTask(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const workerID = this.workers.indexOf(worker) + 1;\n this.debug(`Running task #${task.id} on worker #${workerID}...`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskStart,\n taskID: task.id,\n workerID\n });\n try {\n const returnValue = yield task.run(yield worker.init);\n this.debug(`Task #${task.id} completed successfully`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted,\n returnValue,\n taskID: task.id,\n workerID\n });\n }\n catch (error) {\n this.debug(`Task #${task.id} failed`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed,\n taskID: task.id,\n error,\n workerID\n });\n }\n });\n }\n run(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const runPromise = (() => __awaiter(this, void 0, void 0, function* () {\n const removeTaskFromWorkersRunningTasks = () => {\n worker.runningTasks = worker.runningTasks.filter(someRunPromise => someRunPromise !== runPromise);\n };\n // Defer task execution by one tick to give handlers time to subscribe\n yield delay(0);\n try {\n yield this.runPoolTask(worker, task);\n }\n finally {\n removeTaskFromWorkersRunningTasks();\n if (!this.isClosing) {\n this.scheduleWork();\n }\n }\n }))();\n worker.runningTasks.push(runPromise);\n });\n }\n scheduleWork() {\n this.debug(`Attempt de-queueing a task in order to run it...`);\n const availableWorker = this.findIdlingWorker();\n if (!availableWorker)\n return;\n const nextTask = this.taskQueue.shift();\n if (!nextTask) {\n this.debug(`Task queue is empty`);\n this.eventSubject.next({ type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained });\n return;\n }\n this.run(availableWorker, nextTask);\n }\n taskCompletion(taskID) {\n return new Promise((resolve, reject) => {\n const eventSubscription = this.events().subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n resolve(event.returnValue);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n reject(event.error);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated) {\n eventSubscription.unsubscribe();\n reject(Error(\"Pool has been terminated before task was run.\"));\n }\n });\n });\n }\n settled(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const getCurrentlyRunningTasks = () => flatMap(this.workers, worker => worker.runningTasks);\n const taskFailures = [];\n const failureSubscription = this.eventObservable.subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n taskFailures.push(event.error);\n }\n });\n if (this.initErrors.length > 0) {\n return Promise.reject(this.initErrors[0]);\n }\n if (allowResolvingImmediately && this.taskQueue.length === 0) {\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n return taskFailures;\n }\n yield new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(void 0);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n failureSubscription.unsubscribe();\n return taskFailures;\n });\n }\n completed(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const settlementPromise = this.settled(allowResolvingImmediately);\n const earlyExitPromise = new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(settlementPromise);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n subscription.unsubscribe();\n reject(event.error);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n const errors = yield Promise.race([\n settlementPromise,\n earlyExitPromise\n ]);\n if (errors.length > 0) {\n throw errors[0];\n }\n });\n }\n events() {\n return this.eventObservable;\n }\n queue(taskFunction) {\n const { maxQueuedJobs = Infinity } = this.options;\n if (this.isClosing) {\n throw Error(`Cannot schedule pool tasks after terminate() has been called.`);\n }\n if (this.initErrors.length > 0) {\n throw this.initErrors[0];\n }\n const taskID = this.nextTaskID++;\n const taskCompletion = this.taskCompletion(taskID);\n taskCompletion.catch((error) => {\n // Prevent unhandled rejections here as we assume the user will use\n // `pool.completed()`, `pool.settled()` or `task.catch()` to handle errors\n this.debug(`Task #${taskID} errored:`, error);\n });\n const task = {\n id: taskID,\n run: taskFunction,\n cancel: () => {\n if (this.taskQueue.indexOf(task) === -1)\n return;\n this.taskQueue = this.taskQueue.filter(someTask => someTask !== task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCanceled,\n taskID: task.id\n });\n },\n then: taskCompletion.then.bind(taskCompletion)\n };\n if (this.taskQueue.length >= maxQueuedJobs) {\n throw Error(\"Maximum number of pool tasks queued. Refusing to queue another one.\\n\" +\n \"This usually happens for one of two reasons: We are either at peak \" +\n \"workload right now or some tasks just won't finish, thus blocking the pool.\");\n }\n this.debug(`Queueing task #${task.id}...`);\n this.taskQueue.push(task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueued,\n taskID: task.id\n });\n this.scheduleWork();\n return task;\n }\n terminate(force) {\n return __awaiter(this, void 0, void 0, function* () {\n this.isClosing = true;\n if (!force) {\n yield this.completed(true);\n }\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated,\n remainingQueue: [...this.taskQueue]\n });\n this.eventSubject.complete();\n yield Promise.all(this.workers.map((worker) => __awaiter(this, void 0, void 0, function* () { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"].terminate(yield worker.init); })));\n });\n }\n}\nWorkerPool.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nfunction PoolConstructor(spawnWorker, optionsOrSize) {\n // The function exists only so we don't need to use `new` to create a pool (we still can, though).\n // If the Pool is a class or not is an implementation detail that should not concern the user.\n return new WorkerPool(spawnWorker, optionsOrSize);\n}\nPoolConstructor.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nconst Pool = PoolConstructor;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool.js?"); /***/ }), @@ -1210,7 +1420,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"spawn\", function() { return spawn; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/threads/node_modules/debug/src/browser.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../promise */ \"./node_modules/threads/dist-esm/promise.js\");\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../symbols */ \"./node_modules/threads/dist-esm/symbols.js\");\n/* harmony import */ var _types_master__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/master */ \"./node_modules/threads/dist-esm/types/master.js\");\n/* harmony import */ var _invocation_proxy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./invocation-proxy */ \"./node_modules/threads/dist-esm/master/invocation-proxy.js\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nconst debugSpawn = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:spawn\");\nconst debugThreadUtils = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:thread-utils\");\nconst isInitMessage = (data) => data && data.type === \"init\";\nconst isUncaughtErrorMessage = (data) => data && data.type === \"uncaughtError\";\nconst initMessageTimeout = typeof process !== \"undefined\" && process.env.THREADS_WORKER_INIT_TIMEOUT\n ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10)\n : 10000;\nfunction withTimeout(promise, timeoutInMs, errorMessage) {\n return __awaiter(this, void 0, void 0, function* () {\n let timeoutHandle;\n const timeout = new Promise((resolve, reject) => {\n timeoutHandle = setTimeout(() => reject(Error(errorMessage)), timeoutInMs);\n });\n const result = yield Promise.race([\n promise,\n timeout\n ]);\n clearTimeout(timeoutHandle);\n return result;\n });\n}\nfunction receiveInitMessage(worker) {\n return new Promise((resolve, reject) => {\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker before finishing initialization:\", event.data);\n if (isInitMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n resolve(event.data);\n }\n else if (isUncaughtErrorMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n reject(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error));\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n });\n}\nfunction createEventObservable(worker, workerTermination) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n const messageHandler = ((messageEvent) => {\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].message,\n data: messageEvent.data\n };\n observer.next(workerEvent);\n });\n const rejectionHandler = ((errorEvent) => {\n debugThreadUtils(\"Unhandled promise rejection event in thread:\", errorEvent);\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError,\n error: Error(errorEvent.reason)\n };\n observer.next(workerEvent);\n });\n worker.addEventListener(\"message\", messageHandler);\n worker.addEventListener(\"unhandledrejection\", rejectionHandler);\n workerTermination.then(() => {\n const terminationEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].termination\n };\n worker.removeEventListener(\"message\", messageHandler);\n worker.removeEventListener(\"unhandledrejection\", rejectionHandler);\n observer.next(terminationEvent);\n observer.complete();\n });\n });\n}\nfunction createTerminator(worker) {\n const [termination, resolver] = Object(_promise__WEBPACK_IMPORTED_MODULE_3__[\"createPromiseWithResolver\"])();\n const terminate = () => __awaiter(this, void 0, void 0, function* () {\n debugThreadUtils(\"Terminating worker\");\n // Newer versions of worker_threads workers return a promise\n yield worker.terminate();\n resolver();\n });\n return { terminate, termination };\n}\nfunction setPrivateThreadProps(raw, worker, workerEvents, terminate) {\n const workerErrors = workerEvents\n .filter(event => event.type === _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError)\n .map(errorEvent => errorEvent.error);\n // tslint:disable-next-line prefer-object-spread\n return Object.assign(raw, {\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$errors\"]]: workerErrors,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$events\"]]: workerEvents,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$terminate\"]]: terminate,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$worker\"]]: worker\n });\n}\n/**\n * Spawn a new thread. Takes a fresh worker instance, wraps it in a thin\n * abstraction layer to provide the transparent API and verifies that\n * the worker has initialized successfully.\n *\n * @param worker Instance of `Worker`. Either a web worker, `worker_threads` worker or `tiny-worker` worker.\n * @param [options]\n * @param [options.timeout] Init message timeout. Default: 10000 or set by environment variable.\n */\nfunction spawn(worker, options) {\n return __awaiter(this, void 0, void 0, function* () {\n debugSpawn(\"Initializing new thread\");\n const timeout = options && options.timeout ? options.timeout : initMessageTimeout;\n const initMessage = yield withTimeout(receiveInitMessage(worker), timeout, `Timeout: Did not receive an init message from worker after ${timeout}ms. Make sure the worker calls expose().`);\n const exposed = initMessage.exposed;\n const { termination, terminate } = createTerminator(worker);\n const events = createEventObservable(worker, termination);\n if (exposed.type === \"function\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyFunction\"])(worker);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else if (exposed.type === \"module\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyModule\"])(worker, exposed.methods);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else {\n const type = exposed.type;\n throw Error(`Worker init message states unexpected type of expose(): ${type}`);\n }\n });\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/spawn.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"spawn\", function() { return spawn; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/debug/src/browser.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../promise */ \"./node_modules/threads/dist-esm/promise.js\");\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../symbols */ \"./node_modules/threads/dist-esm/symbols.js\");\n/* harmony import */ var _types_master__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/master */ \"./node_modules/threads/dist-esm/types/master.js\");\n/* harmony import */ var _invocation_proxy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./invocation-proxy */ \"./node_modules/threads/dist-esm/master/invocation-proxy.js\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nconst debugSpawn = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:spawn\");\nconst debugThreadUtils = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:thread-utils\");\nconst isInitMessage = (data) => data && data.type === \"init\";\nconst isUncaughtErrorMessage = (data) => data && data.type === \"uncaughtError\";\nconst initMessageTimeout = typeof process !== \"undefined\" && process.env.THREADS_WORKER_INIT_TIMEOUT\n ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10)\n : 10000;\nfunction withTimeout(promise, timeoutInMs, errorMessage) {\n return __awaiter(this, void 0, void 0, function* () {\n let timeoutHandle;\n const timeout = new Promise((resolve, reject) => {\n timeoutHandle = setTimeout(() => reject(Error(errorMessage)), timeoutInMs);\n });\n const result = yield Promise.race([\n promise,\n timeout\n ]);\n clearTimeout(timeoutHandle);\n return result;\n });\n}\nfunction receiveInitMessage(worker) {\n return new Promise((resolve, reject) => {\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker before finishing initialization:\", event.data);\n if (isInitMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n resolve(event.data);\n }\n else if (isUncaughtErrorMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n reject(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error));\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n });\n}\nfunction createEventObservable(worker, workerTermination) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n const messageHandler = ((messageEvent) => {\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].message,\n data: messageEvent.data\n };\n observer.next(workerEvent);\n });\n const rejectionHandler = ((errorEvent) => {\n debugThreadUtils(\"Unhandled promise rejection event in thread:\", errorEvent);\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError,\n error: Error(errorEvent.reason)\n };\n observer.next(workerEvent);\n });\n worker.addEventListener(\"message\", messageHandler);\n worker.addEventListener(\"unhandledrejection\", rejectionHandler);\n workerTermination.then(() => {\n const terminationEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].termination\n };\n worker.removeEventListener(\"message\", messageHandler);\n worker.removeEventListener(\"unhandledrejection\", rejectionHandler);\n observer.next(terminationEvent);\n observer.complete();\n });\n });\n}\nfunction createTerminator(worker) {\n const [termination, resolver] = Object(_promise__WEBPACK_IMPORTED_MODULE_3__[\"createPromiseWithResolver\"])();\n const terminate = () => __awaiter(this, void 0, void 0, function* () {\n debugThreadUtils(\"Terminating worker\");\n // Newer versions of worker_threads workers return a promise\n yield worker.terminate();\n resolver();\n });\n return { terminate, termination };\n}\nfunction setPrivateThreadProps(raw, worker, workerEvents, terminate) {\n const workerErrors = workerEvents\n .filter(event => event.type === _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError)\n .map(errorEvent => errorEvent.error);\n // tslint:disable-next-line prefer-object-spread\n return Object.assign(raw, {\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$errors\"]]: workerErrors,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$events\"]]: workerEvents,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$terminate\"]]: terminate,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$worker\"]]: worker\n });\n}\n/**\n * Spawn a new thread. Takes a fresh worker instance, wraps it in a thin\n * abstraction layer to provide the transparent API and verifies that\n * the worker has initialized successfully.\n *\n * @param worker Instance of `Worker`. Either a web worker, `worker_threads` worker or `tiny-worker` worker.\n * @param [options]\n * @param [options.timeout] Init message timeout. Default: 10000 or set by environment variable.\n */\nfunction spawn(worker, options) {\n return __awaiter(this, void 0, void 0, function* () {\n debugSpawn(\"Initializing new thread\");\n const timeout = options && options.timeout ? options.timeout : initMessageTimeout;\n const initMessage = yield withTimeout(receiveInitMessage(worker), timeout, `Timeout: Did not receive an init message from worker after ${timeout}ms. Make sure the worker calls expose().`);\n const exposed = initMessage.exposed;\n const { termination, terminate } = createTerminator(worker);\n const events = createEventObservable(worker, termination);\n if (exposed.type === \"function\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyFunction\"])(worker);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else if (exposed.type === \"module\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyModule\"])(worker, exposed.methods);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else {\n const type = exposed.type;\n throw Error(`Worker init message states unexpected type of expose(): ${type}`);\n }\n });\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/spawn.js?"); /***/ }), @@ -1346,36 +1556,14 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(f /***/ }), -/***/ "./node_modules/threads/node_modules/debug/src/browser.js": -/*!****************************************************************!*\ - !*** ./node_modules/threads/node_modules/debug/src/browser.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(process) {/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = __webpack_require__(/*! ./common */ \"./node_modules/threads/node_modules/debug/src/common.js\")(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/browser.js?"); - -/***/ }), - -/***/ "./node_modules/threads/node_modules/debug/src/common.js": -/*!***************************************************************!*\ - !*** ./node_modules/threads/node_modules/debug/src/common.js ***! - \***************************************************************/ +/***/ "./node_modules/through2/through2.js": +/*!*******************************************!*\ + !*** ./node_modules/through2/through2.js ***! + \*******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = __webpack_require__(/*! ms */ \"./node_modules/threads/node_modules/ms/index.js\");\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/common.js?"); - -/***/ }), - -/***/ "./node_modules/threads/node_modules/ms/index.js": -/*!*******************************************************!*\ - !*** ./node_modules/threads/node_modules/ms/index.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/ms/index.js?"); +eval("/* WEBPACK VAR INJECTION */(function(process) {var Transform = __webpack_require__(/*! readable-stream */ \"./node_modules/readable-stream/readable-browser.js\").Transform\n , inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")\n\nfunction DestroyableTransform(opts) {\n Transform.call(this, opts)\n this._destroyed = false\n}\n\ninherits(DestroyableTransform, Transform)\n\nDestroyableTransform.prototype.destroy = function(err) {\n if (this._destroyed) return\n this._destroyed = true\n \n var self = this\n process.nextTick(function() {\n if (err)\n self.emit('error', err)\n self.emit('close')\n })\n}\n\n// a noop _transform function\nfunction noop (chunk, enc, callback) {\n callback(null, chunk)\n}\n\n\n// create a new export function, used by both the main export and\n// the .ctor export, contains common logic for dealing with arguments\nfunction through2 (construct) {\n return function (options, transform, flush) {\n if (typeof options == 'function') {\n flush = transform\n transform = options\n options = {}\n }\n\n if (typeof transform != 'function')\n transform = noop\n\n if (typeof flush != 'function')\n flush = null\n\n return construct(options, transform, flush)\n }\n}\n\n\n// main export, just make me a transform stream!\nmodule.exports = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(options)\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n\n// make me a reusable prototype that I can `new`, or implicitly `new`\n// with a constructor call\nmodule.exports.ctor = through2(function (options, transform, flush) {\n function Through2 (override) {\n if (!(this instanceof Through2))\n return new Through2(override)\n\n this.options = Object.assign({}, options, override)\n\n DestroyableTransform.call(this, this.options)\n }\n\n inherits(Through2, DestroyableTransform)\n\n Through2.prototype._transform = transform\n\n if (flush)\n Through2.prototype._flush = flush\n\n return Through2\n})\n\n\nmodule.exports.obj = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(Object.assign({ objectMode: true, highWaterMark: 16 }, options))\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/through2/through2.js?"); /***/ }), @@ -1390,17 +1578,6 @@ eval("var Buffer = __webpack_require__(/*! buffer */ \"./node_modules/node-libs- /***/ }), -/***/ "./node_modules/txml/node_modules/through2/through2.js": -/*!*************************************************************!*\ - !*** ./node_modules/txml/node_modules/through2/through2.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(process) {var Transform = __webpack_require__(/*! readable-stream */ \"./node_modules/readable-stream/readable-browser.js\").Transform\n , inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits_browser.js\")\n\nfunction DestroyableTransform(opts) {\n Transform.call(this, opts)\n this._destroyed = false\n}\n\ninherits(DestroyableTransform, Transform)\n\nDestroyableTransform.prototype.destroy = function(err) {\n if (this._destroyed) return\n this._destroyed = true\n \n var self = this\n process.nextTick(function() {\n if (err)\n self.emit('error', err)\n self.emit('close')\n })\n}\n\n// a noop _transform function\nfunction noop (chunk, enc, callback) {\n callback(null, chunk)\n}\n\n\n// create a new export function, used by both the main export and\n// the .ctor export, contains common logic for dealing with arguments\nfunction through2 (construct) {\n return function (options, transform, flush) {\n if (typeof options == 'function') {\n flush = transform\n transform = options\n options = {}\n }\n\n if (typeof transform != 'function')\n transform = noop\n\n if (typeof flush != 'function')\n flush = null\n\n return construct(options, transform, flush)\n }\n}\n\n\n// main export, just make me a transform stream!\nmodule.exports = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(options)\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n\n// make me a reusable prototype that I can `new`, or implicitly `new`\n// with a constructor call\nmodule.exports.ctor = through2(function (options, transform, flush) {\n function Through2 (override) {\n if (!(this instanceof Through2))\n return new Through2(override)\n\n this.options = Object.assign({}, options, override)\n\n DestroyableTransform.call(this, this.options)\n }\n\n inherits(Through2, DestroyableTransform)\n\n Through2.prototype._transform = transform\n\n if (flush)\n Through2.prototype._flush = flush\n\n return Through2\n})\n\n\nmodule.exports.obj = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(Object.assign({ objectMode: true, highWaterMark: 16 }, options))\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/node_modules/through2/through2.js?"); - -/***/ }), - /***/ "./node_modules/txml/tXml.js": /*!***********************************!*\ !*** ./node_modules/txml/tXml.js ***! @@ -1408,7 +1585,7 @@ eval("/* WEBPACK VAR INJECTION */(function(process) {var Transform = __webpack_r /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("// ==ClosureCompiler==\n// @output_file_name default.js\n// @compilation_level SIMPLE_OPTIMIZATIONS\n// ==/ClosureCompiler==\n\n/**\n * @author: Tobias Nickel\n * @created: 06.04.2015\n * I needed a small xmlparser chat can be used in a worker.\n */\n\n/**\n * @typedef tNode \n * @property {string} tagName \n * @property {object} [attributes] \n * @property {tNode|string|number[]} children \n **/\n\n/**\n * parseXML / html into a DOM Object. with no validation and some failur tolerance\n * @param {string} S your XML to parse\n * @param options {object} all other options:\n * searchId {string} the id of a single element, that should be returned. using this will increase the speed rapidly\n * filter {function} filter method, as you know it from Array.filter. but is goes throw the DOM.\n\n * @return {tNode[]}\n */\nfunction tXml(S, options) {\n \"use strict\";\n options = options || {};\n\n var pos = options.pos || 0;\n\n var openBracket = \"<\";\n var openBracketCC = \"<\".charCodeAt(0);\n var closeBracket = \">\";\n var closeBracketCC = \">\".charCodeAt(0);\n var minus = \"-\";\n var minusCC = \"-\".charCodeAt(0);\n var slash = \"/\";\n var slashCC = \"/\".charCodeAt(0);\n var exclamation = '!';\n var exclamationCC = '!'.charCodeAt(0);\n var singleQuote = \"'\";\n var singleQuoteCC = \"'\".charCodeAt(0);\n var doubleQuote = '\"';\n var doubleQuoteCC = '\"'.charCodeAt(0);\n\n /**\n * parsing a list of entries\n */\n function parseChildren() {\n var children = [];\n while (S[pos]) {\n if (S.charCodeAt(pos) == openBracketCC) {\n if (S.charCodeAt(pos + 1) === slashCC) {\n pos = S.indexOf(closeBracket, pos);\n if (pos + 1) pos += 1\n return children;\n } else if (S.charCodeAt(pos + 1) === exclamationCC) {\n if (S.charCodeAt(pos + 2) == minusCC) {\n //comment support\n while (pos !== -1 && !(S.charCodeAt(pos) === closeBracketCC && S.charCodeAt(pos - 1) == minusCC && S.charCodeAt(pos - 2) == minusCC && pos != -1)) {\n pos = S.indexOf(closeBracket, pos + 1);\n }\n if (pos === -1) {\n pos = S.length\n }\n } else {\n // doctypesupport\n pos += 2;\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n pos++;\n }\n }\n pos++;\n continue;\n }\n var node = parseNode();\n children.push(node);\n } else {\n var text = parseText()\n if (text.trim().length > 0)\n children.push(text);\n pos++;\n }\n }\n return children;\n }\n\n /**\n * returns the text outside of texts until the first '<'\n */\n function parseText() {\n var start = pos;\n pos = S.indexOf(openBracket, pos) - 1;\n if (pos === -2)\n pos = S.length;\n return S.slice(start, pos + 1);\n }\n /**\n * returns text until the first nonAlphebetic letter\n */\n var nameSpacer = '\\n\\t>/= ';\n\n function parseName() {\n var start = pos;\n while (nameSpacer.indexOf(S[pos]) === -1 && S[pos]) {\n pos++;\n }\n return S.slice(start, pos);\n }\n /**\n * is parsing a node, including tagName, Attributes and its children,\n * to parse children it uses the parseChildren again, that makes the parsing recursive\n */\n var NoChildNodes = options.noChildNodes || ['img', 'br', 'input', 'meta', 'link'];\n\n function parseNode() {\n pos++;\n const tagName = parseName();\n const attributes = {};\n let children = [];\n\n // parsing attributes\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n var c = S.charCodeAt(pos);\n if ((c > 64 && c < 91) || (c > 96 && c < 123)) {\n //if('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.indexOf(S[pos])!==-1 ){\n var name = parseName();\n // search beginning of the string\n var code = S.charCodeAt(pos);\n while (code && code !== singleQuoteCC && code !== doubleQuoteCC && !((code > 64 && code < 91) || (code > 96 && code < 123)) && code !== closeBracketCC) {\n pos++;\n code = S.charCodeAt(pos);\n }\n if (code === singleQuoteCC || code === doubleQuoteCC) {\n var value = parseString();\n if (pos === -1) {\n return {\n tagName,\n attributes,\n children,\n };\n }\n } else {\n value = null;\n pos--;\n }\n attributes[name] = value;\n }\n pos++;\n }\n // optional parsing of children\n if (S.charCodeAt(pos - 1) !== slashCC) {\n if (tagName == \"script\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 9;\n } else if (tagName == \"style\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 8;\n } else if (NoChildNodes.indexOf(tagName) == -1) {\n pos++;\n children = parseChildren(name);\n }\n } else {\n pos++;\n }\n return {\n tagName,\n attributes,\n children,\n };\n }\n\n /**\n * is parsing a string, that starts with a char and with the same usually ' or \"\n */\n\n function parseString() {\n var startChar = S[pos];\n var startpos = ++pos;\n pos = S.indexOf(startChar, startpos)\n return S.slice(startpos, pos);\n }\n\n /**\n *\n */\n function findElements() {\n var r = new RegExp('\\\\s' + options.attrName + '\\\\s*=[\\'\"]' + options.attrValue + '[\\'\"]').exec(S)\n if (r) {\n return r.index;\n } else {\n return -1;\n }\n }\n\n var out = null;\n if (options.attrValue !== undefined) {\n options.attrName = options.attrName || 'id';\n var out = [];\n\n while ((pos = findElements()) !== -1) {\n pos = S.lastIndexOf('<', pos);\n if (pos !== -1) {\n out.push(parseNode());\n }\n S = S.substr(pos);\n pos = 0;\n }\n } else if (options.parseNode) {\n out = parseNode()\n } else {\n out = parseChildren();\n }\n\n if (options.filter) {\n out = tXml.filter(out, options.filter);\n }\n\n if (options.setPos) {\n out.pos = pos;\n }\n\n return out;\n}\n\n/**\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\n * therefore your programm will be more flexible and easyer to read.\n *\n * @param {tNode[]} children the childrenList\n */\ntXml.simplify = function simplify(children) {\n var out = {};\n if (!children.length) {\n return '';\n }\n\n if (children.length === 1 && typeof children[0] == 'string') {\n return children[0];\n }\n // map each object\n children.forEach(function(child) {\n if (typeof child !== 'object') {\n return;\n }\n if (!out[child.tagName])\n out[child.tagName] = [];\n var kids = tXml.simplify(child.children||[]);\n out[child.tagName].push(kids);\n if (child.attributes) {\n kids._attributes = child.attributes;\n }\n });\n\n for (var i in out) {\n if (out[i].length == 1) {\n out[i] = out[i][0];\n }\n }\n\n return out;\n};\n\n/**\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\n * @params children{Array} the children of a node\n * @param f{function} the filter method\n */\ntXml.filter = function(children, f) {\n var out = [];\n children.forEach(function(child) {\n if (typeof(child) === 'object' && f(child)) out.push(child);\n if (child.children) {\n var kids = tXml.filter(child.children, f);\n out = out.concat(kids);\n }\n });\n return out;\n};\n\n/**\n * stringify a previously parsed string object.\n * this is useful,\n * 1. to remove whitespaces\n * 2. to recreate xml data, with some changed data.\n * @param {tNode} O the object to Stringify\n */\ntXml.stringify = function TOMObjToXML(O) {\n var out = '';\n\n function writeChildren(O) {\n if (O)\n for (var i = 0; i < O.length; i++) {\n if (typeof O[i] == 'string') {\n out += O[i].trim();\n } else {\n writeNode(O[i]);\n }\n }\n }\n\n function writeNode(N) {\n out += \"<\" + N.tagName;\n for (var i in N.attributes) {\n if (N.attributes[i] === null) {\n out += ' ' + i;\n } else if (N.attributes[i].indexOf('\"') === -1) {\n out += ' ' + i + '=\"' + N.attributes[i].trim() + '\"';\n } else {\n out += ' ' + i + \"='\" + N.attributes[i].trim() + \"'\";\n }\n }\n out += '>';\n writeChildren(N.children);\n out += '';\n }\n writeChildren(O);\n\n return out;\n};\n\n\n/**\n * use this method to read the textcontent, of some node.\n * It is great if you have mixed content like:\n * this text has some big text and a link\n * @return {string}\n */\ntXml.toContentString = function(tDom) {\n if (Array.isArray(tDom)) {\n var out = '';\n tDom.forEach(function(e) {\n out += ' ' + tXml.toContentString(e);\n out = out.trim();\n });\n return out;\n } else if (typeof tDom === 'object') {\n return tXml.toContentString(tDom.children)\n } else {\n return ' ' + tDom;\n }\n};\n\ntXml.getElementById = function(S, id, simplified) {\n var out = tXml(S, {\n attrValue: id\n });\n return simplified ? tXml.simplify(out) : out[0];\n};\n/**\n * A fast parsing method, that not realy finds by classname,\n * more: the class attribute contains XXX\n * @param\n */\ntXml.getElementsByClassName = function(S, classname, simplified) {\n const out = tXml(S, {\n attrName: 'class',\n attrValue: '[a-zA-Z0-9\\-\\s ]*' + classname + '[a-zA-Z0-9\\-\\s ]*'\n });\n return simplified ? tXml.simplify(out) : out;\n};\n\ntXml.parseStream = function(stream, offset) {\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n if (typeof stream === 'string') {\n var fs = __webpack_require__(/*! fs */ \"./node_modules/node-libs-browser/mock/empty.js\");\n stream = fs.createReadStream(stream, { start: offset });\n offset = 0;\n }\n\n var position = offset;\n var data = '';\n stream.on('data', function(chunk) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if(!position) {\n position = lastPos;\n return;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return;\n } else {\n stream.emit('xml', res);\n lastPos = position;\n }\n } while (1);\n });\n stream.on('end', function() {\n console.log('end')\n });\n return stream;\n}\n\ntXml.transformStream = function (offset) {\n // require through here, so it will not get added to webpack/browserify\n const through2 = __webpack_require__(/*! through2 */ \"./node_modules/txml/node_modules/through2/through2.js\");\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n\n var position = offset || 0;\n var data = '';\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if (!position) {\n position = lastPos;\n return callback();;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return callback();;\n } else {\n this.push(res);\n lastPos = position;\n }\n } while (1);\n callback();\n });\n\n return stream;\n}\n\nif (true) {\n module.exports = tXml;\n tXml.xml = tXml;\n}\n//console.clear();\n//console.log('here:',tXml.getElementById('dadavalue','test'));\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\n\n/*\nconsole.clear();\ntXml(d,'content');\n //some testCode\nvar s = document.body.innerHTML.toLowerCase();\nvar start = new Date().getTime();\nvar o = tXml(s,'content');\nvar end = new Date().getTime();\n//console.log(JSON.stringify(o,undefined,'\\t'));\nconsole.log(\"MILLISECONDS\",end-start);\nvar nodeCount=document.querySelectorAll('*').length;\nconsole.log('node count',nodeCount);\nconsole.log(\"speed:\",(1000/(end-start))*nodeCount,'Nodes / second')\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\t'));\nvar p = new DOMParser();\nvar s2=''+s+''\nvar start2= new Date().getTime();\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\nvar end2=new Date().getTime();\nconsole.log(\"MILLISECONDS\",end2-start2);\n// */\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?"); +eval("// ==ClosureCompiler==\n// @output_file_name default.js\n// @compilation_level SIMPLE_OPTIMIZATIONS\n// ==/ClosureCompiler==\n\n/**\n * @author: Tobias Nickel\n * @created: 06.04.2015\n * I needed a small xmlparser chat can be used in a worker.\n */\n\n/**\n * @typedef tNode \n * @property {string} tagName \n * @property {object} [attributes] \n * @property {tNode|string|number[]} children \n **/\n\n/**\n * parseXML / html into a DOM Object. with no validation and some failur tolerance\n * @param {string} S your XML to parse\n * @param options {object} all other options:\n * searchId {string} the id of a single element, that should be returned. using this will increase the speed rapidly\n * filter {function} filter method, as you know it from Array.filter. but is goes throw the DOM.\n\n * @return {tNode[]}\n */\nfunction tXml(S, options) {\n \"use strict\";\n options = options || {};\n\n var pos = options.pos || 0;\n\n var openBracket = \"<\";\n var openBracketCC = \"<\".charCodeAt(0);\n var closeBracket = \">\";\n var closeBracketCC = \">\".charCodeAt(0);\n var minus = \"-\";\n var minusCC = \"-\".charCodeAt(0);\n var slash = \"/\";\n var slashCC = \"/\".charCodeAt(0);\n var exclamation = '!';\n var exclamationCC = '!'.charCodeAt(0);\n var singleQuote = \"'\";\n var singleQuoteCC = \"'\".charCodeAt(0);\n var doubleQuote = '\"';\n var doubleQuoteCC = '\"'.charCodeAt(0);\n\n /**\n * parsing a list of entries\n */\n function parseChildren() {\n var children = [];\n while (S[pos]) {\n if (S.charCodeAt(pos) == openBracketCC) {\n if (S.charCodeAt(pos + 1) === slashCC) {\n pos = S.indexOf(closeBracket, pos);\n if (pos + 1) pos += 1\n return children;\n } else if (S.charCodeAt(pos + 1) === exclamationCC) {\n if (S.charCodeAt(pos + 2) == minusCC) {\n //comment support\n while (pos !== -1 && !(S.charCodeAt(pos) === closeBracketCC && S.charCodeAt(pos - 1) == minusCC && S.charCodeAt(pos - 2) == minusCC && pos != -1)) {\n pos = S.indexOf(closeBracket, pos + 1);\n }\n if (pos === -1) {\n pos = S.length\n }\n } else {\n // doctypesupport\n pos += 2;\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n pos++;\n }\n }\n pos++;\n continue;\n }\n var node = parseNode();\n children.push(node);\n } else {\n var text = parseText()\n if (text.trim().length > 0)\n children.push(text);\n pos++;\n }\n }\n return children;\n }\n\n /**\n * returns the text outside of texts until the first '<'\n */\n function parseText() {\n var start = pos;\n pos = S.indexOf(openBracket, pos) - 1;\n if (pos === -2)\n pos = S.length;\n return S.slice(start, pos + 1);\n }\n /**\n * returns text until the first nonAlphebetic letter\n */\n var nameSpacer = '\\n\\t>/= ';\n\n function parseName() {\n var start = pos;\n while (nameSpacer.indexOf(S[pos]) === -1 && S[pos]) {\n pos++;\n }\n return S.slice(start, pos);\n }\n /**\n * is parsing a node, including tagName, Attributes and its children,\n * to parse children it uses the parseChildren again, that makes the parsing recursive\n */\n var NoChildNodes = options.noChildNodes || ['img', 'br', 'input', 'meta', 'link'];\n\n function parseNode() {\n pos++;\n const tagName = parseName();\n const attributes = {};\n let children = [];\n\n // parsing attributes\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n var c = S.charCodeAt(pos);\n if ((c > 64 && c < 91) || (c > 96 && c < 123)) {\n //if('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.indexOf(S[pos])!==-1 ){\n var name = parseName();\n // search beginning of the string\n var code = S.charCodeAt(pos);\n while (code && code !== singleQuoteCC && code !== doubleQuoteCC && !((code > 64 && code < 91) || (code > 96 && code < 123)) && code !== closeBracketCC) {\n pos++;\n code = S.charCodeAt(pos);\n }\n if (code === singleQuoteCC || code === doubleQuoteCC) {\n var value = parseString();\n if (pos === -1) {\n return {\n tagName,\n attributes,\n children,\n };\n }\n } else {\n value = null;\n pos--;\n }\n attributes[name] = value;\n }\n pos++;\n }\n // optional parsing of children\n if (S.charCodeAt(pos - 1) !== slashCC) {\n if (tagName == \"script\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 9;\n } else if (tagName == \"style\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 8;\n } else if (NoChildNodes.indexOf(tagName) == -1) {\n pos++;\n children = parseChildren(name);\n }\n } else {\n pos++;\n }\n return {\n tagName,\n attributes,\n children,\n };\n }\n\n /**\n * is parsing a string, that starts with a char and with the same usually ' or \"\n */\n\n function parseString() {\n var startChar = S[pos];\n var startpos = ++pos;\n pos = S.indexOf(startChar, startpos)\n return S.slice(startpos, pos);\n }\n\n /**\n *\n */\n function findElements() {\n var r = new RegExp('\\\\s' + options.attrName + '\\\\s*=[\\'\"]' + options.attrValue + '[\\'\"]').exec(S)\n if (r) {\n return r.index;\n } else {\n return -1;\n }\n }\n\n var out = null;\n if (options.attrValue !== undefined) {\n options.attrName = options.attrName || 'id';\n var out = [];\n\n while ((pos = findElements()) !== -1) {\n pos = S.lastIndexOf('<', pos);\n if (pos !== -1) {\n out.push(parseNode());\n }\n S = S.substr(pos);\n pos = 0;\n }\n } else if (options.parseNode) {\n out = parseNode()\n } else {\n out = parseChildren();\n }\n\n if (options.filter) {\n out = tXml.filter(out, options.filter);\n }\n\n if (options.setPos) {\n out.pos = pos;\n }\n\n return out;\n}\n\n/**\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\n * therefore your programm will be more flexible and easyer to read.\n *\n * @param {tNode[]} children the childrenList\n */\ntXml.simplify = function simplify(children) {\n var out = {};\n if (!children.length) {\n return '';\n }\n\n if (children.length === 1 && typeof children[0] == 'string') {\n return children[0];\n }\n // map each object\n children.forEach(function(child) {\n if (typeof child !== 'object') {\n return;\n }\n if (!out[child.tagName])\n out[child.tagName] = [];\n var kids = tXml.simplify(child.children||[]);\n out[child.tagName].push(kids);\n if (child.attributes) {\n kids._attributes = child.attributes;\n }\n });\n\n for (var i in out) {\n if (out[i].length == 1) {\n out[i] = out[i][0];\n }\n }\n\n return out;\n};\n\n/**\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\n * @params children{Array} the children of a node\n * @param f{function} the filter method\n */\ntXml.filter = function(children, f) {\n var out = [];\n children.forEach(function(child) {\n if (typeof(child) === 'object' && f(child)) out.push(child);\n if (child.children) {\n var kids = tXml.filter(child.children, f);\n out = out.concat(kids);\n }\n });\n return out;\n};\n\n/**\n * stringify a previously parsed string object.\n * this is useful,\n * 1. to remove whitespaces\n * 2. to recreate xml data, with some changed data.\n * @param {tNode} O the object to Stringify\n */\ntXml.stringify = function TOMObjToXML(O) {\n var out = '';\n\n function writeChildren(O) {\n if (O)\n for (var i = 0; i < O.length; i++) {\n if (typeof O[i] == 'string') {\n out += O[i].trim();\n } else {\n writeNode(O[i]);\n }\n }\n }\n\n function writeNode(N) {\n out += \"<\" + N.tagName;\n for (var i in N.attributes) {\n if (N.attributes[i] === null) {\n out += ' ' + i;\n } else if (N.attributes[i].indexOf('\"') === -1) {\n out += ' ' + i + '=\"' + N.attributes[i].trim() + '\"';\n } else {\n out += ' ' + i + \"='\" + N.attributes[i].trim() + \"'\";\n }\n }\n out += '>';\n writeChildren(N.children);\n out += '';\n }\n writeChildren(O);\n\n return out;\n};\n\n\n/**\n * use this method to read the textcontent, of some node.\n * It is great if you have mixed content like:\n * this text has some big text and a link\n * @return {string}\n */\ntXml.toContentString = function(tDom) {\n if (Array.isArray(tDom)) {\n var out = '';\n tDom.forEach(function(e) {\n out += ' ' + tXml.toContentString(e);\n out = out.trim();\n });\n return out;\n } else if (typeof tDom === 'object') {\n return tXml.toContentString(tDom.children)\n } else {\n return ' ' + tDom;\n }\n};\n\ntXml.getElementById = function(S, id, simplified) {\n var out = tXml(S, {\n attrValue: id\n });\n return simplified ? tXml.simplify(out) : out[0];\n};\n/**\n * A fast parsing method, that not realy finds by classname,\n * more: the class attribute contains XXX\n * @param\n */\ntXml.getElementsByClassName = function(S, classname, simplified) {\n const out = tXml(S, {\n attrName: 'class',\n attrValue: '[a-zA-Z0-9\\-\\s ]*' + classname + '[a-zA-Z0-9\\-\\s ]*'\n });\n return simplified ? tXml.simplify(out) : out;\n};\n\ntXml.parseStream = function(stream, offset) {\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n if (typeof stream === 'string') {\n var fs = __webpack_require__(/*! fs */ \"./node_modules/node-libs-browser/mock/empty.js\");\n stream = fs.createReadStream(stream, { start: offset });\n offset = 0;\n }\n\n var position = offset;\n var data = '';\n stream.on('data', function(chunk) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if(!position) {\n position = lastPos;\n return;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return;\n } else {\n stream.emit('xml', res);\n lastPos = position;\n }\n } while (1);\n });\n stream.on('end', function() {\n console.log('end')\n });\n return stream;\n}\n\ntXml.transformStream = function (offset) {\n // require through here, so it will not get added to webpack/browserify\n const through2 = __webpack_require__(/*! through2 */ \"./node_modules/through2/through2.js\");\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n\n var position = offset || 0;\n var data = '';\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if (!position) {\n position = lastPos;\n return callback();;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return callback();;\n } else {\n this.push(res);\n lastPos = position;\n }\n } while (1);\n callback();\n });\n\n return stream;\n}\n\nif (true) {\n module.exports = tXml;\n tXml.xml = tXml;\n}\n//console.clear();\n//console.log('here:',tXml.getElementById('dadavalue','test'));\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\n\n/*\nconsole.clear();\ntXml(d,'content');\n //some testCode\nvar s = document.body.innerHTML.toLowerCase();\nvar start = new Date().getTime();\nvar o = tXml(s,'content');\nvar end = new Date().getTime();\n//console.log(JSON.stringify(o,undefined,'\\t'));\nconsole.log(\"MILLISECONDS\",end-start);\nvar nodeCount=document.querySelectorAll('*').length;\nconsole.log('node count',nodeCount);\nconsole.log(\"speed:\",(1000/(end-start))*nodeCount,'Nodes / second')\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\t'));\nvar p = new DOMParser();\nvar s2=''+s+''\nvar start2= new Date().getTime();\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\nvar end2=new Date().getTime();\nconsole.log(\"MILLISECONDS\",end2-start2);\n// */\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?"); /***/ }), @@ -1420,7 +1597,7 @@ eval("// ==ClosureCompiler==\n// @output_file_name default.js\n// @compilation_l /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar punycode = __webpack_require__(/*! punycode */ \"./node_modules/punycode/punycode.js\");\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/url/util.js\");\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\");\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && util.isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!util.isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n // Copy chrome, IE, opera backslash-handling behavior.\n // Back slashes before the query string get converted to forward slashes\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\n var queryIndex = url.indexOf('?'),\n splitter =\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\n uSplit = url.split(splitter),\n slashRegex = /\\\\/g;\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\n url = uSplit.join(splitter);\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.path = rest;\n this.href = rest;\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n if (parseQueryString) {\n this.query = querystring.parse(this.search.substr(1));\n } else {\n this.query = this.search.substr(1);\n }\n } else if (parseQueryString) {\n this.search = '';\n this.query = {};\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a punycoded representation of \"domain\".\n // It only converts parts of the domain name that\n // have non-ASCII characters, i.e. it doesn't matter if\n // you call it with a domain that already is ASCII-only.\n this.hostname = punycode.toASCII(this.hostname);\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n if (rest.indexOf(ae) === -1)\n continue;\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (util.isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n util.isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (util.isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n var tkeys = Object.keys(this);\n for (var tk = 0; tk < tkeys.length; tk++) {\n var tkey = tkeys[tk];\n result[tkey] = this[tkey];\n }\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n var rkeys = Object.keys(relative);\n for (var rk = 0; rk < rkeys.length; rk++) {\n var rkey = rkeys[rk];\n if (rkey !== 'protocol')\n result[rkey] = relative[rkey];\n }\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n var keys = Object.keys(relative);\n for (var v = 0; v < keys.length; v++) {\n var k = keys[v];\n result[k] = relative[k];\n }\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!util.isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host || srcPath.length > 1) &&\n (last === '.' || last === '..') || last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last === '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/url/url.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar punycode = __webpack_require__(/*! punycode */ \"./node_modules/node-libs-browser/node_modules/punycode/punycode.js\");\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/url/util.js\");\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\");\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && util.isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!util.isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n // Copy chrome, IE, opera backslash-handling behavior.\n // Back slashes before the query string get converted to forward slashes\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\n var queryIndex = url.indexOf('?'),\n splitter =\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\n uSplit = url.split(splitter),\n slashRegex = /\\\\/g;\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\n url = uSplit.join(splitter);\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.path = rest;\n this.href = rest;\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n if (parseQueryString) {\n this.query = querystring.parse(this.search.substr(1));\n } else {\n this.query = this.search.substr(1);\n }\n } else if (parseQueryString) {\n this.search = '';\n this.query = {};\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a punycoded representation of \"domain\".\n // It only converts parts of the domain name that\n // have non-ASCII characters, i.e. it doesn't matter if\n // you call it with a domain that already is ASCII-only.\n this.hostname = punycode.toASCII(this.hostname);\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n if (rest.indexOf(ae) === -1)\n continue;\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (util.isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n util.isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (util.isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n var tkeys = Object.keys(this);\n for (var tk = 0; tk < tkeys.length; tk++) {\n var tkey = tkeys[tk];\n result[tkey] = this[tkey];\n }\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n var rkeys = Object.keys(relative);\n for (var rk = 0; rk < rkeys.length; rk++) {\n var rkey = rkeys[rk];\n if (rkey !== 'protocol')\n result[rkey] = relative[rkey];\n }\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n var keys = Object.keys(relative);\n for (var v = 0; v < keys.length; v++) {\n var k = keys[v];\n result[k] = relative[k];\n }\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!util.isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host || srcPath.length > 1) &&\n (last === '.' || last === '..') || last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last === '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/url/url.js?"); /***/ }), @@ -1500,7 +1677,7 @@ eval("module.exports = extend\n\nvar hasOwnProperty = Object.prototype.hasOwnPro /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\n/* global Blob */\n/* global URL */\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _crossFetch = __webpack_require__(/*! cross-fetch */ \"./node_modules/cross-fetch/dist/browser-ponyfill.js\");\n\nvar _crossFetch2 = _interopRequireDefault(_crossFetch);\n\nvar _worker = __webpack_require__(/*! ./worker.js */ \"./src/worker.js\");\n\nvar _worker2 = _interopRequireDefault(_worker);\n\nvar _parseData = __webpack_require__(/*! ./parseData.js */ \"./src/parseData.js\");\n\nvar _parseData2 = _interopRequireDefault(_parseData);\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _georasterToCanvas = __webpack_require__(/*! georaster-to-canvas */ \"./node_modules/georaster-to-canvas/index.js\");\n\nvar _georasterToCanvas2 = _interopRequireDefault(_georasterToCanvas);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction urlExists(url) {\n try {\n return (0, _crossFetch2.default)(url, { method: 'HEAD' }).then(function (response) {\n return response.status === 200;\n }).catch(function (error) {\n return false;\n });\n } catch (error) {\n return Promise.resolve(false);\n }\n}\n\nfunction getValues(geotiff, options) {\n var left = options.left,\n top = options.top,\n right = options.right,\n bottom = options.bottom,\n width = options.width,\n height = options.height,\n resampleMethod = options.resampleMethod;\n // note this.image and this.geotiff both have a readRasters method;\n // they are not the same thing. use this.geotiff for experimental version\n // that reads from best overview\n\n return geotiff.readRasters({\n window: [left, top, right, bottom],\n width: width,\n height: height,\n resampleMethod: resampleMethod || 'bilinear'\n }).then(function (rasters) {\n /*\n The result appears to be an array with a width and height property set.\n We only need the values, assuming the user remembers the width and height.\n Ex: [[0,27723,...11025,12924], width: 10, height: 10]\n */\n return rasters.map(function (raster) {\n return (0, _utils.unflatten)(raster, { height: height, width: width });\n });\n });\n};\n\nvar GeoRaster = function () {\n function GeoRaster(data, metadata, debug) {\n _classCallCheck(this, GeoRaster);\n\n if (debug) console.log('starting GeoRaster.constructor with', data, metadata);\n\n this._web_worker_is_available = typeof window !== 'undefined' && window.Worker !== 'undefined';\n this._blob_is_available = typeof Blob !== 'undefined';\n this._url_is_available = typeof URL !== 'undefined';\n\n // check if should convert to buffer\n if ((typeof data === 'undefined' ? 'undefined' : _typeof(data)) === 'object' && data.constructor && data.constructor.name === 'Buffer' && Buffer.isBuffer(data) === false) {\n data = new Buffer(data);\n }\n\n if (typeof data === 'string') {\n if (debug) console.log('data is a url');\n this._data = data;\n this._url = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'url';\n } else if (typeof Buffer !== 'undefined' && Buffer.isBuffer(data)) {\n // this is node\n if (debug) console.log('data is a buffer');\n this._data = data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength);\n this.rasterType = 'geotiff';\n this.sourceType = 'Buffer';\n } else if (data instanceof ArrayBuffer) {\n // this is browser\n this._data = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'ArrayBuffer';\n } else if (Array.isArray(data) && metadata) {\n this._data = data;\n this.rasterType = 'object';\n this._metadata = metadata;\n }\n\n if (debug) console.log('this after construction:', this);\n }\n\n _createClass(GeoRaster, [{\n key: 'preinitialize',\n value: function preinitialize(debug) {\n var _this = this;\n\n if (debug) console.log('starting preinitialize');\n if (this._url) {\n // initialize these outside worker to avoid weird worker error\n // I don't see how cache option is passed through with fromUrl,\n // though constantinius says it should work: https://github.com/geotiffjs/geotiff.js/issues/61\n var ovrURL = this._url + '.ovr';\n return urlExists(ovrURL).then(function (ovrExists) {\n if (debug) console.log('overview exists:', ovrExists);\n if (ovrExists) {\n return (0, _geotiff.fromUrls)(_this._url, [ovrURL], { cache: true, forceXHR: false });\n } else {\n return (0, _geotiff.fromUrl)(_this._url, { cache: true, forceXHR: false });\n }\n });\n } else {\n // no pre-initialization steps required if not using a Cloud Optimized GeoTIFF\n return Promise.resolve();\n }\n }\n }, {\n key: 'initialize',\n value: function initialize(debug) {\n var _this2 = this;\n\n return this.preinitialize(debug).then(function (geotiff) {\n return new Promise(function (resolve, reject) {\n if (debug) console.log('starting GeoRaster.initialize');\n if (debug) console.log('this', _this2);\n\n if (_this2.rasterType === 'object' || _this2.rasterType === 'geotiff' || _this2.rasterType === 'tiff') {\n if (_this2._web_worker_is_available) {\n var worker = new _worker2.default();\n worker.onmessage = function (e) {\n if (debug) console.log('main thread received message:', e);\n var data = e.data;\n for (var key in data) {\n _this2[key] = data[key];\n }\n if (_this2._url) {\n _this2._geotiff = geotiff;\n _this2.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n _this2.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(_this2);\n };\n if (debug) console.log('about to postMessage');\n if (_this2._data instanceof ArrayBuffer) {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, [_this2._data]);\n } else {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n });\n }\n } else {\n if (debug) console.log('web worker is not available');\n (0, _parseData2.default)({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, debug).then(function (result) {\n if (debug) console.log('result:', result);\n if (_this2._url) {\n result._geotiff = geotiff;\n result.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n result.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(result);\n }).catch(reject);\n }\n } else {\n reject('couldn\\'t find a way to parse');\n }\n });\n });\n }\n }]);\n\n return GeoRaster;\n}();\n\nvar parseGeoraster = function parseGeoraster(input, metadata, debug) {\n if (debug) console.log('starting parseGeoraster with ', input, metadata);\n\n if (input === undefined) {\n var errorMessage = '[Georaster.parseGeoraster] Error. You passed in undefined to parseGeoraster. We can\\'t make a raster out of nothing!';\n throw Error(errorMessage);\n }\n\n return new GeoRaster(input, metadata, debug).initialize(debug);\n};\n\nif ( true && typeof module.exports !== 'undefined') {\n module.exports = parseGeoraster;\n}\n\n/*\n The following code allows you to use GeoRaster without requiring\n*/\nif (typeof window !== 'undefined') {\n window['parseGeoraster'] = parseGeoraster;\n} else if (typeof self !== 'undefined') {\n self['parseGeoraster'] = parseGeoraster; // jshint ignore:line\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node_modules/node-libs-browser/node_modules/buffer/index.js */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack://GeoRaster/./src/index.js?"); +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\n/* global Blob */\n/* global URL */\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _crossFetch = __webpack_require__(/*! cross-fetch */ \"./node_modules/cross-fetch/dist/browser-ponyfill.js\");\n\nvar _crossFetch2 = _interopRequireDefault(_crossFetch);\n\nvar _worker = __webpack_require__(/*! ./worker.js */ \"./src/worker.js\");\n\nvar _worker2 = _interopRequireDefault(_worker);\n\nvar _parseData = __webpack_require__(/*! ./parseData.js */ \"./src/parseData.js\");\n\nvar _parseData2 = _interopRequireDefault(_parseData);\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _georasterToCanvas = __webpack_require__(/*! georaster-to-canvas */ \"./node_modules/georaster-to-canvas/index.js\");\n\nvar _georasterToCanvas2 = _interopRequireDefault(_georasterToCanvas);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction urlExists(url) {\n try {\n return (0, _crossFetch2.default)(url, { method: 'HEAD' }).then(function (response) {\n return response.status === 200;\n }).catch(function (error) {\n return false;\n });\n } catch (error) {\n return Promise.resolve(false);\n }\n}\n\nfunction getValues(geotiff, options) {\n var left = options.left,\n top = options.top,\n right = options.right,\n bottom = options.bottom,\n width = options.width,\n height = options.height,\n resampleMethod = options.resampleMethod;\n // note this.image and this.geotiff both have a readRasters method;\n // they are not the same thing. use this.geotiff for experimental version\n // that reads from best overview\n\n return geotiff.readRasters({\n window: [left, top, right, bottom],\n width: width,\n height: height,\n resampleMethod: resampleMethod || 'bilinear'\n }).then(function (rasters) {\n /*\n The result appears to be an array with a width and height property set.\n We only need the values, assuming the user remembers the width and height.\n Ex: [[0,27723,...11025,12924], width: 10, height: 10]\n */\n return rasters.map(function (raster) {\n return (0, _utils.unflatten)(raster, { height: height, width: width });\n });\n });\n};\n\nvar GeoRaster = function () {\n function GeoRaster(data, metadata, debug) {\n _classCallCheck(this, GeoRaster);\n\n if (debug) console.log('starting GeoRaster.constructor with', data, metadata);\n\n this._web_worker_is_available = typeof window !== 'undefined' && window.Worker !== 'undefined';\n this._blob_is_available = typeof Blob !== 'undefined';\n this._url_is_available = typeof URL !== 'undefined';\n\n // check if should convert to buffer\n if ((typeof data === 'undefined' ? 'undefined' : _typeof(data)) === 'object' && data.constructor && data.constructor.name === 'Buffer' && Buffer.isBuffer(data) === false) {\n data = new Buffer(data);\n }\n\n if (typeof data === 'string') {\n if (debug) console.log('data is a url');\n this._data = data;\n this._url = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'url';\n } else if (typeof Blob !== 'undefined' && data instanceof Blob) {\n this._data = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'Blob';\n } else if (typeof Buffer !== 'undefined' && Buffer.isBuffer(data)) {\n // this is node\n if (debug) console.log('data is a buffer');\n this._data = data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength);\n this.rasterType = 'geotiff';\n this.sourceType = 'Buffer';\n } else if (data instanceof ArrayBuffer) {\n // this is browser\n this._data = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'ArrayBuffer';\n this._metadata = metadata;\n } else if (Array.isArray(data) && metadata) {\n this._data = data;\n this.rasterType = 'object';\n this._metadata = metadata;\n }\n\n if (debug) console.log('this after construction:', this);\n }\n\n _createClass(GeoRaster, [{\n key: 'preinitialize',\n value: function preinitialize(debug) {\n var _this = this;\n\n if (debug) console.log('starting preinitialize');\n if (this._url) {\n // initialize these outside worker to avoid weird worker error\n // I don't see how cache option is passed through with fromUrl,\n // though constantinius says it should work: https://github.com/geotiffjs/geotiff.js/issues/61\n var ovrURL = this._url + '.ovr';\n return urlExists(ovrURL).then(function (ovrExists) {\n if (debug) console.log('overview exists:', ovrExists);\n if (ovrExists) {\n return (0, _geotiff.fromUrls)(_this._url, [ovrURL], { cache: true, forceXHR: false });\n } else {\n return (0, _geotiff.fromUrl)(_this._url, { cache: true, forceXHR: false });\n }\n });\n } else {\n // no pre-initialization steps required if not using a Cloud Optimized GeoTIFF\n return Promise.resolve();\n }\n }\n }, {\n key: 'initialize',\n value: function initialize(debug) {\n var _this2 = this;\n\n return this.preinitialize(debug).then(function (geotiff) {\n return new Promise(function (resolve, reject) {\n if (debug) console.log('starting GeoRaster.initialize');\n if (debug) console.log('this', _this2);\n\n if (_this2.rasterType === 'object' || _this2.rasterType === 'geotiff' || _this2.rasterType === 'tiff') {\n if (_this2._web_worker_is_available) {\n var worker = new _worker2.default();\n worker.onmessage = function (e) {\n if (debug) console.log('main thread received message:', e);\n var data = e.data;\n for (var key in data) {\n _this2[key] = data[key];\n }\n if (_this2._url) {\n _this2._geotiff = geotiff;\n _this2.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n _this2.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(_this2);\n };\n if (debug) console.log('about to postMessage');\n if (_this2._data instanceof ArrayBuffer) {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, [_this2._data]);\n } else {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n });\n }\n } else {\n if (debug) console.log('web worker is not available');\n (0, _parseData2.default)({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, debug).then(function (result) {\n if (debug) console.log('result:', result);\n if (_this2._url) {\n result._geotiff = geotiff;\n result.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n result.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(result);\n }).catch(reject);\n }\n } else {\n reject('couldn\\'t find a way to parse');\n }\n });\n });\n }\n }]);\n\n return GeoRaster;\n}();\n\nvar parseGeoraster = function parseGeoraster(input, metadata, debug) {\n if (debug) console.log('starting parseGeoraster with ', input, metadata);\n\n if (input === undefined) {\n var errorMessage = '[Georaster.parseGeoraster] Error. You passed in undefined to parseGeoraster. We can\\'t make a raster out of nothing!';\n throw Error(errorMessage);\n }\n\n return new GeoRaster(input, metadata, debug).initialize(debug);\n};\n\nif ( true && typeof module.exports !== 'undefined') {\n module.exports = parseGeoraster;\n}\n\n/*\n The following code allows you to use GeoRaster without requiring\n*/\nif (typeof window !== 'undefined') {\n window['parseGeoraster'] = parseGeoraster;\n} else if (typeof self !== 'undefined') {\n self['parseGeoraster'] = parseGeoraster; // jshint ignore:line\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node_modules/node-libs-browser/node_modules/buffer/index.js */ \"./node_modules/node-libs-browser/node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack://GeoRaster/./src/index.js?"); /***/ }), @@ -1512,7 +1689,7 @@ eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\n/* global Blob */\n/* glob /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.default = parseData;\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \"./node_modules/geotiff-palette/index.js\");\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nfunction processResult(result, debug) {\n var noDataValue = result.noDataValue;\n var height = result.height;\n var width = result.width;\n\n return new Promise(function (resolve, reject) {\n result.maxs = [];\n result.mins = [];\n result.ranges = [];\n\n var max = void 0;var min = void 0;\n\n // console.log(\"starting to get min, max and ranges\");\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\n var rows = result.values[rasterIndex];\n if (debug) console.log('[georaster] rows:', rows);\n\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\n var row = rows[rowIndex];\n\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\n var value = row[columnIndex];\n if (value != noDataValue && !isNaN(value)) {\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\n }\n }\n }\n\n result.maxs.push(max);\n result.mins.push(min);\n result.ranges.push(max - min);\n }\n\n resolve(result);\n });\n}\n\n/* We're not using async because trying to avoid dependency on babel's polyfill\nThere can be conflicts when GeoRaster is used in another project that is also\nusing @babel/polyfill */\nfunction parseData(data, debug) {\n return new Promise(function (resolve, reject) {\n try {\n if (debug) console.log('starting parseData with', data);\n if (debug) console.log('\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\n\n var result = {};\n\n var height = void 0,\n width = void 0;\n\n if (data.rasterType === 'object') {\n result.values = data.data;\n result.height = height = data.metadata.height || result.values[0].length;\n result.width = width = data.metadata.width || result.values[0][0].length;\n result.pixelHeight = data.metadata.pixelHeight;\n result.pixelWidth = data.metadata.pixelWidth;\n result.projection = data.metadata.projection;\n result.xmin = data.metadata.xmin;\n result.ymax = data.metadata.ymax;\n result.noDataValue = data.metadata.noDataValue;\n result.numberOfRasters = result.values.length;\n result.xmax = result.xmin + result.width * result.pixelWidth;\n result.ymin = result.ymax - result.height * result.pixelHeight;\n result._data = null;\n resolve(processResult(result));\n } else if (data.rasterType === 'geotiff') {\n result._data = data.data;\n\n var initFunction = _geotiff.fromArrayBuffer;\n if (data.sourceType === 'url') {\n initFunction = _geotiff.fromUrl;\n }\n\n if (debug) console.log('data.rasterType is geotiff');\n resolve(initFunction(data.data).then(function (geotiff) {\n if (debug) console.log('geotiff:', geotiff);\n return geotiff.getImage().then(function (image) {\n try {\n if (debug) console.log('image:', image);\n\n var fileDirectory = image.fileDirectory;\n\n var _image$getGeoKeys = image.getGeoKeys(),\n GeographicTypeGeoKey = _image$getGeoKeys.GeographicTypeGeoKey,\n ProjectedCSTypeGeoKey = _image$getGeoKeys.ProjectedCSTypeGeoKey;\n\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey;\n if (debug) console.log('projection:', result.projection);\n\n result.height = height = image.getHeight();\n if (debug) console.log('result.height:', result.height);\n result.width = width = image.getWidth();\n if (debug) console.log('result.width:', result.width);\n\n var _image$getResolution = image.getResolution(),\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\n resolutionX = _image$getResolution2[0],\n resolutionY = _image$getResolution2[1];\n\n result.pixelHeight = Math.abs(resolutionY);\n result.pixelWidth = Math.abs(resolutionX);\n\n var _image$getOrigin = image.getOrigin(),\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\n originX = _image$getOrigin2[0],\n originY = _image$getOrigin2[1];\n\n result.xmin = originX;\n result.xmax = result.xmin + width * result.pixelWidth;\n result.ymax = originY;\n result.ymin = result.ymax - height * result.pixelHeight;\n\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\n\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\n\n if (fileDirectory.ColorMap) {\n result.palette = (0, _geotiffPalette.getPalette)(image);\n }\n\n if (data.sourceType !== 'url') {\n return image.readRasters().then(function (rasters) {\n result.values = rasters.map(function (valuesInOneDimension) {\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\n });\n return processResult(result);\n });\n } else {\n return result;\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n }));\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n}\n\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.default = parseData;\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \"./node_modules/geotiff-palette/index.js\");\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nfunction processResult(result, debug) {\n var noDataValue = result.noDataValue;\n var height = result.height;\n var width = result.width;\n\n return new Promise(function (resolve, reject) {\n result.maxs = [];\n result.mins = [];\n result.ranges = [];\n\n var max = void 0;var min = void 0;\n\n // console.log(\"starting to get min, max and ranges\");\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\n var rows = result.values[rasterIndex];\n if (debug) console.log('[georaster] rows:', rows);\n\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\n var row = rows[rowIndex];\n\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\n var value = row[columnIndex];\n if (value != noDataValue && !isNaN(value)) {\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\n }\n }\n }\n\n result.maxs.push(max);\n result.mins.push(min);\n result.ranges.push(max - min);\n }\n\n resolve(result);\n });\n}\n\n/* We're not using async because trying to avoid dependency on babel's polyfill\nThere can be conflicts when GeoRaster is used in another project that is also\nusing @babel/polyfill */\nfunction parseData(data, debug) {\n return new Promise(function (resolve, reject) {\n try {\n if (debug) console.log('starting parseData with', data);\n if (debug) console.log('\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\n\n var result = {};\n\n var height = void 0,\n width = void 0;\n\n if (data.rasterType === 'object') {\n result.values = data.data;\n result.height = height = data.metadata.height || result.values[0].length;\n result.width = width = data.metadata.width || result.values[0][0].length;\n result.pixelHeight = data.metadata.pixelHeight;\n result.pixelWidth = data.metadata.pixelWidth;\n result.projection = data.metadata.projection;\n result.xmin = data.metadata.xmin;\n result.ymax = data.metadata.ymax;\n result.noDataValue = data.metadata.noDataValue;\n result.numberOfRasters = result.values.length;\n result.xmax = result.xmin + result.width * result.pixelWidth;\n result.ymin = result.ymax - result.height * result.pixelHeight;\n result._data = null;\n resolve(processResult(result));\n } else if (data.rasterType === 'geotiff') {\n result._data = data.data;\n\n var initFunction = _geotiff.fromArrayBuffer;\n if (data.sourceType === 'url') {\n initFunction = _geotiff.fromUrl;\n } else if (data.sourceType === 'Blob') {\n initFunction = _geotiff.fromBlob;\n }\n\n if (debug) console.log('data.rasterType is geotiff');\n resolve(initFunction(data.data).then(function (geotiff) {\n if (debug) console.log('geotiff:', geotiff);\n return geotiff.getImage().then(function (image) {\n try {\n if (debug) console.log('image:', image);\n\n var fileDirectory = image.fileDirectory;\n\n var _ref = image.getGeoKeys() || {},\n GeographicTypeGeoKey = _ref.GeographicTypeGeoKey,\n ProjectedCSTypeGeoKey = _ref.ProjectedCSTypeGeoKey;\n\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey || data.metadata.projection;\n if (debug) console.log('projection:', result.projection);\n\n result.height = height = image.getHeight();\n if (debug) console.log('result.height:', result.height);\n result.width = width = image.getWidth();\n if (debug) console.log('result.width:', result.width);\n\n var _image$getResolution = image.getResolution(),\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\n resolutionX = _image$getResolution2[0],\n resolutionY = _image$getResolution2[1];\n\n result.pixelHeight = Math.abs(resolutionY);\n result.pixelWidth = Math.abs(resolutionX);\n\n var _image$getOrigin = image.getOrigin(),\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\n originX = _image$getOrigin2[0],\n originY = _image$getOrigin2[1];\n\n result.xmin = originX;\n result.xmax = result.xmin + width * result.pixelWidth;\n result.ymax = originY;\n result.ymin = result.ymax - height * result.pixelHeight;\n\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\n\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\n\n if (fileDirectory.ColorMap) {\n result.palette = (0, _geotiffPalette.getPalette)(image);\n }\n\n if (data.sourceType !== 'url') {\n return image.readRasters().then(function (rasters) {\n result.values = rasters.map(function (valuesInOneDimension) {\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\n });\n return processResult(result);\n });\n } else {\n return result;\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n }));\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n}\n\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?"); /***/ }), @@ -1536,7 +1713,7 @@ eval("\n\nfunction countIn1D(array) {\n return array.reduce(function (counts, v /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("module.exports=function(){return __webpack_require__(/*! !./node_modules/worker-loader/dist/workers/InlineWorker.js */ \"./node_modules/worker-loader/dist/workers/InlineWorker.js\")(\"/******/ (function(modules) { // webpackBootstrap\\n/******/ \\t// The module cache\\n/******/ \\tvar installedModules = {};\\n/******/\\n/******/ \\t// The require function\\n/******/ \\tfunction __webpack_require__(moduleId) {\\n/******/\\n/******/ \\t\\t// Check if module is in cache\\n/******/ \\t\\tif(installedModules[moduleId]) {\\n/******/ \\t\\t\\treturn installedModules[moduleId].exports;\\n/******/ \\t\\t}\\n/******/ \\t\\t// Create a new module (and put it into the cache)\\n/******/ \\t\\tvar module = installedModules[moduleId] = {\\n/******/ \\t\\t\\ti: moduleId,\\n/******/ \\t\\t\\tl: false,\\n/******/ \\t\\t\\texports: {}\\n/******/ \\t\\t};\\n/******/\\n/******/ \\t\\t// Execute the module function\\n/******/ \\t\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\n/******/\\n/******/ \\t\\t// Flag the module as loaded\\n/******/ \\t\\tmodule.l = true;\\n/******/\\n/******/ \\t\\t// Return the exports of the module\\n/******/ \\t\\treturn module.exports;\\n/******/ \\t}\\n/******/\\n/******/\\n/******/ \\t// expose the modules object (__webpack_modules__)\\n/******/ \\t__webpack_require__.m = modules;\\n/******/\\n/******/ \\t// expose the module cache\\n/******/ \\t__webpack_require__.c = installedModules;\\n/******/\\n/******/ \\t// define getter function for harmony exports\\n/******/ \\t__webpack_require__.d = function(exports, name, getter) {\\n/******/ \\t\\tif(!__webpack_require__.o(exports, name)) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\n/******/ \\t\\t}\\n/******/ \\t};\\n/******/\\n/******/ \\t// define __esModule on exports\\n/******/ \\t__webpack_require__.r = function(exports) {\\n/******/ \\t\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\n/******/ \\t\\t}\\n/******/ \\t\\tObject.defineProperty(exports, '__esModule', { value: true });\\n/******/ \\t};\\n/******/\\n/******/ \\t// create a fake namespace object\\n/******/ \\t// mode & 1: value is a module id, require it\\n/******/ \\t// mode & 2: merge all properties of value into the ns\\n/******/ \\t// mode & 4: return value when already ns object\\n/******/ \\t// mode & 8|1: behave like require\\n/******/ \\t__webpack_require__.t = function(value, mode) {\\n/******/ \\t\\tif(mode & 1) value = __webpack_require__(value);\\n/******/ \\t\\tif(mode & 8) return value;\\n/******/ \\t\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\n/******/ \\t\\tvar ns = Object.create(null);\\n/******/ \\t\\t__webpack_require__.r(ns);\\n/******/ \\t\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\n/******/ \\t\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\n/******/ \\t\\treturn ns;\\n/******/ \\t};\\n/******/\\n/******/ \\t// getDefaultExport function for compatibility with non-harmony modules\\n/******/ \\t__webpack_require__.n = function(module) {\\n/******/ \\t\\tvar getter = module && module.__esModule ?\\n/******/ \\t\\t\\tfunction getDefault() { return module['default']; } :\\n/******/ \\t\\t\\tfunction getModuleExports() { return module; };\\n/******/ \\t\\t__webpack_require__.d(getter, 'a', getter);\\n/******/ \\t\\treturn getter;\\n/******/ \\t};\\n/******/\\n/******/ \\t// Object.prototype.hasOwnProperty.call\\n/******/ \\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\n/******/\\n/******/ \\t// __webpack_public_path__\\n/******/ \\t__webpack_require__.p = \\\"\\\";\\n/******/\\n/******/\\n/******/ \\t// Load entry module and return exports\\n/******/ \\treturn __webpack_require__(__webpack_require__.s = \\\"./src/worker.js\\\");\\n/******/ })\\n/************************************************************************/\\n/******/ ({\\n\\n/***/ \\\"./node_modules/base64-js/index.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/base64-js/index.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nexports.byteLength = byteLength\\\\nexports.toByteArray = toByteArray\\\\nexports.fromByteArray = fromByteArray\\\\n\\\\nvar lookup = []\\\\nvar revLookup = []\\\\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\\\\n\\\\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\\\\nfor (var i = 0, len = code.length; i < len; ++i) {\\\\n lookup[i] = code[i]\\\\n revLookup[code.charCodeAt(i)] = i\\\\n}\\\\n\\\\n// Support decoding URL-safe base64 strings, as Node.js does.\\\\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\\\\nrevLookup['-'.charCodeAt(0)] = 62\\\\nrevLookup['_'.charCodeAt(0)] = 63\\\\n\\\\nfunction getLens (b64) {\\\\n var len = b64.length\\\\n\\\\n if (len % 4 > 0) {\\\\n throw new Error('Invalid string. Length must be a multiple of 4')\\\\n }\\\\n\\\\n // Trim off extra bytes after placeholder bytes are found\\\\n // See: https://github.com/beatgammit/base64-js/issues/42\\\\n var validLen = b64.indexOf('=')\\\\n if (validLen === -1) validLen = len\\\\n\\\\n var placeHoldersLen = validLen === len\\\\n ? 0\\\\n : 4 - (validLen % 4)\\\\n\\\\n return [validLen, placeHoldersLen]\\\\n}\\\\n\\\\n// base64 is 4/3 + up to two characters of the original data\\\\nfunction byteLength (b64) {\\\\n var lens = getLens(b64)\\\\n var validLen = lens[0]\\\\n var placeHoldersLen = lens[1]\\\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\\\n}\\\\n\\\\nfunction _byteLength (b64, validLen, placeHoldersLen) {\\\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\\\n}\\\\n\\\\nfunction toByteArray (b64) {\\\\n var tmp\\\\n var lens = getLens(b64)\\\\n var validLen = lens[0]\\\\n var placeHoldersLen = lens[1]\\\\n\\\\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\\\\n\\\\n var curByte = 0\\\\n\\\\n // if there are placeholders, only get up to the last complete 4 chars\\\\n var len = placeHoldersLen > 0\\\\n ? validLen - 4\\\\n : validLen\\\\n\\\\n var i\\\\n for (i = 0; i < len; i += 4) {\\\\n tmp =\\\\n (revLookup[b64.charCodeAt(i)] << 18) |\\\\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\\\\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\\\\n revLookup[b64.charCodeAt(i + 3)]\\\\n arr[curByte++] = (tmp >> 16) & 0xFF\\\\n arr[curByte++] = (tmp >> 8) & 0xFF\\\\n arr[curByte++] = tmp & 0xFF\\\\n }\\\\n\\\\n if (placeHoldersLen === 2) {\\\\n tmp =\\\\n (revLookup[b64.charCodeAt(i)] << 2) |\\\\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\\\\n arr[curByte++] = tmp & 0xFF\\\\n }\\\\n\\\\n if (placeHoldersLen === 1) {\\\\n tmp =\\\\n (revLookup[b64.charCodeAt(i)] << 10) |\\\\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\\\\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\\\\n arr[curByte++] = (tmp >> 8) & 0xFF\\\\n arr[curByte++] = tmp & 0xFF\\\\n }\\\\n\\\\n return arr\\\\n}\\\\n\\\\nfunction tripletToBase64 (num) {\\\\n return lookup[num >> 18 & 0x3F] +\\\\n lookup[num >> 12 & 0x3F] +\\\\n lookup[num >> 6 & 0x3F] +\\\\n lookup[num & 0x3F]\\\\n}\\\\n\\\\nfunction encodeChunk (uint8, start, end) {\\\\n var tmp\\\\n var output = []\\\\n for (var i = start; i < end; i += 3) {\\\\n tmp =\\\\n ((uint8[i] << 16) & 0xFF0000) +\\\\n ((uint8[i + 1] << 8) & 0xFF00) +\\\\n (uint8[i + 2] & 0xFF)\\\\n output.push(tripletToBase64(tmp))\\\\n }\\\\n return output.join('')\\\\n}\\\\n\\\\nfunction fromByteArray (uint8) {\\\\n var tmp\\\\n var len = uint8.length\\\\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\\\\n var parts = []\\\\n var maxChunkLength = 16383 // must be multiple of 3\\\\n\\\\n // go through the array every three bytes, we'll deal with trailing stuff later\\\\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\\\\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\\\\n }\\\\n\\\\n // pad the end with zeros, but make sure to not forget the extra bytes\\\\n if (extraBytes === 1) {\\\\n tmp = uint8[len - 1]\\\\n parts.push(\\\\n lookup[tmp >> 2] +\\\\n lookup[(tmp << 4) & 0x3F] +\\\\n '=='\\\\n )\\\\n } else if (extraBytes === 2) {\\\\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\\\\n parts.push(\\\\n lookup[tmp >> 10] +\\\\n lookup[(tmp >> 4) & 0x3F] +\\\\n lookup[(tmp << 2) & 0x3F] +\\\\n '='\\\\n )\\\\n }\\\\n\\\\n return parts.join('')\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/base64-js/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/builtin-status-codes/browser.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/builtin-status-codes/browser.js ***!\\n \\\\******************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = {\\\\n \\\\\\\"100\\\\\\\": \\\\\\\"Continue\\\\\\\",\\\\n \\\\\\\"101\\\\\\\": \\\\\\\"Switching Protocols\\\\\\\",\\\\n \\\\\\\"102\\\\\\\": \\\\\\\"Processing\\\\\\\",\\\\n \\\\\\\"200\\\\\\\": \\\\\\\"OK\\\\\\\",\\\\n \\\\\\\"201\\\\\\\": \\\\\\\"Created\\\\\\\",\\\\n \\\\\\\"202\\\\\\\": \\\\\\\"Accepted\\\\\\\",\\\\n \\\\\\\"203\\\\\\\": \\\\\\\"Non-Authoritative Information\\\\\\\",\\\\n \\\\\\\"204\\\\\\\": \\\\\\\"No Content\\\\\\\",\\\\n \\\\\\\"205\\\\\\\": \\\\\\\"Reset Content\\\\\\\",\\\\n \\\\\\\"206\\\\\\\": \\\\\\\"Partial Content\\\\\\\",\\\\n \\\\\\\"207\\\\\\\": \\\\\\\"Multi-Status\\\\\\\",\\\\n \\\\\\\"208\\\\\\\": \\\\\\\"Already Reported\\\\\\\",\\\\n \\\\\\\"226\\\\\\\": \\\\\\\"IM Used\\\\\\\",\\\\n \\\\\\\"300\\\\\\\": \\\\\\\"Multiple Choices\\\\\\\",\\\\n \\\\\\\"301\\\\\\\": \\\\\\\"Moved Permanently\\\\\\\",\\\\n \\\\\\\"302\\\\\\\": \\\\\\\"Found\\\\\\\",\\\\n \\\\\\\"303\\\\\\\": \\\\\\\"See Other\\\\\\\",\\\\n \\\\\\\"304\\\\\\\": \\\\\\\"Not Modified\\\\\\\",\\\\n \\\\\\\"305\\\\\\\": \\\\\\\"Use Proxy\\\\\\\",\\\\n \\\\\\\"307\\\\\\\": \\\\\\\"Temporary Redirect\\\\\\\",\\\\n \\\\\\\"308\\\\\\\": \\\\\\\"Permanent Redirect\\\\\\\",\\\\n \\\\\\\"400\\\\\\\": \\\\\\\"Bad Request\\\\\\\",\\\\n \\\\\\\"401\\\\\\\": \\\\\\\"Unauthorized\\\\\\\",\\\\n \\\\\\\"402\\\\\\\": \\\\\\\"Payment Required\\\\\\\",\\\\n \\\\\\\"403\\\\\\\": \\\\\\\"Forbidden\\\\\\\",\\\\n \\\\\\\"404\\\\\\\": \\\\\\\"Not Found\\\\\\\",\\\\n \\\\\\\"405\\\\\\\": \\\\\\\"Method Not Allowed\\\\\\\",\\\\n \\\\\\\"406\\\\\\\": \\\\\\\"Not Acceptable\\\\\\\",\\\\n \\\\\\\"407\\\\\\\": \\\\\\\"Proxy Authentication Required\\\\\\\",\\\\n \\\\\\\"408\\\\\\\": \\\\\\\"Request Timeout\\\\\\\",\\\\n \\\\\\\"409\\\\\\\": \\\\\\\"Conflict\\\\\\\",\\\\n \\\\\\\"410\\\\\\\": \\\\\\\"Gone\\\\\\\",\\\\n \\\\\\\"411\\\\\\\": \\\\\\\"Length Required\\\\\\\",\\\\n \\\\\\\"412\\\\\\\": \\\\\\\"Precondition Failed\\\\\\\",\\\\n \\\\\\\"413\\\\\\\": \\\\\\\"Payload Too Large\\\\\\\",\\\\n \\\\\\\"414\\\\\\\": \\\\\\\"URI Too Long\\\\\\\",\\\\n \\\\\\\"415\\\\\\\": \\\\\\\"Unsupported Media Type\\\\\\\",\\\\n \\\\\\\"416\\\\\\\": \\\\\\\"Range Not Satisfiable\\\\\\\",\\\\n \\\\\\\"417\\\\\\\": \\\\\\\"Expectation Failed\\\\\\\",\\\\n \\\\\\\"418\\\\\\\": \\\\\\\"I'm a teapot\\\\\\\",\\\\n \\\\\\\"421\\\\\\\": \\\\\\\"Misdirected Request\\\\\\\",\\\\n \\\\\\\"422\\\\\\\": \\\\\\\"Unprocessable Entity\\\\\\\",\\\\n \\\\\\\"423\\\\\\\": \\\\\\\"Locked\\\\\\\",\\\\n \\\\\\\"424\\\\\\\": \\\\\\\"Failed Dependency\\\\\\\",\\\\n \\\\\\\"425\\\\\\\": \\\\\\\"Unordered Collection\\\\\\\",\\\\n \\\\\\\"426\\\\\\\": \\\\\\\"Upgrade Required\\\\\\\",\\\\n \\\\\\\"428\\\\\\\": \\\\\\\"Precondition Required\\\\\\\",\\\\n \\\\\\\"429\\\\\\\": \\\\\\\"Too Many Requests\\\\\\\",\\\\n \\\\\\\"431\\\\\\\": \\\\\\\"Request Header Fields Too Large\\\\\\\",\\\\n \\\\\\\"451\\\\\\\": \\\\\\\"Unavailable For Legal Reasons\\\\\\\",\\\\n \\\\\\\"500\\\\\\\": \\\\\\\"Internal Server Error\\\\\\\",\\\\n \\\\\\\"501\\\\\\\": \\\\\\\"Not Implemented\\\\\\\",\\\\n \\\\\\\"502\\\\\\\": \\\\\\\"Bad Gateway\\\\\\\",\\\\n \\\\\\\"503\\\\\\\": \\\\\\\"Service Unavailable\\\\\\\",\\\\n \\\\\\\"504\\\\\\\": \\\\\\\"Gateway Timeout\\\\\\\",\\\\n \\\\\\\"505\\\\\\\": \\\\\\\"HTTP Version Not Supported\\\\\\\",\\\\n \\\\\\\"506\\\\\\\": \\\\\\\"Variant Also Negotiates\\\\\\\",\\\\n \\\\\\\"507\\\\\\\": \\\\\\\"Insufficient Storage\\\\\\\",\\\\n \\\\\\\"508\\\\\\\": \\\\\\\"Loop Detected\\\\\\\",\\\\n \\\\\\\"509\\\\\\\": \\\\\\\"Bandwidth Limit Exceeded\\\\\\\",\\\\n \\\\\\\"510\\\\\\\": \\\\\\\"Not Extended\\\\\\\",\\\\n \\\\\\\"511\\\\\\\": \\\\\\\"Network Authentication Required\\\\\\\"\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/builtin-status-codes/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/core-util-is/lib/util.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/core-util-is/lib/util.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// NOTE: These type checking functions intentionally don't use `instanceof`\\\\n// because it is fragile and can be easily faked with `Object.create()`.\\\\n\\\\nfunction isArray(arg) {\\\\n if (Array.isArray) {\\\\n return Array.isArray(arg);\\\\n }\\\\n return objectToString(arg) === '[object Array]';\\\\n}\\\\nexports.isArray = isArray;\\\\n\\\\nfunction isBoolean(arg) {\\\\n return typeof arg === 'boolean';\\\\n}\\\\nexports.isBoolean = isBoolean;\\\\n\\\\nfunction isNull(arg) {\\\\n return arg === null;\\\\n}\\\\nexports.isNull = isNull;\\\\n\\\\nfunction isNullOrUndefined(arg) {\\\\n return arg == null;\\\\n}\\\\nexports.isNullOrUndefined = isNullOrUndefined;\\\\n\\\\nfunction isNumber(arg) {\\\\n return typeof arg === 'number';\\\\n}\\\\nexports.isNumber = isNumber;\\\\n\\\\nfunction isString(arg) {\\\\n return typeof arg === 'string';\\\\n}\\\\nexports.isString = isString;\\\\n\\\\nfunction isSymbol(arg) {\\\\n return typeof arg === 'symbol';\\\\n}\\\\nexports.isSymbol = isSymbol;\\\\n\\\\nfunction isUndefined(arg) {\\\\n return arg === void 0;\\\\n}\\\\nexports.isUndefined = isUndefined;\\\\n\\\\nfunction isRegExp(re) {\\\\n return objectToString(re) === '[object RegExp]';\\\\n}\\\\nexports.isRegExp = isRegExp;\\\\n\\\\nfunction isObject(arg) {\\\\n return typeof arg === 'object' && arg !== null;\\\\n}\\\\nexports.isObject = isObject;\\\\n\\\\nfunction isDate(d) {\\\\n return objectToString(d) === '[object Date]';\\\\n}\\\\nexports.isDate = isDate;\\\\n\\\\nfunction isError(e) {\\\\n return (objectToString(e) === '[object Error]' || e instanceof Error);\\\\n}\\\\nexports.isError = isError;\\\\n\\\\nfunction isFunction(arg) {\\\\n return typeof arg === 'function';\\\\n}\\\\nexports.isFunction = isFunction;\\\\n\\\\nfunction isPrimitive(arg) {\\\\n return arg === null ||\\\\n typeof arg === 'boolean' ||\\\\n typeof arg === 'number' ||\\\\n typeof arg === 'string' ||\\\\n typeof arg === 'symbol' || // ES6 symbol\\\\n typeof arg === 'undefined';\\\\n}\\\\nexports.isPrimitive = isPrimitive;\\\\n\\\\nexports.isBuffer = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\").Buffer.isBuffer;\\\\n\\\\nfunction objectToString(o) {\\\\n return Object.prototype.toString.call(o);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/core-util-is/lib/util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff-palette/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff-palette/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"const getPalette = (image, { debug = false } = { debug: false }) => {\\\\n if (debug) console.log(\\\\\\\"starting getPalette with image\\\\\\\", image);\\\\n const { fileDirectory } = image;\\\\n const {\\\\n BitsPerSample,\\\\n ColorMap,\\\\n ImageLength,\\\\n ImageWidth,\\\\n PhotometricInterpretation,\\\\n SampleFormat,\\\\n SamplesPerPixel\\\\n } = fileDirectory;\\\\n\\\\n if (!ColorMap) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: the image does not contain a color map, so we can't make a palette.\\\\\\\");\\\\n }\\\\n\\\\n const count = Math.pow(2, BitsPerSample);\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: count:\\\\\\\", count);\\\\n\\\\n const bandSize = ColorMap.length / 3;\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: bandSize:\\\\\\\", bandSize);\\\\n\\\\n if (bandSize !== count) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster\\\\\\\");\\\\n }\\\\n\\\\n const greenOffset = bandSize;\\\\n const redOffset = greenOffset + bandSize;\\\\n\\\\n const result = [];\\\\n for (let i = 0; i < count; i++) {\\\\n // colorMap[mapIndex] / 65536 * 256 equals colorMap[mapIndex] / 256\\\\n // because (1 / 2^16) * (2^8) equals 1 / 2^8\\\\n result.push([\\\\n Math.floor(ColorMap[i] / 256), // red\\\\n Math.floor(ColorMap[greenOffset + i] / 256), // green\\\\n Math.floor(ColorMap[redOffset + i] / 256), // blue\\\\n 255 // alpha value is always 255\\\\n ]);\\\\n }\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: result is \\\\\\\", result);\\\\n return result;\\\\n}\\\\n\\\\nmodule.exports = { getPalette };\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff-palette/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/basedecoder.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/basedecoder.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return BaseDecoder; });\\\\n/* harmony import */ var _predictor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../predictor */ \\\\\\\"./node_modules/geotiff/src/predictor.js\\\\\\\");\\\\n\\\\n\\\\nclass BaseDecoder {\\\\n decode(fileDirectory, buffer) {\\\\n const decoded = this.decodeBlock(buffer);\\\\n const predictor = fileDirectory.Predictor || 1;\\\\n if (predictor !== 1) {\\\\n const isTiled = !fileDirectory.StripOffsets;\\\\n const tileWidth = isTiled ? fileDirectory.TileWidth : fileDirectory.ImageWidth;\\\\n const tileHeight = isTiled ? fileDirectory.TileLength : (\\\\n fileDirectory.RowsPerStrip || fileDirectory.ImageLength\\\\n );\\\\n return Object(_predictor__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"applyPredictor\\\\\\\"])(\\\\n decoded, predictor, tileWidth, tileHeight, fileDirectory.BitsPerSample,\\\\n fileDirectory.PlanarConfiguration,\\\\n );\\\\n }\\\\n return decoded;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/basedecoder.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/deflate.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/deflate.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DeflateDecoder; });\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pako/lib/inflate */ \\\\\\\"./node_modules/pako/lib/inflate.js\\\\\\\");\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass DeflateDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return Object(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"inflate\\\\\\\"])(new Uint8Array(buffer)).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/deflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: getDecoder */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return getDecoder; });\\\\n/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ \\\\\\\"./node_modules/geotiff/src/compression/raw.js\\\\\\\");\\\\n/* harmony import */ var _lzw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lzw */ \\\\\\\"./node_modules/geotiff/src/compression/lzw.js\\\\\\\");\\\\n/* harmony import */ var _jpeg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jpeg */ \\\\\\\"./node_modules/geotiff/src/compression/jpeg.js\\\\\\\");\\\\n/* harmony import */ var _deflate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./deflate */ \\\\\\\"./node_modules/geotiff/src/compression/deflate.js\\\\\\\");\\\\n/* harmony import */ var _packbits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./packbits */ \\\\\\\"./node_modules/geotiff/src/compression/packbits.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getDecoder(fileDirectory) {\\\\n switch (fileDirectory.Compression) {\\\\n case undefined:\\\\n case 1: // no compression\\\\n return new _raw__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]();\\\\n case 5: // LZW\\\\n return new _lzw__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n case 6: // JPEG\\\\n throw new Error('old style JPEG compression is not supported.');\\\\n case 7: // JPEG\\\\n return new _jpeg__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](fileDirectory);\\\\n case 8: // Deflate as recognized by Adobe\\\\n case 32946: // Deflate GDAL default\\\\n return new _deflate__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]();\\\\n case 32773: // packbits\\\\n return new _packbits__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]();\\\\n default:\\\\n throw new Error(`Unknown compression method identifier: ${fileDirectory.Compression}`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/jpeg.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/jpeg.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return JpegDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n/* -*- tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /\\\\n/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */\\\\n/*\\\\n Copyright 2011 notmasteryet\\\\n Licensed under the Apache License, Version 2.0 (the \\\\\\\"License\\\\\\\");\\\\n you may not use this file except in compliance with the License.\\\\n You may obtain a copy of the License at\\\\n http://www.apache.org/licenses/LICENSE-2.0\\\\n Unless required by applicable law or agreed to in writing, software\\\\n distributed under the License is distributed on an \\\\\\\"AS IS\\\\\\\" BASIS,\\\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\\\n See the License for the specific language governing permissions and\\\\n limitations under the License.\\\\n*/\\\\n\\\\n// - The JPEG specification can be found in the ITU CCITT Recommendation T.81\\\\n// (www.w3.org/Graphics/JPEG/itu-t81.pdf)\\\\n// - The JFIF specification can be found in the JPEG File Interchange Format\\\\n// (www.w3.org/Graphics/JPEG/jfif3.pdf)\\\\n// - The Adobe Application-Specific JPEG markers in the Supporting the DCT Filters\\\\n// in PostScript Level 2, Technical Note #5116\\\\n// (partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf)\\\\n\\\\n\\\\nconst dctZigZag = new Int32Array([\\\\n 0,\\\\n 1, 8,\\\\n 16, 9, 2,\\\\n 3, 10, 17, 24,\\\\n 32, 25, 18, 11, 4,\\\\n 5, 12, 19, 26, 33, 40,\\\\n 48, 41, 34, 27, 20, 13, 6,\\\\n 7, 14, 21, 28, 35, 42, 49, 56,\\\\n 57, 50, 43, 36, 29, 22, 15,\\\\n 23, 30, 37, 44, 51, 58,\\\\n 59, 52, 45, 38, 31,\\\\n 39, 46, 53, 60,\\\\n 61, 54, 47,\\\\n 55, 62,\\\\n 63,\\\\n]);\\\\n\\\\nconst dctCos1 = 4017; // cos(pi/16)\\\\nconst dctSin1 = 799; // sin(pi/16)\\\\nconst dctCos3 = 3406; // cos(3*pi/16)\\\\nconst dctSin3 = 2276; // sin(3*pi/16)\\\\nconst dctCos6 = 1567; // cos(6*pi/16)\\\\nconst dctSin6 = 3784; // sin(6*pi/16)\\\\nconst dctSqrt2 = 5793; // sqrt(2)\\\\nconst dctSqrt1d2 = 2896;// sqrt(2) / 2\\\\n\\\\nfunction buildHuffmanTable(codeLengths, values) {\\\\n let k = 0;\\\\n const code = [];\\\\n let length = 16;\\\\n while (length > 0 && !codeLengths[length - 1]) {\\\\n --length;\\\\n }\\\\n code.push({ children: [], index: 0 });\\\\n\\\\n let p = code[0];\\\\n let q;\\\\n for (let i = 0; i < length; i++) {\\\\n for (let j = 0; j < codeLengths[i]; j++) {\\\\n p = code.pop();\\\\n p.children[p.index] = values[k];\\\\n while (p.index > 0) {\\\\n p = code.pop();\\\\n }\\\\n p.index++;\\\\n code.push(p);\\\\n while (code.length <= i) {\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n k++;\\\\n }\\\\n if (i + 1 < length) {\\\\n // p here points to last code\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n }\\\\n return code[0].children;\\\\n}\\\\n\\\\nfunction decodeScan(data, initialOffset,\\\\n frame, components, resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successivePrev, successive) {\\\\n const { mcusPerLine, progressive } = frame;\\\\n\\\\n const startOffset = initialOffset;\\\\n let offset = initialOffset;\\\\n let bitsData = 0;\\\\n let bitsCount = 0;\\\\n function readBit() {\\\\n if (bitsCount > 0) {\\\\n bitsCount--;\\\\n return (bitsData >> bitsCount) & 1;\\\\n }\\\\n bitsData = data[offset++];\\\\n if (bitsData === 0xFF) {\\\\n const nextByte = data[offset++];\\\\n if (nextByte) {\\\\n throw new Error(`unexpected marker: ${((bitsData << 8) | nextByte).toString(16)}`);\\\\n }\\\\n // unstuff 0\\\\n }\\\\n bitsCount = 7;\\\\n return bitsData >>> 7;\\\\n }\\\\n function decodeHuffman(tree) {\\\\n let node = tree;\\\\n let bit;\\\\n while ((bit = readBit()) !== null) { // eslint-disable-line no-cond-assign\\\\n node = node[bit];\\\\n if (typeof node === 'number') {\\\\n return node;\\\\n }\\\\n if (typeof node !== 'object') {\\\\n throw new Error('invalid huffman sequence');\\\\n }\\\\n }\\\\n return null;\\\\n }\\\\n function receive(initialLength) {\\\\n let length = initialLength;\\\\n let n = 0;\\\\n while (length > 0) {\\\\n const bit = readBit();\\\\n if (bit === null) {\\\\n return undefined;\\\\n }\\\\n n = (n << 1) | bit;\\\\n --length;\\\\n }\\\\n return n;\\\\n }\\\\n function receiveAndExtend(length) {\\\\n const n = receive(length);\\\\n if (n >= 1 << (length - 1)) {\\\\n return n;\\\\n }\\\\n return n + (-1 << length) + 1;\\\\n }\\\\n function decodeBaseline(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : receiveAndExtend(t);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n let k = 1;\\\\n while (k < 64) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n function decodeDCFirst(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : (receiveAndExtend(t) << successive);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n }\\\\n function decodeDCSuccessive(component, zz) {\\\\n zz[0] |= readBit() << successive;\\\\n }\\\\n let eobrun = 0;\\\\n function decodeACFirst(component, zz) {\\\\n if (eobrun > 0) {\\\\n eobrun--;\\\\n return;\\\\n }\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n while (k <= e) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r) - 1;\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s) * (1 << successive);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n let successiveACState = 0;\\\\n let successiveACNextValue;\\\\n function decodeACSuccessive(component, zz) {\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n let r = 0;\\\\n while (k <= e) {\\\\n const z = dctZigZag[k];\\\\n const direction = zz[z] < 0 ? -1 : 1;\\\\n switch (successiveACState) {\\\\n case 0: { // initial state\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r);\\\\n successiveACState = 4;\\\\n } else {\\\\n r = 16;\\\\n successiveACState = 1;\\\\n }\\\\n } else {\\\\n if (s !== 1) {\\\\n throw new Error('invalid ACn encoding');\\\\n }\\\\n successiveACNextValue = receiveAndExtend(s);\\\\n successiveACState = r ? 2 : 3;\\\\n }\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n case 1: // skipping r zero items\\\\n case 2:\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n r--;\\\\n if (r === 0) {\\\\n successiveACState = successiveACState === 2 ? 3 : 0;\\\\n }\\\\n }\\\\n break;\\\\n case 3: // set value for a zero item\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n zz[z] = successiveACNextValue << successive;\\\\n successiveACState = 0;\\\\n }\\\\n break;\\\\n case 4: // eob\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n k++;\\\\n }\\\\n if (successiveACState === 4) {\\\\n eobrun--;\\\\n if (eobrun === 0) {\\\\n successiveACState = 0;\\\\n }\\\\n }\\\\n }\\\\n function decodeMcu(component, decodeFunction, mcu, row, col) {\\\\n const mcuRow = (mcu / mcusPerLine) | 0;\\\\n const mcuCol = mcu % mcusPerLine;\\\\n const blockRow = (mcuRow * component.v) + row;\\\\n const blockCol = (mcuCol * component.h) + col;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n function decodeBlock(component, decodeFunction, mcu) {\\\\n const blockRow = (mcu / component.blocksPerLine) | 0;\\\\n const blockCol = mcu % component.blocksPerLine;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n\\\\n const componentsLength = components.length;\\\\n let component;\\\\n let i;\\\\n let j;\\\\n let k;\\\\n let n;\\\\n let decodeFn;\\\\n if (progressive) {\\\\n if (spectralStart === 0) {\\\\n decodeFn = successivePrev === 0 ? decodeDCFirst : decodeDCSuccessive;\\\\n } else {\\\\n decodeFn = successivePrev === 0 ? decodeACFirst : decodeACSuccessive;\\\\n }\\\\n } else {\\\\n decodeFn = decodeBaseline;\\\\n }\\\\n\\\\n let mcu = 0;\\\\n let marker;\\\\n let mcuExpected;\\\\n if (componentsLength === 1) {\\\\n mcuExpected = components[0].blocksPerLine * components[0].blocksPerColumn;\\\\n } else {\\\\n mcuExpected = mcusPerLine * frame.mcusPerColumn;\\\\n }\\\\n\\\\n const usedResetInterval = resetInterval || mcuExpected;\\\\n\\\\n while (mcu < mcuExpected) {\\\\n // reset interval stuff\\\\n for (i = 0; i < componentsLength; i++) {\\\\n components[i].pred = 0;\\\\n }\\\\n eobrun = 0;\\\\n\\\\n if (componentsLength === 1) {\\\\n component = components[0];\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n decodeBlock(component, decodeFn, mcu);\\\\n mcu++;\\\\n }\\\\n } else {\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n for (i = 0; i < componentsLength; i++) {\\\\n component = components[i];\\\\n const { h, v } = component;\\\\n for (j = 0; j < v; j++) {\\\\n for (k = 0; k < h; k++) {\\\\n decodeMcu(component, decodeFn, mcu, j, k);\\\\n }\\\\n }\\\\n }\\\\n mcu++;\\\\n\\\\n // If we've reached our expected MCU's, stop decoding\\\\n if (mcu === mcuExpected) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n // find marker\\\\n bitsCount = 0;\\\\n marker = (data[offset] << 8) | data[offset + 1];\\\\n if (marker < 0xFF00) {\\\\n throw new Error('marker was not found');\\\\n }\\\\n\\\\n if (marker >= 0xFFD0 && marker <= 0xFFD7) { // RSTx\\\\n offset += 2;\\\\n } else {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n return offset - startOffset;\\\\n}\\\\n\\\\nfunction buildComponentData(frame, component) {\\\\n const lines = [];\\\\n const { blocksPerLine, blocksPerColumn } = component;\\\\n const samplesPerLine = blocksPerLine << 3;\\\\n const R = new Int32Array(64);\\\\n const r = new Uint8Array(64);\\\\n\\\\n // A port of poppler's IDCT method which in turn is taken from:\\\\n // Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz,\\\\n // \\\\\\\"Practical Fast 1-D DCT Algorithms with 11 Multiplications\\\\\\\",\\\\n // IEEE Intl. Conf. on Acoustics, Speech & Signal Processing, 1989,\\\\n // 988-991.\\\\n function quantizeAndInverse(zz, dataOut, dataIn) {\\\\n const qt = component.quantizationTable;\\\\n let v0;\\\\n let v1;\\\\n let v2;\\\\n let v3;\\\\n let v4;\\\\n let v5;\\\\n let v6;\\\\n let v7;\\\\n let t;\\\\n const p = dataIn;\\\\n let i;\\\\n\\\\n // dequant\\\\n for (i = 0; i < 64; i++) {\\\\n p[i] = zz[i] * qt[i];\\\\n }\\\\n\\\\n // inverse DCT on rows\\\\n for (i = 0; i < 8; ++i) {\\\\n const row = 8 * i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[1 + row] === 0 && p[2 + row] === 0 && p[3 + row] === 0\\\\n && p[4 + row] === 0 && p[5 + row] === 0 && p[6 + row] === 0\\\\n && p[7 + row] === 0) {\\\\n t = ((dctSqrt2 * p[0 + row]) + 512) >> 10;\\\\n p[0 + row] = t;\\\\n p[1 + row] = t;\\\\n p[2 + row] = t;\\\\n p[3 + row] = t;\\\\n p[4 + row] = t;\\\\n p[5 + row] = t;\\\\n p[6 + row] = t;\\\\n p[7 + row] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[0 + row]) + 128) >> 8;\\\\n v1 = ((dctSqrt2 * p[4 + row]) + 128) >> 8;\\\\n v2 = p[2 + row];\\\\n v3 = p[6 + row];\\\\n v4 = ((dctSqrt1d2 * (p[1 + row] - p[7 + row])) + 128) >> 8;\\\\n v7 = ((dctSqrt1d2 * (p[1 + row] + p[7 + row])) + 128) >> 8;\\\\n v5 = p[3 + row] << 4;\\\\n v6 = p[5 + row] << 4;\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 128) >> 8;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 128) >> 8;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[0 + row] = v0 + v7;\\\\n p[7 + row] = v0 - v7;\\\\n p[1 + row] = v1 + v6;\\\\n p[6 + row] = v1 - v6;\\\\n p[2 + row] = v2 + v5;\\\\n p[5 + row] = v2 - v5;\\\\n p[3 + row] = v3 + v4;\\\\n p[4 + row] = v3 - v4;\\\\n }\\\\n\\\\n // inverse DCT on columns\\\\n for (i = 0; i < 8; ++i) {\\\\n const col = i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[(1 * 8) + col] === 0 && p[(2 * 8) + col] === 0 && p[(3 * 8) + col] === 0\\\\n && p[(4 * 8) + col] === 0 && p[(5 * 8) + col] === 0 && p[(6 * 8) + col] === 0\\\\n && p[(7 * 8) + col] === 0) {\\\\n t = ((dctSqrt2 * dataIn[i + 0]) + 8192) >> 14;\\\\n p[(0 * 8) + col] = t;\\\\n p[(1 * 8) + col] = t;\\\\n p[(2 * 8) + col] = t;\\\\n p[(3 * 8) + col] = t;\\\\n p[(4 * 8) + col] = t;\\\\n p[(5 * 8) + col] = t;\\\\n p[(6 * 8) + col] = t;\\\\n p[(7 * 8) + col] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[(0 * 8) + col]) + 2048) >> 12;\\\\n v1 = ((dctSqrt2 * p[(4 * 8) + col]) + 2048) >> 12;\\\\n v2 = p[(2 * 8) + col];\\\\n v3 = p[(6 * 8) + col];\\\\n v4 = ((dctSqrt1d2 * (p[(1 * 8) + col] - p[(7 * 8) + col])) + 2048) >> 12;\\\\n v7 = ((dctSqrt1d2 * (p[(1 * 8) + col] + p[(7 * 8) + col])) + 2048) >> 12;\\\\n v5 = p[(3 * 8) + col];\\\\n v6 = p[(5 * 8) + col];\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 2048) >> 12;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 2048) >> 12;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[(0 * 8) + col] = v0 + v7;\\\\n p[(7 * 8) + col] = v0 - v7;\\\\n p[(1 * 8) + col] = v1 + v6;\\\\n p[(6 * 8) + col] = v1 - v6;\\\\n p[(2 * 8) + col] = v2 + v5;\\\\n p[(5 * 8) + col] = v2 - v5;\\\\n p[(3 * 8) + col] = v3 + v4;\\\\n p[(4 * 8) + col] = v3 - v4;\\\\n }\\\\n\\\\n // convert to 8-bit integers\\\\n for (i = 0; i < 64; ++i) {\\\\n const sample = 128 + ((p[i] + 8) >> 4);\\\\n if (sample < 0) {\\\\n dataOut[i] = 0;\\\\n } else if (sample > 0XFF) {\\\\n dataOut[i] = 0xFF;\\\\n } else {\\\\n dataOut[i] = sample;\\\\n }\\\\n }\\\\n }\\\\n\\\\n for (let blockRow = 0; blockRow < blocksPerColumn; blockRow++) {\\\\n const scanLine = blockRow << 3;\\\\n for (let i = 0; i < 8; i++) {\\\\n lines.push(new Uint8Array(samplesPerLine));\\\\n }\\\\n for (let blockCol = 0; blockCol < blocksPerLine; blockCol++) {\\\\n quantizeAndInverse(component.blocks[blockRow][blockCol], r, R);\\\\n\\\\n let offset = 0;\\\\n const sample = blockCol << 3;\\\\n for (let j = 0; j < 8; j++) {\\\\n const line = lines[scanLine + j];\\\\n for (let i = 0; i < 8; i++) {\\\\n line[sample + i] = r[offset++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return lines;\\\\n}\\\\n\\\\nclass JpegStreamReader {\\\\n constructor() {\\\\n this.jfif = null;\\\\n this.adobe = null;\\\\n\\\\n this.quantizationTables = [];\\\\n this.huffmanTablesAC = [];\\\\n this.huffmanTablesDC = [];\\\\n this.resetFrames();\\\\n }\\\\n\\\\n resetFrames() {\\\\n this.frames = [];\\\\n }\\\\n\\\\n parse(data) {\\\\n let offset = 0;\\\\n // const { length } = data;\\\\n function readUint16() {\\\\n const value = (data[offset] << 8) | data[offset + 1];\\\\n offset += 2;\\\\n return value;\\\\n }\\\\n function readDataBlock() {\\\\n const length = readUint16();\\\\n const array = data.subarray(offset, offset + length - 2);\\\\n offset += array.length;\\\\n return array;\\\\n }\\\\n function prepareComponents(frame) {\\\\n let maxH = 0;\\\\n let maxV = 0;\\\\n let component;\\\\n let componentId;\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n if (maxH < component.h) {\\\\n maxH = component.h;\\\\n }\\\\n if (maxV < component.v) {\\\\n maxV = component.v;\\\\n }\\\\n }\\\\n }\\\\n const mcusPerLine = Math.ceil(frame.samplesPerLine / 8 / maxH);\\\\n const mcusPerColumn = Math.ceil(frame.scanLines / 8 / maxV);\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n const blocksPerLine = Math.ceil(Math.ceil(frame.samplesPerLine / 8) * component.h / maxH);\\\\n const blocksPerColumn = Math.ceil(Math.ceil(frame.scanLines / 8) * component.v / maxV);\\\\n const blocksPerLineForMcu = mcusPerLine * component.h;\\\\n const blocksPerColumnForMcu = mcusPerColumn * component.v;\\\\n const blocks = [];\\\\n for (let i = 0; i < blocksPerColumnForMcu; i++) {\\\\n const row = [];\\\\n for (let j = 0; j < blocksPerLineForMcu; j++) {\\\\n row.push(new Int32Array(64));\\\\n }\\\\n blocks.push(row);\\\\n }\\\\n component.blocksPerLine = blocksPerLine;\\\\n component.blocksPerColumn = blocksPerColumn;\\\\n component.blocks = blocks;\\\\n }\\\\n }\\\\n frame.maxH = maxH;\\\\n frame.maxV = maxV;\\\\n frame.mcusPerLine = mcusPerLine;\\\\n frame.mcusPerColumn = mcusPerColumn;\\\\n }\\\\n\\\\n let fileMarker = readUint16();\\\\n if (fileMarker !== 0xFFD8) { // SOI (Start of Image)\\\\n throw new Error('SOI not found');\\\\n }\\\\n\\\\n fileMarker = readUint16();\\\\n while (fileMarker !== 0xFFD9) { // EOI (End of image)\\\\n switch (fileMarker) {\\\\n case 0xFF00: break;\\\\n case 0xFFE0: // APP0 (Application Specific)\\\\n case 0xFFE1: // APP1\\\\n case 0xFFE2: // APP2\\\\n case 0xFFE3: // APP3\\\\n case 0xFFE4: // APP4\\\\n case 0xFFE5: // APP5\\\\n case 0xFFE6: // APP6\\\\n case 0xFFE7: // APP7\\\\n case 0xFFE8: // APP8\\\\n case 0xFFE9: // APP9\\\\n case 0xFFEA: // APP10\\\\n case 0xFFEB: // APP11\\\\n case 0xFFEC: // APP12\\\\n case 0xFFED: // APP13\\\\n case 0xFFEE: // APP14\\\\n case 0xFFEF: // APP15\\\\n case 0xFFFE: { // COM (Comment)\\\\n const appData = readDataBlock();\\\\n\\\\n if (fileMarker === 0xFFE0) {\\\\n if (appData[0] === 0x4A && appData[1] === 0x46 && appData[2] === 0x49\\\\n && appData[3] === 0x46 && appData[4] === 0) { // 'JFIF\\\\\\\\x00'\\\\n this.jfif = {\\\\n version: { major: appData[5], minor: appData[6] },\\\\n densityUnits: appData[7],\\\\n xDensity: (appData[8] << 8) | appData[9],\\\\n yDensity: (appData[10] << 8) | appData[11],\\\\n thumbWidth: appData[12],\\\\n thumbHeight: appData[13],\\\\n thumbData: appData.subarray(14, 14 + (3 * appData[12] * appData[13])),\\\\n };\\\\n }\\\\n }\\\\n // TODO APP1 - Exif\\\\n if (fileMarker === 0xFFEE) {\\\\n if (appData[0] === 0x41 && appData[1] === 0x64 && appData[2] === 0x6F\\\\n && appData[3] === 0x62 && appData[4] === 0x65 && appData[5] === 0) { // 'Adobe\\\\\\\\x00'\\\\n this.adobe = {\\\\n version: appData[6],\\\\n flags0: (appData[7] << 8) | appData[8],\\\\n flags1: (appData[9] << 8) | appData[10],\\\\n transformCode: appData[11],\\\\n };\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDB: { // DQT (Define Quantization Tables)\\\\n const quantizationTablesLength = readUint16();\\\\n const quantizationTablesEnd = quantizationTablesLength + offset - 2;\\\\n while (offset < quantizationTablesEnd) {\\\\n const quantizationTableSpec = data[offset++];\\\\n const tableData = new Int32Array(64);\\\\n if ((quantizationTableSpec >> 4) === 0) { // 8 bit values\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = data[offset++];\\\\n }\\\\n } else if ((quantizationTableSpec >> 4) === 1) { // 16 bit\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = readUint16();\\\\n }\\\\n } else {\\\\n throw new Error('DQT: invalid table spec');\\\\n }\\\\n this.quantizationTables[quantizationTableSpec & 15] = tableData;\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC0: // SOF0 (Start of Frame, Baseline DCT)\\\\n case 0xFFC1: // SOF1 (Start of Frame, Extended DCT)\\\\n case 0xFFC2: { // SOF2 (Start of Frame, Progressive DCT)\\\\n readUint16(); // skip data length\\\\n const frame = {\\\\n extended: (fileMarker === 0xFFC1),\\\\n progressive: (fileMarker === 0xFFC2),\\\\n precision: data[offset++],\\\\n scanLines: readUint16(),\\\\n samplesPerLine: readUint16(),\\\\n components: {},\\\\n componentsOrder: [],\\\\n };\\\\n\\\\n const componentsCount = data[offset++];\\\\n let componentId;\\\\n // let maxH = 0;\\\\n // let maxV = 0;\\\\n for (let i = 0; i < componentsCount; i++) {\\\\n componentId = data[offset];\\\\n const h = data[offset + 1] >> 4;\\\\n const v = data[offset + 1] & 15;\\\\n const qId = data[offset + 2];\\\\n frame.componentsOrder.push(componentId);\\\\n frame.components[componentId] = {\\\\n h,\\\\n v,\\\\n quantizationIdx: qId,\\\\n };\\\\n offset += 3;\\\\n }\\\\n prepareComponents(frame);\\\\n this.frames.push(frame);\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC4: { // DHT (Define Huffman Tables)\\\\n const huffmanLength = readUint16();\\\\n for (let i = 2; i < huffmanLength;) {\\\\n const huffmanTableSpec = data[offset++];\\\\n const codeLengths = new Uint8Array(16);\\\\n let codeLengthSum = 0;\\\\n for (let j = 0; j < 16; j++, offset++) {\\\\n codeLengths[j] = data[offset];\\\\n codeLengthSum += codeLengths[j];\\\\n }\\\\n const huffmanValues = new Uint8Array(codeLengthSum);\\\\n for (let j = 0; j < codeLengthSum; j++, offset++) {\\\\n huffmanValues[j] = data[offset];\\\\n }\\\\n i += 17 + codeLengthSum;\\\\n\\\\n if ((huffmanTableSpec >> 4) === 0) {\\\\n this.huffmanTablesDC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n } else {\\\\n this.huffmanTablesAC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDD: // DRI (Define Restart Interval)\\\\n readUint16(); // skip data length\\\\n this.resetInterval = readUint16();\\\\n break;\\\\n\\\\n case 0xFFDA: { // SOS (Start of Scan)\\\\n readUint16(); // skip length\\\\n const selectorsCount = data[offset++];\\\\n const components = [];\\\\n const frame = this.frames[0];\\\\n for (let i = 0; i < selectorsCount; i++) {\\\\n const component = frame.components[data[offset++]];\\\\n const tableSpec = data[offset++];\\\\n component.huffmanTableDC = this.huffmanTablesDC[tableSpec >> 4];\\\\n component.huffmanTableAC = this.huffmanTablesAC[tableSpec & 15];\\\\n components.push(component);\\\\n }\\\\n const spectralStart = data[offset++];\\\\n const spectralEnd = data[offset++];\\\\n const successiveApproximation = data[offset++];\\\\n const processed = decodeScan(data, offset,\\\\n frame, components, this.resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successiveApproximation >> 4, successiveApproximation & 15);\\\\n offset += processed;\\\\n break;\\\\n }\\\\n\\\\n case 0xFFFF: // Fill bytes\\\\n if (data[offset] !== 0xFF) { // Avoid skipping a valid marker.\\\\n offset--;\\\\n }\\\\n break;\\\\n\\\\n default:\\\\n if (data[offset - 3] === 0xFF\\\\n && data[offset - 2] >= 0xC0 && data[offset - 2] <= 0xFE) {\\\\n // could be incorrect encoding -- last 0xFF byte of the previous\\\\n // block was eaten by the encoder\\\\n offset -= 3;\\\\n break;\\\\n }\\\\n throw new Error(`unknown JPEG marker ${fileMarker.toString(16)}`);\\\\n }\\\\n fileMarker = readUint16();\\\\n }\\\\n }\\\\n\\\\n getResult() {\\\\n const { frames } = this;\\\\n if (this.frames.length === 0) {\\\\n throw new Error('no frames were decoded');\\\\n } else if (this.frames.length > 1) {\\\\n console.warn('more than one frame is not supported');\\\\n }\\\\n\\\\n // set each frame's components quantization table\\\\n for (let i = 0; i < this.frames.length; i++) {\\\\n const cp = this.frames[i].components;\\\\n for (const j of Object.keys(cp)) {\\\\n cp[j].quantizationTable = this.quantizationTables[cp[j].quantizationIdx];\\\\n delete cp[j].quantizationIdx;\\\\n }\\\\n }\\\\n\\\\n const frame = frames[0];\\\\n const { components, componentsOrder } = frame;\\\\n const outComponents = [];\\\\n const width = frame.samplesPerLine;\\\\n const height = frame.scanLines;\\\\n\\\\n for (let i = 0; i < componentsOrder.length; i++) {\\\\n const component = components[componentsOrder[i]];\\\\n outComponents.push({\\\\n lines: buildComponentData(frame, component),\\\\n scaleX: component.h / frame.maxH,\\\\n scaleY: component.v / frame.maxV,\\\\n });\\\\n }\\\\n\\\\n const out = new Uint8Array(width * height * outComponents.length);\\\\n let oi = 0;\\\\n for (let y = 0; y < height; ++y) {\\\\n for (let x = 0; x < width; ++x) {\\\\n for (let i = 0; i < outComponents.length; ++i) {\\\\n const component = outComponents[i];\\\\n out[oi] = component.lines[0 | y * component.scaleY][0 | x * component.scaleX];\\\\n ++oi;\\\\n }\\\\n }\\\\n }\\\\n return out;\\\\n }\\\\n}\\\\n\\\\nclass JpegDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor(fileDirectory) {\\\\n super();\\\\n this.reader = new JpegStreamReader();\\\\n if (fileDirectory.JPEGTables) {\\\\n this.reader.parse(fileDirectory.JPEGTables);\\\\n }\\\\n }\\\\n\\\\n decodeBlock(buffer) {\\\\n this.reader.resetFrames();\\\\n this.reader.parse(new Uint8Array(buffer));\\\\n return this.reader.getResult().buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/jpeg.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/lzw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/lzw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return LZWDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nconst MIN_BITS = 9;\\\\nconst CLEAR_CODE = 256; // clear code\\\\nconst EOI_CODE = 257; // end of information\\\\nconst MAX_BYTELENGTH = 12;\\\\n\\\\nfunction getByte(array, position, length) {\\\\n const d = position % 8;\\\\n const a = Math.floor(position / 8);\\\\n const de = 8 - d;\\\\n const ef = (position + length) - ((a + 1) * 8);\\\\n let fg = (8 * (a + 2)) - (position + length);\\\\n const dg = ((a + 2) * 8) - position;\\\\n fg = Math.max(0, fg);\\\\n if (a >= array.length) {\\\\n console.warn('ran off the end of the buffer before finding EOI_CODE (end on input code)');\\\\n return EOI_CODE;\\\\n }\\\\n let chunk1 = array[a] & ((2 ** (8 - d)) - 1);\\\\n chunk1 <<= (length - de);\\\\n let chunks = chunk1;\\\\n if (a + 1 < array.length) {\\\\n let chunk2 = array[a + 1] >>> fg;\\\\n chunk2 <<= Math.max(0, (length - dg));\\\\n chunks += chunk2;\\\\n }\\\\n if (ef > 8 && a + 2 < array.length) {\\\\n const hi = ((a + 3) * 8) - (position + length);\\\\n const chunk3 = array[a + 2] >>> hi;\\\\n chunks += chunk3;\\\\n }\\\\n return chunks;\\\\n}\\\\n\\\\nfunction appendReversed(dest, source) {\\\\n for (let i = source.length - 1; i >= 0; i--) {\\\\n dest.push(source[i]);\\\\n }\\\\n return dest;\\\\n}\\\\n\\\\nfunction decompress(input) {\\\\n const dictionaryIndex = new Uint16Array(4093);\\\\n const dictionaryChar = new Uint8Array(4093);\\\\n for (let i = 0; i <= 257; i++) {\\\\n dictionaryIndex[i] = 4096;\\\\n dictionaryChar[i] = i;\\\\n }\\\\n let dictionaryLength = 258;\\\\n let byteLength = MIN_BITS;\\\\n let position = 0;\\\\n\\\\n function initDictionary() {\\\\n dictionaryLength = 258;\\\\n byteLength = MIN_BITS;\\\\n }\\\\n function getNext(array) {\\\\n const byte = getByte(array, position, byteLength);\\\\n position += byteLength;\\\\n return byte;\\\\n }\\\\n function addToDictionary(i, c) {\\\\n dictionaryChar[dictionaryLength] = c;\\\\n dictionaryIndex[dictionaryLength] = i;\\\\n dictionaryLength++;\\\\n return dictionaryLength - 1;\\\\n }\\\\n function getDictionaryReversed(n) {\\\\n const rev = [];\\\\n for (let i = n; i !== 4096; i = dictionaryIndex[i]) {\\\\n rev.push(dictionaryChar[i]);\\\\n }\\\\n return rev;\\\\n }\\\\n\\\\n const result = [];\\\\n initDictionary();\\\\n const array = new Uint8Array(input);\\\\n let code = getNext(array);\\\\n let oldCode;\\\\n while (code !== EOI_CODE) {\\\\n if (code === CLEAR_CODE) {\\\\n initDictionary();\\\\n code = getNext(array);\\\\n while (code === CLEAR_CODE) {\\\\n code = getNext(array);\\\\n }\\\\n\\\\n if (code === EOI_CODE) {\\\\n break;\\\\n } else if (code > CLEAR_CODE) {\\\\n throw new Error(`corrupted code at scanline ${code}`);\\\\n } else {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n oldCode = code;\\\\n }\\\\n } else if (code < dictionaryLength) {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n addToDictionary(oldCode, val[val.length - 1]);\\\\n oldCode = code;\\\\n } else {\\\\n const oldVal = getDictionaryReversed(oldCode);\\\\n if (!oldVal) {\\\\n throw new Error(`Bogus entry. Not in dictionary, ${oldCode} / ${dictionaryLength}, position: ${position}`);\\\\n }\\\\n appendReversed(result, oldVal);\\\\n result.push(oldVal[oldVal.length - 1]);\\\\n addToDictionary(oldCode, oldVal[oldVal.length - 1]);\\\\n oldCode = code;\\\\n }\\\\n\\\\n if (dictionaryLength + 1 >= (2 ** byteLength)) {\\\\n if (byteLength === MAX_BYTELENGTH) {\\\\n oldCode = undefined;\\\\n } else {\\\\n byteLength++;\\\\n }\\\\n }\\\\n code = getNext(array);\\\\n }\\\\n return new Uint8Array(result);\\\\n}\\\\n\\\\nclass LZWDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return decompress(buffer, false).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/lzw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/packbits.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/packbits.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return PackbitsDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass PackbitsDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n const dataView = new DataView(buffer);\\\\n const out = [];\\\\n\\\\n for (let i = 0; i < buffer.byteLength; ++i) {\\\\n let header = dataView.getInt8(i);\\\\n if (header < 0) {\\\\n const next = dataView.getUint8(i + 1);\\\\n header = -header;\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(next);\\\\n }\\\\n i += 1;\\\\n } else {\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(dataView.getUint8(i + j + 1));\\\\n }\\\\n i += header + 1;\\\\n }\\\\n }\\\\n return new Uint8Array(out).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/packbits.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/raw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/raw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return RawDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass RawDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/raw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataslice.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataslice.js ***!\\n \\\\***********************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataSlice; });\\\\nclass DataSlice {\\\\n constructor(arrayBuffer, sliceOffset, littleEndian, bigTiff) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n this._sliceOffset = sliceOffset;\\\\n this._littleEndian = littleEndian;\\\\n this._bigTiff = bigTiff;\\\\n }\\\\n\\\\n get sliceOffset() {\\\\n return this._sliceOffset;\\\\n }\\\\n\\\\n get sliceTop() {\\\\n return this._sliceOffset + this.buffer.byteLength;\\\\n }\\\\n\\\\n get littleEndian() {\\\\n return this._littleEndian;\\\\n }\\\\n\\\\n get bigTiff() {\\\\n return this._bigTiff;\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n covers(offset, length) {\\\\n return this.sliceOffset <= offset && this.sliceTop >= offset + length;\\\\n }\\\\n\\\\n readUint8(offset) {\\\\n return this._dataView.getUint8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt8(offset) {\\\\n return this._dataView.getInt8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint16(offset) {\\\\n return this._dataView.getUint16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt16(offset) {\\\\n return this._dataView.getInt16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint32(offset) {\\\\n return this._dataView.getUint32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt32(offset) {\\\\n return this._dataView.getInt32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat32(offset) {\\\\n return this._dataView.getFloat32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat64(offset) {\\\\n return this._dataView.getFloat64(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint64(offset) {\\\\n const left = this.readUint32(offset);\\\\n const right = this.readUint32(offset + 4);\\\\n let combined;\\\\n if (this._littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n readInt64(offset) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (this._littleEndian ? 7 : 0)) & 0x80) >\\\\n 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(\\\\n offset + (this._littleEndian ? i : 7 - i)\\\\n );\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value\\\\n }\\\\n\\\\n readOffset(offset) {\\\\n if (this._bigTiff) {\\\\n return this.readUint64(offset);\\\\n }\\\\n return this.readUint32(offset);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataslice.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataview64.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataview64.js ***!\\n \\\\************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataView64; });\\\\nclass DataView64 {\\\\n constructor(arrayBuffer) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n getUint64(offset, littleEndian) {\\\\n const left = this.getUint32(offset, littleEndian);\\\\n const right = this.getUint32(offset + 4, littleEndian);\\\\n let combined;\\\\n if (littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n getInt64(offset, littleEndian) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (littleEndian ? 7 : 0)) & 0x80) > 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(offset + (littleEndian ? i : 7 - i));\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value;\\\\n }\\\\n\\\\n getUint8(offset, littleEndian) {\\\\n return this._dataView.getUint8(offset, littleEndian);\\\\n }\\\\n\\\\n getInt8(offset, littleEndian) {\\\\n return this._dataView.getInt8(offset, littleEndian);\\\\n }\\\\n\\\\n getUint16(offset, littleEndian) {\\\\n return this._dataView.getUint16(offset, littleEndian);\\\\n }\\\\n\\\\n getInt16(offset, littleEndian) {\\\\n return this._dataView.getInt16(offset, littleEndian);\\\\n }\\\\n\\\\n getUint32(offset, littleEndian) {\\\\n return this._dataView.getUint32(offset, littleEndian);\\\\n }\\\\n\\\\n getInt32(offset, littleEndian) {\\\\n return this._dataView.getInt32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat32(offset, littleEndian) {\\\\n return this._dataView.getFloat32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat64(offset, littleEndian) {\\\\n return this._dataView.getFloat64(offset, littleEndian);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataview64.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiff.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiff.js ***!\\n \\\\*********************************************/\\n/*! exports provided: globals, rgb, getDecoder, setLogger, GeoTIFF, default, MultiGeoTIFF, fromUrl, fromArrayBuffer, fromFile, fromBlob, fromUrls, writeArrayBuffer, Pool */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"GeoTIFF\\\\\\\", function() { return GeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"MultiGeoTIFF\\\\\\\", function() { return MultiGeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrl\\\\\\\", function() { return fromUrl; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromArrayBuffer\\\\\\\", function() { return fromArrayBuffer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromFile\\\\\\\", function() { return fromFile; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlob\\\\\\\", function() { return fromBlob; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrls\\\\\\\", function() { return fromUrls; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeArrayBuffer\\\\\\\", function() { return writeArrayBuffer; });\\\\n/* harmony import */ var _geotiffimage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./geotiffimage */ \\\\\\\"./node_modules/geotiff/src/geotiffimage.js\\\\\\\");\\\\n/* harmony import */ var _dataview64__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dataview64 */ \\\\\\\"./node_modules/geotiff/src/dataview64.js\\\\\\\");\\\\n/* harmony import */ var _dataslice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dataslice */ \\\\\\\"./node_modules/geotiff/src/dataslice.js\\\\\\\");\\\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pool */ \\\\\\\"./node_modules/geotiff/src/pool.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _pool__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _source__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source */ \\\\\\\"./node_modules/geotiff/src/source.js\\\\\\\");\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _geotiffwriter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./geotiffwriter */ \\\\\\\"./node_modules/geotiff/src/geotiffwriter.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"globals\\\\\\\", function() { return _globals__WEBPACK_IMPORTED_MODULE_5__; });\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"rgb\\\\\\\", function() { return _rgb__WEBPACK_IMPORTED_MODULE_7__; });\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return _compression__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"getDecoder\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _logging__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./logging */ \\\\\\\"./node_modules/geotiff/src/logging.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return _logging__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"setLogger\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getFieldTypeLength(fieldType) {\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n return 1;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n return 2;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n return 4;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n return 8;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n}\\\\n\\\\nfunction parseGeoKeyDirectory(fileDirectory) {\\\\n const rawGeoKeyDirectory = fileDirectory.GeoKeyDirectory;\\\\n if (!rawGeoKeyDirectory) {\\\\n return null;\\\\n }\\\\n\\\\n const geoKeyDirectory = {};\\\\n for (let i = 4; i <= rawGeoKeyDirectory[3] * 4; i += 4) {\\\\n const key = _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"geoKeyNames\\\\\\\"][rawGeoKeyDirectory[i]];\\\\n const location = (rawGeoKeyDirectory[i + 1])\\\\n ? (_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][rawGeoKeyDirectory[i + 1]]) : null;\\\\n const count = rawGeoKeyDirectory[i + 2];\\\\n const offset = rawGeoKeyDirectory[i + 3];\\\\n\\\\n let value = null;\\\\n if (!location) {\\\\n value = offset;\\\\n } else {\\\\n value = fileDirectory[location];\\\\n if (typeof value === 'undefined' || value === null) {\\\\n throw new Error(`Could not get value of geoKey '${key}'.`);\\\\n } else if (typeof value === 'string') {\\\\n value = value.substring(offset, offset + count - 1);\\\\n } else if (value.subarray) {\\\\n value = value.subarray(offset, offset + count);\\\\n if (count === 1) {\\\\n value = value[0];\\\\n }\\\\n }\\\\n }\\\\n geoKeyDirectory[key] = value;\\\\n }\\\\n return geoKeyDirectory;\\\\n}\\\\n\\\\nfunction getValues(dataSlice, fieldType, count, offset) {\\\\n let values = null;\\\\n let readMethod = null;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n values = new Uint8Array(count); readMethod = dataSlice.readUint8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE:\\\\n values = new Int8Array(count); readMethod = dataSlice.readInt8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT:\\\\n values = new Uint16Array(count); readMethod = dataSlice.readUint16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n values = new Int16Array(count); readMethod = dataSlice.readInt16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n values = new Uint32Array(count); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG:\\\\n values = new Int32Array(count); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n values = new Array(count); readMethod = dataSlice.readUint64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8:\\\\n values = new Array(count); readMethod = dataSlice.readInt64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL:\\\\n values = new Uint32Array(count * 2); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL:\\\\n values = new Int32Array(count * 2); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT:\\\\n values = new Float32Array(count); readMethod = dataSlice.readFloat32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n values = new Float64Array(count); readMethod = dataSlice.readFloat64;\\\\n break;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n\\\\n // normal fields\\\\n if (!(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n for (let i = 0; i < count; ++i) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n }\\\\n } else { // RATIONAL or SRATIONAL\\\\n for (let i = 0; i < count; i += 2) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n values[i + 1] = readMethod.call(\\\\n dataSlice, offset + ((i * fieldTypeLength) + 4),\\\\n );\\\\n }\\\\n }\\\\n\\\\n if (fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII) {\\\\n return String.fromCharCode.apply(null, values);\\\\n }\\\\n return values;\\\\n}\\\\n\\\\n/**\\\\n * Data class to store the parsed file directory, geo key directory and\\\\n * offset to the next IFD\\\\n */\\\\nclass ImageFileDirectory {\\\\n constructor(fileDirectory, geoKeyDirectory, nextIFDByteOffset) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeyDirectory = geoKeyDirectory;\\\\n this.nextIFDByteOffset = nextIFDByteOffset;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Error class for cases when an IFD index was requested, that does not exist\\\\n * in the file.\\\\n */\\\\nclass GeoTIFFImageIndexError extends Error {\\\\n constructor(index) {\\\\n super(`No image at index ${index}`);\\\\n this.index = index;\\\\n }\\\\n}\\\\n\\\\n\\\\nclass GeoTIFFBase {\\\\n /**\\\\n * (experimental) Reads raster data from the best fitting image. This function uses\\\\n * the image with the lowest resolution that is still a higher resolution than the\\\\n * requested resolution.\\\\n * When specified, the `bbox` option is translated to the `window` option and the\\\\n * `resX` and `resY` to `width` and `height` respectively.\\\\n * Then, the [readRasters]{@link GeoTIFFImage#readRasters} method of the selected\\\\n * image is called and the result returned.\\\\n * @see GeoTIFFImage.readRasters\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.bbox=whole image] the subset to read data from in\\\\n * geographical coordinates.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {Number} [options.width] The desired width of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {Number} [options.height] The desired height of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {String} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {Number|Number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When multiple\\\\n * samples are requested, an array of fill values\\\\n * can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters(options = {}) {\\\\n const { window: imageWindow, width, height } = options;\\\\n let { resX, resY, bbox } = options;\\\\n\\\\n const firstImage = await this.getImage();\\\\n let usedImage = firstImage;\\\\n const imageCount = await this.getImageCount();\\\\n const imgBBox = firstImage.getBoundingBox();\\\\n\\\\n if (imageWindow && bbox) {\\\\n throw new Error('Both \\\\\\\"bbox\\\\\\\" and \\\\\\\"window\\\\\\\" passed.');\\\\n }\\\\n\\\\n // if width/height is passed, transform it to resolution\\\\n if (width || height) {\\\\n // if we have an image window (pixel coordinates), transform it to a BBox\\\\n // using the origin/resolution of the first image.\\\\n if (imageWindow) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [rX, rY] = firstImage.getResolution();\\\\n\\\\n bbox = [\\\\n oX + (imageWindow[0] * rX),\\\\n oY + (imageWindow[1] * rY),\\\\n oX + (imageWindow[2] * rX),\\\\n oY + (imageWindow[3] * rY),\\\\n ];\\\\n }\\\\n\\\\n // if we have a bbox (or calculated one)\\\\n\\\\n const usedBBox = bbox || imgBBox;\\\\n\\\\n if (width) {\\\\n if (resX) {\\\\n throw new Error('Both width and resX passed');\\\\n }\\\\n resX = (usedBBox[2] - usedBBox[0]) / width;\\\\n }\\\\n if (height) {\\\\n if (resY) {\\\\n throw new Error('Both width and resY passed');\\\\n }\\\\n resY = (usedBBox[3] - usedBBox[1]) / height;\\\\n }\\\\n }\\\\n\\\\n // if resolution is set or calculated, try to get the image with the worst acceptable resolution\\\\n if (resX || resY) {\\\\n const allImages = [];\\\\n for (let i = 0; i < imageCount; ++i) {\\\\n const image = await this.getImage(i);\\\\n const { SubfileType: subfileType, NewSubfileType: newSubfileType } = image.fileDirectory;\\\\n if (i === 0 || subfileType === 2 || newSubfileType & 1) {\\\\n allImages.push(image);\\\\n }\\\\n }\\\\n\\\\n allImages.sort((a, b) => a.getWidth() - b.getWidth());\\\\n for (let i = 0; i < allImages.length; ++i) {\\\\n const image = allImages[i];\\\\n const imgResX = (imgBBox[2] - imgBBox[0]) / image.getWidth();\\\\n const imgResY = (imgBBox[3] - imgBBox[1]) / image.getHeight();\\\\n\\\\n usedImage = image;\\\\n if ((resX && resX > imgResX) || (resY && resY > imgResY)) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n let wnd = imageWindow;\\\\n if (bbox) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [imageResX, imageResY] = usedImage.getResolution(firstImage);\\\\n\\\\n wnd = [\\\\n Math.round((bbox[0] - oX) / imageResX),\\\\n Math.round((bbox[1] - oY) / imageResY),\\\\n Math.round((bbox[2] - oX) / imageResX),\\\\n Math.round((bbox[3] - oY) / imageResY),\\\\n ];\\\\n wnd = [\\\\n Math.min(wnd[0], wnd[2]),\\\\n Math.min(wnd[1], wnd[3]),\\\\n Math.max(wnd[0], wnd[2]),\\\\n Math.max(wnd[1], wnd[3]),\\\\n ];\\\\n }\\\\n\\\\n return usedImage.readRasters({ ...options, window: wnd });\\\\n }\\\\n}\\\\n\\\\n\\\\n/**\\\\n * The abstraction for a whole GeoTIFF file.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass GeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * @constructor\\\\n * @param {Source} source The datasource to read from.\\\\n * @param {Boolean} littleEndian Whether the image uses little endian.\\\\n * @param {Boolean} bigTiff Whether the image uses bigTIFF conventions.\\\\n * @param {Number} firstIFDOffset The numeric byte-offset from the start of the image\\\\n * to the first IFD.\\\\n * @param {Object} [options] further options.\\\\n * @param {Boolean} [options.cache=false] whether or not decoded tiles shall be cached.\\\\n */\\\\n constructor(source, littleEndian, bigTiff, firstIFDOffset, options = {}) {\\\\n super();\\\\n this.source = source;\\\\n this.littleEndian = littleEndian;\\\\n this.bigTiff = bigTiff;\\\\n this.firstIFDOffset = firstIFDOffset;\\\\n this.cache = options.cache || false;\\\\n this.ifdRequests = [];\\\\n this.ghostValues = null;\\\\n }\\\\n\\\\n async getSlice(offset, size) {\\\\n const fallbackSize = this.bigTiff ? 4048 : 1024;\\\\n return new _dataslice__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](\\\\n await this.source.fetch(\\\\n offset, typeof size !== 'undefined' ? size : fallbackSize,\\\\n ), offset, this.littleEndian, this.bigTiff,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Instructs to parse an image file directory at the given file offset.\\\\n * As there is no way to ensure that a location is indeed the start of an IFD,\\\\n * this function must be called with caution (e.g only using the IFD offsets from\\\\n * the headers or other IFDs).\\\\n * @param {number} offset the offset to parse the IFD at\\\\n * @returns {ImageFileDirectory} the parsed IFD\\\\n */\\\\n async parseFileDirectoryAt(offset) {\\\\n const entrySize = this.bigTiff ? 20 : 12;\\\\n const offsetSize = this.bigTiff ? 8 : 2;\\\\n\\\\n let dataSlice = await this.getSlice(offset);\\\\n const numDirEntries = this.bigTiff ?\\\\n dataSlice.readUint64(offset) :\\\\n dataSlice.readUint16(offset);\\\\n\\\\n // if the slice does not cover the whole IFD, request a bigger slice, where the\\\\n // whole IFD fits: num of entries + n x tag length + offset to next IFD\\\\n const byteSize = (numDirEntries * entrySize) + (this.bigTiff ? 16 : 6);\\\\n if (!dataSlice.covers(offset, byteSize)) {\\\\n dataSlice = await this.getSlice(offset, byteSize);\\\\n }\\\\n\\\\n const fileDirectory = {};\\\\n\\\\n // loop over the IFD and create a file directory object\\\\n let i = offset + (this.bigTiff ? 8 : 2);\\\\n for (let entryCount = 0; entryCount < numDirEntries; i += entrySize, ++entryCount) {\\\\n const fieldTag = dataSlice.readUint16(i);\\\\n const fieldType = dataSlice.readUint16(i + 2);\\\\n const typeCount = this.bigTiff ?\\\\n dataSlice.readUint64(i + 4) :\\\\n dataSlice.readUint32(i + 4);\\\\n\\\\n let fieldValues;\\\\n let value;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n const valueOffset = i + (this.bigTiff ? 12 : 8);\\\\n\\\\n // check whether the value is directly encoded in the tag or refers to a\\\\n // different external byte range\\\\n if (fieldTypeLength * typeCount <= (this.bigTiff ? 8 : 4)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, valueOffset);\\\\n } else {\\\\n // resolve the reference to the actual byte range\\\\n const actualOffset = dataSlice.readOffset(valueOffset);\\\\n const length = getFieldTypeLength(fieldType) * typeCount;\\\\n\\\\n // check, whether we actually cover the referenced byte range; if not,\\\\n // request a new slice of bytes to read from it\\\\n if (dataSlice.covers(actualOffset, length)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, actualOffset);\\\\n } else {\\\\n const fieldDataSlice = await this.getSlice(actualOffset, length);\\\\n fieldValues = getValues(fieldDataSlice, fieldType, typeCount, actualOffset);\\\\n }\\\\n }\\\\n\\\\n // unpack single values from the array\\\\n if (typeCount === 1 && _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"arrayFields\\\\\\\"].indexOf(fieldTag) === -1 &&\\\\n !(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n value = fieldValues[0];\\\\n } else {\\\\n value = fieldValues;\\\\n }\\\\n\\\\n // write the tags value to the file directly\\\\n fileDirectory[_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][fieldTag]] = value;\\\\n }\\\\n const geoKeyDirectory = parseGeoKeyDirectory(fileDirectory);\\\\n const nextIFDByteOffset = dataSlice.readOffset(\\\\n offset + offsetSize + (entrySize * numDirEntries),\\\\n );\\\\n\\\\n return new ImageFileDirectory(\\\\n fileDirectory,\\\\n geoKeyDirectory,\\\\n nextIFDByteOffset,\\\\n );\\\\n }\\\\n\\\\n async requestIFD(index) {\\\\n // see if we already have that IFD index requested.\\\\n if (this.ifdRequests[index]) {\\\\n // attach to an already requested IFD\\\\n return this.ifdRequests[index];\\\\n } else if (index === 0) {\\\\n // special case for index 0\\\\n this.ifdRequests[index] = this.parseFileDirectoryAt(this.firstIFDOffset);\\\\n return this.ifdRequests[index];\\\\n } else if (!this.ifdRequests[index - 1]) {\\\\n // if the previous IFD was not yet loaded, load that one first\\\\n // this is the recursive call.\\\\n try {\\\\n this.ifdRequests[index - 1] = this.requestIFD(index - 1);\\\\n } catch (e) {\\\\n // if the previous one already was an index error, rethrow\\\\n // with the current index\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n // rethrow anything else\\\\n throw e;\\\\n }\\\\n }\\\\n // if the previous IFD was loaded, we can finally fetch the one we are interested in.\\\\n // we need to wrap this in an IIFE, otherwise this.ifdRequests[index] would be delayed\\\\n this.ifdRequests[index] = (async () => {\\\\n const previousIfd = await this.ifdRequests[index - 1];\\\\n if (previousIfd.nextIFDByteOffset === 0) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n return this.parseFileDirectoryAt(previousIfd.nextIFDByteOffset);\\\\n })();\\\\n return this.ifdRequests[index];\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n const ifd = await this.requestIFD(index);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, ifd.geoKeyDirectory,\\\\n this.dataView, this.littleEndian, this.cache, this.source,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n let index = 0;\\\\n // loop until we run out of IFDs\\\\n let hasNext = true;\\\\n while (hasNext) {\\\\n try {\\\\n await this.requestIFD(index);\\\\n ++index;\\\\n } catch (e) {\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n hasNext = false;\\\\n } else {\\\\n throw e;\\\\n }\\\\n }\\\\n }\\\\n return index;\\\\n }\\\\n\\\\n /**\\\\n * Get the values of the COG ghost area as a parsed map.\\\\n * See https://gdal.org/drivers/raster/cog.html#header-ghost-area for reference\\\\n * @returns {Object} the parsed ghost area or null, if no such area was found\\\\n */\\\\n async getGhostValues() {\\\\n const offset = this.bigTiff ? 16 : 8;\\\\n if (this.ghostValues) {\\\\n return this.ghostValues;\\\\n }\\\\n const detectionString = 'GDAL_STRUCTURAL_METADATA_SIZE=';\\\\n const heuristicAreaSize = detectionString.length + 100;\\\\n let slice = await this.getSlice(offset, heuristicAreaSize);\\\\n if (detectionString === getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, detectionString.length, offset)) {\\\\n const valuesString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, heuristicAreaSize, offset);\\\\n const firstLine = valuesString.split('\\\\\\\\n')[0];\\\\n const metadataSize = Number(firstLine.split('=')[1].split(' ')[0]) + firstLine.length;\\\\n if (metadataSize > heuristicAreaSize) {\\\\n slice = await this.getSlice(offset, metadataSize);\\\\n }\\\\n const fullString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, metadataSize, offset);\\\\n this.ghostValues = {};\\\\n fullString\\\\n .split('\\\\\\\\n')\\\\n .filter(line => line.length > 0)\\\\n .map(line => line.split('='))\\\\n .forEach(([key, value]) => {\\\\n this.ghostValues[key] = value;\\\\n });\\\\n }\\\\n return this.ghostValues;\\\\n }\\\\n\\\\n /**\\\\n * Parse a (Geo)TIFF file from the given source.\\\\n *\\\\n * @param {source~Source} source The source of data to parse from.\\\\n * @param {object} options Additional options.\\\\n */\\\\n static async fromSource(source, options) {\\\\n const headerData = await source.fetch(0, 1024);\\\\n const dataView = new _dataview64__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](headerData);\\\\n\\\\n const BOM = dataView.getUint16(0, 0);\\\\n let littleEndian;\\\\n if (BOM === 0x4949) {\\\\n littleEndian = true;\\\\n } else if (BOM === 0x4D4D) {\\\\n littleEndian = false;\\\\n } else {\\\\n throw new TypeError('Invalid byte order value.');\\\\n }\\\\n\\\\n const magicNumber = dataView.getUint16(2, littleEndian);\\\\n let bigTiff;\\\\n if (magicNumber === 42) {\\\\n bigTiff = false;\\\\n } else if (magicNumber === 43) {\\\\n bigTiff = true;\\\\n const offsetByteSize = dataView.getUint16(4, littleEndian);\\\\n if (offsetByteSize !== 8) {\\\\n throw new Error('Unsupported offset byte-size.');\\\\n }\\\\n } else {\\\\n throw new TypeError('Invalid magic number.');\\\\n }\\\\n\\\\n const firstIFDOffset = bigTiff\\\\n ? dataView.getUint64(8, littleEndian)\\\\n : dataView.getUint32(4, littleEndian);\\\\n return new GeoTIFF(source, littleEndian, bigTiff, firstIFDOffset, options);\\\\n }\\\\n\\\\n /**\\\\n * Closes the underlying file buffer\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n */\\\\n close() {\\\\n if (typeof this.source.close === 'function') {\\\\n return this.source.close();\\\\n }\\\\n return false;\\\\n }\\\\n}\\\\n\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFF);\\\\n\\\\n/**\\\\n * Wrapper for GeoTIFF files that have external overviews.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass MultiGeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * Construct a new MultiGeoTIFF from a main and several overview files.\\\\n * @param {GeoTIFF} mainFile The main GeoTIFF file.\\\\n * @param {GeoTIFF[]} overviewFiles An array of overview files.\\\\n */\\\\n constructor(mainFile, overviewFiles) {\\\\n super();\\\\n this.mainFile = mainFile;\\\\n this.overviewFiles = overviewFiles;\\\\n this.imageFiles = [mainFile].concat(overviewFiles);\\\\n\\\\n this.fileDirectoriesPerFile = null;\\\\n this.fileDirectoriesPerFileParsing = null;\\\\n this.imageCount = null;\\\\n }\\\\n\\\\n async parseFileDirectoriesPerFile() {\\\\n const requests = [this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)]\\\\n .concat(this.overviewFiles.map((file) => file.parseFileDirectoryAt(file.firstIFDOffset)));\\\\n\\\\n this.fileDirectoriesPerFile = await Promise.all(requests);\\\\n return this.fileDirectoriesPerFile;\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n await this.getImageCount();\\\\n await this.parseFileDirectoriesPerFile();\\\\n let visited = 0;\\\\n let relativeIndex = 0;\\\\n for (let i = 0; i < this.imageFiles.length; i++) {\\\\n const imageFile = this.imageFiles[i];\\\\n for (let ii = 0; ii < this.imageCounts[i]; ii++) {\\\\n if (index === visited) {\\\\n const ifd = await imageFile.requestIFD(relativeIndex);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, imageFile.geoKeyDirectory,\\\\n imageFile.dataView, imageFile.littleEndian, imageFile.cache, imageFile.source,\\\\n );\\\\n }\\\\n visited++;\\\\n relativeIndex++;\\\\n }\\\\n relativeIndex = 0;\\\\n }\\\\n\\\\n throw new RangeError('Invalid image index');\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n if (this.imageCount !== null) {\\\\n return this.imageCount;\\\\n }\\\\n const requests = [this.mainFile.getImageCount()]\\\\n .concat(this.overviewFiles.map((file) => file.getImageCount()));\\\\n this.imageCounts = await Promise.all(requests);\\\\n this.imageCount = this.imageCounts.reduce((count, ifds) => count + ifds, 0);\\\\n return this.imageCount;\\\\n }\\\\n}\\\\n\\\\n\\\\n\\\\n/**\\\\n * Creates a new GeoTIFF from a remote URL.\\\\n * @param {string} url The URL to access the image from\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See {@link makeRemoteSource} for details.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromUrl(url, options = {}) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options));\\\\n}\\\\n\\\\n/**\\\\n * Construct a new GeoTIFF from an\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The data to read the file from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromArrayBuffer(arrayBuffer) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeBufferSource\\\\\\\"])(arrayBuffer));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from a local file path. This uses the node\\\\n * [filesystem API]{@link https://nodejs.org/api/fs.html} and is\\\\n * not available on browsers.\\\\n *\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n * @param {string} path The file path to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromFile(path) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileSource\\\\\\\"])(path));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from an HTML\\\\n * [Blob]{@link https://developer.mozilla.org/en-US/docs/Web/API/Blob} or\\\\n * [File]{@link https://developer.mozilla.org/en-US/docs/Web/API/File}\\\\n * object.\\\\n * @param {Blob|File} blob The Blob or File object to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromBlob(blob) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileReaderSource\\\\\\\"])(blob));\\\\n}\\\\n\\\\n/**\\\\n * Construct a MultiGeoTIFF from the given URLs.\\\\n * @param {string} mainUrl The URL for the main file.\\\\n * @param {string[]} overviewUrls An array of URLs for the overview images.\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See [makeRemoteSource]{@link module:source.makeRemoteSource}\\\\n * for details.\\\\n * @returns {Promise.} The resulting MultiGeoTIFF file.\\\\n */\\\\nasync function fromUrls(mainUrl, overviewUrls = [], options = {}) {\\\\n const mainFile = await GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(mainUrl, options));\\\\n const overviewFiles = await Promise.all(\\\\n overviewUrls.map((url) => GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options))),\\\\n );\\\\n\\\\n return new MultiGeoTIFF(mainFile, overviewFiles);\\\\n}\\\\n\\\\n/**\\\\n * Main creating function for GeoTIFF files.\\\\n * @param {(Array)} array of pixel values\\\\n * @returns {metadata} metadata\\\\n */\\\\nasync function writeArrayBuffer(values, metadata) {\\\\n return Object(_geotiffwriter__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"writeGeotiff\\\\\\\"])(values, metadata);\\\\n}\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiff.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffimage.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffimage.js ***!\\n \\\\**************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! txml */ \\\\\\\"./node_modules/txml/tXml.js\\\\\\\");\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(txml__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony import */ var _resample__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./resample */ \\\\\\\"./node_modules/geotiff/src/resample.js\\\\\\\");\\\\n/* eslint max-len: [\\\\\\\"error\\\\\\\", { \\\\\\\"code\\\\\\\": 120 }] */\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction sum(array, start, end) {\\\\n let s = 0;\\\\n for (let i = start; i < end; ++i) {\\\\n s += array[i];\\\\n }\\\\n return s;\\\\n}\\\\n\\\\nfunction arrayForType(format, bitsPerSample, size) {\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Uint8Array(size);\\\\n case 16:\\\\n return new Uint16Array(size);\\\\n case 32:\\\\n return new Uint32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Int8Array(size);\\\\n case 16:\\\\n return new Int16Array(size);\\\\n case 32:\\\\n return new Int32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3: // floating point data\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return new Float32Array(size);\\\\n case 64:\\\\n return new Float64Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n}\\\\n\\\\n/**\\\\n * GeoTIFF sub-file image.\\\\n */\\\\nclass GeoTIFFImage {\\\\n /**\\\\n * @constructor\\\\n * @param {Object} fileDirectory The parsed file directory\\\\n * @param {Object} geoKeys The parsed geo-keys\\\\n * @param {DataView} dataView The DataView for the underlying file.\\\\n * @param {Boolean} littleEndian Whether the file is encoded in little or big endian\\\\n * @param {Boolean} cache Whether or not decoded tiles shall be cached\\\\n * @param {Source} source The datasource to read from\\\\n */\\\\n constructor(fileDirectory, geoKeys, dataView, littleEndian, cache, source) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeys = geoKeys;\\\\n this.dataView = dataView;\\\\n this.littleEndian = littleEndian;\\\\n this.tiles = cache ? {} : null;\\\\n this.isTiled = !fileDirectory.StripOffsets;\\\\n const planarConfiguration = fileDirectory.PlanarConfiguration;\\\\n this.planarConfiguration = (typeof planarConfiguration === 'undefined') ? 1 : planarConfiguration;\\\\n if (this.planarConfiguration !== 1 && this.planarConfiguration !== 2) {\\\\n throw new Error('Invalid planar configuration.');\\\\n }\\\\n\\\\n this.source = source;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed file directory.\\\\n * @returns {Object} the parsed file directory\\\\n */\\\\n getFileDirectory() {\\\\n return this.fileDirectory;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed geo keys.\\\\n * @returns {Object} the parsed geo keys\\\\n */\\\\n getGeoKeys() {\\\\n return this.geoKeys;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of the image.\\\\n * @returns {Number} the width of the image\\\\n */\\\\n getWidth() {\\\\n return this.fileDirectory.ImageWidth;\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of the image.\\\\n * @returns {Number} the height of the image\\\\n */\\\\n getHeight() {\\\\n return this.fileDirectory.ImageLength;\\\\n }\\\\n\\\\n /**\\\\n * Returns the number of samples per pixel.\\\\n * @returns {Number} the number of samples per pixel\\\\n */\\\\n getSamplesPerPixel() {\\\\n return this.fileDirectory.SamplesPerPixel;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of each tile.\\\\n * @returns {Number} the width of each tile\\\\n */\\\\n getTileWidth() {\\\\n return this.isTiled ? this.fileDirectory.TileWidth : this.getWidth();\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of each tile.\\\\n * @returns {Number} the height of each tile\\\\n */\\\\n getTileHeight() {\\\\n if (this.isTiled) {\\\\n return this.fileDirectory.TileLength;\\\\n }\\\\n if (typeof this.fileDirectory.RowsPerStrip !== 'undefined') {\\\\n return Math.min(this.fileDirectory.RowsPerStrip, this.getHeight());\\\\n }\\\\n return this.getHeight();\\\\n }\\\\n\\\\n /**\\\\n * Calculates the number of bytes for each pixel across all samples. Only full\\\\n * bytes are supported, an exception is thrown when this is not the case.\\\\n * @returns {Number} the bytes per pixel\\\\n */\\\\n getBytesPerPixel() {\\\\n let bitsPerSample = 0;\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; ++i) {\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n } else if (bits !== this.fileDirectory.BitsPerSample[0]) {\\\\n throw new Error('Differing size of samples in a pixel are not supported.');\\\\n }\\\\n bitsPerSample += bits;\\\\n }\\\\n return bitsPerSample / 8;\\\\n }\\\\n\\\\n getSampleByteSize(i) {\\\\n if (i >= this.fileDirectory.BitsPerSample.length) {\\\\n throw new RangeError(`Sample index ${i} is out of range.`);\\\\n }\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n }\\\\n return (bits / 8);\\\\n }\\\\n\\\\n getReaderForSample(sampleIndex) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getUint8;\\\\n case 16:\\\\n return DataView.prototype.getUint16;\\\\n case 32:\\\\n return DataView.prototype.getUint32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getInt8;\\\\n case 16:\\\\n return DataView.prototype.getInt16;\\\\n case 32:\\\\n return DataView.prototype.getInt32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3:\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return DataView.prototype.getFloat32;\\\\n case 64:\\\\n return DataView.prototype.getFloat64;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n }\\\\n\\\\n getArrayForSample(sampleIndex, size) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n return arrayForType(format, bitsPerSample, size);\\\\n }\\\\n\\\\n /**\\\\n * Returns the decoded strip or tile.\\\\n * @param {Number} x the strip or tile x-offset\\\\n * @param {Number} y the tile y-offset (0 for stripped images)\\\\n * @param {Number} sample the sample to get for separated samples\\\\n * @param {Pool|AbstractDecoder} poolOrDecoder the decoder or decoder pool\\\\n * @returns {Promise.}\\\\n */\\\\n async getTileOrStrip(x, y, sample, poolOrDecoder) {\\\\n const numTilesPerRow = Math.ceil(this.getWidth() / this.getTileWidth());\\\\n const numTilesPerCol = Math.ceil(this.getHeight() / this.getTileHeight());\\\\n let index;\\\\n const { tiles } = this;\\\\n if (this.planarConfiguration === 1) {\\\\n index = (y * numTilesPerRow) + x;\\\\n } else if (this.planarConfiguration === 2) {\\\\n index = (sample * numTilesPerRow * numTilesPerCol) + (y * numTilesPerRow) + x;\\\\n }\\\\n\\\\n let offset;\\\\n let byteCount;\\\\n if (this.isTiled) {\\\\n offset = this.fileDirectory.TileOffsets[index];\\\\n byteCount = this.fileDirectory.TileByteCounts[index];\\\\n } else {\\\\n offset = this.fileDirectory.StripOffsets[index];\\\\n byteCount = this.fileDirectory.StripByteCounts[index];\\\\n }\\\\n const slice = await this.source.fetch(offset, byteCount);\\\\n\\\\n // either use the provided pool or decoder to decode the data\\\\n let request;\\\\n if (tiles === null) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n } else if (!tiles[index]) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n tiles[index] = request;\\\\n }\\\\n return { x, y, sample, data: await request };\\\\n }\\\\n\\\\n /**\\\\n * Internal read function.\\\\n * @private\\\\n * @param {Array} imageWindow The image window in pixel coordinates\\\\n * @param {Array} samples The selected samples (0-based indices)\\\\n * @param {TypedArray[]|TypedArray} valueArrays The array(s) to write into\\\\n * @param {Boolean} interleave Whether or not to write in an interleaved manner\\\\n * @param {Pool} pool The decoder pool\\\\n * @returns {Promise|Promise}\\\\n */\\\\n async _readRaster(imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod) {\\\\n const tileWidth = this.getTileWidth();\\\\n const tileHeight = this.getTileHeight();\\\\n\\\\n const minXTile = Math.max(Math.floor(imageWindow[0] / tileWidth), 0);\\\\n const maxXTile = Math.min(\\\\n Math.ceil(imageWindow[2] / tileWidth),\\\\n Math.ceil(this.getWidth() / this.getTileWidth()),\\\\n );\\\\n const minYTile = Math.max(Math.floor(imageWindow[1] / tileHeight), 0);\\\\n const maxYTile = Math.min(\\\\n Math.ceil(imageWindow[3] / tileHeight),\\\\n Math.ceil(this.getHeight() / this.getTileHeight()),\\\\n );\\\\n const windowWidth = imageWindow[2] - imageWindow[0];\\\\n\\\\n let bytesPerPixel = this.getBytesPerPixel();\\\\n\\\\n const srcSampleOffsets = [];\\\\n const sampleReaders = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (this.planarConfiguration === 1) {\\\\n srcSampleOffsets.push(sum(this.fileDirectory.BitsPerSample, 0, samples[i]) / 8);\\\\n } else {\\\\n srcSampleOffsets.push(0);\\\\n }\\\\n sampleReaders.push(this.getReaderForSample(samples[i]));\\\\n }\\\\n\\\\n const promises = [];\\\\n const { littleEndian } = this;\\\\n\\\\n for (let yTile = minYTile; yTile < maxYTile; ++yTile) {\\\\n for (let xTile = minXTile; xTile < maxXTile; ++xTile) {\\\\n for (let sampleIndex = 0; sampleIndex < samples.length; ++sampleIndex) {\\\\n const si = sampleIndex;\\\\n const sample = samples[sampleIndex];\\\\n if (this.planarConfiguration === 2) {\\\\n bytesPerPixel = this.getSampleByteSize(sample);\\\\n }\\\\n const promise = this.getTileOrStrip(xTile, yTile, sample, poolOrDecoder);\\\\n promises.push(promise);\\\\n promise.then((tile) => {\\\\n const buffer = tile.data;\\\\n const dataView = new DataView(buffer);\\\\n const firstLine = tile.y * tileHeight;\\\\n const firstCol = tile.x * tileWidth;\\\\n const lastLine = (tile.y + 1) * tileHeight;\\\\n const lastCol = (tile.x + 1) * tileWidth;\\\\n const reader = sampleReaders[si];\\\\n\\\\n const ymax = Math.min(tileHeight, tileHeight - (lastLine - imageWindow[3]));\\\\n const xmax = Math.min(tileWidth, tileWidth - (lastCol - imageWindow[2]));\\\\n\\\\n for (let y = Math.max(0, imageWindow[1] - firstLine); y < ymax; ++y) {\\\\n for (let x = Math.max(0, imageWindow[0] - firstCol); x < xmax; ++x) {\\\\n const pixelOffset = ((y * tileWidth) + x) * bytesPerPixel;\\\\n const value = reader.call(\\\\n dataView, pixelOffset + srcSampleOffsets[si], littleEndian,\\\\n );\\\\n let windowCoordinate;\\\\n if (interleave) {\\\\n windowCoordinate = ((y + firstLine - imageWindow[1]) * windowWidth * samples.length)\\\\n + ((x + firstCol - imageWindow[0]) * samples.length)\\\\n + si;\\\\n valueArrays[windowCoordinate] = value;\\\\n } else {\\\\n windowCoordinate = (\\\\n (y + firstLine - imageWindow[1]) * windowWidth\\\\n ) + x + firstCol - imageWindow[0];\\\\n valueArrays[si][windowCoordinate] = value;\\\\n }\\\\n }\\\\n }\\\\n });\\\\n }\\\\n }\\\\n }\\\\n await Promise.all(promises);\\\\n\\\\n if ((width && (imageWindow[2] - imageWindow[0]) !== width)\\\\n || (height && (imageWindow[3] - imageWindow[1]) !== height)) {\\\\n let resampled;\\\\n if (interleave) {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resampleInterleaved\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n samples.length,\\\\n resampleMethod,\\\\n );\\\\n } else {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resample\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n resampleMethod,\\\\n );\\\\n }\\\\n resampled.width = width;\\\\n resampled.height = height;\\\\n return resampled;\\\\n }\\\\n\\\\n valueArrays.width = width || imageWindow[2] - imageWindow[0];\\\\n valueArrays.height = height || imageWindow[3] - imageWindow[1];\\\\n\\\\n return valueArrays;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image. This function reads all selected samples\\\\n * into separate arrays of the correct type for that sample or into a single\\\\n * combined array when `interleave` is set. When provided, only a subset\\\\n * of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {number} [options.width] The desired width of the output. When the width is\\\\n * not the same as the images, resampling will be\\\\n * performed.\\\\n * @param {number} [options.height] The desired height of the output. When the width\\\\n * is not the same as the images, resampling will\\\\n * be performed.\\\\n * @param {string} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {number|number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When\\\\n * multiple samples are requested, an\\\\n * array of fill values can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters({\\\\n window: wnd, samples = [], interleave, pool = null,\\\\n width, height, resampleMethod, fillValue,\\\\n } = {}) {\\\\n const imageWindow = wnd || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const imageWindowWidth = imageWindow[2] - imageWindow[0];\\\\n const imageWindowHeight = imageWindow[3] - imageWindow[1];\\\\n const numPixels = imageWindowWidth * imageWindowHeight;\\\\n\\\\n if (!samples || !samples.length) {\\\\n for (let i = 0; i < this.fileDirectory.SamplesPerPixel; ++i) {\\\\n samples.push(i);\\\\n }\\\\n } else {\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (samples[i] >= this.fileDirectory.SamplesPerPixel) {\\\\n return Promise.reject(new RangeError(`Invalid sample index '${samples[i]}'.`));\\\\n }\\\\n }\\\\n }\\\\n let valueArrays;\\\\n if (interleave) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? Math.max.apply(null, this.fileDirectory.SampleFormat) : 1;\\\\n const bitsPerSample = Math.max.apply(null, this.fileDirectory.BitsPerSample);\\\\n valueArrays = arrayForType(format, bitsPerSample, numPixels * samples.length);\\\\n if (fillValue) {\\\\n valueArrays.fill(fillValue);\\\\n }\\\\n } else {\\\\n valueArrays = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n const valueArray = this.getArrayForSample(samples[i], numPixels);\\\\n if (Array.isArray(fillValue) && i < fillValue.length) {\\\\n valueArray.fill(fillValue[i]);\\\\n } else if (fillValue && !Array.isArray(fillValue)) {\\\\n valueArray.fill(fillValue);\\\\n }\\\\n valueArrays.push(valueArray);\\\\n }\\\\n }\\\\n\\\\n const poolOrDecoder = pool || Object(_compression__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"getDecoder\\\\\\\"])(this.fileDirectory);\\\\n\\\\n const result = await this._readRaster(\\\\n imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod,\\\\n );\\\\n return result;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image as RGB. The result is always an\\\\n * interleaved typed array.\\\\n * Colorspaces other than RGB will be transformed to RGB, color maps expanded.\\\\n * When no other method is applicable, the first sample is used to produce a\\\\n * greayscale image.\\\\n * When provided, only a subset of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Number} [pool=null] The optional decoder pool to use.\\\\n * @param {number} [width] The desired width of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {number} [height] The desired height of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {string} [resampleMethod='nearest'] The desired resampling method.\\\\n * @param {bool} [enableAlpha=false] Enable reading alpha channel if present.\\\\n * @returns {Promise.} the RGB array as a Promise\\\\n */\\\\n async readRGB({ window, pool = null, width, height, resampleMethod, enableAlpha = false } = {}) {\\\\n const imageWindow = window || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const pi = this.fileDirectory.PhotometricInterpretation;\\\\n\\\\n if (pi === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].RGB) {\\\\n let s = [0, 1, 2];\\\\n if ((!(this.fileDirectory.ExtraSamples === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"ExtraSamplesValues\\\\\\\"].Unspecified)) && enableAlpha) {\\\\n s = [];\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; i += 1) {\\\\n s.push(i);\\\\n }\\\\n }\\\\n return this.readRasters({\\\\n window,\\\\n interleave: true,\\\\n samples: s,\\\\n pool,\\\\n width,\\\\n height,\\\\n });\\\\n }\\\\n\\\\n let samples;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n samples = [0];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n samples = [0, 1, 2, 3];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n samples = [0, 1, 2];\\\\n break;\\\\n default:\\\\n throw new Error('Invalid or unsupported photometric interpretation.');\\\\n }\\\\n\\\\n const subOptions = {\\\\n window: imageWindow,\\\\n interleave: true,\\\\n samples,\\\\n pool,\\\\n width,\\\\n height,\\\\n resampleMethod,\\\\n };\\\\n const { fileDirectory } = this;\\\\n const raster = await this.readRasters(subOptions);\\\\n\\\\n const max = 2 ** this.fileDirectory.BitsPerSample[0];\\\\n let data;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromWhiteIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromBlackIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromPalette\\\\\\\"])(raster, fileDirectory.ColorMap);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCMYK\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromYCbCr\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCIELab\\\\\\\"])(raster);\\\\n break;\\\\n default:\\\\n throw new Error('Unsupported photometric interpretation.');\\\\n }\\\\n data.width = raster.width;\\\\n data.height = raster.height;\\\\n return data;\\\\n }\\\\n\\\\n /**\\\\n * Returns an array of tiepoints.\\\\n * @returns {Object[]}\\\\n */\\\\n getTiePoints() {\\\\n if (!this.fileDirectory.ModelTiepoint) {\\\\n return [];\\\\n }\\\\n\\\\n const tiePoints = [];\\\\n for (let i = 0; i < this.fileDirectory.ModelTiepoint.length; i += 6) {\\\\n tiePoints.push({\\\\n i: this.fileDirectory.ModelTiepoint[i],\\\\n j: this.fileDirectory.ModelTiepoint[i + 1],\\\\n k: this.fileDirectory.ModelTiepoint[i + 2],\\\\n x: this.fileDirectory.ModelTiepoint[i + 3],\\\\n y: this.fileDirectory.ModelTiepoint[i + 4],\\\\n z: this.fileDirectory.ModelTiepoint[i + 5],\\\\n });\\\\n }\\\\n return tiePoints;\\\\n }\\\\n\\\\n /**\\\\n * Returns the parsed GDAL metadata items.\\\\n *\\\\n * If sample is passed to null, dataset-level metadata will be returned.\\\\n * Otherwise only metadata specific to the provided sample will be returned.\\\\n *\\\\n * @param {Number} [sample=null] The sample index.\\\\n * @returns {Object}\\\\n */\\\\n getGDALMetadata(sample = null) {\\\\n const metadata = {};\\\\n if (!this.fileDirectory.GDAL_METADATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_METADATA;\\\\n const xmlDom = txml__WEBPACK_IMPORTED_MODULE_0___default()(string.substring(0, string.length - 1));\\\\n\\\\n if (!xmlDom[0].tagName) {\\\\n throw new Error('Failed to parse GDAL metadata XML.');\\\\n }\\\\n\\\\n const root = xmlDom[0];\\\\n if (root.tagName !== 'GDALMetadata') {\\\\n throw new Error('Unexpected GDAL metadata XML tag.');\\\\n }\\\\n\\\\n let items = root.children\\\\n .filter((child) => child.tagName === 'Item');\\\\n\\\\n if (sample) {\\\\n items = items.filter((item) => Number(item.attributes.sample) === sample);\\\\n }\\\\n\\\\n for (let i = 0; i < items.length; ++i) {\\\\n const item = items[i];\\\\n metadata[item.attributes.name] = item.children[0];\\\\n }\\\\n return metadata;\\\\n }\\\\n\\\\n /**\\\\n * Returns the GDAL nodata value\\\\n * @returns {Number} or null\\\\n */\\\\n getGDALNoData() {\\\\n if (!this.fileDirectory.GDAL_NODATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_NODATA;\\\\n return Number(string.substring(0, string.length - 1));\\\\n }\\\\n\\\\n /**\\\\n * Returns the image origin as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @returns {Array} The origin as a vector\\\\n */\\\\n getOrigin() {\\\\n const tiePoints = this.fileDirectory.ModelTiepoint;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n if (tiePoints && tiePoints.length === 6) {\\\\n return [\\\\n tiePoints[3],\\\\n tiePoints[4],\\\\n tiePoints[5],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[3],\\\\n modelTransformation[7],\\\\n modelTransformation[11],\\\\n ];\\\\n }\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns the image resolution as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @param {GeoTIFFImage} [referenceImage=null] A reference image to calculate the resolution from\\\\n * in cases when the current image does not have the\\\\n * required tags on its own.\\\\n * @returns {Array} The resolution as a vector\\\\n */\\\\n getResolution(referenceImage = null) {\\\\n const modelPixelScale = this.fileDirectory.ModelPixelScale;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n\\\\n if (modelPixelScale) {\\\\n return [\\\\n modelPixelScale[0],\\\\n -modelPixelScale[1],\\\\n modelPixelScale[2],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[0],\\\\n modelTransformation[5],\\\\n modelTransformation[10],\\\\n ];\\\\n }\\\\n\\\\n if (referenceImage) {\\\\n const [refResX, refResY, refResZ] = referenceImage.getResolution();\\\\n return [\\\\n refResX * referenceImage.getWidth() / this.getWidth(),\\\\n refResY * referenceImage.getHeight() / this.getHeight(),\\\\n refResZ * referenceImage.getWidth() / this.getWidth(),\\\\n ];\\\\n }\\\\n\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns whether or not the pixels of the image depict an area (or point).\\\\n * @returns {Boolean} Whether the pixels are a point\\\\n */\\\\n pixelIsArea() {\\\\n return this.geoKeys.GTRasterTypeGeoKey === 1;\\\\n }\\\\n\\\\n /**\\\\n * Returns the image bounding box as an array of 4 values: min-x, min-y,\\\\n * max-x and max-y. When the image has no affine transformation, then an\\\\n * exception is thrown.\\\\n * @returns {Array} The bounding box\\\\n */\\\\n getBoundingBox() {\\\\n const origin = this.getOrigin();\\\\n const resolution = this.getResolution();\\\\n\\\\n const x1 = origin[0];\\\\n const y1 = origin[1];\\\\n\\\\n const x2 = x1 + (resolution[0] * this.getWidth());\\\\n const y2 = y1 + (resolution[1] * this.getHeight());\\\\n\\\\n return [\\\\n Math.min(x1, x2),\\\\n Math.min(y1, y2),\\\\n Math.max(x1, x2),\\\\n Math.max(y1, y2),\\\\n ];\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFFImage);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffimage.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffwriter.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffwriter.js ***!\\n \\\\***************************************************/\\n/*! exports provided: writeGeotiff */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeGeotiff\\\\\\\", function() { return writeGeotiff; });\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ \\\\\\\"./node_modules/geotiff/src/utils.js\\\\\\\");\\\\n/*\\\\n Some parts of this file are based on UTIF.js,\\\\n which was released under the MIT License.\\\\n You can view that here:\\\\n https://github.com/photopea/UTIF.js/blob/master/LICENSE\\\\n*/\\\\n\\\\n\\\\n\\\\nconst tagName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagNames\\\\\\\"]);\\\\nconst geoKeyName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"geoKeyNames\\\\\\\"]);\\\\nconst name2code = {};\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, tagName2Code);\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, geoKeyName2Code);\\\\nconst typeName2byte = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTypeNames\\\\\\\"]);\\\\n\\\\n// config variables\\\\nconst numBytesInIfd = 1000;\\\\n\\\\nconst _binBE = {\\\\n nextZero: (data, o) => {\\\\n let oincr = o;\\\\n while (data[oincr] !== 0) {\\\\n oincr++;\\\\n }\\\\n return oincr;\\\\n },\\\\n readUshort: (buff, p) => {\\\\n return (buff[p] << 8) | buff[p + 1];\\\\n },\\\\n readShort: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 1];\\\\n a[1] = buff[p + 0];\\\\n return _binBE.i16[0];\\\\n },\\\\n readInt: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.i32[0];\\\\n },\\\\n readUint: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.ui32[0];\\\\n },\\\\n readASCII: (buff, p, l) => {\\\\n return l.map((i) => String.fromCharCode(buff[p + i])).join('');\\\\n },\\\\n readFloat: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(4, (i) => {\\\\n a[i] = buff[p + 3 - i];\\\\n });\\\\n return _binBE.fl32[0];\\\\n },\\\\n readDouble: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n a[i] = buff[p + 7 - i];\\\\n });\\\\n return _binBE.fl64[0];\\\\n },\\\\n writeUshort: (buff, p, n) => {\\\\n buff[p] = (n >> 8) & 255;\\\\n buff[p + 1] = n & 255;\\\\n },\\\\n writeUint: (buff, p, n) => {\\\\n buff[p] = (n >> 24) & 255;\\\\n buff[p + 1] = (n >> 16) & 255;\\\\n buff[p + 2] = (n >> 8) & 255;\\\\n buff[p + 3] = (n >> 0) & 255;\\\\n },\\\\n writeASCII: (buff, p, s) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(s.length, (i) => {\\\\n buff[p + i] = s.charCodeAt(i);\\\\n });\\\\n },\\\\n ui8: new Uint8Array(8),\\\\n};\\\\n\\\\n_binBE.fl64 = new Float64Array(_binBE.ui8.buffer);\\\\n\\\\n_binBE.writeDouble = (buff, p, n) => {\\\\n _binBE.fl64[0] = n;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n buff[p + i] = _binBE.ui8[7 - i];\\\\n });\\\\n};\\\\n\\\\n\\\\nconst _writeIFD = (bin, data, _offset, ifd) => {\\\\n let offset = _offset;\\\\n\\\\n const keys = Object.keys(ifd).filter((key) => {\\\\n return key !== undefined && key !== null && key !== 'undefined';\\\\n });\\\\n\\\\n bin.writeUshort(data, offset, keys.length);\\\\n offset += 2;\\\\n\\\\n let eoff = offset + (12 * keys.length) + 4;\\\\n\\\\n for (const key of keys) {\\\\n let tag = null;\\\\n if (typeof key === 'number') {\\\\n tag = key;\\\\n } else if (typeof key === 'string') {\\\\n tag = parseInt(key, 10);\\\\n }\\\\n\\\\n const typeName = _globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][tag];\\\\n const typeNum = typeName2byte[typeName];\\\\n\\\\n if (typeName == null || typeName === undefined || typeof typeName === 'undefined') {\\\\n throw new Error(`unknown type of tag: ${tag}`);\\\\n }\\\\n\\\\n let val = ifd[key];\\\\n\\\\n if (typeof val === 'undefined') {\\\\n throw new Error(`failed to get value for key ${key}`);\\\\n }\\\\n\\\\n // ASCIIZ format with trailing 0 character\\\\n // http://www.fileformat.info/format/tiff/corion.htm\\\\n // https://stackoverflow.com/questions/7783044/whats-the-difference-between-asciiz-vs-ascii\\\\n if (typeName === 'ASCII' && typeof val === 'string' && Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(val, '\\\\\\\\u0000') === false) {\\\\n val += '\\\\\\\\u0000';\\\\n }\\\\n\\\\n const num = val.length;\\\\n\\\\n bin.writeUshort(data, offset, tag);\\\\n offset += 2;\\\\n\\\\n bin.writeUshort(data, offset, typeNum);\\\\n offset += 2;\\\\n\\\\n bin.writeUint(data, offset, num);\\\\n offset += 4;\\\\n\\\\n let dlen = [-1, 1, 1, 2, 4, 8, 0, 0, 0, 0, 0, 0, 8][typeNum] * num;\\\\n let toff = offset;\\\\n\\\\n if (dlen > 4) {\\\\n bin.writeUint(data, offset, eoff);\\\\n toff = eoff;\\\\n }\\\\n\\\\n if (typeName === 'ASCII') {\\\\n bin.writeASCII(data, toff, val);\\\\n } else if (typeName === 'SHORT') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUshort(data, toff + (2 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'LONG') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (4 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'RATIONAL') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (8 * i), Math.round(val[i] * 10000));\\\\n bin.writeUint(data, toff + (8 * i) + 4, 10000);\\\\n });\\\\n } else if (typeName === 'DOUBLE') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeDouble(data, toff + (8 * i), val[i]);\\\\n });\\\\n }\\\\n\\\\n if (dlen > 4) {\\\\n dlen += (dlen & 1);\\\\n eoff += dlen;\\\\n }\\\\n\\\\n offset += 4;\\\\n }\\\\n\\\\n return [offset, eoff];\\\\n};\\\\n\\\\nconst encodeIfds = (ifds) => {\\\\n const data = new Uint8Array(numBytesInIfd);\\\\n let offset = 4;\\\\n const bin = _binBE;\\\\n\\\\n // set big-endian byte-order\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[0] = 77;\\\\n data[1] = 77;\\\\n\\\\n // set format-version number\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[3] = 42;\\\\n\\\\n let ifdo = 8;\\\\n\\\\n bin.writeUint(data, offset, ifdo);\\\\n\\\\n offset += 4;\\\\n\\\\n ifds.forEach((ifd, i) => {\\\\n const noffs = _writeIFD(bin, data, ifdo, ifd);\\\\n ifdo = noffs[1];\\\\n if (i < ifds.length - 1) {\\\\n bin.writeUint(data, noffs[0], ifdo);\\\\n }\\\\n });\\\\n\\\\n if (data.slice) {\\\\n return data.slice(0, ifdo).buffer;\\\\n }\\\\n\\\\n // node hasn't implemented slice on Uint8Array yet\\\\n const result = new Uint8Array(ifdo);\\\\n for (let i = 0; i < ifdo; i++) {\\\\n result[i] = data[i];\\\\n }\\\\n return result.buffer;\\\\n};\\\\n\\\\nconst encodeImage = (values, width, height, metadata) => {\\\\n if (height === undefined || height === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${height}`);\\\\n }\\\\n\\\\n if (width === undefined || width === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${width}`);\\\\n }\\\\n\\\\n const ifd = {\\\\n 256: [width], // ImageWidth\\\\n 257: [height], // ImageLength\\\\n 273: [numBytesInIfd], // strips offset\\\\n 278: [height], // RowsPerStrip\\\\n 305: 'geotiff.js', // no array for ASCII(Z)\\\\n };\\\\n\\\\n if (metadata) {\\\\n for (const i in metadata) {\\\\n if (metadata.hasOwnProperty(i)) {\\\\n ifd[i] = metadata[i];\\\\n }\\\\n }\\\\n }\\\\n\\\\n const prfx = new Uint8Array(encodeIfds([ifd]));\\\\n\\\\n const img = new Uint8Array(values);\\\\n\\\\n const samplesPerPixel = ifd[277];\\\\n\\\\n const data = new Uint8Array(numBytesInIfd + (width * height * samplesPerPixel));\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(prfx.length, (i) => {\\\\n data[i] = prfx[i];\\\\n });\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"forEach\\\\\\\"])(img, (value, i) => {\\\\n data[numBytesInIfd + i] = value;\\\\n });\\\\n\\\\n return data.buffer;\\\\n};\\\\n\\\\nconst convertToTids = (input) => {\\\\n const result = {};\\\\n for (const key in input) {\\\\n if (key !== 'StripOffsets') {\\\\n if (!name2code[key]) {\\\\n console.error(key, 'not in name2code:', Object.keys(name2code));\\\\n }\\\\n result[name2code[key]] = input[key];\\\\n }\\\\n }\\\\n return result;\\\\n};\\\\n\\\\nconst toArray = (input) => {\\\\n if (Array.isArray(input)) {\\\\n return input;\\\\n }\\\\n return [input];\\\\n};\\\\n\\\\nconst metadataDefaults = [\\\\n ['Compression', 1], // no compression\\\\n ['PlanarConfiguration', 1],\\\\n ['XPosition', 0],\\\\n ['YPosition', 0],\\\\n ['ResolutionUnit', 1], // Code 1 for actual pixel count or 2 for pixels per inch.\\\\n ['ExtraSamples', 0], // should this be an array??\\\\n ['GeoAsciiParams', 'WGS 84\\\\\\\\u0000'],\\\\n ['ModelTiepoint', [0, 0, 0, -180, 90, 0]], // raster fits whole globe\\\\n ['GTModelTypeGeoKey', 2],\\\\n ['GTRasterTypeGeoKey', 1],\\\\n ['GeographicTypeGeoKey', 4326],\\\\n ['GeogCitationGeoKey', 'WGS 84'],\\\\n];\\\\n\\\\nfunction writeGeotiff(data, metadata) {\\\\n const isFlattened = typeof data[0] === 'number';\\\\n\\\\n let height;\\\\n let numBands;\\\\n let width;\\\\n let flattenedValues;\\\\n\\\\n if (isFlattened) {\\\\n height = metadata.height || metadata.ImageLength;\\\\n width = metadata.width || metadata.ImageWidth;\\\\n numBands = data.length / (height * width);\\\\n flattenedValues = data;\\\\n } else {\\\\n numBands = data.length;\\\\n height = data[0].length;\\\\n width = data[0][0].length;\\\\n flattenedValues = [];\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(height, (rowIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(width, (columnIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, (bandIndex) => {\\\\n flattenedValues.push(data[bandIndex][rowIndex][columnIndex]);\\\\n });\\\\n });\\\\n });\\\\n }\\\\n\\\\n metadata.ImageLength = height;\\\\n delete metadata.height;\\\\n metadata.ImageWidth = width;\\\\n delete metadata.width;\\\\n\\\\n // consult https://www.loc.gov/preservation/digital/formats/content/tiff_tags.shtml\\\\n\\\\n if (!metadata.BitsPerSample) {\\\\n metadata.BitsPerSample = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 8);\\\\n }\\\\n\\\\n metadataDefaults.forEach((tag) => {\\\\n const key = tag[0];\\\\n if (!metadata[key]) {\\\\n const value = tag[1];\\\\n metadata[key] = value;\\\\n }\\\\n });\\\\n\\\\n // The color space of the image data.\\\\n // 1=black is zero and 2=RGB.\\\\n if (!metadata.PhotometricInterpretation) {\\\\n metadata.PhotometricInterpretation = metadata.BitsPerSample.length === 3 ? 2 : 1;\\\\n }\\\\n\\\\n // The number of components per pixel.\\\\n if (!metadata.SamplesPerPixel) {\\\\n metadata.SamplesPerPixel = [numBands];\\\\n }\\\\n\\\\n if (!metadata.StripByteCounts) {\\\\n // we are only writing one strip\\\\n metadata.StripByteCounts = [numBands * height * width];\\\\n }\\\\n\\\\n if (!metadata.ModelPixelScale) {\\\\n // assumes raster takes up exactly the whole globe\\\\n metadata.ModelPixelScale = [360 / width, 180 / height, 0];\\\\n }\\\\n\\\\n if (!metadata.SampleFormat) {\\\\n metadata.SampleFormat = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 1);\\\\n }\\\\n\\\\n\\\\n const geoKeys = Object.keys(metadata)\\\\n .filter((key) => Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(key, 'GeoKey'))\\\\n .sort((a, b) => name2code[a] - name2code[b]);\\\\n\\\\n if (!metadata.GeoKeyDirectory) {\\\\n const NumberOfKeys = geoKeys.length;\\\\n\\\\n const GeoKeyDirectory = [1, 1, 0, NumberOfKeys];\\\\n geoKeys.forEach((geoKey) => {\\\\n const KeyID = Number(name2code[geoKey]);\\\\n GeoKeyDirectory.push(KeyID);\\\\n\\\\n let Count;\\\\n let TIFFTagLocation;\\\\n let valueOffset;\\\\n if (_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][KeyID] === 'SHORT') {\\\\n Count = 1;\\\\n TIFFTagLocation = 0;\\\\n valueOffset = metadata[geoKey];\\\\n } else if (geoKey === 'GeogCitationGeoKey') {\\\\n Count = metadata.GeoAsciiParams.length;\\\\n TIFFTagLocation = Number(name2code.GeoAsciiParams);\\\\n valueOffset = 0;\\\\n } else {\\\\n console.log(`[geotiff.js] couldn't get TIFFTagLocation for ${geoKey}`);\\\\n }\\\\n GeoKeyDirectory.push(TIFFTagLocation);\\\\n GeoKeyDirectory.push(Count);\\\\n GeoKeyDirectory.push(valueOffset);\\\\n });\\\\n metadata.GeoKeyDirectory = GeoKeyDirectory;\\\\n }\\\\n\\\\n // delete GeoKeys from metadata, because stored in GeoKeyDirectory tag\\\\n for (const geoKey in geoKeys) {\\\\n if (geoKeys.hasOwnProperty(geoKey)) {\\\\n delete metadata[geoKey];\\\\n }\\\\n }\\\\n\\\\n [\\\\n 'Compression',\\\\n 'ExtraSamples',\\\\n 'GeographicTypeGeoKey',\\\\n 'GTModelTypeGeoKey',\\\\n 'GTRasterTypeGeoKey',\\\\n 'ImageLength', // synonym of ImageHeight\\\\n 'ImageWidth',\\\\n 'PhotometricInterpretation',\\\\n 'PlanarConfiguration',\\\\n 'ResolutionUnit',\\\\n 'SamplesPerPixel',\\\\n 'XPosition',\\\\n 'YPosition',\\\\n ].forEach((name) => {\\\\n if (metadata[name]) {\\\\n metadata[name] = toArray(metadata[name]);\\\\n }\\\\n });\\\\n\\\\n\\\\n const encodedMetadata = convertToTids(metadata);\\\\n\\\\n const outputImage = encodeImage(flattenedValues, width, height, encodedMetadata);\\\\n\\\\n return outputImage;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffwriter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/globals.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/globals.js ***!\\n \\\\*********************************************/\\n/*! exports provided: fieldTagNames, fieldTags, fieldTagTypes, arrayFields, fieldTypeNames, fieldTypes, photometricInterpretations, ExtraSamplesValues, geoKeyNames, geoKeys */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagNames\\\\\\\", function() { return fieldTagNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTags\\\\\\\", function() { return fieldTags; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagTypes\\\\\\\", function() { return fieldTagTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"arrayFields\\\\\\\", function() { return arrayFields; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypeNames\\\\\\\", function() { return fieldTypeNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypes\\\\\\\", function() { return fieldTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"photometricInterpretations\\\\\\\", function() { return photometricInterpretations; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"ExtraSamplesValues\\\\\\\", function() { return ExtraSamplesValues; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeyNames\\\\\\\", function() { return geoKeyNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeys\\\\\\\", function() { return geoKeys; });\\\\nconst fieldTagNames = {\\\\n // TIFF Baseline\\\\n 0x013B: 'Artist',\\\\n 0x0102: 'BitsPerSample',\\\\n 0x0109: 'CellLength',\\\\n 0x0108: 'CellWidth',\\\\n 0x0140: 'ColorMap',\\\\n 0x0103: 'Compression',\\\\n 0x8298: 'Copyright',\\\\n 0x0132: 'DateTime',\\\\n 0x0152: 'ExtraSamples',\\\\n 0x010A: 'FillOrder',\\\\n 0x0121: 'FreeByteCounts',\\\\n 0x0120: 'FreeOffsets',\\\\n 0x0123: 'GrayResponseCurve',\\\\n 0x0122: 'GrayResponseUnit',\\\\n 0x013C: 'HostComputer',\\\\n 0x010E: 'ImageDescription',\\\\n 0x0101: 'ImageLength',\\\\n 0x0100: 'ImageWidth',\\\\n 0x010F: 'Make',\\\\n 0x0119: 'MaxSampleValue',\\\\n 0x0118: 'MinSampleValue',\\\\n 0x0110: 'Model',\\\\n 0x00FE: 'NewSubfileType',\\\\n 0x0112: 'Orientation',\\\\n 0x0106: 'PhotometricInterpretation',\\\\n 0x011C: 'PlanarConfiguration',\\\\n 0x0128: 'ResolutionUnit',\\\\n 0x0116: 'RowsPerStrip',\\\\n 0x0115: 'SamplesPerPixel',\\\\n 0x0131: 'Software',\\\\n 0x0117: 'StripByteCounts',\\\\n 0x0111: 'StripOffsets',\\\\n 0x00FF: 'SubfileType',\\\\n 0x0107: 'Threshholding',\\\\n 0x011A: 'XResolution',\\\\n 0x011B: 'YResolution',\\\\n\\\\n // TIFF Extended\\\\n 0x0146: 'BadFaxLines',\\\\n 0x0147: 'CleanFaxData',\\\\n 0x0157: 'ClipPath',\\\\n 0x0148: 'ConsecutiveBadFaxLines',\\\\n 0x01B1: 'Decode',\\\\n 0x01B2: 'DefaultImageColor',\\\\n 0x010D: 'DocumentName',\\\\n 0x0150: 'DotRange',\\\\n 0x0141: 'HalftoneHints',\\\\n 0x015A: 'Indexed',\\\\n 0x015B: 'JPEGTables',\\\\n 0x011D: 'PageName',\\\\n 0x0129: 'PageNumber',\\\\n 0x013D: 'Predictor',\\\\n 0x013F: 'PrimaryChromaticities',\\\\n 0x0214: 'ReferenceBlackWhite',\\\\n 0x0153: 'SampleFormat',\\\\n 0x0154: 'SMinSampleValue',\\\\n 0x0155: 'SMaxSampleValue',\\\\n 0x022F: 'StripRowCounts',\\\\n 0x014A: 'SubIFDs',\\\\n 0x0124: 'T4Options',\\\\n 0x0125: 'T6Options',\\\\n 0x0145: 'TileByteCounts',\\\\n 0x0143: 'TileLength',\\\\n 0x0144: 'TileOffsets',\\\\n 0x0142: 'TileWidth',\\\\n 0x012D: 'TransferFunction',\\\\n 0x013E: 'WhitePoint',\\\\n 0x0158: 'XClipPathUnits',\\\\n 0x011E: 'XPosition',\\\\n 0x0211: 'YCbCrCoefficients',\\\\n 0x0213: 'YCbCrPositioning',\\\\n 0x0212: 'YCbCrSubSampling',\\\\n 0x0159: 'YClipPathUnits',\\\\n 0x011F: 'YPosition',\\\\n\\\\n // EXIF\\\\n 0x9202: 'ApertureValue',\\\\n 0xA001: 'ColorSpace',\\\\n 0x9004: 'DateTimeDigitized',\\\\n 0x9003: 'DateTimeOriginal',\\\\n 0x8769: 'Exif IFD',\\\\n 0x9000: 'ExifVersion',\\\\n 0x829A: 'ExposureTime',\\\\n 0xA300: 'FileSource',\\\\n 0x9209: 'Flash',\\\\n 0xA000: 'FlashpixVersion',\\\\n 0x829D: 'FNumber',\\\\n 0xA420: 'ImageUniqueID',\\\\n 0x9208: 'LightSource',\\\\n 0x927C: 'MakerNote',\\\\n 0x9201: 'ShutterSpeedValue',\\\\n 0x9286: 'UserComment',\\\\n\\\\n // IPTC\\\\n 0x83BB: 'IPTC',\\\\n\\\\n // ICC\\\\n 0x8773: 'ICC Profile',\\\\n\\\\n // XMP\\\\n 0x02BC: 'XMP',\\\\n\\\\n // GDAL\\\\n 0xA480: 'GDAL_METADATA',\\\\n 0xA481: 'GDAL_NODATA',\\\\n\\\\n // Photoshop\\\\n 0x8649: 'Photoshop',\\\\n\\\\n // GeoTiff\\\\n 0x830E: 'ModelPixelScale',\\\\n 0x8482: 'ModelTiepoint',\\\\n 0x85D8: 'ModelTransformation',\\\\n 0x87AF: 'GeoKeyDirectory',\\\\n 0x87B0: 'GeoDoubleParams',\\\\n 0x87B1: 'GeoAsciiParams',\\\\n};\\\\n\\\\nconst fieldTags = {};\\\\nfor (const key in fieldTagNames) {\\\\n if (fieldTagNames.hasOwnProperty(key)) {\\\\n fieldTags[fieldTagNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst fieldTagTypes = {\\\\n 256: 'SHORT',\\\\n 257: 'SHORT',\\\\n 258: 'SHORT',\\\\n 259: 'SHORT',\\\\n 262: 'SHORT',\\\\n 273: 'LONG',\\\\n 274: 'SHORT',\\\\n 277: 'SHORT',\\\\n 278: 'LONG',\\\\n 279: 'LONG',\\\\n 282: 'RATIONAL',\\\\n 283: 'RATIONAL',\\\\n 284: 'SHORT',\\\\n 286: 'SHORT',\\\\n 287: 'RATIONAL',\\\\n 296: 'SHORT',\\\\n 305: 'ASCII',\\\\n 306: 'ASCII',\\\\n 338: 'SHORT',\\\\n 339: 'SHORT',\\\\n 513: 'LONG',\\\\n 514: 'LONG',\\\\n 1024: 'SHORT',\\\\n 1025: 'SHORT',\\\\n 2048: 'SHORT',\\\\n 2049: 'ASCII',\\\\n 33550: 'DOUBLE',\\\\n 33922: 'DOUBLE',\\\\n 34665: 'LONG',\\\\n 34735: 'SHORT',\\\\n 34737: 'ASCII',\\\\n 42113: 'ASCII',\\\\n};\\\\n\\\\nconst arrayFields = [\\\\n fieldTags.BitsPerSample,\\\\n fieldTags.ExtraSamples,\\\\n fieldTags.SampleFormat,\\\\n fieldTags.StripByteCounts,\\\\n fieldTags.StripOffsets,\\\\n fieldTags.StripRowCounts,\\\\n fieldTags.TileByteCounts,\\\\n fieldTags.TileOffsets,\\\\n];\\\\n\\\\nconst fieldTypeNames = {\\\\n 0x0001: 'BYTE',\\\\n 0x0002: 'ASCII',\\\\n 0x0003: 'SHORT',\\\\n 0x0004: 'LONG',\\\\n 0x0005: 'RATIONAL',\\\\n 0x0006: 'SBYTE',\\\\n 0x0007: 'UNDEFINED',\\\\n 0x0008: 'SSHORT',\\\\n 0x0009: 'SLONG',\\\\n 0x000A: 'SRATIONAL',\\\\n 0x000B: 'FLOAT',\\\\n 0x000C: 'DOUBLE',\\\\n // IFD offset, suggested by https://owl.phy.queensu.ca/~phil/exiftool/standards.html\\\\n 0x000D: 'IFD',\\\\n // introduced by BigTIFF\\\\n 0x0010: 'LONG8',\\\\n 0x0011: 'SLONG8',\\\\n 0x0012: 'IFD8',\\\\n};\\\\n\\\\nconst fieldTypes = {};\\\\nfor (const key in fieldTypeNames) {\\\\n if (fieldTypeNames.hasOwnProperty(key)) {\\\\n fieldTypes[fieldTypeNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst photometricInterpretations = {\\\\n WhiteIsZero: 0,\\\\n BlackIsZero: 1,\\\\n RGB: 2,\\\\n Palette: 3,\\\\n TransparencyMask: 4,\\\\n CMYK: 5,\\\\n YCbCr: 6,\\\\n\\\\n CIELab: 8,\\\\n ICCLab: 9,\\\\n};\\\\n\\\\nconst ExtraSamplesValues = {\\\\n Unspecified: 0,\\\\n Assocalpha: 1,\\\\n Unassalpha: 2,\\\\n};\\\\n\\\\n\\\\nconst geoKeyNames = {\\\\n 1024: 'GTModelTypeGeoKey',\\\\n 1025: 'GTRasterTypeGeoKey',\\\\n 1026: 'GTCitationGeoKey',\\\\n 2048: 'GeographicTypeGeoKey',\\\\n 2049: 'GeogCitationGeoKey',\\\\n 2050: 'GeogGeodeticDatumGeoKey',\\\\n 2051: 'GeogPrimeMeridianGeoKey',\\\\n 2052: 'GeogLinearUnitsGeoKey',\\\\n 2053: 'GeogLinearUnitSizeGeoKey',\\\\n 2054: 'GeogAngularUnitsGeoKey',\\\\n 2055: 'GeogAngularUnitSizeGeoKey',\\\\n 2056: 'GeogEllipsoidGeoKey',\\\\n 2057: 'GeogSemiMajorAxisGeoKey',\\\\n 2058: 'GeogSemiMinorAxisGeoKey',\\\\n 2059: 'GeogInvFlatteningGeoKey',\\\\n 2060: 'GeogAzimuthUnitsGeoKey',\\\\n 2061: 'GeogPrimeMeridianLongGeoKey',\\\\n 2062: 'GeogTOWGS84GeoKey',\\\\n 3072: 'ProjectedCSTypeGeoKey',\\\\n 3073: 'PCSCitationGeoKey',\\\\n 3074: 'ProjectionGeoKey',\\\\n 3075: 'ProjCoordTransGeoKey',\\\\n 3076: 'ProjLinearUnitsGeoKey',\\\\n 3077: 'ProjLinearUnitSizeGeoKey',\\\\n 3078: 'ProjStdParallel1GeoKey',\\\\n 3079: 'ProjStdParallel2GeoKey',\\\\n 3080: 'ProjNatOriginLongGeoKey',\\\\n 3081: 'ProjNatOriginLatGeoKey',\\\\n 3082: 'ProjFalseEastingGeoKey',\\\\n 3083: 'ProjFalseNorthingGeoKey',\\\\n 3084: 'ProjFalseOriginLongGeoKey',\\\\n 3085: 'ProjFalseOriginLatGeoKey',\\\\n 3086: 'ProjFalseOriginEastingGeoKey',\\\\n 3087: 'ProjFalseOriginNorthingGeoKey',\\\\n 3088: 'ProjCenterLongGeoKey',\\\\n 3089: 'ProjCenterLatGeoKey',\\\\n 3090: 'ProjCenterEastingGeoKey',\\\\n 3091: 'ProjCenterNorthingGeoKey',\\\\n 3092: 'ProjScaleAtNatOriginGeoKey',\\\\n 3093: 'ProjScaleAtCenterGeoKey',\\\\n 3094: 'ProjAzimuthAngleGeoKey',\\\\n 3095: 'ProjStraightVertPoleLongGeoKey',\\\\n 3096: 'ProjRectifiedGridAngleGeoKey',\\\\n 4096: 'VerticalCSTypeGeoKey',\\\\n 4097: 'VerticalCitationGeoKey',\\\\n 4098: 'VerticalDatumGeoKey',\\\\n 4099: 'VerticalUnitsGeoKey',\\\\n};\\\\n\\\\nconst geoKeys = {};\\\\nfor (const key in geoKeyNames) {\\\\n if (geoKeyNames.hasOwnProperty(key)) {\\\\n geoKeys[geoKeyNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/globals.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/logging.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/logging.js ***!\\n \\\\*********************************************/\\n/*! exports provided: setLogger, log, info, warn, error, time, timeEnd */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return setLogger; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"log\\\\\\\", function() { return log; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"info\\\\\\\", function() { return info; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"warn\\\\\\\", function() { return warn; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"error\\\\\\\", function() { return error; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"time\\\\\\\", function() { return time; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"timeEnd\\\\\\\", function() { return timeEnd; });\\\\n\\\\n/**\\\\n * A no-op logger\\\\n */\\\\nclass DummyLogger {\\\\n log() {}\\\\n\\\\n info() {}\\\\n\\\\n warn() {}\\\\n\\\\n error() {}\\\\n\\\\n time() {}\\\\n\\\\n timeEnd() {}\\\\n}\\\\n\\\\nlet LOGGER = new DummyLogger();\\\\n\\\\n/**\\\\n *\\\\n * @param {object} logger the new logger. e.g `console`\\\\n */\\\\nfunction setLogger(logger = new DummyLogger()) {\\\\n LOGGER = logger;\\\\n}\\\\n\\\\nfunction log(...args) {\\\\n return LOGGER.log(...args);\\\\n}\\\\n\\\\nfunction info(...args) {\\\\n return LOGGER.info(...args);\\\\n}\\\\n\\\\nfunction warn(...args) {\\\\n return LOGGER.warn(...args);\\\\n}\\\\n\\\\nfunction error(...args) {\\\\n return LOGGER.error(...args);\\\\n}\\\\n\\\\nfunction time(...args) {\\\\n return LOGGER.time(...args);\\\\n}\\\\n\\\\nfunction timeEnd(...args) {\\\\n return LOGGER.timeEnd(...args);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/logging.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/pool.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/pool.js ***!\\n \\\\******************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* WEBPACK VAR INJECTION */(function(__webpack__worker__1) {/* harmony import */ var threads__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! threads */ \\\\\\\"./node_modules/threads/dist-esm/index.js\\\\\\\");\\\\n\\\\n\\\\nconst defaultPoolSize = typeof navigator !== 'undefined' ? navigator.hardwareConcurrency : null;\\\\n\\\\n/**\\\\n * @module pool\\\\n */\\\\n\\\\n/**\\\\n * Pool for workers to decode chunks of the images.\\\\n */\\\\nclass Pool {\\\\n /**\\\\n * @constructor\\\\n * @param {Number} size The size of the pool. Defaults to the number of CPUs\\\\n * available. When this parameter is `null` or 0, then the\\\\n * decoding will be done in the main thread.\\\\n */\\\\n constructor(size = defaultPoolSize) {\\\\n const worker = new threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Worker\\\\\\\"](__webpack__worker__1);\\\\n this.pool = Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Pool\\\\\\\"])(() => Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"spawn\\\\\\\"])(worker), size);\\\\n }\\\\n\\\\n /**\\\\n * Decode the given block of bytes with the set compression method.\\\\n * @param {ArrayBuffer} buffer the array buffer of bytes to decode.\\\\n * @returns {Promise.} the decoded result as a `Promise`\\\\n */\\\\n async decode(fileDirectory, buffer) {\\\\n return new Promise((resolve, reject) => {\\\\n this.pool.queue(async (decode) => {\\\\n try {\\\\n const data = await decode(fileDirectory, buffer);\\\\n resolve(data);\\\\n } catch (err) {\\\\n reject(err);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n\\\\n destroy() {\\\\n this.pool.terminate(true);\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Pool);\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/threads-plugin/dist/loader.js?{\\\\\\\"name\\\\\\\":\\\\\\\"1\\\\\\\"}!./decoder.worker.js */ \\\\\\\"./node_modules/threads-plugin/dist/loader.js?{\\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\"}!./node_modules/geotiff/src/decoder.worker.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/pool.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/predictor.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/predictor.js ***!\\n \\\\***********************************************/\\n/*! exports provided: applyPredictor */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"applyPredictor\\\\\\\", function() { return applyPredictor; });\\\\n\\\\nfunction decodeRowAcc(row, stride) {\\\\n let length = row.length - stride;\\\\n let offset = 0;\\\\n do {\\\\n for (let i = stride; i > 0; i--) {\\\\n row[offset + stride] += row[offset];\\\\n offset++;\\\\n }\\\\n\\\\n length -= stride;\\\\n } while (length > 0);\\\\n}\\\\n\\\\nfunction decodeRowFloatingPoint(row, stride, bytesPerSample) {\\\\n let index = 0;\\\\n let count = row.length;\\\\n const wc = count / bytesPerSample;\\\\n\\\\n while (count > stride) {\\\\n for (let i = stride; i > 0; --i) {\\\\n row[index + stride] += row[index];\\\\n ++index;\\\\n }\\\\n count -= stride;\\\\n }\\\\n\\\\n const copy = row.slice();\\\\n for (let i = 0; i < wc; ++i) {\\\\n for (let b = 0; b < bytesPerSample; ++b) {\\\\n row[(bytesPerSample * i) + b] = copy[((bytesPerSample - b - 1) * wc) + i];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction applyPredictor(block, predictor, width, height, bitsPerSample,\\\\n planarConfiguration) {\\\\n if (!predictor || predictor === 1) {\\\\n return block;\\\\n }\\\\n\\\\n for (let i = 0; i < bitsPerSample.length; ++i) {\\\\n if (bitsPerSample[i] % 8 !== 0) {\\\\n throw new Error('When decoding with predictor, only multiple of 8 bits are supported.');\\\\n }\\\\n if (bitsPerSample[i] !== bitsPerSample[0]) {\\\\n throw new Error('When decoding with predictor, all samples must have the same size.');\\\\n }\\\\n }\\\\n\\\\n const bytesPerSample = bitsPerSample[0] / 8;\\\\n const stride = planarConfiguration === 2 ? 1 : bitsPerSample.length;\\\\n\\\\n for (let i = 0; i < height; ++i) {\\\\n // Last strip will be truncated if height % stripHeight != 0\\\\n if (i * stride * width * bytesPerSample >= block.byteLength) {\\\\n break;\\\\n }\\\\n let row;\\\\n if (predictor === 2) { // horizontal prediction\\\\n switch (bitsPerSample[0]) {\\\\n case 8:\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n break;\\\\n case 16:\\\\n row = new Uint16Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 2,\\\\n );\\\\n break;\\\\n case 32:\\\\n row = new Uint32Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 4,\\\\n );\\\\n break;\\\\n default:\\\\n throw new Error(`Predictor 2 not allowed with ${bitsPerSample[0]} bits per sample.`);\\\\n }\\\\n decodeRowAcc(row, stride, bytesPerSample);\\\\n } else if (predictor === 3) { // horizontal floating point\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n decodeRowFloatingPoint(row, stride, bytesPerSample);\\\\n }\\\\n }\\\\n return block;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/predictor.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/resample.js\\\":\\n/*!**********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/resample.js ***!\\n \\\\**********************************************/\\n/*! exports provided: resampleNearest, resampleBilinear, resample, resampleNearestInterleaved, resampleBilinearInterleaved, resampleInterleaved */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearest\\\\\\\", function() { return resampleNearest; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinear\\\\\\\", function() { return resampleBilinear; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resample\\\\\\\", function() { return resample; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearestInterleaved\\\\\\\", function() { return resampleNearestInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinearInterleaved\\\\\\\", function() { return resampleBilinearInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleInterleaved\\\\\\\", function() { return resampleInterleaved; });\\\\n/**\\\\n * @module resample\\\\n */\\\\n\\\\nfunction copyNewSize(array, width, height, samplesPerPixel = 1) {\\\\n return new (Object.getPrototypeOf(array).constructor)(width * height * samplesPerPixel);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using nearest neighbor value selection.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n const value = array[(cy * inWidth) + cx];\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n// simple linear interpolation, code from:\\\\n// https://en.wikipedia.org/wiki/Linear_interpolation#Programming_language_support\\\\nfunction lerp(v0, v1, t) {\\\\n return ((1 - t) * v0) + (t * v1);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using bilinear interpolation.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n const ll = array[(yl * inWidth) + xl];\\\\n const hl = array[(yl * inWidth) + xh];\\\\n const lh = array[(yh * inWidth) + xl];\\\\n const hh = array[(yh * inWidth) + xh];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using the selected resampling method.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resample(valueArrays, inWidth, inHeight, outWidth, outHeight, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using nearest neighbor value selection.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n for (let i = 0; i < samples; ++i) {\\\\n const value = valueArray[(cy * inWidth * samples) + (cx * samples) + i];\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using bilinear interpolation.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n for (let i = 0; i < samples; ++i) {\\\\n const ll = valueArray[(yl * inWidth * samples) + (xl * samples) + i];\\\\n const hl = valueArray[(yl * inWidth * samples) + (xh * samples) + i];\\\\n const lh = valueArray[(yh * inWidth * samples) + (xl * samples) + i];\\\\n const hh = valueArray[(yh * inWidth * samples) + (xh * samples) + i];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using the selected resampling method.\\\\n * @param {TypedArray} valueArray The input array to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray} The resampled rasters\\\\n */\\\\nfunction resampleInterleaved(valueArray, inWidth, inHeight, outWidth, outHeight, samples, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/resample.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/rgb.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/geotiff/src/rgb.js ***!\\n \\\\*****************************************/\\n/*! exports provided: fromWhiteIsZero, fromBlackIsZero, fromPalette, fromCMYK, fromYCbCr, fromCIELab */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromWhiteIsZero\\\\\\\", function() { return fromWhiteIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlackIsZero\\\\\\\", function() { return fromBlackIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromPalette\\\\\\\", function() { return fromPalette; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCMYK\\\\\\\", function() { return fromCMYK; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromYCbCr\\\\\\\", function() { return fromYCbCr; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCIELab\\\\\\\", function() { return fromCIELab; });\\\\nfunction fromWhiteIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = 256 - (raster[i] / max * 256);\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromBlackIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = raster[i] / max * 256;\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromPalette(raster, colorMap) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n const greenOffset = colorMap.length / 3;\\\\n const blueOffset = colorMap.length / 3 * 2;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n const mapIndex = raster[i];\\\\n rgbRaster[j] = colorMap[mapIndex] / 65536 * 256;\\\\n rgbRaster[j + 1] = colorMap[mapIndex + greenOffset] / 65536 * 256;\\\\n rgbRaster[j + 2] = colorMap[mapIndex + blueOffset] / 65536 * 256;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromCMYK(cmykRaster) {\\\\n const { width, height } = cmykRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n for (let i = 0, j = 0; i < cmykRaster.length; i += 4, j += 3) {\\\\n const c = cmykRaster[i];\\\\n const m = cmykRaster[i + 1];\\\\n const y = cmykRaster[i + 2];\\\\n const k = cmykRaster[i + 3];\\\\n\\\\n rgbRaster[j] = 255 * ((255 - c) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 1] = 255 * ((255 - m) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 2] = 255 * ((255 - y) / 256) * ((255 - k) / 256);\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromYCbCr(yCbCrRaster) {\\\\n const { width, height } = yCbCrRaster;\\\\n const rgbRaster = new Uint8ClampedArray(width * height * 3);\\\\n for (let i = 0, j = 0; i < yCbCrRaster.length; i += 3, j += 3) {\\\\n const y = yCbCrRaster[i];\\\\n const cb = yCbCrRaster[i + 1];\\\\n const cr = yCbCrRaster[i + 2];\\\\n\\\\n rgbRaster[j] = (y + (1.40200 * (cr - 0x80)));\\\\n rgbRaster[j + 1] = (y - (0.34414 * (cb - 0x80)) - (0.71414 * (cr - 0x80)));\\\\n rgbRaster[j + 2] = (y + (1.77200 * (cb - 0x80)));\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nconst Xn = 0.95047;\\\\nconst Yn = 1.00000;\\\\nconst Zn = 1.08883;\\\\n\\\\n// from https://github.com/antimatter15/rgb-lab/blob/master/color.js\\\\n\\\\nfunction fromCIELab(cieLabRaster) {\\\\n const { width, height } = cieLabRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n\\\\n for (let i = 0, j = 0; i < cieLabRaster.length; i += 3, j += 3) {\\\\n const L = cieLabRaster[i + 0];\\\\n const a_ = cieLabRaster[i + 1] << 24 >> 24; // conversion from uint8 to int8\\\\n const b_ = cieLabRaster[i + 2] << 24 >> 24; // same\\\\n\\\\n let y = (L + 16) / 116;\\\\n let x = (a_ / 500) + y;\\\\n let z = y - (b_ / 200);\\\\n let r;\\\\n let g;\\\\n let b;\\\\n\\\\n x = Xn * ((x * x * x > 0.008856) ? x * x * x : (x - (16 / 116)) / 7.787);\\\\n y = Yn * ((y * y * y > 0.008856) ? y * y * y : (y - (16 / 116)) / 7.787);\\\\n z = Zn * ((z * z * z > 0.008856) ? z * z * z : (z - (16 / 116)) / 7.787);\\\\n\\\\n r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\\\\n g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\\\\n b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\\\\n\\\\n r = (r > 0.0031308) ? ((1.055 * (r ** (1 / 2.4))) - 0.055) : 12.92 * r;\\\\n g = (g > 0.0031308) ? ((1.055 * (g ** (1 / 2.4))) - 0.055) : 12.92 * g;\\\\n b = (b > 0.0031308) ? ((1.055 * (b ** (1 / 2.4))) - 0.055) : 12.92 * b;\\\\n\\\\n rgbRaster[j] = Math.max(0, Math.min(1, r)) * 255;\\\\n rgbRaster[j + 1] = Math.max(0, Math.min(1, g)) * 255;\\\\n rgbRaster[j + 2] = Math.max(0, Math.min(1, b)) * 255;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/rgb.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/source.js\\\":\\n/*!********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/source.js ***!\\n \\\\********************************************/\\n/*! exports provided: makeFetchSource, makeXHRSource, makeHttpSource, makeRemoteSource, makeBufferSource, makeFileSource, makeFileReaderSource */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFetchSource\\\\\\\", function() { return makeFetchSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeXHRSource\\\\\\\", function() { return makeXHRSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeHttpSource\\\\\\\", function() { return makeHttpSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeRemoteSource\\\\\\\", function() { return makeRemoteSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeBufferSource\\\\\\\", function() { return makeBufferSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileSource\\\\\\\", function() { return makeFileSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileReaderSource\\\\\\\", function() { return makeFileReaderSource; });\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\");\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(buffer__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fs */ \\\\\\\"./node_modules/node-libs-browser/mock/empty.js\\\\\\\");\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! http */ \\\\\\\"./node_modules/stream-http/index.js\\\\\\\");\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_2__);\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! https */ \\\\\\\"./node_modules/https-browserify/index.js\\\\\\\");\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(https__WEBPACK_IMPORTED_MODULE_3__);\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! url */ \\\\\\\"./node_modules/url/url.js\\\\\\\");\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction readRangeFromBlocks(blocks, rangeOffset, rangeLength) {\\\\n const rangeTop = rangeOffset + rangeLength;\\\\n const rangeData = new ArrayBuffer(rangeLength);\\\\n const rangeView = new Uint8Array(rangeData);\\\\n\\\\n for (const block of blocks) {\\\\n const delta = block.offset - rangeOffset;\\\\n const topDelta = block.top - rangeTop;\\\\n let blockInnerOffset = 0;\\\\n let rangeInnerOffset = 0;\\\\n let usedBlockLength;\\\\n\\\\n if (delta < 0) {\\\\n blockInnerOffset = -delta;\\\\n } else if (delta > 0) {\\\\n rangeInnerOffset = delta;\\\\n }\\\\n\\\\n if (topDelta < 0) {\\\\n usedBlockLength = block.length - blockInnerOffset;\\\\n } else {\\\\n usedBlockLength = rangeTop - block.offset - blockInnerOffset;\\\\n }\\\\n\\\\n const blockView = new Uint8Array(block.data, blockInnerOffset, usedBlockLength);\\\\n rangeView.set(blockView, rangeInnerOffset);\\\\n }\\\\n\\\\n return rangeData;\\\\n}\\\\n\\\\n/**\\\\n * Interface for Source objects.\\\\n * @interface Source\\\\n */\\\\n\\\\n/**\\\\n * @function Source#fetch\\\\n * @summary The main method to retrieve the data from the source.\\\\n * @param {number} offset The offset to read from in the source\\\\n * @param {number} length The requested number of bytes\\\\n */\\\\n\\\\n/**\\\\n * @typedef {object} Block\\\\n * @property {ArrayBuffer} data The actual data of the block.\\\\n * @property {number} offset The actual offset of the block within the file.\\\\n * @property {number} length The actual size of the block in bytes.\\\\n */\\\\n\\\\n/**\\\\n * Callback type for sources to request patches of data.\\\\n * @callback requestCallback\\\\n * @async\\\\n * @param {number} offset The offset within the file.\\\\n * @param {number} length The desired length of data to be read.\\\\n * @returns {Promise} The block of data.\\\\n */\\\\n\\\\n/**\\\\n * @module source\\\\n */\\\\n\\\\n/*\\\\n * Split a list of identifiers to form groups of coherent ones\\\\n */\\\\nfunction getCoherentBlockGroups(blockIds) {\\\\n if (blockIds.length === 0) {\\\\n return [];\\\\n }\\\\n\\\\n const groups = [];\\\\n let current = [];\\\\n groups.push(current);\\\\n\\\\n for (let i = 0; i < blockIds.length; ++i) {\\\\n if (i === 0 || blockIds[i] === blockIds[i - 1] + 1) {\\\\n current.push(blockIds[i]);\\\\n } else {\\\\n current = [blockIds[i]];\\\\n groups.push(current);\\\\n }\\\\n }\\\\n return groups;\\\\n}\\\\n\\\\n\\\\n/*\\\\n * Promisified wrapper around 'setTimeout' to allow 'await'\\\\n */\\\\nasync function wait(milliseconds) {\\\\n return new Promise((resolve) => setTimeout(resolve, milliseconds));\\\\n}\\\\n\\\\n/**\\\\n * BlockedSource - an abstraction of (remote) files.\\\\n * @implements Source\\\\n */\\\\nclass BlockedSource {\\\\n /**\\\\n * @param {requestCallback} retrievalFunction Callback function to request data\\\\n * @param {object} options Additional options\\\\n * @param {object} options.blockSize Size of blocks to be fetched\\\\n */\\\\n constructor(retrievalFunction, { blockSize = 65536 } = {}) {\\\\n this.retrievalFunction = retrievalFunction;\\\\n this.blockSize = blockSize;\\\\n\\\\n // currently running block requests\\\\n this.blockRequests = new Map();\\\\n\\\\n // already retrieved blocks\\\\n this.blocks = new Map();\\\\n\\\\n // block ids waiting for a batched request. Either a Set or null\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n /**\\\\n * Fetch a subset of the file.\\\\n * @param {number} offset The offset within the file to read from.\\\\n * @param {number} length The length in bytes to read from.\\\\n * @returns {ArrayBuffer} The subset of the file.\\\\n */\\\\n async fetch(offset, length, immediate = false) {\\\\n const top = offset + length;\\\\n\\\\n // calculate what blocks intersect the specified range (offset + length)\\\\n // determine what blocks are already stored or beeing requested\\\\n const firstBlockOffset = Math.floor(offset / this.blockSize) * this.blockSize;\\\\n const allBlockIds = [];\\\\n const missingBlockIds = [];\\\\n const blockRequests = [];\\\\n\\\\n for (let current = firstBlockOffset; current < top; current += this.blockSize) {\\\\n const blockId = Math.floor(current / this.blockSize);\\\\n if (!this.blocks.has(blockId) && !this.blockRequests.has(blockId)) {\\\\n missingBlockIds.push(blockId);\\\\n }\\\\n if (this.blockRequests.has(blockId)) {\\\\n blockRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n allBlockIds.push(blockId);\\\\n }\\\\n\\\\n // determine whether there are already blocks in the queue to be requested\\\\n // if so, add the missing blocks to this list\\\\n if (!this.blockIdsAwaitingRequest) {\\\\n this.blockIdsAwaitingRequest = new Set(missingBlockIds);\\\\n } else {\\\\n for (let i = 0; i < missingBlockIds.length; ++i) {\\\\n const id = missingBlockIds[i];\\\\n this.blockIdsAwaitingRequest.add(id);\\\\n }\\\\n }\\\\n\\\\n // in immediate mode, we don't want to wait for possible additional requests coming in\\\\n if (!immediate) {\\\\n await wait();\\\\n }\\\\n\\\\n // determine if we are the thread to start the requests.\\\\n if (this.blockIdsAwaitingRequest) {\\\\n // get all coherent blocks as groups to be requested in a single request\\\\n const groups = getCoherentBlockGroups(\\\\n Array.from(this.blockIdsAwaitingRequest).sort(),\\\\n );\\\\n\\\\n // iterate over all blocks\\\\n for (const group of groups) {\\\\n // fetch a group as in a single request\\\\n const request = this.requestData(\\\\n group[0] * this.blockSize, group.length * this.blockSize,\\\\n );\\\\n\\\\n // for each block in the request, make a small 'splitter',\\\\n // i.e: wait for the request to finish, then cut out the bytes for\\\\n // that block and store it there.\\\\n // we keep that as a promise in 'blockRequests' to allow waiting on\\\\n // a single block.\\\\n for (let i = 0; i < group.length; ++i) {\\\\n const id = group[i];\\\\n this.blockRequests.set(id, (async () => {\\\\n const response = await request;\\\\n const o = i * this.blockSize;\\\\n const t = Math.min(o + this.blockSize, response.data.byteLength);\\\\n const data = response.data.slice(o, t);\\\\n this.blockRequests.delete(id);\\\\n this.blocks.set(id, {\\\\n data,\\\\n offset: response.offset + o,\\\\n length: data.byteLength,\\\\n top: response.offset + t,\\\\n });\\\\n })());\\\\n }\\\\n }\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n // get a list of currently running requests for the blocks still missing\\\\n const missingRequests = [];\\\\n for (const blockId of missingBlockIds) {\\\\n if (this.blockRequests.has(blockId)) {\\\\n missingRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n }\\\\n\\\\n // wait for all missing requests to finish\\\\n await Promise.all(missingRequests);\\\\n await Promise.all(blockRequests);\\\\n\\\\n // now get all blocks for the request and return a summary buffer\\\\n const blocks = allBlockIds.map((id) => this.blocks.get(id));\\\\n return readRangeFromBlocks(blocks, offset, length);\\\\n }\\\\n\\\\n async requestData(requestedOffset, requestedLength) {\\\\n const response = await this.retrievalFunction(requestedOffset, requestedLength);\\\\n if (!response.length) {\\\\n response.length = response.data.byteLength;\\\\n } else if (response.length !== response.data.byteLength) {\\\\n response.data = response.data.slice(0, response.length);\\\\n }\\\\n response.top = response.offset + response.length;\\\\n return response;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [fetch]{@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFetchSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n const response = await fetch(url, {\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n },\\\\n });\\\\n\\\\n // check the response was okay and if the server actually understands range requests\\\\n if (!response.ok) {\\\\n throw new Error('Error fetching data.');\\\\n } else if (response.status === 206) {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset,\\\\n length,\\\\n };\\\\n } else {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n };\\\\n }\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [XHR]{@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeXHRSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n return new Promise((resolve, reject) => {\\\\n const request = new XMLHttpRequest();\\\\n request.open('GET', url);\\\\n request.responseType = 'arraybuffer';\\\\n const requestHeaders = { ...headers, Range: `bytes=${offset}-${offset + length - 1}` };\\\\n for (const [key, value] of Object.entries(requestHeaders)) {\\\\n request.setRequestHeader(key, value);\\\\n }\\\\n\\\\n request.onload = () => {\\\\n const data = request.response;\\\\n if (request.status === 206) {\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length,\\\\n });\\\\n } else {\\\\n resolve({\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n });\\\\n }\\\\n };\\\\n request.onerror = reject;\\\\n request.send();\\\\n });\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the node\\\\n * [http]{@link https://nodejs.org/api/http.html} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n */\\\\nfunction makeHttpSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => new Promise((resolve, reject) => {\\\\n const parsed = url__WEBPACK_IMPORTED_MODULE_4___default.a.parse(url);\\\\n const request = (parsed.protocol === 'http:' ? http__WEBPACK_IMPORTED_MODULE_2___default.a : https__WEBPACK_IMPORTED_MODULE_3___default.a).get(\\\\n { ...parsed,\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n } }, (result) => {\\\\n const chunks = [];\\\\n // collect chunks\\\\n result.on('data', (chunk) => {\\\\n chunks.push(chunk);\\\\n });\\\\n\\\\n // concatenate all chunks and resolve the promise with the resulting buffer\\\\n result.on('end', () => {\\\\n const data = buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].concat(chunks).buffer;\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length: data.byteLength,\\\\n });\\\\n });\\\\n },\\\\n );\\\\n request.on('error', reject);\\\\n }), { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file. Uses either XHR, fetch or nodes http API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Boolean} [options.forceXHR] Force the usage of XMLHttpRequest.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeRemoteSource(url, options) {\\\\n const { forceXHR } = options;\\\\n if (typeof fetch === 'function' && !forceXHR) {\\\\n return makeFetchSource(url, options);\\\\n }\\\\n if (typeof XMLHttpRequest !== 'undefined') {\\\\n return makeXHRSource(url, options);\\\\n }\\\\n if (http__WEBPACK_IMPORTED_MODULE_2___default.a.get) {\\\\n return makeHttpSource(url, options);\\\\n }\\\\n throw new Error('No remote source available');\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a local\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The ArrayBuffer to parse the GeoTIFF from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeBufferSource(arrayBuffer) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return arrayBuffer.slice(offset, offset + length);\\\\n },\\\\n };\\\\n}\\\\n\\\\nfunction closeAsync(fd) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"close\\\\\\\"])(fd, err => {\\\\n if (err) {\\\\n reject(err)\\\\n } else {\\\\n resolve()\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction openAsync(path, flags, mode = undefined) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"open\\\\\\\"])(path, flags, mode, (err, fd) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve(fd);\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction readAsync(...args) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"read\\\\\\\"])(...args, (err, bytesRead, buffer) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve({ bytesRead, buffer });\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Creates a new source using the node filesystem API.\\\\n * @param {string} path The path to the file in the local filesystem.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileSource(path) {\\\\n const fileOpen = openAsync(path, 'r');\\\\n\\\\n return {\\\\n async fetch(offset, length) {\\\\n const fd = await fileOpen;\\\\n const { buffer } = await readAsync(fd, buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].alloc(length), 0, length, offset);\\\\n return buffer.buffer;\\\\n },\\\\n async close() {\\\\n const fd = await fileOpen;\\\\n return await closeAsync(fd);\\\\n },\\\\n };\\\\n}\\\\n\\\\n/**\\\\n * Create a new source from a given file/blob.\\\\n * @param {Blob} file The file or blob to read from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileReaderSource(file) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return new Promise((resolve, reject) => {\\\\n const blob = file.slice(offset, offset + length);\\\\n const reader = new FileReader();\\\\n reader.onload = (event) => resolve(event.target.result);\\\\n reader.onerror = reject;\\\\n reader.readAsArrayBuffer(blob);\\\\n });\\\\n },\\\\n };\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/source.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/utils.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/utils.js ***!\\n \\\\*******************************************/\\n/*! exports provided: assign, chunk, endsWith, forEach, invert, range, times, toArray, toArrayRecursively */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"assign\\\\\\\", function() { return assign; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"chunk\\\\\\\", function() { return chunk; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"endsWith\\\\\\\", function() { return endsWith; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"forEach\\\\\\\", function() { return forEach; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"invert\\\\\\\", function() { return invert; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"range\\\\\\\", function() { return range; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"times\\\\\\\", function() { return times; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArray\\\\\\\", function() { return toArray; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArrayRecursively\\\\\\\", function() { return toArrayRecursively; });\\\\nfunction assign(target, source) {\\\\n for (const key in source) {\\\\n if (source.hasOwnProperty(key)) {\\\\n target[key] = source[key];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction chunk(iterable, length) {\\\\n const results = [];\\\\n const lengthOfIterable = iterable.length;\\\\n for (let i = 0; i < lengthOfIterable; i += length) {\\\\n const chunked = [];\\\\n for (let ci = i; ci < i + length; ci++) {\\\\n chunked.push(iterable[ci]);\\\\n }\\\\n results.push(chunked);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction endsWith(string, expectedEnding) {\\\\n if (string.length < expectedEnding.length) {\\\\n return false;\\\\n }\\\\n const actualEnding = string.substr(string.length - expectedEnding.length);\\\\n return actualEnding === expectedEnding;\\\\n}\\\\n\\\\nfunction forEach(iterable, func) {\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n func(iterable[i], i);\\\\n }\\\\n}\\\\n\\\\nfunction invert(oldObj) {\\\\n const newObj = {};\\\\n for (const key in oldObj) {\\\\n if (oldObj.hasOwnProperty(key)) {\\\\n const value = oldObj[key];\\\\n newObj[value] = key;\\\\n }\\\\n }\\\\n return newObj;\\\\n}\\\\n\\\\nfunction range(n) {\\\\n const results = [];\\\\n for (let i = 0; i < n; i++) {\\\\n results.push(i);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction times(numTimes, func) {\\\\n const results = [];\\\\n for (let i = 0; i < numTimes; i++) {\\\\n results.push(func(i));\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArray(iterable) {\\\\n const results = [];\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n results.push(iterable[i]);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArrayRecursively(input) {\\\\n if (input.length) {\\\\n return toArray(input).map(toArrayRecursively);\\\\n }\\\\n return input;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/https-browserify/index.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/https-browserify/index.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"var http = __webpack_require__(/*! http */ \\\\\\\"./node_modules/stream-http/index.js\\\\\\\")\\\\nvar url = __webpack_require__(/*! url */ \\\\\\\"./node_modules/url/url.js\\\\\\\")\\\\n\\\\nvar https = module.exports\\\\n\\\\nfor (var key in http) {\\\\n if (http.hasOwnProperty(key)) https[key] = http[key]\\\\n}\\\\n\\\\nhttps.request = function (params, cb) {\\\\n params = validateParams(params)\\\\n return http.request.call(this, params, cb)\\\\n}\\\\n\\\\nhttps.get = function (params, cb) {\\\\n params = validateParams(params)\\\\n return http.get.call(this, params, cb)\\\\n}\\\\n\\\\nfunction validateParams (params) {\\\\n if (typeof params === 'string') {\\\\n params = url.parse(params)\\\\n }\\\\n if (!params.protocol) {\\\\n params.protocol = 'https:'\\\\n }\\\\n if (params.protocol !== 'https:') {\\\\n throw new Error('Protocol \\\\\\\"' + params.protocol + '\\\\\\\" not supported. Expected \\\\\\\"https:\\\\\\\"')\\\\n }\\\\n return params\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/https-browserify/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/ieee754/index.js\\\":\\n/*!***************************************!*\\\\\\n !*** ./node_modules/ieee754/index.js ***!\\n \\\\***************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\\\\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\\\\n var e, m\\\\n var eLen = (nBytes * 8) - mLen - 1\\\\n var eMax = (1 << eLen) - 1\\\\n var eBias = eMax >> 1\\\\n var nBits = -7\\\\n var i = isLE ? (nBytes - 1) : 0\\\\n var d = isLE ? -1 : 1\\\\n var s = buffer[offset + i]\\\\n\\\\n i += d\\\\n\\\\n e = s & ((1 << (-nBits)) - 1)\\\\n s >>= (-nBits)\\\\n nBits += eLen\\\\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\\\n\\\\n m = e & ((1 << (-nBits)) - 1)\\\\n e >>= (-nBits)\\\\n nBits += mLen\\\\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\\\n\\\\n if (e === 0) {\\\\n e = 1 - eBias\\\\n } else if (e === eMax) {\\\\n return m ? NaN : ((s ? -1 : 1) * Infinity)\\\\n } else {\\\\n m = m + Math.pow(2, mLen)\\\\n e = e - eBias\\\\n }\\\\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\\\\n}\\\\n\\\\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\\\\n var e, m, c\\\\n var eLen = (nBytes * 8) - mLen - 1\\\\n var eMax = (1 << eLen) - 1\\\\n var eBias = eMax >> 1\\\\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\\\\n var i = isLE ? 0 : (nBytes - 1)\\\\n var d = isLE ? 1 : -1\\\\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\\\\n\\\\n value = Math.abs(value)\\\\n\\\\n if (isNaN(value) || value === Infinity) {\\\\n m = isNaN(value) ? 1 : 0\\\\n e = eMax\\\\n } else {\\\\n e = Math.floor(Math.log(value) / Math.LN2)\\\\n if (value * (c = Math.pow(2, -e)) < 1) {\\\\n e--\\\\n c *= 2\\\\n }\\\\n if (e + eBias >= 1) {\\\\n value += rt / c\\\\n } else {\\\\n value += rt * Math.pow(2, 1 - eBias)\\\\n }\\\\n if (value * c >= 2) {\\\\n e++\\\\n c /= 2\\\\n }\\\\n\\\\n if (e + eBias >= eMax) {\\\\n m = 0\\\\n e = eMax\\\\n } else if (e + eBias >= 1) {\\\\n m = ((value * c) - 1) * Math.pow(2, mLen)\\\\n e = e + eBias\\\\n } else {\\\\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\\\\n e = 0\\\\n }\\\\n }\\\\n\\\\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\\\\n\\\\n e = (e << mLen) | m\\\\n eLen += mLen\\\\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\\\\n\\\\n buffer[offset + i - d] |= s * 128\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/ieee754/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/inherits/inherits_browser.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/inherits/inherits_browser.js ***!\\n \\\\***************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"if (typeof Object.create === 'function') {\\\\n // implementation from standard node.js 'util' module\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n ctor.prototype = Object.create(superCtor.prototype, {\\\\n constructor: {\\\\n value: ctor,\\\\n enumerable: false,\\\\n writable: true,\\\\n configurable: true\\\\n }\\\\n })\\\\n }\\\\n };\\\\n} else {\\\\n // old school shim for old browsers\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n var TempCtor = function () {}\\\\n TempCtor.prototype = superCtor.prototype\\\\n ctor.prototype = new TempCtor()\\\\n ctor.prototype.constructor = ctor\\\\n }\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/inherits/inherits_browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/is-observable/index.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/is-observable/index.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nmodule.exports = value => {\\\\n\\\\tif (!value) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\tif (typeof Symbol.observable === 'symbol' && typeof value[Symbol.observable] === 'function') {\\\\n\\\\t\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\t\\\\treturn value === value[Symbol.observable]();\\\\n\\\\t}\\\\n\\\\n\\\\tif (typeof value['@@observable'] === 'function') {\\\\n\\\\t\\\\treturn value === value['@@observable']();\\\\n\\\\t}\\\\n\\\\n\\\\treturn false;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/is-observable/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/isarray/index.js\\\":\\n/*!***************************************!*\\\\\\n !*** ./node_modules/isarray/index.js ***!\\n \\\\***************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"var toString = {}.toString;\\\\n\\\\nmodule.exports = Array.isArray || function (arr) {\\\\n return toString.call(arr) == '[object Array]';\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/isarray/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/mock/empty.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/mock/empty.js ***!\\n \\\\******************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/mock/empty.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\":\\n/*!*********************************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/node_modules/buffer/index.js ***!\\n \\\\*********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global) {/*!\\\\n * The buffer module from node.js, for the browser.\\\\n *\\\\n * @author Feross Aboukhadijeh \\\\n * @license MIT\\\\n */\\\\n/* eslint-disable no-proto */\\\\n\\\\n\\\\n\\\\nvar base64 = __webpack_require__(/*! base64-js */ \\\\\\\"./node_modules/base64-js/index.js\\\\\\\")\\\\nvar ieee754 = __webpack_require__(/*! ieee754 */ \\\\\\\"./node_modules/ieee754/index.js\\\\\\\")\\\\nvar isArray = __webpack_require__(/*! isarray */ \\\\\\\"./node_modules/isarray/index.js\\\\\\\")\\\\n\\\\nexports.Buffer = Buffer\\\\nexports.SlowBuffer = SlowBuffer\\\\nexports.INSPECT_MAX_BYTES = 50\\\\n\\\\n/**\\\\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\\\\n * === true Use Uint8Array implementation (fastest)\\\\n * === false Use Object implementation (most compatible, even IE6)\\\\n *\\\\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\\\\n * Opera 11.6+, iOS 4.2+.\\\\n *\\\\n * Due to various browser bugs, sometimes the Object implementation will be used even\\\\n * when the browser supports typed arrays.\\\\n *\\\\n * Note:\\\\n *\\\\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\\\\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\\\\n *\\\\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\\\\n *\\\\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\\\\n * incorrect length in some situations.\\\\n\\\\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\\\\n * get the Object implementation, which is slower but behaves correctly.\\\\n */\\\\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\\\\n ? global.TYPED_ARRAY_SUPPORT\\\\n : typedArraySupport()\\\\n\\\\n/*\\\\n * Export kMaxLength after typed array support is determined.\\\\n */\\\\nexports.kMaxLength = kMaxLength()\\\\n\\\\nfunction typedArraySupport () {\\\\n try {\\\\n var arr = new Uint8Array(1)\\\\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\\\\n return arr.foo() === 42 && // typed array instances can be augmented\\\\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\\\\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\\\\n } catch (e) {\\\\n return false\\\\n }\\\\n}\\\\n\\\\nfunction kMaxLength () {\\\\n return Buffer.TYPED_ARRAY_SUPPORT\\\\n ? 0x7fffffff\\\\n : 0x3fffffff\\\\n}\\\\n\\\\nfunction createBuffer (that, length) {\\\\n if (kMaxLength() < length) {\\\\n throw new RangeError('Invalid typed array length')\\\\n }\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n // Return an augmented `Uint8Array` instance, for best performance\\\\n that = new Uint8Array(length)\\\\n that.__proto__ = Buffer.prototype\\\\n } else {\\\\n // Fallback: Return an object instance of the Buffer class\\\\n if (that === null) {\\\\n that = new Buffer(length)\\\\n }\\\\n that.length = length\\\\n }\\\\n\\\\n return that\\\\n}\\\\n\\\\n/**\\\\n * The Buffer constructor returns instances of `Uint8Array` that have their\\\\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\\\\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\\\\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\\\\n * returns a single octet.\\\\n *\\\\n * The `Uint8Array` prototype remains unmodified.\\\\n */\\\\n\\\\nfunction Buffer (arg, encodingOrOffset, length) {\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\\\\n return new Buffer(arg, encodingOrOffset, length)\\\\n }\\\\n\\\\n // Common case.\\\\n if (typeof arg === 'number') {\\\\n if (typeof encodingOrOffset === 'string') {\\\\n throw new Error(\\\\n 'If encoding is specified then the first argument must be a string'\\\\n )\\\\n }\\\\n return allocUnsafe(this, arg)\\\\n }\\\\n return from(this, arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nBuffer.poolSize = 8192 // not used by this implementation\\\\n\\\\n// TODO: Legacy, not needed anymore. Remove in next major version.\\\\nBuffer._augment = function (arr) {\\\\n arr.__proto__ = Buffer.prototype\\\\n return arr\\\\n}\\\\n\\\\nfunction from (that, value, encodingOrOffset, length) {\\\\n if (typeof value === 'number') {\\\\n throw new TypeError('\\\\\\\"value\\\\\\\" argument must not be a number')\\\\n }\\\\n\\\\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\\\\n return fromArrayBuffer(that, value, encodingOrOffset, length)\\\\n }\\\\n\\\\n if (typeof value === 'string') {\\\\n return fromString(that, value, encodingOrOffset)\\\\n }\\\\n\\\\n return fromObject(that, value)\\\\n}\\\\n\\\\n/**\\\\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\\\\n * if value is a number.\\\\n * Buffer.from(str[, encoding])\\\\n * Buffer.from(array)\\\\n * Buffer.from(buffer)\\\\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\\\\n **/\\\\nBuffer.from = function (value, encodingOrOffset, length) {\\\\n return from(null, value, encodingOrOffset, length)\\\\n}\\\\n\\\\nif (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n Buffer.prototype.__proto__ = Uint8Array.prototype\\\\n Buffer.__proto__ = Uint8Array\\\\n if (typeof Symbol !== 'undefined' && Symbol.species &&\\\\n Buffer[Symbol.species] === Buffer) {\\\\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\\\\n Object.defineProperty(Buffer, Symbol.species, {\\\\n value: null,\\\\n configurable: true\\\\n })\\\\n }\\\\n}\\\\n\\\\nfunction assertSize (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('\\\\\\\"size\\\\\\\" argument must be a number')\\\\n } else if (size < 0) {\\\\n throw new RangeError('\\\\\\\"size\\\\\\\" argument must not be negative')\\\\n }\\\\n}\\\\n\\\\nfunction alloc (that, size, fill, encoding) {\\\\n assertSize(size)\\\\n if (size <= 0) {\\\\n return createBuffer(that, size)\\\\n }\\\\n if (fill !== undefined) {\\\\n // Only pay attention to encoding if it's a string. This\\\\n // prevents accidentally sending in a number that would\\\\n // be interpretted as a start offset.\\\\n return typeof encoding === 'string'\\\\n ? createBuffer(that, size).fill(fill, encoding)\\\\n : createBuffer(that, size).fill(fill)\\\\n }\\\\n return createBuffer(that, size)\\\\n}\\\\n\\\\n/**\\\\n * Creates a new filled Buffer instance.\\\\n * alloc(size[, fill[, encoding]])\\\\n **/\\\\nBuffer.alloc = function (size, fill, encoding) {\\\\n return alloc(null, size, fill, encoding)\\\\n}\\\\n\\\\nfunction allocUnsafe (that, size) {\\\\n assertSize(size)\\\\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\\\\n for (var i = 0; i < size; ++i) {\\\\n that[i] = 0\\\\n }\\\\n }\\\\n return that\\\\n}\\\\n\\\\n/**\\\\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\\\\n * */\\\\nBuffer.allocUnsafe = function (size) {\\\\n return allocUnsafe(null, size)\\\\n}\\\\n/**\\\\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\\\\n */\\\\nBuffer.allocUnsafeSlow = function (size) {\\\\n return allocUnsafe(null, size)\\\\n}\\\\n\\\\nfunction fromString (that, string, encoding) {\\\\n if (typeof encoding !== 'string' || encoding === '') {\\\\n encoding = 'utf8'\\\\n }\\\\n\\\\n if (!Buffer.isEncoding(encoding)) {\\\\n throw new TypeError('\\\\\\\"encoding\\\\\\\" must be a valid string encoding')\\\\n }\\\\n\\\\n var length = byteLength(string, encoding) | 0\\\\n that = createBuffer(that, length)\\\\n\\\\n var actual = that.write(string, encoding)\\\\n\\\\n if (actual !== length) {\\\\n // Writing a hex string, for example, that contains invalid characters will\\\\n // cause everything after the first invalid character to be ignored. (e.g.\\\\n // 'abxxcd' will be treated as 'ab')\\\\n that = that.slice(0, actual)\\\\n }\\\\n\\\\n return that\\\\n}\\\\n\\\\nfunction fromArrayLike (that, array) {\\\\n var length = array.length < 0 ? 0 : checked(array.length) | 0\\\\n that = createBuffer(that, length)\\\\n for (var i = 0; i < length; i += 1) {\\\\n that[i] = array[i] & 255\\\\n }\\\\n return that\\\\n}\\\\n\\\\nfunction fromArrayBuffer (that, array, byteOffset, length) {\\\\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\\\\n\\\\n if (byteOffset < 0 || array.byteLength < byteOffset) {\\\\n throw new RangeError('\\\\\\\\'offset\\\\\\\\' is out of bounds')\\\\n }\\\\n\\\\n if (array.byteLength < byteOffset + (length || 0)) {\\\\n throw new RangeError('\\\\\\\\'length\\\\\\\\' is out of bounds')\\\\n }\\\\n\\\\n if (byteOffset === undefined && length === undefined) {\\\\n array = new Uint8Array(array)\\\\n } else if (length === undefined) {\\\\n array = new Uint8Array(array, byteOffset)\\\\n } else {\\\\n array = new Uint8Array(array, byteOffset, length)\\\\n }\\\\n\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n // Return an augmented `Uint8Array` instance, for best performance\\\\n that = array\\\\n that.__proto__ = Buffer.prototype\\\\n } else {\\\\n // Fallback: Return an object instance of the Buffer class\\\\n that = fromArrayLike(that, array)\\\\n }\\\\n return that\\\\n}\\\\n\\\\nfunction fromObject (that, obj) {\\\\n if (Buffer.isBuffer(obj)) {\\\\n var len = checked(obj.length) | 0\\\\n that = createBuffer(that, len)\\\\n\\\\n if (that.length === 0) {\\\\n return that\\\\n }\\\\n\\\\n obj.copy(that, 0, 0, len)\\\\n return that\\\\n }\\\\n\\\\n if (obj) {\\\\n if ((typeof ArrayBuffer !== 'undefined' &&\\\\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\\\\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\\\\n return createBuffer(that, 0)\\\\n }\\\\n return fromArrayLike(that, obj)\\\\n }\\\\n\\\\n if (obj.type === 'Buffer' && isArray(obj.data)) {\\\\n return fromArrayLike(that, obj.data)\\\\n }\\\\n }\\\\n\\\\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\\\\n}\\\\n\\\\nfunction checked (length) {\\\\n // Note: cannot use `length < kMaxLength()` here because that fails when\\\\n // length is NaN (which is otherwise coerced to zero.)\\\\n if (length >= kMaxLength()) {\\\\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\\\\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\\\\n }\\\\n return length | 0\\\\n}\\\\n\\\\nfunction SlowBuffer (length) {\\\\n if (+length != length) { // eslint-disable-line eqeqeq\\\\n length = 0\\\\n }\\\\n return Buffer.alloc(+length)\\\\n}\\\\n\\\\nBuffer.isBuffer = function isBuffer (b) {\\\\n return !!(b != null && b._isBuffer)\\\\n}\\\\n\\\\nBuffer.compare = function compare (a, b) {\\\\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\\\\n throw new TypeError('Arguments must be Buffers')\\\\n }\\\\n\\\\n if (a === b) return 0\\\\n\\\\n var x = a.length\\\\n var y = b.length\\\\n\\\\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\\\\n if (a[i] !== b[i]) {\\\\n x = a[i]\\\\n y = b[i]\\\\n break\\\\n }\\\\n }\\\\n\\\\n if (x < y) return -1\\\\n if (y < x) return 1\\\\n return 0\\\\n}\\\\n\\\\nBuffer.isEncoding = function isEncoding (encoding) {\\\\n switch (String(encoding).toLowerCase()) {\\\\n case 'hex':\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n case 'ascii':\\\\n case 'latin1':\\\\n case 'binary':\\\\n case 'base64':\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return true\\\\n default:\\\\n return false\\\\n }\\\\n}\\\\n\\\\nBuffer.concat = function concat (list, length) {\\\\n if (!isArray(list)) {\\\\n throw new TypeError('\\\\\\\"list\\\\\\\" argument must be an Array of Buffers')\\\\n }\\\\n\\\\n if (list.length === 0) {\\\\n return Buffer.alloc(0)\\\\n }\\\\n\\\\n var i\\\\n if (length === undefined) {\\\\n length = 0\\\\n for (i = 0; i < list.length; ++i) {\\\\n length += list[i].length\\\\n }\\\\n }\\\\n\\\\n var buffer = Buffer.allocUnsafe(length)\\\\n var pos = 0\\\\n for (i = 0; i < list.length; ++i) {\\\\n var buf = list[i]\\\\n if (!Buffer.isBuffer(buf)) {\\\\n throw new TypeError('\\\\\\\"list\\\\\\\" argument must be an Array of Buffers')\\\\n }\\\\n buf.copy(buffer, pos)\\\\n pos += buf.length\\\\n }\\\\n return buffer\\\\n}\\\\n\\\\nfunction byteLength (string, encoding) {\\\\n if (Buffer.isBuffer(string)) {\\\\n return string.length\\\\n }\\\\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\\\\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\\\\n return string.byteLength\\\\n }\\\\n if (typeof string !== 'string') {\\\\n string = '' + string\\\\n }\\\\n\\\\n var len = string.length\\\\n if (len === 0) return 0\\\\n\\\\n // Use a for loop to avoid recursion\\\\n var loweredCase = false\\\\n for (;;) {\\\\n switch (encoding) {\\\\n case 'ascii':\\\\n case 'latin1':\\\\n case 'binary':\\\\n return len\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n case undefined:\\\\n return utf8ToBytes(string).length\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return len * 2\\\\n case 'hex':\\\\n return len >>> 1\\\\n case 'base64':\\\\n return base64ToBytes(string).length\\\\n default:\\\\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\\\\n encoding = ('' + encoding).toLowerCase()\\\\n loweredCase = true\\\\n }\\\\n }\\\\n}\\\\nBuffer.byteLength = byteLength\\\\n\\\\nfunction slowToString (encoding, start, end) {\\\\n var loweredCase = false\\\\n\\\\n // No need to verify that \\\\\\\"this.length <= MAX_UINT32\\\\\\\" since it's a read-only\\\\n // property of a typed array.\\\\n\\\\n // This behaves neither like String nor Uint8Array in that we set start/end\\\\n // to their upper/lower bounds if the value passed is out of range.\\\\n // undefined is handled specially as per ECMA-262 6th Edition,\\\\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\\\\n if (start === undefined || start < 0) {\\\\n start = 0\\\\n }\\\\n // Return early if start > this.length. Done here to prevent potential uint32\\\\n // coercion fail below.\\\\n if (start > this.length) {\\\\n return ''\\\\n }\\\\n\\\\n if (end === undefined || end > this.length) {\\\\n end = this.length\\\\n }\\\\n\\\\n if (end <= 0) {\\\\n return ''\\\\n }\\\\n\\\\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\\\\n end >>>= 0\\\\n start >>>= 0\\\\n\\\\n if (end <= start) {\\\\n return ''\\\\n }\\\\n\\\\n if (!encoding) encoding = 'utf8'\\\\n\\\\n while (true) {\\\\n switch (encoding) {\\\\n case 'hex':\\\\n return hexSlice(this, start, end)\\\\n\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n return utf8Slice(this, start, end)\\\\n\\\\n case 'ascii':\\\\n return asciiSlice(this, start, end)\\\\n\\\\n case 'latin1':\\\\n case 'binary':\\\\n return latin1Slice(this, start, end)\\\\n\\\\n case 'base64':\\\\n return base64Slice(this, start, end)\\\\n\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return utf16leSlice(this, start, end)\\\\n\\\\n default:\\\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\\\n encoding = (encoding + '').toLowerCase()\\\\n loweredCase = true\\\\n }\\\\n }\\\\n}\\\\n\\\\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\\\\n// Buffer instances.\\\\nBuffer.prototype._isBuffer = true\\\\n\\\\nfunction swap (b, n, m) {\\\\n var i = b[n]\\\\n b[n] = b[m]\\\\n b[m] = i\\\\n}\\\\n\\\\nBuffer.prototype.swap16 = function swap16 () {\\\\n var len = this.length\\\\n if (len % 2 !== 0) {\\\\n throw new RangeError('Buffer size must be a multiple of 16-bits')\\\\n }\\\\n for (var i = 0; i < len; i += 2) {\\\\n swap(this, i, i + 1)\\\\n }\\\\n return this\\\\n}\\\\n\\\\nBuffer.prototype.swap32 = function swap32 () {\\\\n var len = this.length\\\\n if (len % 4 !== 0) {\\\\n throw new RangeError('Buffer size must be a multiple of 32-bits')\\\\n }\\\\n for (var i = 0; i < len; i += 4) {\\\\n swap(this, i, i + 3)\\\\n swap(this, i + 1, i + 2)\\\\n }\\\\n return this\\\\n}\\\\n\\\\nBuffer.prototype.swap64 = function swap64 () {\\\\n var len = this.length\\\\n if (len % 8 !== 0) {\\\\n throw new RangeError('Buffer size must be a multiple of 64-bits')\\\\n }\\\\n for (var i = 0; i < len; i += 8) {\\\\n swap(this, i, i + 7)\\\\n swap(this, i + 1, i + 6)\\\\n swap(this, i + 2, i + 5)\\\\n swap(this, i + 3, i + 4)\\\\n }\\\\n return this\\\\n}\\\\n\\\\nBuffer.prototype.toString = function toString () {\\\\n var length = this.length | 0\\\\n if (length === 0) return ''\\\\n if (arguments.length === 0) return utf8Slice(this, 0, length)\\\\n return slowToString.apply(this, arguments)\\\\n}\\\\n\\\\nBuffer.prototype.equals = function equals (b) {\\\\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\\\\n if (this === b) return true\\\\n return Buffer.compare(this, b) === 0\\\\n}\\\\n\\\\nBuffer.prototype.inspect = function inspect () {\\\\n var str = ''\\\\n var max = exports.INSPECT_MAX_BYTES\\\\n if (this.length > 0) {\\\\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\\\\n if (this.length > max) str += ' ... '\\\\n }\\\\n return ''\\\\n}\\\\n\\\\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\\\\n if (!Buffer.isBuffer(target)) {\\\\n throw new TypeError('Argument must be a Buffer')\\\\n }\\\\n\\\\n if (start === undefined) {\\\\n start = 0\\\\n }\\\\n if (end === undefined) {\\\\n end = target ? target.length : 0\\\\n }\\\\n if (thisStart === undefined) {\\\\n thisStart = 0\\\\n }\\\\n if (thisEnd === undefined) {\\\\n thisEnd = this.length\\\\n }\\\\n\\\\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\\\\n throw new RangeError('out of range index')\\\\n }\\\\n\\\\n if (thisStart >= thisEnd && start >= end) {\\\\n return 0\\\\n }\\\\n if (thisStart >= thisEnd) {\\\\n return -1\\\\n }\\\\n if (start >= end) {\\\\n return 1\\\\n }\\\\n\\\\n start >>>= 0\\\\n end >>>= 0\\\\n thisStart >>>= 0\\\\n thisEnd >>>= 0\\\\n\\\\n if (this === target) return 0\\\\n\\\\n var x = thisEnd - thisStart\\\\n var y = end - start\\\\n var len = Math.min(x, y)\\\\n\\\\n var thisCopy = this.slice(thisStart, thisEnd)\\\\n var targetCopy = target.slice(start, end)\\\\n\\\\n for (var i = 0; i < len; ++i) {\\\\n if (thisCopy[i] !== targetCopy[i]) {\\\\n x = thisCopy[i]\\\\n y = targetCopy[i]\\\\n break\\\\n }\\\\n }\\\\n\\\\n if (x < y) return -1\\\\n if (y < x) return 1\\\\n return 0\\\\n}\\\\n\\\\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\\\\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\\\\n//\\\\n// Arguments:\\\\n// - buffer - a Buffer to search\\\\n// - val - a string, Buffer, or number\\\\n// - byteOffset - an index into `buffer`; will be clamped to an int32\\\\n// - encoding - an optional encoding, relevant is val is a string\\\\n// - dir - true for indexOf, false for lastIndexOf\\\\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\\\\n // Empty buffer means no match\\\\n if (buffer.length === 0) return -1\\\\n\\\\n // Normalize byteOffset\\\\n if (typeof byteOffset === 'string') {\\\\n encoding = byteOffset\\\\n byteOffset = 0\\\\n } else if (byteOffset > 0x7fffffff) {\\\\n byteOffset = 0x7fffffff\\\\n } else if (byteOffset < -0x80000000) {\\\\n byteOffset = -0x80000000\\\\n }\\\\n byteOffset = +byteOffset // Coerce to Number.\\\\n if (isNaN(byteOffset)) {\\\\n // byteOffset: it it's undefined, null, NaN, \\\\\\\"foo\\\\\\\", etc, search whole buffer\\\\n byteOffset = dir ? 0 : (buffer.length - 1)\\\\n }\\\\n\\\\n // Normalize byteOffset: negative offsets start from the end of the buffer\\\\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\\\\n if (byteOffset >= buffer.length) {\\\\n if (dir) return -1\\\\n else byteOffset = buffer.length - 1\\\\n } else if (byteOffset < 0) {\\\\n if (dir) byteOffset = 0\\\\n else return -1\\\\n }\\\\n\\\\n // Normalize val\\\\n if (typeof val === 'string') {\\\\n val = Buffer.from(val, encoding)\\\\n }\\\\n\\\\n // Finally, search either indexOf (if dir is true) or lastIndexOf\\\\n if (Buffer.isBuffer(val)) {\\\\n // Special case: looking for empty string/buffer always fails\\\\n if (val.length === 0) {\\\\n return -1\\\\n }\\\\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\\\\n } else if (typeof val === 'number') {\\\\n val = val & 0xFF // Search for a byte value [0-255]\\\\n if (Buffer.TYPED_ARRAY_SUPPORT &&\\\\n typeof Uint8Array.prototype.indexOf === 'function') {\\\\n if (dir) {\\\\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\\\\n } else {\\\\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\\\\n }\\\\n }\\\\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\\\\n }\\\\n\\\\n throw new TypeError('val must be string, number or Buffer')\\\\n}\\\\n\\\\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\\\\n var indexSize = 1\\\\n var arrLength = arr.length\\\\n var valLength = val.length\\\\n\\\\n if (encoding !== undefined) {\\\\n encoding = String(encoding).toLowerCase()\\\\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\\\\n encoding === 'utf16le' || encoding === 'utf-16le') {\\\\n if (arr.length < 2 || val.length < 2) {\\\\n return -1\\\\n }\\\\n indexSize = 2\\\\n arrLength /= 2\\\\n valLength /= 2\\\\n byteOffset /= 2\\\\n }\\\\n }\\\\n\\\\n function read (buf, i) {\\\\n if (indexSize === 1) {\\\\n return buf[i]\\\\n } else {\\\\n return buf.readUInt16BE(i * indexSize)\\\\n }\\\\n }\\\\n\\\\n var i\\\\n if (dir) {\\\\n var foundIndex = -1\\\\n for (i = byteOffset; i < arrLength; i++) {\\\\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\\\\n if (foundIndex === -1) foundIndex = i\\\\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\\\\n } else {\\\\n if (foundIndex !== -1) i -= i - foundIndex\\\\n foundIndex = -1\\\\n }\\\\n }\\\\n } else {\\\\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\\\\n for (i = byteOffset; i >= 0; i--) {\\\\n var found = true\\\\n for (var j = 0; j < valLength; j++) {\\\\n if (read(arr, i + j) !== read(val, j)) {\\\\n found = false\\\\n break\\\\n }\\\\n }\\\\n if (found) return i\\\\n }\\\\n }\\\\n\\\\n return -1\\\\n}\\\\n\\\\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\\\\n return this.indexOf(val, byteOffset, encoding) !== -1\\\\n}\\\\n\\\\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\\\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\\\\n}\\\\n\\\\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\\\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\\\\n}\\\\n\\\\nfunction hexWrite (buf, string, offset, length) {\\\\n offset = Number(offset) || 0\\\\n var remaining = buf.length - offset\\\\n if (!length) {\\\\n length = remaining\\\\n } else {\\\\n length = Number(length)\\\\n if (length > remaining) {\\\\n length = remaining\\\\n }\\\\n }\\\\n\\\\n // must be an even number of digits\\\\n var strLen = string.length\\\\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\\\\n\\\\n if (length > strLen / 2) {\\\\n length = strLen / 2\\\\n }\\\\n for (var i = 0; i < length; ++i) {\\\\n var parsed = parseInt(string.substr(i * 2, 2), 16)\\\\n if (isNaN(parsed)) return i\\\\n buf[offset + i] = parsed\\\\n }\\\\n return i\\\\n}\\\\n\\\\nfunction utf8Write (buf, string, offset, length) {\\\\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\\\\n}\\\\n\\\\nfunction asciiWrite (buf, string, offset, length) {\\\\n return blitBuffer(asciiToBytes(string), buf, offset, length)\\\\n}\\\\n\\\\nfunction latin1Write (buf, string, offset, length) {\\\\n return asciiWrite(buf, string, offset, length)\\\\n}\\\\n\\\\nfunction base64Write (buf, string, offset, length) {\\\\n return blitBuffer(base64ToBytes(string), buf, offset, length)\\\\n}\\\\n\\\\nfunction ucs2Write (buf, string, offset, length) {\\\\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\\\\n}\\\\n\\\\nBuffer.prototype.write = function write (string, offset, length, encoding) {\\\\n // Buffer#write(string)\\\\n if (offset === undefined) {\\\\n encoding = 'utf8'\\\\n length = this.length\\\\n offset = 0\\\\n // Buffer#write(string, encoding)\\\\n } else if (length === undefined && typeof offset === 'string') {\\\\n encoding = offset\\\\n length = this.length\\\\n offset = 0\\\\n // Buffer#write(string, offset[, length][, encoding])\\\\n } else if (isFinite(offset)) {\\\\n offset = offset | 0\\\\n if (isFinite(length)) {\\\\n length = length | 0\\\\n if (encoding === undefined) encoding = 'utf8'\\\\n } else {\\\\n encoding = length\\\\n length = undefined\\\\n }\\\\n // legacy write(string, encoding, offset, length) - remove in v0.13\\\\n } else {\\\\n throw new Error(\\\\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\\\\n )\\\\n }\\\\n\\\\n var remaining = this.length - offset\\\\n if (length === undefined || length > remaining) length = remaining\\\\n\\\\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\\\\n throw new RangeError('Attempt to write outside buffer bounds')\\\\n }\\\\n\\\\n if (!encoding) encoding = 'utf8'\\\\n\\\\n var loweredCase = false\\\\n for (;;) {\\\\n switch (encoding) {\\\\n case 'hex':\\\\n return hexWrite(this, string, offset, length)\\\\n\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n return utf8Write(this, string, offset, length)\\\\n\\\\n case 'ascii':\\\\n return asciiWrite(this, string, offset, length)\\\\n\\\\n case 'latin1':\\\\n case 'binary':\\\\n return latin1Write(this, string, offset, length)\\\\n\\\\n case 'base64':\\\\n // Warning: maxLength not taken into account in base64Write\\\\n return base64Write(this, string, offset, length)\\\\n\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return ucs2Write(this, string, offset, length)\\\\n\\\\n default:\\\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\\\n encoding = ('' + encoding).toLowerCase()\\\\n loweredCase = true\\\\n }\\\\n }\\\\n}\\\\n\\\\nBuffer.prototype.toJSON = function toJSON () {\\\\n return {\\\\n type: 'Buffer',\\\\n data: Array.prototype.slice.call(this._arr || this, 0)\\\\n }\\\\n}\\\\n\\\\nfunction base64Slice (buf, start, end) {\\\\n if (start === 0 && end === buf.length) {\\\\n return base64.fromByteArray(buf)\\\\n } else {\\\\n return base64.fromByteArray(buf.slice(start, end))\\\\n }\\\\n}\\\\n\\\\nfunction utf8Slice (buf, start, end) {\\\\n end = Math.min(buf.length, end)\\\\n var res = []\\\\n\\\\n var i = start\\\\n while (i < end) {\\\\n var firstByte = buf[i]\\\\n var codePoint = null\\\\n var bytesPerSequence = (firstByte > 0xEF) ? 4\\\\n : (firstByte > 0xDF) ? 3\\\\n : (firstByte > 0xBF) ? 2\\\\n : 1\\\\n\\\\n if (i + bytesPerSequence <= end) {\\\\n var secondByte, thirdByte, fourthByte, tempCodePoint\\\\n\\\\n switch (bytesPerSequence) {\\\\n case 1:\\\\n if (firstByte < 0x80) {\\\\n codePoint = firstByte\\\\n }\\\\n break\\\\n case 2:\\\\n secondByte = buf[i + 1]\\\\n if ((secondByte & 0xC0) === 0x80) {\\\\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\\\\n if (tempCodePoint > 0x7F) {\\\\n codePoint = tempCodePoint\\\\n }\\\\n }\\\\n break\\\\n case 3:\\\\n secondByte = buf[i + 1]\\\\n thirdByte = buf[i + 2]\\\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\\\\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\\\\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\\\\n codePoint = tempCodePoint\\\\n }\\\\n }\\\\n break\\\\n case 4:\\\\n secondByte = buf[i + 1]\\\\n thirdByte = buf[i + 2]\\\\n fourthByte = buf[i + 3]\\\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\\\\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\\\\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\\\\n codePoint = tempCodePoint\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n if (codePoint === null) {\\\\n // we did not generate a valid codePoint so insert a\\\\n // replacement char (U+FFFD) and advance only 1 byte\\\\n codePoint = 0xFFFD\\\\n bytesPerSequence = 1\\\\n } else if (codePoint > 0xFFFF) {\\\\n // encode to utf16 (surrogate pair dance)\\\\n codePoint -= 0x10000\\\\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\\\\n codePoint = 0xDC00 | codePoint & 0x3FF\\\\n }\\\\n\\\\n res.push(codePoint)\\\\n i += bytesPerSequence\\\\n }\\\\n\\\\n return decodeCodePointsArray(res)\\\\n}\\\\n\\\\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\\\\n// the lowest limit is Chrome, with 0x10000 args.\\\\n// We go 1 magnitude less, for safety\\\\nvar MAX_ARGUMENTS_LENGTH = 0x1000\\\\n\\\\nfunction decodeCodePointsArray (codePoints) {\\\\n var len = codePoints.length\\\\n if (len <= MAX_ARGUMENTS_LENGTH) {\\\\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\\\\n }\\\\n\\\\n // Decode in chunks to avoid \\\\\\\"call stack size exceeded\\\\\\\".\\\\n var res = ''\\\\n var i = 0\\\\n while (i < len) {\\\\n res += String.fromCharCode.apply(\\\\n String,\\\\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\\\\n )\\\\n }\\\\n return res\\\\n}\\\\n\\\\nfunction asciiSlice (buf, start, end) {\\\\n var ret = ''\\\\n end = Math.min(buf.length, end)\\\\n\\\\n for (var i = start; i < end; ++i) {\\\\n ret += String.fromCharCode(buf[i] & 0x7F)\\\\n }\\\\n return ret\\\\n}\\\\n\\\\nfunction latin1Slice (buf, start, end) {\\\\n var ret = ''\\\\n end = Math.min(buf.length, end)\\\\n\\\\n for (var i = start; i < end; ++i) {\\\\n ret += String.fromCharCode(buf[i])\\\\n }\\\\n return ret\\\\n}\\\\n\\\\nfunction hexSlice (buf, start, end) {\\\\n var len = buf.length\\\\n\\\\n if (!start || start < 0) start = 0\\\\n if (!end || end < 0 || end > len) end = len\\\\n\\\\n var out = ''\\\\n for (var i = start; i < end; ++i) {\\\\n out += toHex(buf[i])\\\\n }\\\\n return out\\\\n}\\\\n\\\\nfunction utf16leSlice (buf, start, end) {\\\\n var bytes = buf.slice(start, end)\\\\n var res = ''\\\\n for (var i = 0; i < bytes.length; i += 2) {\\\\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\\\\n }\\\\n return res\\\\n}\\\\n\\\\nBuffer.prototype.slice = function slice (start, end) {\\\\n var len = this.length\\\\n start = ~~start\\\\n end = end === undefined ? len : ~~end\\\\n\\\\n if (start < 0) {\\\\n start += len\\\\n if (start < 0) start = 0\\\\n } else if (start > len) {\\\\n start = len\\\\n }\\\\n\\\\n if (end < 0) {\\\\n end += len\\\\n if (end < 0) end = 0\\\\n } else if (end > len) {\\\\n end = len\\\\n }\\\\n\\\\n if (end < start) end = start\\\\n\\\\n var newBuf\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n newBuf = this.subarray(start, end)\\\\n newBuf.__proto__ = Buffer.prototype\\\\n } else {\\\\n var sliceLen = end - start\\\\n newBuf = new Buffer(sliceLen, undefined)\\\\n for (var i = 0; i < sliceLen; ++i) {\\\\n newBuf[i] = this[i + start]\\\\n }\\\\n }\\\\n\\\\n return newBuf\\\\n}\\\\n\\\\n/*\\\\n * Need to make sure that buffer isn't trying to write out of bounds.\\\\n */\\\\nfunction checkOffset (offset, ext, length) {\\\\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\\\\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\\\\n}\\\\n\\\\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\\\n\\\\n var val = this[offset]\\\\n var mul = 1\\\\n var i = 0\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n val += this[offset + i] * mul\\\\n }\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) {\\\\n checkOffset(offset, byteLength, this.length)\\\\n }\\\\n\\\\n var val = this[offset + --byteLength]\\\\n var mul = 1\\\\n while (byteLength > 0 && (mul *= 0x100)) {\\\\n val += this[offset + --byteLength] * mul\\\\n }\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 1, this.length)\\\\n return this[offset]\\\\n}\\\\n\\\\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n return this[offset] | (this[offset + 1] << 8)\\\\n}\\\\n\\\\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n return (this[offset] << 8) | this[offset + 1]\\\\n}\\\\n\\\\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return ((this[offset]) |\\\\n (this[offset + 1] << 8) |\\\\n (this[offset + 2] << 16)) +\\\\n (this[offset + 3] * 0x1000000)\\\\n}\\\\n\\\\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return (this[offset] * 0x1000000) +\\\\n ((this[offset + 1] << 16) |\\\\n (this[offset + 2] << 8) |\\\\n this[offset + 3])\\\\n}\\\\n\\\\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\\\n\\\\n var val = this[offset]\\\\n var mul = 1\\\\n var i = 0\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n val += this[offset + i] * mul\\\\n }\\\\n mul *= 0x80\\\\n\\\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\\\n\\\\n var i = byteLength\\\\n var mul = 1\\\\n var val = this[offset + --i]\\\\n while (i > 0 && (mul *= 0x100)) {\\\\n val += this[offset + --i] * mul\\\\n }\\\\n mul *= 0x80\\\\n\\\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 1, this.length)\\\\n if (!(this[offset] & 0x80)) return (this[offset])\\\\n return ((0xff - this[offset] + 1) * -1)\\\\n}\\\\n\\\\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n var val = this[offset] | (this[offset + 1] << 8)\\\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\\\n}\\\\n\\\\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n var val = this[offset + 1] | (this[offset] << 8)\\\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\\\n}\\\\n\\\\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return (this[offset]) |\\\\n (this[offset + 1] << 8) |\\\\n (this[offset + 2] << 16) |\\\\n (this[offset + 3] << 24)\\\\n}\\\\n\\\\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return (this[offset] << 24) |\\\\n (this[offset + 1] << 16) |\\\\n (this[offset + 2] << 8) |\\\\n (this[offset + 3])\\\\n}\\\\n\\\\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n return ieee754.read(this, offset, true, 23, 4)\\\\n}\\\\n\\\\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n return ieee754.read(this, offset, false, 23, 4)\\\\n}\\\\n\\\\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 8, this.length)\\\\n return ieee754.read(this, offset, true, 52, 8)\\\\n}\\\\n\\\\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 8, this.length)\\\\n return ieee754.read(this, offset, false, 52, 8)\\\\n}\\\\n\\\\nfunction checkInt (buf, value, offset, ext, max, min) {\\\\n if (!Buffer.isBuffer(buf)) throw new TypeError('\\\\\\\"buffer\\\\\\\" argument must be a Buffer instance')\\\\n if (value > max || value < min) throw new RangeError('\\\\\\\"value\\\\\\\" argument is out of bounds')\\\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\\\n}\\\\n\\\\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) {\\\\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\\\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\\\n }\\\\n\\\\n var mul = 1\\\\n var i = 0\\\\n this[offset] = value & 0xFF\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n this[offset + i] = (value / mul) & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) {\\\\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\\\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\\\n }\\\\n\\\\n var i = byteLength - 1\\\\n var mul = 1\\\\n this[offset + i] = value & 0xFF\\\\n while (--i >= 0 && (mul *= 0x100)) {\\\\n this[offset + i] = (value / mul) & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\\\\n this[offset] = (value & 0xff)\\\\n return offset + 1\\\\n}\\\\n\\\\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\\\\n if (value < 0) value = 0xffff + value + 1\\\\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\\\\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\\\\n (littleEndian ? i : 1 - i) * 8\\\\n }\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value & 0xff)\\\\n this[offset + 1] = (value >>> 8)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, true)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 8)\\\\n this[offset + 1] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, false)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\\\\n if (value < 0) value = 0xffffffff + value + 1\\\\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\\\\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\\\\n }\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset + 3] = (value >>> 24)\\\\n this[offset + 2] = (value >>> 16)\\\\n this[offset + 1] = (value >>> 8)\\\\n this[offset] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, true)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 24)\\\\n this[offset + 1] = (value >>> 16)\\\\n this[offset + 2] = (value >>> 8)\\\\n this[offset + 3] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, false)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) {\\\\n var limit = Math.pow(2, 8 * byteLength - 1)\\\\n\\\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\\\n }\\\\n\\\\n var i = 0\\\\n var mul = 1\\\\n var sub = 0\\\\n this[offset] = value & 0xFF\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\\\\n sub = 1\\\\n }\\\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) {\\\\n var limit = Math.pow(2, 8 * byteLength - 1)\\\\n\\\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\\\n }\\\\n\\\\n var i = byteLength - 1\\\\n var mul = 1\\\\n var sub = 0\\\\n this[offset + i] = value & 0xFF\\\\n while (--i >= 0 && (mul *= 0x100)) {\\\\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\\\\n sub = 1\\\\n }\\\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\\\\n if (value < 0) value = 0xff + value + 1\\\\n this[offset] = (value & 0xff)\\\\n return offset + 1\\\\n}\\\\n\\\\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value & 0xff)\\\\n this[offset + 1] = (value >>> 8)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, true)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 8)\\\\n this[offset + 1] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, false)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value & 0xff)\\\\n this[offset + 1] = (value >>> 8)\\\\n this[offset + 2] = (value >>> 16)\\\\n this[offset + 3] = (value >>> 24)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, true)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\\\n if (value < 0) value = 0xffffffff + value + 1\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 24)\\\\n this[offset + 1] = (value >>> 16)\\\\n this[offset + 2] = (value >>> 8)\\\\n this[offset + 3] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, false)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\\\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\\\n if (offset < 0) throw new RangeError('Index out of range')\\\\n}\\\\n\\\\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\\\\n if (!noAssert) {\\\\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\\\\n }\\\\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\\\\n return writeFloat(this, value, offset, true, noAssert)\\\\n}\\\\n\\\\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\\\\n return writeFloat(this, value, offset, false, noAssert)\\\\n}\\\\n\\\\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\\\\n if (!noAssert) {\\\\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\\\\n }\\\\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\\\\n return offset + 8\\\\n}\\\\n\\\\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\\\\n return writeDouble(this, value, offset, true, noAssert)\\\\n}\\\\n\\\\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\\\\n return writeDouble(this, value, offset, false, noAssert)\\\\n}\\\\n\\\\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\\\\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\\\\n if (!start) start = 0\\\\n if (!end && end !== 0) end = this.length\\\\n if (targetStart >= target.length) targetStart = target.length\\\\n if (!targetStart) targetStart = 0\\\\n if (end > 0 && end < start) end = start\\\\n\\\\n // Copy 0 bytes; we're done\\\\n if (end === start) return 0\\\\n if (target.length === 0 || this.length === 0) return 0\\\\n\\\\n // Fatal error conditions\\\\n if (targetStart < 0) {\\\\n throw new RangeError('targetStart out of bounds')\\\\n }\\\\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\\\\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\\\\n\\\\n // Are we oob?\\\\n if (end > this.length) end = this.length\\\\n if (target.length - targetStart < end - start) {\\\\n end = target.length - targetStart + start\\\\n }\\\\n\\\\n var len = end - start\\\\n var i\\\\n\\\\n if (this === target && start < targetStart && targetStart < end) {\\\\n // descending copy from end\\\\n for (i = len - 1; i >= 0; --i) {\\\\n target[i + targetStart] = this[i + start]\\\\n }\\\\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\\\\n // ascending copy from start\\\\n for (i = 0; i < len; ++i) {\\\\n target[i + targetStart] = this[i + start]\\\\n }\\\\n } else {\\\\n Uint8Array.prototype.set.call(\\\\n target,\\\\n this.subarray(start, start + len),\\\\n targetStart\\\\n )\\\\n }\\\\n\\\\n return len\\\\n}\\\\n\\\\n// Usage:\\\\n// buffer.fill(number[, offset[, end]])\\\\n// buffer.fill(buffer[, offset[, end]])\\\\n// buffer.fill(string[, offset[, end]][, encoding])\\\\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\\\\n // Handle string cases:\\\\n if (typeof val === 'string') {\\\\n if (typeof start === 'string') {\\\\n encoding = start\\\\n start = 0\\\\n end = this.length\\\\n } else if (typeof end === 'string') {\\\\n encoding = end\\\\n end = this.length\\\\n }\\\\n if (val.length === 1) {\\\\n var code = val.charCodeAt(0)\\\\n if (code < 256) {\\\\n val = code\\\\n }\\\\n }\\\\n if (encoding !== undefined && typeof encoding !== 'string') {\\\\n throw new TypeError('encoding must be a string')\\\\n }\\\\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\\\\n throw new TypeError('Unknown encoding: ' + encoding)\\\\n }\\\\n } else if (typeof val === 'number') {\\\\n val = val & 255\\\\n }\\\\n\\\\n // Invalid ranges are not set to a default, so can range check early.\\\\n if (start < 0 || this.length < start || this.length < end) {\\\\n throw new RangeError('Out of range index')\\\\n }\\\\n\\\\n if (end <= start) {\\\\n return this\\\\n }\\\\n\\\\n start = start >>> 0\\\\n end = end === undefined ? this.length : end >>> 0\\\\n\\\\n if (!val) val = 0\\\\n\\\\n var i\\\\n if (typeof val === 'number') {\\\\n for (i = start; i < end; ++i) {\\\\n this[i] = val\\\\n }\\\\n } else {\\\\n var bytes = Buffer.isBuffer(val)\\\\n ? val\\\\n : utf8ToBytes(new Buffer(val, encoding).toString())\\\\n var len = bytes.length\\\\n for (i = 0; i < end - start; ++i) {\\\\n this[i + start] = bytes[i % len]\\\\n }\\\\n }\\\\n\\\\n return this\\\\n}\\\\n\\\\n// HELPER FUNCTIONS\\\\n// ================\\\\n\\\\nvar INVALID_BASE64_RE = /[^+\\\\\\\\/0-9A-Za-z-_]/g\\\\n\\\\nfunction base64clean (str) {\\\\n // Node strips out invalid characters like \\\\\\\\n and \\\\\\\\t from the string, base64-js does not\\\\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\\\\n // Node converts strings with length < 2 to ''\\\\n if (str.length < 2) return ''\\\\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\\\\n while (str.length % 4 !== 0) {\\\\n str = str + '='\\\\n }\\\\n return str\\\\n}\\\\n\\\\nfunction stringtrim (str) {\\\\n if (str.trim) return str.trim()\\\\n return str.replace(/^\\\\\\\\s+|\\\\\\\\s+$/g, '')\\\\n}\\\\n\\\\nfunction toHex (n) {\\\\n if (n < 16) return '0' + n.toString(16)\\\\n return n.toString(16)\\\\n}\\\\n\\\\nfunction utf8ToBytes (string, units) {\\\\n units = units || Infinity\\\\n var codePoint\\\\n var length = string.length\\\\n var leadSurrogate = null\\\\n var bytes = []\\\\n\\\\n for (var i = 0; i < length; ++i) {\\\\n codePoint = string.charCodeAt(i)\\\\n\\\\n // is surrogate component\\\\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\\\\n // last char was a lead\\\\n if (!leadSurrogate) {\\\\n // no lead yet\\\\n if (codePoint > 0xDBFF) {\\\\n // unexpected trail\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n continue\\\\n } else if (i + 1 === length) {\\\\n // unpaired lead\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n continue\\\\n }\\\\n\\\\n // valid lead\\\\n leadSurrogate = codePoint\\\\n\\\\n continue\\\\n }\\\\n\\\\n // 2 leads in a row\\\\n if (codePoint < 0xDC00) {\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n leadSurrogate = codePoint\\\\n continue\\\\n }\\\\n\\\\n // valid surrogate pair\\\\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\\\\n } else if (leadSurrogate) {\\\\n // valid bmp char, but last char was a lead\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n }\\\\n\\\\n leadSurrogate = null\\\\n\\\\n // encode utf8\\\\n if (codePoint < 0x80) {\\\\n if ((units -= 1) < 0) break\\\\n bytes.push(codePoint)\\\\n } else if (codePoint < 0x800) {\\\\n if ((units -= 2) < 0) break\\\\n bytes.push(\\\\n codePoint >> 0x6 | 0xC0,\\\\n codePoint & 0x3F | 0x80\\\\n )\\\\n } else if (codePoint < 0x10000) {\\\\n if ((units -= 3) < 0) break\\\\n bytes.push(\\\\n codePoint >> 0xC | 0xE0,\\\\n codePoint >> 0x6 & 0x3F | 0x80,\\\\n codePoint & 0x3F | 0x80\\\\n )\\\\n } else if (codePoint < 0x110000) {\\\\n if ((units -= 4) < 0) break\\\\n bytes.push(\\\\n codePoint >> 0x12 | 0xF0,\\\\n codePoint >> 0xC & 0x3F | 0x80,\\\\n codePoint >> 0x6 & 0x3F | 0x80,\\\\n codePoint & 0x3F | 0x80\\\\n )\\\\n } else {\\\\n throw new Error('Invalid code point')\\\\n }\\\\n }\\\\n\\\\n return bytes\\\\n}\\\\n\\\\nfunction asciiToBytes (str) {\\\\n var byteArray = []\\\\n for (var i = 0; i < str.length; ++i) {\\\\n // Node's code seems to be doing this and not & 0x7F..\\\\n byteArray.push(str.charCodeAt(i) & 0xFF)\\\\n }\\\\n return byteArray\\\\n}\\\\n\\\\nfunction utf16leToBytes (str, units) {\\\\n var c, hi, lo\\\\n var byteArray = []\\\\n for (var i = 0; i < str.length; ++i) {\\\\n if ((units -= 2) < 0) break\\\\n\\\\n c = str.charCodeAt(i)\\\\n hi = c >> 8\\\\n lo = c % 256\\\\n byteArray.push(lo)\\\\n byteArray.push(hi)\\\\n }\\\\n\\\\n return byteArray\\\\n}\\\\n\\\\nfunction base64ToBytes (str) {\\\\n return base64.toByteArray(base64clean(str))\\\\n}\\\\n\\\\nfunction blitBuffer (src, dst, offset, length) {\\\\n for (var i = 0; i < length; ++i) {\\\\n if ((i + offset >= dst.length) || (i >= src.length)) break\\\\n dst[i + offset] = src[i]\\\\n }\\\\n return i\\\\n}\\\\n\\\\nfunction isnan (val) {\\\\n return val !== val // eslint-disable-line no-self-compare\\\\n}\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/buffer/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/node_modules/events/events.js\\\":\\n/*!**********************************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/node_modules/events/events.js ***!\\n \\\\**********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\nvar R = typeof Reflect === 'object' ? Reflect : null\\\\nvar ReflectApply = R && typeof R.apply === 'function'\\\\n ? R.apply\\\\n : function ReflectApply(target, receiver, args) {\\\\n return Function.prototype.apply.call(target, receiver, args);\\\\n }\\\\n\\\\nvar ReflectOwnKeys\\\\nif (R && typeof R.ownKeys === 'function') {\\\\n ReflectOwnKeys = R.ownKeys\\\\n} else if (Object.getOwnPropertySymbols) {\\\\n ReflectOwnKeys = function ReflectOwnKeys(target) {\\\\n return Object.getOwnPropertyNames(target)\\\\n .concat(Object.getOwnPropertySymbols(target));\\\\n };\\\\n} else {\\\\n ReflectOwnKeys = function ReflectOwnKeys(target) {\\\\n return Object.getOwnPropertyNames(target);\\\\n };\\\\n}\\\\n\\\\nfunction ProcessEmitWarning(warning) {\\\\n if (console && console.warn) console.warn(warning);\\\\n}\\\\n\\\\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\\\\n return value !== value;\\\\n}\\\\n\\\\nfunction EventEmitter() {\\\\n EventEmitter.init.call(this);\\\\n}\\\\nmodule.exports = EventEmitter;\\\\nmodule.exports.once = once;\\\\n\\\\n// Backwards-compat with node 0.10.x\\\\nEventEmitter.EventEmitter = EventEmitter;\\\\n\\\\nEventEmitter.prototype._events = undefined;\\\\nEventEmitter.prototype._eventsCount = 0;\\\\nEventEmitter.prototype._maxListeners = undefined;\\\\n\\\\n// By default EventEmitters will print a warning if more than 10 listeners are\\\\n// added to it. This is a useful default which helps finding memory leaks.\\\\nvar defaultMaxListeners = 10;\\\\n\\\\nfunction checkListener(listener) {\\\\n if (typeof listener !== 'function') {\\\\n throw new TypeError('The \\\\\\\"listener\\\\\\\" argument must be of type Function. Received type ' + typeof listener);\\\\n }\\\\n}\\\\n\\\\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\\\\n enumerable: true,\\\\n get: function() {\\\\n return defaultMaxListeners;\\\\n },\\\\n set: function(arg) {\\\\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\\\\n throw new RangeError('The value of \\\\\\\"defaultMaxListeners\\\\\\\" is out of range. It must be a non-negative number. Received ' + arg + '.');\\\\n }\\\\n defaultMaxListeners = arg;\\\\n }\\\\n});\\\\n\\\\nEventEmitter.init = function() {\\\\n\\\\n if (this._events === undefined ||\\\\n this._events === Object.getPrototypeOf(this)._events) {\\\\n this._events = Object.create(null);\\\\n this._eventsCount = 0;\\\\n }\\\\n\\\\n this._maxListeners = this._maxListeners || undefined;\\\\n};\\\\n\\\\n// Obviously not all Emitters should be limited to 10. This function allows\\\\n// that to be increased. Set to zero for unlimited.\\\\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\\\\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\\\\n throw new RangeError('The value of \\\\\\\"n\\\\\\\" is out of range. It must be a non-negative number. Received ' + n + '.');\\\\n }\\\\n this._maxListeners = n;\\\\n return this;\\\\n};\\\\n\\\\nfunction _getMaxListeners(that) {\\\\n if (that._maxListeners === undefined)\\\\n return EventEmitter.defaultMaxListeners;\\\\n return that._maxListeners;\\\\n}\\\\n\\\\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\\\\n return _getMaxListeners(this);\\\\n};\\\\n\\\\nEventEmitter.prototype.emit = function emit(type) {\\\\n var args = [];\\\\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\\\\n var doError = (type === 'error');\\\\n\\\\n var events = this._events;\\\\n if (events !== undefined)\\\\n doError = (doError && events.error === undefined);\\\\n else if (!doError)\\\\n return false;\\\\n\\\\n // If there is no 'error' event listener then throw.\\\\n if (doError) {\\\\n var er;\\\\n if (args.length > 0)\\\\n er = args[0];\\\\n if (er instanceof Error) {\\\\n // Note: The comments on the `throw` lines are intentional, they show\\\\n // up in Node's output if this results in an unhandled exception.\\\\n throw er; // Unhandled 'error' event\\\\n }\\\\n // At least give some kind of context to the user\\\\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\\\\n err.context = er;\\\\n throw err; // Unhandled 'error' event\\\\n }\\\\n\\\\n var handler = events[type];\\\\n\\\\n if (handler === undefined)\\\\n return false;\\\\n\\\\n if (typeof handler === 'function') {\\\\n ReflectApply(handler, this, args);\\\\n } else {\\\\n var len = handler.length;\\\\n var listeners = arrayClone(handler, len);\\\\n for (var i = 0; i < len; ++i)\\\\n ReflectApply(listeners[i], this, args);\\\\n }\\\\n\\\\n return true;\\\\n};\\\\n\\\\nfunction _addListener(target, type, listener, prepend) {\\\\n var m;\\\\n var events;\\\\n var existing;\\\\n\\\\n checkListener(listener);\\\\n\\\\n events = target._events;\\\\n if (events === undefined) {\\\\n events = target._events = Object.create(null);\\\\n target._eventsCount = 0;\\\\n } else {\\\\n // To avoid recursion in the case that type === \\\\\\\"newListener\\\\\\\"! Before\\\\n // adding it to the listeners, first emit \\\\\\\"newListener\\\\\\\".\\\\n if (events.newListener !== undefined) {\\\\n target.emit('newListener', type,\\\\n listener.listener ? listener.listener : listener);\\\\n\\\\n // Re-assign `events` because a newListener handler could have caused the\\\\n // this._events to be assigned to a new object\\\\n events = target._events;\\\\n }\\\\n existing = events[type];\\\\n }\\\\n\\\\n if (existing === undefined) {\\\\n // Optimize the case of one listener. Don't need the extra array object.\\\\n existing = events[type] = listener;\\\\n ++target._eventsCount;\\\\n } else {\\\\n if (typeof existing === 'function') {\\\\n // Adding the second element, need to change to array.\\\\n existing = events[type] =\\\\n prepend ? [listener, existing] : [existing, listener];\\\\n // If we've already got an array, just append.\\\\n } else if (prepend) {\\\\n existing.unshift(listener);\\\\n } else {\\\\n existing.push(listener);\\\\n }\\\\n\\\\n // Check for listener leak\\\\n m = _getMaxListeners(target);\\\\n if (m > 0 && existing.length > m && !existing.warned) {\\\\n existing.warned = true;\\\\n // No error code for this since it is a Warning\\\\n // eslint-disable-next-line no-restricted-syntax\\\\n var w = new Error('Possible EventEmitter memory leak detected. ' +\\\\n existing.length + ' ' + String(type) + ' listeners ' +\\\\n 'added. Use emitter.setMaxListeners() to ' +\\\\n 'increase limit');\\\\n w.name = 'MaxListenersExceededWarning';\\\\n w.emitter = target;\\\\n w.type = type;\\\\n w.count = existing.length;\\\\n ProcessEmitWarning(w);\\\\n }\\\\n }\\\\n\\\\n return target;\\\\n}\\\\n\\\\nEventEmitter.prototype.addListener = function addListener(type, listener) {\\\\n return _addListener(this, type, listener, false);\\\\n};\\\\n\\\\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\\\\n\\\\nEventEmitter.prototype.prependListener =\\\\n function prependListener(type, listener) {\\\\n return _addListener(this, type, listener, true);\\\\n };\\\\n\\\\nfunction onceWrapper() {\\\\n if (!this.fired) {\\\\n this.target.removeListener(this.type, this.wrapFn);\\\\n this.fired = true;\\\\n if (arguments.length === 0)\\\\n return this.listener.call(this.target);\\\\n return this.listener.apply(this.target, arguments);\\\\n }\\\\n}\\\\n\\\\nfunction _onceWrap(target, type, listener) {\\\\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\\\\n var wrapped = onceWrapper.bind(state);\\\\n wrapped.listener = listener;\\\\n state.wrapFn = wrapped;\\\\n return wrapped;\\\\n}\\\\n\\\\nEventEmitter.prototype.once = function once(type, listener) {\\\\n checkListener(listener);\\\\n this.on(type, _onceWrap(this, type, listener));\\\\n return this;\\\\n};\\\\n\\\\nEventEmitter.prototype.prependOnceListener =\\\\n function prependOnceListener(type, listener) {\\\\n checkListener(listener);\\\\n this.prependListener(type, _onceWrap(this, type, listener));\\\\n return this;\\\\n };\\\\n\\\\n// Emits a 'removeListener' event if and only if the listener was removed.\\\\nEventEmitter.prototype.removeListener =\\\\n function removeListener(type, listener) {\\\\n var list, events, position, i, originalListener;\\\\n\\\\n checkListener(listener);\\\\n\\\\n events = this._events;\\\\n if (events === undefined)\\\\n return this;\\\\n\\\\n list = events[type];\\\\n if (list === undefined)\\\\n return this;\\\\n\\\\n if (list === listener || list.listener === listener) {\\\\n if (--this._eventsCount === 0)\\\\n this._events = Object.create(null);\\\\n else {\\\\n delete events[type];\\\\n if (events.removeListener)\\\\n this.emit('removeListener', type, list.listener || listener);\\\\n }\\\\n } else if (typeof list !== 'function') {\\\\n position = -1;\\\\n\\\\n for (i = list.length - 1; i >= 0; i--) {\\\\n if (list[i] === listener || list[i].listener === listener) {\\\\n originalListener = list[i].listener;\\\\n position = i;\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (position < 0)\\\\n return this;\\\\n\\\\n if (position === 0)\\\\n list.shift();\\\\n else {\\\\n spliceOne(list, position);\\\\n }\\\\n\\\\n if (list.length === 1)\\\\n events[type] = list[0];\\\\n\\\\n if (events.removeListener !== undefined)\\\\n this.emit('removeListener', type, originalListener || listener);\\\\n }\\\\n\\\\n return this;\\\\n };\\\\n\\\\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\\\\n\\\\nEventEmitter.prototype.removeAllListeners =\\\\n function removeAllListeners(type) {\\\\n var listeners, events, i;\\\\n\\\\n events = this._events;\\\\n if (events === undefined)\\\\n return this;\\\\n\\\\n // not listening for removeListener, no need to emit\\\\n if (events.removeListener === undefined) {\\\\n if (arguments.length === 0) {\\\\n this._events = Object.create(null);\\\\n this._eventsCount = 0;\\\\n } else if (events[type] !== undefined) {\\\\n if (--this._eventsCount === 0)\\\\n this._events = Object.create(null);\\\\n else\\\\n delete events[type];\\\\n }\\\\n return this;\\\\n }\\\\n\\\\n // emit removeListener for all listeners on all events\\\\n if (arguments.length === 0) {\\\\n var keys = Object.keys(events);\\\\n var key;\\\\n for (i = 0; i < keys.length; ++i) {\\\\n key = keys[i];\\\\n if (key === 'removeListener') continue;\\\\n this.removeAllListeners(key);\\\\n }\\\\n this.removeAllListeners('removeListener');\\\\n this._events = Object.create(null);\\\\n this._eventsCount = 0;\\\\n return this;\\\\n }\\\\n\\\\n listeners = events[type];\\\\n\\\\n if (typeof listeners === 'function') {\\\\n this.removeListener(type, listeners);\\\\n } else if (listeners !== undefined) {\\\\n // LIFO order\\\\n for (i = listeners.length - 1; i >= 0; i--) {\\\\n this.removeListener(type, listeners[i]);\\\\n }\\\\n }\\\\n\\\\n return this;\\\\n };\\\\n\\\\nfunction _listeners(target, type, unwrap) {\\\\n var events = target._events;\\\\n\\\\n if (events === undefined)\\\\n return [];\\\\n\\\\n var evlistener = events[type];\\\\n if (evlistener === undefined)\\\\n return [];\\\\n\\\\n if (typeof evlistener === 'function')\\\\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\\\\n\\\\n return unwrap ?\\\\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\\\\n}\\\\n\\\\nEventEmitter.prototype.listeners = function listeners(type) {\\\\n return _listeners(this, type, true);\\\\n};\\\\n\\\\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\\\\n return _listeners(this, type, false);\\\\n};\\\\n\\\\nEventEmitter.listenerCount = function(emitter, type) {\\\\n if (typeof emitter.listenerCount === 'function') {\\\\n return emitter.listenerCount(type);\\\\n } else {\\\\n return listenerCount.call(emitter, type);\\\\n }\\\\n};\\\\n\\\\nEventEmitter.prototype.listenerCount = listenerCount;\\\\nfunction listenerCount(type) {\\\\n var events = this._events;\\\\n\\\\n if (events !== undefined) {\\\\n var evlistener = events[type];\\\\n\\\\n if (typeof evlistener === 'function') {\\\\n return 1;\\\\n } else if (evlistener !== undefined) {\\\\n return evlistener.length;\\\\n }\\\\n }\\\\n\\\\n return 0;\\\\n}\\\\n\\\\nEventEmitter.prototype.eventNames = function eventNames() {\\\\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\\\\n};\\\\n\\\\nfunction arrayClone(arr, n) {\\\\n var copy = new Array(n);\\\\n for (var i = 0; i < n; ++i)\\\\n copy[i] = arr[i];\\\\n return copy;\\\\n}\\\\n\\\\nfunction spliceOne(list, index) {\\\\n for (; index + 1 < list.length; index++)\\\\n list[index] = list[index + 1];\\\\n list.pop();\\\\n}\\\\n\\\\nfunction unwrapListeners(arr) {\\\\n var ret = new Array(arr.length);\\\\n for (var i = 0; i < ret.length; ++i) {\\\\n ret[i] = arr[i].listener || arr[i];\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction once(emitter, name) {\\\\n return new Promise(function (resolve, reject) {\\\\n function errorListener(err) {\\\\n emitter.removeListener(name, resolver);\\\\n reject(err);\\\\n }\\\\n\\\\n function resolver() {\\\\n if (typeof emitter.removeListener === 'function') {\\\\n emitter.removeListener('error', errorListener);\\\\n }\\\\n resolve([].slice.call(arguments));\\\\n };\\\\n\\\\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\\\\n if (name !== 'error') {\\\\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\\\\n }\\\\n });\\\\n}\\\\n\\\\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\\\\n if (typeof emitter.on === 'function') {\\\\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\\\\n }\\\\n}\\\\n\\\\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\\\\n if (typeof emitter.on === 'function') {\\\\n if (flags.once) {\\\\n emitter.once(name, listener);\\\\n } else {\\\\n emitter.on(name, listener);\\\\n }\\\\n } else if (typeof emitter.addEventListener === 'function') {\\\\n // EventTarget does not have `error` event semantics like Node\\\\n // EventEmitters, we do not listen for `error` events here.\\\\n emitter.addEventListener(name, function wrapListener(arg) {\\\\n // IE does not have builtin `{ once: true }` support so we\\\\n // have to do it manually.\\\\n if (flags.once) {\\\\n emitter.removeEventListener(name, wrapListener);\\\\n }\\\\n listener(arg);\\\\n });\\\\n } else {\\\\n throw new TypeError('The \\\\\\\"emitter\\\\\\\" argument must be of type EventEmitter. Received type ' + typeof emitter);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/events/events.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/node_modules/timers-browserify/main.js\\\":\\n/*!*******************************************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/node_modules/timers-browserify/main.js ***!\\n \\\\*******************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global) {var scope = (typeof global !== \\\\\\\"undefined\\\\\\\" && global) ||\\\\n (typeof self !== \\\\\\\"undefined\\\\\\\" && self) ||\\\\n window;\\\\nvar apply = Function.prototype.apply;\\\\n\\\\n// DOM APIs, for completeness\\\\n\\\\nexports.setTimeout = function() {\\\\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\\\\n};\\\\nexports.setInterval = function() {\\\\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\\\\n};\\\\nexports.clearTimeout =\\\\nexports.clearInterval = function(timeout) {\\\\n if (timeout) {\\\\n timeout.close();\\\\n }\\\\n};\\\\n\\\\nfunction Timeout(id, clearFn) {\\\\n this._id = id;\\\\n this._clearFn = clearFn;\\\\n}\\\\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\\\\nTimeout.prototype.close = function() {\\\\n this._clearFn.call(scope, this._id);\\\\n};\\\\n\\\\n// Does not start the time, just sets up the members needed.\\\\nexports.enroll = function(item, msecs) {\\\\n clearTimeout(item._idleTimeoutId);\\\\n item._idleTimeout = msecs;\\\\n};\\\\n\\\\nexports.unenroll = function(item) {\\\\n clearTimeout(item._idleTimeoutId);\\\\n item._idleTimeout = -1;\\\\n};\\\\n\\\\nexports._unrefActive = exports.active = function(item) {\\\\n clearTimeout(item._idleTimeoutId);\\\\n\\\\n var msecs = item._idleTimeout;\\\\n if (msecs >= 0) {\\\\n item._idleTimeoutId = setTimeout(function onTimeout() {\\\\n if (item._onTimeout)\\\\n item._onTimeout();\\\\n }, msecs);\\\\n }\\\\n};\\\\n\\\\n// setimmediate attaches itself to the global object\\\\n__webpack_require__(/*! setimmediate */ \\\\\\\"./node_modules/setimmediate/setImmediate.js\\\\\\\");\\\\n// On some exotic environments, it's not clear which object `setimmediate` was\\\\n// able to install onto. Search each possibility in the same order as the\\\\n// `setimmediate` library.\\\\nexports.setImmediate = (typeof self !== \\\\\\\"undefined\\\\\\\" && self.setImmediate) ||\\\\n (typeof global !== \\\\\\\"undefined\\\\\\\" && global.setImmediate) ||\\\\n (this && this.setImmediate);\\\\nexports.clearImmediate = (typeof self !== \\\\\\\"undefined\\\\\\\" && self.clearImmediate) ||\\\\n (typeof global !== \\\\\\\"undefined\\\\\\\" && global.clearImmediate) ||\\\\n (this && this.clearImmediate);\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/timers-browserify/main.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_scheduler.js ***!\\n \\\\************************************************************/\\n/*! exports provided: AsyncSerialScheduler */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"AsyncSerialScheduler\\\\\\\", function() { return AsyncSerialScheduler; });\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nclass AsyncSerialScheduler {\\\\n constructor(observer) {\\\\n this._baseObserver = observer;\\\\n this._pendingPromises = new Set();\\\\n }\\\\n complete() {\\\\n Promise.all(this._pendingPromises)\\\\n .then(() => this._baseObserver.complete())\\\\n .catch(error => this._baseObserver.error(error));\\\\n }\\\\n error(error) {\\\\n this._baseObserver.error(error);\\\\n }\\\\n schedule(task) {\\\\n const prevPromisesCompletion = Promise.all(this._pendingPromises);\\\\n const values = [];\\\\n const next = (value) => values.push(value);\\\\n const promise = Promise.resolve()\\\\n .then(() => __awaiter(this, void 0, void 0, function* () {\\\\n yield prevPromisesCompletion;\\\\n yield task(next);\\\\n this._pendingPromises.delete(promise);\\\\n for (const value of values) {\\\\n this._baseObserver.next(value);\\\\n }\\\\n }))\\\\n .catch(error => {\\\\n this._pendingPromises.delete(promise);\\\\n this._baseObserver.error(error);\\\\n });\\\\n this._pendingPromises.add(promise);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_scheduler.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_symbols.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: hasSymbols, hasSymbol, getSymbol, registerObservableSymbol */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbols\\\\\\\", function() { return hasSymbols; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbol\\\\\\\", function() { return hasSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getSymbol\\\\\\\", function() { return getSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerObservableSymbol\\\\\\\", function() { return registerObservableSymbol; });\\\\nconst hasSymbols = () => typeof Symbol === \\\\\\\"function\\\\\\\";\\\\nconst hasSymbol = (name) => hasSymbols() && Boolean(Symbol[name]);\\\\nconst getSymbol = (name) => hasSymbol(name) ? Symbol[name] : \\\\\\\"@@\\\\\\\" + name;\\\\nfunction registerObservableSymbol() {\\\\n if (hasSymbols() && !hasSymbol(\\\\\\\"observable\\\\\\\")) {\\\\n Symbol.observable = Symbol(\\\\\\\"observable\\\\\\\");\\\\n }\\\\n}\\\\nif (!hasSymbol(\\\\\\\"asyncIterator\\\\\\\")) {\\\\n Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for(\\\\\\\"Symbol.asyncIterator\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_util.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_util.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: isAsyncIterator, isIterator */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isAsyncIterator\\\\\\\", function() { return isAsyncIterator; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isIterator\\\\\\\", function() { return isIterator; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/// \\\\n\\\\nfunction isAsyncIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"asyncIterator\\\\\\\") && thing[Symbol.asyncIterator];\\\\n}\\\\nfunction isIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\") && thing[Symbol.iterator];\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/filter.js\\\":\\n/*!********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/filter.js ***!\\n \\\\********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Filters the values emitted by another observable.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction filter(test) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n if (yield test(input)) {\\\\n next(input);\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (filter);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/filter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/flatMap.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_util */ \\\\\\\"./node_modules/observable-fns/dist.esm/_util.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nvar __asyncValues = (undefined && undefined.__asyncValues) || function (o) {\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\\"Symbol.asyncIterator is not defined.\\\\\\\");\\\\n var m = o[Symbol.asyncIterator], i;\\\\n return m ? m.call(o) : (o = typeof __values === \\\\\\\"function\\\\\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\\\\\"next\\\\\\\"), verb(\\\\\\\"throw\\\\\\\"), verb(\\\\\\\"return\\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable. In contrast to `map()`\\\\n * the `mapper` function returns an array of values that will be emitted\\\\n * separately.\\\\n * Use `flatMap()` to map input values to zero, one or multiple output\\\\n * values. To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction flatMap(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n var e_1, _a;\\\\n const mapped = yield mapper(input);\\\\n if (Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isIterator\\\\\\\"])(mapped) || Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isAsyncIterator\\\\\\\"])(mapped)) {\\\\n try {\\\\n for (var mapped_1 = __asyncValues(mapped), mapped_1_1; mapped_1_1 = yield mapped_1.next(), !mapped_1_1.done;) {\\\\n const element = mapped_1_1.value;\\\\n next(element);\\\\n }\\\\n }\\\\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\\\\n finally {\\\\n try {\\\\n if (mapped_1_1 && !mapped_1_1.done && (_a = mapped_1.return)) yield _a.call(mapped_1);\\\\n }\\\\n finally { if (e_1) throw e_1.error; }\\\\n }\\\\n }\\\\n else {\\\\n mapped.map(output => next(output));\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (flatMap);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/flatMap.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: filter, flatMap, interval, map, merge, multicast, Observable, scan, Subject, unsubscribe */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ \\\\\\\"./node_modules/observable-fns/dist.esm/filter.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"filter\\\\\\\", function() { return _filter__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _flatMap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./flatMap */ \\\\\\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"flatMap\\\\\\\", function() { return _flatMap__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _interval__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./interval */ \\\\\\\"./node_modules/observable-fns/dist.esm/interval.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"interval\\\\\\\", function() { return _interval__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \\\\\\\"./node_modules/observable-fns/dist.esm/map.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"map\\\\\\\", function() { return _map__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./merge */ \\\\\\\"./node_modules/observable-fns/dist.esm/merge.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"merge\\\\\\\", function() { return _merge__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./multicast */ \\\\\\\"./node_modules/observable-fns/dist.esm/multicast.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"multicast\\\\\\\", function() { return _multicast__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return _observable__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scan */ \\\\\\\"./node_modules/observable-fns/dist.esm/scan.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"scan\\\\\\\", function() { return _scan__WEBPACK_IMPORTED_MODULE_7__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subject\\\\\\\", function() { return _subject__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"unsubscribe\\\\\\\", function() { return _unsubscribe__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/interval.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/interval.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return interval; });\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n/**\\\\n * Creates an observable that yields a new value every `period` milliseconds.\\\\n * The first value emitted is 0, then 1, 2, etc. The first value is not emitted\\\\n * immediately, but after the first interval.\\\\n */\\\\nfunction interval(period) {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let counter = 0;\\\\n const handle = setInterval(() => {\\\\n observer.next(counter++);\\\\n }, period);\\\\n return () => clearInterval(handle);\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/interval.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/map.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/map.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable to different values.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction map(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const mapped = yield mapper(input);\\\\n next(mapped);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (map);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/map.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/merge.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/merge.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\nfunction merge(...observables) {\\\\n if (observables.length === 0) {\\\\n return _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"].from([]);\\\\n }\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let completed = 0;\\\\n const subscriptions = observables.map(input => {\\\\n return input.subscribe({\\\\n error(error) {\\\\n observer.error(error);\\\\n unsubscribeAll();\\\\n },\\\\n next(value) {\\\\n observer.next(value);\\\\n },\\\\n complete() {\\\\n if (++completed === observables.length) {\\\\n observer.complete();\\\\n unsubscribeAll();\\\\n }\\\\n }\\\\n });\\\\n });\\\\n const unsubscribeAll = () => {\\\\n subscriptions.forEach(subscription => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"])(subscription));\\\\n };\\\\n return unsubscribeAll;\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (merge);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/merge.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/multicast.js\\\":\\n/*!***********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/multicast.js ***!\\n \\\\***********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n// TODO: Subject already creates additional observables \\\\\\\"under the hood\\\\\\\",\\\\n// now we introduce even more. A true native MulticastObservable\\\\n// would be preferable.\\\\n/**\\\\n * Takes a \\\\\\\"cold\\\\\\\" observable and returns a wrapping \\\\\\\"hot\\\\\\\" observable that\\\\n * proxies the input observable's values and errors.\\\\n *\\\\n * An observable is called \\\\\\\"cold\\\\\\\" when its initialization function is run\\\\n * for each new subscriber. This is how observable-fns's `Observable`\\\\n * implementation works.\\\\n *\\\\n * A hot observable is an observable where new subscribers subscribe to\\\\n * the upcoming values of an already-initialiazed observable.\\\\n *\\\\n * The multicast observable will lazily subscribe to the source observable\\\\n * once it has its first own subscriber and will unsubscribe from the\\\\n * source observable when its last own subscriber unsubscribed.\\\\n */\\\\nfunction multicast(coldObservable) {\\\\n const subject = new _subject__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n let sourceSubscription;\\\\n let subscriberCount = 0;\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](observer => {\\\\n // Init source subscription lazily\\\\n if (!sourceSubscription) {\\\\n sourceSubscription = coldObservable.subscribe(subject);\\\\n }\\\\n // Pipe all events from `subject` into this observable\\\\n const subscription = subject.subscribe(observer);\\\\n subscriberCount++;\\\\n return () => {\\\\n subscriberCount--;\\\\n subscription.unsubscribe();\\\\n // Close source subscription once last subscriber has unsubscribed\\\\n if (subscriberCount === 0) {\\\\n Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(sourceSubscription);\\\\n sourceSubscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (multicast);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/multicast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/observable.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/observable.js ***!\\n \\\\************************************************************/\\n/*! exports provided: Subscription, SubscriptionObserver, Observable, default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subscription\\\\\\\", function() { return Subscription; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"SubscriptionObserver\\\\\\\", function() { return SubscriptionObserver; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return Observable; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/symbols.js\\\\\\\");\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/**\\\\n * Based on \\\\n * At commit: f63849a8c60af5d514efc8e9d6138d8273c49ad6\\\\n */\\\\n\\\\n\\\\nconst SymbolIterator = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\");\\\\nconst SymbolObservable = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"observable\\\\\\\");\\\\nconst SymbolSpecies = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"species\\\\\\\");\\\\n// === Abstract Operations ===\\\\nfunction getMethod(obj, key) {\\\\n const value = obj[key];\\\\n if (value == null) {\\\\n return undefined;\\\\n }\\\\n if (typeof value !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(value + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n return value;\\\\n}\\\\nfunction getSpecies(obj) {\\\\n let ctor = obj.constructor;\\\\n if (ctor !== undefined) {\\\\n ctor = ctor[SymbolSpecies];\\\\n if (ctor === null) {\\\\n ctor = undefined;\\\\n }\\\\n }\\\\n return ctor !== undefined ? ctor : Observable;\\\\n}\\\\nfunction isObservable(x) {\\\\n return x instanceof Observable; // SPEC: Brand check\\\\n}\\\\nfunction hostReportError(error) {\\\\n if (hostReportError.log) {\\\\n hostReportError.log(error);\\\\n }\\\\n else {\\\\n setTimeout(() => { throw error; }, 0);\\\\n }\\\\n}\\\\nfunction enqueue(fn) {\\\\n Promise.resolve().then(() => {\\\\n try {\\\\n fn();\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n });\\\\n}\\\\nfunction cleanupSubscription(subscription) {\\\\n const cleanup = subscription._cleanup;\\\\n if (cleanup === undefined) {\\\\n return;\\\\n }\\\\n subscription._cleanup = undefined;\\\\n if (!cleanup) {\\\\n return;\\\\n }\\\\n try {\\\\n if (typeof cleanup === \\\\\\\"function\\\\\\\") {\\\\n cleanup();\\\\n }\\\\n else {\\\\n const unsubscribe = getMethod(cleanup, \\\\\\\"unsubscribe\\\\\\\");\\\\n if (unsubscribe) {\\\\n unsubscribe.call(cleanup);\\\\n }\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n}\\\\nfunction closeSubscription(subscription) {\\\\n subscription._observer = undefined;\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"closed\\\\\\\";\\\\n}\\\\nfunction flushSubscription(subscription) {\\\\n const queue = subscription._queue;\\\\n if (!queue) {\\\\n return;\\\\n }\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n for (const item of queue) {\\\\n notifySubscription(subscription, item.type, item.value);\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n break;\\\\n }\\\\n }\\\\n}\\\\nfunction notifySubscription(subscription, type, value) {\\\\n subscription._state = \\\\\\\"running\\\\\\\";\\\\n const observer = subscription._observer;\\\\n try {\\\\n const m = observer ? getMethod(observer, type) : undefined;\\\\n switch (type) {\\\\n case \\\\\\\"next\\\\\\\":\\\\n if (m)\\\\n m.call(observer, value);\\\\n break;\\\\n case \\\\\\\"error\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer, value);\\\\n else\\\\n throw value;\\\\n break;\\\\n case \\\\\\\"complete\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer);\\\\n break;\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n cleanupSubscription(subscription);\\\\n }\\\\n else if (subscription._state === \\\\\\\"running\\\\\\\") {\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n}\\\\nfunction onNotify(subscription, type, value) {\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n return;\\\\n }\\\\n if (subscription._state === \\\\\\\"buffering\\\\\\\") {\\\\n subscription._queue = subscription._queue || [];\\\\n subscription._queue.push({ type, value });\\\\n return;\\\\n }\\\\n if (subscription._state !== \\\\\\\"ready\\\\\\\") {\\\\n subscription._state = \\\\\\\"buffering\\\\\\\";\\\\n subscription._queue = [{ type, value }];\\\\n enqueue(() => flushSubscription(subscription));\\\\n return;\\\\n }\\\\n notifySubscription(subscription, type, value);\\\\n}\\\\nclass Subscription {\\\\n constructor(observer, subscriber) {\\\\n // ASSERT: observer is an object\\\\n // ASSERT: subscriber is callable\\\\n this._cleanup = undefined;\\\\n this._observer = observer;\\\\n this._queue = undefined;\\\\n this._state = \\\\\\\"initializing\\\\\\\";\\\\n const subscriptionObserver = new SubscriptionObserver(this);\\\\n try {\\\\n this._cleanup = subscriber.call(undefined, subscriptionObserver);\\\\n }\\\\n catch (e) {\\\\n subscriptionObserver.error(e);\\\\n }\\\\n if (this._state === \\\\\\\"initializing\\\\\\\") {\\\\n this._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n }\\\\n get closed() {\\\\n return this._state === \\\\\\\"closed\\\\\\\";\\\\n }\\\\n unsubscribe() {\\\\n if (this._state !== \\\\\\\"closed\\\\\\\") {\\\\n closeSubscription(this);\\\\n cleanupSubscription(this);\\\\n }\\\\n }\\\\n}\\\\nclass SubscriptionObserver {\\\\n constructor(subscription) { this._subscription = subscription; }\\\\n get closed() { return this._subscription._state === \\\\\\\"closed\\\\\\\"; }\\\\n next(value) { onNotify(this._subscription, \\\\\\\"next\\\\\\\", value); }\\\\n error(value) { onNotify(this._subscription, \\\\\\\"error\\\\\\\", value); }\\\\n complete() { onNotify(this._subscription, \\\\\\\"complete\\\\\\\"); }\\\\n}\\\\n/**\\\\n * The basic Observable class. This primitive is used to wrap asynchronous\\\\n * data streams in a common standardized data type that is interoperable\\\\n * between libraries and can be composed to represent more complex processes.\\\\n */\\\\nclass Observable {\\\\n constructor(subscriber) {\\\\n if (!(this instanceof Observable)) {\\\\n throw new TypeError(\\\\\\\"Observable cannot be called as a function\\\\\\\");\\\\n }\\\\n if (typeof subscriber !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(\\\\\\\"Observable initializer must be a function\\\\\\\");\\\\n }\\\\n this._subscriber = subscriber;\\\\n }\\\\n subscribe(nextOrObserver, onError, onComplete) {\\\\n if (typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null) {\\\\n nextOrObserver = {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n };\\\\n }\\\\n return new Subscription(nextOrObserver, this._subscriber);\\\\n }\\\\n pipe(first, ...mappers) {\\\\n // tslint:disable-next-line no-this-assignment\\\\n let intermediate = this;\\\\n for (const mapper of [first, ...mappers]) {\\\\n intermediate = mapper(intermediate);\\\\n }\\\\n return intermediate;\\\\n }\\\\n tap(nextOrObserver, onError, onComplete) {\\\\n const tapObserver = typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null\\\\n ? {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n }\\\\n : nextOrObserver;\\\\n return new Observable(observer => {\\\\n return this.subscribe({\\\\n next(value) {\\\\n tapObserver.next && tapObserver.next(value);\\\\n observer.next(value);\\\\n },\\\\n error(error) {\\\\n tapObserver.error && tapObserver.error(error);\\\\n observer.error(error);\\\\n },\\\\n complete() {\\\\n tapObserver.complete && tapObserver.complete();\\\\n observer.complete();\\\\n },\\\\n start(subscription) {\\\\n tapObserver.start && tapObserver.start(subscription);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n forEach(fn) {\\\\n return new Promise((resolve, reject) => {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n reject(new TypeError(fn + \\\\\\\" is not a function\\\\\\\"));\\\\n return;\\\\n }\\\\n function done() {\\\\n subscription.unsubscribe();\\\\n resolve(undefined);\\\\n }\\\\n const subscription = this.subscribe({\\\\n next(value) {\\\\n try {\\\\n fn(value, done);\\\\n }\\\\n catch (e) {\\\\n reject(e);\\\\n subscription.unsubscribe();\\\\n }\\\\n },\\\\n error(error) {\\\\n reject(error);\\\\n },\\\\n complete() {\\\\n resolve(undefined);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n map(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n let propagatedValue = value;\\\\n try {\\\\n propagatedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(propagatedValue);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n filter(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n try {\\\\n if (!fn(value))\\\\n return;\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(value);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n reduce(fn, seed) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n const hasSeed = arguments.length > 1;\\\\n let hasValue = false;\\\\n let acc = seed;\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n const first = !hasValue;\\\\n hasValue = true;\\\\n if (!first || hasSeed) {\\\\n try {\\\\n acc = fn(acc, value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n acc = value;\\\\n }\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (!hasValue && !hasSeed) {\\\\n return observer.error(new TypeError(\\\\\\\"Cannot reduce an empty sequence\\\\\\\"));\\\\n }\\\\n observer.next(acc);\\\\n observer.complete();\\\\n },\\\\n }));\\\\n }\\\\n concat(...sources) {\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n let subscription;\\\\n let index = 0;\\\\n function startNext(next) {\\\\n subscription = next.subscribe({\\\\n next(v) { observer.next(v); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (index === sources.length) {\\\\n subscription = undefined;\\\\n observer.complete();\\\\n }\\\\n else {\\\\n startNext(C.from(sources[index++]));\\\\n }\\\\n },\\\\n });\\\\n }\\\\n startNext(this);\\\\n return () => {\\\\n if (subscription) {\\\\n subscription.unsubscribe();\\\\n subscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n }\\\\n flatMap(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n const subscriptions = [];\\\\n const outer = this.subscribe({\\\\n next(value) {\\\\n let normalizedValue;\\\\n if (fn) {\\\\n try {\\\\n normalizedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n normalizedValue = value;\\\\n }\\\\n const inner = C.from(normalizedValue).subscribe({\\\\n next(innerValue) { observer.next(innerValue); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n const i = subscriptions.indexOf(inner);\\\\n if (i >= 0)\\\\n subscriptions.splice(i, 1);\\\\n completeIfDone();\\\\n },\\\\n });\\\\n subscriptions.push(inner);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { completeIfDone(); },\\\\n });\\\\n function completeIfDone() {\\\\n if (outer.closed && subscriptions.length === 0) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n return () => {\\\\n subscriptions.forEach(s => s.unsubscribe());\\\\n outer.unsubscribe();\\\\n };\\\\n });\\\\n }\\\\n [(Symbol.observable, SymbolObservable)]() { return this; }\\\\n static from(x) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n if (x == null) {\\\\n throw new TypeError(x + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n const observableMethod = getMethod(x, SymbolObservable);\\\\n if (observableMethod) {\\\\n const observable = observableMethod.call(x);\\\\n if (Object(observable) !== observable) {\\\\n throw new TypeError(observable + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n if (isObservable(observable) && observable.constructor === C) {\\\\n return observable;\\\\n }\\\\n return new C(observer => observable.subscribe(observer));\\\\n }\\\\n if (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\")) {\\\\n const iteratorMethod = getMethod(x, SymbolIterator);\\\\n if (iteratorMethod) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of iteratorMethod.call(x)) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n }\\\\n if (Array.isArray(x)) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of x) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n throw new TypeError(x + \\\\\\\" is not observable\\\\\\\");\\\\n }\\\\n static of(...items) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of items) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n static get [SymbolSpecies]() { return this; }\\\\n}\\\\nif (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbols\\\\\\\"])()) {\\\\n Object.defineProperty(Observable, Symbol(\\\\\\\"extensions\\\\\\\"), {\\\\n value: {\\\\n symbol: SymbolObservable,\\\\n hostReportError,\\\\n },\\\\n configurable: true,\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Observable);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/observable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/scan.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/scan.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\nfunction scan(accumulator, seed) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n let accumulated;\\\\n let index = 0;\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(value) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const prevAcc = index === 0\\\\n ? (typeof seed === \\\\\\\"undefined\\\\\\\" ? value : seed)\\\\n : accumulated;\\\\n accumulated = yield accumulator(prevAcc, value, index++);\\\\n next(accumulated);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (scan);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/scan.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/subject.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/subject.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n// TODO: This observer iteration approach looks inelegant and expensive\\\\n// Idea: Come up with super class for Subscription that contains the\\\\n// notify*, ... methods and use it here\\\\n/**\\\\n * A subject is a \\\\\\\"hot\\\\\\\" observable (see `multicast`) that has its observer\\\\n * methods (`.next(value)`, `.error(error)`, `.complete()`) exposed.\\\\n *\\\\n * Be careful, though! With great power comes great responsibility. Only use\\\\n * the `Subject` when you really need to trigger updates \\\\\\\"from the outside\\\\\\\" and\\\\n * try to keep the code that can access it to a minimum. Return\\\\n * `Observable.from(mySubject)` to not allow other code to mutate.\\\\n */\\\\nclass MulticastSubject extends _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor() {\\\\n super(observer => {\\\\n this._observers.add(observer);\\\\n return () => this._observers.delete(observer);\\\\n });\\\\n this._observers = new Set();\\\\n }\\\\n next(value) {\\\\n for (const observer of this._observers) {\\\\n observer.next(value);\\\\n }\\\\n }\\\\n error(error) {\\\\n for (const observer of this._observers) {\\\\n observer.error(error);\\\\n }\\\\n }\\\\n complete() {\\\\n for (const observer of this._observers) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (MulticastSubject);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/subject.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/symbols.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/symbols.js ***!\\n \\\\*********************************************************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/unsubscribe.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/**\\\\n * Unsubscribe from a subscription returned by something that looks like an observable,\\\\n * but is not necessarily our observable implementation.\\\\n */\\\\nfunction unsubscribe(subscription) {\\\\n if (typeof subscription === \\\\\\\"function\\\\\\\") {\\\\n subscription();\\\\n }\\\\n else if (subscription && typeof subscription.unsubscribe === \\\\\\\"function\\\\\\\") {\\\\n subscription.unsubscribe();\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (unsubscribe);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/unsubscribe.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/inflate.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/pako/lib/inflate.js ***!\\n \\\\******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar zlib_inflate = __webpack_require__(/*! ./zlib/inflate */ \\\\\\\"./node_modules/pako/lib/zlib/inflate.js\\\\\\\");\\\\nvar utils = __webpack_require__(/*! ./utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar strings = __webpack_require__(/*! ./utils/strings */ \\\\\\\"./node_modules/pako/lib/utils/strings.js\\\\\\\");\\\\nvar c = __webpack_require__(/*! ./zlib/constants */ \\\\\\\"./node_modules/pako/lib/zlib/constants.js\\\\\\\");\\\\nvar msg = __webpack_require__(/*! ./zlib/messages */ \\\\\\\"./node_modules/pako/lib/zlib/messages.js\\\\\\\");\\\\nvar ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\\\\\"./node_modules/pako/lib/zlib/zstream.js\\\\\\\");\\\\nvar GZheader = __webpack_require__(/*! ./zlib/gzheader */ \\\\\\\"./node_modules/pako/lib/zlib/gzheader.js\\\\\\\");\\\\n\\\\nvar toString = Object.prototype.toString;\\\\n\\\\n/**\\\\n * class Inflate\\\\n *\\\\n * Generic JS-style wrapper for zlib calls. If you don't need\\\\n * streaming behaviour - use more simple functions: [[inflate]]\\\\n * and [[inflateRaw]].\\\\n **/\\\\n\\\\n/* internal\\\\n * inflate.chunks -> Array\\\\n *\\\\n * Chunks of output data, if [[Inflate#onData]] not overridden.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.result -> Uint8Array|Array|String\\\\n *\\\\n * Uncompressed result, generated by default [[Inflate#onData]]\\\\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\\\\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param) or if you\\\\n * push a chunk with explicit flush (call [[Inflate#push]] with\\\\n * `Z_SYNC_FLUSH` param).\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.err -> Number\\\\n *\\\\n * Error code after inflate finished. 0 (Z_OK) on success.\\\\n * Should be checked if broken data possible.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.msg -> String\\\\n *\\\\n * Error message, if [[Inflate.err]] != 0\\\\n **/\\\\n\\\\n\\\\n/**\\\\n * new Inflate(options)\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Creates new inflator instance with specified params. Throws exception\\\\n * on bad params. Supported options:\\\\n *\\\\n * - `windowBits`\\\\n * - `dictionary`\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information on these.\\\\n *\\\\n * Additional options, for internal needs:\\\\n *\\\\n * - `chunkSize` - size of generated data chunks (16K by default)\\\\n * - `raw` (Boolean) - do raw inflate\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n * By default, when no options set, autodetect deflate/gzip data format via\\\\n * wrapper header.\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9])\\\\n * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\\\n *\\\\n * var inflate = new pako.Inflate({ level: 3});\\\\n *\\\\n * inflate.push(chunk1, false);\\\\n * inflate.push(chunk2, true); // true -> last chunk\\\\n *\\\\n * if (inflate.err) { throw new Error(inflate.err); }\\\\n *\\\\n * console.log(inflate.result);\\\\n * ```\\\\n **/\\\\nfunction Inflate(options) {\\\\n if (!(this instanceof Inflate)) return new Inflate(options);\\\\n\\\\n this.options = utils.assign({\\\\n chunkSize: 16384,\\\\n windowBits: 0,\\\\n to: ''\\\\n }, options || {});\\\\n\\\\n var opt = this.options;\\\\n\\\\n // Force window size for `raw` data, if not set directly,\\\\n // because we have no header for autodetect.\\\\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\\\\n opt.windowBits = -opt.windowBits;\\\\n if (opt.windowBits === 0) { opt.windowBits = -15; }\\\\n }\\\\n\\\\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\\\\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\\\\n !(options && options.windowBits)) {\\\\n opt.windowBits += 32;\\\\n }\\\\n\\\\n // Gzip header has no info about windows size, we can do autodetect only\\\\n // for deflate. So, if window size not set, force it to max when gzip possible\\\\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\\\\n // bit 3 (16) -> gzipped data\\\\n // bit 4 (32) -> autodetect gzip/deflate\\\\n if ((opt.windowBits & 15) === 0) {\\\\n opt.windowBits |= 15;\\\\n }\\\\n }\\\\n\\\\n this.err = 0; // error code, if happens (0 = Z_OK)\\\\n this.msg = ''; // error message\\\\n this.ended = false; // used to avoid multiple onEnd() calls\\\\n this.chunks = []; // chunks of compressed data\\\\n\\\\n this.strm = new ZStream();\\\\n this.strm.avail_out = 0;\\\\n\\\\n var status = zlib_inflate.inflateInit2(\\\\n this.strm,\\\\n opt.windowBits\\\\n );\\\\n\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n\\\\n this.header = new GZheader();\\\\n\\\\n zlib_inflate.inflateGetHeader(this.strm, this.header);\\\\n\\\\n // Setup dictionary\\\\n if (opt.dictionary) {\\\\n // Convert data if needed\\\\n if (typeof opt.dictionary === 'string') {\\\\n opt.dictionary = strings.string2buf(opt.dictionary);\\\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\\\n opt.dictionary = new Uint8Array(opt.dictionary);\\\\n }\\\\n if (opt.raw) { //In raw mode we need to set the dictionary early\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary);\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Inflate#push(data[, mode]) -> Boolean\\\\n * - data (Uint8Array|Array|ArrayBuffer|String): input data\\\\n * - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\\\\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\\\\n *\\\\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\\\\n * new output chunks. Returns `true` on success. The last data block must have\\\\n * mode Z_FINISH (or `true`). That will flush internal pending buffers and call\\\\n * [[Inflate#onEnd]]. For interim explicit flushes (without ending the stream) you\\\\n * can use mode Z_SYNC_FLUSH, keeping the decompression context.\\\\n *\\\\n * On fail call [[Inflate#onEnd]] with error code and return false.\\\\n *\\\\n * We strongly recommend to use `Uint8Array` on input for best speed (output\\\\n * format is detected automatically). Also, don't skip last param and always\\\\n * use the same type in your code (boolean or number). That will improve JS speed.\\\\n *\\\\n * For regular `Array`-s make sure all elements are [0..255].\\\\n *\\\\n * ##### Example\\\\n *\\\\n * ```javascript\\\\n * push(chunk, false); // push one of data chunks\\\\n * ...\\\\n * push(chunk, true); // push last chunk\\\\n * ```\\\\n **/\\\\nInflate.prototype.push = function (data, mode) {\\\\n var strm = this.strm;\\\\n var chunkSize = this.options.chunkSize;\\\\n var dictionary = this.options.dictionary;\\\\n var status, _mode;\\\\n var next_out_utf8, tail, utf8str;\\\\n\\\\n // Flag to properly process Z_BUF_ERROR on testing inflate call\\\\n // when we check that all output data was flushed.\\\\n var allowBufError = false;\\\\n\\\\n if (this.ended) { return false; }\\\\n _mode = (mode === ~~mode) ? mode : ((mode === true) ? c.Z_FINISH : c.Z_NO_FLUSH);\\\\n\\\\n // Convert data if needed\\\\n if (typeof data === 'string') {\\\\n // Only binary strings can be decompressed on practice\\\\n strm.input = strings.binstring2buf(data);\\\\n } else if (toString.call(data) === '[object ArrayBuffer]') {\\\\n strm.input = new Uint8Array(data);\\\\n } else {\\\\n strm.input = data;\\\\n }\\\\n\\\\n strm.next_in = 0;\\\\n strm.avail_in = strm.input.length;\\\\n\\\\n do {\\\\n if (strm.avail_out === 0) {\\\\n strm.output = new utils.Buf8(chunkSize);\\\\n strm.next_out = 0;\\\\n strm.avail_out = chunkSize;\\\\n }\\\\n\\\\n status = zlib_inflate.inflate(strm, c.Z_NO_FLUSH); /* no bad return value */\\\\n\\\\n if (status === c.Z_NEED_DICT && dictionary) {\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, dictionary);\\\\n }\\\\n\\\\n if (status === c.Z_BUF_ERROR && allowBufError === true) {\\\\n status = c.Z_OK;\\\\n allowBufError = false;\\\\n }\\\\n\\\\n if (status !== c.Z_STREAM_END && status !== c.Z_OK) {\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return false;\\\\n }\\\\n\\\\n if (strm.next_out) {\\\\n if (strm.avail_out === 0 || status === c.Z_STREAM_END || (strm.avail_in === 0 && (_mode === c.Z_FINISH || _mode === c.Z_SYNC_FLUSH))) {\\\\n\\\\n if (this.options.to === 'string') {\\\\n\\\\n next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\\\\n\\\\n tail = strm.next_out - next_out_utf8;\\\\n utf8str = strings.buf2string(strm.output, next_out_utf8);\\\\n\\\\n // move tail\\\\n strm.next_out = tail;\\\\n strm.avail_out = chunkSize - tail;\\\\n if (tail) { utils.arraySet(strm.output, strm.output, next_out_utf8, tail, 0); }\\\\n\\\\n this.onData(utf8str);\\\\n\\\\n } else {\\\\n this.onData(utils.shrinkBuf(strm.output, strm.next_out));\\\\n }\\\\n }\\\\n }\\\\n\\\\n // When no more input data, we should check that internal inflate buffers\\\\n // are flushed. The only way to do it when avail_out = 0 - run one more\\\\n // inflate pass. But if output data not exists, inflate return Z_BUF_ERROR.\\\\n // Here we set flag to process this error properly.\\\\n //\\\\n // NOTE. Deflate does not return error in this case and does not needs such\\\\n // logic.\\\\n if (strm.avail_in === 0 && strm.avail_out === 0) {\\\\n allowBufError = true;\\\\n }\\\\n\\\\n } while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== c.Z_STREAM_END);\\\\n\\\\n if (status === c.Z_STREAM_END) {\\\\n _mode = c.Z_FINISH;\\\\n }\\\\n\\\\n // Finalize on the last chunk.\\\\n if (_mode === c.Z_FINISH) {\\\\n status = zlib_inflate.inflateEnd(this.strm);\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return status === c.Z_OK;\\\\n }\\\\n\\\\n // callback interim results if Z_SYNC_FLUSH.\\\\n if (_mode === c.Z_SYNC_FLUSH) {\\\\n this.onEnd(c.Z_OK);\\\\n strm.avail_out = 0;\\\\n return true;\\\\n }\\\\n\\\\n return true;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onData(chunk) -> Void\\\\n * - chunk (Uint8Array|Array|String): output data. Type of array depends\\\\n * on js engine support. When string output requested, each chunk\\\\n * will be string.\\\\n *\\\\n * By default, stores data blocks in `chunks[]` property and glue\\\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\\\n **/\\\\nInflate.prototype.onData = function (chunk) {\\\\n this.chunks.push(chunk);\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onEnd(status) -> Void\\\\n * - status (Number): inflate status. 0 (Z_OK) on success,\\\\n * other if not.\\\\n *\\\\n * Called either after you tell inflate that the input stream is\\\\n * complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH)\\\\n * or if an error happened. By default - join collected chunks,\\\\n * free memory and fill `results` / `err` properties.\\\\n **/\\\\nInflate.prototype.onEnd = function (status) {\\\\n // On success - join\\\\n if (status === c.Z_OK) {\\\\n if (this.options.to === 'string') {\\\\n // Glue & convert here, until we teach pako to send\\\\n // utf8 aligned strings to onData\\\\n this.result = this.chunks.join('');\\\\n } else {\\\\n this.result = utils.flattenChunks(this.chunks);\\\\n }\\\\n }\\\\n this.chunks = [];\\\\n this.err = status;\\\\n this.msg = this.strm.msg;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * inflate(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\\\\n * format via wrapper header by default. That's why we don't provide\\\\n * separate `ungzip` method.\\\\n *\\\\n * Supported options are:\\\\n *\\\\n * - windowBits\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information.\\\\n *\\\\n * Sugar (options):\\\\n *\\\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\\\n * negative windowBits implicitly.\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , input = pako.deflate([1,2,3,4,5,6,7,8,9])\\\\n * , output;\\\\n *\\\\n * try {\\\\n * output = pako.inflate(input);\\\\n * } catch (err)\\\\n * console.log(err);\\\\n * }\\\\n * ```\\\\n **/\\\\nfunction inflate(input, options) {\\\\n var inflator = new Inflate(options);\\\\n\\\\n inflator.push(input, true);\\\\n\\\\n // That will never happens, if you don't cheat with options :)\\\\n if (inflator.err) { throw inflator.msg || msg[inflator.err]; }\\\\n\\\\n return inflator.result;\\\\n}\\\\n\\\\n\\\\n/**\\\\n * inflateRaw(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * The same as [[inflate]], but creates raw data, without wrapper\\\\n * (header and adler32 crc).\\\\n **/\\\\nfunction inflateRaw(input, options) {\\\\n options = options || {};\\\\n options.raw = true;\\\\n return inflate(input, options);\\\\n}\\\\n\\\\n\\\\n/**\\\\n * ungzip(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Just shortcut to [[inflate]], because it autodetects format\\\\n * by header.content. Done for convenience.\\\\n **/\\\\n\\\\n\\\\nexports.Inflate = Inflate;\\\\nexports.inflate = inflate;\\\\nexports.inflateRaw = inflateRaw;\\\\nexports.ungzip = inflate;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/common.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/common.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar TYPED_OK = (typeof Uint8Array !== 'undefined') &&\\\\n (typeof Uint16Array !== 'undefined') &&\\\\n (typeof Int32Array !== 'undefined');\\\\n\\\\nfunction _has(obj, key) {\\\\n return Object.prototype.hasOwnProperty.call(obj, key);\\\\n}\\\\n\\\\nexports.assign = function (obj /*from1, from2, from3, ...*/) {\\\\n var sources = Array.prototype.slice.call(arguments, 1);\\\\n while (sources.length) {\\\\n var source = sources.shift();\\\\n if (!source) { continue; }\\\\n\\\\n if (typeof source !== 'object') {\\\\n throw new TypeError(source + 'must be non-object');\\\\n }\\\\n\\\\n for (var p in source) {\\\\n if (_has(source, p)) {\\\\n obj[p] = source[p];\\\\n }\\\\n }\\\\n }\\\\n\\\\n return obj;\\\\n};\\\\n\\\\n\\\\n// reduce buffer size, avoiding mem copy\\\\nexports.shrinkBuf = function (buf, size) {\\\\n if (buf.length === size) { return buf; }\\\\n if (buf.subarray) { return buf.subarray(0, size); }\\\\n buf.length = size;\\\\n return buf;\\\\n};\\\\n\\\\n\\\\nvar fnTyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n if (src.subarray && dest.subarray) {\\\\n dest.set(src.subarray(src_offs, src_offs + len), dest_offs);\\\\n return;\\\\n }\\\\n // Fallback to ordinary array\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n var i, l, len, pos, chunk, result;\\\\n\\\\n // calculate data length\\\\n len = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n len += chunks[i].length;\\\\n }\\\\n\\\\n // join chunks\\\\n result = new Uint8Array(len);\\\\n pos = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n chunk = chunks[i];\\\\n result.set(chunk, pos);\\\\n pos += chunk.length;\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n};\\\\n\\\\nvar fnUntyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n return [].concat.apply([], chunks);\\\\n }\\\\n};\\\\n\\\\n\\\\n// Enable/Disable typed arrays use, for testing\\\\n//\\\\nexports.setTyped = function (on) {\\\\n if (on) {\\\\n exports.Buf8 = Uint8Array;\\\\n exports.Buf16 = Uint16Array;\\\\n exports.Buf32 = Int32Array;\\\\n exports.assign(exports, fnTyped);\\\\n } else {\\\\n exports.Buf8 = Array;\\\\n exports.Buf16 = Array;\\\\n exports.Buf32 = Array;\\\\n exports.assign(exports, fnUntyped);\\\\n }\\\\n};\\\\n\\\\nexports.setTyped(TYPED_OK);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/strings.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/strings.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// String encode/decode helpers\\\\n\\\\n\\\\n\\\\nvar utils = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\n\\\\n// Quick check if we can use fast array to bin string conversion\\\\n//\\\\n// - apply(Array) can fail on Android 2.2\\\\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\\\\n//\\\\nvar STR_APPLY_OK = true;\\\\nvar STR_APPLY_UIA_OK = true;\\\\n\\\\ntry { String.fromCharCode.apply(null, [ 0 ]); } catch (__) { STR_APPLY_OK = false; }\\\\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\\\\n\\\\n\\\\n// Table with utf8 lengths (calculated by first byte of sequence)\\\\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\\\\n// because max possible codepoint is 0x10ffff\\\\nvar _utf8len = new utils.Buf8(256);\\\\nfor (var q = 0; q < 256; q++) {\\\\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\\\\n}\\\\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\\\\n\\\\n\\\\n// convert string to array (typed, when possible)\\\\nexports.string2buf = function (str) {\\\\n var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\\\\n\\\\n // count binary size\\\\n for (m_pos = 0; m_pos < str_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\\\\n }\\\\n\\\\n // allocate buffer\\\\n buf = new utils.Buf8(buf_len);\\\\n\\\\n // convert\\\\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n if (c < 0x80) {\\\\n /* one byte */\\\\n buf[i++] = c;\\\\n } else if (c < 0x800) {\\\\n /* two bytes */\\\\n buf[i++] = 0xC0 | (c >>> 6);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else if (c < 0x10000) {\\\\n /* three bytes */\\\\n buf[i++] = 0xE0 | (c >>> 12);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else {\\\\n /* four bytes */\\\\n buf[i++] = 0xf0 | (c >>> 18);\\\\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n }\\\\n }\\\\n\\\\n return buf;\\\\n};\\\\n\\\\n// Helper (used in 2 places)\\\\nfunction buf2binstring(buf, len) {\\\\n // On Chrome, the arguments in a function call that are allowed is `65534`.\\\\n // If the length of the buffer is smaller than that, we can use this optimization,\\\\n // otherwise we will take a slower path.\\\\n if (len < 65534) {\\\\n if ((buf.subarray && STR_APPLY_UIA_OK) || (!buf.subarray && STR_APPLY_OK)) {\\\\n return String.fromCharCode.apply(null, utils.shrinkBuf(buf, len));\\\\n }\\\\n }\\\\n\\\\n var result = '';\\\\n for (var i = 0; i < len; i++) {\\\\n result += String.fromCharCode(buf[i]);\\\\n }\\\\n return result;\\\\n}\\\\n\\\\n\\\\n// Convert byte array to binary string\\\\nexports.buf2binstring = function (buf) {\\\\n return buf2binstring(buf, buf.length);\\\\n};\\\\n\\\\n\\\\n// Convert binary string (typed, when possible)\\\\nexports.binstring2buf = function (str) {\\\\n var buf = new utils.Buf8(str.length);\\\\n for (var i = 0, len = buf.length; i < len; i++) {\\\\n buf[i] = str.charCodeAt(i);\\\\n }\\\\n return buf;\\\\n};\\\\n\\\\n\\\\n// convert array to string\\\\nexports.buf2string = function (buf, max) {\\\\n var i, out, c, c_len;\\\\n var len = max || buf.length;\\\\n\\\\n // Reserve max possible length (2 words per char)\\\\n // NB: by unknown reasons, Array is significantly faster for\\\\n // String.fromCharCode.apply than Uint16Array.\\\\n var utf16buf = new Array(len * 2);\\\\n\\\\n for (out = 0, i = 0; i < len;) {\\\\n c = buf[i++];\\\\n // quick process ascii\\\\n if (c < 0x80) { utf16buf[out++] = c; continue; }\\\\n\\\\n c_len = _utf8len[c];\\\\n // skip 5 & 6 byte codes\\\\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\\\\n\\\\n // apply mask on first byte\\\\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\\\\n // join the rest\\\\n while (c_len > 1 && i < len) {\\\\n c = (c << 6) | (buf[i++] & 0x3f);\\\\n c_len--;\\\\n }\\\\n\\\\n // terminated by end of string?\\\\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\\\\n\\\\n if (c < 0x10000) {\\\\n utf16buf[out++] = c;\\\\n } else {\\\\n c -= 0x10000;\\\\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\\\\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\\\\n }\\\\n }\\\\n\\\\n return buf2binstring(utf16buf, out);\\\\n};\\\\n\\\\n\\\\n// Calculate max possible position in utf8 buffer,\\\\n// that will not break sequence. If that's not possible\\\\n// - (very small limits) return max size as is.\\\\n//\\\\n// buf[] - utf8 bytes array\\\\n// max - length limit (mandatory);\\\\nexports.utf8border = function (buf, max) {\\\\n var pos;\\\\n\\\\n max = max || buf.length;\\\\n if (max > buf.length) { max = buf.length; }\\\\n\\\\n // go back from last position, until start of sequence found\\\\n pos = max - 1;\\\\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\\\\n\\\\n // Very small and broken sequence,\\\\n // return max, because we should return something anyway.\\\\n if (pos < 0) { return max; }\\\\n\\\\n // If we came to start of buffer - that means buffer is too small,\\\\n // return max too.\\\\n if (pos === 0) { return max; }\\\\n\\\\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/strings.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/adler32.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/adler32.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\\\\n// It isn't worth it to make additional optimizations as in original.\\\\n// Small size is preferable.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction adler32(adler, buf, len, pos) {\\\\n var s1 = (adler & 0xffff) |0,\\\\n s2 = ((adler >>> 16) & 0xffff) |0,\\\\n n = 0;\\\\n\\\\n while (len !== 0) {\\\\n // Set limit ~ twice less than 5552, to keep\\\\n // s2 in 31-bits, because we force signed ints.\\\\n // in other case %= will fail.\\\\n n = len > 2000 ? 2000 : len;\\\\n len -= n;\\\\n\\\\n do {\\\\n s1 = (s1 + buf[pos++]) |0;\\\\n s2 = (s2 + s1) |0;\\\\n } while (--n);\\\\n\\\\n s1 %= 65521;\\\\n s2 %= 65521;\\\\n }\\\\n\\\\n return (s1 | (s2 << 16)) |0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = adler32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/adler32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/constants.js\\\":\\n/*!*************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/constants.js ***!\\n \\\\*************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n\\\\n /* Allowed flush values; see deflate() and inflate() below for details */\\\\n Z_NO_FLUSH: 0,\\\\n Z_PARTIAL_FLUSH: 1,\\\\n Z_SYNC_FLUSH: 2,\\\\n Z_FULL_FLUSH: 3,\\\\n Z_FINISH: 4,\\\\n Z_BLOCK: 5,\\\\n Z_TREES: 6,\\\\n\\\\n /* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\n Z_OK: 0,\\\\n Z_STREAM_END: 1,\\\\n Z_NEED_DICT: 2,\\\\n Z_ERRNO: -1,\\\\n Z_STREAM_ERROR: -2,\\\\n Z_DATA_ERROR: -3,\\\\n //Z_MEM_ERROR: -4,\\\\n Z_BUF_ERROR: -5,\\\\n //Z_VERSION_ERROR: -6,\\\\n\\\\n /* compression levels */\\\\n Z_NO_COMPRESSION: 0,\\\\n Z_BEST_SPEED: 1,\\\\n Z_BEST_COMPRESSION: 9,\\\\n Z_DEFAULT_COMPRESSION: -1,\\\\n\\\\n\\\\n Z_FILTERED: 1,\\\\n Z_HUFFMAN_ONLY: 2,\\\\n Z_RLE: 3,\\\\n Z_FIXED: 4,\\\\n Z_DEFAULT_STRATEGY: 0,\\\\n\\\\n /* Possible values of the data_type field (though see inflate()) */\\\\n Z_BINARY: 0,\\\\n Z_TEXT: 1,\\\\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\\\\n Z_UNKNOWN: 2,\\\\n\\\\n /* The deflate compression method */\\\\n Z_DEFLATED: 8\\\\n //Z_NULL: null // Use -1 or null inline, depending on var type\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/constants.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/crc32.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/crc32.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: we can't get significant speed boost here.\\\\n// So write code to minimize size - no pregenerated tables\\\\n// and array tools dependencies.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// Use ordinary array, since untyped makes no boost here\\\\nfunction makeTable() {\\\\n var c, table = [];\\\\n\\\\n for (var n = 0; n < 256; n++) {\\\\n c = n;\\\\n for (var k = 0; k < 8; k++) {\\\\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\\\\n }\\\\n table[n] = c;\\\\n }\\\\n\\\\n return table;\\\\n}\\\\n\\\\n// Create table on load. Just 255 signed longs. Not a problem.\\\\nvar crcTable = makeTable();\\\\n\\\\n\\\\nfunction crc32(crc, buf, len, pos) {\\\\n var t = crcTable,\\\\n end = pos + len;\\\\n\\\\n crc ^= -1;\\\\n\\\\n for (var i = pos; i < end; i++) {\\\\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\\\\n }\\\\n\\\\n return (crc ^ (-1)); // >>> 0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = crc32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/crc32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/gzheader.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/gzheader.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction GZheader() {\\\\n /* true if compressed data believed to be text */\\\\n this.text = 0;\\\\n /* modification time */\\\\n this.time = 0;\\\\n /* extra flags (not used when writing a gzip file) */\\\\n this.xflags = 0;\\\\n /* operating system */\\\\n this.os = 0;\\\\n /* pointer to extra field or Z_NULL if none */\\\\n this.extra = null;\\\\n /* extra field length (valid if extra != Z_NULL) */\\\\n this.extra_len = 0; // Actually, we don't need it in JS,\\\\n // but leave for few code modifications\\\\n\\\\n //\\\\n // Setup limits is not necessary because in js we should not preallocate memory\\\\n // for inflate use constant limit in 65536 bytes\\\\n //\\\\n\\\\n /* space at extra (only when reading header) */\\\\n // this.extra_max = 0;\\\\n /* pointer to zero-terminated file name or Z_NULL */\\\\n this.name = '';\\\\n /* space at name (only when reading header) */\\\\n // this.name_max = 0;\\\\n /* pointer to zero-terminated comment or Z_NULL */\\\\n this.comment = '';\\\\n /* space at comment (only when reading header) */\\\\n // this.comm_max = 0;\\\\n /* true if there was or will be a header crc */\\\\n this.hcrc = 0;\\\\n /* true when done reading gzip header (not used when writing a gzip file) */\\\\n this.done = false;\\\\n}\\\\n\\\\nmodule.exports = GZheader;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/gzheader.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inffast.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inffast.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// See state defs from inflate.js\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\n\\\\n/*\\\\n Decode literal, length, and distance codes and write out the resulting\\\\n literal and match bytes until either not enough input or output is\\\\n available, an end-of-block is encountered, or a data error is encountered.\\\\n When large enough input and output buffers are supplied to inflate(), for\\\\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\\\\n inflate execution time is spent in this routine.\\\\n\\\\n Entry assumptions:\\\\n\\\\n state.mode === LEN\\\\n strm.avail_in >= 6\\\\n strm.avail_out >= 258\\\\n start >= strm.avail_out\\\\n state.bits < 8\\\\n\\\\n On return, state.mode is one of:\\\\n\\\\n LEN -- ran out of enough output space or enough available input\\\\n TYPE -- reached end of block code, inflate() to interpret next block\\\\n BAD -- error in block data\\\\n\\\\n Notes:\\\\n\\\\n - The maximum input bits used by a length/distance pair is 15 bits for the\\\\n length code, 5 bits for the length extra, 15 bits for the distance code,\\\\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\\\\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\\\\n checking for available input while decoding.\\\\n\\\\n - The maximum bytes that a single length/distance pair can output is 258\\\\n bytes, which is the maximum length that can be coded. inflate_fast()\\\\n requires strm.avail_out >= 258 for each loop to avoid checking for\\\\n output space.\\\\n */\\\\nmodule.exports = function inflate_fast(strm, start) {\\\\n var state;\\\\n var _in; /* local strm.input */\\\\n var last; /* have enough input while in < last */\\\\n var _out; /* local strm.output */\\\\n var beg; /* inflate()'s initial strm.output */\\\\n var end; /* while out < end, enough space available */\\\\n//#ifdef INFLATE_STRICT\\\\n var dmax; /* maximum distance from zlib header */\\\\n//#endif\\\\n var wsize; /* window size or zero if not using window */\\\\n var whave; /* valid bytes in the window */\\\\n var wnext; /* window write index */\\\\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\\\\n var s_window; /* allocated sliding window, if wsize != 0 */\\\\n var hold; /* local strm.hold */\\\\n var bits; /* local strm.bits */\\\\n var lcode; /* local strm.lencode */\\\\n var dcode; /* local strm.distcode */\\\\n var lmask; /* mask for first level of length codes */\\\\n var dmask; /* mask for first level of distance codes */\\\\n var here; /* retrieved table entry */\\\\n var op; /* code bits, operation, extra bits, or */\\\\n /* window position, window bytes to copy */\\\\n var len; /* match length, unused bytes */\\\\n var dist; /* match distance */\\\\n var from; /* where to copy match from */\\\\n var from_source;\\\\n\\\\n\\\\n var input, output; // JS specific, because we have no pointers\\\\n\\\\n /* copy state to local variables */\\\\n state = strm.state;\\\\n //here = state.here;\\\\n _in = strm.next_in;\\\\n input = strm.input;\\\\n last = _in + (strm.avail_in - 5);\\\\n _out = strm.next_out;\\\\n output = strm.output;\\\\n beg = _out - (start - strm.avail_out);\\\\n end = _out + (strm.avail_out - 257);\\\\n//#ifdef INFLATE_STRICT\\\\n dmax = state.dmax;\\\\n//#endif\\\\n wsize = state.wsize;\\\\n whave = state.whave;\\\\n wnext = state.wnext;\\\\n s_window = state.window;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n lcode = state.lencode;\\\\n dcode = state.distcode;\\\\n lmask = (1 << state.lenbits) - 1;\\\\n dmask = (1 << state.distbits) - 1;\\\\n\\\\n\\\\n /* decode literals and length/distances until end-of-block or not enough\\\\n input data or output space */\\\\n\\\\n top:\\\\n do {\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n\\\\n here = lcode[hold & lmask];\\\\n\\\\n dolen:\\\\n for (;;) { // Goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n if (op === 0) { /* literal */\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n output[_out++] = here & 0xffff/*here.val*/;\\\\n }\\\\n else if (op & 16) { /* length base */\\\\n len = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (op) {\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n len += hold & ((1 << op) - 1);\\\\n hold >>>= op;\\\\n bits -= op;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", len));\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n here = dcode[hold & dmask];\\\\n\\\\n dodist:\\\\n for (;;) { // goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n\\\\n if (op & 16) { /* distance base */\\\\n dist = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n }\\\\n dist += hold & ((1 << op) - 1);\\\\n//#ifdef INFLATE_STRICT\\\\n if (dist > dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n//#endif\\\\n hold >>>= op;\\\\n bits -= op;\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", dist));\\\\n op = _out - beg; /* max distance in output */\\\\n if (dist > op) { /* see if copy from window */\\\\n op = dist - op; /* distance back in window */\\\\n if (op > whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// if (len <= op - whave) {\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n// len -= op - whave;\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--op > whave);\\\\n// if (op === 0) {\\\\n// from = _out - dist;\\\\n// do {\\\\n// output[_out++] = output[from++];\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n//#endif\\\\n }\\\\n from = 0; // window index\\\\n from_source = s_window;\\\\n if (wnext === 0) { /* very common case */\\\\n from += wsize - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n else if (wnext < op) { /* wrap around window */\\\\n from += wsize + wnext - op;\\\\n op -= wnext;\\\\n if (op < len) { /* some from end of window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = 0;\\\\n if (wnext < len) { /* some from start of window */\\\\n op = wnext;\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n }\\\\n else { /* contiguous in window */\\\\n from += wnext - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n while (len > 2) {\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n len -= 3;\\\\n }\\\\n if (len) {\\\\n output[_out++] = from_source[from++];\\\\n if (len > 1) {\\\\n output[_out++] = from_source[from++];\\\\n }\\\\n }\\\\n }\\\\n else {\\\\n from = _out - dist; /* copy direct from output */\\\\n do { /* minimum length is three */\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n len -= 3;\\\\n } while (len > 2);\\\\n if (len) {\\\\n output[_out++] = output[from++];\\\\n if (len > 1) {\\\\n output[_out++] = output[from++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level distance code */\\\\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dodist;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level length code */\\\\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dolen;\\\\n }\\\\n else if (op & 32) { /* end-of-block */\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break top;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n } while (_in < last && _out < end);\\\\n\\\\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\\\\n len = bits >> 3;\\\\n _in -= len;\\\\n bits -= len << 3;\\\\n hold &= (1 << bits) - 1;\\\\n\\\\n /* update state and return */\\\\n strm.next_in = _in;\\\\n strm.next_out = _out;\\\\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\\\\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n return;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inffast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inflate.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inflate.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar adler32 = __webpack_require__(/*! ./adler32 */ \\\\\\\"./node_modules/pako/lib/zlib/adler32.js\\\\\\\");\\\\nvar crc32 = __webpack_require__(/*! ./crc32 */ \\\\\\\"./node_modules/pako/lib/zlib/crc32.js\\\\\\\");\\\\nvar inflate_fast = __webpack_require__(/*! ./inffast */ \\\\\\\"./node_modules/pako/lib/zlib/inffast.js\\\\\\\");\\\\nvar inflate_table = __webpack_require__(/*! ./inftrees */ \\\\\\\"./node_modules/pako/lib/zlib/inftrees.js\\\\\\\");\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\n/* Public constants ==========================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n/* Allowed flush values; see deflate() and inflate() below for details */\\\\n//var Z_NO_FLUSH = 0;\\\\n//var Z_PARTIAL_FLUSH = 1;\\\\n//var Z_SYNC_FLUSH = 2;\\\\n//var Z_FULL_FLUSH = 3;\\\\nvar Z_FINISH = 4;\\\\nvar Z_BLOCK = 5;\\\\nvar Z_TREES = 6;\\\\n\\\\n\\\\n/* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\nvar Z_OK = 0;\\\\nvar Z_STREAM_END = 1;\\\\nvar Z_NEED_DICT = 2;\\\\n//var Z_ERRNO = -1;\\\\nvar Z_STREAM_ERROR = -2;\\\\nvar Z_DATA_ERROR = -3;\\\\nvar Z_MEM_ERROR = -4;\\\\nvar Z_BUF_ERROR = -5;\\\\n//var Z_VERSION_ERROR = -6;\\\\n\\\\n/* The deflate compression method */\\\\nvar Z_DEFLATED = 8;\\\\n\\\\n\\\\n/* STATES ====================================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\nvar HEAD = 1; /* i: waiting for magic header */\\\\nvar FLAGS = 2; /* i: waiting for method and flags (gzip) */\\\\nvar TIME = 3; /* i: waiting for modification time (gzip) */\\\\nvar OS = 4; /* i: waiting for extra flags and operating system (gzip) */\\\\nvar EXLEN = 5; /* i: waiting for extra length (gzip) */\\\\nvar EXTRA = 6; /* i: waiting for extra bytes (gzip) */\\\\nvar NAME = 7; /* i: waiting for end of file name (gzip) */\\\\nvar COMMENT = 8; /* i: waiting for end of comment (gzip) */\\\\nvar HCRC = 9; /* i: waiting for header crc (gzip) */\\\\nvar DICTID = 10; /* i: waiting for dictionary check value */\\\\nvar DICT = 11; /* waiting for inflateSetDictionary() call */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\nvar TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */\\\\nvar STORED = 14; /* i: waiting for stored size (length and complement) */\\\\nvar COPY_ = 15; /* i/o: same as COPY below, but only first time in */\\\\nvar COPY = 16; /* i/o: waiting for input or output to copy stored block */\\\\nvar TABLE = 17; /* i: waiting for dynamic block table lengths */\\\\nvar LENLENS = 18; /* i: waiting for code length code lengths */\\\\nvar CODELENS = 19; /* i: waiting for length/lit and distance code lengths */\\\\nvar LEN_ = 20; /* i: same as LEN below, but only first time in */\\\\nvar LEN = 21; /* i: waiting for length/lit/eob code */\\\\nvar LENEXT = 22; /* i: waiting for length extra bits */\\\\nvar DIST = 23; /* i: waiting for distance code */\\\\nvar DISTEXT = 24; /* i: waiting for distance extra bits */\\\\nvar MATCH = 25; /* o: waiting for output space to copy string */\\\\nvar LIT = 26; /* o: waiting for output space to write literal */\\\\nvar CHECK = 27; /* i: waiting for 32-bit check value */\\\\nvar LENGTH = 28; /* i: waiting for 32-bit length (gzip) */\\\\nvar DONE = 29; /* finished check, done -- remain here until reset */\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar MEM = 31; /* got an inflate() memory error -- remain here until reset */\\\\nvar SYNC = 32; /* looking for synchronization bytes to restart inflate() */\\\\n\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar MAX_WBITS = 15;\\\\n/* 32K LZ77 window */\\\\nvar DEF_WBITS = MAX_WBITS;\\\\n\\\\n\\\\nfunction zswap32(q) {\\\\n return (((q >>> 24) & 0xff) +\\\\n ((q >>> 8) & 0xff00) +\\\\n ((q & 0xff00) << 8) +\\\\n ((q & 0xff) << 24));\\\\n}\\\\n\\\\n\\\\nfunction InflateState() {\\\\n this.mode = 0; /* current inflate mode */\\\\n this.last = false; /* true if processing last block */\\\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\\\\n this.havedict = false; /* true if dictionary provided */\\\\n this.flags = 0; /* gzip header method and flags (0 if zlib) */\\\\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\\\\n this.check = 0; /* protected copy of check value */\\\\n this.total = 0; /* protected copy of output count */\\\\n // TODO: may be {}\\\\n this.head = null; /* where to save gzip header information */\\\\n\\\\n /* sliding window */\\\\n this.wbits = 0; /* log base 2 of requested window size */\\\\n this.wsize = 0; /* window size or zero if not using window */\\\\n this.whave = 0; /* valid bytes in the window */\\\\n this.wnext = 0; /* window write index */\\\\n this.window = null; /* allocated sliding window, if needed */\\\\n\\\\n /* bit accumulator */\\\\n this.hold = 0; /* input bit accumulator */\\\\n this.bits = 0; /* number of bits in \\\\\\\"in\\\\\\\" */\\\\n\\\\n /* for string and stored block copying */\\\\n this.length = 0; /* literal or length of data to copy */\\\\n this.offset = 0; /* distance back to copy string from */\\\\n\\\\n /* for table and code decoding */\\\\n this.extra = 0; /* extra bits needed */\\\\n\\\\n /* fixed and dynamic code tables */\\\\n this.lencode = null; /* starting table for length/literal codes */\\\\n this.distcode = null; /* starting table for distance codes */\\\\n this.lenbits = 0; /* index bits for lencode */\\\\n this.distbits = 0; /* index bits for distcode */\\\\n\\\\n /* dynamic table building */\\\\n this.ncode = 0; /* number of code length code lengths */\\\\n this.nlen = 0; /* number of length code lengths */\\\\n this.ndist = 0; /* number of distance code lengths */\\\\n this.have = 0; /* number of code lengths in lens[] */\\\\n this.next = null; /* next available space in codes[] */\\\\n\\\\n this.lens = new utils.Buf16(320); /* temporary storage for code lengths */\\\\n this.work = new utils.Buf16(288); /* work area for code table building */\\\\n\\\\n /*\\\\n because we don't have pointers in js, we use lencode and distcode directly\\\\n as buffers so we don't need codes\\\\n */\\\\n //this.codes = new utils.Buf32(ENOUGH); /* space for code tables */\\\\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\\\\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\\\\n this.sane = 0; /* if false, allow invalid distance too far */\\\\n this.back = 0; /* bits back of last unprocessed length/lit */\\\\n this.was = 0; /* initial length of match */\\\\n}\\\\n\\\\nfunction inflateResetKeep(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n strm.total_in = strm.total_out = state.total = 0;\\\\n strm.msg = ''; /*Z_NULL*/\\\\n if (state.wrap) { /* to support ill-conceived Java test suite */\\\\n strm.adler = state.wrap & 1;\\\\n }\\\\n state.mode = HEAD;\\\\n state.last = 0;\\\\n state.havedict = 0;\\\\n state.dmax = 32768;\\\\n state.head = null/*Z_NULL*/;\\\\n state.hold = 0;\\\\n state.bits = 0;\\\\n //state.lencode = state.distcode = state.next = state.codes;\\\\n state.lencode = state.lendyn = new utils.Buf32(ENOUGH_LENS);\\\\n state.distcode = state.distdyn = new utils.Buf32(ENOUGH_DISTS);\\\\n\\\\n state.sane = 1;\\\\n state.back = -1;\\\\n //Tracev((stderr, \\\\\\\"inflate: reset\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateReset(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n state.wsize = 0;\\\\n state.whave = 0;\\\\n state.wnext = 0;\\\\n return inflateResetKeep(strm);\\\\n\\\\n}\\\\n\\\\nfunction inflateReset2(strm, windowBits) {\\\\n var wrap;\\\\n var state;\\\\n\\\\n /* get the state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n /* extract wrap request from windowBits parameter */\\\\n if (windowBits < 0) {\\\\n wrap = 0;\\\\n windowBits = -windowBits;\\\\n }\\\\n else {\\\\n wrap = (windowBits >> 4) + 1;\\\\n if (windowBits < 48) {\\\\n windowBits &= 15;\\\\n }\\\\n }\\\\n\\\\n /* set number of window bits, free window if different */\\\\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n if (state.window !== null && state.wbits !== windowBits) {\\\\n state.window = null;\\\\n }\\\\n\\\\n /* update state and reset the rest of it */\\\\n state.wrap = wrap;\\\\n state.wbits = windowBits;\\\\n return inflateReset(strm);\\\\n}\\\\n\\\\nfunction inflateInit2(strm, windowBits) {\\\\n var ret;\\\\n var state;\\\\n\\\\n if (!strm) { return Z_STREAM_ERROR; }\\\\n //strm.msg = Z_NULL; /* in case we return an error */\\\\n\\\\n state = new InflateState();\\\\n\\\\n //if (state === Z_NULL) return Z_MEM_ERROR;\\\\n //Tracev((stderr, \\\\\\\"inflate: allocated\\\\\\\\n\\\\\\\"));\\\\n strm.state = state;\\\\n state.window = null/*Z_NULL*/;\\\\n ret = inflateReset2(strm, windowBits);\\\\n if (ret !== Z_OK) {\\\\n strm.state = null/*Z_NULL*/;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateInit(strm) {\\\\n return inflateInit2(strm, DEF_WBITS);\\\\n}\\\\n\\\\n\\\\n/*\\\\n Return state with length and distance decoding tables and index sizes set to\\\\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\\\\n If BUILDFIXED is defined, then instead this routine builds the tables the\\\\n first time it's called, and returns those tables the first time and\\\\n thereafter. This reduces the size of the code by about 2K bytes, in\\\\n exchange for a little execution time. However, BUILDFIXED should not be\\\\n used for threaded applications, since the rewriting of the tables and virgin\\\\n may not be thread-safe.\\\\n */\\\\nvar virgin = true;\\\\n\\\\nvar lenfix, distfix; // We have no pointers in JS, so keep tables separate\\\\n\\\\nfunction fixedtables(state) {\\\\n /* build fixed huffman tables if first call (may not be thread safe) */\\\\n if (virgin) {\\\\n var sym;\\\\n\\\\n lenfix = new utils.Buf32(512);\\\\n distfix = new utils.Buf32(32);\\\\n\\\\n /* literal/length table */\\\\n sym = 0;\\\\n while (sym < 144) { state.lens[sym++] = 8; }\\\\n while (sym < 256) { state.lens[sym++] = 9; }\\\\n while (sym < 280) { state.lens[sym++] = 7; }\\\\n while (sym < 288) { state.lens[sym++] = 8; }\\\\n\\\\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\\\\n\\\\n /* distance table */\\\\n sym = 0;\\\\n while (sym < 32) { state.lens[sym++] = 5; }\\\\n\\\\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\\\\n\\\\n /* do this just once */\\\\n virgin = false;\\\\n }\\\\n\\\\n state.lencode = lenfix;\\\\n state.lenbits = 9;\\\\n state.distcode = distfix;\\\\n state.distbits = 5;\\\\n}\\\\n\\\\n\\\\n/*\\\\n Update the window with the last wsize (normally 32K) bytes written before\\\\n returning. If window does not exist yet, create it. This is only called\\\\n when a window is already in use, or when output has been written during this\\\\n inflate call, but the end of the deflate stream has not been reached yet.\\\\n It is also called to create a window for dictionary data when a dictionary\\\\n is loaded.\\\\n\\\\n Providing output buffers larger than 32K to inflate() should provide a speed\\\\n advantage, since only the last 32K of output is copied to the sliding window\\\\n upon return from inflate(), and since all distances after the first 32K of\\\\n output will fall in the output data, making match copies simpler and faster.\\\\n The advantage may be dependent on the size of the processor's data caches.\\\\n */\\\\nfunction updatewindow(strm, src, end, copy) {\\\\n var dist;\\\\n var state = strm.state;\\\\n\\\\n /* if it hasn't been done already, allocate space for the window */\\\\n if (state.window === null) {\\\\n state.wsize = 1 << state.wbits;\\\\n state.wnext = 0;\\\\n state.whave = 0;\\\\n\\\\n state.window = new utils.Buf8(state.wsize);\\\\n }\\\\n\\\\n /* copy state->wsize or less output bytes into the circular window */\\\\n if (copy >= state.wsize) {\\\\n utils.arraySet(state.window, src, end - state.wsize, state.wsize, 0);\\\\n state.wnext = 0;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n dist = state.wsize - state.wnext;\\\\n if (dist > copy) {\\\\n dist = copy;\\\\n }\\\\n //zmemcpy(state->window + state->wnext, end - copy, dist);\\\\n utils.arraySet(state.window, src, end - copy, dist, state.wnext);\\\\n copy -= dist;\\\\n if (copy) {\\\\n //zmemcpy(state->window, end - copy, copy);\\\\n utils.arraySet(state.window, src, end - copy, copy, 0);\\\\n state.wnext = copy;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n state.wnext += dist;\\\\n if (state.wnext === state.wsize) { state.wnext = 0; }\\\\n if (state.whave < state.wsize) { state.whave += dist; }\\\\n }\\\\n }\\\\n return 0;\\\\n}\\\\n\\\\nfunction inflate(strm, flush) {\\\\n var state;\\\\n var input, output; // input/output buffers\\\\n var next; /* next input INDEX */\\\\n var put; /* next output INDEX */\\\\n var have, left; /* available input and output */\\\\n var hold; /* bit buffer */\\\\n var bits; /* bits in bit buffer */\\\\n var _in, _out; /* save starting available input and output */\\\\n var copy; /* number of stored or match bytes to copy */\\\\n var from; /* where to copy match bytes from */\\\\n var from_source;\\\\n var here = 0; /* current decoding table entry */\\\\n var here_bits, here_op, here_val; // paked \\\\\\\"here\\\\\\\" denormalized (JS specific)\\\\n //var last; /* parent table entry */\\\\n var last_bits, last_op, last_val; // paked \\\\\\\"last\\\\\\\" denormalized (JS specific)\\\\n var len; /* length to copy for repeats, bits to drop */\\\\n var ret; /* return code */\\\\n var hbuf = new utils.Buf8(4); /* buffer for gzip header crc calculation */\\\\n var opts;\\\\n\\\\n var n; // temporary var for NEED_BITS\\\\n\\\\n var order = /* permutation of code lengths */\\\\n [ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ];\\\\n\\\\n\\\\n if (!strm || !strm.state || !strm.output ||\\\\n (!strm.input && strm.avail_in !== 0)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n state = strm.state;\\\\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\\\\n\\\\n\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n _in = have;\\\\n _out = left;\\\\n ret = Z_OK;\\\\n\\\\n inf_leave: // goto emulation\\\\n for (;;) {\\\\n switch (state.mode) {\\\\n case HEAD:\\\\n if (state.wrap === 0) {\\\\n state.mode = TYPEDO;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(16);\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\\\\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = FLAGS;\\\\n break;\\\\n }\\\\n state.flags = 0; /* expect zlib header */\\\\n if (state.head) {\\\\n state.head.done = false;\\\\n }\\\\n if (!(state.wrap & 1) || /* check if zlib header allowed */\\\\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\\\\n strm.msg = 'incorrect header check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\\\\n if (state.wbits === 0) {\\\\n state.wbits = len;\\\\n }\\\\n else if (len > state.wbits) {\\\\n strm.msg = 'invalid window size';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.dmax = 1 << len;\\\\n //Tracev((stderr, \\\\\\\"inflate: zlib header ok\\\\\\\\n\\\\\\\"));\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = hold & 0x200 ? DICTID : TYPE;\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n break;\\\\n case FLAGS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.flags = hold;\\\\n if ((state.flags & 0xff) !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.flags & 0xe000) {\\\\n strm.msg = 'unknown header flags set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.head) {\\\\n state.head.text = ((hold >> 8) & 1);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = TIME;\\\\n /* falls through */\\\\n case TIME:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.time = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC4(state.check, hold)\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n hbuf[2] = (hold >>> 16) & 0xff;\\\\n hbuf[3] = (hold >>> 24) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 4, 0);\\\\n //===\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = OS;\\\\n /* falls through */\\\\n case OS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.xflags = (hold & 0xff);\\\\n state.head.os = (hold >> 8);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = EXLEN;\\\\n /* falls through */\\\\n case EXLEN:\\\\n if (state.flags & 0x0400) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length = hold;\\\\n if (state.head) {\\\\n state.head.extra_len = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n else if (state.head) {\\\\n state.head.extra = null/*Z_NULL*/;\\\\n }\\\\n state.mode = EXTRA;\\\\n /* falls through */\\\\n case EXTRA:\\\\n if (state.flags & 0x0400) {\\\\n copy = state.length;\\\\n if (copy > have) { copy = have; }\\\\n if (copy) {\\\\n if (state.head) {\\\\n len = state.head.extra_len - state.length;\\\\n if (!state.head.extra) {\\\\n // Use untyped array for more convenient processing later\\\\n state.head.extra = new Array(state.head.extra_len);\\\\n }\\\\n utils.arraySet(\\\\n state.head.extra,\\\\n input,\\\\n next,\\\\n // extra field is limited to 65536 bytes\\\\n // - no need for additional size check\\\\n copy,\\\\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\\\\n len\\\\n );\\\\n //zmemcpy(state.head.extra + len, next,\\\\n // len + copy > state.head.extra_max ?\\\\n // state.head.extra_max - len : copy);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n state.length -= copy;\\\\n }\\\\n if (state.length) { break inf_leave; }\\\\n }\\\\n state.length = 0;\\\\n state.mode = NAME;\\\\n /* falls through */\\\\n case NAME:\\\\n if (state.flags & 0x0800) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n // TODO: 2 or 1 bytes?\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.name_max*/)) {\\\\n state.head.name += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.name = null;\\\\n }\\\\n state.length = 0;\\\\n state.mode = COMMENT;\\\\n /* falls through */\\\\n case COMMENT:\\\\n if (state.flags & 0x1000) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.comm_max*/)) {\\\\n state.head.comment += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.comment = null;\\\\n }\\\\n state.mode = HCRC;\\\\n /* falls through */\\\\n case HCRC:\\\\n if (state.flags & 0x0200) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.check & 0xffff)) {\\\\n strm.msg = 'header crc mismatch';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n if (state.head) {\\\\n state.head.hcrc = ((state.flags >> 9) & 1);\\\\n state.head.done = true;\\\\n }\\\\n strm.adler = state.check = 0;\\\\n state.mode = TYPE;\\\\n break;\\\\n case DICTID:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n strm.adler = state.check = zswap32(hold);\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = DICT;\\\\n /* falls through */\\\\n case DICT:\\\\n if (state.havedict === 0) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n return Z_NEED_DICT;\\\\n }\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = TYPE;\\\\n /* falls through */\\\\n case TYPE:\\\\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case TYPEDO:\\\\n if (state.last) {\\\\n //--- BYTEBITS() ---//\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n state.mode = CHECK;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(3); */\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.last = (hold & 0x01)/*BITS(1)*/;\\\\n //--- DROPBITS(1) ---//\\\\n hold >>>= 1;\\\\n bits -= 1;\\\\n //---//\\\\n\\\\n switch ((hold & 0x03)/*BITS(2)*/) {\\\\n case 0: /* stored block */\\\\n //Tracev((stderr, \\\\\\\"inflate: stored block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = STORED;\\\\n break;\\\\n case 1: /* fixed block */\\\\n fixedtables(state);\\\\n //Tracev((stderr, \\\\\\\"inflate: fixed codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = LEN_; /* decode codes */\\\\n if (flush === Z_TREES) {\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break inf_leave;\\\\n }\\\\n break;\\\\n case 2: /* dynamic block */\\\\n //Tracev((stderr, \\\\\\\"inflate: dynamic codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = TABLE;\\\\n break;\\\\n case 3:\\\\n strm.msg = 'invalid block type';\\\\n state.mode = BAD;\\\\n }\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break;\\\\n case STORED:\\\\n //--- BYTEBITS() ---// /* go to byte boundary */\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\\\\n strm.msg = 'invalid stored block lengths';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.length = hold & 0xffff;\\\\n //Tracev((stderr, \\\\\\\"inflate: stored length %u\\\\\\\\n\\\\\\\",\\\\n // state.length));\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = COPY_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case COPY_:\\\\n state.mode = COPY;\\\\n /* falls through */\\\\n case COPY:\\\\n copy = state.length;\\\\n if (copy) {\\\\n if (copy > have) { copy = have; }\\\\n if (copy > left) { copy = left; }\\\\n if (copy === 0) { break inf_leave; }\\\\n //--- zmemcpy(put, next, copy); ---\\\\n utils.arraySet(output, input, next, copy, put);\\\\n //---//\\\\n have -= copy;\\\\n next += copy;\\\\n left -= copy;\\\\n put += copy;\\\\n state.length -= copy;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: stored end\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break;\\\\n case TABLE:\\\\n //=== NEEDBITS(14); */\\\\n while (bits < 14) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n//#ifndef PKZIP_BUG_WORKAROUND\\\\n if (state.nlen > 286 || state.ndist > 30) {\\\\n strm.msg = 'too many length or distance symbols';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracev((stderr, \\\\\\\"inflate: table sizes ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = LENLENS;\\\\n /* falls through */\\\\n case LENLENS:\\\\n while (state.have < state.ncode) {\\\\n //=== NEEDBITS(3);\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n while (state.have < 19) {\\\\n state.lens[order[state.have++]] = 0;\\\\n }\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n //state.next = state.codes;\\\\n //state.lencode = state.next;\\\\n // Switch to use dynamic table\\\\n state.lencode = state.lendyn;\\\\n state.lenbits = 7;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\\\\n state.lenbits = opts.bits;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid code lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: code lengths ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = CODELENS;\\\\n /* falls through */\\\\n case CODELENS:\\\\n while (state.have < state.nlen + state.ndist) {\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_val < 16) {\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.lens[state.have++] = here_val;\\\\n }\\\\n else {\\\\n if (here_val === 16) {\\\\n //=== NEEDBITS(here.bits + 2);\\\\n n = here_bits + 2;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n if (state.have === 0) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n len = state.lens[state.have - 1];\\\\n copy = 3 + (hold & 0x03);//BITS(2);\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n }\\\\n else if (here_val === 17) {\\\\n //=== NEEDBITS(here.bits + 3);\\\\n n = here_bits + 3;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 3 + (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n else {\\\\n //=== NEEDBITS(here.bits + 7);\\\\n n = here_bits + 7;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 11 + (hold & 0x7f);//BITS(7);\\\\n //--- DROPBITS(7) ---//\\\\n hold >>>= 7;\\\\n bits -= 7;\\\\n //---//\\\\n }\\\\n if (state.have + copy > state.nlen + state.ndist) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n while (copy--) {\\\\n state.lens[state.have++] = len;\\\\n }\\\\n }\\\\n }\\\\n\\\\n /* handle error breaks in while */\\\\n if (state.mode === BAD) { break; }\\\\n\\\\n /* check for end-of-block code (better have one) */\\\\n if (state.lens[256] === 0) {\\\\n strm.msg = 'invalid code -- missing end-of-block';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n /* build code tables -- note: do not change the lenbits or distbits\\\\n values here (9 and 6) without reading the comments in inftrees.h\\\\n concerning the ENOUGH constants, which depend on those values */\\\\n state.lenbits = 9;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.lenbits = opts.bits;\\\\n // state.lencode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid literal/lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n state.distbits = 6;\\\\n //state.distcode.copy(state.codes);\\\\n // Switch to use dynamic table\\\\n state.distcode = state.distdyn;\\\\n opts = { bits: state.distbits };\\\\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.distbits = opts.bits;\\\\n // state.distcode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid distances set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, 'inflate: codes ok\\\\\\\\n'));\\\\n state.mode = LEN_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case LEN_:\\\\n state.mode = LEN;\\\\n /* falls through */\\\\n case LEN:\\\\n if (have >= 6 && left >= 258) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n inflate_fast(strm, _out);\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n if (state.mode === TYPE) {\\\\n state.back = -1;\\\\n }\\\\n break;\\\\n }\\\\n state.back = 0;\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if (here_bits <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_op && (here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.lencode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n state.length = here_val;\\\\n if (here_op === 0) {\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n state.mode = LIT;\\\\n break;\\\\n }\\\\n if (here_op & 32) {\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.back = -1;\\\\n state.mode = TYPE;\\\\n break;\\\\n }\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.extra = here_op & 15;\\\\n state.mode = LENEXT;\\\\n /* falls through */\\\\n case LENEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", state.length));\\\\n state.was = state.length;\\\\n state.mode = DIST;\\\\n /* falls through */\\\\n case DIST:\\\\n for (;;) {\\\\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if ((here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.distcode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.offset = here_val;\\\\n state.extra = (here_op) & 15;\\\\n state.mode = DISTEXT;\\\\n /* falls through */\\\\n case DISTEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n//#ifdef INFLATE_STRICT\\\\n if (state.offset > state.dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", state.offset));\\\\n state.mode = MATCH;\\\\n /* falls through */\\\\n case MATCH:\\\\n if (left === 0) { break inf_leave; }\\\\n copy = _out - left;\\\\n if (state.offset > copy) { /* copy from window */\\\\n copy = state.offset - copy;\\\\n if (copy > state.whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// Trace((stderr, \\\\\\\"inflate.c too far\\\\\\\\n\\\\\\\"));\\\\n// copy -= state.whave;\\\\n// if (copy > state.length) { copy = state.length; }\\\\n// if (copy > left) { copy = left; }\\\\n// left -= copy;\\\\n// state.length -= copy;\\\\n// do {\\\\n// output[put++] = 0;\\\\n// } while (--copy);\\\\n// if (state.length === 0) { state.mode = LEN; }\\\\n// break;\\\\n//#endif\\\\n }\\\\n if (copy > state.wnext) {\\\\n copy -= state.wnext;\\\\n from = state.wsize - copy;\\\\n }\\\\n else {\\\\n from = state.wnext - copy;\\\\n }\\\\n if (copy > state.length) { copy = state.length; }\\\\n from_source = state.window;\\\\n }\\\\n else { /* copy from output */\\\\n from_source = output;\\\\n from = put - state.offset;\\\\n copy = state.length;\\\\n }\\\\n if (copy > left) { copy = left; }\\\\n left -= copy;\\\\n state.length -= copy;\\\\n do {\\\\n output[put++] = from_source[from++];\\\\n } while (--copy);\\\\n if (state.length === 0) { state.mode = LEN; }\\\\n break;\\\\n case LIT:\\\\n if (left === 0) { break inf_leave; }\\\\n output[put++] = state.length;\\\\n left--;\\\\n state.mode = LEN;\\\\n break;\\\\n case CHECK:\\\\n if (state.wrap) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n // Use '|' instead of '+' to make sure that result is signed\\\\n hold |= input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n _out -= left;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (_out) {\\\\n strm.adler = state.check =\\\\n /*UPDATE(state.check, put - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\\\\n\\\\n }\\\\n _out = left;\\\\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\\\\n if ((state.flags ? hold : zswap32(hold)) !== state.check) {\\\\n strm.msg = 'incorrect data check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: check matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = LENGTH;\\\\n /* falls through */\\\\n case LENGTH:\\\\n if (state.wrap && state.flags) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.total & 0xffffffff)) {\\\\n strm.msg = 'incorrect length check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: length matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = DONE;\\\\n /* falls through */\\\\n case DONE:\\\\n ret = Z_STREAM_END;\\\\n break inf_leave;\\\\n case BAD:\\\\n ret = Z_DATA_ERROR;\\\\n break inf_leave;\\\\n case MEM:\\\\n return Z_MEM_ERROR;\\\\n case SYNC:\\\\n /* falls through */\\\\n default:\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n }\\\\n\\\\n // inf_leave <- here is real place for \\\\\\\"goto inf_leave\\\\\\\", emulated via \\\\\\\"break inf_leave\\\\\\\"\\\\n\\\\n /*\\\\n Return from inflate(), updating the total counts and the check value.\\\\n If there was no progress during the inflate() call, return a buffer\\\\n error. Call updatewindow() to create and/or update the window state.\\\\n Note: a memory error from inflate() is non-recoverable.\\\\n */\\\\n\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n\\\\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\\\\n (state.mode < CHECK || flush !== Z_FINISH))) {\\\\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n }\\\\n _in -= strm.avail_in;\\\\n _out -= strm.avail_out;\\\\n strm.total_in += _in;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (state.wrap && _out) {\\\\n strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\\\\n }\\\\n strm.data_type = state.bits + (state.last ? 64 : 0) +\\\\n (state.mode === TYPE ? 128 : 0) +\\\\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\\\\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\\\\n ret = Z_BUF_ERROR;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateEnd(strm) {\\\\n\\\\n if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n var state = strm.state;\\\\n if (state.window) {\\\\n state.window = null;\\\\n }\\\\n strm.state = null;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateGetHeader(strm, head) {\\\\n var state;\\\\n\\\\n /* check state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\\\\n\\\\n /* save header structure */\\\\n state.head = head;\\\\n head.done = false;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateSetDictionary(strm, dictionary) {\\\\n var dictLength = dictionary.length;\\\\n\\\\n var state;\\\\n var dictid;\\\\n var ret;\\\\n\\\\n /* check state */\\\\n if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n if (state.wrap !== 0 && state.mode !== DICT) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n /* check for correct dictionary identifier */\\\\n if (state.mode === DICT) {\\\\n dictid = 1; /* adler32(0, null, 0)*/\\\\n /* dictid = adler32(dictid, dictionary, dictLength); */\\\\n dictid = adler32(dictid, dictionary, dictLength, 0);\\\\n if (dictid !== state.check) {\\\\n return Z_DATA_ERROR;\\\\n }\\\\n }\\\\n /* copy dictionary to window using updatewindow(), which will amend the\\\\n existing dictionary if appropriate */\\\\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\\\\n if (ret) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n state.havedict = 1;\\\\n // Tracev((stderr, \\\\\\\"inflate: dictionary set\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nexports.inflateReset = inflateReset;\\\\nexports.inflateReset2 = inflateReset2;\\\\nexports.inflateResetKeep = inflateResetKeep;\\\\nexports.inflateInit = inflateInit;\\\\nexports.inflateInit2 = inflateInit2;\\\\nexports.inflate = inflate;\\\\nexports.inflateEnd = inflateEnd;\\\\nexports.inflateGetHeader = inflateGetHeader;\\\\nexports.inflateSetDictionary = inflateSetDictionary;\\\\nexports.inflateInfo = 'pako inflate (from Nodeca project)';\\\\n\\\\n/* Not implemented\\\\nexports.inflateCopy = inflateCopy;\\\\nexports.inflateGetDictionary = inflateGetDictionary;\\\\nexports.inflateMark = inflateMark;\\\\nexports.inflatePrime = inflatePrime;\\\\nexports.inflateSync = inflateSync;\\\\nexports.inflateSyncPoint = inflateSyncPoint;\\\\nexports.inflateUndermine = inflateUndermine;\\\\n*/\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inftrees.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inftrees.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\nvar MAXBITS = 15;\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\nvar lbase = [ /* Length codes 257..285 base */\\\\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\\\\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\\\\n];\\\\n\\\\nvar lext = [ /* Length codes 257..285 extra */\\\\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\\\\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\\\\n];\\\\n\\\\nvar dbase = [ /* Distance codes 0..29 base */\\\\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\\\\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\\\\n 8193, 12289, 16385, 24577, 0, 0\\\\n];\\\\n\\\\nvar dext = [ /* Distance codes 0..29 extra */\\\\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\\\\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\\\\n 28, 28, 29, 29, 64, 64\\\\n];\\\\n\\\\nmodule.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)\\\\n{\\\\n var bits = opts.bits;\\\\n //here = opts.here; /* table entry for duplication */\\\\n\\\\n var len = 0; /* a code's length in bits */\\\\n var sym = 0; /* index of code symbols */\\\\n var min = 0, max = 0; /* minimum and maximum code lengths */\\\\n var root = 0; /* number of index bits for root table */\\\\n var curr = 0; /* number of index bits for current table */\\\\n var drop = 0; /* code bits to drop for sub-table */\\\\n var left = 0; /* number of prefix codes available */\\\\n var used = 0; /* code entries in table used */\\\\n var huff = 0; /* Huffman code */\\\\n var incr; /* for incrementing code, index */\\\\n var fill; /* index for replicating entries */\\\\n var low; /* low bits for current root entry */\\\\n var mask; /* mask for low root bits */\\\\n var next; /* next available space in table */\\\\n var base = null; /* base value table to use */\\\\n var base_index = 0;\\\\n// var shoextra; /* extra bits table to use */\\\\n var end; /* use base and extra for symbol > end */\\\\n var count = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\\\\n var offs = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\\\\n var extra = null;\\\\n var extra_index = 0;\\\\n\\\\n var here_bits, here_op, here_val;\\\\n\\\\n /*\\\\n Process a set of code lengths to create a canonical Huffman code. The\\\\n code lengths are lens[0..codes-1]. Each length corresponds to the\\\\n symbols 0..codes-1. The Huffman code is generated by first sorting the\\\\n symbols by length from short to long, and retaining the symbol order\\\\n for codes with equal lengths. Then the code starts with all zero bits\\\\n for the first code of the shortest length, and the codes are integer\\\\n increments for the same length, and zeros are appended as the length\\\\n increases. For the deflate format, these bits are stored backwards\\\\n from their more natural integer increment ordering, and so when the\\\\n decoding tables are built in the large loop below, the integer codes\\\\n are incremented backwards.\\\\n\\\\n This routine assumes, but does not check, that all of the entries in\\\\n lens[] are in the range 0..MAXBITS. The caller must assure this.\\\\n 1..MAXBITS is interpreted as that code length. zero means that that\\\\n symbol does not occur in this code.\\\\n\\\\n The codes are sorted by computing a count of codes for each length,\\\\n creating from that a table of starting indices for each length in the\\\\n sorted table, and then entering the symbols in order in the sorted\\\\n table. The sorted table is work[], with that space being provided by\\\\n the caller.\\\\n\\\\n The length counts are used for other purposes as well, i.e. finding\\\\n the minimum and maximum length codes, determining if there are any\\\\n codes at all, checking for a valid set of lengths, and looking ahead\\\\n at length counts to determine sub-table sizes when building the\\\\n decoding tables.\\\\n */\\\\n\\\\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\\\\n for (len = 0; len <= MAXBITS; len++) {\\\\n count[len] = 0;\\\\n }\\\\n for (sym = 0; sym < codes; sym++) {\\\\n count[lens[lens_index + sym]]++;\\\\n }\\\\n\\\\n /* bound code lengths, force root to be within code lengths */\\\\n root = bits;\\\\n for (max = MAXBITS; max >= 1; max--) {\\\\n if (count[max] !== 0) { break; }\\\\n }\\\\n if (root > max) {\\\\n root = max;\\\\n }\\\\n if (max === 0) { /* no symbols to code at all */\\\\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\\\\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\\\\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n\\\\n //table.op[opts.table_index] = 64;\\\\n //table.bits[opts.table_index] = 1;\\\\n //table.val[opts.table_index++] = 0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n opts.bits = 1;\\\\n return 0; /* no symbols, but wait for decoding to report error */\\\\n }\\\\n for (min = 1; min < max; min++) {\\\\n if (count[min] !== 0) { break; }\\\\n }\\\\n if (root < min) {\\\\n root = min;\\\\n }\\\\n\\\\n /* check for an over-subscribed or incomplete set of lengths */\\\\n left = 1;\\\\n for (len = 1; len <= MAXBITS; len++) {\\\\n left <<= 1;\\\\n left -= count[len];\\\\n if (left < 0) {\\\\n return -1;\\\\n } /* over-subscribed */\\\\n }\\\\n if (left > 0 && (type === CODES || max !== 1)) {\\\\n return -1; /* incomplete set */\\\\n }\\\\n\\\\n /* generate offsets into symbol table for each length for sorting */\\\\n offs[1] = 0;\\\\n for (len = 1; len < MAXBITS; len++) {\\\\n offs[len + 1] = offs[len] + count[len];\\\\n }\\\\n\\\\n /* sort symbols by length, by symbol order within each length */\\\\n for (sym = 0; sym < codes; sym++) {\\\\n if (lens[lens_index + sym] !== 0) {\\\\n work[offs[lens[lens_index + sym]]++] = sym;\\\\n }\\\\n }\\\\n\\\\n /*\\\\n Create and fill in decoding tables. In this loop, the table being\\\\n filled is at next and has curr index bits. The code being used is huff\\\\n with length len. That code is converted to an index by dropping drop\\\\n bits off of the bottom. For codes where len is less than drop + curr,\\\\n those top drop + curr - len bits are incremented through all values to\\\\n fill the table with replicated entries.\\\\n\\\\n root is the number of index bits for the root table. When len exceeds\\\\n root, sub-tables are created pointed to by the root entry with an index\\\\n of the low root bits of huff. This is saved in low to check for when a\\\\n new sub-table should be started. drop is zero when the root table is\\\\n being filled, and drop is root when sub-tables are being filled.\\\\n\\\\n When a new sub-table is needed, it is necessary to look ahead in the\\\\n code lengths to determine what size sub-table is needed. The length\\\\n counts are used for this, and so count[] is decremented as codes are\\\\n entered in the tables.\\\\n\\\\n used keeps track of how many table entries have been allocated from the\\\\n provided *table space. It is checked for LENS and DIST tables against\\\\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\\\\n the initial root table size constants. See the comments in inftrees.h\\\\n for more information.\\\\n\\\\n sym increments through all symbols, and the loop terminates when\\\\n all codes of length max, i.e. all codes, have been processed. This\\\\n routine permits incomplete codes, so another loop after this one fills\\\\n in the rest of the decoding tables with invalid code markers.\\\\n */\\\\n\\\\n /* set up for code type */\\\\n // poor man optimization - use if-else instead of switch,\\\\n // to avoid deopts in old v8\\\\n if (type === CODES) {\\\\n base = extra = work; /* dummy value--not used */\\\\n end = 19;\\\\n\\\\n } else if (type === LENS) {\\\\n base = lbase;\\\\n base_index -= 257;\\\\n extra = lext;\\\\n extra_index -= 257;\\\\n end = 256;\\\\n\\\\n } else { /* DISTS */\\\\n base = dbase;\\\\n extra = dext;\\\\n end = -1;\\\\n }\\\\n\\\\n /* initialize opts for loop */\\\\n huff = 0; /* starting code */\\\\n sym = 0; /* starting code symbol */\\\\n len = min; /* starting code length */\\\\n next = table_index; /* current table to fill in */\\\\n curr = root; /* current table index bits */\\\\n drop = 0; /* current bits to drop from code for index */\\\\n low = -1; /* trigger new sub-table when len > root */\\\\n used = 1 << root; /* use root table entries */\\\\n mask = used - 1; /* mask for comparing low */\\\\n\\\\n /* check available table space */\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* process all codes and make table entries */\\\\n for (;;) {\\\\n /* create table entry */\\\\n here_bits = len - drop;\\\\n if (work[sym] < end) {\\\\n here_op = 0;\\\\n here_val = work[sym];\\\\n }\\\\n else if (work[sym] > end) {\\\\n here_op = extra[extra_index + work[sym]];\\\\n here_val = base[base_index + work[sym]];\\\\n }\\\\n else {\\\\n here_op = 32 + 64; /* end of block */\\\\n here_val = 0;\\\\n }\\\\n\\\\n /* replicate for those indices with low len bits equal to huff */\\\\n incr = 1 << (len - drop);\\\\n fill = 1 << curr;\\\\n min = fill; /* save offset to next table */\\\\n do {\\\\n fill -= incr;\\\\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\\\\n } while (fill !== 0);\\\\n\\\\n /* backwards increment the len-bit code huff */\\\\n incr = 1 << (len - 1);\\\\n while (huff & incr) {\\\\n incr >>= 1;\\\\n }\\\\n if (incr !== 0) {\\\\n huff &= incr - 1;\\\\n huff += incr;\\\\n } else {\\\\n huff = 0;\\\\n }\\\\n\\\\n /* go to next symbol, update count, len */\\\\n sym++;\\\\n if (--count[len] === 0) {\\\\n if (len === max) { break; }\\\\n len = lens[lens_index + work[sym]];\\\\n }\\\\n\\\\n /* create new sub-table if needed */\\\\n if (len > root && (huff & mask) !== low) {\\\\n /* if first time, transition to sub-tables */\\\\n if (drop === 0) {\\\\n drop = root;\\\\n }\\\\n\\\\n /* increment past last table */\\\\n next += min; /* here min is 1 << curr */\\\\n\\\\n /* determine length of next table */\\\\n curr = len - drop;\\\\n left = 1 << curr;\\\\n while (curr + drop < max) {\\\\n left -= count[curr + drop];\\\\n if (left <= 0) { break; }\\\\n curr++;\\\\n left <<= 1;\\\\n }\\\\n\\\\n /* check for enough space */\\\\n used += 1 << curr;\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* point entry in root table to sub-table */\\\\n low = huff & mask;\\\\n /*table.op[low] = curr;\\\\n table.bits[low] = root;\\\\n table.val[low] = next - opts.table_index;*/\\\\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\\\\n }\\\\n }\\\\n\\\\n /* fill in remaining table entry if code is incomplete (guaranteed to have\\\\n at most one remaining entry, since if the code is incomplete, the\\\\n maximum code length that was allowed to get this far is one bit) */\\\\n if (huff !== 0) {\\\\n //table.op[next + huff] = 64; /* invalid code marker */\\\\n //table.bits[next + huff] = len - drop;\\\\n //table.val[next + huff] = 0;\\\\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\\\\n }\\\\n\\\\n /* set return parameters */\\\\n //opts.table_index += used;\\\\n opts.bits = root;\\\\n return 0;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inftrees.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/messages.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/messages.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\\\\n 1: 'stream end', /* Z_STREAM_END 1 */\\\\n 0: '', /* Z_OK 0 */\\\\n '-1': 'file error', /* Z_ERRNO (-1) */\\\\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\\\\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\\\\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\\\\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\\\\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/messages.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/zstream.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/zstream.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction ZStream() {\\\\n /* next input byte */\\\\n this.input = null; // JS specific, because we have no pointers\\\\n this.next_in = 0;\\\\n /* number of bytes available at input */\\\\n this.avail_in = 0;\\\\n /* total number of input bytes read so far */\\\\n this.total_in = 0;\\\\n /* next output byte should be put there */\\\\n this.output = null; // JS specific, because we have no pointers\\\\n this.next_out = 0;\\\\n /* remaining free space at output */\\\\n this.avail_out = 0;\\\\n /* total number of bytes output so far */\\\\n this.total_out = 0;\\\\n /* last error message, NULL if no error */\\\\n this.msg = ''/*Z_NULL*/;\\\\n /* not visible by applications */\\\\n this.state = null;\\\\n /* best guess about the data type: binary or text */\\\\n this.data_type = 2/*Z_UNKNOWN*/;\\\\n /* adler32 value of the uncompressed data */\\\\n this.adler = 0;\\\\n}\\\\n\\\\nmodule.exports = ZStream;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/zstream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/process-nextick-args/index.js\\\":\\n/*!****************************************************!*\\\\\\n !*** ./node_modules/process-nextick-args/index.js ***!\\n \\\\****************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(process) {\\\\n\\\\nif (typeof process === 'undefined' ||\\\\n !process.version ||\\\\n process.version.indexOf('v0.') === 0 ||\\\\n process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\\\\n module.exports = { nextTick: nextTick };\\\\n} else {\\\\n module.exports = process\\\\n}\\\\n\\\\nfunction nextTick(fn, arg1, arg2, arg3) {\\\\n if (typeof fn !== 'function') {\\\\n throw new TypeError('\\\\\\\"callback\\\\\\\" argument must be a function');\\\\n }\\\\n var len = arguments.length;\\\\n var args, i;\\\\n switch (len) {\\\\n case 0:\\\\n case 1:\\\\n return process.nextTick(fn);\\\\n case 2:\\\\n return process.nextTick(function afterTickOne() {\\\\n fn.call(null, arg1);\\\\n });\\\\n case 3:\\\\n return process.nextTick(function afterTickTwo() {\\\\n fn.call(null, arg1, arg2);\\\\n });\\\\n case 4:\\\\n return process.nextTick(function afterTickThree() {\\\\n fn.call(null, arg1, arg2, arg3);\\\\n });\\\\n default:\\\\n args = new Array(len - 1);\\\\n i = 0;\\\\n while (i < args.length) {\\\\n args[i++] = arguments[i];\\\\n }\\\\n return process.nextTick(function afterTick() {\\\\n fn.apply(null, args);\\\\n });\\\\n }\\\\n}\\\\n\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/process-nextick-args/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/process/browser.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/process/browser.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"// shim for using process in browser\\\\nvar process = module.exports = {};\\\\n\\\\n// cached from whatever global is present so that test runners that stub it\\\\n// don't break things. But we need to wrap it in a try catch in case it is\\\\n// wrapped in strict mode code which doesn't define any globals. It's inside a\\\\n// function because try/catches deoptimize in certain engines.\\\\n\\\\nvar cachedSetTimeout;\\\\nvar cachedClearTimeout;\\\\n\\\\nfunction defaultSetTimout() {\\\\n throw new Error('setTimeout has not been defined');\\\\n}\\\\nfunction defaultClearTimeout () {\\\\n throw new Error('clearTimeout has not been defined');\\\\n}\\\\n(function () {\\\\n try {\\\\n if (typeof setTimeout === 'function') {\\\\n cachedSetTimeout = setTimeout;\\\\n } else {\\\\n cachedSetTimeout = defaultSetTimout;\\\\n }\\\\n } catch (e) {\\\\n cachedSetTimeout = defaultSetTimout;\\\\n }\\\\n try {\\\\n if (typeof clearTimeout === 'function') {\\\\n cachedClearTimeout = clearTimeout;\\\\n } else {\\\\n cachedClearTimeout = defaultClearTimeout;\\\\n }\\\\n } catch (e) {\\\\n cachedClearTimeout = defaultClearTimeout;\\\\n }\\\\n} ())\\\\nfunction runTimeout(fun) {\\\\n if (cachedSetTimeout === setTimeout) {\\\\n //normal enviroments in sane situations\\\\n return setTimeout(fun, 0);\\\\n }\\\\n // if setTimeout wasn't available but was latter defined\\\\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\\\\n cachedSetTimeout = setTimeout;\\\\n return setTimeout(fun, 0);\\\\n }\\\\n try {\\\\n // when when somebody has screwed with setTimeout but no I.E. maddness\\\\n return cachedSetTimeout(fun, 0);\\\\n } catch(e){\\\\n try {\\\\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\\\\n return cachedSetTimeout.call(null, fun, 0);\\\\n } catch(e){\\\\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\\\\n return cachedSetTimeout.call(this, fun, 0);\\\\n }\\\\n }\\\\n\\\\n\\\\n}\\\\nfunction runClearTimeout(marker) {\\\\n if (cachedClearTimeout === clearTimeout) {\\\\n //normal enviroments in sane situations\\\\n return clearTimeout(marker);\\\\n }\\\\n // if clearTimeout wasn't available but was latter defined\\\\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\\\\n cachedClearTimeout = clearTimeout;\\\\n return clearTimeout(marker);\\\\n }\\\\n try {\\\\n // when when somebody has screwed with setTimeout but no I.E. maddness\\\\n return cachedClearTimeout(marker);\\\\n } catch (e){\\\\n try {\\\\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\\\\n return cachedClearTimeout.call(null, marker);\\\\n } catch (e){\\\\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\\\\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\\\\n return cachedClearTimeout.call(this, marker);\\\\n }\\\\n }\\\\n\\\\n\\\\n\\\\n}\\\\nvar queue = [];\\\\nvar draining = false;\\\\nvar currentQueue;\\\\nvar queueIndex = -1;\\\\n\\\\nfunction cleanUpNextTick() {\\\\n if (!draining || !currentQueue) {\\\\n return;\\\\n }\\\\n draining = false;\\\\n if (currentQueue.length) {\\\\n queue = currentQueue.concat(queue);\\\\n } else {\\\\n queueIndex = -1;\\\\n }\\\\n if (queue.length) {\\\\n drainQueue();\\\\n }\\\\n}\\\\n\\\\nfunction drainQueue() {\\\\n if (draining) {\\\\n return;\\\\n }\\\\n var timeout = runTimeout(cleanUpNextTick);\\\\n draining = true;\\\\n\\\\n var len = queue.length;\\\\n while(len) {\\\\n currentQueue = queue;\\\\n queue = [];\\\\n while (++queueIndex < len) {\\\\n if (currentQueue) {\\\\n currentQueue[queueIndex].run();\\\\n }\\\\n }\\\\n queueIndex = -1;\\\\n len = queue.length;\\\\n }\\\\n currentQueue = null;\\\\n draining = false;\\\\n runClearTimeout(timeout);\\\\n}\\\\n\\\\nprocess.nextTick = function (fun) {\\\\n var args = new Array(arguments.length - 1);\\\\n if (arguments.length > 1) {\\\\n for (var i = 1; i < arguments.length; i++) {\\\\n args[i - 1] = arguments[i];\\\\n }\\\\n }\\\\n queue.push(new Item(fun, args));\\\\n if (queue.length === 1 && !draining) {\\\\n runTimeout(drainQueue);\\\\n }\\\\n};\\\\n\\\\n// v8 likes predictible objects\\\\nfunction Item(fun, array) {\\\\n this.fun = fun;\\\\n this.array = array;\\\\n}\\\\nItem.prototype.run = function () {\\\\n this.fun.apply(null, this.array);\\\\n};\\\\nprocess.title = 'browser';\\\\nprocess.browser = true;\\\\nprocess.env = {};\\\\nprocess.argv = [];\\\\nprocess.version = ''; // empty string to avoid regexp issues\\\\nprocess.versions = {};\\\\n\\\\nfunction noop() {}\\\\n\\\\nprocess.on = noop;\\\\nprocess.addListener = noop;\\\\nprocess.once = noop;\\\\nprocess.off = noop;\\\\nprocess.removeListener = noop;\\\\nprocess.removeAllListeners = noop;\\\\nprocess.emit = noop;\\\\nprocess.prependListener = noop;\\\\nprocess.prependOnceListener = noop;\\\\n\\\\nprocess.listeners = function (name) { return [] }\\\\n\\\\nprocess.binding = function (name) {\\\\n throw new Error('process.binding is not supported');\\\\n};\\\\n\\\\nprocess.cwd = function () { return '/' };\\\\nprocess.chdir = function (dir) {\\\\n throw new Error('process.chdir is not supported');\\\\n};\\\\nprocess.umask = function() { return 0; };\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/process/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/punycode/punycode.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/punycode/punycode.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\\\\n;(function(root) {\\\\n\\\\n\\\\t/** Detect free variables */\\\\n\\\\tvar freeExports = true && exports &&\\\\n\\\\t\\\\t!exports.nodeType && exports;\\\\n\\\\tvar freeModule = true && module &&\\\\n\\\\t\\\\t!module.nodeType && module;\\\\n\\\\tvar freeGlobal = typeof global == 'object' && global;\\\\n\\\\tif (\\\\n\\\\t\\\\tfreeGlobal.global === freeGlobal ||\\\\n\\\\t\\\\tfreeGlobal.window === freeGlobal ||\\\\n\\\\t\\\\tfreeGlobal.self === freeGlobal\\\\n\\\\t) {\\\\n\\\\t\\\\troot = freeGlobal;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * The `punycode` object.\\\\n\\\\t * @name punycode\\\\n\\\\t * @type Object\\\\n\\\\t */\\\\n\\\\tvar punycode,\\\\n\\\\n\\\\t/** Highest positive signed 32-bit float value */\\\\n\\\\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\\\\n\\\\n\\\\t/** Bootstring parameters */\\\\n\\\\tbase = 36,\\\\n\\\\ttMin = 1,\\\\n\\\\ttMax = 26,\\\\n\\\\tskew = 38,\\\\n\\\\tdamp = 700,\\\\n\\\\tinitialBias = 72,\\\\n\\\\tinitialN = 128, // 0x80\\\\n\\\\tdelimiter = '-', // '\\\\\\\\x2D'\\\\n\\\\n\\\\t/** Regular expressions */\\\\n\\\\tregexPunycode = /^xn--/,\\\\n\\\\tregexNonASCII = /[^\\\\\\\\x20-\\\\\\\\x7E]/, // unprintable ASCII chars + non-ASCII chars\\\\n\\\\tregexSeparators = /[\\\\\\\\x2E\\\\\\\\u3002\\\\\\\\uFF0E\\\\\\\\uFF61]/g, // RFC 3490 separators\\\\n\\\\n\\\\t/** Error messages */\\\\n\\\\terrors = {\\\\n\\\\t\\\\t'overflow': 'Overflow: input needs wider integers to process',\\\\n\\\\t\\\\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\\\\n\\\\t\\\\t'invalid-input': 'Invalid input'\\\\n\\\\t},\\\\n\\\\n\\\\t/** Convenience shortcuts */\\\\n\\\\tbaseMinusTMin = base - tMin,\\\\n\\\\tfloor = Math.floor,\\\\n\\\\tstringFromCharCode = String.fromCharCode,\\\\n\\\\n\\\\t/** Temporary variable */\\\\n\\\\tkey;\\\\n\\\\n\\\\t/*--------------------------------------------------------------------------*/\\\\n\\\\n\\\\t/**\\\\n\\\\t * A generic error utility function.\\\\n\\\\t * @private\\\\n\\\\t * @param {String} type The error type.\\\\n\\\\t * @returns {Error} Throws a `RangeError` with the applicable error message.\\\\n\\\\t */\\\\n\\\\tfunction error(type) {\\\\n\\\\t\\\\tthrow new RangeError(errors[type]);\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * A generic `Array#map` utility function.\\\\n\\\\t * @private\\\\n\\\\t * @param {Array} array The array to iterate over.\\\\n\\\\t * @param {Function} callback The function that gets called for every array\\\\n\\\\t * item.\\\\n\\\\t * @returns {Array} A new array of values returned by the callback function.\\\\n\\\\t */\\\\n\\\\tfunction map(array, fn) {\\\\n\\\\t\\\\tvar length = array.length;\\\\n\\\\t\\\\tvar result = [];\\\\n\\\\t\\\\twhile (length--) {\\\\n\\\\t\\\\t\\\\tresult[length] = fn(array[length]);\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn result;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * A simple `Array#map`-like wrapper to work with domain name strings or email\\\\n\\\\t * addresses.\\\\n\\\\t * @private\\\\n\\\\t * @param {String} domain The domain name or email address.\\\\n\\\\t * @param {Function} callback The function that gets called for every\\\\n\\\\t * character.\\\\n\\\\t * @returns {Array} A new string of characters returned by the callback\\\\n\\\\t * function.\\\\n\\\\t */\\\\n\\\\tfunction mapDomain(string, fn) {\\\\n\\\\t\\\\tvar parts = string.split('@');\\\\n\\\\t\\\\tvar result = '';\\\\n\\\\t\\\\tif (parts.length > 1) {\\\\n\\\\t\\\\t\\\\t// In email addresses, only the domain name should be punycoded. Leave\\\\n\\\\t\\\\t\\\\t// the local part (i.e. everything up to `@`) intact.\\\\n\\\\t\\\\t\\\\tresult = parts[0] + '@';\\\\n\\\\t\\\\t\\\\tstring = parts[1];\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t// Avoid `split(regex)` for IE8 compatibility. See #17.\\\\n\\\\t\\\\tstring = string.replace(regexSeparators, '\\\\\\\\x2E');\\\\n\\\\t\\\\tvar labels = string.split('.');\\\\n\\\\t\\\\tvar encoded = map(labels, fn).join('.');\\\\n\\\\t\\\\treturn result + encoded;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Creates an array containing the numeric code points of each Unicode\\\\n\\\\t * character in the string. While JavaScript uses UCS-2 internally,\\\\n\\\\t * this function will convert a pair of surrogate halves (each of which\\\\n\\\\t * UCS-2 exposes as separate characters) into a single code point,\\\\n\\\\t * matching UTF-16.\\\\n\\\\t * @see `punycode.ucs2.encode`\\\\n\\\\t * @see \\\\n\\\\t * @memberOf punycode.ucs2\\\\n\\\\t * @name decode\\\\n\\\\t * @param {String} string The Unicode input string (UCS-2).\\\\n\\\\t * @returns {Array} The new array of code points.\\\\n\\\\t */\\\\n\\\\tfunction ucs2decode(string) {\\\\n\\\\t\\\\tvar output = [],\\\\n\\\\t\\\\t counter = 0,\\\\n\\\\t\\\\t length = string.length,\\\\n\\\\t\\\\t value,\\\\n\\\\t\\\\t extra;\\\\n\\\\t\\\\twhile (counter < length) {\\\\n\\\\t\\\\t\\\\tvalue = string.charCodeAt(counter++);\\\\n\\\\t\\\\t\\\\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\\\\n\\\\t\\\\t\\\\t\\\\t// high surrogate, and there is a next character\\\\n\\\\t\\\\t\\\\t\\\\textra = string.charCodeAt(counter++);\\\\n\\\\t\\\\t\\\\t\\\\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\\\\n\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// unmatched surrogate; only append this code unit, in case the next\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// code unit is the high surrogate of a surrogate pair\\\\n\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(value);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tcounter--;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\toutput.push(value);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn output;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Creates a string based on an array of numeric code points.\\\\n\\\\t * @see `punycode.ucs2.decode`\\\\n\\\\t * @memberOf punycode.ucs2\\\\n\\\\t * @name encode\\\\n\\\\t * @param {Array} codePoints The array of numeric code points.\\\\n\\\\t * @returns {String} The new Unicode string (UCS-2).\\\\n\\\\t */\\\\n\\\\tfunction ucs2encode(array) {\\\\n\\\\t\\\\treturn map(array, function(value) {\\\\n\\\\t\\\\t\\\\tvar output = '';\\\\n\\\\t\\\\t\\\\tif (value > 0xFFFF) {\\\\n\\\\t\\\\t\\\\t\\\\tvalue -= 0x10000;\\\\n\\\\t\\\\t\\\\t\\\\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\\\\n\\\\t\\\\t\\\\t\\\\tvalue = 0xDC00 | value & 0x3FF;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\toutput += stringFromCharCode(value);\\\\n\\\\t\\\\t\\\\treturn output;\\\\n\\\\t\\\\t}).join('');\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a basic code point into a digit/integer.\\\\n\\\\t * @see `digitToBasic()`\\\\n\\\\t * @private\\\\n\\\\t * @param {Number} codePoint The basic numeric code point value.\\\\n\\\\t * @returns {Number} The numeric value of a basic code point (for use in\\\\n\\\\t * representing integers) in the range `0` to `base - 1`, or `base` if\\\\n\\\\t * the code point does not represent a value.\\\\n\\\\t */\\\\n\\\\tfunction basicToDigit(codePoint) {\\\\n\\\\t\\\\tif (codePoint - 48 < 10) {\\\\n\\\\t\\\\t\\\\treturn codePoint - 22;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (codePoint - 65 < 26) {\\\\n\\\\t\\\\t\\\\treturn codePoint - 65;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (codePoint - 97 < 26) {\\\\n\\\\t\\\\t\\\\treturn codePoint - 97;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn base;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a digit/integer into a basic code point.\\\\n\\\\t * @see `basicToDigit()`\\\\n\\\\t * @private\\\\n\\\\t * @param {Number} digit The numeric value of a basic code point.\\\\n\\\\t * @returns {Number} The basic code point whose value (when used for\\\\n\\\\t * representing integers) is `digit`, which needs to be in the range\\\\n\\\\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\\\\n\\\\t * used; else, the lowercase form is used. The behavior is undefined\\\\n\\\\t * if `flag` is non-zero and `digit` has no uppercase form.\\\\n\\\\t */\\\\n\\\\tfunction digitToBasic(digit, flag) {\\\\n\\\\t\\\\t// 0..25 map to ASCII a..z or A..Z\\\\n\\\\t\\\\t// 26..35 map to ASCII 0..9\\\\n\\\\t\\\\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Bias adaptation function as per section 3.4 of RFC 3492.\\\\n\\\\t * https://tools.ietf.org/html/rfc3492#section-3.4\\\\n\\\\t * @private\\\\n\\\\t */\\\\n\\\\tfunction adapt(delta, numPoints, firstTime) {\\\\n\\\\t\\\\tvar k = 0;\\\\n\\\\t\\\\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\\\\n\\\\t\\\\tdelta += floor(delta / numPoints);\\\\n\\\\t\\\\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\\\\n\\\\t\\\\t\\\\tdelta = floor(delta / baseMinusTMin);\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\\\\n\\\\t * symbols.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The Punycode string of ASCII-only symbols.\\\\n\\\\t * @returns {String} The resulting string of Unicode symbols.\\\\n\\\\t */\\\\n\\\\tfunction decode(input) {\\\\n\\\\t\\\\t// Don't use UCS-2\\\\n\\\\t\\\\tvar output = [],\\\\n\\\\t\\\\t inputLength = input.length,\\\\n\\\\t\\\\t out,\\\\n\\\\t\\\\t i = 0,\\\\n\\\\t\\\\t n = initialN,\\\\n\\\\t\\\\t bias = initialBias,\\\\n\\\\t\\\\t basic,\\\\n\\\\t\\\\t j,\\\\n\\\\t\\\\t index,\\\\n\\\\t\\\\t oldi,\\\\n\\\\t\\\\t w,\\\\n\\\\t\\\\t k,\\\\n\\\\t\\\\t digit,\\\\n\\\\t\\\\t t,\\\\n\\\\t\\\\t /** Cached calculation results */\\\\n\\\\t\\\\t baseMinusT;\\\\n\\\\n\\\\t\\\\t// Handle the basic code points: let `basic` be the number of input code\\\\n\\\\t\\\\t// points before the last delimiter, or `0` if there is none, then copy\\\\n\\\\t\\\\t// the first basic code points to the output.\\\\n\\\\n\\\\t\\\\tbasic = input.lastIndexOf(delimiter);\\\\n\\\\t\\\\tif (basic < 0) {\\\\n\\\\t\\\\t\\\\tbasic = 0;\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tfor (j = 0; j < basic; ++j) {\\\\n\\\\t\\\\t\\\\t// if it's not a basic code point\\\\n\\\\t\\\\t\\\\tif (input.charCodeAt(j) >= 0x80) {\\\\n\\\\t\\\\t\\\\t\\\\terror('not-basic');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\toutput.push(input.charCodeAt(j));\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t// Main decoding loop: start just after the last delimiter if any basic code\\\\n\\\\t\\\\t// points were copied; start at the beginning otherwise.\\\\n\\\\n\\\\t\\\\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\\\\n\\\\n\\\\t\\\\t\\\\t// `index` is the index of the next character to be consumed.\\\\n\\\\t\\\\t\\\\t// Decode a generalized variable-length integer into `delta`,\\\\n\\\\t\\\\t\\\\t// which gets added to `i`. The overflow checking is easier\\\\n\\\\t\\\\t\\\\t// if we increase `i` as we go, then subtract off its starting\\\\n\\\\t\\\\t\\\\t// value at the end to obtain `delta`.\\\\n\\\\t\\\\t\\\\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (index >= inputLength) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('invalid-input');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdigit = basicToDigit(input.charCodeAt(index++));\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (digit >= base || digit > floor((maxInt - i) / w)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\ti += digit * w;\\\\n\\\\t\\\\t\\\\t\\\\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (digit < t) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tbaseMinusT = base - t;\\\\n\\\\t\\\\t\\\\t\\\\tif (w > floor(maxInt / baseMinusT)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tw *= baseMinusT;\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tout = output.length + 1;\\\\n\\\\t\\\\t\\\\tbias = adapt(i - oldi, out, oldi == 0);\\\\n\\\\n\\\\t\\\\t\\\\t// `i` was supposed to wrap around from `out` to `0`,\\\\n\\\\t\\\\t\\\\t// incrementing `n` each time, so we'll fix that now:\\\\n\\\\t\\\\t\\\\tif (floor(i / out) > maxInt - n) {\\\\n\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tn += floor(i / out);\\\\n\\\\t\\\\t\\\\ti %= out;\\\\n\\\\n\\\\t\\\\t\\\\t// Insert `n` at position `i` of the output\\\\n\\\\t\\\\t\\\\toutput.splice(i++, 0, n);\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn ucs2encode(output);\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\\\\n\\\\t * Punycode string of ASCII-only symbols.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The string of Unicode symbols.\\\\n\\\\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\\\\n\\\\t */\\\\n\\\\tfunction encode(input) {\\\\n\\\\t\\\\tvar n,\\\\n\\\\t\\\\t delta,\\\\n\\\\t\\\\t handledCPCount,\\\\n\\\\t\\\\t basicLength,\\\\n\\\\t\\\\t bias,\\\\n\\\\t\\\\t j,\\\\n\\\\t\\\\t m,\\\\n\\\\t\\\\t q,\\\\n\\\\t\\\\t k,\\\\n\\\\t\\\\t t,\\\\n\\\\t\\\\t currentValue,\\\\n\\\\t\\\\t output = [],\\\\n\\\\t\\\\t /** `inputLength` will hold the number of code points in `input`. */\\\\n\\\\t\\\\t inputLength,\\\\n\\\\t\\\\t /** Cached calculation results */\\\\n\\\\t\\\\t handledCPCountPlusOne,\\\\n\\\\t\\\\t baseMinusT,\\\\n\\\\t\\\\t qMinusT;\\\\n\\\\n\\\\t\\\\t// Convert the input in UCS-2 to Unicode\\\\n\\\\t\\\\tinput = ucs2decode(input);\\\\n\\\\n\\\\t\\\\t// Cache the length\\\\n\\\\t\\\\tinputLength = input.length;\\\\n\\\\n\\\\t\\\\t// Initialize the state\\\\n\\\\t\\\\tn = initialN;\\\\n\\\\t\\\\tdelta = 0;\\\\n\\\\t\\\\tbias = initialBias;\\\\n\\\\n\\\\t\\\\t// Handle the basic code points\\\\n\\\\t\\\\tfor (j = 0; j < inputLength; ++j) {\\\\n\\\\t\\\\t\\\\tcurrentValue = input[j];\\\\n\\\\t\\\\t\\\\tif (currentValue < 0x80) {\\\\n\\\\t\\\\t\\\\t\\\\toutput.push(stringFromCharCode(currentValue));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\thandledCPCount = basicLength = output.length;\\\\n\\\\n\\\\t\\\\t// `handledCPCount` is the number of code points that have been handled;\\\\n\\\\t\\\\t// `basicLength` is the number of basic code points.\\\\n\\\\n\\\\t\\\\t// Finish the basic string - if it is not empty - with a delimiter\\\\n\\\\t\\\\tif (basicLength) {\\\\n\\\\t\\\\t\\\\toutput.push(delimiter);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t// Main encoding loop:\\\\n\\\\t\\\\twhile (handledCPCount < inputLength) {\\\\n\\\\n\\\\t\\\\t\\\\t// All non-basic code points < n have been handled already. Find the next\\\\n\\\\t\\\\t\\\\t// larger one:\\\\n\\\\t\\\\t\\\\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\\\\n\\\\t\\\\t\\\\t\\\\tcurrentValue = input[j];\\\\n\\\\t\\\\t\\\\t\\\\tif (currentValue >= n && currentValue < m) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tm = currentValue;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t// Increase `delta` enough to advance the decoder's state to ,\\\\n\\\\t\\\\t\\\\t// but guard against overflow\\\\n\\\\t\\\\t\\\\thandledCPCountPlusOne = handledCPCount + 1;\\\\n\\\\t\\\\t\\\\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\\\\n\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tdelta += (m - n) * handledCPCountPlusOne;\\\\n\\\\t\\\\t\\\\tn = m;\\\\n\\\\n\\\\t\\\\t\\\\tfor (j = 0; j < inputLength; ++j) {\\\\n\\\\t\\\\t\\\\t\\\\tcurrentValue = input[j];\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (currentValue < n && ++delta > maxInt) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (currentValue == n) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Represent delta as a generalized variable-length integer\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tfor (q = delta, k = base; /* no condition */; k += base) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (q < t) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tqMinusT = q - t;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tbaseMinusT = base - t;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tq = floor(qMinusT / baseMinusT);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdelta = 0;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t++handledCPCount;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t++delta;\\\\n\\\\t\\\\t\\\\t++n;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn output.join('');\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a Punycode string representing a domain name or an email address\\\\n\\\\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\\\\n\\\\t * it doesn't matter if you call it on a string that has already been\\\\n\\\\t * converted to Unicode.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The Punycoded domain name or email address to\\\\n\\\\t * convert to Unicode.\\\\n\\\\t * @returns {String} The Unicode representation of the given Punycode\\\\n\\\\t * string.\\\\n\\\\t */\\\\n\\\\tfunction toUnicode(input) {\\\\n\\\\t\\\\treturn mapDomain(input, function(string) {\\\\n\\\\t\\\\t\\\\treturn regexPunycode.test(string)\\\\n\\\\t\\\\t\\\\t\\\\t? decode(string.slice(4).toLowerCase())\\\\n\\\\t\\\\t\\\\t\\\\t: string;\\\\n\\\\t\\\\t});\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a Unicode string representing a domain name or an email address to\\\\n\\\\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\\\\n\\\\t * i.e. it doesn't matter if you call it with a domain that's already in\\\\n\\\\t * ASCII.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The domain name or email address to convert, as a\\\\n\\\\t * Unicode string.\\\\n\\\\t * @returns {String} The Punycode representation of the given domain name or\\\\n\\\\t * email address.\\\\n\\\\t */\\\\n\\\\tfunction toASCII(input) {\\\\n\\\\t\\\\treturn mapDomain(input, function(string) {\\\\n\\\\t\\\\t\\\\treturn regexNonASCII.test(string)\\\\n\\\\t\\\\t\\\\t\\\\t? 'xn--' + encode(string)\\\\n\\\\t\\\\t\\\\t\\\\t: string;\\\\n\\\\t\\\\t});\\\\n\\\\t}\\\\n\\\\n\\\\t/*--------------------------------------------------------------------------*/\\\\n\\\\n\\\\t/** Define the public API */\\\\n\\\\tpunycode = {\\\\n\\\\t\\\\t/**\\\\n\\\\t\\\\t * A string representing the current Punycode.js version number.\\\\n\\\\t\\\\t * @memberOf punycode\\\\n\\\\t\\\\t * @type String\\\\n\\\\t\\\\t */\\\\n\\\\t\\\\t'version': '1.4.1',\\\\n\\\\t\\\\t/**\\\\n\\\\t\\\\t * An object of methods to convert from JavaScript's internal character\\\\n\\\\t\\\\t * representation (UCS-2) to Unicode code points, and back.\\\\n\\\\t\\\\t * @see \\\\n\\\\t\\\\t * @memberOf punycode\\\\n\\\\t\\\\t * @type Object\\\\n\\\\t\\\\t */\\\\n\\\\t\\\\t'ucs2': {\\\\n\\\\t\\\\t\\\\t'decode': ucs2decode,\\\\n\\\\t\\\\t\\\\t'encode': ucs2encode\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t'decode': decode,\\\\n\\\\t\\\\t'encode': encode,\\\\n\\\\t\\\\t'toASCII': toASCII,\\\\n\\\\t\\\\t'toUnicode': toUnicode\\\\n\\\\t};\\\\n\\\\n\\\\t/** Expose `punycode` */\\\\n\\\\t// Some AMD build optimizers, like r.js, check for specific condition patterns\\\\n\\\\t// like the following:\\\\n\\\\tif (\\\\n\\\\t\\\\ttrue\\\\n\\\\t) {\\\\n\\\\t\\\\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\\\\n\\\\t\\\\t\\\\treturn punycode;\\\\n\\\\t\\\\t}).call(exports, __webpack_require__, exports, module),\\\\n\\\\t\\\\t\\\\t\\\\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\\\\n\\\\t} else {}\\\\n\\\\n}(this));\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \\\\\\\"./node_modules/webpack/buildin/module.js\\\\\\\")(module), __webpack_require__(/*! ./../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/punycode/punycode.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/querystring-es3/decode.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/querystring-es3/decode.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\n// If obj.hasOwnProperty has been overridden, then calling\\\\n// obj.hasOwnProperty(prop) will break.\\\\n// See: https://github.com/joyent/node/issues/1707\\\\nfunction hasOwnProperty(obj, prop) {\\\\n return Object.prototype.hasOwnProperty.call(obj, prop);\\\\n}\\\\n\\\\nmodule.exports = function(qs, sep, eq, options) {\\\\n sep = sep || '&';\\\\n eq = eq || '=';\\\\n var obj = {};\\\\n\\\\n if (typeof qs !== 'string' || qs.length === 0) {\\\\n return obj;\\\\n }\\\\n\\\\n var regexp = /\\\\\\\\+/g;\\\\n qs = qs.split(sep);\\\\n\\\\n var maxKeys = 1000;\\\\n if (options && typeof options.maxKeys === 'number') {\\\\n maxKeys = options.maxKeys;\\\\n }\\\\n\\\\n var len = qs.length;\\\\n // maxKeys <= 0 means that we should not limit keys count\\\\n if (maxKeys > 0 && len > maxKeys) {\\\\n len = maxKeys;\\\\n }\\\\n\\\\n for (var i = 0; i < len; ++i) {\\\\n var x = qs[i].replace(regexp, '%20'),\\\\n idx = x.indexOf(eq),\\\\n kstr, vstr, k, v;\\\\n\\\\n if (idx >= 0) {\\\\n kstr = x.substr(0, idx);\\\\n vstr = x.substr(idx + 1);\\\\n } else {\\\\n kstr = x;\\\\n vstr = '';\\\\n }\\\\n\\\\n k = decodeURIComponent(kstr);\\\\n v = decodeURIComponent(vstr);\\\\n\\\\n if (!hasOwnProperty(obj, k)) {\\\\n obj[k] = v;\\\\n } else if (isArray(obj[k])) {\\\\n obj[k].push(v);\\\\n } else {\\\\n obj[k] = [obj[k], v];\\\\n }\\\\n }\\\\n\\\\n return obj;\\\\n};\\\\n\\\\nvar isArray = Array.isArray || function (xs) {\\\\n return Object.prototype.toString.call(xs) === '[object Array]';\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/querystring-es3/decode.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/querystring-es3/encode.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/querystring-es3/encode.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\nvar stringifyPrimitive = function(v) {\\\\n switch (typeof v) {\\\\n case 'string':\\\\n return v;\\\\n\\\\n case 'boolean':\\\\n return v ? 'true' : 'false';\\\\n\\\\n case 'number':\\\\n return isFinite(v) ? v : '';\\\\n\\\\n default:\\\\n return '';\\\\n }\\\\n};\\\\n\\\\nmodule.exports = function(obj, sep, eq, name) {\\\\n sep = sep || '&';\\\\n eq = eq || '=';\\\\n if (obj === null) {\\\\n obj = undefined;\\\\n }\\\\n\\\\n if (typeof obj === 'object') {\\\\n return map(objectKeys(obj), function(k) {\\\\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\\\\n if (isArray(obj[k])) {\\\\n return map(obj[k], function(v) {\\\\n return ks + encodeURIComponent(stringifyPrimitive(v));\\\\n }).join(sep);\\\\n } else {\\\\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\\\\n }\\\\n }).join(sep);\\\\n\\\\n }\\\\n\\\\n if (!name) return '';\\\\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\\\\n encodeURIComponent(stringifyPrimitive(obj));\\\\n};\\\\n\\\\nvar isArray = Array.isArray || function (xs) {\\\\n return Object.prototype.toString.call(xs) === '[object Array]';\\\\n};\\\\n\\\\nfunction map (xs, f) {\\\\n if (xs.map) return xs.map(f);\\\\n var res = [];\\\\n for (var i = 0; i < xs.length; i++) {\\\\n res.push(f(xs[i], i));\\\\n }\\\\n return res;\\\\n}\\\\n\\\\nvar objectKeys = Object.keys || function (obj) {\\\\n var res = [];\\\\n for (var key in obj) {\\\\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\\\\n }\\\\n return res;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/querystring-es3/encode.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/querystring-es3/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/querystring-es3/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \\\\\\\"./node_modules/querystring-es3/decode.js\\\\\\\");\\\\nexports.encode = exports.stringify = __webpack_require__(/*! ./encode */ \\\\\\\"./node_modules/querystring-es3/encode.js\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/querystring-es3/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_duplex.js ***!\\n \\\\************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// a duplex stream is just a stream that is both readable and writable.\\\\n// Since JS doesn't have multiple prototypal inheritance, this class\\\\n// prototypally inherits from Readable, and then parasitically from\\\\n// Writable.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar objectKeys = Object.keys || function (obj) {\\\\n var keys = [];\\\\n for (var key in obj) {\\\\n keys.push(key);\\\\n }return keys;\\\\n};\\\\n/**/\\\\n\\\\nmodule.exports = Duplex;\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\");\\\\n/**/\\\\n\\\\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\n\\\\nutil.inherits(Duplex, Readable);\\\\n\\\\n{\\\\n // avoid scope creep, the keys array can then be collected\\\\n var keys = objectKeys(Writable.prototype);\\\\n for (var v = 0; v < keys.length; v++) {\\\\n var method = keys[v];\\\\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\\\\n }\\\\n}\\\\n\\\\nfunction Duplex(options) {\\\\n if (!(this instanceof Duplex)) return new Duplex(options);\\\\n\\\\n Readable.call(this, options);\\\\n Writable.call(this, options);\\\\n\\\\n if (options && options.readable === false) this.readable = false;\\\\n\\\\n if (options && options.writable === false) this.writable = false;\\\\n\\\\n this.allowHalfOpen = true;\\\\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\\\\n\\\\n this.once('end', onend);\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function () {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n});\\\\n\\\\n// the no-half-open enforcer\\\\nfunction onend() {\\\\n // if we allow half-open state, or if the writable side ended,\\\\n // then we're ok.\\\\n if (this.allowHalfOpen || this._writableState.ended) return;\\\\n\\\\n // no more data can be written.\\\\n // But allow more writes to happen in this tick.\\\\n pna.nextTick(onEndNT, this);\\\\n}\\\\n\\\\nfunction onEndNT(self) {\\\\n self.end();\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'destroyed', {\\\\n get: function () {\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n return this._readableState.destroyed && this._writableState.destroyed;\\\\n },\\\\n set: function (value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return;\\\\n }\\\\n\\\\n // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n this._readableState.destroyed = value;\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\n\\\\nDuplex.prototype._destroy = function (err, cb) {\\\\n this.push(null);\\\\n this.end();\\\\n\\\\n pna.nextTick(cb, err);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\":\\n/*!*****************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_passthrough.js ***!\\n \\\\*****************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// a passthrough stream.\\\\n// basically just the most minimal sort of Transform stream.\\\\n// Every written chunk gets output as-is.\\\\n\\\\n\\\\n\\\\nmodule.exports = PassThrough;\\\\n\\\\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\");\\\\n/**/\\\\n\\\\nutil.inherits(PassThrough, Transform);\\\\n\\\\nfunction PassThrough(options) {\\\\n if (!(this instanceof PassThrough)) return new PassThrough(options);\\\\n\\\\n Transform.call(this, options);\\\\n}\\\\n\\\\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\\\\n cb(null, chunk);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_readable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_readable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\nmodule.exports = Readable;\\\\n\\\\n/**/\\\\nvar isArray = __webpack_require__(/*! isarray */ \\\\\\\"./node_modules/isarray/index.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nReadable.ReadableState = ReadableState;\\\\n\\\\n/**/\\\\nvar EE = __webpack_require__(/*! events */ \\\\\\\"./node_modules/node-libs-browser/node_modules/events/events.js\\\\\\\").EventEmitter;\\\\n\\\\nvar EElistenerCount = function (emitter, type) {\\\\n return emitter.listeners(type).length;\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n\\\\n/**/\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar debugUtil = __webpack_require__(/*! util */ 0);\\\\nvar debug = void 0;\\\\nif (debugUtil && debugUtil.debuglog) {\\\\n debug = debugUtil.debuglog('stream');\\\\n} else {\\\\n debug = function () {};\\\\n}\\\\n/**/\\\\n\\\\nvar BufferList = __webpack_require__(/*! ./internal/streams/BufferList */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/BufferList.js\\\\\\\");\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\nvar StringDecoder;\\\\n\\\\nutil.inherits(Readable, Stream);\\\\n\\\\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\\\\n\\\\nfunction prependListener(emitter, event, fn) {\\\\n // Sadly this is not cacheable as some libraries bundle their own\\\\n // event emitter implementation with them.\\\\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\\\\n\\\\n // This is a hack to make sure that our error handler is attached before any\\\\n // userland ones. NEVER DO THIS. This is here only because this code needs\\\\n // to continue to work with older versions of Node.js that do not include\\\\n // the prependListener() method. The goal is to eventually remove this hack.\\\\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\\\\n}\\\\n\\\\nfunction ReadableState(options, stream) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n options = options || {};\\\\n\\\\n // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream.\\\\n // These options can be provided separately as readableXXX and writableXXX.\\\\n var isDuplex = stream instanceof Duplex;\\\\n\\\\n // object stream flag. Used to make read(n) ignore n and to\\\\n // make all the buffer merging and length checks go away\\\\n this.objectMode = !!options.objectMode;\\\\n\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\\\\n\\\\n // the point at which it stops calling _read() to fill the buffer\\\\n // Note: 0 is a valid value, means \\\\\\\"don't call _read preemptively ever\\\\\\\"\\\\n var hwm = options.highWaterMark;\\\\n var readableHwm = options.readableHighWaterMark;\\\\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\\\\n\\\\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;\\\\n\\\\n // cast to ints.\\\\n this.highWaterMark = Math.floor(this.highWaterMark);\\\\n\\\\n // A linked list is used to store data chunks instead of an array because the\\\\n // linked list can remove elements from the beginning faster than\\\\n // array.shift()\\\\n this.buffer = new BufferList();\\\\n this.length = 0;\\\\n this.pipes = null;\\\\n this.pipesCount = 0;\\\\n this.flowing = null;\\\\n this.ended = false;\\\\n this.endEmitted = false;\\\\n this.reading = false;\\\\n\\\\n // a flag to be able to tell if the event 'readable'/'data' is emitted\\\\n // immediately, or on a later tick. We set this to true at first, because\\\\n // any actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first read call.\\\\n this.sync = true;\\\\n\\\\n // whenever we return null, then we set a flag to say\\\\n // that we're awaiting a 'readable' event emission.\\\\n this.needReadable = false;\\\\n this.emittedReadable = false;\\\\n this.readableListening = false;\\\\n this.resumeScheduled = false;\\\\n\\\\n // has it been destroyed\\\\n this.destroyed = false;\\\\n\\\\n // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8';\\\\n\\\\n // the number of writers that are awaiting a drain event in .pipe()s\\\\n this.awaitDrain = 0;\\\\n\\\\n // if true, a maybeReadMore has been scheduled\\\\n this.readingMore = false;\\\\n\\\\n this.decoder = null;\\\\n this.encoding = null;\\\\n if (options.encoding) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n this.decoder = new StringDecoder(options.encoding);\\\\n this.encoding = options.encoding;\\\\n }\\\\n}\\\\n\\\\nfunction Readable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n if (!(this instanceof Readable)) return new Readable(options);\\\\n\\\\n this._readableState = new ReadableState(options, this);\\\\n\\\\n // legacy\\\\n this.readable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.read === 'function') this._read = options.read;\\\\n\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n}\\\\n\\\\nObject.defineProperty(Readable.prototype, 'destroyed', {\\\\n get: function () {\\\\n if (this._readableState === undefined) {\\\\n return false;\\\\n }\\\\n return this._readableState.destroyed;\\\\n },\\\\n set: function (value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._readableState) {\\\\n return;\\\\n }\\\\n\\\\n // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n this._readableState.destroyed = value;\\\\n }\\\\n});\\\\n\\\\nReadable.prototype.destroy = destroyImpl.destroy;\\\\nReadable.prototype._undestroy = destroyImpl.undestroy;\\\\nReadable.prototype._destroy = function (err, cb) {\\\\n this.push(null);\\\\n cb(err);\\\\n};\\\\n\\\\n// Manually shove something into the read() buffer.\\\\n// This returns true if the highWaterMark has not been hit yet,\\\\n// similar to how Writable.write() returns true if you should\\\\n// write() some more.\\\\nReadable.prototype.push = function (chunk, encoding) {\\\\n var state = this._readableState;\\\\n var skipChunkCheck;\\\\n\\\\n if (!state.objectMode) {\\\\n if (typeof chunk === 'string') {\\\\n encoding = encoding || state.defaultEncoding;\\\\n if (encoding !== state.encoding) {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n encoding = '';\\\\n }\\\\n skipChunkCheck = true;\\\\n }\\\\n } else {\\\\n skipChunkCheck = true;\\\\n }\\\\n\\\\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\\\\n};\\\\n\\\\n// Unshift should *always* be something directly out of read()\\\\nReadable.prototype.unshift = function (chunk) {\\\\n return readableAddChunk(this, chunk, null, true, false);\\\\n};\\\\n\\\\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\\\\n var state = stream._readableState;\\\\n if (chunk === null) {\\\\n state.reading = false;\\\\n onEofChunk(stream, state);\\\\n } else {\\\\n var er;\\\\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\\\\n if (er) {\\\\n stream.emit('error', er);\\\\n } else if (state.objectMode || chunk && chunk.length > 0) {\\\\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (addToFront) {\\\\n if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);\\\\n } else if (state.ended) {\\\\n stream.emit('error', new Error('stream.push() after EOF'));\\\\n } else {\\\\n state.reading = false;\\\\n if (state.decoder && !encoding) {\\\\n chunk = state.decoder.write(chunk);\\\\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\\\\n } else {\\\\n addChunk(stream, state, chunk, false);\\\\n }\\\\n }\\\\n } else if (!addToFront) {\\\\n state.reading = false;\\\\n }\\\\n }\\\\n\\\\n return needMoreData(state);\\\\n}\\\\n\\\\nfunction addChunk(stream, state, chunk, addToFront) {\\\\n if (state.flowing && state.length === 0 && !state.sync) {\\\\n stream.emit('data', chunk);\\\\n stream.read(0);\\\\n } else {\\\\n // update the buffer info.\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\\\\n\\\\n if (state.needReadable) emitReadable(stream);\\\\n }\\\\n maybeReadMore(stream, state);\\\\n}\\\\n\\\\nfunction chunkInvalid(state, chunk) {\\\\n var er;\\\\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\\\\n er = new TypeError('Invalid non-string/buffer chunk');\\\\n }\\\\n return er;\\\\n}\\\\n\\\\n// if it's past the high water mark, we can push in some more.\\\\n// Also, if we have no data yet, we can stand some\\\\n// more bytes. This is to work around cases where hwm=0,\\\\n// such as the repl. Also, if the push() triggered a\\\\n// readable event, and the user called read(largeNumber) such that\\\\n// needReadable was set, then we ought to push more, so that another\\\\n// 'readable' event will be triggered.\\\\nfunction needMoreData(state) {\\\\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\\\\n}\\\\n\\\\nReadable.prototype.isPaused = function () {\\\\n return this._readableState.flowing === false;\\\\n};\\\\n\\\\n// backwards compatibility.\\\\nReadable.prototype.setEncoding = function (enc) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n this._readableState.decoder = new StringDecoder(enc);\\\\n this._readableState.encoding = enc;\\\\n return this;\\\\n};\\\\n\\\\n// Don't raise the hwm > 8MB\\\\nvar MAX_HWM = 0x800000;\\\\nfunction computeNewHighWaterMark(n) {\\\\n if (n >= MAX_HWM) {\\\\n n = MAX_HWM;\\\\n } else {\\\\n // Get the next highest power of 2 to prevent increasing hwm excessively in\\\\n // tiny amounts\\\\n n--;\\\\n n |= n >>> 1;\\\\n n |= n >>> 2;\\\\n n |= n >>> 4;\\\\n n |= n >>> 8;\\\\n n |= n >>> 16;\\\\n n++;\\\\n }\\\\n return n;\\\\n}\\\\n\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction howMuchToRead(n, state) {\\\\n if (n <= 0 || state.length === 0 && state.ended) return 0;\\\\n if (state.objectMode) return 1;\\\\n if (n !== n) {\\\\n // Only flow one buffer at a time\\\\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\\\\n }\\\\n // If we're asking for more than the current hwm, then raise the hwm.\\\\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\\\\n if (n <= state.length) return n;\\\\n // Don't have enough\\\\n if (!state.ended) {\\\\n state.needReadable = true;\\\\n return 0;\\\\n }\\\\n return state.length;\\\\n}\\\\n\\\\n// you can override either this method, or the async _read(n) below.\\\\nReadable.prototype.read = function (n) {\\\\n debug('read', n);\\\\n n = parseInt(n, 10);\\\\n var state = this._readableState;\\\\n var nOrig = n;\\\\n\\\\n if (n !== 0) state.emittedReadable = false;\\\\n\\\\n // if we're doing read(0) to trigger a readable event, but we\\\\n // already have a bunch of data in the buffer, then just trigger\\\\n // the 'readable' event and move on.\\\\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\\\\n debug('read: emitReadable', state.length, state.ended);\\\\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\\\\n return null;\\\\n }\\\\n\\\\n n = howMuchToRead(n, state);\\\\n\\\\n // if we've ended, and we're now clear, then finish it up.\\\\n if (n === 0 && state.ended) {\\\\n if (state.length === 0) endReadable(this);\\\\n return null;\\\\n }\\\\n\\\\n // All the actual chunk generation logic needs to be\\\\n // *below* the call to _read. The reason is that in certain\\\\n // synthetic stream cases, such as passthrough streams, _read\\\\n // may be a completely synchronous operation which may change\\\\n // the state of the read buffer, providing enough data when\\\\n // before there was *not* enough.\\\\n //\\\\n // So, the steps are:\\\\n // 1. Figure out what the state of things will be after we do\\\\n // a read from the buffer.\\\\n //\\\\n // 2. If that resulting state will trigger a _read, then call _read.\\\\n // Note that this may be asynchronous, or synchronous. Yes, it is\\\\n // deeply ugly to write APIs this way, but that still doesn't mean\\\\n // that the Readable class should behave improperly, as streams are\\\\n // designed to be sync/async agnostic.\\\\n // Take note if the _read call is sync or async (ie, if the read call\\\\n // has returned yet), so that we know whether or not it's safe to emit\\\\n // 'readable' etc.\\\\n //\\\\n // 3. Actually pull the requested chunks out of the buffer and return.\\\\n\\\\n // if we need a readable event, then we need to do some reading.\\\\n var doRead = state.needReadable;\\\\n debug('need readable', doRead);\\\\n\\\\n // if we currently have less than the highWaterMark, then also read some\\\\n if (state.length === 0 || state.length - n < state.highWaterMark) {\\\\n doRead = true;\\\\n debug('length less than watermark', doRead);\\\\n }\\\\n\\\\n // however, if we've ended, then there's no point, and if we're already\\\\n // reading, then it's unnecessary.\\\\n if (state.ended || state.reading) {\\\\n doRead = false;\\\\n debug('reading or ended', doRead);\\\\n } else if (doRead) {\\\\n debug('do read');\\\\n state.reading = true;\\\\n state.sync = true;\\\\n // if the length is currently zero, then we *need* a readable event.\\\\n if (state.length === 0) state.needReadable = true;\\\\n // call internal read method\\\\n this._read(state.highWaterMark);\\\\n state.sync = false;\\\\n // If _read pushed data synchronously, then `reading` will be false,\\\\n // and we need to re-evaluate how much data we can return to the user.\\\\n if (!state.reading) n = howMuchToRead(nOrig, state);\\\\n }\\\\n\\\\n var ret;\\\\n if (n > 0) ret = fromList(n, state);else ret = null;\\\\n\\\\n if (ret === null) {\\\\n state.needReadable = true;\\\\n n = 0;\\\\n } else {\\\\n state.length -= n;\\\\n }\\\\n\\\\n if (state.length === 0) {\\\\n // If we have nothing in the buffer, then we want to know\\\\n // as soon as we *do* get something into the buffer.\\\\n if (!state.ended) state.needReadable = true;\\\\n\\\\n // If we tried to read() past the EOF, then emit end on the next tick.\\\\n if (nOrig !== n && state.ended) endReadable(this);\\\\n }\\\\n\\\\n if (ret !== null) this.emit('data', ret);\\\\n\\\\n return ret;\\\\n};\\\\n\\\\nfunction onEofChunk(stream, state) {\\\\n if (state.ended) return;\\\\n if (state.decoder) {\\\\n var chunk = state.decoder.end();\\\\n if (chunk && chunk.length) {\\\\n state.buffer.push(chunk);\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n }\\\\n }\\\\n state.ended = true;\\\\n\\\\n // emit 'readable' now to make sure it gets picked up.\\\\n emitReadable(stream);\\\\n}\\\\n\\\\n// Don't emit readable right away in sync mode, because this can trigger\\\\n// another read() call => stack overflow. This way, it might trigger\\\\n// a nextTick recursion warning, but that's not so bad.\\\\nfunction emitReadable(stream) {\\\\n var state = stream._readableState;\\\\n state.needReadable = false;\\\\n if (!state.emittedReadable) {\\\\n debug('emitReadable', state.flowing);\\\\n state.emittedReadable = true;\\\\n if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);\\\\n }\\\\n}\\\\n\\\\nfunction emitReadable_(stream) {\\\\n debug('emit readable');\\\\n stream.emit('readable');\\\\n flow(stream);\\\\n}\\\\n\\\\n// at this point, the user has presumably seen the 'readable' event,\\\\n// and called read() to consume some data. that may have triggered\\\\n// in turn another _read(n) call, in which case reading = true if\\\\n// it's in progress.\\\\n// However, if we're not ended, or reading, and the length < hwm,\\\\n// then go ahead and try to read some more preemptively.\\\\nfunction maybeReadMore(stream, state) {\\\\n if (!state.readingMore) {\\\\n state.readingMore = true;\\\\n pna.nextTick(maybeReadMore_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction maybeReadMore_(stream, state) {\\\\n var len = state.length;\\\\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\\\\n debug('maybeReadMore read 0');\\\\n stream.read(0);\\\\n if (len === state.length)\\\\n // didn't get any data, stop spinning.\\\\n break;else len = state.length;\\\\n }\\\\n state.readingMore = false;\\\\n}\\\\n\\\\n// abstract method. to be overridden in specific implementation classes.\\\\n// call cb(er, data) where data is <= n in length.\\\\n// for virtual (non-string, non-buffer) streams, \\\\\\\"length\\\\\\\" is somewhat\\\\n// arbitrary, and perhaps not very meaningful.\\\\nReadable.prototype._read = function (n) {\\\\n this.emit('error', new Error('_read() is not implemented'));\\\\n};\\\\n\\\\nReadable.prototype.pipe = function (dest, pipeOpts) {\\\\n var src = this;\\\\n var state = this._readableState;\\\\n\\\\n switch (state.pipesCount) {\\\\n case 0:\\\\n state.pipes = dest;\\\\n break;\\\\n case 1:\\\\n state.pipes = [state.pipes, dest];\\\\n break;\\\\n default:\\\\n state.pipes.push(dest);\\\\n break;\\\\n }\\\\n state.pipesCount += 1;\\\\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\\\\n\\\\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\\\\n\\\\n var endFn = doEnd ? onend : unpipe;\\\\n if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);\\\\n\\\\n dest.on('unpipe', onunpipe);\\\\n function onunpipe(readable, unpipeInfo) {\\\\n debug('onunpipe');\\\\n if (readable === src) {\\\\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\\\\n unpipeInfo.hasUnpiped = true;\\\\n cleanup();\\\\n }\\\\n }\\\\n }\\\\n\\\\n function onend() {\\\\n debug('onend');\\\\n dest.end();\\\\n }\\\\n\\\\n // when the dest drains, it reduces the awaitDrain counter\\\\n // on the source. This would be more elegant with a .once()\\\\n // handler in flow(), but adding and removing repeatedly is\\\\n // too slow.\\\\n var ondrain = pipeOnDrain(src);\\\\n dest.on('drain', ondrain);\\\\n\\\\n var cleanedUp = false;\\\\n function cleanup() {\\\\n debug('cleanup');\\\\n // cleanup event handlers once the pipe is broken\\\\n dest.removeListener('close', onclose);\\\\n dest.removeListener('finish', onfinish);\\\\n dest.removeListener('drain', ondrain);\\\\n dest.removeListener('error', onerror);\\\\n dest.removeListener('unpipe', onunpipe);\\\\n src.removeListener('end', onend);\\\\n src.removeListener('end', unpipe);\\\\n src.removeListener('data', ondata);\\\\n\\\\n cleanedUp = true;\\\\n\\\\n // if the reader is waiting for a drain event from this\\\\n // specific writer, then it would cause it to never start\\\\n // flowing again.\\\\n // So, if this is awaiting a drain, then we just call it now.\\\\n // If we don't know, then assume that we are waiting for one.\\\\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\\\\n }\\\\n\\\\n // If the user pushes more data while we're writing to dest then we'll end up\\\\n // in ondata again. However, we only want to increase awaitDrain once because\\\\n // dest will only emit one 'drain' event for the multiple writes.\\\\n // => Introduce a guard on increasing awaitDrain.\\\\n var increasedAwaitDrain = false;\\\\n src.on('data', ondata);\\\\n function ondata(chunk) {\\\\n debug('ondata');\\\\n increasedAwaitDrain = false;\\\\n var ret = dest.write(chunk);\\\\n if (false === ret && !increasedAwaitDrain) {\\\\n // If the user unpiped during `dest.write()`, it is possible\\\\n // to get stuck in a permanently paused state if that write\\\\n // also returned false.\\\\n // => Check whether `dest` is still a piping destination.\\\\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\\\\n debug('false write response, pause', src._readableState.awaitDrain);\\\\n src._readableState.awaitDrain++;\\\\n increasedAwaitDrain = true;\\\\n }\\\\n src.pause();\\\\n }\\\\n }\\\\n\\\\n // if the dest has an error, then stop piping into it.\\\\n // however, don't suppress the throwing behavior for this.\\\\n function onerror(er) {\\\\n debug('onerror', er);\\\\n unpipe();\\\\n dest.removeListener('error', onerror);\\\\n if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);\\\\n }\\\\n\\\\n // Make sure our error handler is attached before userland ones.\\\\n prependListener(dest, 'error', onerror);\\\\n\\\\n // Both close and finish should trigger unpipe, but only once.\\\\n function onclose() {\\\\n dest.removeListener('finish', onfinish);\\\\n unpipe();\\\\n }\\\\n dest.once('close', onclose);\\\\n function onfinish() {\\\\n debug('onfinish');\\\\n dest.removeListener('close', onclose);\\\\n unpipe();\\\\n }\\\\n dest.once('finish', onfinish);\\\\n\\\\n function unpipe() {\\\\n debug('unpipe');\\\\n src.unpipe(dest);\\\\n }\\\\n\\\\n // tell the dest that it's being piped to\\\\n dest.emit('pipe', src);\\\\n\\\\n // start the flow if it hasn't been started already.\\\\n if (!state.flowing) {\\\\n debug('pipe resume');\\\\n src.resume();\\\\n }\\\\n\\\\n return dest;\\\\n};\\\\n\\\\nfunction pipeOnDrain(src) {\\\\n return function () {\\\\n var state = src._readableState;\\\\n debug('pipeOnDrain', state.awaitDrain);\\\\n if (state.awaitDrain) state.awaitDrain--;\\\\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\\\\n state.flowing = true;\\\\n flow(src);\\\\n }\\\\n };\\\\n}\\\\n\\\\nReadable.prototype.unpipe = function (dest) {\\\\n var state = this._readableState;\\\\n var unpipeInfo = { hasUnpiped: false };\\\\n\\\\n // if we're not piping anywhere, then do nothing.\\\\n if (state.pipesCount === 0) return this;\\\\n\\\\n // just one destination. most common case.\\\\n if (state.pipesCount === 1) {\\\\n // passed in one, but it's not the right one.\\\\n if (dest && dest !== state.pipes) return this;\\\\n\\\\n if (!dest) dest = state.pipes;\\\\n\\\\n // got a match.\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n if (dest) dest.emit('unpipe', this, unpipeInfo);\\\\n return this;\\\\n }\\\\n\\\\n // slow case. multiple pipe destinations.\\\\n\\\\n if (!dest) {\\\\n // remove all.\\\\n var dests = state.pipes;\\\\n var len = state.pipesCount;\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n\\\\n for (var i = 0; i < len; i++) {\\\\n dests[i].emit('unpipe', this, unpipeInfo);\\\\n }return this;\\\\n }\\\\n\\\\n // try to find the right one.\\\\n var index = indexOf(state.pipes, dest);\\\\n if (index === -1) return this;\\\\n\\\\n state.pipes.splice(index, 1);\\\\n state.pipesCount -= 1;\\\\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\\\\n\\\\n dest.emit('unpipe', this, unpipeInfo);\\\\n\\\\n return this;\\\\n};\\\\n\\\\n// set up data events if they are asked for\\\\n// Ensure readable listeners eventually get something\\\\nReadable.prototype.on = function (ev, fn) {\\\\n var res = Stream.prototype.on.call(this, ev, fn);\\\\n\\\\n if (ev === 'data') {\\\\n // Start flowing on next tick if stream isn't explicitly paused\\\\n if (this._readableState.flowing !== false) this.resume();\\\\n } else if (ev === 'readable') {\\\\n var state = this._readableState;\\\\n if (!state.endEmitted && !state.readableListening) {\\\\n state.readableListening = state.needReadable = true;\\\\n state.emittedReadable = false;\\\\n if (!state.reading) {\\\\n pna.nextTick(nReadingNextTick, this);\\\\n } else if (state.length) {\\\\n emitReadable(this);\\\\n }\\\\n }\\\\n }\\\\n\\\\n return res;\\\\n};\\\\nReadable.prototype.addListener = Readable.prototype.on;\\\\n\\\\nfunction nReadingNextTick(self) {\\\\n debug('readable nexttick read 0');\\\\n self.read(0);\\\\n}\\\\n\\\\n// pause() and resume() are remnants of the legacy readable stream API\\\\n// If the user uses them, then switch into old mode.\\\\nReadable.prototype.resume = function () {\\\\n var state = this._readableState;\\\\n if (!state.flowing) {\\\\n debug('resume');\\\\n state.flowing = true;\\\\n resume(this, state);\\\\n }\\\\n return this;\\\\n};\\\\n\\\\nfunction resume(stream, state) {\\\\n if (!state.resumeScheduled) {\\\\n state.resumeScheduled = true;\\\\n pna.nextTick(resume_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction resume_(stream, state) {\\\\n if (!state.reading) {\\\\n debug('resume read 0');\\\\n stream.read(0);\\\\n }\\\\n\\\\n state.resumeScheduled = false;\\\\n state.awaitDrain = 0;\\\\n stream.emit('resume');\\\\n flow(stream);\\\\n if (state.flowing && !state.reading) stream.read(0);\\\\n}\\\\n\\\\nReadable.prototype.pause = function () {\\\\n debug('call pause flowing=%j', this._readableState.flowing);\\\\n if (false !== this._readableState.flowing) {\\\\n debug('pause');\\\\n this._readableState.flowing = false;\\\\n this.emit('pause');\\\\n }\\\\n return this;\\\\n};\\\\n\\\\nfunction flow(stream) {\\\\n var state = stream._readableState;\\\\n debug('flow', state.flowing);\\\\n while (state.flowing && stream.read() !== null) {}\\\\n}\\\\n\\\\n// wrap an old-style stream as the async data source.\\\\n// This is *not* part of the readable stream interface.\\\\n// It is an ugly unfortunate mess of history.\\\\nReadable.prototype.wrap = function (stream) {\\\\n var _this = this;\\\\n\\\\n var state = this._readableState;\\\\n var paused = false;\\\\n\\\\n stream.on('end', function () {\\\\n debug('wrapped end');\\\\n if (state.decoder && !state.ended) {\\\\n var chunk = state.decoder.end();\\\\n if (chunk && chunk.length) _this.push(chunk);\\\\n }\\\\n\\\\n _this.push(null);\\\\n });\\\\n\\\\n stream.on('data', function (chunk) {\\\\n debug('wrapped data');\\\\n if (state.decoder) chunk = state.decoder.write(chunk);\\\\n\\\\n // don't skip over falsy values in objectMode\\\\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\\\\n\\\\n var ret = _this.push(chunk);\\\\n if (!ret) {\\\\n paused = true;\\\\n stream.pause();\\\\n }\\\\n });\\\\n\\\\n // proxy all the other methods.\\\\n // important when wrapping filters and duplexes.\\\\n for (var i in stream) {\\\\n if (this[i] === undefined && typeof stream[i] === 'function') {\\\\n this[i] = function (method) {\\\\n return function () {\\\\n return stream[method].apply(stream, arguments);\\\\n };\\\\n }(i);\\\\n }\\\\n }\\\\n\\\\n // proxy certain important events.\\\\n for (var n = 0; n < kProxyEvents.length; n++) {\\\\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\\\\n }\\\\n\\\\n // when we try to consume some more bytes, simply unpause the\\\\n // underlying stream.\\\\n this._read = function (n) {\\\\n debug('wrapped _read', n);\\\\n if (paused) {\\\\n paused = false;\\\\n stream.resume();\\\\n }\\\\n };\\\\n\\\\n return this;\\\\n};\\\\n\\\\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function () {\\\\n return this._readableState.highWaterMark;\\\\n }\\\\n});\\\\n\\\\n// exposed for testing purposes only.\\\\nReadable._fromList = fromList;\\\\n\\\\n// Pluck off n bytes from an array of buffers.\\\\n// Length is the combined lengths of all the buffers in the list.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction fromList(n, state) {\\\\n // nothing buffered\\\\n if (state.length === 0) return null;\\\\n\\\\n var ret;\\\\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\\\\n // read it all, truncate the list\\\\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\\\\n state.buffer.clear();\\\\n } else {\\\\n // read part of list\\\\n ret = fromListPartial(n, state.buffer, state.decoder);\\\\n }\\\\n\\\\n return ret;\\\\n}\\\\n\\\\n// Extracts only enough buffered data to satisfy the amount requested.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction fromListPartial(n, list, hasStrings) {\\\\n var ret;\\\\n if (n < list.head.data.length) {\\\\n // slice is the same for buffers and strings\\\\n ret = list.head.data.slice(0, n);\\\\n list.head.data = list.head.data.slice(n);\\\\n } else if (n === list.head.data.length) {\\\\n // first chunk is a perfect match\\\\n ret = list.shift();\\\\n } else {\\\\n // result spans more than one buffer\\\\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\n// Copies a specified amount of characters from the list of buffered data\\\\n// chunks.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction copyFromBufferString(n, list) {\\\\n var p = list.head;\\\\n var c = 1;\\\\n var ret = p.data;\\\\n n -= ret.length;\\\\n while (p = p.next) {\\\\n var str = p.data;\\\\n var nb = n > str.length ? str.length : n;\\\\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\\\\n n -= nb;\\\\n if (n === 0) {\\\\n if (nb === str.length) {\\\\n ++c;\\\\n if (p.next) list.head = p.next;else list.head = list.tail = null;\\\\n } else {\\\\n list.head = p;\\\\n p.data = str.slice(nb);\\\\n }\\\\n break;\\\\n }\\\\n ++c;\\\\n }\\\\n list.length -= c;\\\\n return ret;\\\\n}\\\\n\\\\n// Copies a specified amount of bytes from the list of buffered data chunks.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction copyFromBuffer(n, list) {\\\\n var ret = Buffer.allocUnsafe(n);\\\\n var p = list.head;\\\\n var c = 1;\\\\n p.data.copy(ret);\\\\n n -= p.data.length;\\\\n while (p = p.next) {\\\\n var buf = p.data;\\\\n var nb = n > buf.length ? buf.length : n;\\\\n buf.copy(ret, ret.length - n, 0, nb);\\\\n n -= nb;\\\\n if (n === 0) {\\\\n if (nb === buf.length) {\\\\n ++c;\\\\n if (p.next) list.head = p.next;else list.head = list.tail = null;\\\\n } else {\\\\n list.head = p;\\\\n p.data = buf.slice(nb);\\\\n }\\\\n break;\\\\n }\\\\n ++c;\\\\n }\\\\n list.length -= c;\\\\n return ret;\\\\n}\\\\n\\\\nfunction endReadable(stream) {\\\\n var state = stream._readableState;\\\\n\\\\n // If we get here before consuming all the bytes, then that is a\\\\n // bug in node. Should never happen.\\\\n if (state.length > 0) throw new Error('\\\\\\\"endReadable()\\\\\\\" called on non-empty stream');\\\\n\\\\n if (!state.endEmitted) {\\\\n state.ended = true;\\\\n pna.nextTick(endReadableNT, state, stream);\\\\n }\\\\n}\\\\n\\\\nfunction endReadableNT(state, stream) {\\\\n // Check that we didn't get one last unshift.\\\\n if (!state.endEmitted && state.length === 0) {\\\\n state.endEmitted = true;\\\\n stream.readable = false;\\\\n stream.emit('end');\\\\n }\\\\n}\\\\n\\\\nfunction indexOf(xs, x) {\\\\n for (var i = 0, l = xs.length; i < l; i++) {\\\\n if (xs[i] === x) return i;\\\\n }\\\\n return -1;\\\\n}\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\"), __webpack_require__(/*! ./../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_transform.js\\\":\\n/*!***************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_transform.js ***!\\n \\\\***************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// a transform stream is a readable/writable stream where you do\\\\n// something with the data. Sometimes it's called a \\\\\\\"filter\\\\\\\",\\\\n// but that's not a great name for it, since that implies a thing where\\\\n// some bits pass through, and others are simply ignored. (That would\\\\n// be a valid example of a transform, of course.)\\\\n//\\\\n// While the output is causally related to the input, it's not a\\\\n// necessarily symmetric or synchronous transformation. For example,\\\\n// a zlib stream might take multiple plain-text writes(), and then\\\\n// emit a single compressed chunk some time in the future.\\\\n//\\\\n// Here's how this works:\\\\n//\\\\n// The Transform stream has all the aspects of the readable and writable\\\\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\\\\n// internally, and returns false if there's a lot of pending writes\\\\n// buffered up. When you call read(), that calls _read(n) until\\\\n// there's enough pending readable data buffered up.\\\\n//\\\\n// In a transform stream, the written data is placed in a buffer. When\\\\n// _read(n) is called, it transforms the queued up data, calling the\\\\n// buffered _write cb's as it consumes chunks. If consuming a single\\\\n// written chunk would result in multiple output chunks, then the first\\\\n// outputted bit calls the readcb, and subsequent chunks just go into\\\\n// the read buffer, and will cause it to emit 'readable' if necessary.\\\\n//\\\\n// This way, back-pressure is actually determined by the reading side,\\\\n// since _read has to be called to start processing a new chunk. However,\\\\n// a pathological inflate type of transform can cause excessive buffering\\\\n// here. For example, imagine a stream where every byte of input is\\\\n// interpreted as an integer from 0-255, and then results in that many\\\\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\\\\n// 1kb of data being output. In this case, you could write a very small\\\\n// amount of input, and end up with a very large amount of output. In\\\\n// such a pathological inflating mechanism, there'd be no way to tell\\\\n// the system to stop doing the transform. A single 4MB write could\\\\n// cause the system to run out of memory.\\\\n//\\\\n// However, even in such a pathological case, only a single written chunk\\\\n// would be consumed, and then the rest would wait (un-transformed) until\\\\n// the results of the previous transformed chunk were consumed.\\\\n\\\\n\\\\n\\\\nmodule.exports = Transform;\\\\n\\\\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\");\\\\n/**/\\\\n\\\\nutil.inherits(Transform, Duplex);\\\\n\\\\nfunction afterTransform(er, data) {\\\\n var ts = this._transformState;\\\\n ts.transforming = false;\\\\n\\\\n var cb = ts.writecb;\\\\n\\\\n if (!cb) {\\\\n return this.emit('error', new Error('write callback called multiple times'));\\\\n }\\\\n\\\\n ts.writechunk = null;\\\\n ts.writecb = null;\\\\n\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n this.push(data);\\\\n\\\\n cb(er);\\\\n\\\\n var rs = this._readableState;\\\\n rs.reading = false;\\\\n if (rs.needReadable || rs.length < rs.highWaterMark) {\\\\n this._read(rs.highWaterMark);\\\\n }\\\\n}\\\\n\\\\nfunction Transform(options) {\\\\n if (!(this instanceof Transform)) return new Transform(options);\\\\n\\\\n Duplex.call(this, options);\\\\n\\\\n this._transformState = {\\\\n afterTransform: afterTransform.bind(this),\\\\n needTransform: false,\\\\n transforming: false,\\\\n writecb: null,\\\\n writechunk: null,\\\\n writeencoding: null\\\\n };\\\\n\\\\n // start out asking for a readable event once data is transformed.\\\\n this._readableState.needReadable = true;\\\\n\\\\n // we have implemented the _read method, and done the other things\\\\n // that Readable wants before the first _read call, so unset the\\\\n // sync guard flag.\\\\n this._readableState.sync = false;\\\\n\\\\n if (options) {\\\\n if (typeof options.transform === 'function') this._transform = options.transform;\\\\n\\\\n if (typeof options.flush === 'function') this._flush = options.flush;\\\\n }\\\\n\\\\n // When the writable side finishes, then flush out anything remaining.\\\\n this.on('prefinish', prefinish);\\\\n}\\\\n\\\\nfunction prefinish() {\\\\n var _this = this;\\\\n\\\\n if (typeof this._flush === 'function') {\\\\n this._flush(function (er, data) {\\\\n done(_this, er, data);\\\\n });\\\\n } else {\\\\n done(this, null, null);\\\\n }\\\\n}\\\\n\\\\nTransform.prototype.push = function (chunk, encoding) {\\\\n this._transformState.needTransform = false;\\\\n return Duplex.prototype.push.call(this, chunk, encoding);\\\\n};\\\\n\\\\n// This is the part where you do stuff!\\\\n// override this function in implementation classes.\\\\n// 'chunk' is an input chunk.\\\\n//\\\\n// Call `push(newChunk)` to pass along transformed output\\\\n// to the readable side. You may call 'push' zero or more times.\\\\n//\\\\n// Call `cb(err)` when you are done with this chunk. If you pass\\\\n// an error, then that'll put the hurt on the whole operation. If you\\\\n// never call cb(), then you'll never get another chunk.\\\\nTransform.prototype._transform = function (chunk, encoding, cb) {\\\\n throw new Error('_transform() is not implemented');\\\\n};\\\\n\\\\nTransform.prototype._write = function (chunk, encoding, cb) {\\\\n var ts = this._transformState;\\\\n ts.writecb = cb;\\\\n ts.writechunk = chunk;\\\\n ts.writeencoding = encoding;\\\\n if (!ts.transforming) {\\\\n var rs = this._readableState;\\\\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\\\\n }\\\\n};\\\\n\\\\n// Doesn't matter what the args are here.\\\\n// _transform does all the work.\\\\n// That we got here means that the readable side wants more data.\\\\nTransform.prototype._read = function (n) {\\\\n var ts = this._transformState;\\\\n\\\\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\\\\n ts.transforming = true;\\\\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\\\\n } else {\\\\n // mark that we need a transform, so that any data that comes in\\\\n // will get processed, now that we've asked for it.\\\\n ts.needTransform = true;\\\\n }\\\\n};\\\\n\\\\nTransform.prototype._destroy = function (err, cb) {\\\\n var _this2 = this;\\\\n\\\\n Duplex.prototype._destroy.call(this, err, function (err2) {\\\\n cb(err2);\\\\n _this2.emit('close');\\\\n });\\\\n};\\\\n\\\\nfunction done(stream, er, data) {\\\\n if (er) return stream.emit('error', er);\\\\n\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n stream.push(data);\\\\n\\\\n // if there's nothing in the write buffer, then that means\\\\n // that nothing more will ever be provided\\\\n if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');\\\\n\\\\n if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');\\\\n\\\\n return stream.push(null);\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_writable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_writable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(process, setImmediate, global) {// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// A bit simpler than readable streams.\\\\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\\\\n// the drain event emission and buffering.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\nmodule.exports = Writable;\\\\n\\\\n/* */\\\\nfunction WriteReq(chunk, encoding, cb) {\\\\n this.chunk = chunk;\\\\n this.encoding = encoding;\\\\n this.callback = cb;\\\\n this.next = null;\\\\n}\\\\n\\\\n// It seems a linked list but it is not\\\\n// there will be only 2 of these for each stream\\\\nfunction CorkedRequest(state) {\\\\n var _this = this;\\\\n\\\\n this.next = null;\\\\n this.entry = null;\\\\n this.finish = function () {\\\\n onCorkedFinish(_this, state);\\\\n };\\\\n}\\\\n/* */\\\\n\\\\n/**/\\\\nvar asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;\\\\n/**/\\\\n\\\\n/**/\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nWritable.WritableState = WritableState;\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar internalUtil = {\\\\n deprecate: __webpack_require__(/*! util-deprecate */ \\\\\\\"./node_modules/util-deprecate/browser.js\\\\\\\")\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n\\\\n/**/\\\\n\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\n\\\\nutil.inherits(Writable, Stream);\\\\n\\\\nfunction nop() {}\\\\n\\\\nfunction WritableState(options, stream) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n options = options || {};\\\\n\\\\n // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream.\\\\n // These options can be provided separately as readableXXX and writableXXX.\\\\n var isDuplex = stream instanceof Duplex;\\\\n\\\\n // object stream flag to indicate whether or not this stream\\\\n // contains buffers or objects.\\\\n this.objectMode = !!options.objectMode;\\\\n\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\\\\n\\\\n // the point at which write() starts returning false\\\\n // Note: 0 is a valid value, means that we always return false if\\\\n // the entire buffer is not flushed immediately on write()\\\\n var hwm = options.highWaterMark;\\\\n var writableHwm = options.writableHighWaterMark;\\\\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\\\\n\\\\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;\\\\n\\\\n // cast to ints.\\\\n this.highWaterMark = Math.floor(this.highWaterMark);\\\\n\\\\n // if _final has been called\\\\n this.finalCalled = false;\\\\n\\\\n // drain event flag.\\\\n this.needDrain = false;\\\\n // at the start of calling end()\\\\n this.ending = false;\\\\n // when end() has been called, and returned\\\\n this.ended = false;\\\\n // when 'finish' is emitted\\\\n this.finished = false;\\\\n\\\\n // has it been destroyed\\\\n this.destroyed = false;\\\\n\\\\n // should we decode strings into buffers before passing to _write?\\\\n // this is here so that some node-core streams can optimize string\\\\n // handling at a lower level.\\\\n var noDecode = options.decodeStrings === false;\\\\n this.decodeStrings = !noDecode;\\\\n\\\\n // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8';\\\\n\\\\n // not an actual buffer we keep track of, but a measurement\\\\n // of how much we're waiting to get pushed to some underlying\\\\n // socket or file.\\\\n this.length = 0;\\\\n\\\\n // a flag to see when we're in the middle of a write.\\\\n this.writing = false;\\\\n\\\\n // when true all writes will be buffered until .uncork() call\\\\n this.corked = 0;\\\\n\\\\n // a flag to be able to tell if the onwrite cb is called immediately,\\\\n // or on a later tick. We set this to true at first, because any\\\\n // actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first write call.\\\\n this.sync = true;\\\\n\\\\n // a flag to know if we're processing previously buffered items, which\\\\n // may call the _write() callback in the same tick, so that we don't\\\\n // end up in an overlapped onwrite situation.\\\\n this.bufferProcessing = false;\\\\n\\\\n // the callback that's passed to _write(chunk,cb)\\\\n this.onwrite = function (er) {\\\\n onwrite(stream, er);\\\\n };\\\\n\\\\n // the callback that the user supplies to write(chunk,encoding,cb)\\\\n this.writecb = null;\\\\n\\\\n // the amount that is being written when _write is called.\\\\n this.writelen = 0;\\\\n\\\\n this.bufferedRequest = null;\\\\n this.lastBufferedRequest = null;\\\\n\\\\n // number of pending user-supplied write callbacks\\\\n // this must be 0 before 'finish' can be emitted\\\\n this.pendingcb = 0;\\\\n\\\\n // emit prefinish if the only thing we're waiting for is _write cbs\\\\n // This is relevant for synchronous Transform streams\\\\n this.prefinished = false;\\\\n\\\\n // True if the error was already emitted and should not be thrown again\\\\n this.errorEmitted = false;\\\\n\\\\n // count buffered requests\\\\n this.bufferedRequestCount = 0;\\\\n\\\\n // allocate the first CorkedRequest, there is always\\\\n // one allocated and free to use, and we maintain at most two\\\\n this.corkedRequestsFree = new CorkedRequest(this);\\\\n}\\\\n\\\\nWritableState.prototype.getBuffer = function getBuffer() {\\\\n var current = this.bufferedRequest;\\\\n var out = [];\\\\n while (current) {\\\\n out.push(current);\\\\n current = current.next;\\\\n }\\\\n return out;\\\\n};\\\\n\\\\n(function () {\\\\n try {\\\\n Object.defineProperty(WritableState.prototype, 'buffer', {\\\\n get: internalUtil.deprecate(function () {\\\\n return this.getBuffer();\\\\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\\\\n });\\\\n } catch (_) {}\\\\n})();\\\\n\\\\n// Test _writableState for inheritance to account for Duplex streams,\\\\n// whose prototype chain only points to Readable.\\\\nvar realHasInstance;\\\\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\\\\n realHasInstance = Function.prototype[Symbol.hasInstance];\\\\n Object.defineProperty(Writable, Symbol.hasInstance, {\\\\n value: function (object) {\\\\n if (realHasInstance.call(this, object)) return true;\\\\n if (this !== Writable) return false;\\\\n\\\\n return object && object._writableState instanceof WritableState;\\\\n }\\\\n });\\\\n} else {\\\\n realHasInstance = function (object) {\\\\n return object instanceof this;\\\\n };\\\\n}\\\\n\\\\nfunction Writable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n // Writable ctor is applied to Duplexes, too.\\\\n // `realHasInstance` is necessary because using plain `instanceof`\\\\n // would return false, as no `_writableState` property is attached.\\\\n\\\\n // Trying to use the custom `instanceof` for Writable here will also break the\\\\n // Node.js LazyTransform implementation, which has a non-trivial getter for\\\\n // `_writableState` that would lead to infinite recursion.\\\\n if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {\\\\n return new Writable(options);\\\\n }\\\\n\\\\n this._writableState = new WritableState(options, this);\\\\n\\\\n // legacy.\\\\n this.writable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.write === 'function') this._write = options.write;\\\\n\\\\n if (typeof options.writev === 'function') this._writev = options.writev;\\\\n\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n\\\\n if (typeof options.final === 'function') this._final = options.final;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n}\\\\n\\\\n// Otherwise people can pipe Writable streams, which is just wrong.\\\\nWritable.prototype.pipe = function () {\\\\n this.emit('error', new Error('Cannot pipe, not readable'));\\\\n};\\\\n\\\\nfunction writeAfterEnd(stream, cb) {\\\\n var er = new Error('write after end');\\\\n // TODO: defer error events consistently everywhere, not just the cb\\\\n stream.emit('error', er);\\\\n pna.nextTick(cb, er);\\\\n}\\\\n\\\\n// Checks that a user-supplied chunk is valid, especially for the particular\\\\n// mode the stream is in. Currently this means that `null` is never accepted\\\\n// and undefined/non-string values are only allowed in object mode.\\\\nfunction validChunk(stream, state, chunk, cb) {\\\\n var valid = true;\\\\n var er = false;\\\\n\\\\n if (chunk === null) {\\\\n er = new TypeError('May not write null values to stream');\\\\n } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\\\\n er = new TypeError('Invalid non-string/buffer chunk');\\\\n }\\\\n if (er) {\\\\n stream.emit('error', er);\\\\n pna.nextTick(cb, er);\\\\n valid = false;\\\\n }\\\\n return valid;\\\\n}\\\\n\\\\nWritable.prototype.write = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n var ret = false;\\\\n var isBuf = !state.objectMode && _isUint8Array(chunk);\\\\n\\\\n if (isBuf && !Buffer.isBuffer(chunk)) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\\\\n\\\\n if (typeof cb !== 'function') cb = nop;\\\\n\\\\n if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\\\\n state.pendingcb++;\\\\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\\\\n }\\\\n\\\\n return ret;\\\\n};\\\\n\\\\nWritable.prototype.cork = function () {\\\\n var state = this._writableState;\\\\n\\\\n state.corked++;\\\\n};\\\\n\\\\nWritable.prototype.uncork = function () {\\\\n var state = this._writableState;\\\\n\\\\n if (state.corked) {\\\\n state.corked--;\\\\n\\\\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\\\\n }\\\\n};\\\\n\\\\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\\\\n // node::ParseEncoding() requires lower case.\\\\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\\\\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\\\\n this._writableState.defaultEncoding = encoding;\\\\n return this;\\\\n};\\\\n\\\\nfunction decodeChunk(state, chunk, encoding) {\\\\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n }\\\\n return chunk;\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function () {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n});\\\\n\\\\n// if we're already writing something, then just put this\\\\n// in the queue, and wait our turn. Otherwise, call _write\\\\n// If we return false, then we need a drain event, so set that flag.\\\\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\\\\n if (!isBuf) {\\\\n var newChunk = decodeChunk(state, chunk, encoding);\\\\n if (chunk !== newChunk) {\\\\n isBuf = true;\\\\n encoding = 'buffer';\\\\n chunk = newChunk;\\\\n }\\\\n }\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n\\\\n state.length += len;\\\\n\\\\n var ret = state.length < state.highWaterMark;\\\\n // we must ensure that previous needDrain will not be reset to false.\\\\n if (!ret) state.needDrain = true;\\\\n\\\\n if (state.writing || state.corked) {\\\\n var last = state.lastBufferedRequest;\\\\n state.lastBufferedRequest = {\\\\n chunk: chunk,\\\\n encoding: encoding,\\\\n isBuf: isBuf,\\\\n callback: cb,\\\\n next: null\\\\n };\\\\n if (last) {\\\\n last.next = state.lastBufferedRequest;\\\\n } else {\\\\n state.bufferedRequest = state.lastBufferedRequest;\\\\n }\\\\n state.bufferedRequestCount += 1;\\\\n } else {\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n }\\\\n\\\\n return ret;\\\\n}\\\\n\\\\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\\\\n state.writelen = len;\\\\n state.writecb = cb;\\\\n state.writing = true;\\\\n state.sync = true;\\\\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\\\\n state.sync = false;\\\\n}\\\\n\\\\nfunction onwriteError(stream, state, sync, er, cb) {\\\\n --state.pendingcb;\\\\n\\\\n if (sync) {\\\\n // defer the callback if we are being called synchronously\\\\n // to avoid piling up things on the stack\\\\n pna.nextTick(cb, er);\\\\n // this can emit finish, and it will always happen\\\\n // after error\\\\n pna.nextTick(finishMaybe, stream, state);\\\\n stream._writableState.errorEmitted = true;\\\\n stream.emit('error', er);\\\\n } else {\\\\n // the caller expect this to happen before if\\\\n // it is async\\\\n cb(er);\\\\n stream._writableState.errorEmitted = true;\\\\n stream.emit('error', er);\\\\n // this can emit finish, but finish must\\\\n // always follow error\\\\n finishMaybe(stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction onwriteStateUpdate(state) {\\\\n state.writing = false;\\\\n state.writecb = null;\\\\n state.length -= state.writelen;\\\\n state.writelen = 0;\\\\n}\\\\n\\\\nfunction onwrite(stream, er) {\\\\n var state = stream._writableState;\\\\n var sync = state.sync;\\\\n var cb = state.writecb;\\\\n\\\\n onwriteStateUpdate(state);\\\\n\\\\n if (er) onwriteError(stream, state, sync, er, cb);else {\\\\n // Check if we're actually ready to finish, but don't emit yet\\\\n var finished = needFinish(state);\\\\n\\\\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\\\\n clearBuffer(stream, state);\\\\n }\\\\n\\\\n if (sync) {\\\\n /**/\\\\n asyncWrite(afterWrite, stream, state, finished, cb);\\\\n /**/\\\\n } else {\\\\n afterWrite(stream, state, finished, cb);\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction afterWrite(stream, state, finished, cb) {\\\\n if (!finished) onwriteDrain(stream, state);\\\\n state.pendingcb--;\\\\n cb();\\\\n finishMaybe(stream, state);\\\\n}\\\\n\\\\n// Must force callback to be called on nextTick, so that we don't\\\\n// emit 'drain' before the write() consumer gets the 'false' return\\\\n// value, and has a chance to attach a 'drain' listener.\\\\nfunction onwriteDrain(stream, state) {\\\\n if (state.length === 0 && state.needDrain) {\\\\n state.needDrain = false;\\\\n stream.emit('drain');\\\\n }\\\\n}\\\\n\\\\n// if there's something in the buffer waiting, then process it\\\\nfunction clearBuffer(stream, state) {\\\\n state.bufferProcessing = true;\\\\n var entry = state.bufferedRequest;\\\\n\\\\n if (stream._writev && entry && entry.next) {\\\\n // Fast case, write everything using _writev()\\\\n var l = state.bufferedRequestCount;\\\\n var buffer = new Array(l);\\\\n var holder = state.corkedRequestsFree;\\\\n holder.entry = entry;\\\\n\\\\n var count = 0;\\\\n var allBuffers = true;\\\\n while (entry) {\\\\n buffer[count] = entry;\\\\n if (!entry.isBuf) allBuffers = false;\\\\n entry = entry.next;\\\\n count += 1;\\\\n }\\\\n buffer.allBuffers = allBuffers;\\\\n\\\\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\\\\n\\\\n // doWrite is almost always async, defer these to save a bit of time\\\\n // as the hot path ends with doWrite\\\\n state.pendingcb++;\\\\n state.lastBufferedRequest = null;\\\\n if (holder.next) {\\\\n state.corkedRequestsFree = holder.next;\\\\n holder.next = null;\\\\n } else {\\\\n state.corkedRequestsFree = new CorkedRequest(state);\\\\n }\\\\n state.bufferedRequestCount = 0;\\\\n } else {\\\\n // Slow case, write chunks one-by-one\\\\n while (entry) {\\\\n var chunk = entry.chunk;\\\\n var encoding = entry.encoding;\\\\n var cb = entry.callback;\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n entry = entry.next;\\\\n state.bufferedRequestCount--;\\\\n // if we didn't call the onwrite immediately, then\\\\n // it means that we need to wait until it does.\\\\n // also, that means that the chunk and cb are currently\\\\n // being processed, so move the buffer counter past them.\\\\n if (state.writing) {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (entry === null) state.lastBufferedRequest = null;\\\\n }\\\\n\\\\n state.bufferedRequest = entry;\\\\n state.bufferProcessing = false;\\\\n}\\\\n\\\\nWritable.prototype._write = function (chunk, encoding, cb) {\\\\n cb(new Error('_write() is not implemented'));\\\\n};\\\\n\\\\nWritable.prototype._writev = null;\\\\n\\\\nWritable.prototype.end = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n\\\\n if (typeof chunk === 'function') {\\\\n cb = chunk;\\\\n chunk = null;\\\\n encoding = null;\\\\n } else if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\\\\n\\\\n // .end() fully uncorks\\\\n if (state.corked) {\\\\n state.corked = 1;\\\\n this.uncork();\\\\n }\\\\n\\\\n // ignore unnecessary end() calls.\\\\n if (!state.ending && !state.finished) endWritable(this, state, cb);\\\\n};\\\\n\\\\nfunction needFinish(state) {\\\\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\\\\n}\\\\nfunction callFinal(stream, state) {\\\\n stream._final(function (err) {\\\\n state.pendingcb--;\\\\n if (err) {\\\\n stream.emit('error', err);\\\\n }\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n finishMaybe(stream, state);\\\\n });\\\\n}\\\\nfunction prefinish(stream, state) {\\\\n if (!state.prefinished && !state.finalCalled) {\\\\n if (typeof stream._final === 'function') {\\\\n state.pendingcb++;\\\\n state.finalCalled = true;\\\\n pna.nextTick(callFinal, stream, state);\\\\n } else {\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction finishMaybe(stream, state) {\\\\n var need = needFinish(state);\\\\n if (need) {\\\\n prefinish(stream, state);\\\\n if (state.pendingcb === 0) {\\\\n state.finished = true;\\\\n stream.emit('finish');\\\\n }\\\\n }\\\\n return need;\\\\n}\\\\n\\\\nfunction endWritable(stream, state, cb) {\\\\n state.ending = true;\\\\n finishMaybe(stream, state);\\\\n if (cb) {\\\\n if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);\\\\n }\\\\n state.ended = true;\\\\n stream.writable = false;\\\\n}\\\\n\\\\nfunction onCorkedFinish(corkReq, state, err) {\\\\n var entry = corkReq.entry;\\\\n corkReq.entry = null;\\\\n while (entry) {\\\\n var cb = entry.callback;\\\\n state.pendingcb--;\\\\n cb(err);\\\\n entry = entry.next;\\\\n }\\\\n if (state.corkedRequestsFree) {\\\\n state.corkedRequestsFree.next = corkReq;\\\\n } else {\\\\n state.corkedRequestsFree = corkReq;\\\\n }\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'destroyed', {\\\\n get: function () {\\\\n if (this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n return this._writableState.destroyed;\\\\n },\\\\n set: function (value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._writableState) {\\\\n return;\\\\n }\\\\n\\\\n // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\n\\\\nWritable.prototype.destroy = destroyImpl.destroy;\\\\nWritable.prototype._undestroy = destroyImpl.undestroy;\\\\nWritable.prototype._destroy = function (err, cb) {\\\\n this.end();\\\\n cb(err);\\\\n};\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\"), __webpack_require__(/*! ./../../node-libs-browser/node_modules/timers-browserify/main.js */ \\\\\\\"./node_modules/node-libs-browser/node_modules/timers-browserify/main.js\\\\\\\").setImmediate, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/BufferList.js\\\":\\n/*!*************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/BufferList.js ***!\\n \\\\*************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\\\\\"Cannot call a class as a function\\\\\\\"); } }\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\nvar util = __webpack_require__(/*! util */ 1);\\\\n\\\\nfunction copyBuffer(src, target, offset) {\\\\n src.copy(target, offset);\\\\n}\\\\n\\\\nmodule.exports = function () {\\\\n function BufferList() {\\\\n _classCallCheck(this, BufferList);\\\\n\\\\n this.head = null;\\\\n this.tail = null;\\\\n this.length = 0;\\\\n }\\\\n\\\\n BufferList.prototype.push = function push(v) {\\\\n var entry = { data: v, next: null };\\\\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\\\\n this.tail = entry;\\\\n ++this.length;\\\\n };\\\\n\\\\n BufferList.prototype.unshift = function unshift(v) {\\\\n var entry = { data: v, next: this.head };\\\\n if (this.length === 0) this.tail = entry;\\\\n this.head = entry;\\\\n ++this.length;\\\\n };\\\\n\\\\n BufferList.prototype.shift = function shift() {\\\\n if (this.length === 0) return;\\\\n var ret = this.head.data;\\\\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\\\\n --this.length;\\\\n return ret;\\\\n };\\\\n\\\\n BufferList.prototype.clear = function clear() {\\\\n this.head = this.tail = null;\\\\n this.length = 0;\\\\n };\\\\n\\\\n BufferList.prototype.join = function join(s) {\\\\n if (this.length === 0) return '';\\\\n var p = this.head;\\\\n var ret = '' + p.data;\\\\n while (p = p.next) {\\\\n ret += s + p.data;\\\\n }return ret;\\\\n };\\\\n\\\\n BufferList.prototype.concat = function concat(n) {\\\\n if (this.length === 0) return Buffer.alloc(0);\\\\n if (this.length === 1) return this.head.data;\\\\n var ret = Buffer.allocUnsafe(n >>> 0);\\\\n var p = this.head;\\\\n var i = 0;\\\\n while (p) {\\\\n copyBuffer(p.data, ret, i);\\\\n i += p.data.length;\\\\n p = p.next;\\\\n }\\\\n return ret;\\\\n };\\\\n\\\\n return BufferList;\\\\n}();\\\\n\\\\nif (util && util.inspect && util.inspect.custom) {\\\\n module.exports.prototype[util.inspect.custom] = function () {\\\\n var obj = util.inspect({ length: this.length });\\\\n return this.constructor.name + ' ' + obj;\\\\n };\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/BufferList.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\":\\n/*!**********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/destroy.js ***!\\n \\\\**********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\n// undocumented cb() API, needed for core, not for public API\\\\nfunction destroy(err, cb) {\\\\n var _this = this;\\\\n\\\\n var readableDestroyed = this._readableState && this._readableState.destroyed;\\\\n var writableDestroyed = this._writableState && this._writableState.destroyed;\\\\n\\\\n if (readableDestroyed || writableDestroyed) {\\\\n if (cb) {\\\\n cb(err);\\\\n } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {\\\\n pna.nextTick(emitErrorNT, this, err);\\\\n }\\\\n return this;\\\\n }\\\\n\\\\n // we set destroyed to true before firing error callbacks in order\\\\n // to make it re-entrance safe in case destroy() is called within callbacks\\\\n\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = true;\\\\n }\\\\n\\\\n // if this is a duplex stream mark the writable part as destroyed as well\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = true;\\\\n }\\\\n\\\\n this._destroy(err || null, function (err) {\\\\n if (!cb && err) {\\\\n pna.nextTick(emitErrorNT, _this, err);\\\\n if (_this._writableState) {\\\\n _this._writableState.errorEmitted = true;\\\\n }\\\\n } else if (cb) {\\\\n cb(err);\\\\n }\\\\n });\\\\n\\\\n return this;\\\\n}\\\\n\\\\nfunction undestroy() {\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = false;\\\\n this._readableState.reading = false;\\\\n this._readableState.ended = false;\\\\n this._readableState.endEmitted = false;\\\\n }\\\\n\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = false;\\\\n this._writableState.ended = false;\\\\n this._writableState.ending = false;\\\\n this._writableState.finished = false;\\\\n this._writableState.errorEmitted = false;\\\\n }\\\\n}\\\\n\\\\nfunction emitErrorNT(self, err) {\\\\n self.emit('error', err);\\\\n}\\\\n\\\\nmodule.exports = {\\\\n destroy: destroy,\\\\n undestroy: undestroy\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\\\":\\n/*!*****************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/stream-browser.js ***!\\n \\\\*****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = __webpack_require__(/*! events */ \\\\\\\"./node_modules/node-libs-browser/node_modules/events/events.js\\\\\\\").EventEmitter;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/stream-browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/node_modules/safe-buffer/index.js ***!\\n \\\\************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* eslint-disable node/no-deprecated-api */\\\\nvar buffer = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\")\\\\nvar Buffer = buffer.Buffer\\\\n\\\\n// alternative to using Object.keys for old browsers\\\\nfunction copyProps (src, dst) {\\\\n for (var key in src) {\\\\n dst[key] = src[key]\\\\n }\\\\n}\\\\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\\\\n module.exports = buffer\\\\n} else {\\\\n // Copy properties from require('buffer')\\\\n copyProps(buffer, exports)\\\\n exports.Buffer = SafeBuffer\\\\n}\\\\n\\\\nfunction SafeBuffer (arg, encodingOrOffset, length) {\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\n// Copy static methods from Buffer\\\\ncopyProps(Buffer, SafeBuffer)\\\\n\\\\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\\\\n if (typeof arg === 'number') {\\\\n throw new TypeError('Argument must not be a number')\\\\n }\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nSafeBuffer.alloc = function (size, fill, encoding) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n var buf = Buffer(size)\\\\n if (fill !== undefined) {\\\\n if (typeof encoding === 'string') {\\\\n buf.fill(fill, encoding)\\\\n } else {\\\\n buf.fill(fill)\\\\n }\\\\n } else {\\\\n buf.fill(0)\\\\n }\\\\n return buf\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafe = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return Buffer(size)\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafeSlow = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return buffer.SlowBuffer(size)\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/node_modules/safe-buffer/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/readable-browser.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/readable-stream/readable-browser.js ***!\\n \\\\**********************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\nexports.Stream = exports;\\\\nexports.Readable = exports;\\\\nexports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\nexports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\nexports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\nexports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable-browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/setimmediate/setImmediate.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/setimmediate/setImmediate.js ***!\\n \\\\***************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {\\\\n \\\\\\\"use strict\\\\\\\";\\\\n\\\\n if (global.setImmediate) {\\\\n return;\\\\n }\\\\n\\\\n var nextHandle = 1; // Spec says greater than zero\\\\n var tasksByHandle = {};\\\\n var currentlyRunningATask = false;\\\\n var doc = global.document;\\\\n var registerImmediate;\\\\n\\\\n function setImmediate(callback) {\\\\n // Callback can either be a function or a string\\\\n if (typeof callback !== \\\\\\\"function\\\\\\\") {\\\\n callback = new Function(\\\\\\\"\\\\\\\" + callback);\\\\n }\\\\n // Copy function arguments\\\\n var args = new Array(arguments.length - 1);\\\\n for (var i = 0; i < args.length; i++) {\\\\n args[i] = arguments[i + 1];\\\\n }\\\\n // Store and register the task\\\\n var task = { callback: callback, args: args };\\\\n tasksByHandle[nextHandle] = task;\\\\n registerImmediate(nextHandle);\\\\n return nextHandle++;\\\\n }\\\\n\\\\n function clearImmediate(handle) {\\\\n delete tasksByHandle[handle];\\\\n }\\\\n\\\\n function run(task) {\\\\n var callback = task.callback;\\\\n var args = task.args;\\\\n switch (args.length) {\\\\n case 0:\\\\n callback();\\\\n break;\\\\n case 1:\\\\n callback(args[0]);\\\\n break;\\\\n case 2:\\\\n callback(args[0], args[1]);\\\\n break;\\\\n case 3:\\\\n callback(args[0], args[1], args[2]);\\\\n break;\\\\n default:\\\\n callback.apply(undefined, args);\\\\n break;\\\\n }\\\\n }\\\\n\\\\n function runIfPresent(handle) {\\\\n // From the spec: \\\\\\\"Wait until any invocations of this algorithm started before this one have completed.\\\\\\\"\\\\n // So if we're currently running a task, we'll need to delay this invocation.\\\\n if (currentlyRunningATask) {\\\\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\\\\n // \\\\\\\"too much recursion\\\\\\\" error.\\\\n setTimeout(runIfPresent, 0, handle);\\\\n } else {\\\\n var task = tasksByHandle[handle];\\\\n if (task) {\\\\n currentlyRunningATask = true;\\\\n try {\\\\n run(task);\\\\n } finally {\\\\n clearImmediate(handle);\\\\n currentlyRunningATask = false;\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n function installNextTickImplementation() {\\\\n registerImmediate = function(handle) {\\\\n process.nextTick(function () { runIfPresent(handle); });\\\\n };\\\\n }\\\\n\\\\n function canUsePostMessage() {\\\\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\\\\n // where `global.postMessage` means something completely different and can't be used for this purpose.\\\\n if (global.postMessage && !global.importScripts) {\\\\n var postMessageIsAsynchronous = true;\\\\n var oldOnMessage = global.onmessage;\\\\n global.onmessage = function() {\\\\n postMessageIsAsynchronous = false;\\\\n };\\\\n global.postMessage(\\\\\\\"\\\\\\\", \\\\\\\"*\\\\\\\");\\\\n global.onmessage = oldOnMessage;\\\\n return postMessageIsAsynchronous;\\\\n }\\\\n }\\\\n\\\\n function installPostMessageImplementation() {\\\\n // Installs an event handler on `global` for the `message` event: see\\\\n // * https://developer.mozilla.org/en/DOM/window.postMessage\\\\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\\\\n\\\\n var messagePrefix = \\\\\\\"setImmediate$\\\\\\\" + Math.random() + \\\\\\\"$\\\\\\\";\\\\n var onGlobalMessage = function(event) {\\\\n if (event.source === global &&\\\\n typeof event.data === \\\\\\\"string\\\\\\\" &&\\\\n event.data.indexOf(messagePrefix) === 0) {\\\\n runIfPresent(+event.data.slice(messagePrefix.length));\\\\n }\\\\n };\\\\n\\\\n if (global.addEventListener) {\\\\n global.addEventListener(\\\\\\\"message\\\\\\\", onGlobalMessage, false);\\\\n } else {\\\\n global.attachEvent(\\\\\\\"onmessage\\\\\\\", onGlobalMessage);\\\\n }\\\\n\\\\n registerImmediate = function(handle) {\\\\n global.postMessage(messagePrefix + handle, \\\\\\\"*\\\\\\\");\\\\n };\\\\n }\\\\n\\\\n function installMessageChannelImplementation() {\\\\n var channel = new MessageChannel();\\\\n channel.port1.onmessage = function(event) {\\\\n var handle = event.data;\\\\n runIfPresent(handle);\\\\n };\\\\n\\\\n registerImmediate = function(handle) {\\\\n channel.port2.postMessage(handle);\\\\n };\\\\n }\\\\n\\\\n function installReadyStateChangeImplementation() {\\\\n var html = doc.documentElement;\\\\n registerImmediate = function(handle) {\\\\n // Create a ', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 9;\\\\n } else if (tagName == \\\\\\\"style\\\\\\\") {\\\\n var start = pos + 1;\\\\n pos = S.indexOf('', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 8;\\\\n } else if (NoChildNodes.indexOf(tagName) == -1) {\\\\n pos++;\\\\n children = parseChildren(name);\\\\n }\\\\n } else {\\\\n pos++;\\\\n }\\\\n return {\\\\n tagName,\\\\n attributes,\\\\n children,\\\\n };\\\\n }\\\\n\\\\n /**\\\\n * is parsing a string, that starts with a char and with the same usually ' or \\\\\\\"\\\\n */\\\\n\\\\n function parseString() {\\\\n var startChar = S[pos];\\\\n var startpos = ++pos;\\\\n pos = S.indexOf(startChar, startpos)\\\\n return S.slice(startpos, pos);\\\\n }\\\\n\\\\n /**\\\\n *\\\\n */\\\\n function findElements() {\\\\n var r = new RegExp('\\\\\\\\\\\\\\\\s' + options.attrName + '\\\\\\\\\\\\\\\\s*=[\\\\\\\\'\\\\\\\"]' + options.attrValue + '[\\\\\\\\'\\\\\\\"]').exec(S)\\\\n if (r) {\\\\n return r.index;\\\\n } else {\\\\n return -1;\\\\n }\\\\n }\\\\n\\\\n var out = null;\\\\n if (options.attrValue !== undefined) {\\\\n options.attrName = options.attrName || 'id';\\\\n var out = [];\\\\n\\\\n while ((pos = findElements()) !== -1) {\\\\n pos = S.lastIndexOf('<', pos);\\\\n if (pos !== -1) {\\\\n out.push(parseNode());\\\\n }\\\\n S = S.substr(pos);\\\\n pos = 0;\\\\n }\\\\n } else if (options.parseNode) {\\\\n out = parseNode()\\\\n } else {\\\\n out = parseChildren();\\\\n }\\\\n\\\\n if (options.filter) {\\\\n out = tXml.filter(out, options.filter);\\\\n }\\\\n\\\\n if (options.setPos) {\\\\n out.pos = pos;\\\\n }\\\\n\\\\n return out;\\\\n}\\\\n\\\\n/**\\\\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\\\\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\\\\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\\\\n * therefore your programm will be more flexible and easyer to read.\\\\n *\\\\n * @param {tNode[]} children the childrenList\\\\n */\\\\ntXml.simplify = function simplify(children) {\\\\n var out = {};\\\\n if (!children.length) {\\\\n return '';\\\\n }\\\\n\\\\n if (children.length === 1 && typeof children[0] == 'string') {\\\\n return children[0];\\\\n }\\\\n // map each object\\\\n children.forEach(function(child) {\\\\n if (typeof child !== 'object') {\\\\n return;\\\\n }\\\\n if (!out[child.tagName])\\\\n out[child.tagName] = [];\\\\n var kids = tXml.simplify(child.children||[]);\\\\n out[child.tagName].push(kids);\\\\n if (child.attributes) {\\\\n kids._attributes = child.attributes;\\\\n }\\\\n });\\\\n\\\\n for (var i in out) {\\\\n if (out[i].length == 1) {\\\\n out[i] = out[i][0];\\\\n }\\\\n }\\\\n\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\\\\n * @params children{Array} the children of a node\\\\n * @param f{function} the filter method\\\\n */\\\\ntXml.filter = function(children, f) {\\\\n var out = [];\\\\n children.forEach(function(child) {\\\\n if (typeof(child) === 'object' && f(child)) out.push(child);\\\\n if (child.children) {\\\\n var kids = tXml.filter(child.children, f);\\\\n out = out.concat(kids);\\\\n }\\\\n });\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * stringify a previously parsed string object.\\\\n * this is useful,\\\\n * 1. to remove whitespaces\\\\n * 2. to recreate xml data, with some changed data.\\\\n * @param {tNode} O the object to Stringify\\\\n */\\\\ntXml.stringify = function TOMObjToXML(O) {\\\\n var out = '';\\\\n\\\\n function writeChildren(O) {\\\\n if (O)\\\\n for (var i = 0; i < O.length; i++) {\\\\n if (typeof O[i] == 'string') {\\\\n out += O[i].trim();\\\\n } else {\\\\n writeNode(O[i]);\\\\n }\\\\n }\\\\n }\\\\n\\\\n function writeNode(N) {\\\\n out += \\\\\\\"<\\\\\\\" + N.tagName;\\\\n for (var i in N.attributes) {\\\\n if (N.attributes[i] === null) {\\\\n out += ' ' + i;\\\\n } else if (N.attributes[i].indexOf('\\\\\\\"') === -1) {\\\\n out += ' ' + i + '=\\\\\\\"' + N.attributes[i].trim() + '\\\\\\\"';\\\\n } else {\\\\n out += ' ' + i + \\\\\\\"='\\\\\\\" + N.attributes[i].trim() + \\\\\\\"'\\\\\\\";\\\\n }\\\\n }\\\\n out += '>';\\\\n writeChildren(N.children);\\\\n out += '';\\\\n }\\\\n writeChildren(O);\\\\n\\\\n return out;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * use this method to read the textcontent, of some node.\\\\n * It is great if you have mixed content like:\\\\n * this text has some big text and a link\\\\n * @return {string}\\\\n */\\\\ntXml.toContentString = function(tDom) {\\\\n if (Array.isArray(tDom)) {\\\\n var out = '';\\\\n tDom.forEach(function(e) {\\\\n out += ' ' + tXml.toContentString(e);\\\\n out = out.trim();\\\\n });\\\\n return out;\\\\n } else if (typeof tDom === 'object') {\\\\n return tXml.toContentString(tDom.children)\\\\n } else {\\\\n return ' ' + tDom;\\\\n }\\\\n};\\\\n\\\\ntXml.getElementById = function(S, id, simplified) {\\\\n var out = tXml(S, {\\\\n attrValue: id\\\\n });\\\\n return simplified ? tXml.simplify(out) : out[0];\\\\n};\\\\n/**\\\\n * A fast parsing method, that not realy finds by classname,\\\\n * more: the class attribute contains XXX\\\\n * @param\\\\n */\\\\ntXml.getElementsByClassName = function(S, classname, simplified) {\\\\n const out = tXml(S, {\\\\n attrName: 'class',\\\\n attrValue: '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*' + classname + '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*'\\\\n });\\\\n return simplified ? tXml.simplify(out) : out;\\\\n};\\\\n\\\\ntXml.parseStream = function(stream, offset) {\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n if (typeof stream === 'string') {\\\\n var fs = __webpack_require__(/*! fs */ \\\\\\\"./node_modules/node-libs-browser/mock/empty.js\\\\\\\");\\\\n stream = fs.createReadStream(stream, { start: offset });\\\\n offset = 0;\\\\n }\\\\n\\\\n var position = offset;\\\\n var data = '';\\\\n stream.on('data', function(chunk) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if(!position) {\\\\n position = lastPos;\\\\n return;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return;\\\\n } else {\\\\n stream.emit('xml', res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n });\\\\n stream.on('end', function() {\\\\n console.log('end')\\\\n });\\\\n return stream;\\\\n}\\\\n\\\\ntXml.transformStream = function (offset) {\\\\n // require through here, so it will not get added to webpack/browserify\\\\n const through2 = __webpack_require__(/*! through2 */ \\\\\\\"./node_modules/txml/node_modules/through2/through2.js\\\\\\\");\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n\\\\n var position = offset || 0;\\\\n var data = '';\\\\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if (!position) {\\\\n position = lastPos;\\\\n return callback();;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return callback();;\\\\n } else {\\\\n this.push(res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n callback();\\\\n });\\\\n\\\\n return stream;\\\\n}\\\\n\\\\nif (true) {\\\\n module.exports = tXml;\\\\n tXml.xml = tXml;\\\\n}\\\\n//console.clear();\\\\n//console.log('here:',tXml.getElementById('dadavalue','test'));\\\\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\\\\n\\\\n/*\\\\nconsole.clear();\\\\ntXml(d,'content');\\\\n //some testCode\\\\nvar s = document.body.innerHTML.toLowerCase();\\\\nvar start = new Date().getTime();\\\\nvar o = tXml(s,'content');\\\\nvar end = new Date().getTime();\\\\n//console.log(JSON.stringify(o,undefined,'\\\\\\\\t'));\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end-start);\\\\nvar nodeCount=document.querySelectorAll('*').length;\\\\nconsole.log('node count',nodeCount);\\\\nconsole.log(\\\\\\\"speed:\\\\\\\",(1000/(end-start))*nodeCount,'Nodes / second')\\\\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\\\\\\\t'));\\\\nvar p = new DOMParser();\\\\nvar s2=''+s+''\\\\nvar start2= new Date().getTime();\\\\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\\\\nvar end2=new Date().getTime();\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end2-start2);\\\\n// */\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/url/url.js\\\":\\n/*!*********************************!*\\\\\\n !*** ./node_modules/url/url.js ***!\\n \\\\*********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\nvar punycode = __webpack_require__(/*! punycode */ \\\\\\\"./node_modules/punycode/punycode.js\\\\\\\");\\\\nvar util = __webpack_require__(/*! ./util */ \\\\\\\"./node_modules/url/util.js\\\\\\\");\\\\n\\\\nexports.parse = urlParse;\\\\nexports.resolve = urlResolve;\\\\nexports.resolveObject = urlResolveObject;\\\\nexports.format = urlFormat;\\\\n\\\\nexports.Url = Url;\\\\n\\\\nfunction Url() {\\\\n this.protocol = null;\\\\n this.slashes = null;\\\\n this.auth = null;\\\\n this.host = null;\\\\n this.port = null;\\\\n this.hostname = null;\\\\n this.hash = null;\\\\n this.search = null;\\\\n this.query = null;\\\\n this.pathname = null;\\\\n this.path = null;\\\\n this.href = null;\\\\n}\\\\n\\\\n// Reference: RFC 3986, RFC 1808, RFC 2396\\\\n\\\\n// define these here so at least they only have to be\\\\n// compiled once on the first module load.\\\\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\\\\n portPattern = /:[0-9]*$/,\\\\n\\\\n // Special case for a simple path URL\\\\n simplePathPattern = /^(\\\\\\\\/\\\\\\\\/?(?!\\\\\\\\/)[^\\\\\\\\?\\\\\\\\s]*)(\\\\\\\\?[^\\\\\\\\s]*)?$/,\\\\n\\\\n // RFC 2396: characters reserved for delimiting URLs.\\\\n // We actually just auto-escape these.\\\\n delims = ['<', '>', '\\\\\\\"', '`', ' ', '\\\\\\\\r', '\\\\\\\\n', '\\\\\\\\t'],\\\\n\\\\n // RFC 2396: characters not allowed for various reasons.\\\\n unwise = ['{', '}', '|', '\\\\\\\\\\\\\\\\', '^', '`'].concat(delims),\\\\n\\\\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\\\\n autoEscape = ['\\\\\\\\''].concat(unwise),\\\\n // Characters that are never ever allowed in a hostname.\\\\n // Note that any invalid chars are also handled, but these\\\\n // are the ones that are *expected* to be seen, so we fast-path\\\\n // them.\\\\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\\\\n hostEndingChars = ['/', '?', '#'],\\\\n hostnameMaxLen = 255,\\\\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\\\\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\\\\n // protocols that can allow \\\\\\\"unsafe\\\\\\\" and \\\\\\\"unwise\\\\\\\" chars.\\\\n unsafeProtocol = {\\\\n 'javascript': true,\\\\n 'javascript:': true\\\\n },\\\\n // protocols that never have a hostname.\\\\n hostlessProtocol = {\\\\n 'javascript': true,\\\\n 'javascript:': true\\\\n },\\\\n // protocols that always contain a // bit.\\\\n slashedProtocol = {\\\\n 'http': true,\\\\n 'https': true,\\\\n 'ftp': true,\\\\n 'gopher': true,\\\\n 'file': true,\\\\n 'http:': true,\\\\n 'https:': true,\\\\n 'ftp:': true,\\\\n 'gopher:': true,\\\\n 'file:': true\\\\n },\\\\n querystring = __webpack_require__(/*! querystring */ \\\\\\\"./node_modules/querystring-es3/index.js\\\\\\\");\\\\n\\\\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\\\\n if (url && util.isObject(url) && url instanceof Url) return url;\\\\n\\\\n var u = new Url;\\\\n u.parse(url, parseQueryString, slashesDenoteHost);\\\\n return u;\\\\n}\\\\n\\\\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\\\\n if (!util.isString(url)) {\\\\n throw new TypeError(\\\\\\\"Parameter 'url' must be a string, not \\\\\\\" + typeof url);\\\\n }\\\\n\\\\n // Copy chrome, IE, opera backslash-handling behavior.\\\\n // Back slashes before the query string get converted to forward slashes\\\\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\\\\n var queryIndex = url.indexOf('?'),\\\\n splitter =\\\\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\\\\n uSplit = url.split(splitter),\\\\n slashRegex = /\\\\\\\\\\\\\\\\/g;\\\\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\\\\n url = uSplit.join(splitter);\\\\n\\\\n var rest = url;\\\\n\\\\n // trim before proceeding.\\\\n // This is to support parse stuff like \\\\\\\" http://foo.com \\\\\\\\n\\\\\\\"\\\\n rest = rest.trim();\\\\n\\\\n if (!slashesDenoteHost && url.split('#').length === 1) {\\\\n // Try fast path regexp\\\\n var simplePath = simplePathPattern.exec(rest);\\\\n if (simplePath) {\\\\n this.path = rest;\\\\n this.href = rest;\\\\n this.pathname = simplePath[1];\\\\n if (simplePath[2]) {\\\\n this.search = simplePath[2];\\\\n if (parseQueryString) {\\\\n this.query = querystring.parse(this.search.substr(1));\\\\n } else {\\\\n this.query = this.search.substr(1);\\\\n }\\\\n } else if (parseQueryString) {\\\\n this.search = '';\\\\n this.query = {};\\\\n }\\\\n return this;\\\\n }\\\\n }\\\\n\\\\n var proto = protocolPattern.exec(rest);\\\\n if (proto) {\\\\n proto = proto[0];\\\\n var lowerProto = proto.toLowerCase();\\\\n this.protocol = lowerProto;\\\\n rest = rest.substr(proto.length);\\\\n }\\\\n\\\\n // figure out if it's got a host\\\\n // user@server is *always* interpreted as a hostname, and url\\\\n // resolution will treat //foo/bar as host=foo,path=bar because that's\\\\n // how the browser resolves relative URLs.\\\\n if (slashesDenoteHost || proto || rest.match(/^\\\\\\\\/\\\\\\\\/[^@\\\\\\\\/]+@[^@\\\\\\\\/]+/)) {\\\\n var slashes = rest.substr(0, 2) === '//';\\\\n if (slashes && !(proto && hostlessProtocol[proto])) {\\\\n rest = rest.substr(2);\\\\n this.slashes = true;\\\\n }\\\\n }\\\\n\\\\n if (!hostlessProtocol[proto] &&\\\\n (slashes || (proto && !slashedProtocol[proto]))) {\\\\n\\\\n // there's a hostname.\\\\n // the first instance of /, ?, ;, or # ends the host.\\\\n //\\\\n // If there is an @ in the hostname, then non-host chars *are* allowed\\\\n // to the left of the last @ sign, unless some host-ending character\\\\n // comes *before* the @-sign.\\\\n // URLs are obnoxious.\\\\n //\\\\n // ex:\\\\n // http://a@b@c/ => user:a@b host:c\\\\n // http://a@b?@c => user:a host:c path:/?@c\\\\n\\\\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\\\\n // Review our test case against browsers more comprehensively.\\\\n\\\\n // find the first instance of any hostEndingChars\\\\n var hostEnd = -1;\\\\n for (var i = 0; i < hostEndingChars.length; i++) {\\\\n var hec = rest.indexOf(hostEndingChars[i]);\\\\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\\\\n hostEnd = hec;\\\\n }\\\\n\\\\n // at this point, either we have an explicit point where the\\\\n // auth portion cannot go past, or the last @ char is the decider.\\\\n var auth, atSign;\\\\n if (hostEnd === -1) {\\\\n // atSign can be anywhere.\\\\n atSign = rest.lastIndexOf('@');\\\\n } else {\\\\n // atSign must be in auth portion.\\\\n // http://a@b/c@d => host:b auth:a path:/c@d\\\\n atSign = rest.lastIndexOf('@', hostEnd);\\\\n }\\\\n\\\\n // Now we have a portion which is definitely the auth.\\\\n // Pull that off.\\\\n if (atSign !== -1) {\\\\n auth = rest.slice(0, atSign);\\\\n rest = rest.slice(atSign + 1);\\\\n this.auth = decodeURIComponent(auth);\\\\n }\\\\n\\\\n // the host is the remaining to the left of the first non-host char\\\\n hostEnd = -1;\\\\n for (var i = 0; i < nonHostChars.length; i++) {\\\\n var hec = rest.indexOf(nonHostChars[i]);\\\\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\\\\n hostEnd = hec;\\\\n }\\\\n // if we still have not hit it, then the entire thing is a host.\\\\n if (hostEnd === -1)\\\\n hostEnd = rest.length;\\\\n\\\\n this.host = rest.slice(0, hostEnd);\\\\n rest = rest.slice(hostEnd);\\\\n\\\\n // pull out port.\\\\n this.parseHost();\\\\n\\\\n // we've indicated that there is a hostname,\\\\n // so even if it's empty, it has to be present.\\\\n this.hostname = this.hostname || '';\\\\n\\\\n // if hostname begins with [ and ends with ]\\\\n // assume that it's an IPv6 address.\\\\n var ipv6Hostname = this.hostname[0] === '[' &&\\\\n this.hostname[this.hostname.length - 1] === ']';\\\\n\\\\n // validate a little.\\\\n if (!ipv6Hostname) {\\\\n var hostparts = this.hostname.split(/\\\\\\\\./);\\\\n for (var i = 0, l = hostparts.length; i < l; i++) {\\\\n var part = hostparts[i];\\\\n if (!part) continue;\\\\n if (!part.match(hostnamePartPattern)) {\\\\n var newpart = '';\\\\n for (var j = 0, k = part.length; j < k; j++) {\\\\n if (part.charCodeAt(j) > 127) {\\\\n // we replace non-ASCII char with a temporary placeholder\\\\n // we need this to make sure size of hostname is not\\\\n // broken by replacing non-ASCII by nothing\\\\n newpart += 'x';\\\\n } else {\\\\n newpart += part[j];\\\\n }\\\\n }\\\\n // we test again with ASCII char only\\\\n if (!newpart.match(hostnamePartPattern)) {\\\\n var validParts = hostparts.slice(0, i);\\\\n var notHost = hostparts.slice(i + 1);\\\\n var bit = part.match(hostnamePartStart);\\\\n if (bit) {\\\\n validParts.push(bit[1]);\\\\n notHost.unshift(bit[2]);\\\\n }\\\\n if (notHost.length) {\\\\n rest = '/' + notHost.join('.') + rest;\\\\n }\\\\n this.hostname = validParts.join('.');\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n if (this.hostname.length > hostnameMaxLen) {\\\\n this.hostname = '';\\\\n } else {\\\\n // hostnames are always lower case.\\\\n this.hostname = this.hostname.toLowerCase();\\\\n }\\\\n\\\\n if (!ipv6Hostname) {\\\\n // IDNA Support: Returns a punycoded representation of \\\\\\\"domain\\\\\\\".\\\\n // It only converts parts of the domain name that\\\\n // have non-ASCII characters, i.e. it doesn't matter if\\\\n // you call it with a domain that already is ASCII-only.\\\\n this.hostname = punycode.toASCII(this.hostname);\\\\n }\\\\n\\\\n var p = this.port ? ':' + this.port : '';\\\\n var h = this.hostname || '';\\\\n this.host = h + p;\\\\n this.href += this.host;\\\\n\\\\n // strip [ and ] from the hostname\\\\n // the host field still retains them, though\\\\n if (ipv6Hostname) {\\\\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\\\\n if (rest[0] !== '/') {\\\\n rest = '/' + rest;\\\\n }\\\\n }\\\\n }\\\\n\\\\n // now rest is set to the post-host stuff.\\\\n // chop off any delim chars.\\\\n if (!unsafeProtocol[lowerProto]) {\\\\n\\\\n // First, make 100% sure that any \\\\\\\"autoEscape\\\\\\\" chars get\\\\n // escaped, even if encodeURIComponent doesn't think they\\\\n // need to be.\\\\n for (var i = 0, l = autoEscape.length; i < l; i++) {\\\\n var ae = autoEscape[i];\\\\n if (rest.indexOf(ae) === -1)\\\\n continue;\\\\n var esc = encodeURIComponent(ae);\\\\n if (esc === ae) {\\\\n esc = escape(ae);\\\\n }\\\\n rest = rest.split(ae).join(esc);\\\\n }\\\\n }\\\\n\\\\n\\\\n // chop off from the tail first.\\\\n var hash = rest.indexOf('#');\\\\n if (hash !== -1) {\\\\n // got a fragment string.\\\\n this.hash = rest.substr(hash);\\\\n rest = rest.slice(0, hash);\\\\n }\\\\n var qm = rest.indexOf('?');\\\\n if (qm !== -1) {\\\\n this.search = rest.substr(qm);\\\\n this.query = rest.substr(qm + 1);\\\\n if (parseQueryString) {\\\\n this.query = querystring.parse(this.query);\\\\n }\\\\n rest = rest.slice(0, qm);\\\\n } else if (parseQueryString) {\\\\n // no query string, but parseQueryString still requested\\\\n this.search = '';\\\\n this.query = {};\\\\n }\\\\n if (rest) this.pathname = rest;\\\\n if (slashedProtocol[lowerProto] &&\\\\n this.hostname && !this.pathname) {\\\\n this.pathname = '/';\\\\n }\\\\n\\\\n //to support http.request\\\\n if (this.pathname || this.search) {\\\\n var p = this.pathname || '';\\\\n var s = this.search || '';\\\\n this.path = p + s;\\\\n }\\\\n\\\\n // finally, reconstruct the href based on what has been validated.\\\\n this.href = this.format();\\\\n return this;\\\\n};\\\\n\\\\n// format a parsed object into a url string\\\\nfunction urlFormat(obj) {\\\\n // ensure it's an object, and not a string url.\\\\n // If it's an obj, this is a no-op.\\\\n // this way, you can call url_format() on strings\\\\n // to clean up potentially wonky urls.\\\\n if (util.isString(obj)) obj = urlParse(obj);\\\\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\\\\n return obj.format();\\\\n}\\\\n\\\\nUrl.prototype.format = function() {\\\\n var auth = this.auth || '';\\\\n if (auth) {\\\\n auth = encodeURIComponent(auth);\\\\n auth = auth.replace(/%3A/i, ':');\\\\n auth += '@';\\\\n }\\\\n\\\\n var protocol = this.protocol || '',\\\\n pathname = this.pathname || '',\\\\n hash = this.hash || '',\\\\n host = false,\\\\n query = '';\\\\n\\\\n if (this.host) {\\\\n host = auth + this.host;\\\\n } else if (this.hostname) {\\\\n host = auth + (this.hostname.indexOf(':') === -1 ?\\\\n this.hostname :\\\\n '[' + this.hostname + ']');\\\\n if (this.port) {\\\\n host += ':' + this.port;\\\\n }\\\\n }\\\\n\\\\n if (this.query &&\\\\n util.isObject(this.query) &&\\\\n Object.keys(this.query).length) {\\\\n query = querystring.stringify(this.query);\\\\n }\\\\n\\\\n var search = this.search || (query && ('?' + query)) || '';\\\\n\\\\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\\\\n\\\\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\\\\n // unless they had them to begin with.\\\\n if (this.slashes ||\\\\n (!protocol || slashedProtocol[protocol]) && host !== false) {\\\\n host = '//' + (host || '');\\\\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\\\\n } else if (!host) {\\\\n host = '';\\\\n }\\\\n\\\\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\\\\n if (search && search.charAt(0) !== '?') search = '?' + search;\\\\n\\\\n pathname = pathname.replace(/[?#]/g, function(match) {\\\\n return encodeURIComponent(match);\\\\n });\\\\n search = search.replace('#', '%23');\\\\n\\\\n return protocol + host + pathname + search + hash;\\\\n};\\\\n\\\\nfunction urlResolve(source, relative) {\\\\n return urlParse(source, false, true).resolve(relative);\\\\n}\\\\n\\\\nUrl.prototype.resolve = function(relative) {\\\\n return this.resolveObject(urlParse(relative, false, true)).format();\\\\n};\\\\n\\\\nfunction urlResolveObject(source, relative) {\\\\n if (!source) return relative;\\\\n return urlParse(source, false, true).resolveObject(relative);\\\\n}\\\\n\\\\nUrl.prototype.resolveObject = function(relative) {\\\\n if (util.isString(relative)) {\\\\n var rel = new Url();\\\\n rel.parse(relative, false, true);\\\\n relative = rel;\\\\n }\\\\n\\\\n var result = new Url();\\\\n var tkeys = Object.keys(this);\\\\n for (var tk = 0; tk < tkeys.length; tk++) {\\\\n var tkey = tkeys[tk];\\\\n result[tkey] = this[tkey];\\\\n }\\\\n\\\\n // hash is always overridden, no matter what.\\\\n // even href=\\\\\\\"\\\\\\\" will remove it.\\\\n result.hash = relative.hash;\\\\n\\\\n // if the relative url is empty, then there's nothing left to do here.\\\\n if (relative.href === '') {\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n // hrefs like //foo/bar always cut to the protocol.\\\\n if (relative.slashes && !relative.protocol) {\\\\n // take everything except the protocol from relative\\\\n var rkeys = Object.keys(relative);\\\\n for (var rk = 0; rk < rkeys.length; rk++) {\\\\n var rkey = rkeys[rk];\\\\n if (rkey !== 'protocol')\\\\n result[rkey] = relative[rkey];\\\\n }\\\\n\\\\n //urlParse appends trailing / to urls like http://www.example.com\\\\n if (slashedProtocol[result.protocol] &&\\\\n result.hostname && !result.pathname) {\\\\n result.path = result.pathname = '/';\\\\n }\\\\n\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n if (relative.protocol && relative.protocol !== result.protocol) {\\\\n // if it's a known url protocol, then changing\\\\n // the protocol does weird things\\\\n // first, if it's not file:, then we MUST have a host,\\\\n // and if there was a path\\\\n // to begin with, then we MUST have a path.\\\\n // if it is file:, then the host is dropped,\\\\n // because that's known to be hostless.\\\\n // anything else is assumed to be absolute.\\\\n if (!slashedProtocol[relative.protocol]) {\\\\n var keys = Object.keys(relative);\\\\n for (var v = 0; v < keys.length; v++) {\\\\n var k = keys[v];\\\\n result[k] = relative[k];\\\\n }\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n result.protocol = relative.protocol;\\\\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\\\\n var relPath = (relative.pathname || '').split('/');\\\\n while (relPath.length && !(relative.host = relPath.shift()));\\\\n if (!relative.host) relative.host = '';\\\\n if (!relative.hostname) relative.hostname = '';\\\\n if (relPath[0] !== '') relPath.unshift('');\\\\n if (relPath.length < 2) relPath.unshift('');\\\\n result.pathname = relPath.join('/');\\\\n } else {\\\\n result.pathname = relative.pathname;\\\\n }\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n result.host = relative.host || '';\\\\n result.auth = relative.auth;\\\\n result.hostname = relative.hostname || relative.host;\\\\n result.port = relative.port;\\\\n // to support http.request\\\\n if (result.pathname || result.search) {\\\\n var p = result.pathname || '';\\\\n var s = result.search || '';\\\\n result.path = p + s;\\\\n }\\\\n result.slashes = result.slashes || relative.slashes;\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\\\\n isRelAbs = (\\\\n relative.host ||\\\\n relative.pathname && relative.pathname.charAt(0) === '/'\\\\n ),\\\\n mustEndAbs = (isRelAbs || isSourceAbs ||\\\\n (result.host && relative.pathname)),\\\\n removeAllDots = mustEndAbs,\\\\n srcPath = result.pathname && result.pathname.split('/') || [],\\\\n relPath = relative.pathname && relative.pathname.split('/') || [],\\\\n psychotic = result.protocol && !slashedProtocol[result.protocol];\\\\n\\\\n // if the url is a non-slashed url, then relative\\\\n // links like ../.. should be able\\\\n // to crawl up to the hostname, as well. This is strange.\\\\n // result.protocol has already been set by now.\\\\n // Later on, put the first path part into the host field.\\\\n if (psychotic) {\\\\n result.hostname = '';\\\\n result.port = null;\\\\n if (result.host) {\\\\n if (srcPath[0] === '') srcPath[0] = result.host;\\\\n else srcPath.unshift(result.host);\\\\n }\\\\n result.host = '';\\\\n if (relative.protocol) {\\\\n relative.hostname = null;\\\\n relative.port = null;\\\\n if (relative.host) {\\\\n if (relPath[0] === '') relPath[0] = relative.host;\\\\n else relPath.unshift(relative.host);\\\\n }\\\\n relative.host = null;\\\\n }\\\\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\\\\n }\\\\n\\\\n if (isRelAbs) {\\\\n // it's absolute.\\\\n result.host = (relative.host || relative.host === '') ?\\\\n relative.host : result.host;\\\\n result.hostname = (relative.hostname || relative.hostname === '') ?\\\\n relative.hostname : result.hostname;\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n srcPath = relPath;\\\\n // fall through to the dot-handling below.\\\\n } else if (relPath.length) {\\\\n // it's relative\\\\n // throw away the existing file, and take the new path instead.\\\\n if (!srcPath) srcPath = [];\\\\n srcPath.pop();\\\\n srcPath = srcPath.concat(relPath);\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n } else if (!util.isNullOrUndefined(relative.search)) {\\\\n // just pull out the search.\\\\n // like href='?foo'.\\\\n // Put this after the other two cases because it simplifies the booleans\\\\n if (psychotic) {\\\\n result.hostname = result.host = srcPath.shift();\\\\n //occationaly the auth can get stuck only in host\\\\n //this especially happens in cases like\\\\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\\\\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\\\\n result.host.split('@') : false;\\\\n if (authInHost) {\\\\n result.auth = authInHost.shift();\\\\n result.host = result.hostname = authInHost.shift();\\\\n }\\\\n }\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n //to support http.request\\\\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\\\\n result.path = (result.pathname ? result.pathname : '') +\\\\n (result.search ? result.search : '');\\\\n }\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n if (!srcPath.length) {\\\\n // no path at all. easy.\\\\n // we've already handled the other stuff above.\\\\n result.pathname = null;\\\\n //to support http.request\\\\n if (result.search) {\\\\n result.path = '/' + result.search;\\\\n } else {\\\\n result.path = null;\\\\n }\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n // if a url ENDs in . or .., then it must get a trailing slash.\\\\n // however, if it ends in anything else non-slashy,\\\\n // then it must NOT get a trailing slash.\\\\n var last = srcPath.slice(-1)[0];\\\\n var hasTrailingSlash = (\\\\n (result.host || relative.host || srcPath.length > 1) &&\\\\n (last === '.' || last === '..') || last === '');\\\\n\\\\n // strip single dots, resolve double dots to parent dir\\\\n // if the path tries to go above the root, `up` ends up > 0\\\\n var up = 0;\\\\n for (var i = srcPath.length; i >= 0; i--) {\\\\n last = srcPath[i];\\\\n if (last === '.') {\\\\n srcPath.splice(i, 1);\\\\n } else if (last === '..') {\\\\n srcPath.splice(i, 1);\\\\n up++;\\\\n } else if (up) {\\\\n srcPath.splice(i, 1);\\\\n up--;\\\\n }\\\\n }\\\\n\\\\n // if the path is allowed to go above the root, restore leading ..s\\\\n if (!mustEndAbs && !removeAllDots) {\\\\n for (; up--; up) {\\\\n srcPath.unshift('..');\\\\n }\\\\n }\\\\n\\\\n if (mustEndAbs && srcPath[0] !== '' &&\\\\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\\\\n srcPath.unshift('');\\\\n }\\\\n\\\\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\\\\n srcPath.push('');\\\\n }\\\\n\\\\n var isAbsolute = srcPath[0] === '' ||\\\\n (srcPath[0] && srcPath[0].charAt(0) === '/');\\\\n\\\\n // put the host back\\\\n if (psychotic) {\\\\n result.hostname = result.host = isAbsolute ? '' :\\\\n srcPath.length ? srcPath.shift() : '';\\\\n //occationaly the auth can get stuck only in host\\\\n //this especially happens in cases like\\\\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\\\\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\\\\n result.host.split('@') : false;\\\\n if (authInHost) {\\\\n result.auth = authInHost.shift();\\\\n result.host = result.hostname = authInHost.shift();\\\\n }\\\\n }\\\\n\\\\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\\\\n\\\\n if (mustEndAbs && !isAbsolute) {\\\\n srcPath.unshift('');\\\\n }\\\\n\\\\n if (!srcPath.length) {\\\\n result.pathname = null;\\\\n result.path = null;\\\\n } else {\\\\n result.pathname = srcPath.join('/');\\\\n }\\\\n\\\\n //to support request.http\\\\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\\\\n result.path = (result.pathname ? result.pathname : '') +\\\\n (result.search ? result.search : '');\\\\n }\\\\n result.auth = relative.auth || result.auth;\\\\n result.slashes = result.slashes || relative.slashes;\\\\n result.href = result.format();\\\\n return result;\\\\n};\\\\n\\\\nUrl.prototype.parseHost = function() {\\\\n var host = this.host;\\\\n var port = portPattern.exec(host);\\\\n if (port) {\\\\n port = port[0];\\\\n if (port !== ':') {\\\\n this.port = port.substr(1);\\\\n }\\\\n host = host.substr(0, host.length - port.length);\\\\n }\\\\n if (host) this.hostname = host;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/url/url.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/url/util.js\\\":\\n/*!**********************************!*\\\\\\n !*** ./node_modules/url/util.js ***!\\n \\\\**********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nmodule.exports = {\\\\n isString: function(arg) {\\\\n return typeof(arg) === 'string';\\\\n },\\\\n isObject: function(arg) {\\\\n return typeof(arg) === 'object' && arg !== null;\\\\n },\\\\n isNull: function(arg) {\\\\n return arg === null;\\\\n },\\\\n isNullOrUndefined: function(arg) {\\\\n return arg == null;\\\\n }\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/url/util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/util-deprecate/browser.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/util-deprecate/browser.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global) {\\\\n/**\\\\n * Module exports.\\\\n */\\\\n\\\\nmodule.exports = deprecate;\\\\n\\\\n/**\\\\n * Mark that a method should not be used.\\\\n * Returns a modified function which warns once by default.\\\\n *\\\\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\\\\n *\\\\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\\\\n * will throw an Error when invoked.\\\\n *\\\\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\\\\n * will invoke `console.trace()` instead of `console.error()`.\\\\n *\\\\n * @param {Function} fn - the function to deprecate\\\\n * @param {String} msg - the string to print to the console when `fn` is invoked\\\\n * @returns {Function} a new \\\\\\\"deprecated\\\\\\\" version of `fn`\\\\n * @api public\\\\n */\\\\n\\\\nfunction deprecate (fn, msg) {\\\\n if (config('noDeprecation')) {\\\\n return fn;\\\\n }\\\\n\\\\n var warned = false;\\\\n function deprecated() {\\\\n if (!warned) {\\\\n if (config('throwDeprecation')) {\\\\n throw new Error(msg);\\\\n } else if (config('traceDeprecation')) {\\\\n console.trace(msg);\\\\n } else {\\\\n console.warn(msg);\\\\n }\\\\n warned = true;\\\\n }\\\\n return fn.apply(this, arguments);\\\\n }\\\\n\\\\n return deprecated;\\\\n}\\\\n\\\\n/**\\\\n * Checks `localStorage` for boolean values for the given `name`.\\\\n *\\\\n * @param {String} name\\\\n * @returns {Boolean}\\\\n * @api private\\\\n */\\\\n\\\\nfunction config (name) {\\\\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\\\\n try {\\\\n if (!global.localStorage) return false;\\\\n } catch (_) {\\\\n return false;\\\\n }\\\\n var val = global.localStorage[name];\\\\n if (null == val) return false;\\\\n return String(val).toLowerCase() === 'true';\\\\n}\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/util-deprecate/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/webpack/buildin/global.js\\\":\\n/*!***********************************!*\\\\\\n !*** (webpack)/buildin/global.js ***!\\n \\\\***********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"var g;\\\\n\\\\n// This works in non-strict mode\\\\ng = (function() {\\\\n\\\\treturn this;\\\\n})();\\\\n\\\\ntry {\\\\n\\\\t// This works if eval is allowed (see CSP)\\\\n\\\\tg = g || new Function(\\\\\\\"return this\\\\\\\")();\\\\n} catch (e) {\\\\n\\\\t// This works if the window reference is available\\\\n\\\\tif (typeof window === \\\\\\\"object\\\\\\\") g = window;\\\\n}\\\\n\\\\n// g can still be undefined, but nothing to do about it...\\\\n// We return undefined, instead of nothing here, so it's\\\\n// easier to handle this case. if(!global) { ...}\\\\n\\\\nmodule.exports = g;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/(webpack)/buildin/global.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/webpack/buildin/module.js\\\":\\n/*!***********************************!*\\\\\\n !*** (webpack)/buildin/module.js ***!\\n \\\\***********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = function(module) {\\\\n\\\\tif (!module.webpackPolyfill) {\\\\n\\\\t\\\\tmodule.deprecate = function() {};\\\\n\\\\t\\\\tmodule.paths = [];\\\\n\\\\t\\\\t// module.parent = undefined by default\\\\n\\\\t\\\\tif (!module.children) module.children = [];\\\\n\\\\t\\\\tObject.defineProperty(module, \\\\\\\"loaded\\\\\\\", {\\\\n\\\\t\\\\t\\\\tenumerable: true,\\\\n\\\\t\\\\t\\\\tget: function() {\\\\n\\\\t\\\\t\\\\t\\\\treturn module.l;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\t\\\\tObject.defineProperty(module, \\\\\\\"id\\\\\\\", {\\\\n\\\\t\\\\t\\\\tenumerable: true,\\\\n\\\\t\\\\t\\\\tget: function() {\\\\n\\\\t\\\\t\\\\t\\\\treturn module.i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\t\\\\tmodule.webpackPolyfill = 1;\\\\n\\\\t}\\\\n\\\\treturn module;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/(webpack)/buildin/module.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/xtend/immutable.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/xtend/immutable.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = extend\\\\n\\\\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\\\\n\\\\nfunction extend() {\\\\n var target = {}\\\\n\\\\n for (var i = 0; i < arguments.length; i++) {\\\\n var source = arguments[i]\\\\n\\\\n for (var key in source) {\\\\n if (hasOwnProperty.call(source, key)) {\\\\n target[key] = source[key]\\\\n }\\\\n }\\\\n }\\\\n\\\\n return target\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/xtend/immutable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/parseData.js\\\":\\n/*!**************************!*\\\\\\n !*** ./src/parseData.js ***!\\n \\\\**************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nObject.defineProperty(exports, \\\\\\\"__esModule\\\\\\\", {\\\\n value: true\\\\n});\\\\n\\\\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\\\\\\\"return\\\\\\\"]) _i[\\\\\\\"return\\\\\\\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\\\\\\\"Invalid attempt to destructure non-iterable instance\\\\\\\"); } }; }();\\\\n\\\\nvar _typeof = typeof Symbol === \\\\\\\"function\\\\\\\" && typeof Symbol.iterator === \\\\\\\"symbol\\\\\\\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \\\\\\\"function\\\\\\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\\\\\\"symbol\\\\\\\" : typeof obj; };\\\\n\\\\nexports.default = parseData;\\\\n\\\\nvar _geotiff = __webpack_require__(/*! geotiff */ \\\\\\\"./node_modules/geotiff/src/geotiff.js\\\\\\\");\\\\n\\\\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \\\\\\\"./node_modules/geotiff-palette/index.js\\\\\\\");\\\\n\\\\nvar _utils = __webpack_require__(/*! ./utils.js */ \\\\\\\"./src/utils.js\\\\\\\");\\\\n\\\\nfunction processResult(result, debug) {\\\\n var noDataValue = result.noDataValue;\\\\n var height = result.height;\\\\n var width = result.width;\\\\n\\\\n return new Promise(function (resolve, reject) {\\\\n result.maxs = [];\\\\n result.mins = [];\\\\n result.ranges = [];\\\\n\\\\n var max = void 0;var min = void 0;\\\\n\\\\n // console.log(\\\\\\\"starting to get min, max and ranges\\\\\\\");\\\\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\\\\n var rows = result.values[rasterIndex];\\\\n if (debug) console.log('[georaster] rows:', rows);\\\\n\\\\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\\\\n var row = rows[rowIndex];\\\\n\\\\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\\\\n var value = row[columnIndex];\\\\n if (value != noDataValue && !isNaN(value)) {\\\\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\\\\n }\\\\n }\\\\n }\\\\n\\\\n result.maxs.push(max);\\\\n result.mins.push(min);\\\\n result.ranges.push(max - min);\\\\n }\\\\n\\\\n resolve(result);\\\\n });\\\\n}\\\\n\\\\n/* We're not using async because trying to avoid dependency on babel's polyfill\\\\nThere can be conflicts when GeoRaster is used in another project that is also\\\\nusing @babel/polyfill */\\\\nfunction parseData(data, debug) {\\\\n return new Promise(function (resolve, reject) {\\\\n try {\\\\n if (debug) console.log('starting parseData with', data);\\\\n if (debug) console.log('\\\\\\\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\\\\n\\\\n var result = {};\\\\n\\\\n var height = void 0,\\\\n width = void 0;\\\\n\\\\n if (data.rasterType === 'object') {\\\\n result.values = data.data;\\\\n result.height = height = data.metadata.height || result.values[0].length;\\\\n result.width = width = data.metadata.width || result.values[0][0].length;\\\\n result.pixelHeight = data.metadata.pixelHeight;\\\\n result.pixelWidth = data.metadata.pixelWidth;\\\\n result.projection = data.metadata.projection;\\\\n result.xmin = data.metadata.xmin;\\\\n result.ymax = data.metadata.ymax;\\\\n result.noDataValue = data.metadata.noDataValue;\\\\n result.numberOfRasters = result.values.length;\\\\n result.xmax = result.xmin + result.width * result.pixelWidth;\\\\n result.ymin = result.ymax - result.height * result.pixelHeight;\\\\n result._data = null;\\\\n resolve(processResult(result));\\\\n } else if (data.rasterType === 'geotiff') {\\\\n result._data = data.data;\\\\n\\\\n var initFunction = _geotiff.fromArrayBuffer;\\\\n if (data.sourceType === 'url') {\\\\n initFunction = _geotiff.fromUrl;\\\\n }\\\\n\\\\n if (debug) console.log('data.rasterType is geotiff');\\\\n resolve(initFunction(data.data).then(function (geotiff) {\\\\n if (debug) console.log('geotiff:', geotiff);\\\\n return geotiff.getImage().then(function (image) {\\\\n try {\\\\n if (debug) console.log('image:', image);\\\\n\\\\n var fileDirectory = image.fileDirectory;\\\\n\\\\n var _image$getGeoKeys = image.getGeoKeys(),\\\\n GeographicTypeGeoKey = _image$getGeoKeys.GeographicTypeGeoKey,\\\\n ProjectedCSTypeGeoKey = _image$getGeoKeys.ProjectedCSTypeGeoKey;\\\\n\\\\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey;\\\\n if (debug) console.log('projection:', result.projection);\\\\n\\\\n result.height = height = image.getHeight();\\\\n if (debug) console.log('result.height:', result.height);\\\\n result.width = width = image.getWidth();\\\\n if (debug) console.log('result.width:', result.width);\\\\n\\\\n var _image$getResolution = image.getResolution(),\\\\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\\\\n resolutionX = _image$getResolution2[0],\\\\n resolutionY = _image$getResolution2[1];\\\\n\\\\n result.pixelHeight = Math.abs(resolutionY);\\\\n result.pixelWidth = Math.abs(resolutionX);\\\\n\\\\n var _image$getOrigin = image.getOrigin(),\\\\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\\\\n originX = _image$getOrigin2[0],\\\\n originY = _image$getOrigin2[1];\\\\n\\\\n result.xmin = originX;\\\\n result.xmax = result.xmin + width * result.pixelWidth;\\\\n result.ymax = originY;\\\\n result.ymin = result.ymax - height * result.pixelHeight;\\\\n\\\\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\\\\n\\\\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\\\\n\\\\n if (fileDirectory.ColorMap) {\\\\n result.palette = (0, _geotiffPalette.getPalette)(image);\\\\n }\\\\n\\\\n if (data.sourceType !== 'url') {\\\\n return image.readRasters().then(function (rasters) {\\\\n result.values = rasters.map(function (valuesInOneDimension) {\\\\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\\\\n });\\\\n return processResult(result);\\\\n });\\\\n } else {\\\\n return result;\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n }));\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/utils.js\\\":\\n/*!**********************!*\\\\\\n !*** ./src/utils.js ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction countIn1D(array) {\\\\n return array.reduce(function (counts, value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\nfunction countIn2D(rows) {\\\\n return rows.reduce(function (counts, values) {\\\\n values.forEach(function (value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n });\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\n/*\\\\nTakes in a flattened one dimensional array\\\\nrepresenting two-dimensional pixel values\\\\nand returns an array of arrays.\\\\n*/\\\\nfunction unflatten(valuesInOneDimension, size) {\\\\n var height = size.height,\\\\n width = size.width;\\\\n\\\\n var valuesInTwoDimensions = [];\\\\n for (var y = 0; y < height; y++) {\\\\n var start = y * width;\\\\n var end = start + width;\\\\n valuesInTwoDimensions.push(valuesInOneDimension.slice(start, end));\\\\n }\\\\n return valuesInTwoDimensions;\\\\n}\\\\n\\\\nmodule.exports = { countIn1D: countIn1D, countIn2D: countIn2D, unflatten: unflatten };\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/worker.js\\\":\\n/*!***********************!*\\\\\\n !*** ./src/worker.js ***!\\n \\\\***********************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parseData.js */ \\\\\\\"./src/parseData.js\\\\\\\");\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_parseData_js__WEBPACK_IMPORTED_MODULE_0__);\\\\n\\\\n\\\\n// this is a bit of a hack to trick geotiff to work with web worker\\\\n// eslint-disable-next-line no-unused-vars\\\\nconst window = self;\\\\n\\\\nonmessage = e => {\\\\n const data = e.data;\\\\n _parseData_js__WEBPACK_IMPORTED_MODULE_0___default()(data).then(result => {\\\\n if (result._data instanceof ArrayBuffer) {\\\\n postMessage(result, [result._data]);\\\\n } else {\\\\n postMessage(result);\\\\n }\\\\n close();\\\\n });\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/worker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ 0:\\n/*!**********************!*\\\\\\n !*** util (ignored) ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/* (ignored) */\\\\n\\\\n//# sourceURL=webpack://GeoRaster/util_(ignored)?\\\");\\n\\n/***/ }),\\n\\n/***/ 1:\\n/*!**********************!*\\\\\\n !*** util (ignored) ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/* (ignored) */\\\\n\\\\n//# sourceURL=webpack://GeoRaster/util_(ignored)?\\\");\\n\\n/***/ })\\n\\n/******/ });\",null);};\n\n//# sourceURL=webpack://GeoRaster/./src/worker.js?"); +eval("module.exports=function(){return __webpack_require__(/*! !./node_modules/worker-loader/dist/workers/InlineWorker.js */ \"./node_modules/worker-loader/dist/workers/InlineWorker.js\")(\"/******/ (function(modules) { // webpackBootstrap\\n/******/ \\t// The module cache\\n/******/ \\tvar installedModules = {};\\n/******/\\n/******/ \\t// The require function\\n/******/ \\tfunction __webpack_require__(moduleId) {\\n/******/\\n/******/ \\t\\t// Check if module is in cache\\n/******/ \\t\\tif(installedModules[moduleId]) {\\n/******/ \\t\\t\\treturn installedModules[moduleId].exports;\\n/******/ \\t\\t}\\n/******/ \\t\\t// Create a new module (and put it into the cache)\\n/******/ \\t\\tvar module = installedModules[moduleId] = {\\n/******/ \\t\\t\\ti: moduleId,\\n/******/ \\t\\t\\tl: false,\\n/******/ \\t\\t\\texports: {}\\n/******/ \\t\\t};\\n/******/\\n/******/ \\t\\t// Execute the module function\\n/******/ \\t\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\n/******/\\n/******/ \\t\\t// Flag the module as loaded\\n/******/ \\t\\tmodule.l = true;\\n/******/\\n/******/ \\t\\t// Return the exports of the module\\n/******/ \\t\\treturn module.exports;\\n/******/ \\t}\\n/******/\\n/******/\\n/******/ \\t// expose the modules object (__webpack_modules__)\\n/******/ \\t__webpack_require__.m = modules;\\n/******/\\n/******/ \\t// expose the module cache\\n/******/ \\t__webpack_require__.c = installedModules;\\n/******/\\n/******/ \\t// define getter function for harmony exports\\n/******/ \\t__webpack_require__.d = function(exports, name, getter) {\\n/******/ \\t\\tif(!__webpack_require__.o(exports, name)) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\n/******/ \\t\\t}\\n/******/ \\t};\\n/******/\\n/******/ \\t// define __esModule on exports\\n/******/ \\t__webpack_require__.r = function(exports) {\\n/******/ \\t\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\n/******/ \\t\\t}\\n/******/ \\t\\tObject.defineProperty(exports, '__esModule', { value: true });\\n/******/ \\t};\\n/******/\\n/******/ \\t// create a fake namespace object\\n/******/ \\t// mode & 1: value is a module id, require it\\n/******/ \\t// mode & 2: merge all properties of value into the ns\\n/******/ \\t// mode & 4: return value when already ns object\\n/******/ \\t// mode & 8|1: behave like require\\n/******/ \\t__webpack_require__.t = function(value, mode) {\\n/******/ \\t\\tif(mode & 1) value = __webpack_require__(value);\\n/******/ \\t\\tif(mode & 8) return value;\\n/******/ \\t\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\n/******/ \\t\\tvar ns = Object.create(null);\\n/******/ \\t\\t__webpack_require__.r(ns);\\n/******/ \\t\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\n/******/ \\t\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\n/******/ \\t\\treturn ns;\\n/******/ \\t};\\n/******/\\n/******/ \\t// getDefaultExport function for compatibility with non-harmony modules\\n/******/ \\t__webpack_require__.n = function(module) {\\n/******/ \\t\\tvar getter = module && module.__esModule ?\\n/******/ \\t\\t\\tfunction getDefault() { return module['default']; } :\\n/******/ \\t\\t\\tfunction getModuleExports() { return module; };\\n/******/ \\t\\t__webpack_require__.d(getter, 'a', getter);\\n/******/ \\t\\treturn getter;\\n/******/ \\t};\\n/******/\\n/******/ \\t// Object.prototype.hasOwnProperty.call\\n/******/ \\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\n/******/\\n/******/ \\t// __webpack_public_path__\\n/******/ \\t__webpack_require__.p = \\\"\\\";\\n/******/\\n/******/\\n/******/ \\t// Load entry module and return exports\\n/******/ \\treturn __webpack_require__(__webpack_require__.s = \\\"./src/worker.js\\\");\\n/******/ })\\n/************************************************************************/\\n/******/ ({\\n\\n/***/ \\\"./node_modules/base64-js/index.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/base64-js/index.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nexports.byteLength = byteLength\\\\nexports.toByteArray = toByteArray\\\\nexports.fromByteArray = fromByteArray\\\\n\\\\nvar lookup = []\\\\nvar revLookup = []\\\\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\\\\n\\\\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\\\\nfor (var i = 0, len = code.length; i < len; ++i) {\\\\n lookup[i] = code[i]\\\\n revLookup[code.charCodeAt(i)] = i\\\\n}\\\\n\\\\n// Support decoding URL-safe base64 strings, as Node.js does.\\\\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\\\\nrevLookup['-'.charCodeAt(0)] = 62\\\\nrevLookup['_'.charCodeAt(0)] = 63\\\\n\\\\nfunction getLens (b64) {\\\\n var len = b64.length\\\\n\\\\n if (len % 4 > 0) {\\\\n throw new Error('Invalid string. Length must be a multiple of 4')\\\\n }\\\\n\\\\n // Trim off extra bytes after placeholder bytes are found\\\\n // See: https://github.com/beatgammit/base64-js/issues/42\\\\n var validLen = b64.indexOf('=')\\\\n if (validLen === -1) validLen = len\\\\n\\\\n var placeHoldersLen = validLen === len\\\\n ? 0\\\\n : 4 - (validLen % 4)\\\\n\\\\n return [validLen, placeHoldersLen]\\\\n}\\\\n\\\\n// base64 is 4/3 + up to two characters of the original data\\\\nfunction byteLength (b64) {\\\\n var lens = getLens(b64)\\\\n var validLen = lens[0]\\\\n var placeHoldersLen = lens[1]\\\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\\\n}\\\\n\\\\nfunction _byteLength (b64, validLen, placeHoldersLen) {\\\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\\\n}\\\\n\\\\nfunction toByteArray (b64) {\\\\n var tmp\\\\n var lens = getLens(b64)\\\\n var validLen = lens[0]\\\\n var placeHoldersLen = lens[1]\\\\n\\\\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\\\\n\\\\n var curByte = 0\\\\n\\\\n // if there are placeholders, only get up to the last complete 4 chars\\\\n var len = placeHoldersLen > 0\\\\n ? validLen - 4\\\\n : validLen\\\\n\\\\n var i\\\\n for (i = 0; i < len; i += 4) {\\\\n tmp =\\\\n (revLookup[b64.charCodeAt(i)] << 18) |\\\\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\\\\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\\\\n revLookup[b64.charCodeAt(i + 3)]\\\\n arr[curByte++] = (tmp >> 16) & 0xFF\\\\n arr[curByte++] = (tmp >> 8) & 0xFF\\\\n arr[curByte++] = tmp & 0xFF\\\\n }\\\\n\\\\n if (placeHoldersLen === 2) {\\\\n tmp =\\\\n (revLookup[b64.charCodeAt(i)] << 2) |\\\\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\\\\n arr[curByte++] = tmp & 0xFF\\\\n }\\\\n\\\\n if (placeHoldersLen === 1) {\\\\n tmp =\\\\n (revLookup[b64.charCodeAt(i)] << 10) |\\\\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\\\\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\\\\n arr[curByte++] = (tmp >> 8) & 0xFF\\\\n arr[curByte++] = tmp & 0xFF\\\\n }\\\\n\\\\n return arr\\\\n}\\\\n\\\\nfunction tripletToBase64 (num) {\\\\n return lookup[num >> 18 & 0x3F] +\\\\n lookup[num >> 12 & 0x3F] +\\\\n lookup[num >> 6 & 0x3F] +\\\\n lookup[num & 0x3F]\\\\n}\\\\n\\\\nfunction encodeChunk (uint8, start, end) {\\\\n var tmp\\\\n var output = []\\\\n for (var i = start; i < end; i += 3) {\\\\n tmp =\\\\n ((uint8[i] << 16) & 0xFF0000) +\\\\n ((uint8[i + 1] << 8) & 0xFF00) +\\\\n (uint8[i + 2] & 0xFF)\\\\n output.push(tripletToBase64(tmp))\\\\n }\\\\n return output.join('')\\\\n}\\\\n\\\\nfunction fromByteArray (uint8) {\\\\n var tmp\\\\n var len = uint8.length\\\\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\\\\n var parts = []\\\\n var maxChunkLength = 16383 // must be multiple of 3\\\\n\\\\n // go through the array every three bytes, we'll deal with trailing stuff later\\\\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\\\\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\\\\n }\\\\n\\\\n // pad the end with zeros, but make sure to not forget the extra bytes\\\\n if (extraBytes === 1) {\\\\n tmp = uint8[len - 1]\\\\n parts.push(\\\\n lookup[tmp >> 2] +\\\\n lookup[(tmp << 4) & 0x3F] +\\\\n '=='\\\\n )\\\\n } else if (extraBytes === 2) {\\\\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\\\\n parts.push(\\\\n lookup[tmp >> 10] +\\\\n lookup[(tmp >> 4) & 0x3F] +\\\\n lookup[(tmp << 2) & 0x3F] +\\\\n '='\\\\n )\\\\n }\\\\n\\\\n return parts.join('')\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/base64-js/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/builtin-status-codes/browser.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/builtin-status-codes/browser.js ***!\\n \\\\******************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = {\\\\n \\\\\\\"100\\\\\\\": \\\\\\\"Continue\\\\\\\",\\\\n \\\\\\\"101\\\\\\\": \\\\\\\"Switching Protocols\\\\\\\",\\\\n \\\\\\\"102\\\\\\\": \\\\\\\"Processing\\\\\\\",\\\\n \\\\\\\"200\\\\\\\": \\\\\\\"OK\\\\\\\",\\\\n \\\\\\\"201\\\\\\\": \\\\\\\"Created\\\\\\\",\\\\n \\\\\\\"202\\\\\\\": \\\\\\\"Accepted\\\\\\\",\\\\n \\\\\\\"203\\\\\\\": \\\\\\\"Non-Authoritative Information\\\\\\\",\\\\n \\\\\\\"204\\\\\\\": \\\\\\\"No Content\\\\\\\",\\\\n \\\\\\\"205\\\\\\\": \\\\\\\"Reset Content\\\\\\\",\\\\n \\\\\\\"206\\\\\\\": \\\\\\\"Partial Content\\\\\\\",\\\\n \\\\\\\"207\\\\\\\": \\\\\\\"Multi-Status\\\\\\\",\\\\n \\\\\\\"208\\\\\\\": \\\\\\\"Already Reported\\\\\\\",\\\\n \\\\\\\"226\\\\\\\": \\\\\\\"IM Used\\\\\\\",\\\\n \\\\\\\"300\\\\\\\": \\\\\\\"Multiple Choices\\\\\\\",\\\\n \\\\\\\"301\\\\\\\": \\\\\\\"Moved Permanently\\\\\\\",\\\\n \\\\\\\"302\\\\\\\": \\\\\\\"Found\\\\\\\",\\\\n \\\\\\\"303\\\\\\\": \\\\\\\"See Other\\\\\\\",\\\\n \\\\\\\"304\\\\\\\": \\\\\\\"Not Modified\\\\\\\",\\\\n \\\\\\\"305\\\\\\\": \\\\\\\"Use Proxy\\\\\\\",\\\\n \\\\\\\"307\\\\\\\": \\\\\\\"Temporary Redirect\\\\\\\",\\\\n \\\\\\\"308\\\\\\\": \\\\\\\"Permanent Redirect\\\\\\\",\\\\n \\\\\\\"400\\\\\\\": \\\\\\\"Bad Request\\\\\\\",\\\\n \\\\\\\"401\\\\\\\": \\\\\\\"Unauthorized\\\\\\\",\\\\n \\\\\\\"402\\\\\\\": \\\\\\\"Payment Required\\\\\\\",\\\\n \\\\\\\"403\\\\\\\": \\\\\\\"Forbidden\\\\\\\",\\\\n \\\\\\\"404\\\\\\\": \\\\\\\"Not Found\\\\\\\",\\\\n \\\\\\\"405\\\\\\\": \\\\\\\"Method Not Allowed\\\\\\\",\\\\n \\\\\\\"406\\\\\\\": \\\\\\\"Not Acceptable\\\\\\\",\\\\n \\\\\\\"407\\\\\\\": \\\\\\\"Proxy Authentication Required\\\\\\\",\\\\n \\\\\\\"408\\\\\\\": \\\\\\\"Request Timeout\\\\\\\",\\\\n \\\\\\\"409\\\\\\\": \\\\\\\"Conflict\\\\\\\",\\\\n \\\\\\\"410\\\\\\\": \\\\\\\"Gone\\\\\\\",\\\\n \\\\\\\"411\\\\\\\": \\\\\\\"Length Required\\\\\\\",\\\\n \\\\\\\"412\\\\\\\": \\\\\\\"Precondition Failed\\\\\\\",\\\\n \\\\\\\"413\\\\\\\": \\\\\\\"Payload Too Large\\\\\\\",\\\\n \\\\\\\"414\\\\\\\": \\\\\\\"URI Too Long\\\\\\\",\\\\n \\\\\\\"415\\\\\\\": \\\\\\\"Unsupported Media Type\\\\\\\",\\\\n \\\\\\\"416\\\\\\\": \\\\\\\"Range Not Satisfiable\\\\\\\",\\\\n \\\\\\\"417\\\\\\\": \\\\\\\"Expectation Failed\\\\\\\",\\\\n \\\\\\\"418\\\\\\\": \\\\\\\"I'm a teapot\\\\\\\",\\\\n \\\\\\\"421\\\\\\\": \\\\\\\"Misdirected Request\\\\\\\",\\\\n \\\\\\\"422\\\\\\\": \\\\\\\"Unprocessable Entity\\\\\\\",\\\\n \\\\\\\"423\\\\\\\": \\\\\\\"Locked\\\\\\\",\\\\n \\\\\\\"424\\\\\\\": \\\\\\\"Failed Dependency\\\\\\\",\\\\n \\\\\\\"425\\\\\\\": \\\\\\\"Unordered Collection\\\\\\\",\\\\n \\\\\\\"426\\\\\\\": \\\\\\\"Upgrade Required\\\\\\\",\\\\n \\\\\\\"428\\\\\\\": \\\\\\\"Precondition Required\\\\\\\",\\\\n \\\\\\\"429\\\\\\\": \\\\\\\"Too Many Requests\\\\\\\",\\\\n \\\\\\\"431\\\\\\\": \\\\\\\"Request Header Fields Too Large\\\\\\\",\\\\n \\\\\\\"451\\\\\\\": \\\\\\\"Unavailable For Legal Reasons\\\\\\\",\\\\n \\\\\\\"500\\\\\\\": \\\\\\\"Internal Server Error\\\\\\\",\\\\n \\\\\\\"501\\\\\\\": \\\\\\\"Not Implemented\\\\\\\",\\\\n \\\\\\\"502\\\\\\\": \\\\\\\"Bad Gateway\\\\\\\",\\\\n \\\\\\\"503\\\\\\\": \\\\\\\"Service Unavailable\\\\\\\",\\\\n \\\\\\\"504\\\\\\\": \\\\\\\"Gateway Timeout\\\\\\\",\\\\n \\\\\\\"505\\\\\\\": \\\\\\\"HTTP Version Not Supported\\\\\\\",\\\\n \\\\\\\"506\\\\\\\": \\\\\\\"Variant Also Negotiates\\\\\\\",\\\\n \\\\\\\"507\\\\\\\": \\\\\\\"Insufficient Storage\\\\\\\",\\\\n \\\\\\\"508\\\\\\\": \\\\\\\"Loop Detected\\\\\\\",\\\\n \\\\\\\"509\\\\\\\": \\\\\\\"Bandwidth Limit Exceeded\\\\\\\",\\\\n \\\\\\\"510\\\\\\\": \\\\\\\"Not Extended\\\\\\\",\\\\n \\\\\\\"511\\\\\\\": \\\\\\\"Network Authentication Required\\\\\\\"\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/builtin-status-codes/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/core-util-is/lib/util.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/core-util-is/lib/util.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// NOTE: These type checking functions intentionally don't use `instanceof`\\\\n// because it is fragile and can be easily faked with `Object.create()`.\\\\n\\\\nfunction isArray(arg) {\\\\n if (Array.isArray) {\\\\n return Array.isArray(arg);\\\\n }\\\\n return objectToString(arg) === '[object Array]';\\\\n}\\\\nexports.isArray = isArray;\\\\n\\\\nfunction isBoolean(arg) {\\\\n return typeof arg === 'boolean';\\\\n}\\\\nexports.isBoolean = isBoolean;\\\\n\\\\nfunction isNull(arg) {\\\\n return arg === null;\\\\n}\\\\nexports.isNull = isNull;\\\\n\\\\nfunction isNullOrUndefined(arg) {\\\\n return arg == null;\\\\n}\\\\nexports.isNullOrUndefined = isNullOrUndefined;\\\\n\\\\nfunction isNumber(arg) {\\\\n return typeof arg === 'number';\\\\n}\\\\nexports.isNumber = isNumber;\\\\n\\\\nfunction isString(arg) {\\\\n return typeof arg === 'string';\\\\n}\\\\nexports.isString = isString;\\\\n\\\\nfunction isSymbol(arg) {\\\\n return typeof arg === 'symbol';\\\\n}\\\\nexports.isSymbol = isSymbol;\\\\n\\\\nfunction isUndefined(arg) {\\\\n return arg === void 0;\\\\n}\\\\nexports.isUndefined = isUndefined;\\\\n\\\\nfunction isRegExp(re) {\\\\n return objectToString(re) === '[object RegExp]';\\\\n}\\\\nexports.isRegExp = isRegExp;\\\\n\\\\nfunction isObject(arg) {\\\\n return typeof arg === 'object' && arg !== null;\\\\n}\\\\nexports.isObject = isObject;\\\\n\\\\nfunction isDate(d) {\\\\n return objectToString(d) === '[object Date]';\\\\n}\\\\nexports.isDate = isDate;\\\\n\\\\nfunction isError(e) {\\\\n return (objectToString(e) === '[object Error]' || e instanceof Error);\\\\n}\\\\nexports.isError = isError;\\\\n\\\\nfunction isFunction(arg) {\\\\n return typeof arg === 'function';\\\\n}\\\\nexports.isFunction = isFunction;\\\\n\\\\nfunction isPrimitive(arg) {\\\\n return arg === null ||\\\\n typeof arg === 'boolean' ||\\\\n typeof arg === 'number' ||\\\\n typeof arg === 'string' ||\\\\n typeof arg === 'symbol' || // ES6 symbol\\\\n typeof arg === 'undefined';\\\\n}\\\\nexports.isPrimitive = isPrimitive;\\\\n\\\\nexports.isBuffer = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\").Buffer.isBuffer;\\\\n\\\\nfunction objectToString(o) {\\\\n return Object.prototype.toString.call(o);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/core-util-is/lib/util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/debug/src/browser.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/debug/src/browser.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(process) {/* eslint-env browser */\\\\n\\\\n/**\\\\n * This is the web browser implementation of `debug()`.\\\\n */\\\\n\\\\nexports.formatArgs = formatArgs;\\\\nexports.save = save;\\\\nexports.load = load;\\\\nexports.useColors = useColors;\\\\nexports.storage = localstorage();\\\\nexports.destroy = (() => {\\\\n\\\\tlet warned = false;\\\\n\\\\n\\\\treturn () => {\\\\n\\\\t\\\\tif (!warned) {\\\\n\\\\t\\\\t\\\\twarned = true;\\\\n\\\\t\\\\t\\\\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\\\\n\\\\t\\\\t}\\\\n\\\\t};\\\\n})();\\\\n\\\\n/**\\\\n * Colors.\\\\n */\\\\n\\\\nexports.colors = [\\\\n\\\\t'#0000CC',\\\\n\\\\t'#0000FF',\\\\n\\\\t'#0033CC',\\\\n\\\\t'#0033FF',\\\\n\\\\t'#0066CC',\\\\n\\\\t'#0066FF',\\\\n\\\\t'#0099CC',\\\\n\\\\t'#0099FF',\\\\n\\\\t'#00CC00',\\\\n\\\\t'#00CC33',\\\\n\\\\t'#00CC66',\\\\n\\\\t'#00CC99',\\\\n\\\\t'#00CCCC',\\\\n\\\\t'#00CCFF',\\\\n\\\\t'#3300CC',\\\\n\\\\t'#3300FF',\\\\n\\\\t'#3333CC',\\\\n\\\\t'#3333FF',\\\\n\\\\t'#3366CC',\\\\n\\\\t'#3366FF',\\\\n\\\\t'#3399CC',\\\\n\\\\t'#3399FF',\\\\n\\\\t'#33CC00',\\\\n\\\\t'#33CC33',\\\\n\\\\t'#33CC66',\\\\n\\\\t'#33CC99',\\\\n\\\\t'#33CCCC',\\\\n\\\\t'#33CCFF',\\\\n\\\\t'#6600CC',\\\\n\\\\t'#6600FF',\\\\n\\\\t'#6633CC',\\\\n\\\\t'#6633FF',\\\\n\\\\t'#66CC00',\\\\n\\\\t'#66CC33',\\\\n\\\\t'#9900CC',\\\\n\\\\t'#9900FF',\\\\n\\\\t'#9933CC',\\\\n\\\\t'#9933FF',\\\\n\\\\t'#99CC00',\\\\n\\\\t'#99CC33',\\\\n\\\\t'#CC0000',\\\\n\\\\t'#CC0033',\\\\n\\\\t'#CC0066',\\\\n\\\\t'#CC0099',\\\\n\\\\t'#CC00CC',\\\\n\\\\t'#CC00FF',\\\\n\\\\t'#CC3300',\\\\n\\\\t'#CC3333',\\\\n\\\\t'#CC3366',\\\\n\\\\t'#CC3399',\\\\n\\\\t'#CC33CC',\\\\n\\\\t'#CC33FF',\\\\n\\\\t'#CC6600',\\\\n\\\\t'#CC6633',\\\\n\\\\t'#CC9900',\\\\n\\\\t'#CC9933',\\\\n\\\\t'#CCCC00',\\\\n\\\\t'#CCCC33',\\\\n\\\\t'#FF0000',\\\\n\\\\t'#FF0033',\\\\n\\\\t'#FF0066',\\\\n\\\\t'#FF0099',\\\\n\\\\t'#FF00CC',\\\\n\\\\t'#FF00FF',\\\\n\\\\t'#FF3300',\\\\n\\\\t'#FF3333',\\\\n\\\\t'#FF3366',\\\\n\\\\t'#FF3399',\\\\n\\\\t'#FF33CC',\\\\n\\\\t'#FF33FF',\\\\n\\\\t'#FF6600',\\\\n\\\\t'#FF6633',\\\\n\\\\t'#FF9900',\\\\n\\\\t'#FF9933',\\\\n\\\\t'#FFCC00',\\\\n\\\\t'#FFCC33'\\\\n];\\\\n\\\\n/**\\\\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\\\\n * and the Firebug extension (any Firefox version) are known\\\\n * to support \\\\\\\"%c\\\\\\\" CSS customizations.\\\\n *\\\\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\\\\n */\\\\n\\\\n// eslint-disable-next-line complexity\\\\nfunction useColors() {\\\\n\\\\t// NB: In an Electron preload script, document will be defined but not fully\\\\n\\\\t// initialized. Since we know we're in Chrome, we'll just detect this case\\\\n\\\\t// explicitly\\\\n\\\\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\t// Internet Explorer and Edge do not support colors.\\\\n\\\\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\\\\\\\/(\\\\\\\\d+)/)) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t// Is webkit? http://stackoverflow.com/a/16459606/376773\\\\n\\\\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\\\\n\\\\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\\\\n\\\\t\\\\t// Is firebug? http://stackoverflow.com/a/398120/376773\\\\n\\\\t\\\\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\\\\n\\\\t\\\\t// Is firefox >= v31?\\\\n\\\\t\\\\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\\\\n\\\\t\\\\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\\\\\\\/(\\\\\\\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\\\\n\\\\t\\\\t// Double check webkit in userAgent just in case we are in a worker\\\\n\\\\t\\\\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\\\\\\\/(\\\\\\\\d+)/));\\\\n}\\\\n\\\\n/**\\\\n * Colorize log arguments if enabled.\\\\n *\\\\n * @api public\\\\n */\\\\n\\\\nfunction formatArgs(args) {\\\\n\\\\targs[0] = (this.useColors ? '%c' : '') +\\\\n\\\\t\\\\tthis.namespace +\\\\n\\\\t\\\\t(this.useColors ? ' %c' : ' ') +\\\\n\\\\t\\\\targs[0] +\\\\n\\\\t\\\\t(this.useColors ? '%c ' : ' ') +\\\\n\\\\t\\\\t'+' + module.exports.humanize(this.diff);\\\\n\\\\n\\\\tif (!this.useColors) {\\\\n\\\\t\\\\treturn;\\\\n\\\\t}\\\\n\\\\n\\\\tconst c = 'color: ' + this.color;\\\\n\\\\targs.splice(1, 0, c, 'color: inherit');\\\\n\\\\n\\\\t// The final \\\\\\\"%c\\\\\\\" is somewhat tricky, because there could be other\\\\n\\\\t// arguments passed either before or after the %c, so we need to\\\\n\\\\t// figure out the correct index to insert the CSS into\\\\n\\\\tlet index = 0;\\\\n\\\\tlet lastC = 0;\\\\n\\\\targs[0].replace(/%[a-zA-Z%]/g, match => {\\\\n\\\\t\\\\tif (match === '%%') {\\\\n\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tindex++;\\\\n\\\\t\\\\tif (match === '%c') {\\\\n\\\\t\\\\t\\\\t// We only are interested in the *last* %c\\\\n\\\\t\\\\t\\\\t// (the user may have provided their own)\\\\n\\\\t\\\\t\\\\tlastC = index;\\\\n\\\\t\\\\t}\\\\n\\\\t});\\\\n\\\\n\\\\targs.splice(lastC, 0, c);\\\\n}\\\\n\\\\n/**\\\\n * Invokes `console.debug()` when available.\\\\n * No-op when `console.debug` is not a \\\\\\\"function\\\\\\\".\\\\n * If `console.debug` is not available, falls back\\\\n * to `console.log`.\\\\n *\\\\n * @api public\\\\n */\\\\nexports.log = console.debug || console.log || (() => {});\\\\n\\\\n/**\\\\n * Save `namespaces`.\\\\n *\\\\n * @param {String} namespaces\\\\n * @api private\\\\n */\\\\nfunction save(namespaces) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tif (namespaces) {\\\\n\\\\t\\\\t\\\\texports.storage.setItem('debug', namespaces);\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\texports.storage.removeItem('debug');\\\\n\\\\t\\\\t}\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n}\\\\n\\\\n/**\\\\n * Load `namespaces`.\\\\n *\\\\n * @return {String} returns the previously persisted debug modes\\\\n * @api private\\\\n */\\\\nfunction load() {\\\\n\\\\tlet r;\\\\n\\\\ttry {\\\\n\\\\t\\\\tr = exports.storage.getItem('debug');\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n\\\\n\\\\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\\\\n\\\\tif (!r && typeof process !== 'undefined' && 'env' in process) {\\\\n\\\\t\\\\tr = process.env.DEBUG;\\\\n\\\\t}\\\\n\\\\n\\\\treturn r;\\\\n}\\\\n\\\\n/**\\\\n * Localstorage attempts to return the localstorage.\\\\n *\\\\n * This is necessary because safari throws\\\\n * when a user disables cookies/localstorage\\\\n * and you attempt to access it.\\\\n *\\\\n * @return {LocalStorage}\\\\n * @api private\\\\n */\\\\n\\\\nfunction localstorage() {\\\\n\\\\ttry {\\\\n\\\\t\\\\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\\\\n\\\\t\\\\t// The Browser also has localStorage in the global context.\\\\n\\\\t\\\\treturn localStorage;\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n}\\\\n\\\\nmodule.exports = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/debug/src/common.js\\\\\\\")(exports);\\\\n\\\\nconst {formatters} = module.exports;\\\\n\\\\n/**\\\\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\\\\n */\\\\n\\\\nformatters.j = function (v) {\\\\n\\\\ttry {\\\\n\\\\t\\\\treturn JSON.stringify(v);\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\treturn '[UnexpectedJSONParseError]: ' + error.message;\\\\n\\\\t}\\\\n};\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/debug/src/common.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/debug/src/common.js ***!\\n \\\\******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"\\\\n/**\\\\n * This is the common logic for both the Node.js and web browser\\\\n * implementations of `debug()`.\\\\n */\\\\n\\\\nfunction setup(env) {\\\\n\\\\tcreateDebug.debug = createDebug;\\\\n\\\\tcreateDebug.default = createDebug;\\\\n\\\\tcreateDebug.coerce = coerce;\\\\n\\\\tcreateDebug.disable = disable;\\\\n\\\\tcreateDebug.enable = enable;\\\\n\\\\tcreateDebug.enabled = enabled;\\\\n\\\\tcreateDebug.humanize = __webpack_require__(/*! ms */ \\\\\\\"./node_modules/ms/index.js\\\\\\\");\\\\n\\\\tcreateDebug.destroy = destroy;\\\\n\\\\n\\\\tObject.keys(env).forEach(key => {\\\\n\\\\t\\\\tcreateDebug[key] = env[key];\\\\n\\\\t});\\\\n\\\\n\\\\t/**\\\\n\\\\t* The currently active debug mode names, and names to skip.\\\\n\\\\t*/\\\\n\\\\n\\\\tcreateDebug.names = [];\\\\n\\\\tcreateDebug.skips = [];\\\\n\\\\n\\\\t/**\\\\n\\\\t* Map of special \\\\\\\"%n\\\\\\\" handling functions, for the debug \\\\\\\"format\\\\\\\" argument.\\\\n\\\\t*\\\\n\\\\t* Valid key names are a single, lower or upper-case letter, i.e. \\\\\\\"n\\\\\\\" and \\\\\\\"N\\\\\\\".\\\\n\\\\t*/\\\\n\\\\tcreateDebug.formatters = {};\\\\n\\\\n\\\\t/**\\\\n\\\\t* Selects a color for a debug namespace\\\\n\\\\t* @param {String} namespace The namespace string for the debug instance to be colored\\\\n\\\\t* @return {Number|String} An ANSI color code for the given namespace\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction selectColor(namespace) {\\\\n\\\\t\\\\tlet hash = 0;\\\\n\\\\n\\\\t\\\\tfor (let i = 0; i < namespace.length; i++) {\\\\n\\\\t\\\\t\\\\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\\\\n\\\\t\\\\t\\\\thash |= 0; // Convert to 32bit integer\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\\\\n\\\\t}\\\\n\\\\tcreateDebug.selectColor = selectColor;\\\\n\\\\n\\\\t/**\\\\n\\\\t* Create a debugger with the given `namespace`.\\\\n\\\\t*\\\\n\\\\t* @param {String} namespace\\\\n\\\\t* @return {Function}\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction createDebug(namespace) {\\\\n\\\\t\\\\tlet prevTime;\\\\n\\\\t\\\\tlet enableOverride = null;\\\\n\\\\t\\\\tlet namespacesCache;\\\\n\\\\t\\\\tlet enabledCache;\\\\n\\\\n\\\\t\\\\tfunction debug(...args) {\\\\n\\\\t\\\\t\\\\t// Disabled?\\\\n\\\\t\\\\t\\\\tif (!debug.enabled) {\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tconst self = debug;\\\\n\\\\n\\\\t\\\\t\\\\t// Set `diff` timestamp\\\\n\\\\t\\\\t\\\\tconst curr = Number(new Date());\\\\n\\\\t\\\\t\\\\tconst ms = curr - (prevTime || curr);\\\\n\\\\t\\\\t\\\\tself.diff = ms;\\\\n\\\\t\\\\t\\\\tself.prev = prevTime;\\\\n\\\\t\\\\t\\\\tself.curr = curr;\\\\n\\\\t\\\\t\\\\tprevTime = curr;\\\\n\\\\n\\\\t\\\\t\\\\targs[0] = createDebug.coerce(args[0]);\\\\n\\\\n\\\\t\\\\t\\\\tif (typeof args[0] !== 'string') {\\\\n\\\\t\\\\t\\\\t\\\\t// Anything else let's inspect with %O\\\\n\\\\t\\\\t\\\\t\\\\targs.unshift('%O');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t// Apply any `formatters` transformations\\\\n\\\\t\\\\t\\\\tlet index = 0;\\\\n\\\\t\\\\t\\\\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\\\\n\\\\t\\\\t\\\\t\\\\t// If we encounter an escaped % then don't increase the array index\\\\n\\\\t\\\\t\\\\t\\\\tif (match === '%%') {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn '%';\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tindex++;\\\\n\\\\t\\\\t\\\\t\\\\tconst formatter = createDebug.formatters[format];\\\\n\\\\t\\\\t\\\\t\\\\tif (typeof formatter === 'function') {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tconst val = args[index];\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tmatch = formatter.call(self, val);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Now we need to remove `args[index]` since it's inlined in the `format`\\\\n\\\\t\\\\t\\\\t\\\\t\\\\targs.splice(index, 1);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tindex--;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\treturn match;\\\\n\\\\t\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t\\\\t// Apply env-specific formatting (colors, etc.)\\\\n\\\\t\\\\t\\\\tcreateDebug.formatArgs.call(self, args);\\\\n\\\\n\\\\t\\\\t\\\\tconst logFn = self.log || createDebug.log;\\\\n\\\\t\\\\t\\\\tlogFn.apply(self, args);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tdebug.namespace = namespace;\\\\n\\\\t\\\\tdebug.useColors = createDebug.useColors();\\\\n\\\\t\\\\tdebug.color = createDebug.selectColor(namespace);\\\\n\\\\t\\\\tdebug.extend = extend;\\\\n\\\\t\\\\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\\\\n\\\\n\\\\t\\\\tObject.defineProperty(debug, 'enabled', {\\\\n\\\\t\\\\t\\\\tenumerable: true,\\\\n\\\\t\\\\t\\\\tconfigurable: false,\\\\n\\\\t\\\\t\\\\tget: () => {\\\\n\\\\t\\\\t\\\\t\\\\tif (enableOverride !== null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn enableOverride;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (namespacesCache !== createDebug.namespaces) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tnamespacesCache = createDebug.namespaces;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tenabledCache = createDebug.enabled(namespace);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\treturn enabledCache;\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\tset: v => {\\\\n\\\\t\\\\t\\\\t\\\\tenableOverride = v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t// Env-specific initialization logic for debug instances\\\\n\\\\t\\\\tif (typeof createDebug.init === 'function') {\\\\n\\\\t\\\\t\\\\tcreateDebug.init(debug);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn debug;\\\\n\\\\t}\\\\n\\\\n\\\\tfunction extend(namespace, delimiter) {\\\\n\\\\t\\\\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\\\\n\\\\t\\\\tnewDebug.log = this.log;\\\\n\\\\t\\\\treturn newDebug;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Enables a debug mode by namespaces. This can include modes\\\\n\\\\t* separated by a colon and wildcards.\\\\n\\\\t*\\\\n\\\\t* @param {String} namespaces\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction enable(namespaces) {\\\\n\\\\t\\\\tcreateDebug.save(namespaces);\\\\n\\\\t\\\\tcreateDebug.namespaces = namespaces;\\\\n\\\\n\\\\t\\\\tcreateDebug.names = [];\\\\n\\\\t\\\\tcreateDebug.skips = [];\\\\n\\\\n\\\\t\\\\tlet i;\\\\n\\\\t\\\\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\\\\\\\s,]+/);\\\\n\\\\t\\\\tconst len = split.length;\\\\n\\\\n\\\\t\\\\tfor (i = 0; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (!split[i]) {\\\\n\\\\t\\\\t\\\\t\\\\t// ignore empty strings\\\\n\\\\t\\\\t\\\\t\\\\tcontinue;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tnamespaces = split[i].replace(/\\\\\\\\*/g, '.*?');\\\\n\\\\n\\\\t\\\\t\\\\tif (namespaces[0] === '-') {\\\\n\\\\t\\\\t\\\\t\\\\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Disable debug output.\\\\n\\\\t*\\\\n\\\\t* @return {String} namespaces\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction disable() {\\\\n\\\\t\\\\tconst namespaces = [\\\\n\\\\t\\\\t\\\\t...createDebug.names.map(toNamespace),\\\\n\\\\t\\\\t\\\\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\\\\n\\\\t\\\\t].join(',');\\\\n\\\\t\\\\tcreateDebug.enable('');\\\\n\\\\t\\\\treturn namespaces;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Returns true if the given mode name is enabled, false otherwise.\\\\n\\\\t*\\\\n\\\\t* @param {String} name\\\\n\\\\t* @return {Boolean}\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction enabled(name) {\\\\n\\\\t\\\\tif (name[name.length - 1] === '*') {\\\\n\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tlet i;\\\\n\\\\t\\\\tlet len;\\\\n\\\\n\\\\t\\\\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (createDebug.skips[i].test(name)) {\\\\n\\\\t\\\\t\\\\t\\\\treturn false;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (createDebug.names[i].test(name)) {\\\\n\\\\t\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Convert regexp to namespace\\\\n\\\\t*\\\\n\\\\t* @param {RegExp} regxep\\\\n\\\\t* @return {String} namespace\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction toNamespace(regexp) {\\\\n\\\\t\\\\treturn regexp.toString()\\\\n\\\\t\\\\t\\\\t.substring(2, regexp.toString().length - 2)\\\\n\\\\t\\\\t\\\\t.replace(/\\\\\\\\.\\\\\\\\*\\\\\\\\?$/, '*');\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Coerce `val`.\\\\n\\\\t*\\\\n\\\\t* @param {Mixed} val\\\\n\\\\t* @return {Mixed}\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction coerce(val) {\\\\n\\\\t\\\\tif (val instanceof Error) {\\\\n\\\\t\\\\t\\\\treturn val.stack || val.message;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn val;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* XXX DO NOT USE. This is a temporary stub function.\\\\n\\\\t* XXX It WILL be removed in the next major release.\\\\n\\\\t*/\\\\n\\\\tfunction destroy() {\\\\n\\\\t\\\\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\\\\n\\\\t}\\\\n\\\\n\\\\tcreateDebug.enable(createDebug.load());\\\\n\\\\n\\\\treturn createDebug;\\\\n}\\\\n\\\\nmodule.exports = setup;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff-palette/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff-palette/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"const getPalette = (image, { debug = false } = { debug: false }) => {\\\\n if (debug) console.log(\\\\\\\"starting getPalette with image\\\\\\\", image);\\\\n const { fileDirectory } = image;\\\\n const {\\\\n BitsPerSample,\\\\n ColorMap,\\\\n ImageLength,\\\\n ImageWidth,\\\\n PhotometricInterpretation,\\\\n SampleFormat,\\\\n SamplesPerPixel\\\\n } = fileDirectory;\\\\n\\\\n if (!ColorMap) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: the image does not contain a color map, so we can't make a palette.\\\\\\\");\\\\n }\\\\n\\\\n const count = Math.pow(2, BitsPerSample);\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: count:\\\\\\\", count);\\\\n\\\\n const bandSize = ColorMap.length / 3;\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: bandSize:\\\\\\\", bandSize);\\\\n\\\\n if (bandSize !== count) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster\\\\\\\");\\\\n }\\\\n\\\\n const greenOffset = bandSize;\\\\n const redOffset = greenOffset + bandSize;\\\\n\\\\n const result = [];\\\\n for (let i = 0; i < count; i++) {\\\\n // colorMap[mapIndex] / 65536 * 256 equals colorMap[mapIndex] / 256\\\\n // because (1 / 2^16) * (2^8) equals 1 / 2^8\\\\n result.push([\\\\n Math.floor(ColorMap[i] / 256), // red\\\\n Math.floor(ColorMap[greenOffset + i] / 256), // green\\\\n Math.floor(ColorMap[redOffset + i] / 256), // blue\\\\n 255 // alpha value is always 255\\\\n ]);\\\\n }\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: result is \\\\\\\", result);\\\\n return result;\\\\n}\\\\n\\\\nmodule.exports = { getPalette };\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff-palette/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/basedecoder.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/basedecoder.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return BaseDecoder; });\\\\n/* harmony import */ var _predictor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../predictor */ \\\\\\\"./node_modules/geotiff/src/predictor.js\\\\\\\");\\\\n\\\\n\\\\nclass BaseDecoder {\\\\n decode(fileDirectory, buffer) {\\\\n const decoded = this.decodeBlock(buffer);\\\\n const predictor = fileDirectory.Predictor || 1;\\\\n if (predictor !== 1) {\\\\n const isTiled = !fileDirectory.StripOffsets;\\\\n const tileWidth = isTiled ? fileDirectory.TileWidth : fileDirectory.ImageWidth;\\\\n const tileHeight = isTiled ? fileDirectory.TileLength : (\\\\n fileDirectory.RowsPerStrip || fileDirectory.ImageLength\\\\n );\\\\n return Object(_predictor__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"applyPredictor\\\\\\\"])(\\\\n decoded, predictor, tileWidth, tileHeight, fileDirectory.BitsPerSample,\\\\n fileDirectory.PlanarConfiguration,\\\\n );\\\\n }\\\\n return decoded;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/basedecoder.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/deflate.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/deflate.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DeflateDecoder; });\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pako/lib/inflate */ \\\\\\\"./node_modules/pako/lib/inflate.js\\\\\\\");\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass DeflateDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return Object(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"inflate\\\\\\\"])(new Uint8Array(buffer)).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/deflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: getDecoder */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return getDecoder; });\\\\n/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ \\\\\\\"./node_modules/geotiff/src/compression/raw.js\\\\\\\");\\\\n/* harmony import */ var _lzw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lzw */ \\\\\\\"./node_modules/geotiff/src/compression/lzw.js\\\\\\\");\\\\n/* harmony import */ var _jpeg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jpeg */ \\\\\\\"./node_modules/geotiff/src/compression/jpeg.js\\\\\\\");\\\\n/* harmony import */ var _deflate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./deflate */ \\\\\\\"./node_modules/geotiff/src/compression/deflate.js\\\\\\\");\\\\n/* harmony import */ var _packbits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./packbits */ \\\\\\\"./node_modules/geotiff/src/compression/packbits.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getDecoder(fileDirectory) {\\\\n switch (fileDirectory.Compression) {\\\\n case undefined:\\\\n case 1: // no compression\\\\n return new _raw__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]();\\\\n case 5: // LZW\\\\n return new _lzw__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n case 6: // JPEG\\\\n throw new Error('old style JPEG compression is not supported.');\\\\n case 7: // JPEG\\\\n return new _jpeg__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](fileDirectory);\\\\n case 8: // Deflate as recognized by Adobe\\\\n case 32946: // Deflate GDAL default\\\\n return new _deflate__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]();\\\\n case 32773: // packbits\\\\n return new _packbits__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]();\\\\n default:\\\\n throw new Error(`Unknown compression method identifier: ${fileDirectory.Compression}`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/jpeg.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/jpeg.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return JpegDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n/* -*- tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /\\\\n/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */\\\\n/*\\\\n Copyright 2011 notmasteryet\\\\n Licensed under the Apache License, Version 2.0 (the \\\\\\\"License\\\\\\\");\\\\n you may not use this file except in compliance with the License.\\\\n You may obtain a copy of the License at\\\\n http://www.apache.org/licenses/LICENSE-2.0\\\\n Unless required by applicable law or agreed to in writing, software\\\\n distributed under the License is distributed on an \\\\\\\"AS IS\\\\\\\" BASIS,\\\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\\\n See the License for the specific language governing permissions and\\\\n limitations under the License.\\\\n*/\\\\n\\\\n// - The JPEG specification can be found in the ITU CCITT Recommendation T.81\\\\n// (www.w3.org/Graphics/JPEG/itu-t81.pdf)\\\\n// - The JFIF specification can be found in the JPEG File Interchange Format\\\\n// (www.w3.org/Graphics/JPEG/jfif3.pdf)\\\\n// - The Adobe Application-Specific JPEG markers in the Supporting the DCT Filters\\\\n// in PostScript Level 2, Technical Note #5116\\\\n// (partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf)\\\\n\\\\n\\\\nconst dctZigZag = new Int32Array([\\\\n 0,\\\\n 1, 8,\\\\n 16, 9, 2,\\\\n 3, 10, 17, 24,\\\\n 32, 25, 18, 11, 4,\\\\n 5, 12, 19, 26, 33, 40,\\\\n 48, 41, 34, 27, 20, 13, 6,\\\\n 7, 14, 21, 28, 35, 42, 49, 56,\\\\n 57, 50, 43, 36, 29, 22, 15,\\\\n 23, 30, 37, 44, 51, 58,\\\\n 59, 52, 45, 38, 31,\\\\n 39, 46, 53, 60,\\\\n 61, 54, 47,\\\\n 55, 62,\\\\n 63,\\\\n]);\\\\n\\\\nconst dctCos1 = 4017; // cos(pi/16)\\\\nconst dctSin1 = 799; // sin(pi/16)\\\\nconst dctCos3 = 3406; // cos(3*pi/16)\\\\nconst dctSin3 = 2276; // sin(3*pi/16)\\\\nconst dctCos6 = 1567; // cos(6*pi/16)\\\\nconst dctSin6 = 3784; // sin(6*pi/16)\\\\nconst dctSqrt2 = 5793; // sqrt(2)\\\\nconst dctSqrt1d2 = 2896;// sqrt(2) / 2\\\\n\\\\nfunction buildHuffmanTable(codeLengths, values) {\\\\n let k = 0;\\\\n const code = [];\\\\n let length = 16;\\\\n while (length > 0 && !codeLengths[length - 1]) {\\\\n --length;\\\\n }\\\\n code.push({ children: [], index: 0 });\\\\n\\\\n let p = code[0];\\\\n let q;\\\\n for (let i = 0; i < length; i++) {\\\\n for (let j = 0; j < codeLengths[i]; j++) {\\\\n p = code.pop();\\\\n p.children[p.index] = values[k];\\\\n while (p.index > 0) {\\\\n p = code.pop();\\\\n }\\\\n p.index++;\\\\n code.push(p);\\\\n while (code.length <= i) {\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n k++;\\\\n }\\\\n if (i + 1 < length) {\\\\n // p here points to last code\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n }\\\\n return code[0].children;\\\\n}\\\\n\\\\nfunction decodeScan(data, initialOffset,\\\\n frame, components, resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successivePrev, successive) {\\\\n const { mcusPerLine, progressive } = frame;\\\\n\\\\n const startOffset = initialOffset;\\\\n let offset = initialOffset;\\\\n let bitsData = 0;\\\\n let bitsCount = 0;\\\\n function readBit() {\\\\n if (bitsCount > 0) {\\\\n bitsCount--;\\\\n return (bitsData >> bitsCount) & 1;\\\\n }\\\\n bitsData = data[offset++];\\\\n if (bitsData === 0xFF) {\\\\n const nextByte = data[offset++];\\\\n if (nextByte) {\\\\n throw new Error(`unexpected marker: ${((bitsData << 8) | nextByte).toString(16)}`);\\\\n }\\\\n // unstuff 0\\\\n }\\\\n bitsCount = 7;\\\\n return bitsData >>> 7;\\\\n }\\\\n function decodeHuffman(tree) {\\\\n let node = tree;\\\\n let bit;\\\\n while ((bit = readBit()) !== null) { // eslint-disable-line no-cond-assign\\\\n node = node[bit];\\\\n if (typeof node === 'number') {\\\\n return node;\\\\n }\\\\n if (typeof node !== 'object') {\\\\n throw new Error('invalid huffman sequence');\\\\n }\\\\n }\\\\n return null;\\\\n }\\\\n function receive(initialLength) {\\\\n let length = initialLength;\\\\n let n = 0;\\\\n while (length > 0) {\\\\n const bit = readBit();\\\\n if (bit === null) {\\\\n return undefined;\\\\n }\\\\n n = (n << 1) | bit;\\\\n --length;\\\\n }\\\\n return n;\\\\n }\\\\n function receiveAndExtend(length) {\\\\n const n = receive(length);\\\\n if (n >= 1 << (length - 1)) {\\\\n return n;\\\\n }\\\\n return n + (-1 << length) + 1;\\\\n }\\\\n function decodeBaseline(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : receiveAndExtend(t);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n let k = 1;\\\\n while (k < 64) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n function decodeDCFirst(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : (receiveAndExtend(t) << successive);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n }\\\\n function decodeDCSuccessive(component, zz) {\\\\n zz[0] |= readBit() << successive;\\\\n }\\\\n let eobrun = 0;\\\\n function decodeACFirst(component, zz) {\\\\n if (eobrun > 0) {\\\\n eobrun--;\\\\n return;\\\\n }\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n while (k <= e) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r) - 1;\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s) * (1 << successive);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n let successiveACState = 0;\\\\n let successiveACNextValue;\\\\n function decodeACSuccessive(component, zz) {\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n let r = 0;\\\\n while (k <= e) {\\\\n const z = dctZigZag[k];\\\\n const direction = zz[z] < 0 ? -1 : 1;\\\\n switch (successiveACState) {\\\\n case 0: { // initial state\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r);\\\\n successiveACState = 4;\\\\n } else {\\\\n r = 16;\\\\n successiveACState = 1;\\\\n }\\\\n } else {\\\\n if (s !== 1) {\\\\n throw new Error('invalid ACn encoding');\\\\n }\\\\n successiveACNextValue = receiveAndExtend(s);\\\\n successiveACState = r ? 2 : 3;\\\\n }\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n case 1: // skipping r zero items\\\\n case 2:\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n r--;\\\\n if (r === 0) {\\\\n successiveACState = successiveACState === 2 ? 3 : 0;\\\\n }\\\\n }\\\\n break;\\\\n case 3: // set value for a zero item\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n zz[z] = successiveACNextValue << successive;\\\\n successiveACState = 0;\\\\n }\\\\n break;\\\\n case 4: // eob\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n k++;\\\\n }\\\\n if (successiveACState === 4) {\\\\n eobrun--;\\\\n if (eobrun === 0) {\\\\n successiveACState = 0;\\\\n }\\\\n }\\\\n }\\\\n function decodeMcu(component, decodeFunction, mcu, row, col) {\\\\n const mcuRow = (mcu / mcusPerLine) | 0;\\\\n const mcuCol = mcu % mcusPerLine;\\\\n const blockRow = (mcuRow * component.v) + row;\\\\n const blockCol = (mcuCol * component.h) + col;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n function decodeBlock(component, decodeFunction, mcu) {\\\\n const blockRow = (mcu / component.blocksPerLine) | 0;\\\\n const blockCol = mcu % component.blocksPerLine;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n\\\\n const componentsLength = components.length;\\\\n let component;\\\\n let i;\\\\n let j;\\\\n let k;\\\\n let n;\\\\n let decodeFn;\\\\n if (progressive) {\\\\n if (spectralStart === 0) {\\\\n decodeFn = successivePrev === 0 ? decodeDCFirst : decodeDCSuccessive;\\\\n } else {\\\\n decodeFn = successivePrev === 0 ? decodeACFirst : decodeACSuccessive;\\\\n }\\\\n } else {\\\\n decodeFn = decodeBaseline;\\\\n }\\\\n\\\\n let mcu = 0;\\\\n let marker;\\\\n let mcuExpected;\\\\n if (componentsLength === 1) {\\\\n mcuExpected = components[0].blocksPerLine * components[0].blocksPerColumn;\\\\n } else {\\\\n mcuExpected = mcusPerLine * frame.mcusPerColumn;\\\\n }\\\\n\\\\n const usedResetInterval = resetInterval || mcuExpected;\\\\n\\\\n while (mcu < mcuExpected) {\\\\n // reset interval stuff\\\\n for (i = 0; i < componentsLength; i++) {\\\\n components[i].pred = 0;\\\\n }\\\\n eobrun = 0;\\\\n\\\\n if (componentsLength === 1) {\\\\n component = components[0];\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n decodeBlock(component, decodeFn, mcu);\\\\n mcu++;\\\\n }\\\\n } else {\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n for (i = 0; i < componentsLength; i++) {\\\\n component = components[i];\\\\n const { h, v } = component;\\\\n for (j = 0; j < v; j++) {\\\\n for (k = 0; k < h; k++) {\\\\n decodeMcu(component, decodeFn, mcu, j, k);\\\\n }\\\\n }\\\\n }\\\\n mcu++;\\\\n\\\\n // If we've reached our expected MCU's, stop decoding\\\\n if (mcu === mcuExpected) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n // find marker\\\\n bitsCount = 0;\\\\n marker = (data[offset] << 8) | data[offset + 1];\\\\n if (marker < 0xFF00) {\\\\n throw new Error('marker was not found');\\\\n }\\\\n\\\\n if (marker >= 0xFFD0 && marker <= 0xFFD7) { // RSTx\\\\n offset += 2;\\\\n } else {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n return offset - startOffset;\\\\n}\\\\n\\\\nfunction buildComponentData(frame, component) {\\\\n const lines = [];\\\\n const { blocksPerLine, blocksPerColumn } = component;\\\\n const samplesPerLine = blocksPerLine << 3;\\\\n const R = new Int32Array(64);\\\\n const r = new Uint8Array(64);\\\\n\\\\n // A port of poppler's IDCT method which in turn is taken from:\\\\n // Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz,\\\\n // \\\\\\\"Practical Fast 1-D DCT Algorithms with 11 Multiplications\\\\\\\",\\\\n // IEEE Intl. Conf. on Acoustics, Speech & Signal Processing, 1989,\\\\n // 988-991.\\\\n function quantizeAndInverse(zz, dataOut, dataIn) {\\\\n const qt = component.quantizationTable;\\\\n let v0;\\\\n let v1;\\\\n let v2;\\\\n let v3;\\\\n let v4;\\\\n let v5;\\\\n let v6;\\\\n let v7;\\\\n let t;\\\\n const p = dataIn;\\\\n let i;\\\\n\\\\n // dequant\\\\n for (i = 0; i < 64; i++) {\\\\n p[i] = zz[i] * qt[i];\\\\n }\\\\n\\\\n // inverse DCT on rows\\\\n for (i = 0; i < 8; ++i) {\\\\n const row = 8 * i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[1 + row] === 0 && p[2 + row] === 0 && p[3 + row] === 0\\\\n && p[4 + row] === 0 && p[5 + row] === 0 && p[6 + row] === 0\\\\n && p[7 + row] === 0) {\\\\n t = ((dctSqrt2 * p[0 + row]) + 512) >> 10;\\\\n p[0 + row] = t;\\\\n p[1 + row] = t;\\\\n p[2 + row] = t;\\\\n p[3 + row] = t;\\\\n p[4 + row] = t;\\\\n p[5 + row] = t;\\\\n p[6 + row] = t;\\\\n p[7 + row] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[0 + row]) + 128) >> 8;\\\\n v1 = ((dctSqrt2 * p[4 + row]) + 128) >> 8;\\\\n v2 = p[2 + row];\\\\n v3 = p[6 + row];\\\\n v4 = ((dctSqrt1d2 * (p[1 + row] - p[7 + row])) + 128) >> 8;\\\\n v7 = ((dctSqrt1d2 * (p[1 + row] + p[7 + row])) + 128) >> 8;\\\\n v5 = p[3 + row] << 4;\\\\n v6 = p[5 + row] << 4;\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 128) >> 8;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 128) >> 8;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[0 + row] = v0 + v7;\\\\n p[7 + row] = v0 - v7;\\\\n p[1 + row] = v1 + v6;\\\\n p[6 + row] = v1 - v6;\\\\n p[2 + row] = v2 + v5;\\\\n p[5 + row] = v2 - v5;\\\\n p[3 + row] = v3 + v4;\\\\n p[4 + row] = v3 - v4;\\\\n }\\\\n\\\\n // inverse DCT on columns\\\\n for (i = 0; i < 8; ++i) {\\\\n const col = i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[(1 * 8) + col] === 0 && p[(2 * 8) + col] === 0 && p[(3 * 8) + col] === 0\\\\n && p[(4 * 8) + col] === 0 && p[(5 * 8) + col] === 0 && p[(6 * 8) + col] === 0\\\\n && p[(7 * 8) + col] === 0) {\\\\n t = ((dctSqrt2 * dataIn[i + 0]) + 8192) >> 14;\\\\n p[(0 * 8) + col] = t;\\\\n p[(1 * 8) + col] = t;\\\\n p[(2 * 8) + col] = t;\\\\n p[(3 * 8) + col] = t;\\\\n p[(4 * 8) + col] = t;\\\\n p[(5 * 8) + col] = t;\\\\n p[(6 * 8) + col] = t;\\\\n p[(7 * 8) + col] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[(0 * 8) + col]) + 2048) >> 12;\\\\n v1 = ((dctSqrt2 * p[(4 * 8) + col]) + 2048) >> 12;\\\\n v2 = p[(2 * 8) + col];\\\\n v3 = p[(6 * 8) + col];\\\\n v4 = ((dctSqrt1d2 * (p[(1 * 8) + col] - p[(7 * 8) + col])) + 2048) >> 12;\\\\n v7 = ((dctSqrt1d2 * (p[(1 * 8) + col] + p[(7 * 8) + col])) + 2048) >> 12;\\\\n v5 = p[(3 * 8) + col];\\\\n v6 = p[(5 * 8) + col];\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 2048) >> 12;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 2048) >> 12;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[(0 * 8) + col] = v0 + v7;\\\\n p[(7 * 8) + col] = v0 - v7;\\\\n p[(1 * 8) + col] = v1 + v6;\\\\n p[(6 * 8) + col] = v1 - v6;\\\\n p[(2 * 8) + col] = v2 + v5;\\\\n p[(5 * 8) + col] = v2 - v5;\\\\n p[(3 * 8) + col] = v3 + v4;\\\\n p[(4 * 8) + col] = v3 - v4;\\\\n }\\\\n\\\\n // convert to 8-bit integers\\\\n for (i = 0; i < 64; ++i) {\\\\n const sample = 128 + ((p[i] + 8) >> 4);\\\\n if (sample < 0) {\\\\n dataOut[i] = 0;\\\\n } else if (sample > 0XFF) {\\\\n dataOut[i] = 0xFF;\\\\n } else {\\\\n dataOut[i] = sample;\\\\n }\\\\n }\\\\n }\\\\n\\\\n for (let blockRow = 0; blockRow < blocksPerColumn; blockRow++) {\\\\n const scanLine = blockRow << 3;\\\\n for (let i = 0; i < 8; i++) {\\\\n lines.push(new Uint8Array(samplesPerLine));\\\\n }\\\\n for (let blockCol = 0; blockCol < blocksPerLine; blockCol++) {\\\\n quantizeAndInverse(component.blocks[blockRow][blockCol], r, R);\\\\n\\\\n let offset = 0;\\\\n const sample = blockCol << 3;\\\\n for (let j = 0; j < 8; j++) {\\\\n const line = lines[scanLine + j];\\\\n for (let i = 0; i < 8; i++) {\\\\n line[sample + i] = r[offset++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return lines;\\\\n}\\\\n\\\\nclass JpegStreamReader {\\\\n constructor() {\\\\n this.jfif = null;\\\\n this.adobe = null;\\\\n\\\\n this.quantizationTables = [];\\\\n this.huffmanTablesAC = [];\\\\n this.huffmanTablesDC = [];\\\\n this.resetFrames();\\\\n }\\\\n\\\\n resetFrames() {\\\\n this.frames = [];\\\\n }\\\\n\\\\n parse(data) {\\\\n let offset = 0;\\\\n // const { length } = data;\\\\n function readUint16() {\\\\n const value = (data[offset] << 8) | data[offset + 1];\\\\n offset += 2;\\\\n return value;\\\\n }\\\\n function readDataBlock() {\\\\n const length = readUint16();\\\\n const array = data.subarray(offset, offset + length - 2);\\\\n offset += array.length;\\\\n return array;\\\\n }\\\\n function prepareComponents(frame) {\\\\n let maxH = 0;\\\\n let maxV = 0;\\\\n let component;\\\\n let componentId;\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n if (maxH < component.h) {\\\\n maxH = component.h;\\\\n }\\\\n if (maxV < component.v) {\\\\n maxV = component.v;\\\\n }\\\\n }\\\\n }\\\\n const mcusPerLine = Math.ceil(frame.samplesPerLine / 8 / maxH);\\\\n const mcusPerColumn = Math.ceil(frame.scanLines / 8 / maxV);\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n const blocksPerLine = Math.ceil(Math.ceil(frame.samplesPerLine / 8) * component.h / maxH);\\\\n const blocksPerColumn = Math.ceil(Math.ceil(frame.scanLines / 8) * component.v / maxV);\\\\n const blocksPerLineForMcu = mcusPerLine * component.h;\\\\n const blocksPerColumnForMcu = mcusPerColumn * component.v;\\\\n const blocks = [];\\\\n for (let i = 0; i < blocksPerColumnForMcu; i++) {\\\\n const row = [];\\\\n for (let j = 0; j < blocksPerLineForMcu; j++) {\\\\n row.push(new Int32Array(64));\\\\n }\\\\n blocks.push(row);\\\\n }\\\\n component.blocksPerLine = blocksPerLine;\\\\n component.blocksPerColumn = blocksPerColumn;\\\\n component.blocks = blocks;\\\\n }\\\\n }\\\\n frame.maxH = maxH;\\\\n frame.maxV = maxV;\\\\n frame.mcusPerLine = mcusPerLine;\\\\n frame.mcusPerColumn = mcusPerColumn;\\\\n }\\\\n\\\\n let fileMarker = readUint16();\\\\n if (fileMarker !== 0xFFD8) { // SOI (Start of Image)\\\\n throw new Error('SOI not found');\\\\n }\\\\n\\\\n fileMarker = readUint16();\\\\n while (fileMarker !== 0xFFD9) { // EOI (End of image)\\\\n switch (fileMarker) {\\\\n case 0xFF00: break;\\\\n case 0xFFE0: // APP0 (Application Specific)\\\\n case 0xFFE1: // APP1\\\\n case 0xFFE2: // APP2\\\\n case 0xFFE3: // APP3\\\\n case 0xFFE4: // APP4\\\\n case 0xFFE5: // APP5\\\\n case 0xFFE6: // APP6\\\\n case 0xFFE7: // APP7\\\\n case 0xFFE8: // APP8\\\\n case 0xFFE9: // APP9\\\\n case 0xFFEA: // APP10\\\\n case 0xFFEB: // APP11\\\\n case 0xFFEC: // APP12\\\\n case 0xFFED: // APP13\\\\n case 0xFFEE: // APP14\\\\n case 0xFFEF: // APP15\\\\n case 0xFFFE: { // COM (Comment)\\\\n const appData = readDataBlock();\\\\n\\\\n if (fileMarker === 0xFFE0) {\\\\n if (appData[0] === 0x4A && appData[1] === 0x46 && appData[2] === 0x49\\\\n && appData[3] === 0x46 && appData[4] === 0) { // 'JFIF\\\\\\\\x00'\\\\n this.jfif = {\\\\n version: { major: appData[5], minor: appData[6] },\\\\n densityUnits: appData[7],\\\\n xDensity: (appData[8] << 8) | appData[9],\\\\n yDensity: (appData[10] << 8) | appData[11],\\\\n thumbWidth: appData[12],\\\\n thumbHeight: appData[13],\\\\n thumbData: appData.subarray(14, 14 + (3 * appData[12] * appData[13])),\\\\n };\\\\n }\\\\n }\\\\n // TODO APP1 - Exif\\\\n if (fileMarker === 0xFFEE) {\\\\n if (appData[0] === 0x41 && appData[1] === 0x64 && appData[2] === 0x6F\\\\n && appData[3] === 0x62 && appData[4] === 0x65 && appData[5] === 0) { // 'Adobe\\\\\\\\x00'\\\\n this.adobe = {\\\\n version: appData[6],\\\\n flags0: (appData[7] << 8) | appData[8],\\\\n flags1: (appData[9] << 8) | appData[10],\\\\n transformCode: appData[11],\\\\n };\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDB: { // DQT (Define Quantization Tables)\\\\n const quantizationTablesLength = readUint16();\\\\n const quantizationTablesEnd = quantizationTablesLength + offset - 2;\\\\n while (offset < quantizationTablesEnd) {\\\\n const quantizationTableSpec = data[offset++];\\\\n const tableData = new Int32Array(64);\\\\n if ((quantizationTableSpec >> 4) === 0) { // 8 bit values\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = data[offset++];\\\\n }\\\\n } else if ((quantizationTableSpec >> 4) === 1) { // 16 bit\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = readUint16();\\\\n }\\\\n } else {\\\\n throw new Error('DQT: invalid table spec');\\\\n }\\\\n this.quantizationTables[quantizationTableSpec & 15] = tableData;\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC0: // SOF0 (Start of Frame, Baseline DCT)\\\\n case 0xFFC1: // SOF1 (Start of Frame, Extended DCT)\\\\n case 0xFFC2: { // SOF2 (Start of Frame, Progressive DCT)\\\\n readUint16(); // skip data length\\\\n const frame = {\\\\n extended: (fileMarker === 0xFFC1),\\\\n progressive: (fileMarker === 0xFFC2),\\\\n precision: data[offset++],\\\\n scanLines: readUint16(),\\\\n samplesPerLine: readUint16(),\\\\n components: {},\\\\n componentsOrder: [],\\\\n };\\\\n\\\\n const componentsCount = data[offset++];\\\\n let componentId;\\\\n // let maxH = 0;\\\\n // let maxV = 0;\\\\n for (let i = 0; i < componentsCount; i++) {\\\\n componentId = data[offset];\\\\n const h = data[offset + 1] >> 4;\\\\n const v = data[offset + 1] & 15;\\\\n const qId = data[offset + 2];\\\\n frame.componentsOrder.push(componentId);\\\\n frame.components[componentId] = {\\\\n h,\\\\n v,\\\\n quantizationIdx: qId,\\\\n };\\\\n offset += 3;\\\\n }\\\\n prepareComponents(frame);\\\\n this.frames.push(frame);\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC4: { // DHT (Define Huffman Tables)\\\\n const huffmanLength = readUint16();\\\\n for (let i = 2; i < huffmanLength;) {\\\\n const huffmanTableSpec = data[offset++];\\\\n const codeLengths = new Uint8Array(16);\\\\n let codeLengthSum = 0;\\\\n for (let j = 0; j < 16; j++, offset++) {\\\\n codeLengths[j] = data[offset];\\\\n codeLengthSum += codeLengths[j];\\\\n }\\\\n const huffmanValues = new Uint8Array(codeLengthSum);\\\\n for (let j = 0; j < codeLengthSum; j++, offset++) {\\\\n huffmanValues[j] = data[offset];\\\\n }\\\\n i += 17 + codeLengthSum;\\\\n\\\\n if ((huffmanTableSpec >> 4) === 0) {\\\\n this.huffmanTablesDC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n } else {\\\\n this.huffmanTablesAC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDD: // DRI (Define Restart Interval)\\\\n readUint16(); // skip data length\\\\n this.resetInterval = readUint16();\\\\n break;\\\\n\\\\n case 0xFFDA: { // SOS (Start of Scan)\\\\n readUint16(); // skip length\\\\n const selectorsCount = data[offset++];\\\\n const components = [];\\\\n const frame = this.frames[0];\\\\n for (let i = 0; i < selectorsCount; i++) {\\\\n const component = frame.components[data[offset++]];\\\\n const tableSpec = data[offset++];\\\\n component.huffmanTableDC = this.huffmanTablesDC[tableSpec >> 4];\\\\n component.huffmanTableAC = this.huffmanTablesAC[tableSpec & 15];\\\\n components.push(component);\\\\n }\\\\n const spectralStart = data[offset++];\\\\n const spectralEnd = data[offset++];\\\\n const successiveApproximation = data[offset++];\\\\n const processed = decodeScan(data, offset,\\\\n frame, components, this.resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successiveApproximation >> 4, successiveApproximation & 15);\\\\n offset += processed;\\\\n break;\\\\n }\\\\n\\\\n case 0xFFFF: // Fill bytes\\\\n if (data[offset] !== 0xFF) { // Avoid skipping a valid marker.\\\\n offset--;\\\\n }\\\\n break;\\\\n\\\\n default:\\\\n if (data[offset - 3] === 0xFF\\\\n && data[offset - 2] >= 0xC0 && data[offset - 2] <= 0xFE) {\\\\n // could be incorrect encoding -- last 0xFF byte of the previous\\\\n // block was eaten by the encoder\\\\n offset -= 3;\\\\n break;\\\\n }\\\\n throw new Error(`unknown JPEG marker ${fileMarker.toString(16)}`);\\\\n }\\\\n fileMarker = readUint16();\\\\n }\\\\n }\\\\n\\\\n getResult() {\\\\n const { frames } = this;\\\\n if (this.frames.length === 0) {\\\\n throw new Error('no frames were decoded');\\\\n } else if (this.frames.length > 1) {\\\\n console.warn('more than one frame is not supported');\\\\n }\\\\n\\\\n // set each frame's components quantization table\\\\n for (let i = 0; i < this.frames.length; i++) {\\\\n const cp = this.frames[i].components;\\\\n for (const j of Object.keys(cp)) {\\\\n cp[j].quantizationTable = this.quantizationTables[cp[j].quantizationIdx];\\\\n delete cp[j].quantizationIdx;\\\\n }\\\\n }\\\\n\\\\n const frame = frames[0];\\\\n const { components, componentsOrder } = frame;\\\\n const outComponents = [];\\\\n const width = frame.samplesPerLine;\\\\n const height = frame.scanLines;\\\\n\\\\n for (let i = 0; i < componentsOrder.length; i++) {\\\\n const component = components[componentsOrder[i]];\\\\n outComponents.push({\\\\n lines: buildComponentData(frame, component),\\\\n scaleX: component.h / frame.maxH,\\\\n scaleY: component.v / frame.maxV,\\\\n });\\\\n }\\\\n\\\\n const out = new Uint8Array(width * height * outComponents.length);\\\\n let oi = 0;\\\\n for (let y = 0; y < height; ++y) {\\\\n for (let x = 0; x < width; ++x) {\\\\n for (let i = 0; i < outComponents.length; ++i) {\\\\n const component = outComponents[i];\\\\n out[oi] = component.lines[0 | y * component.scaleY][0 | x * component.scaleX];\\\\n ++oi;\\\\n }\\\\n }\\\\n }\\\\n return out;\\\\n }\\\\n}\\\\n\\\\nclass JpegDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor(fileDirectory) {\\\\n super();\\\\n this.reader = new JpegStreamReader();\\\\n if (fileDirectory.JPEGTables) {\\\\n this.reader.parse(fileDirectory.JPEGTables);\\\\n }\\\\n }\\\\n\\\\n decodeBlock(buffer) {\\\\n this.reader.resetFrames();\\\\n this.reader.parse(new Uint8Array(buffer));\\\\n return this.reader.getResult().buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/jpeg.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/lzw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/lzw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return LZWDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nconst MIN_BITS = 9;\\\\nconst CLEAR_CODE = 256; // clear code\\\\nconst EOI_CODE = 257; // end of information\\\\nconst MAX_BYTELENGTH = 12;\\\\n\\\\nfunction getByte(array, position, length) {\\\\n const d = position % 8;\\\\n const a = Math.floor(position / 8);\\\\n const de = 8 - d;\\\\n const ef = (position + length) - ((a + 1) * 8);\\\\n let fg = (8 * (a + 2)) - (position + length);\\\\n const dg = ((a + 2) * 8) - position;\\\\n fg = Math.max(0, fg);\\\\n if (a >= array.length) {\\\\n console.warn('ran off the end of the buffer before finding EOI_CODE (end on input code)');\\\\n return EOI_CODE;\\\\n }\\\\n let chunk1 = array[a] & ((2 ** (8 - d)) - 1);\\\\n chunk1 <<= (length - de);\\\\n let chunks = chunk1;\\\\n if (a + 1 < array.length) {\\\\n let chunk2 = array[a + 1] >>> fg;\\\\n chunk2 <<= Math.max(0, (length - dg));\\\\n chunks += chunk2;\\\\n }\\\\n if (ef > 8 && a + 2 < array.length) {\\\\n const hi = ((a + 3) * 8) - (position + length);\\\\n const chunk3 = array[a + 2] >>> hi;\\\\n chunks += chunk3;\\\\n }\\\\n return chunks;\\\\n}\\\\n\\\\nfunction appendReversed(dest, source) {\\\\n for (let i = source.length - 1; i >= 0; i--) {\\\\n dest.push(source[i]);\\\\n }\\\\n return dest;\\\\n}\\\\n\\\\nfunction decompress(input) {\\\\n const dictionaryIndex = new Uint16Array(4093);\\\\n const dictionaryChar = new Uint8Array(4093);\\\\n for (let i = 0; i <= 257; i++) {\\\\n dictionaryIndex[i] = 4096;\\\\n dictionaryChar[i] = i;\\\\n }\\\\n let dictionaryLength = 258;\\\\n let byteLength = MIN_BITS;\\\\n let position = 0;\\\\n\\\\n function initDictionary() {\\\\n dictionaryLength = 258;\\\\n byteLength = MIN_BITS;\\\\n }\\\\n function getNext(array) {\\\\n const byte = getByte(array, position, byteLength);\\\\n position += byteLength;\\\\n return byte;\\\\n }\\\\n function addToDictionary(i, c) {\\\\n dictionaryChar[dictionaryLength] = c;\\\\n dictionaryIndex[dictionaryLength] = i;\\\\n dictionaryLength++;\\\\n return dictionaryLength - 1;\\\\n }\\\\n function getDictionaryReversed(n) {\\\\n const rev = [];\\\\n for (let i = n; i !== 4096; i = dictionaryIndex[i]) {\\\\n rev.push(dictionaryChar[i]);\\\\n }\\\\n return rev;\\\\n }\\\\n\\\\n const result = [];\\\\n initDictionary();\\\\n const array = new Uint8Array(input);\\\\n let code = getNext(array);\\\\n let oldCode;\\\\n while (code !== EOI_CODE) {\\\\n if (code === CLEAR_CODE) {\\\\n initDictionary();\\\\n code = getNext(array);\\\\n while (code === CLEAR_CODE) {\\\\n code = getNext(array);\\\\n }\\\\n\\\\n if (code === EOI_CODE) {\\\\n break;\\\\n } else if (code > CLEAR_CODE) {\\\\n throw new Error(`corrupted code at scanline ${code}`);\\\\n } else {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n oldCode = code;\\\\n }\\\\n } else if (code < dictionaryLength) {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n addToDictionary(oldCode, val[val.length - 1]);\\\\n oldCode = code;\\\\n } else {\\\\n const oldVal = getDictionaryReversed(oldCode);\\\\n if (!oldVal) {\\\\n throw new Error(`Bogus entry. Not in dictionary, ${oldCode} / ${dictionaryLength}, position: ${position}`);\\\\n }\\\\n appendReversed(result, oldVal);\\\\n result.push(oldVal[oldVal.length - 1]);\\\\n addToDictionary(oldCode, oldVal[oldVal.length - 1]);\\\\n oldCode = code;\\\\n }\\\\n\\\\n if (dictionaryLength + 1 >= (2 ** byteLength)) {\\\\n if (byteLength === MAX_BYTELENGTH) {\\\\n oldCode = undefined;\\\\n } else {\\\\n byteLength++;\\\\n }\\\\n }\\\\n code = getNext(array);\\\\n }\\\\n return new Uint8Array(result);\\\\n}\\\\n\\\\nclass LZWDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return decompress(buffer, false).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/lzw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/packbits.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/packbits.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return PackbitsDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass PackbitsDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n const dataView = new DataView(buffer);\\\\n const out = [];\\\\n\\\\n for (let i = 0; i < buffer.byteLength; ++i) {\\\\n let header = dataView.getInt8(i);\\\\n if (header < 0) {\\\\n const next = dataView.getUint8(i + 1);\\\\n header = -header;\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(next);\\\\n }\\\\n i += 1;\\\\n } else {\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(dataView.getUint8(i + j + 1));\\\\n }\\\\n i += header + 1;\\\\n }\\\\n }\\\\n return new Uint8Array(out).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/packbits.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/raw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/raw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return RawDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass RawDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/raw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataslice.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataslice.js ***!\\n \\\\***********************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataSlice; });\\\\nclass DataSlice {\\\\n constructor(arrayBuffer, sliceOffset, littleEndian, bigTiff) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n this._sliceOffset = sliceOffset;\\\\n this._littleEndian = littleEndian;\\\\n this._bigTiff = bigTiff;\\\\n }\\\\n\\\\n get sliceOffset() {\\\\n return this._sliceOffset;\\\\n }\\\\n\\\\n get sliceTop() {\\\\n return this._sliceOffset + this.buffer.byteLength;\\\\n }\\\\n\\\\n get littleEndian() {\\\\n return this._littleEndian;\\\\n }\\\\n\\\\n get bigTiff() {\\\\n return this._bigTiff;\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n covers(offset, length) {\\\\n return this.sliceOffset <= offset && this.sliceTop >= offset + length;\\\\n }\\\\n\\\\n readUint8(offset) {\\\\n return this._dataView.getUint8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt8(offset) {\\\\n return this._dataView.getInt8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint16(offset) {\\\\n return this._dataView.getUint16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt16(offset) {\\\\n return this._dataView.getInt16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint32(offset) {\\\\n return this._dataView.getUint32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt32(offset) {\\\\n return this._dataView.getInt32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat32(offset) {\\\\n return this._dataView.getFloat32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat64(offset) {\\\\n return this._dataView.getFloat64(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint64(offset) {\\\\n const left = this.readUint32(offset);\\\\n const right = this.readUint32(offset + 4);\\\\n let combined;\\\\n if (this._littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n readInt64(offset) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (this._littleEndian ? 7 : 0)) & 0x80) >\\\\n 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(\\\\n offset + (this._littleEndian ? i : 7 - i)\\\\n );\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value\\\\n }\\\\n\\\\n readOffset(offset) {\\\\n if (this._bigTiff) {\\\\n return this.readUint64(offset);\\\\n }\\\\n return this.readUint32(offset);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataslice.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataview64.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataview64.js ***!\\n \\\\************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataView64; });\\\\nclass DataView64 {\\\\n constructor(arrayBuffer) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n getUint64(offset, littleEndian) {\\\\n const left = this.getUint32(offset, littleEndian);\\\\n const right = this.getUint32(offset + 4, littleEndian);\\\\n let combined;\\\\n if (littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n getInt64(offset, littleEndian) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (littleEndian ? 7 : 0)) & 0x80) > 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(offset + (littleEndian ? i : 7 - i));\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value;\\\\n }\\\\n\\\\n getUint8(offset, littleEndian) {\\\\n return this._dataView.getUint8(offset, littleEndian);\\\\n }\\\\n\\\\n getInt8(offset, littleEndian) {\\\\n return this._dataView.getInt8(offset, littleEndian);\\\\n }\\\\n\\\\n getUint16(offset, littleEndian) {\\\\n return this._dataView.getUint16(offset, littleEndian);\\\\n }\\\\n\\\\n getInt16(offset, littleEndian) {\\\\n return this._dataView.getInt16(offset, littleEndian);\\\\n }\\\\n\\\\n getUint32(offset, littleEndian) {\\\\n return this._dataView.getUint32(offset, littleEndian);\\\\n }\\\\n\\\\n getInt32(offset, littleEndian) {\\\\n return this._dataView.getInt32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat32(offset, littleEndian) {\\\\n return this._dataView.getFloat32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat64(offset, littleEndian) {\\\\n return this._dataView.getFloat64(offset, littleEndian);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataview64.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiff.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiff.js ***!\\n \\\\*********************************************/\\n/*! exports provided: globals, rgb, getDecoder, setLogger, GeoTIFF, default, MultiGeoTIFF, fromUrl, fromArrayBuffer, fromFile, fromBlob, fromUrls, writeArrayBuffer, Pool */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"GeoTIFF\\\\\\\", function() { return GeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"MultiGeoTIFF\\\\\\\", function() { return MultiGeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrl\\\\\\\", function() { return fromUrl; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromArrayBuffer\\\\\\\", function() { return fromArrayBuffer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromFile\\\\\\\", function() { return fromFile; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlob\\\\\\\", function() { return fromBlob; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrls\\\\\\\", function() { return fromUrls; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeArrayBuffer\\\\\\\", function() { return writeArrayBuffer; });\\\\n/* harmony import */ var _geotiffimage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./geotiffimage */ \\\\\\\"./node_modules/geotiff/src/geotiffimage.js\\\\\\\");\\\\n/* harmony import */ var _dataview64__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dataview64 */ \\\\\\\"./node_modules/geotiff/src/dataview64.js\\\\\\\");\\\\n/* harmony import */ var _dataslice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dataslice */ \\\\\\\"./node_modules/geotiff/src/dataslice.js\\\\\\\");\\\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pool */ \\\\\\\"./node_modules/geotiff/src/pool.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _pool__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _source__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source */ \\\\\\\"./node_modules/geotiff/src/source.js\\\\\\\");\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _geotiffwriter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./geotiffwriter */ \\\\\\\"./node_modules/geotiff/src/geotiffwriter.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"globals\\\\\\\", function() { return _globals__WEBPACK_IMPORTED_MODULE_5__; });\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"rgb\\\\\\\", function() { return _rgb__WEBPACK_IMPORTED_MODULE_7__; });\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return _compression__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"getDecoder\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _logging__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./logging */ \\\\\\\"./node_modules/geotiff/src/logging.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return _logging__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"setLogger\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getFieldTypeLength(fieldType) {\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n return 1;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n return 2;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n return 4;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n return 8;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n}\\\\n\\\\nfunction parseGeoKeyDirectory(fileDirectory) {\\\\n const rawGeoKeyDirectory = fileDirectory.GeoKeyDirectory;\\\\n if (!rawGeoKeyDirectory) {\\\\n return null;\\\\n }\\\\n\\\\n const geoKeyDirectory = {};\\\\n for (let i = 4; i <= rawGeoKeyDirectory[3] * 4; i += 4) {\\\\n const key = _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"geoKeyNames\\\\\\\"][rawGeoKeyDirectory[i]];\\\\n const location = (rawGeoKeyDirectory[i + 1])\\\\n ? (_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][rawGeoKeyDirectory[i + 1]]) : null;\\\\n const count = rawGeoKeyDirectory[i + 2];\\\\n const offset = rawGeoKeyDirectory[i + 3];\\\\n\\\\n let value = null;\\\\n if (!location) {\\\\n value = offset;\\\\n } else {\\\\n value = fileDirectory[location];\\\\n if (typeof value === 'undefined' || value === null) {\\\\n throw new Error(`Could not get value of geoKey '${key}'.`);\\\\n } else if (typeof value === 'string') {\\\\n value = value.substring(offset, offset + count - 1);\\\\n } else if (value.subarray) {\\\\n value = value.subarray(offset, offset + count);\\\\n if (count === 1) {\\\\n value = value[0];\\\\n }\\\\n }\\\\n }\\\\n geoKeyDirectory[key] = value;\\\\n }\\\\n return geoKeyDirectory;\\\\n}\\\\n\\\\nfunction getValues(dataSlice, fieldType, count, offset) {\\\\n let values = null;\\\\n let readMethod = null;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n values = new Uint8Array(count); readMethod = dataSlice.readUint8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE:\\\\n values = new Int8Array(count); readMethod = dataSlice.readInt8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT:\\\\n values = new Uint16Array(count); readMethod = dataSlice.readUint16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n values = new Int16Array(count); readMethod = dataSlice.readInt16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n values = new Uint32Array(count); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG:\\\\n values = new Int32Array(count); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n values = new Array(count); readMethod = dataSlice.readUint64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8:\\\\n values = new Array(count); readMethod = dataSlice.readInt64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL:\\\\n values = new Uint32Array(count * 2); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL:\\\\n values = new Int32Array(count * 2); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT:\\\\n values = new Float32Array(count); readMethod = dataSlice.readFloat32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n values = new Float64Array(count); readMethod = dataSlice.readFloat64;\\\\n break;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n\\\\n // normal fields\\\\n if (!(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n for (let i = 0; i < count; ++i) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n }\\\\n } else { // RATIONAL or SRATIONAL\\\\n for (let i = 0; i < count; i += 2) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n values[i + 1] = readMethod.call(\\\\n dataSlice, offset + ((i * fieldTypeLength) + 4),\\\\n );\\\\n }\\\\n }\\\\n\\\\n if (fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII) {\\\\n return String.fromCharCode.apply(null, values);\\\\n }\\\\n return values;\\\\n}\\\\n\\\\n/**\\\\n * Data class to store the parsed file directory, geo key directory and\\\\n * offset to the next IFD\\\\n */\\\\nclass ImageFileDirectory {\\\\n constructor(fileDirectory, geoKeyDirectory, nextIFDByteOffset) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeyDirectory = geoKeyDirectory;\\\\n this.nextIFDByteOffset = nextIFDByteOffset;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Error class for cases when an IFD index was requested, that does not exist\\\\n * in the file.\\\\n */\\\\nclass GeoTIFFImageIndexError extends Error {\\\\n constructor(index) {\\\\n super(`No image at index ${index}`);\\\\n this.index = index;\\\\n }\\\\n}\\\\n\\\\n\\\\nclass GeoTIFFBase {\\\\n /**\\\\n * (experimental) Reads raster data from the best fitting image. This function uses\\\\n * the image with the lowest resolution that is still a higher resolution than the\\\\n * requested resolution.\\\\n * When specified, the `bbox` option is translated to the `window` option and the\\\\n * `resX` and `resY` to `width` and `height` respectively.\\\\n * Then, the [readRasters]{@link GeoTIFFImage#readRasters} method of the selected\\\\n * image is called and the result returned.\\\\n * @see GeoTIFFImage.readRasters\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.bbox=whole image] the subset to read data from in\\\\n * geographical coordinates.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {Number} [options.width] The desired width of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {Number} [options.height] The desired height of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {String} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {Number|Number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When multiple\\\\n * samples are requested, an array of fill values\\\\n * can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters(options = {}) {\\\\n const { window: imageWindow, width, height } = options;\\\\n let { resX, resY, bbox } = options;\\\\n\\\\n const firstImage = await this.getImage();\\\\n let usedImage = firstImage;\\\\n const imageCount = await this.getImageCount();\\\\n const imgBBox = firstImage.getBoundingBox();\\\\n\\\\n if (imageWindow && bbox) {\\\\n throw new Error('Both \\\\\\\"bbox\\\\\\\" and \\\\\\\"window\\\\\\\" passed.');\\\\n }\\\\n\\\\n // if width/height is passed, transform it to resolution\\\\n if (width || height) {\\\\n // if we have an image window (pixel coordinates), transform it to a BBox\\\\n // using the origin/resolution of the first image.\\\\n if (imageWindow) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [rX, rY] = firstImage.getResolution();\\\\n\\\\n bbox = [\\\\n oX + (imageWindow[0] * rX),\\\\n oY + (imageWindow[1] * rY),\\\\n oX + (imageWindow[2] * rX),\\\\n oY + (imageWindow[3] * rY),\\\\n ];\\\\n }\\\\n\\\\n // if we have a bbox (or calculated one)\\\\n\\\\n const usedBBox = bbox || imgBBox;\\\\n\\\\n if (width) {\\\\n if (resX) {\\\\n throw new Error('Both width and resX passed');\\\\n }\\\\n resX = (usedBBox[2] - usedBBox[0]) / width;\\\\n }\\\\n if (height) {\\\\n if (resY) {\\\\n throw new Error('Both width and resY passed');\\\\n }\\\\n resY = (usedBBox[3] - usedBBox[1]) / height;\\\\n }\\\\n }\\\\n\\\\n // if resolution is set or calculated, try to get the image with the worst acceptable resolution\\\\n if (resX || resY) {\\\\n const allImages = [];\\\\n for (let i = 0; i < imageCount; ++i) {\\\\n const image = await this.getImage(i);\\\\n const { SubfileType: subfileType, NewSubfileType: newSubfileType } = image.fileDirectory;\\\\n if (i === 0 || subfileType === 2 || newSubfileType & 1) {\\\\n allImages.push(image);\\\\n }\\\\n }\\\\n\\\\n allImages.sort((a, b) => a.getWidth() - b.getWidth());\\\\n for (let i = 0; i < allImages.length; ++i) {\\\\n const image = allImages[i];\\\\n const imgResX = (imgBBox[2] - imgBBox[0]) / image.getWidth();\\\\n const imgResY = (imgBBox[3] - imgBBox[1]) / image.getHeight();\\\\n\\\\n usedImage = image;\\\\n if ((resX && resX > imgResX) || (resY && resY > imgResY)) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n let wnd = imageWindow;\\\\n if (bbox) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [imageResX, imageResY] = usedImage.getResolution(firstImage);\\\\n\\\\n wnd = [\\\\n Math.round((bbox[0] - oX) / imageResX),\\\\n Math.round((bbox[1] - oY) / imageResY),\\\\n Math.round((bbox[2] - oX) / imageResX),\\\\n Math.round((bbox[3] - oY) / imageResY),\\\\n ];\\\\n wnd = [\\\\n Math.min(wnd[0], wnd[2]),\\\\n Math.min(wnd[1], wnd[3]),\\\\n Math.max(wnd[0], wnd[2]),\\\\n Math.max(wnd[1], wnd[3]),\\\\n ];\\\\n }\\\\n\\\\n return usedImage.readRasters({ ...options, window: wnd });\\\\n }\\\\n}\\\\n\\\\n\\\\n/**\\\\n * The abstraction for a whole GeoTIFF file.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass GeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * @constructor\\\\n * @param {Source} source The datasource to read from.\\\\n * @param {Boolean} littleEndian Whether the image uses little endian.\\\\n * @param {Boolean} bigTiff Whether the image uses bigTIFF conventions.\\\\n * @param {Number} firstIFDOffset The numeric byte-offset from the start of the image\\\\n * to the first IFD.\\\\n * @param {Object} [options] further options.\\\\n * @param {Boolean} [options.cache=false] whether or not decoded tiles shall be cached.\\\\n */\\\\n constructor(source, littleEndian, bigTiff, firstIFDOffset, options = {}) {\\\\n super();\\\\n this.source = source;\\\\n this.littleEndian = littleEndian;\\\\n this.bigTiff = bigTiff;\\\\n this.firstIFDOffset = firstIFDOffset;\\\\n this.cache = options.cache || false;\\\\n this.ifdRequests = [];\\\\n this.ghostValues = null;\\\\n }\\\\n\\\\n async getSlice(offset, size) {\\\\n const fallbackSize = this.bigTiff ? 4048 : 1024;\\\\n return new _dataslice__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](\\\\n await this.source.fetch(\\\\n offset, typeof size !== 'undefined' ? size : fallbackSize,\\\\n ), offset, this.littleEndian, this.bigTiff,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Instructs to parse an image file directory at the given file offset.\\\\n * As there is no way to ensure that a location is indeed the start of an IFD,\\\\n * this function must be called with caution (e.g only using the IFD offsets from\\\\n * the headers or other IFDs).\\\\n * @param {number} offset the offset to parse the IFD at\\\\n * @returns {ImageFileDirectory} the parsed IFD\\\\n */\\\\n async parseFileDirectoryAt(offset) {\\\\n const entrySize = this.bigTiff ? 20 : 12;\\\\n const offsetSize = this.bigTiff ? 8 : 2;\\\\n\\\\n let dataSlice = await this.getSlice(offset);\\\\n const numDirEntries = this.bigTiff ?\\\\n dataSlice.readUint64(offset) :\\\\n dataSlice.readUint16(offset);\\\\n\\\\n // if the slice does not cover the whole IFD, request a bigger slice, where the\\\\n // whole IFD fits: num of entries + n x tag length + offset to next IFD\\\\n const byteSize = (numDirEntries * entrySize) + (this.bigTiff ? 16 : 6);\\\\n if (!dataSlice.covers(offset, byteSize)) {\\\\n dataSlice = await this.getSlice(offset, byteSize);\\\\n }\\\\n\\\\n const fileDirectory = {};\\\\n\\\\n // loop over the IFD and create a file directory object\\\\n let i = offset + (this.bigTiff ? 8 : 2);\\\\n for (let entryCount = 0; entryCount < numDirEntries; i += entrySize, ++entryCount) {\\\\n const fieldTag = dataSlice.readUint16(i);\\\\n const fieldType = dataSlice.readUint16(i + 2);\\\\n const typeCount = this.bigTiff ?\\\\n dataSlice.readUint64(i + 4) :\\\\n dataSlice.readUint32(i + 4);\\\\n\\\\n let fieldValues;\\\\n let value;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n const valueOffset = i + (this.bigTiff ? 12 : 8);\\\\n\\\\n // check whether the value is directly encoded in the tag or refers to a\\\\n // different external byte range\\\\n if (fieldTypeLength * typeCount <= (this.bigTiff ? 8 : 4)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, valueOffset);\\\\n } else {\\\\n // resolve the reference to the actual byte range\\\\n const actualOffset = dataSlice.readOffset(valueOffset);\\\\n const length = getFieldTypeLength(fieldType) * typeCount;\\\\n\\\\n // check, whether we actually cover the referenced byte range; if not,\\\\n // request a new slice of bytes to read from it\\\\n if (dataSlice.covers(actualOffset, length)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, actualOffset);\\\\n } else {\\\\n const fieldDataSlice = await this.getSlice(actualOffset, length);\\\\n fieldValues = getValues(fieldDataSlice, fieldType, typeCount, actualOffset);\\\\n }\\\\n }\\\\n\\\\n // unpack single values from the array\\\\n if (typeCount === 1 && _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"arrayFields\\\\\\\"].indexOf(fieldTag) === -1 &&\\\\n !(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n value = fieldValues[0];\\\\n } else {\\\\n value = fieldValues;\\\\n }\\\\n\\\\n // write the tags value to the file directly\\\\n fileDirectory[_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][fieldTag]] = value;\\\\n }\\\\n const geoKeyDirectory = parseGeoKeyDirectory(fileDirectory);\\\\n const nextIFDByteOffset = dataSlice.readOffset(\\\\n offset + offsetSize + (entrySize * numDirEntries),\\\\n );\\\\n\\\\n return new ImageFileDirectory(\\\\n fileDirectory,\\\\n geoKeyDirectory,\\\\n nextIFDByteOffset,\\\\n );\\\\n }\\\\n\\\\n async requestIFD(index) {\\\\n // see if we already have that IFD index requested.\\\\n if (this.ifdRequests[index]) {\\\\n // attach to an already requested IFD\\\\n return this.ifdRequests[index];\\\\n } else if (index === 0) {\\\\n // special case for index 0\\\\n this.ifdRequests[index] = this.parseFileDirectoryAt(this.firstIFDOffset);\\\\n return this.ifdRequests[index];\\\\n } else if (!this.ifdRequests[index - 1]) {\\\\n // if the previous IFD was not yet loaded, load that one first\\\\n // this is the recursive call.\\\\n try {\\\\n this.ifdRequests[index - 1] = this.requestIFD(index - 1);\\\\n } catch (e) {\\\\n // if the previous one already was an index error, rethrow\\\\n // with the current index\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n // rethrow anything else\\\\n throw e;\\\\n }\\\\n }\\\\n // if the previous IFD was loaded, we can finally fetch the one we are interested in.\\\\n // we need to wrap this in an IIFE, otherwise this.ifdRequests[index] would be delayed\\\\n this.ifdRequests[index] = (async () => {\\\\n const previousIfd = await this.ifdRequests[index - 1];\\\\n if (previousIfd.nextIFDByteOffset === 0) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n return this.parseFileDirectoryAt(previousIfd.nextIFDByteOffset);\\\\n })();\\\\n return this.ifdRequests[index];\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n const ifd = await this.requestIFD(index);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, ifd.geoKeyDirectory,\\\\n this.dataView, this.littleEndian, this.cache, this.source,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n let index = 0;\\\\n // loop until we run out of IFDs\\\\n let hasNext = true;\\\\n while (hasNext) {\\\\n try {\\\\n await this.requestIFD(index);\\\\n ++index;\\\\n } catch (e) {\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n hasNext = false;\\\\n } else {\\\\n throw e;\\\\n }\\\\n }\\\\n }\\\\n return index;\\\\n }\\\\n\\\\n /**\\\\n * Get the values of the COG ghost area as a parsed map.\\\\n * See https://gdal.org/drivers/raster/cog.html#header-ghost-area for reference\\\\n * @returns {Object} the parsed ghost area or null, if no such area was found\\\\n */\\\\n async getGhostValues() {\\\\n const offset = this.bigTiff ? 16 : 8;\\\\n if (this.ghostValues) {\\\\n return this.ghostValues;\\\\n }\\\\n const detectionString = 'GDAL_STRUCTURAL_METADATA_SIZE=';\\\\n const heuristicAreaSize = detectionString.length + 100;\\\\n let slice = await this.getSlice(offset, heuristicAreaSize);\\\\n if (detectionString === getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, detectionString.length, offset)) {\\\\n const valuesString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, heuristicAreaSize, offset);\\\\n const firstLine = valuesString.split('\\\\\\\\n')[0];\\\\n const metadataSize = Number(firstLine.split('=')[1].split(' ')[0]) + firstLine.length;\\\\n if (metadataSize > heuristicAreaSize) {\\\\n slice = await this.getSlice(offset, metadataSize);\\\\n }\\\\n const fullString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, metadataSize, offset);\\\\n this.ghostValues = {};\\\\n fullString\\\\n .split('\\\\\\\\n')\\\\n .filter(line => line.length > 0)\\\\n .map(line => line.split('='))\\\\n .forEach(([key, value]) => {\\\\n this.ghostValues[key] = value;\\\\n });\\\\n }\\\\n return this.ghostValues;\\\\n }\\\\n\\\\n /**\\\\n * Parse a (Geo)TIFF file from the given source.\\\\n *\\\\n * @param {source~Source} source The source of data to parse from.\\\\n * @param {object} options Additional options.\\\\n */\\\\n static async fromSource(source, options) {\\\\n const headerData = await source.fetch(0, 1024);\\\\n const dataView = new _dataview64__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](headerData);\\\\n\\\\n const BOM = dataView.getUint16(0, 0);\\\\n let littleEndian;\\\\n if (BOM === 0x4949) {\\\\n littleEndian = true;\\\\n } else if (BOM === 0x4D4D) {\\\\n littleEndian = false;\\\\n } else {\\\\n throw new TypeError('Invalid byte order value.');\\\\n }\\\\n\\\\n const magicNumber = dataView.getUint16(2, littleEndian);\\\\n let bigTiff;\\\\n if (magicNumber === 42) {\\\\n bigTiff = false;\\\\n } else if (magicNumber === 43) {\\\\n bigTiff = true;\\\\n const offsetByteSize = dataView.getUint16(4, littleEndian);\\\\n if (offsetByteSize !== 8) {\\\\n throw new Error('Unsupported offset byte-size.');\\\\n }\\\\n } else {\\\\n throw new TypeError('Invalid magic number.');\\\\n }\\\\n\\\\n const firstIFDOffset = bigTiff\\\\n ? dataView.getUint64(8, littleEndian)\\\\n : dataView.getUint32(4, littleEndian);\\\\n return new GeoTIFF(source, littleEndian, bigTiff, firstIFDOffset, options);\\\\n }\\\\n\\\\n /**\\\\n * Closes the underlying file buffer\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n */\\\\n close() {\\\\n if (typeof this.source.close === 'function') {\\\\n return this.source.close();\\\\n }\\\\n return false;\\\\n }\\\\n}\\\\n\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFF);\\\\n\\\\n/**\\\\n * Wrapper for GeoTIFF files that have external overviews.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass MultiGeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * Construct a new MultiGeoTIFF from a main and several overview files.\\\\n * @param {GeoTIFF} mainFile The main GeoTIFF file.\\\\n * @param {GeoTIFF[]} overviewFiles An array of overview files.\\\\n */\\\\n constructor(mainFile, overviewFiles) {\\\\n super();\\\\n this.mainFile = mainFile;\\\\n this.overviewFiles = overviewFiles;\\\\n this.imageFiles = [mainFile].concat(overviewFiles);\\\\n\\\\n this.fileDirectoriesPerFile = null;\\\\n this.fileDirectoriesPerFileParsing = null;\\\\n this.imageCount = null;\\\\n }\\\\n\\\\n async parseFileDirectoriesPerFile() {\\\\n const requests = [this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)]\\\\n .concat(this.overviewFiles.map((file) => file.parseFileDirectoryAt(file.firstIFDOffset)));\\\\n\\\\n this.fileDirectoriesPerFile = await Promise.all(requests);\\\\n return this.fileDirectoriesPerFile;\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n await this.getImageCount();\\\\n await this.parseFileDirectoriesPerFile();\\\\n let visited = 0;\\\\n let relativeIndex = 0;\\\\n for (let i = 0; i < this.imageFiles.length; i++) {\\\\n const imageFile = this.imageFiles[i];\\\\n for (let ii = 0; ii < this.imageCounts[i]; ii++) {\\\\n if (index === visited) {\\\\n const ifd = await imageFile.requestIFD(relativeIndex);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, imageFile.geoKeyDirectory,\\\\n imageFile.dataView, imageFile.littleEndian, imageFile.cache, imageFile.source,\\\\n );\\\\n }\\\\n visited++;\\\\n relativeIndex++;\\\\n }\\\\n relativeIndex = 0;\\\\n }\\\\n\\\\n throw new RangeError('Invalid image index');\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n if (this.imageCount !== null) {\\\\n return this.imageCount;\\\\n }\\\\n const requests = [this.mainFile.getImageCount()]\\\\n .concat(this.overviewFiles.map((file) => file.getImageCount()));\\\\n this.imageCounts = await Promise.all(requests);\\\\n this.imageCount = this.imageCounts.reduce((count, ifds) => count + ifds, 0);\\\\n return this.imageCount;\\\\n }\\\\n}\\\\n\\\\n\\\\n\\\\n/**\\\\n * Creates a new GeoTIFF from a remote URL.\\\\n * @param {string} url The URL to access the image from\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See {@link makeRemoteSource} for details.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromUrl(url, options = {}) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options));\\\\n}\\\\n\\\\n/**\\\\n * Construct a new GeoTIFF from an\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The data to read the file from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromArrayBuffer(arrayBuffer) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeBufferSource\\\\\\\"])(arrayBuffer));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from a local file path. This uses the node\\\\n * [filesystem API]{@link https://nodejs.org/api/fs.html} and is\\\\n * not available on browsers.\\\\n *\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n * @param {string} path The file path to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromFile(path) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileSource\\\\\\\"])(path));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from an HTML\\\\n * [Blob]{@link https://developer.mozilla.org/en-US/docs/Web/API/Blob} or\\\\n * [File]{@link https://developer.mozilla.org/en-US/docs/Web/API/File}\\\\n * object.\\\\n * @param {Blob|File} blob The Blob or File object to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromBlob(blob) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileReaderSource\\\\\\\"])(blob));\\\\n}\\\\n\\\\n/**\\\\n * Construct a MultiGeoTIFF from the given URLs.\\\\n * @param {string} mainUrl The URL for the main file.\\\\n * @param {string[]} overviewUrls An array of URLs for the overview images.\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See [makeRemoteSource]{@link module:source.makeRemoteSource}\\\\n * for details.\\\\n * @returns {Promise.} The resulting MultiGeoTIFF file.\\\\n */\\\\nasync function fromUrls(mainUrl, overviewUrls = [], options = {}) {\\\\n const mainFile = await GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(mainUrl, options));\\\\n const overviewFiles = await Promise.all(\\\\n overviewUrls.map((url) => GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options))),\\\\n );\\\\n\\\\n return new MultiGeoTIFF(mainFile, overviewFiles);\\\\n}\\\\n\\\\n/**\\\\n * Main creating function for GeoTIFF files.\\\\n * @param {(Array)} array of pixel values\\\\n * @returns {metadata} metadata\\\\n */\\\\nasync function writeArrayBuffer(values, metadata) {\\\\n return Object(_geotiffwriter__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"writeGeotiff\\\\\\\"])(values, metadata);\\\\n}\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiff.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffimage.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffimage.js ***!\\n \\\\**************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! txml */ \\\\\\\"./node_modules/txml/tXml.js\\\\\\\");\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(txml__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony import */ var _resample__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./resample */ \\\\\\\"./node_modules/geotiff/src/resample.js\\\\\\\");\\\\n/* eslint max-len: [\\\\\\\"error\\\\\\\", { \\\\\\\"code\\\\\\\": 120 }] */\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction sum(array, start, end) {\\\\n let s = 0;\\\\n for (let i = start; i < end; ++i) {\\\\n s += array[i];\\\\n }\\\\n return s;\\\\n}\\\\n\\\\nfunction arrayForType(format, bitsPerSample, size) {\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Uint8Array(size);\\\\n case 16:\\\\n return new Uint16Array(size);\\\\n case 32:\\\\n return new Uint32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Int8Array(size);\\\\n case 16:\\\\n return new Int16Array(size);\\\\n case 32:\\\\n return new Int32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3: // floating point data\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return new Float32Array(size);\\\\n case 64:\\\\n return new Float64Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n}\\\\n\\\\n/**\\\\n * GeoTIFF sub-file image.\\\\n */\\\\nclass GeoTIFFImage {\\\\n /**\\\\n * @constructor\\\\n * @param {Object} fileDirectory The parsed file directory\\\\n * @param {Object} geoKeys The parsed geo-keys\\\\n * @param {DataView} dataView The DataView for the underlying file.\\\\n * @param {Boolean} littleEndian Whether the file is encoded in little or big endian\\\\n * @param {Boolean} cache Whether or not decoded tiles shall be cached\\\\n * @param {Source} source The datasource to read from\\\\n */\\\\n constructor(fileDirectory, geoKeys, dataView, littleEndian, cache, source) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeys = geoKeys;\\\\n this.dataView = dataView;\\\\n this.littleEndian = littleEndian;\\\\n this.tiles = cache ? {} : null;\\\\n this.isTiled = !fileDirectory.StripOffsets;\\\\n const planarConfiguration = fileDirectory.PlanarConfiguration;\\\\n this.planarConfiguration = (typeof planarConfiguration === 'undefined') ? 1 : planarConfiguration;\\\\n if (this.planarConfiguration !== 1 && this.planarConfiguration !== 2) {\\\\n throw new Error('Invalid planar configuration.');\\\\n }\\\\n\\\\n this.source = source;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed file directory.\\\\n * @returns {Object} the parsed file directory\\\\n */\\\\n getFileDirectory() {\\\\n return this.fileDirectory;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed geo keys.\\\\n * @returns {Object} the parsed geo keys\\\\n */\\\\n getGeoKeys() {\\\\n return this.geoKeys;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of the image.\\\\n * @returns {Number} the width of the image\\\\n */\\\\n getWidth() {\\\\n return this.fileDirectory.ImageWidth;\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of the image.\\\\n * @returns {Number} the height of the image\\\\n */\\\\n getHeight() {\\\\n return this.fileDirectory.ImageLength;\\\\n }\\\\n\\\\n /**\\\\n * Returns the number of samples per pixel.\\\\n * @returns {Number} the number of samples per pixel\\\\n */\\\\n getSamplesPerPixel() {\\\\n return this.fileDirectory.SamplesPerPixel;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of each tile.\\\\n * @returns {Number} the width of each tile\\\\n */\\\\n getTileWidth() {\\\\n return this.isTiled ? this.fileDirectory.TileWidth : this.getWidth();\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of each tile.\\\\n * @returns {Number} the height of each tile\\\\n */\\\\n getTileHeight() {\\\\n if (this.isTiled) {\\\\n return this.fileDirectory.TileLength;\\\\n }\\\\n if (typeof this.fileDirectory.RowsPerStrip !== 'undefined') {\\\\n return Math.min(this.fileDirectory.RowsPerStrip, this.getHeight());\\\\n }\\\\n return this.getHeight();\\\\n }\\\\n\\\\n /**\\\\n * Calculates the number of bytes for each pixel across all samples. Only full\\\\n * bytes are supported, an exception is thrown when this is not the case.\\\\n * @returns {Number} the bytes per pixel\\\\n */\\\\n getBytesPerPixel() {\\\\n let bitsPerSample = 0;\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; ++i) {\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n } else if (bits !== this.fileDirectory.BitsPerSample[0]) {\\\\n throw new Error('Differing size of samples in a pixel are not supported.');\\\\n }\\\\n bitsPerSample += bits;\\\\n }\\\\n return bitsPerSample / 8;\\\\n }\\\\n\\\\n getSampleByteSize(i) {\\\\n if (i >= this.fileDirectory.BitsPerSample.length) {\\\\n throw new RangeError(`Sample index ${i} is out of range.`);\\\\n }\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n }\\\\n return (bits / 8);\\\\n }\\\\n\\\\n getReaderForSample(sampleIndex) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getUint8;\\\\n case 16:\\\\n return DataView.prototype.getUint16;\\\\n case 32:\\\\n return DataView.prototype.getUint32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getInt8;\\\\n case 16:\\\\n return DataView.prototype.getInt16;\\\\n case 32:\\\\n return DataView.prototype.getInt32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3:\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return DataView.prototype.getFloat32;\\\\n case 64:\\\\n return DataView.prototype.getFloat64;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n }\\\\n\\\\n getArrayForSample(sampleIndex, size) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n return arrayForType(format, bitsPerSample, size);\\\\n }\\\\n\\\\n /**\\\\n * Returns the decoded strip or tile.\\\\n * @param {Number} x the strip or tile x-offset\\\\n * @param {Number} y the tile y-offset (0 for stripped images)\\\\n * @param {Number} sample the sample to get for separated samples\\\\n * @param {Pool|AbstractDecoder} poolOrDecoder the decoder or decoder pool\\\\n * @returns {Promise.}\\\\n */\\\\n async getTileOrStrip(x, y, sample, poolOrDecoder) {\\\\n const numTilesPerRow = Math.ceil(this.getWidth() / this.getTileWidth());\\\\n const numTilesPerCol = Math.ceil(this.getHeight() / this.getTileHeight());\\\\n let index;\\\\n const { tiles } = this;\\\\n if (this.planarConfiguration === 1) {\\\\n index = (y * numTilesPerRow) + x;\\\\n } else if (this.planarConfiguration === 2) {\\\\n index = (sample * numTilesPerRow * numTilesPerCol) + (y * numTilesPerRow) + x;\\\\n }\\\\n\\\\n let offset;\\\\n let byteCount;\\\\n if (this.isTiled) {\\\\n offset = this.fileDirectory.TileOffsets[index];\\\\n byteCount = this.fileDirectory.TileByteCounts[index];\\\\n } else {\\\\n offset = this.fileDirectory.StripOffsets[index];\\\\n byteCount = this.fileDirectory.StripByteCounts[index];\\\\n }\\\\n const slice = await this.source.fetch(offset, byteCount);\\\\n\\\\n // either use the provided pool or decoder to decode the data\\\\n let request;\\\\n if (tiles === null) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n } else if (!tiles[index]) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n tiles[index] = request;\\\\n }\\\\n return { x, y, sample, data: await request };\\\\n }\\\\n\\\\n /**\\\\n * Internal read function.\\\\n * @private\\\\n * @param {Array} imageWindow The image window in pixel coordinates\\\\n * @param {Array} samples The selected samples (0-based indices)\\\\n * @param {TypedArray[]|TypedArray} valueArrays The array(s) to write into\\\\n * @param {Boolean} interleave Whether or not to write in an interleaved manner\\\\n * @param {Pool} pool The decoder pool\\\\n * @returns {Promise|Promise}\\\\n */\\\\n async _readRaster(imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod) {\\\\n const tileWidth = this.getTileWidth();\\\\n const tileHeight = this.getTileHeight();\\\\n\\\\n const minXTile = Math.max(Math.floor(imageWindow[0] / tileWidth), 0);\\\\n const maxXTile = Math.min(\\\\n Math.ceil(imageWindow[2] / tileWidth),\\\\n Math.ceil(this.getWidth() / this.getTileWidth()),\\\\n );\\\\n const minYTile = Math.max(Math.floor(imageWindow[1] / tileHeight), 0);\\\\n const maxYTile = Math.min(\\\\n Math.ceil(imageWindow[3] / tileHeight),\\\\n Math.ceil(this.getHeight() / this.getTileHeight()),\\\\n );\\\\n const windowWidth = imageWindow[2] - imageWindow[0];\\\\n\\\\n let bytesPerPixel = this.getBytesPerPixel();\\\\n\\\\n const srcSampleOffsets = [];\\\\n const sampleReaders = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (this.planarConfiguration === 1) {\\\\n srcSampleOffsets.push(sum(this.fileDirectory.BitsPerSample, 0, samples[i]) / 8);\\\\n } else {\\\\n srcSampleOffsets.push(0);\\\\n }\\\\n sampleReaders.push(this.getReaderForSample(samples[i]));\\\\n }\\\\n\\\\n const promises = [];\\\\n const { littleEndian } = this;\\\\n\\\\n for (let yTile = minYTile; yTile < maxYTile; ++yTile) {\\\\n for (let xTile = minXTile; xTile < maxXTile; ++xTile) {\\\\n for (let sampleIndex = 0; sampleIndex < samples.length; ++sampleIndex) {\\\\n const si = sampleIndex;\\\\n const sample = samples[sampleIndex];\\\\n if (this.planarConfiguration === 2) {\\\\n bytesPerPixel = this.getSampleByteSize(sample);\\\\n }\\\\n const promise = this.getTileOrStrip(xTile, yTile, sample, poolOrDecoder);\\\\n promises.push(promise);\\\\n promise.then((tile) => {\\\\n const buffer = tile.data;\\\\n const dataView = new DataView(buffer);\\\\n const firstLine = tile.y * tileHeight;\\\\n const firstCol = tile.x * tileWidth;\\\\n const lastLine = (tile.y + 1) * tileHeight;\\\\n const lastCol = (tile.x + 1) * tileWidth;\\\\n const reader = sampleReaders[si];\\\\n\\\\n const ymax = Math.min(tileHeight, tileHeight - (lastLine - imageWindow[3]));\\\\n const xmax = Math.min(tileWidth, tileWidth - (lastCol - imageWindow[2]));\\\\n\\\\n for (let y = Math.max(0, imageWindow[1] - firstLine); y < ymax; ++y) {\\\\n for (let x = Math.max(0, imageWindow[0] - firstCol); x < xmax; ++x) {\\\\n const pixelOffset = ((y * tileWidth) + x) * bytesPerPixel;\\\\n const value = reader.call(\\\\n dataView, pixelOffset + srcSampleOffsets[si], littleEndian,\\\\n );\\\\n let windowCoordinate;\\\\n if (interleave) {\\\\n windowCoordinate = ((y + firstLine - imageWindow[1]) * windowWidth * samples.length)\\\\n + ((x + firstCol - imageWindow[0]) * samples.length)\\\\n + si;\\\\n valueArrays[windowCoordinate] = value;\\\\n } else {\\\\n windowCoordinate = (\\\\n (y + firstLine - imageWindow[1]) * windowWidth\\\\n ) + x + firstCol - imageWindow[0];\\\\n valueArrays[si][windowCoordinate] = value;\\\\n }\\\\n }\\\\n }\\\\n });\\\\n }\\\\n }\\\\n }\\\\n await Promise.all(promises);\\\\n\\\\n if ((width && (imageWindow[2] - imageWindow[0]) !== width)\\\\n || (height && (imageWindow[3] - imageWindow[1]) !== height)) {\\\\n let resampled;\\\\n if (interleave) {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resampleInterleaved\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n samples.length,\\\\n resampleMethod,\\\\n );\\\\n } else {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resample\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n resampleMethod,\\\\n );\\\\n }\\\\n resampled.width = width;\\\\n resampled.height = height;\\\\n return resampled;\\\\n }\\\\n\\\\n valueArrays.width = width || imageWindow[2] - imageWindow[0];\\\\n valueArrays.height = height || imageWindow[3] - imageWindow[1];\\\\n\\\\n return valueArrays;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image. This function reads all selected samples\\\\n * into separate arrays of the correct type for that sample or into a single\\\\n * combined array when `interleave` is set. When provided, only a subset\\\\n * of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {number} [options.width] The desired width of the output. When the width is\\\\n * not the same as the images, resampling will be\\\\n * performed.\\\\n * @param {number} [options.height] The desired height of the output. When the width\\\\n * is not the same as the images, resampling will\\\\n * be performed.\\\\n * @param {string} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {number|number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When\\\\n * multiple samples are requested, an\\\\n * array of fill values can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters({\\\\n window: wnd, samples = [], interleave, pool = null,\\\\n width, height, resampleMethod, fillValue,\\\\n } = {}) {\\\\n const imageWindow = wnd || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const imageWindowWidth = imageWindow[2] - imageWindow[0];\\\\n const imageWindowHeight = imageWindow[3] - imageWindow[1];\\\\n const numPixels = imageWindowWidth * imageWindowHeight;\\\\n\\\\n if (!samples || !samples.length) {\\\\n for (let i = 0; i < this.fileDirectory.SamplesPerPixel; ++i) {\\\\n samples.push(i);\\\\n }\\\\n } else {\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (samples[i] >= this.fileDirectory.SamplesPerPixel) {\\\\n return Promise.reject(new RangeError(`Invalid sample index '${samples[i]}'.`));\\\\n }\\\\n }\\\\n }\\\\n let valueArrays;\\\\n if (interleave) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? Math.max.apply(null, this.fileDirectory.SampleFormat) : 1;\\\\n const bitsPerSample = Math.max.apply(null, this.fileDirectory.BitsPerSample);\\\\n valueArrays = arrayForType(format, bitsPerSample, numPixels * samples.length);\\\\n if (fillValue) {\\\\n valueArrays.fill(fillValue);\\\\n }\\\\n } else {\\\\n valueArrays = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n const valueArray = this.getArrayForSample(samples[i], numPixels);\\\\n if (Array.isArray(fillValue) && i < fillValue.length) {\\\\n valueArray.fill(fillValue[i]);\\\\n } else if (fillValue && !Array.isArray(fillValue)) {\\\\n valueArray.fill(fillValue);\\\\n }\\\\n valueArrays.push(valueArray);\\\\n }\\\\n }\\\\n\\\\n const poolOrDecoder = pool || Object(_compression__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"getDecoder\\\\\\\"])(this.fileDirectory);\\\\n\\\\n const result = await this._readRaster(\\\\n imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod,\\\\n );\\\\n return result;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image as RGB. The result is always an\\\\n * interleaved typed array.\\\\n * Colorspaces other than RGB will be transformed to RGB, color maps expanded.\\\\n * When no other method is applicable, the first sample is used to produce a\\\\n * greayscale image.\\\\n * When provided, only a subset of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Number} [pool=null] The optional decoder pool to use.\\\\n * @param {number} [width] The desired width of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {number} [height] The desired height of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {string} [resampleMethod='nearest'] The desired resampling method.\\\\n * @param {bool} [enableAlpha=false] Enable reading alpha channel if present.\\\\n * @returns {Promise.} the RGB array as a Promise\\\\n */\\\\n async readRGB({ window, pool = null, width, height, resampleMethod, enableAlpha = false } = {}) {\\\\n const imageWindow = window || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const pi = this.fileDirectory.PhotometricInterpretation;\\\\n\\\\n if (pi === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].RGB) {\\\\n let s = [0, 1, 2];\\\\n if ((!(this.fileDirectory.ExtraSamples === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"ExtraSamplesValues\\\\\\\"].Unspecified)) && enableAlpha) {\\\\n s = [];\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; i += 1) {\\\\n s.push(i);\\\\n }\\\\n }\\\\n return this.readRasters({\\\\n window,\\\\n interleave: true,\\\\n samples: s,\\\\n pool,\\\\n width,\\\\n height,\\\\n });\\\\n }\\\\n\\\\n let samples;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n samples = [0];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n samples = [0, 1, 2, 3];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n samples = [0, 1, 2];\\\\n break;\\\\n default:\\\\n throw new Error('Invalid or unsupported photometric interpretation.');\\\\n }\\\\n\\\\n const subOptions = {\\\\n window: imageWindow,\\\\n interleave: true,\\\\n samples,\\\\n pool,\\\\n width,\\\\n height,\\\\n resampleMethod,\\\\n };\\\\n const { fileDirectory } = this;\\\\n const raster = await this.readRasters(subOptions);\\\\n\\\\n const max = 2 ** this.fileDirectory.BitsPerSample[0];\\\\n let data;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromWhiteIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromBlackIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromPalette\\\\\\\"])(raster, fileDirectory.ColorMap);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCMYK\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromYCbCr\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCIELab\\\\\\\"])(raster);\\\\n break;\\\\n default:\\\\n throw new Error('Unsupported photometric interpretation.');\\\\n }\\\\n data.width = raster.width;\\\\n data.height = raster.height;\\\\n return data;\\\\n }\\\\n\\\\n /**\\\\n * Returns an array of tiepoints.\\\\n * @returns {Object[]}\\\\n */\\\\n getTiePoints() {\\\\n if (!this.fileDirectory.ModelTiepoint) {\\\\n return [];\\\\n }\\\\n\\\\n const tiePoints = [];\\\\n for (let i = 0; i < this.fileDirectory.ModelTiepoint.length; i += 6) {\\\\n tiePoints.push({\\\\n i: this.fileDirectory.ModelTiepoint[i],\\\\n j: this.fileDirectory.ModelTiepoint[i + 1],\\\\n k: this.fileDirectory.ModelTiepoint[i + 2],\\\\n x: this.fileDirectory.ModelTiepoint[i + 3],\\\\n y: this.fileDirectory.ModelTiepoint[i + 4],\\\\n z: this.fileDirectory.ModelTiepoint[i + 5],\\\\n });\\\\n }\\\\n return tiePoints;\\\\n }\\\\n\\\\n /**\\\\n * Returns the parsed GDAL metadata items.\\\\n *\\\\n * If sample is passed to null, dataset-level metadata will be returned.\\\\n * Otherwise only metadata specific to the provided sample will be returned.\\\\n *\\\\n * @param {Number} [sample=null] The sample index.\\\\n * @returns {Object}\\\\n */\\\\n getGDALMetadata(sample = null) {\\\\n const metadata = {};\\\\n if (!this.fileDirectory.GDAL_METADATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_METADATA;\\\\n const xmlDom = txml__WEBPACK_IMPORTED_MODULE_0___default()(string.substring(0, string.length - 1));\\\\n\\\\n if (!xmlDom[0].tagName) {\\\\n throw new Error('Failed to parse GDAL metadata XML.');\\\\n }\\\\n\\\\n const root = xmlDom[0];\\\\n if (root.tagName !== 'GDALMetadata') {\\\\n throw new Error('Unexpected GDAL metadata XML tag.');\\\\n }\\\\n\\\\n let items = root.children\\\\n .filter((child) => child.tagName === 'Item');\\\\n\\\\n if (sample) {\\\\n items = items.filter((item) => Number(item.attributes.sample) === sample);\\\\n }\\\\n\\\\n for (let i = 0; i < items.length; ++i) {\\\\n const item = items[i];\\\\n metadata[item.attributes.name] = item.children[0];\\\\n }\\\\n return metadata;\\\\n }\\\\n\\\\n /**\\\\n * Returns the GDAL nodata value\\\\n * @returns {Number} or null\\\\n */\\\\n getGDALNoData() {\\\\n if (!this.fileDirectory.GDAL_NODATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_NODATA;\\\\n return Number(string.substring(0, string.length - 1));\\\\n }\\\\n\\\\n /**\\\\n * Returns the image origin as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @returns {Array} The origin as a vector\\\\n */\\\\n getOrigin() {\\\\n const tiePoints = this.fileDirectory.ModelTiepoint;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n if (tiePoints && tiePoints.length === 6) {\\\\n return [\\\\n tiePoints[3],\\\\n tiePoints[4],\\\\n tiePoints[5],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[3],\\\\n modelTransformation[7],\\\\n modelTransformation[11],\\\\n ];\\\\n }\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns the image resolution as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @param {GeoTIFFImage} [referenceImage=null] A reference image to calculate the resolution from\\\\n * in cases when the current image does not have the\\\\n * required tags on its own.\\\\n * @returns {Array} The resolution as a vector\\\\n */\\\\n getResolution(referenceImage = null) {\\\\n const modelPixelScale = this.fileDirectory.ModelPixelScale;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n\\\\n if (modelPixelScale) {\\\\n return [\\\\n modelPixelScale[0],\\\\n -modelPixelScale[1],\\\\n modelPixelScale[2],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[0],\\\\n modelTransformation[5],\\\\n modelTransformation[10],\\\\n ];\\\\n }\\\\n\\\\n if (referenceImage) {\\\\n const [refResX, refResY, refResZ] = referenceImage.getResolution();\\\\n return [\\\\n refResX * referenceImage.getWidth() / this.getWidth(),\\\\n refResY * referenceImage.getHeight() / this.getHeight(),\\\\n refResZ * referenceImage.getWidth() / this.getWidth(),\\\\n ];\\\\n }\\\\n\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns whether or not the pixels of the image depict an area (or point).\\\\n * @returns {Boolean} Whether the pixels are a point\\\\n */\\\\n pixelIsArea() {\\\\n return this.geoKeys.GTRasterTypeGeoKey === 1;\\\\n }\\\\n\\\\n /**\\\\n * Returns the image bounding box as an array of 4 values: min-x, min-y,\\\\n * max-x and max-y. When the image has no affine transformation, then an\\\\n * exception is thrown.\\\\n * @returns {Array} The bounding box\\\\n */\\\\n getBoundingBox() {\\\\n const origin = this.getOrigin();\\\\n const resolution = this.getResolution();\\\\n\\\\n const x1 = origin[0];\\\\n const y1 = origin[1];\\\\n\\\\n const x2 = x1 + (resolution[0] * this.getWidth());\\\\n const y2 = y1 + (resolution[1] * this.getHeight());\\\\n\\\\n return [\\\\n Math.min(x1, x2),\\\\n Math.min(y1, y2),\\\\n Math.max(x1, x2),\\\\n Math.max(y1, y2),\\\\n ];\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFFImage);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffimage.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffwriter.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffwriter.js ***!\\n \\\\***************************************************/\\n/*! exports provided: writeGeotiff */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeGeotiff\\\\\\\", function() { return writeGeotiff; });\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ \\\\\\\"./node_modules/geotiff/src/utils.js\\\\\\\");\\\\n/*\\\\n Some parts of this file are based on UTIF.js,\\\\n which was released under the MIT License.\\\\n You can view that here:\\\\n https://github.com/photopea/UTIF.js/blob/master/LICENSE\\\\n*/\\\\n\\\\n\\\\n\\\\nconst tagName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagNames\\\\\\\"]);\\\\nconst geoKeyName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"geoKeyNames\\\\\\\"]);\\\\nconst name2code = {};\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, tagName2Code);\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, geoKeyName2Code);\\\\nconst typeName2byte = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTypeNames\\\\\\\"]);\\\\n\\\\n// config variables\\\\nconst numBytesInIfd = 1000;\\\\n\\\\nconst _binBE = {\\\\n nextZero: (data, o) => {\\\\n let oincr = o;\\\\n while (data[oincr] !== 0) {\\\\n oincr++;\\\\n }\\\\n return oincr;\\\\n },\\\\n readUshort: (buff, p) => {\\\\n return (buff[p] << 8) | buff[p + 1];\\\\n },\\\\n readShort: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 1];\\\\n a[1] = buff[p + 0];\\\\n return _binBE.i16[0];\\\\n },\\\\n readInt: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.i32[0];\\\\n },\\\\n readUint: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.ui32[0];\\\\n },\\\\n readASCII: (buff, p, l) => {\\\\n return l.map((i) => String.fromCharCode(buff[p + i])).join('');\\\\n },\\\\n readFloat: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(4, (i) => {\\\\n a[i] = buff[p + 3 - i];\\\\n });\\\\n return _binBE.fl32[0];\\\\n },\\\\n readDouble: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n a[i] = buff[p + 7 - i];\\\\n });\\\\n return _binBE.fl64[0];\\\\n },\\\\n writeUshort: (buff, p, n) => {\\\\n buff[p] = (n >> 8) & 255;\\\\n buff[p + 1] = n & 255;\\\\n },\\\\n writeUint: (buff, p, n) => {\\\\n buff[p] = (n >> 24) & 255;\\\\n buff[p + 1] = (n >> 16) & 255;\\\\n buff[p + 2] = (n >> 8) & 255;\\\\n buff[p + 3] = (n >> 0) & 255;\\\\n },\\\\n writeASCII: (buff, p, s) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(s.length, (i) => {\\\\n buff[p + i] = s.charCodeAt(i);\\\\n });\\\\n },\\\\n ui8: new Uint8Array(8),\\\\n};\\\\n\\\\n_binBE.fl64 = new Float64Array(_binBE.ui8.buffer);\\\\n\\\\n_binBE.writeDouble = (buff, p, n) => {\\\\n _binBE.fl64[0] = n;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n buff[p + i] = _binBE.ui8[7 - i];\\\\n });\\\\n};\\\\n\\\\n\\\\nconst _writeIFD = (bin, data, _offset, ifd) => {\\\\n let offset = _offset;\\\\n\\\\n const keys = Object.keys(ifd).filter((key) => {\\\\n return key !== undefined && key !== null && key !== 'undefined';\\\\n });\\\\n\\\\n bin.writeUshort(data, offset, keys.length);\\\\n offset += 2;\\\\n\\\\n let eoff = offset + (12 * keys.length) + 4;\\\\n\\\\n for (const key of keys) {\\\\n let tag = null;\\\\n if (typeof key === 'number') {\\\\n tag = key;\\\\n } else if (typeof key === 'string') {\\\\n tag = parseInt(key, 10);\\\\n }\\\\n\\\\n const typeName = _globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][tag];\\\\n const typeNum = typeName2byte[typeName];\\\\n\\\\n if (typeName == null || typeName === undefined || typeof typeName === 'undefined') {\\\\n throw new Error(`unknown type of tag: ${tag}`);\\\\n }\\\\n\\\\n let val = ifd[key];\\\\n\\\\n if (typeof val === 'undefined') {\\\\n throw new Error(`failed to get value for key ${key}`);\\\\n }\\\\n\\\\n // ASCIIZ format with trailing 0 character\\\\n // http://www.fileformat.info/format/tiff/corion.htm\\\\n // https://stackoverflow.com/questions/7783044/whats-the-difference-between-asciiz-vs-ascii\\\\n if (typeName === 'ASCII' && typeof val === 'string' && Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(val, '\\\\\\\\u0000') === false) {\\\\n val += '\\\\\\\\u0000';\\\\n }\\\\n\\\\n const num = val.length;\\\\n\\\\n bin.writeUshort(data, offset, tag);\\\\n offset += 2;\\\\n\\\\n bin.writeUshort(data, offset, typeNum);\\\\n offset += 2;\\\\n\\\\n bin.writeUint(data, offset, num);\\\\n offset += 4;\\\\n\\\\n let dlen = [-1, 1, 1, 2, 4, 8, 0, 0, 0, 0, 0, 0, 8][typeNum] * num;\\\\n let toff = offset;\\\\n\\\\n if (dlen > 4) {\\\\n bin.writeUint(data, offset, eoff);\\\\n toff = eoff;\\\\n }\\\\n\\\\n if (typeName === 'ASCII') {\\\\n bin.writeASCII(data, toff, val);\\\\n } else if (typeName === 'SHORT') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUshort(data, toff + (2 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'LONG') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (4 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'RATIONAL') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (8 * i), Math.round(val[i] * 10000));\\\\n bin.writeUint(data, toff + (8 * i) + 4, 10000);\\\\n });\\\\n } else if (typeName === 'DOUBLE') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeDouble(data, toff + (8 * i), val[i]);\\\\n });\\\\n }\\\\n\\\\n if (dlen > 4) {\\\\n dlen += (dlen & 1);\\\\n eoff += dlen;\\\\n }\\\\n\\\\n offset += 4;\\\\n }\\\\n\\\\n return [offset, eoff];\\\\n};\\\\n\\\\nconst encodeIfds = (ifds) => {\\\\n const data = new Uint8Array(numBytesInIfd);\\\\n let offset = 4;\\\\n const bin = _binBE;\\\\n\\\\n // set big-endian byte-order\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[0] = 77;\\\\n data[1] = 77;\\\\n\\\\n // set format-version number\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[3] = 42;\\\\n\\\\n let ifdo = 8;\\\\n\\\\n bin.writeUint(data, offset, ifdo);\\\\n\\\\n offset += 4;\\\\n\\\\n ifds.forEach((ifd, i) => {\\\\n const noffs = _writeIFD(bin, data, ifdo, ifd);\\\\n ifdo = noffs[1];\\\\n if (i < ifds.length - 1) {\\\\n bin.writeUint(data, noffs[0], ifdo);\\\\n }\\\\n });\\\\n\\\\n if (data.slice) {\\\\n return data.slice(0, ifdo).buffer;\\\\n }\\\\n\\\\n // node hasn't implemented slice on Uint8Array yet\\\\n const result = new Uint8Array(ifdo);\\\\n for (let i = 0; i < ifdo; i++) {\\\\n result[i] = data[i];\\\\n }\\\\n return result.buffer;\\\\n};\\\\n\\\\nconst encodeImage = (values, width, height, metadata) => {\\\\n if (height === undefined || height === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${height}`);\\\\n }\\\\n\\\\n if (width === undefined || width === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${width}`);\\\\n }\\\\n\\\\n const ifd = {\\\\n 256: [width], // ImageWidth\\\\n 257: [height], // ImageLength\\\\n 273: [numBytesInIfd], // strips offset\\\\n 278: [height], // RowsPerStrip\\\\n 305: 'geotiff.js', // no array for ASCII(Z)\\\\n };\\\\n\\\\n if (metadata) {\\\\n for (const i in metadata) {\\\\n if (metadata.hasOwnProperty(i)) {\\\\n ifd[i] = metadata[i];\\\\n }\\\\n }\\\\n }\\\\n\\\\n const prfx = new Uint8Array(encodeIfds([ifd]));\\\\n\\\\n const img = new Uint8Array(values);\\\\n\\\\n const samplesPerPixel = ifd[277];\\\\n\\\\n const data = new Uint8Array(numBytesInIfd + (width * height * samplesPerPixel));\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(prfx.length, (i) => {\\\\n data[i] = prfx[i];\\\\n });\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"forEach\\\\\\\"])(img, (value, i) => {\\\\n data[numBytesInIfd + i] = value;\\\\n });\\\\n\\\\n return data.buffer;\\\\n};\\\\n\\\\nconst convertToTids = (input) => {\\\\n const result = {};\\\\n for (const key in input) {\\\\n if (key !== 'StripOffsets') {\\\\n if (!name2code[key]) {\\\\n console.error(key, 'not in name2code:', Object.keys(name2code));\\\\n }\\\\n result[name2code[key]] = input[key];\\\\n }\\\\n }\\\\n return result;\\\\n};\\\\n\\\\nconst toArray = (input) => {\\\\n if (Array.isArray(input)) {\\\\n return input;\\\\n }\\\\n return [input];\\\\n};\\\\n\\\\nconst metadataDefaults = [\\\\n ['Compression', 1], // no compression\\\\n ['PlanarConfiguration', 1],\\\\n ['XPosition', 0],\\\\n ['YPosition', 0],\\\\n ['ResolutionUnit', 1], // Code 1 for actual pixel count or 2 for pixels per inch.\\\\n ['ExtraSamples', 0], // should this be an array??\\\\n ['GeoAsciiParams', 'WGS 84\\\\\\\\u0000'],\\\\n ['ModelTiepoint', [0, 0, 0, -180, 90, 0]], // raster fits whole globe\\\\n ['GTModelTypeGeoKey', 2],\\\\n ['GTRasterTypeGeoKey', 1],\\\\n ['GeographicTypeGeoKey', 4326],\\\\n ['GeogCitationGeoKey', 'WGS 84'],\\\\n];\\\\n\\\\nfunction writeGeotiff(data, metadata) {\\\\n const isFlattened = typeof data[0] === 'number';\\\\n\\\\n let height;\\\\n let numBands;\\\\n let width;\\\\n let flattenedValues;\\\\n\\\\n if (isFlattened) {\\\\n height = metadata.height || metadata.ImageLength;\\\\n width = metadata.width || metadata.ImageWidth;\\\\n numBands = data.length / (height * width);\\\\n flattenedValues = data;\\\\n } else {\\\\n numBands = data.length;\\\\n height = data[0].length;\\\\n width = data[0][0].length;\\\\n flattenedValues = [];\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(height, (rowIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(width, (columnIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, (bandIndex) => {\\\\n flattenedValues.push(data[bandIndex][rowIndex][columnIndex]);\\\\n });\\\\n });\\\\n });\\\\n }\\\\n\\\\n metadata.ImageLength = height;\\\\n delete metadata.height;\\\\n metadata.ImageWidth = width;\\\\n delete metadata.width;\\\\n\\\\n // consult https://www.loc.gov/preservation/digital/formats/content/tiff_tags.shtml\\\\n\\\\n if (!metadata.BitsPerSample) {\\\\n metadata.BitsPerSample = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 8);\\\\n }\\\\n\\\\n metadataDefaults.forEach((tag) => {\\\\n const key = tag[0];\\\\n if (!metadata[key]) {\\\\n const value = tag[1];\\\\n metadata[key] = value;\\\\n }\\\\n });\\\\n\\\\n // The color space of the image data.\\\\n // 1=black is zero and 2=RGB.\\\\n if (!metadata.PhotometricInterpretation) {\\\\n metadata.PhotometricInterpretation = metadata.BitsPerSample.length === 3 ? 2 : 1;\\\\n }\\\\n\\\\n // The number of components per pixel.\\\\n if (!metadata.SamplesPerPixel) {\\\\n metadata.SamplesPerPixel = [numBands];\\\\n }\\\\n\\\\n if (!metadata.StripByteCounts) {\\\\n // we are only writing one strip\\\\n metadata.StripByteCounts = [numBands * height * width];\\\\n }\\\\n\\\\n if (!metadata.ModelPixelScale) {\\\\n // assumes raster takes up exactly the whole globe\\\\n metadata.ModelPixelScale = [360 / width, 180 / height, 0];\\\\n }\\\\n\\\\n if (!metadata.SampleFormat) {\\\\n metadata.SampleFormat = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 1);\\\\n }\\\\n\\\\n\\\\n const geoKeys = Object.keys(metadata)\\\\n .filter((key) => Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(key, 'GeoKey'))\\\\n .sort((a, b) => name2code[a] - name2code[b]);\\\\n\\\\n if (!metadata.GeoKeyDirectory) {\\\\n const NumberOfKeys = geoKeys.length;\\\\n\\\\n const GeoKeyDirectory = [1, 1, 0, NumberOfKeys];\\\\n geoKeys.forEach((geoKey) => {\\\\n const KeyID = Number(name2code[geoKey]);\\\\n GeoKeyDirectory.push(KeyID);\\\\n\\\\n let Count;\\\\n let TIFFTagLocation;\\\\n let valueOffset;\\\\n if (_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][KeyID] === 'SHORT') {\\\\n Count = 1;\\\\n TIFFTagLocation = 0;\\\\n valueOffset = metadata[geoKey];\\\\n } else if (geoKey === 'GeogCitationGeoKey') {\\\\n Count = metadata.GeoAsciiParams.length;\\\\n TIFFTagLocation = Number(name2code.GeoAsciiParams);\\\\n valueOffset = 0;\\\\n } else {\\\\n console.log(`[geotiff.js] couldn't get TIFFTagLocation for ${geoKey}`);\\\\n }\\\\n GeoKeyDirectory.push(TIFFTagLocation);\\\\n GeoKeyDirectory.push(Count);\\\\n GeoKeyDirectory.push(valueOffset);\\\\n });\\\\n metadata.GeoKeyDirectory = GeoKeyDirectory;\\\\n }\\\\n\\\\n // delete GeoKeys from metadata, because stored in GeoKeyDirectory tag\\\\n for (const geoKey in geoKeys) {\\\\n if (geoKeys.hasOwnProperty(geoKey)) {\\\\n delete metadata[geoKey];\\\\n }\\\\n }\\\\n\\\\n [\\\\n 'Compression',\\\\n 'ExtraSamples',\\\\n 'GeographicTypeGeoKey',\\\\n 'GTModelTypeGeoKey',\\\\n 'GTRasterTypeGeoKey',\\\\n 'ImageLength', // synonym of ImageHeight\\\\n 'ImageWidth',\\\\n 'PhotometricInterpretation',\\\\n 'PlanarConfiguration',\\\\n 'ResolutionUnit',\\\\n 'SamplesPerPixel',\\\\n 'XPosition',\\\\n 'YPosition',\\\\n ].forEach((name) => {\\\\n if (metadata[name]) {\\\\n metadata[name] = toArray(metadata[name]);\\\\n }\\\\n });\\\\n\\\\n\\\\n const encodedMetadata = convertToTids(metadata);\\\\n\\\\n const outputImage = encodeImage(flattenedValues, width, height, encodedMetadata);\\\\n\\\\n return outputImage;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffwriter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/globals.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/globals.js ***!\\n \\\\*********************************************/\\n/*! exports provided: fieldTagNames, fieldTags, fieldTagTypes, arrayFields, fieldTypeNames, fieldTypes, photometricInterpretations, ExtraSamplesValues, geoKeyNames, geoKeys */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagNames\\\\\\\", function() { return fieldTagNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTags\\\\\\\", function() { return fieldTags; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagTypes\\\\\\\", function() { return fieldTagTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"arrayFields\\\\\\\", function() { return arrayFields; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypeNames\\\\\\\", function() { return fieldTypeNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypes\\\\\\\", function() { return fieldTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"photometricInterpretations\\\\\\\", function() { return photometricInterpretations; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"ExtraSamplesValues\\\\\\\", function() { return ExtraSamplesValues; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeyNames\\\\\\\", function() { return geoKeyNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeys\\\\\\\", function() { return geoKeys; });\\\\nconst fieldTagNames = {\\\\n // TIFF Baseline\\\\n 0x013B: 'Artist',\\\\n 0x0102: 'BitsPerSample',\\\\n 0x0109: 'CellLength',\\\\n 0x0108: 'CellWidth',\\\\n 0x0140: 'ColorMap',\\\\n 0x0103: 'Compression',\\\\n 0x8298: 'Copyright',\\\\n 0x0132: 'DateTime',\\\\n 0x0152: 'ExtraSamples',\\\\n 0x010A: 'FillOrder',\\\\n 0x0121: 'FreeByteCounts',\\\\n 0x0120: 'FreeOffsets',\\\\n 0x0123: 'GrayResponseCurve',\\\\n 0x0122: 'GrayResponseUnit',\\\\n 0x013C: 'HostComputer',\\\\n 0x010E: 'ImageDescription',\\\\n 0x0101: 'ImageLength',\\\\n 0x0100: 'ImageWidth',\\\\n 0x010F: 'Make',\\\\n 0x0119: 'MaxSampleValue',\\\\n 0x0118: 'MinSampleValue',\\\\n 0x0110: 'Model',\\\\n 0x00FE: 'NewSubfileType',\\\\n 0x0112: 'Orientation',\\\\n 0x0106: 'PhotometricInterpretation',\\\\n 0x011C: 'PlanarConfiguration',\\\\n 0x0128: 'ResolutionUnit',\\\\n 0x0116: 'RowsPerStrip',\\\\n 0x0115: 'SamplesPerPixel',\\\\n 0x0131: 'Software',\\\\n 0x0117: 'StripByteCounts',\\\\n 0x0111: 'StripOffsets',\\\\n 0x00FF: 'SubfileType',\\\\n 0x0107: 'Threshholding',\\\\n 0x011A: 'XResolution',\\\\n 0x011B: 'YResolution',\\\\n\\\\n // TIFF Extended\\\\n 0x0146: 'BadFaxLines',\\\\n 0x0147: 'CleanFaxData',\\\\n 0x0157: 'ClipPath',\\\\n 0x0148: 'ConsecutiveBadFaxLines',\\\\n 0x01B1: 'Decode',\\\\n 0x01B2: 'DefaultImageColor',\\\\n 0x010D: 'DocumentName',\\\\n 0x0150: 'DotRange',\\\\n 0x0141: 'HalftoneHints',\\\\n 0x015A: 'Indexed',\\\\n 0x015B: 'JPEGTables',\\\\n 0x011D: 'PageName',\\\\n 0x0129: 'PageNumber',\\\\n 0x013D: 'Predictor',\\\\n 0x013F: 'PrimaryChromaticities',\\\\n 0x0214: 'ReferenceBlackWhite',\\\\n 0x0153: 'SampleFormat',\\\\n 0x0154: 'SMinSampleValue',\\\\n 0x0155: 'SMaxSampleValue',\\\\n 0x022F: 'StripRowCounts',\\\\n 0x014A: 'SubIFDs',\\\\n 0x0124: 'T4Options',\\\\n 0x0125: 'T6Options',\\\\n 0x0145: 'TileByteCounts',\\\\n 0x0143: 'TileLength',\\\\n 0x0144: 'TileOffsets',\\\\n 0x0142: 'TileWidth',\\\\n 0x012D: 'TransferFunction',\\\\n 0x013E: 'WhitePoint',\\\\n 0x0158: 'XClipPathUnits',\\\\n 0x011E: 'XPosition',\\\\n 0x0211: 'YCbCrCoefficients',\\\\n 0x0213: 'YCbCrPositioning',\\\\n 0x0212: 'YCbCrSubSampling',\\\\n 0x0159: 'YClipPathUnits',\\\\n 0x011F: 'YPosition',\\\\n\\\\n // EXIF\\\\n 0x9202: 'ApertureValue',\\\\n 0xA001: 'ColorSpace',\\\\n 0x9004: 'DateTimeDigitized',\\\\n 0x9003: 'DateTimeOriginal',\\\\n 0x8769: 'Exif IFD',\\\\n 0x9000: 'ExifVersion',\\\\n 0x829A: 'ExposureTime',\\\\n 0xA300: 'FileSource',\\\\n 0x9209: 'Flash',\\\\n 0xA000: 'FlashpixVersion',\\\\n 0x829D: 'FNumber',\\\\n 0xA420: 'ImageUniqueID',\\\\n 0x9208: 'LightSource',\\\\n 0x927C: 'MakerNote',\\\\n 0x9201: 'ShutterSpeedValue',\\\\n 0x9286: 'UserComment',\\\\n\\\\n // IPTC\\\\n 0x83BB: 'IPTC',\\\\n\\\\n // ICC\\\\n 0x8773: 'ICC Profile',\\\\n\\\\n // XMP\\\\n 0x02BC: 'XMP',\\\\n\\\\n // GDAL\\\\n 0xA480: 'GDAL_METADATA',\\\\n 0xA481: 'GDAL_NODATA',\\\\n\\\\n // Photoshop\\\\n 0x8649: 'Photoshop',\\\\n\\\\n // GeoTiff\\\\n 0x830E: 'ModelPixelScale',\\\\n 0x8482: 'ModelTiepoint',\\\\n 0x85D8: 'ModelTransformation',\\\\n 0x87AF: 'GeoKeyDirectory',\\\\n 0x87B0: 'GeoDoubleParams',\\\\n 0x87B1: 'GeoAsciiParams',\\\\n};\\\\n\\\\nconst fieldTags = {};\\\\nfor (const key in fieldTagNames) {\\\\n if (fieldTagNames.hasOwnProperty(key)) {\\\\n fieldTags[fieldTagNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst fieldTagTypes = {\\\\n 256: 'SHORT',\\\\n 257: 'SHORT',\\\\n 258: 'SHORT',\\\\n 259: 'SHORT',\\\\n 262: 'SHORT',\\\\n 273: 'LONG',\\\\n 274: 'SHORT',\\\\n 277: 'SHORT',\\\\n 278: 'LONG',\\\\n 279: 'LONG',\\\\n 282: 'RATIONAL',\\\\n 283: 'RATIONAL',\\\\n 284: 'SHORT',\\\\n 286: 'SHORT',\\\\n 287: 'RATIONAL',\\\\n 296: 'SHORT',\\\\n 305: 'ASCII',\\\\n 306: 'ASCII',\\\\n 338: 'SHORT',\\\\n 339: 'SHORT',\\\\n 513: 'LONG',\\\\n 514: 'LONG',\\\\n 1024: 'SHORT',\\\\n 1025: 'SHORT',\\\\n 2048: 'SHORT',\\\\n 2049: 'ASCII',\\\\n 33550: 'DOUBLE',\\\\n 33922: 'DOUBLE',\\\\n 34665: 'LONG',\\\\n 34735: 'SHORT',\\\\n 34737: 'ASCII',\\\\n 42113: 'ASCII',\\\\n};\\\\n\\\\nconst arrayFields = [\\\\n fieldTags.BitsPerSample,\\\\n fieldTags.ExtraSamples,\\\\n fieldTags.SampleFormat,\\\\n fieldTags.StripByteCounts,\\\\n fieldTags.StripOffsets,\\\\n fieldTags.StripRowCounts,\\\\n fieldTags.TileByteCounts,\\\\n fieldTags.TileOffsets,\\\\n];\\\\n\\\\nconst fieldTypeNames = {\\\\n 0x0001: 'BYTE',\\\\n 0x0002: 'ASCII',\\\\n 0x0003: 'SHORT',\\\\n 0x0004: 'LONG',\\\\n 0x0005: 'RATIONAL',\\\\n 0x0006: 'SBYTE',\\\\n 0x0007: 'UNDEFINED',\\\\n 0x0008: 'SSHORT',\\\\n 0x0009: 'SLONG',\\\\n 0x000A: 'SRATIONAL',\\\\n 0x000B: 'FLOAT',\\\\n 0x000C: 'DOUBLE',\\\\n // IFD offset, suggested by https://owl.phy.queensu.ca/~phil/exiftool/standards.html\\\\n 0x000D: 'IFD',\\\\n // introduced by BigTIFF\\\\n 0x0010: 'LONG8',\\\\n 0x0011: 'SLONG8',\\\\n 0x0012: 'IFD8',\\\\n};\\\\n\\\\nconst fieldTypes = {};\\\\nfor (const key in fieldTypeNames) {\\\\n if (fieldTypeNames.hasOwnProperty(key)) {\\\\n fieldTypes[fieldTypeNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst photometricInterpretations = {\\\\n WhiteIsZero: 0,\\\\n BlackIsZero: 1,\\\\n RGB: 2,\\\\n Palette: 3,\\\\n TransparencyMask: 4,\\\\n CMYK: 5,\\\\n YCbCr: 6,\\\\n\\\\n CIELab: 8,\\\\n ICCLab: 9,\\\\n};\\\\n\\\\nconst ExtraSamplesValues = {\\\\n Unspecified: 0,\\\\n Assocalpha: 1,\\\\n Unassalpha: 2,\\\\n};\\\\n\\\\n\\\\nconst geoKeyNames = {\\\\n 1024: 'GTModelTypeGeoKey',\\\\n 1025: 'GTRasterTypeGeoKey',\\\\n 1026: 'GTCitationGeoKey',\\\\n 2048: 'GeographicTypeGeoKey',\\\\n 2049: 'GeogCitationGeoKey',\\\\n 2050: 'GeogGeodeticDatumGeoKey',\\\\n 2051: 'GeogPrimeMeridianGeoKey',\\\\n 2052: 'GeogLinearUnitsGeoKey',\\\\n 2053: 'GeogLinearUnitSizeGeoKey',\\\\n 2054: 'GeogAngularUnitsGeoKey',\\\\n 2055: 'GeogAngularUnitSizeGeoKey',\\\\n 2056: 'GeogEllipsoidGeoKey',\\\\n 2057: 'GeogSemiMajorAxisGeoKey',\\\\n 2058: 'GeogSemiMinorAxisGeoKey',\\\\n 2059: 'GeogInvFlatteningGeoKey',\\\\n 2060: 'GeogAzimuthUnitsGeoKey',\\\\n 2061: 'GeogPrimeMeridianLongGeoKey',\\\\n 2062: 'GeogTOWGS84GeoKey',\\\\n 3072: 'ProjectedCSTypeGeoKey',\\\\n 3073: 'PCSCitationGeoKey',\\\\n 3074: 'ProjectionGeoKey',\\\\n 3075: 'ProjCoordTransGeoKey',\\\\n 3076: 'ProjLinearUnitsGeoKey',\\\\n 3077: 'ProjLinearUnitSizeGeoKey',\\\\n 3078: 'ProjStdParallel1GeoKey',\\\\n 3079: 'ProjStdParallel2GeoKey',\\\\n 3080: 'ProjNatOriginLongGeoKey',\\\\n 3081: 'ProjNatOriginLatGeoKey',\\\\n 3082: 'ProjFalseEastingGeoKey',\\\\n 3083: 'ProjFalseNorthingGeoKey',\\\\n 3084: 'ProjFalseOriginLongGeoKey',\\\\n 3085: 'ProjFalseOriginLatGeoKey',\\\\n 3086: 'ProjFalseOriginEastingGeoKey',\\\\n 3087: 'ProjFalseOriginNorthingGeoKey',\\\\n 3088: 'ProjCenterLongGeoKey',\\\\n 3089: 'ProjCenterLatGeoKey',\\\\n 3090: 'ProjCenterEastingGeoKey',\\\\n 3091: 'ProjCenterNorthingGeoKey',\\\\n 3092: 'ProjScaleAtNatOriginGeoKey',\\\\n 3093: 'ProjScaleAtCenterGeoKey',\\\\n 3094: 'ProjAzimuthAngleGeoKey',\\\\n 3095: 'ProjStraightVertPoleLongGeoKey',\\\\n 3096: 'ProjRectifiedGridAngleGeoKey',\\\\n 4096: 'VerticalCSTypeGeoKey',\\\\n 4097: 'VerticalCitationGeoKey',\\\\n 4098: 'VerticalDatumGeoKey',\\\\n 4099: 'VerticalUnitsGeoKey',\\\\n};\\\\n\\\\nconst geoKeys = {};\\\\nfor (const key in geoKeyNames) {\\\\n if (geoKeyNames.hasOwnProperty(key)) {\\\\n geoKeys[geoKeyNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/globals.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/logging.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/logging.js ***!\\n \\\\*********************************************/\\n/*! exports provided: setLogger, log, info, warn, error, time, timeEnd */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return setLogger; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"log\\\\\\\", function() { return log; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"info\\\\\\\", function() { return info; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"warn\\\\\\\", function() { return warn; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"error\\\\\\\", function() { return error; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"time\\\\\\\", function() { return time; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"timeEnd\\\\\\\", function() { return timeEnd; });\\\\n\\\\n/**\\\\n * A no-op logger\\\\n */\\\\nclass DummyLogger {\\\\n log() {}\\\\n\\\\n info() {}\\\\n\\\\n warn() {}\\\\n\\\\n error() {}\\\\n\\\\n time() {}\\\\n\\\\n timeEnd() {}\\\\n}\\\\n\\\\nlet LOGGER = new DummyLogger();\\\\n\\\\n/**\\\\n *\\\\n * @param {object} logger the new logger. e.g `console`\\\\n */\\\\nfunction setLogger(logger = new DummyLogger()) {\\\\n LOGGER = logger;\\\\n}\\\\n\\\\nfunction log(...args) {\\\\n return LOGGER.log(...args);\\\\n}\\\\n\\\\nfunction info(...args) {\\\\n return LOGGER.info(...args);\\\\n}\\\\n\\\\nfunction warn(...args) {\\\\n return LOGGER.warn(...args);\\\\n}\\\\n\\\\nfunction error(...args) {\\\\n return LOGGER.error(...args);\\\\n}\\\\n\\\\nfunction time(...args) {\\\\n return LOGGER.time(...args);\\\\n}\\\\n\\\\nfunction timeEnd(...args) {\\\\n return LOGGER.timeEnd(...args);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/logging.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/pool.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/pool.js ***!\\n \\\\******************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* WEBPACK VAR INJECTION */(function(__webpack__worker__1) {/* harmony import */ var threads__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! threads */ \\\\\\\"./node_modules/threads/dist-esm/index.js\\\\\\\");\\\\n\\\\n\\\\nconst defaultPoolSize = typeof navigator !== 'undefined' ? navigator.hardwareConcurrency : null;\\\\n\\\\n/**\\\\n * @module pool\\\\n */\\\\n\\\\n/**\\\\n * Pool for workers to decode chunks of the images.\\\\n */\\\\nclass Pool {\\\\n /**\\\\n * @constructor\\\\n * @param {Number} size The size of the pool. Defaults to the number of CPUs\\\\n * available. When this parameter is `null` or 0, then the\\\\n * decoding will be done in the main thread.\\\\n */\\\\n constructor(size = defaultPoolSize) {\\\\n const worker = new threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Worker\\\\\\\"](__webpack__worker__1);\\\\n this.pool = Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Pool\\\\\\\"])(() => Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"spawn\\\\\\\"])(worker), size);\\\\n }\\\\n\\\\n /**\\\\n * Decode the given block of bytes with the set compression method.\\\\n * @param {ArrayBuffer} buffer the array buffer of bytes to decode.\\\\n * @returns {Promise.} the decoded result as a `Promise`\\\\n */\\\\n async decode(fileDirectory, buffer) {\\\\n return new Promise((resolve, reject) => {\\\\n this.pool.queue(async (decode) => {\\\\n try {\\\\n const data = await decode(fileDirectory, buffer);\\\\n resolve(data);\\\\n } catch (err) {\\\\n reject(err);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n\\\\n destroy() {\\\\n this.pool.terminate(true);\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Pool);\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/threads-plugin/dist/loader.js?{\\\\\\\"name\\\\\\\":\\\\\\\"1\\\\\\\"}!./decoder.worker.js */ \\\\\\\"./node_modules/threads-plugin/dist/loader.js?{\\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\"}!./node_modules/geotiff/src/decoder.worker.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/pool.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/predictor.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/predictor.js ***!\\n \\\\***********************************************/\\n/*! exports provided: applyPredictor */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"applyPredictor\\\\\\\", function() { return applyPredictor; });\\\\n\\\\nfunction decodeRowAcc(row, stride) {\\\\n let length = row.length - stride;\\\\n let offset = 0;\\\\n do {\\\\n for (let i = stride; i > 0; i--) {\\\\n row[offset + stride] += row[offset];\\\\n offset++;\\\\n }\\\\n\\\\n length -= stride;\\\\n } while (length > 0);\\\\n}\\\\n\\\\nfunction decodeRowFloatingPoint(row, stride, bytesPerSample) {\\\\n let index = 0;\\\\n let count = row.length;\\\\n const wc = count / bytesPerSample;\\\\n\\\\n while (count > stride) {\\\\n for (let i = stride; i > 0; --i) {\\\\n row[index + stride] += row[index];\\\\n ++index;\\\\n }\\\\n count -= stride;\\\\n }\\\\n\\\\n const copy = row.slice();\\\\n for (let i = 0; i < wc; ++i) {\\\\n for (let b = 0; b < bytesPerSample; ++b) {\\\\n row[(bytesPerSample * i) + b] = copy[((bytesPerSample - b - 1) * wc) + i];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction applyPredictor(block, predictor, width, height, bitsPerSample,\\\\n planarConfiguration) {\\\\n if (!predictor || predictor === 1) {\\\\n return block;\\\\n }\\\\n\\\\n for (let i = 0; i < bitsPerSample.length; ++i) {\\\\n if (bitsPerSample[i] % 8 !== 0) {\\\\n throw new Error('When decoding with predictor, only multiple of 8 bits are supported.');\\\\n }\\\\n if (bitsPerSample[i] !== bitsPerSample[0]) {\\\\n throw new Error('When decoding with predictor, all samples must have the same size.');\\\\n }\\\\n }\\\\n\\\\n const bytesPerSample = bitsPerSample[0] / 8;\\\\n const stride = planarConfiguration === 2 ? 1 : bitsPerSample.length;\\\\n\\\\n for (let i = 0; i < height; ++i) {\\\\n // Last strip will be truncated if height % stripHeight != 0\\\\n if (i * stride * width * bytesPerSample >= block.byteLength) {\\\\n break;\\\\n }\\\\n let row;\\\\n if (predictor === 2) { // horizontal prediction\\\\n switch (bitsPerSample[0]) {\\\\n case 8:\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n break;\\\\n case 16:\\\\n row = new Uint16Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 2,\\\\n );\\\\n break;\\\\n case 32:\\\\n row = new Uint32Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 4,\\\\n );\\\\n break;\\\\n default:\\\\n throw new Error(`Predictor 2 not allowed with ${bitsPerSample[0]} bits per sample.`);\\\\n }\\\\n decodeRowAcc(row, stride, bytesPerSample);\\\\n } else if (predictor === 3) { // horizontal floating point\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n decodeRowFloatingPoint(row, stride, bytesPerSample);\\\\n }\\\\n }\\\\n return block;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/predictor.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/resample.js\\\":\\n/*!**********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/resample.js ***!\\n \\\\**********************************************/\\n/*! exports provided: resampleNearest, resampleBilinear, resample, resampleNearestInterleaved, resampleBilinearInterleaved, resampleInterleaved */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearest\\\\\\\", function() { return resampleNearest; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinear\\\\\\\", function() { return resampleBilinear; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resample\\\\\\\", function() { return resample; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearestInterleaved\\\\\\\", function() { return resampleNearestInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinearInterleaved\\\\\\\", function() { return resampleBilinearInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleInterleaved\\\\\\\", function() { return resampleInterleaved; });\\\\n/**\\\\n * @module resample\\\\n */\\\\n\\\\nfunction copyNewSize(array, width, height, samplesPerPixel = 1) {\\\\n return new (Object.getPrototypeOf(array).constructor)(width * height * samplesPerPixel);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using nearest neighbor value selection.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n const value = array[(cy * inWidth) + cx];\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n// simple linear interpolation, code from:\\\\n// https://en.wikipedia.org/wiki/Linear_interpolation#Programming_language_support\\\\nfunction lerp(v0, v1, t) {\\\\n return ((1 - t) * v0) + (t * v1);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using bilinear interpolation.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n const ll = array[(yl * inWidth) + xl];\\\\n const hl = array[(yl * inWidth) + xh];\\\\n const lh = array[(yh * inWidth) + xl];\\\\n const hh = array[(yh * inWidth) + xh];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using the selected resampling method.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resample(valueArrays, inWidth, inHeight, outWidth, outHeight, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using nearest neighbor value selection.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n for (let i = 0; i < samples; ++i) {\\\\n const value = valueArray[(cy * inWidth * samples) + (cx * samples) + i];\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using bilinear interpolation.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n for (let i = 0; i < samples; ++i) {\\\\n const ll = valueArray[(yl * inWidth * samples) + (xl * samples) + i];\\\\n const hl = valueArray[(yl * inWidth * samples) + (xh * samples) + i];\\\\n const lh = valueArray[(yh * inWidth * samples) + (xl * samples) + i];\\\\n const hh = valueArray[(yh * inWidth * samples) + (xh * samples) + i];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using the selected resampling method.\\\\n * @param {TypedArray} valueArray The input array to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray} The resampled rasters\\\\n */\\\\nfunction resampleInterleaved(valueArray, inWidth, inHeight, outWidth, outHeight, samples, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/resample.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/rgb.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/geotiff/src/rgb.js ***!\\n \\\\*****************************************/\\n/*! exports provided: fromWhiteIsZero, fromBlackIsZero, fromPalette, fromCMYK, fromYCbCr, fromCIELab */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromWhiteIsZero\\\\\\\", function() { return fromWhiteIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlackIsZero\\\\\\\", function() { return fromBlackIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromPalette\\\\\\\", function() { return fromPalette; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCMYK\\\\\\\", function() { return fromCMYK; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromYCbCr\\\\\\\", function() { return fromYCbCr; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCIELab\\\\\\\", function() { return fromCIELab; });\\\\nfunction fromWhiteIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = 256 - (raster[i] / max * 256);\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromBlackIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = raster[i] / max * 256;\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromPalette(raster, colorMap) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n const greenOffset = colorMap.length / 3;\\\\n const blueOffset = colorMap.length / 3 * 2;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n const mapIndex = raster[i];\\\\n rgbRaster[j] = colorMap[mapIndex] / 65536 * 256;\\\\n rgbRaster[j + 1] = colorMap[mapIndex + greenOffset] / 65536 * 256;\\\\n rgbRaster[j + 2] = colorMap[mapIndex + blueOffset] / 65536 * 256;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromCMYK(cmykRaster) {\\\\n const { width, height } = cmykRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n for (let i = 0, j = 0; i < cmykRaster.length; i += 4, j += 3) {\\\\n const c = cmykRaster[i];\\\\n const m = cmykRaster[i + 1];\\\\n const y = cmykRaster[i + 2];\\\\n const k = cmykRaster[i + 3];\\\\n\\\\n rgbRaster[j] = 255 * ((255 - c) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 1] = 255 * ((255 - m) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 2] = 255 * ((255 - y) / 256) * ((255 - k) / 256);\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromYCbCr(yCbCrRaster) {\\\\n const { width, height } = yCbCrRaster;\\\\n const rgbRaster = new Uint8ClampedArray(width * height * 3);\\\\n for (let i = 0, j = 0; i < yCbCrRaster.length; i += 3, j += 3) {\\\\n const y = yCbCrRaster[i];\\\\n const cb = yCbCrRaster[i + 1];\\\\n const cr = yCbCrRaster[i + 2];\\\\n\\\\n rgbRaster[j] = (y + (1.40200 * (cr - 0x80)));\\\\n rgbRaster[j + 1] = (y - (0.34414 * (cb - 0x80)) - (0.71414 * (cr - 0x80)));\\\\n rgbRaster[j + 2] = (y + (1.77200 * (cb - 0x80)));\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nconst Xn = 0.95047;\\\\nconst Yn = 1.00000;\\\\nconst Zn = 1.08883;\\\\n\\\\n// from https://github.com/antimatter15/rgb-lab/blob/master/color.js\\\\n\\\\nfunction fromCIELab(cieLabRaster) {\\\\n const { width, height } = cieLabRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n\\\\n for (let i = 0, j = 0; i < cieLabRaster.length; i += 3, j += 3) {\\\\n const L = cieLabRaster[i + 0];\\\\n const a_ = cieLabRaster[i + 1] << 24 >> 24; // conversion from uint8 to int8\\\\n const b_ = cieLabRaster[i + 2] << 24 >> 24; // same\\\\n\\\\n let y = (L + 16) / 116;\\\\n let x = (a_ / 500) + y;\\\\n let z = y - (b_ / 200);\\\\n let r;\\\\n let g;\\\\n let b;\\\\n\\\\n x = Xn * ((x * x * x > 0.008856) ? x * x * x : (x - (16 / 116)) / 7.787);\\\\n y = Yn * ((y * y * y > 0.008856) ? y * y * y : (y - (16 / 116)) / 7.787);\\\\n z = Zn * ((z * z * z > 0.008856) ? z * z * z : (z - (16 / 116)) / 7.787);\\\\n\\\\n r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\\\\n g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\\\\n b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\\\\n\\\\n r = (r > 0.0031308) ? ((1.055 * (r ** (1 / 2.4))) - 0.055) : 12.92 * r;\\\\n g = (g > 0.0031308) ? ((1.055 * (g ** (1 / 2.4))) - 0.055) : 12.92 * g;\\\\n b = (b > 0.0031308) ? ((1.055 * (b ** (1 / 2.4))) - 0.055) : 12.92 * b;\\\\n\\\\n rgbRaster[j] = Math.max(0, Math.min(1, r)) * 255;\\\\n rgbRaster[j + 1] = Math.max(0, Math.min(1, g)) * 255;\\\\n rgbRaster[j + 2] = Math.max(0, Math.min(1, b)) * 255;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/rgb.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/source.js\\\":\\n/*!********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/source.js ***!\\n \\\\********************************************/\\n/*! exports provided: makeFetchSource, makeXHRSource, makeHttpSource, makeRemoteSource, makeBufferSource, makeFileSource, makeFileReaderSource */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFetchSource\\\\\\\", function() { return makeFetchSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeXHRSource\\\\\\\", function() { return makeXHRSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeHttpSource\\\\\\\", function() { return makeHttpSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeRemoteSource\\\\\\\", function() { return makeRemoteSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeBufferSource\\\\\\\", function() { return makeBufferSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileSource\\\\\\\", function() { return makeFileSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileReaderSource\\\\\\\", function() { return makeFileReaderSource; });\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\");\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(buffer__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fs */ \\\\\\\"./node_modules/node-libs-browser/mock/empty.js\\\\\\\");\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! http */ \\\\\\\"./node_modules/stream-http/index.js\\\\\\\");\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_2__);\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! https */ \\\\\\\"./node_modules/https-browserify/index.js\\\\\\\");\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(https__WEBPACK_IMPORTED_MODULE_3__);\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! url */ \\\\\\\"./node_modules/url/url.js\\\\\\\");\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction readRangeFromBlocks(blocks, rangeOffset, rangeLength) {\\\\n const rangeTop = rangeOffset + rangeLength;\\\\n const rangeData = new ArrayBuffer(rangeLength);\\\\n const rangeView = new Uint8Array(rangeData);\\\\n\\\\n for (const block of blocks) {\\\\n const delta = block.offset - rangeOffset;\\\\n const topDelta = block.top - rangeTop;\\\\n let blockInnerOffset = 0;\\\\n let rangeInnerOffset = 0;\\\\n let usedBlockLength;\\\\n\\\\n if (delta < 0) {\\\\n blockInnerOffset = -delta;\\\\n } else if (delta > 0) {\\\\n rangeInnerOffset = delta;\\\\n }\\\\n\\\\n if (topDelta < 0) {\\\\n usedBlockLength = block.length - blockInnerOffset;\\\\n } else {\\\\n usedBlockLength = rangeTop - block.offset - blockInnerOffset;\\\\n }\\\\n\\\\n const blockView = new Uint8Array(block.data, blockInnerOffset, usedBlockLength);\\\\n rangeView.set(blockView, rangeInnerOffset);\\\\n }\\\\n\\\\n return rangeData;\\\\n}\\\\n\\\\n/**\\\\n * Interface for Source objects.\\\\n * @interface Source\\\\n */\\\\n\\\\n/**\\\\n * @function Source#fetch\\\\n * @summary The main method to retrieve the data from the source.\\\\n * @param {number} offset The offset to read from in the source\\\\n * @param {number} length The requested number of bytes\\\\n */\\\\n\\\\n/**\\\\n * @typedef {object} Block\\\\n * @property {ArrayBuffer} data The actual data of the block.\\\\n * @property {number} offset The actual offset of the block within the file.\\\\n * @property {number} length The actual size of the block in bytes.\\\\n */\\\\n\\\\n/**\\\\n * Callback type for sources to request patches of data.\\\\n * @callback requestCallback\\\\n * @async\\\\n * @param {number} offset The offset within the file.\\\\n * @param {number} length The desired length of data to be read.\\\\n * @returns {Promise} The block of data.\\\\n */\\\\n\\\\n/**\\\\n * @module source\\\\n */\\\\n\\\\n/*\\\\n * Split a list of identifiers to form groups of coherent ones\\\\n */\\\\nfunction getCoherentBlockGroups(blockIds) {\\\\n if (blockIds.length === 0) {\\\\n return [];\\\\n }\\\\n\\\\n const groups = [];\\\\n let current = [];\\\\n groups.push(current);\\\\n\\\\n for (let i = 0; i < blockIds.length; ++i) {\\\\n if (i === 0 || blockIds[i] === blockIds[i - 1] + 1) {\\\\n current.push(blockIds[i]);\\\\n } else {\\\\n current = [blockIds[i]];\\\\n groups.push(current);\\\\n }\\\\n }\\\\n return groups;\\\\n}\\\\n\\\\n\\\\n/*\\\\n * Promisified wrapper around 'setTimeout' to allow 'await'\\\\n */\\\\nasync function wait(milliseconds) {\\\\n return new Promise((resolve) => setTimeout(resolve, milliseconds));\\\\n}\\\\n\\\\n/**\\\\n * BlockedSource - an abstraction of (remote) files.\\\\n * @implements Source\\\\n */\\\\nclass BlockedSource {\\\\n /**\\\\n * @param {requestCallback} retrievalFunction Callback function to request data\\\\n * @param {object} options Additional options\\\\n * @param {object} options.blockSize Size of blocks to be fetched\\\\n */\\\\n constructor(retrievalFunction, { blockSize = 65536 } = {}) {\\\\n this.retrievalFunction = retrievalFunction;\\\\n this.blockSize = blockSize;\\\\n\\\\n // currently running block requests\\\\n this.blockRequests = new Map();\\\\n\\\\n // already retrieved blocks\\\\n this.blocks = new Map();\\\\n\\\\n // block ids waiting for a batched request. Either a Set or null\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n /**\\\\n * Fetch a subset of the file.\\\\n * @param {number} offset The offset within the file to read from.\\\\n * @param {number} length The length in bytes to read from.\\\\n * @returns {ArrayBuffer} The subset of the file.\\\\n */\\\\n async fetch(offset, length, immediate = false) {\\\\n const top = offset + length;\\\\n\\\\n // calculate what blocks intersect the specified range (offset + length)\\\\n // determine what blocks are already stored or beeing requested\\\\n const firstBlockOffset = Math.floor(offset / this.blockSize) * this.blockSize;\\\\n const allBlockIds = [];\\\\n const missingBlockIds = [];\\\\n const blockRequests = [];\\\\n\\\\n for (let current = firstBlockOffset; current < top; current += this.blockSize) {\\\\n const blockId = Math.floor(current / this.blockSize);\\\\n if (!this.blocks.has(blockId) && !this.blockRequests.has(blockId)) {\\\\n missingBlockIds.push(blockId);\\\\n }\\\\n if (this.blockRequests.has(blockId)) {\\\\n blockRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n allBlockIds.push(blockId);\\\\n }\\\\n\\\\n // determine whether there are already blocks in the queue to be requested\\\\n // if so, add the missing blocks to this list\\\\n if (!this.blockIdsAwaitingRequest) {\\\\n this.blockIdsAwaitingRequest = new Set(missingBlockIds);\\\\n } else {\\\\n for (let i = 0; i < missingBlockIds.length; ++i) {\\\\n const id = missingBlockIds[i];\\\\n this.blockIdsAwaitingRequest.add(id);\\\\n }\\\\n }\\\\n\\\\n // in immediate mode, we don't want to wait for possible additional requests coming in\\\\n if (!immediate) {\\\\n await wait();\\\\n }\\\\n\\\\n // determine if we are the thread to start the requests.\\\\n if (this.blockIdsAwaitingRequest) {\\\\n // get all coherent blocks as groups to be requested in a single request\\\\n const groups = getCoherentBlockGroups(\\\\n Array.from(this.blockIdsAwaitingRequest).sort(),\\\\n );\\\\n\\\\n // iterate over all blocks\\\\n for (const group of groups) {\\\\n // fetch a group as in a single request\\\\n const request = this.requestData(\\\\n group[0] * this.blockSize, group.length * this.blockSize,\\\\n );\\\\n\\\\n // for each block in the request, make a small 'splitter',\\\\n // i.e: wait for the request to finish, then cut out the bytes for\\\\n // that block and store it there.\\\\n // we keep that as a promise in 'blockRequests' to allow waiting on\\\\n // a single block.\\\\n for (let i = 0; i < group.length; ++i) {\\\\n const id = group[i];\\\\n this.blockRequests.set(id, (async () => {\\\\n const response = await request;\\\\n const o = i * this.blockSize;\\\\n const t = Math.min(o + this.blockSize, response.data.byteLength);\\\\n const data = response.data.slice(o, t);\\\\n this.blockRequests.delete(id);\\\\n this.blocks.set(id, {\\\\n data,\\\\n offset: response.offset + o,\\\\n length: data.byteLength,\\\\n top: response.offset + t,\\\\n });\\\\n })());\\\\n }\\\\n }\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n // get a list of currently running requests for the blocks still missing\\\\n const missingRequests = [];\\\\n for (const blockId of missingBlockIds) {\\\\n if (this.blockRequests.has(blockId)) {\\\\n missingRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n }\\\\n\\\\n // wait for all missing requests to finish\\\\n await Promise.all(missingRequests);\\\\n await Promise.all(blockRequests);\\\\n\\\\n // now get all blocks for the request and return a summary buffer\\\\n const blocks = allBlockIds.map((id) => this.blocks.get(id));\\\\n return readRangeFromBlocks(blocks, offset, length);\\\\n }\\\\n\\\\n async requestData(requestedOffset, requestedLength) {\\\\n const response = await this.retrievalFunction(requestedOffset, requestedLength);\\\\n if (!response.length) {\\\\n response.length = response.data.byteLength;\\\\n } else if (response.length !== response.data.byteLength) {\\\\n response.data = response.data.slice(0, response.length);\\\\n }\\\\n response.top = response.offset + response.length;\\\\n return response;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [fetch]{@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFetchSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n const response = await fetch(url, {\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n },\\\\n });\\\\n\\\\n // check the response was okay and if the server actually understands range requests\\\\n if (!response.ok) {\\\\n throw new Error('Error fetching data.');\\\\n } else if (response.status === 206) {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset,\\\\n length,\\\\n };\\\\n } else {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n };\\\\n }\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [XHR]{@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeXHRSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n return new Promise((resolve, reject) => {\\\\n const request = new XMLHttpRequest();\\\\n request.open('GET', url);\\\\n request.responseType = 'arraybuffer';\\\\n const requestHeaders = { ...headers, Range: `bytes=${offset}-${offset + length - 1}` };\\\\n for (const [key, value] of Object.entries(requestHeaders)) {\\\\n request.setRequestHeader(key, value);\\\\n }\\\\n\\\\n request.onload = () => {\\\\n const data = request.response;\\\\n if (request.status === 206) {\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length,\\\\n });\\\\n } else {\\\\n resolve({\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n });\\\\n }\\\\n };\\\\n request.onerror = reject;\\\\n request.send();\\\\n });\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the node\\\\n * [http]{@link https://nodejs.org/api/http.html} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n */\\\\nfunction makeHttpSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => new Promise((resolve, reject) => {\\\\n const parsed = url__WEBPACK_IMPORTED_MODULE_4___default.a.parse(url);\\\\n const request = (parsed.protocol === 'http:' ? http__WEBPACK_IMPORTED_MODULE_2___default.a : https__WEBPACK_IMPORTED_MODULE_3___default.a).get(\\\\n { ...parsed,\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n } }, (result) => {\\\\n const chunks = [];\\\\n // collect chunks\\\\n result.on('data', (chunk) => {\\\\n chunks.push(chunk);\\\\n });\\\\n\\\\n // concatenate all chunks and resolve the promise with the resulting buffer\\\\n result.on('end', () => {\\\\n const data = buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].concat(chunks).buffer;\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length: data.byteLength,\\\\n });\\\\n });\\\\n },\\\\n );\\\\n request.on('error', reject);\\\\n }), { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file. Uses either XHR, fetch or nodes http API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Boolean} [options.forceXHR] Force the usage of XMLHttpRequest.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeRemoteSource(url, options) {\\\\n const { forceXHR } = options;\\\\n if (typeof fetch === 'function' && !forceXHR) {\\\\n return makeFetchSource(url, options);\\\\n }\\\\n if (typeof XMLHttpRequest !== 'undefined') {\\\\n return makeXHRSource(url, options);\\\\n }\\\\n if (http__WEBPACK_IMPORTED_MODULE_2___default.a.get) {\\\\n return makeHttpSource(url, options);\\\\n }\\\\n throw new Error('No remote source available');\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a local\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The ArrayBuffer to parse the GeoTIFF from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeBufferSource(arrayBuffer) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return arrayBuffer.slice(offset, offset + length);\\\\n },\\\\n };\\\\n}\\\\n\\\\nfunction closeAsync(fd) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"close\\\\\\\"])(fd, err => {\\\\n if (err) {\\\\n reject(err)\\\\n } else {\\\\n resolve()\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction openAsync(path, flags, mode = undefined) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"open\\\\\\\"])(path, flags, mode, (err, fd) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve(fd);\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction readAsync(...args) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"read\\\\\\\"])(...args, (err, bytesRead, buffer) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve({ bytesRead, buffer });\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Creates a new source using the node filesystem API.\\\\n * @param {string} path The path to the file in the local filesystem.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileSource(path) {\\\\n const fileOpen = openAsync(path, 'r');\\\\n\\\\n return {\\\\n async fetch(offset, length) {\\\\n const fd = await fileOpen;\\\\n const { buffer } = await readAsync(fd, buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].alloc(length), 0, length, offset);\\\\n return buffer.buffer;\\\\n },\\\\n async close() {\\\\n const fd = await fileOpen;\\\\n return await closeAsync(fd);\\\\n },\\\\n };\\\\n}\\\\n\\\\n/**\\\\n * Create a new source from a given file/blob.\\\\n * @param {Blob} file The file or blob to read from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileReaderSource(file) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return new Promise((resolve, reject) => {\\\\n const blob = file.slice(offset, offset + length);\\\\n const reader = new FileReader();\\\\n reader.onload = (event) => resolve(event.target.result);\\\\n reader.onerror = reject;\\\\n reader.readAsArrayBuffer(blob);\\\\n });\\\\n },\\\\n };\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/source.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/utils.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/utils.js ***!\\n \\\\*******************************************/\\n/*! exports provided: assign, chunk, endsWith, forEach, invert, range, times, toArray, toArrayRecursively */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"assign\\\\\\\", function() { return assign; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"chunk\\\\\\\", function() { return chunk; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"endsWith\\\\\\\", function() { return endsWith; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"forEach\\\\\\\", function() { return forEach; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"invert\\\\\\\", function() { return invert; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"range\\\\\\\", function() { return range; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"times\\\\\\\", function() { return times; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArray\\\\\\\", function() { return toArray; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArrayRecursively\\\\\\\", function() { return toArrayRecursively; });\\\\nfunction assign(target, source) {\\\\n for (const key in source) {\\\\n if (source.hasOwnProperty(key)) {\\\\n target[key] = source[key];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction chunk(iterable, length) {\\\\n const results = [];\\\\n const lengthOfIterable = iterable.length;\\\\n for (let i = 0; i < lengthOfIterable; i += length) {\\\\n const chunked = [];\\\\n for (let ci = i; ci < i + length; ci++) {\\\\n chunked.push(iterable[ci]);\\\\n }\\\\n results.push(chunked);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction endsWith(string, expectedEnding) {\\\\n if (string.length < expectedEnding.length) {\\\\n return false;\\\\n }\\\\n const actualEnding = string.substr(string.length - expectedEnding.length);\\\\n return actualEnding === expectedEnding;\\\\n}\\\\n\\\\nfunction forEach(iterable, func) {\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n func(iterable[i], i);\\\\n }\\\\n}\\\\n\\\\nfunction invert(oldObj) {\\\\n const newObj = {};\\\\n for (const key in oldObj) {\\\\n if (oldObj.hasOwnProperty(key)) {\\\\n const value = oldObj[key];\\\\n newObj[value] = key;\\\\n }\\\\n }\\\\n return newObj;\\\\n}\\\\n\\\\nfunction range(n) {\\\\n const results = [];\\\\n for (let i = 0; i < n; i++) {\\\\n results.push(i);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction times(numTimes, func) {\\\\n const results = [];\\\\n for (let i = 0; i < numTimes; i++) {\\\\n results.push(func(i));\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArray(iterable) {\\\\n const results = [];\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n results.push(iterable[i]);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArrayRecursively(input) {\\\\n if (input.length) {\\\\n return toArray(input).map(toArrayRecursively);\\\\n }\\\\n return input;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/https-browserify/index.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/https-browserify/index.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"var http = __webpack_require__(/*! http */ \\\\\\\"./node_modules/stream-http/index.js\\\\\\\")\\\\nvar url = __webpack_require__(/*! url */ \\\\\\\"./node_modules/url/url.js\\\\\\\")\\\\n\\\\nvar https = module.exports\\\\n\\\\nfor (var key in http) {\\\\n if (http.hasOwnProperty(key)) https[key] = http[key]\\\\n}\\\\n\\\\nhttps.request = function (params, cb) {\\\\n params = validateParams(params)\\\\n return http.request.call(this, params, cb)\\\\n}\\\\n\\\\nhttps.get = function (params, cb) {\\\\n params = validateParams(params)\\\\n return http.get.call(this, params, cb)\\\\n}\\\\n\\\\nfunction validateParams (params) {\\\\n if (typeof params === 'string') {\\\\n params = url.parse(params)\\\\n }\\\\n if (!params.protocol) {\\\\n params.protocol = 'https:'\\\\n }\\\\n if (params.protocol !== 'https:') {\\\\n throw new Error('Protocol \\\\\\\"' + params.protocol + '\\\\\\\" not supported. Expected \\\\\\\"https:\\\\\\\"')\\\\n }\\\\n return params\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/https-browserify/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/ieee754/index.js\\\":\\n/*!***************************************!*\\\\\\n !*** ./node_modules/ieee754/index.js ***!\\n \\\\***************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\\\\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\\\\n var e, m\\\\n var eLen = (nBytes * 8) - mLen - 1\\\\n var eMax = (1 << eLen) - 1\\\\n var eBias = eMax >> 1\\\\n var nBits = -7\\\\n var i = isLE ? (nBytes - 1) : 0\\\\n var d = isLE ? -1 : 1\\\\n var s = buffer[offset + i]\\\\n\\\\n i += d\\\\n\\\\n e = s & ((1 << (-nBits)) - 1)\\\\n s >>= (-nBits)\\\\n nBits += eLen\\\\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\\\n\\\\n m = e & ((1 << (-nBits)) - 1)\\\\n e >>= (-nBits)\\\\n nBits += mLen\\\\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\\\n\\\\n if (e === 0) {\\\\n e = 1 - eBias\\\\n } else if (e === eMax) {\\\\n return m ? NaN : ((s ? -1 : 1) * Infinity)\\\\n } else {\\\\n m = m + Math.pow(2, mLen)\\\\n e = e - eBias\\\\n }\\\\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\\\\n}\\\\n\\\\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\\\\n var e, m, c\\\\n var eLen = (nBytes * 8) - mLen - 1\\\\n var eMax = (1 << eLen) - 1\\\\n var eBias = eMax >> 1\\\\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\\\\n var i = isLE ? 0 : (nBytes - 1)\\\\n var d = isLE ? 1 : -1\\\\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\\\\n\\\\n value = Math.abs(value)\\\\n\\\\n if (isNaN(value) || value === Infinity) {\\\\n m = isNaN(value) ? 1 : 0\\\\n e = eMax\\\\n } else {\\\\n e = Math.floor(Math.log(value) / Math.LN2)\\\\n if (value * (c = Math.pow(2, -e)) < 1) {\\\\n e--\\\\n c *= 2\\\\n }\\\\n if (e + eBias >= 1) {\\\\n value += rt / c\\\\n } else {\\\\n value += rt * Math.pow(2, 1 - eBias)\\\\n }\\\\n if (value * c >= 2) {\\\\n e++\\\\n c /= 2\\\\n }\\\\n\\\\n if (e + eBias >= eMax) {\\\\n m = 0\\\\n e = eMax\\\\n } else if (e + eBias >= 1) {\\\\n m = ((value * c) - 1) * Math.pow(2, mLen)\\\\n e = e + eBias\\\\n } else {\\\\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\\\\n e = 0\\\\n }\\\\n }\\\\n\\\\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\\\\n\\\\n e = (e << mLen) | m\\\\n eLen += mLen\\\\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\\\\n\\\\n buffer[offset + i - d] |= s * 128\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/ieee754/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/inherits/inherits_browser.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/inherits/inherits_browser.js ***!\\n \\\\***************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"if (typeof Object.create === 'function') {\\\\n // implementation from standard node.js 'util' module\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n ctor.prototype = Object.create(superCtor.prototype, {\\\\n constructor: {\\\\n value: ctor,\\\\n enumerable: false,\\\\n writable: true,\\\\n configurable: true\\\\n }\\\\n })\\\\n }\\\\n };\\\\n} else {\\\\n // old school shim for old browsers\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n var TempCtor = function () {}\\\\n TempCtor.prototype = superCtor.prototype\\\\n ctor.prototype = new TempCtor()\\\\n ctor.prototype.constructor = ctor\\\\n }\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/inherits/inherits_browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/is-observable/index.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/is-observable/index.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nmodule.exports = value => {\\\\n\\\\tif (!value) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\tif (typeof Symbol.observable === 'symbol' && typeof value[Symbol.observable] === 'function') {\\\\n\\\\t\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\t\\\\treturn value === value[Symbol.observable]();\\\\n\\\\t}\\\\n\\\\n\\\\tif (typeof value['@@observable'] === 'function') {\\\\n\\\\t\\\\treturn value === value['@@observable']();\\\\n\\\\t}\\\\n\\\\n\\\\treturn false;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/is-observable/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/isarray/index.js\\\":\\n/*!***************************************!*\\\\\\n !*** ./node_modules/isarray/index.js ***!\\n \\\\***************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"var toString = {}.toString;\\\\n\\\\nmodule.exports = Array.isArray || function (arr) {\\\\n return toString.call(arr) == '[object Array]';\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/isarray/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/ms/index.js\\\":\\n/*!**********************************!*\\\\\\n !*** ./node_modules/ms/index.js ***!\\n \\\\**********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/**\\\\n * Helpers.\\\\n */\\\\n\\\\nvar s = 1000;\\\\nvar m = s * 60;\\\\nvar h = m * 60;\\\\nvar d = h * 24;\\\\nvar w = d * 7;\\\\nvar y = d * 365.25;\\\\n\\\\n/**\\\\n * Parse or format the given `val`.\\\\n *\\\\n * Options:\\\\n *\\\\n * - `long` verbose formatting [false]\\\\n *\\\\n * @param {String|Number} val\\\\n * @param {Object} [options]\\\\n * @throws {Error} throw an error if val is not a non-empty string or a number\\\\n * @return {String|Number}\\\\n * @api public\\\\n */\\\\n\\\\nmodule.exports = function(val, options) {\\\\n options = options || {};\\\\n var type = typeof val;\\\\n if (type === 'string' && val.length > 0) {\\\\n return parse(val);\\\\n } else if (type === 'number' && isFinite(val)) {\\\\n return options.long ? fmtLong(val) : fmtShort(val);\\\\n }\\\\n throw new Error(\\\\n 'val is not a non-empty string or a valid number. val=' +\\\\n JSON.stringify(val)\\\\n );\\\\n};\\\\n\\\\n/**\\\\n * Parse the given `str` and return milliseconds.\\\\n *\\\\n * @param {String} str\\\\n * @return {Number}\\\\n * @api private\\\\n */\\\\n\\\\nfunction parse(str) {\\\\n str = String(str);\\\\n if (str.length > 100) {\\\\n return;\\\\n }\\\\n var match = /^(-?(?:\\\\\\\\d+)?\\\\\\\\.?\\\\\\\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\\\\n str\\\\n );\\\\n if (!match) {\\\\n return;\\\\n }\\\\n var n = parseFloat(match[1]);\\\\n var type = (match[2] || 'ms').toLowerCase();\\\\n switch (type) {\\\\n case 'years':\\\\n case 'year':\\\\n case 'yrs':\\\\n case 'yr':\\\\n case 'y':\\\\n return n * y;\\\\n case 'weeks':\\\\n case 'week':\\\\n case 'w':\\\\n return n * w;\\\\n case 'days':\\\\n case 'day':\\\\n case 'd':\\\\n return n * d;\\\\n case 'hours':\\\\n case 'hour':\\\\n case 'hrs':\\\\n case 'hr':\\\\n case 'h':\\\\n return n * h;\\\\n case 'minutes':\\\\n case 'minute':\\\\n case 'mins':\\\\n case 'min':\\\\n case 'm':\\\\n return n * m;\\\\n case 'seconds':\\\\n case 'second':\\\\n case 'secs':\\\\n case 'sec':\\\\n case 's':\\\\n return n * s;\\\\n case 'milliseconds':\\\\n case 'millisecond':\\\\n case 'msecs':\\\\n case 'msec':\\\\n case 'ms':\\\\n return n;\\\\n default:\\\\n return undefined;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Short format for `ms`.\\\\n *\\\\n * @param {Number} ms\\\\n * @return {String}\\\\n * @api private\\\\n */\\\\n\\\\nfunction fmtShort(ms) {\\\\n var msAbs = Math.abs(ms);\\\\n if (msAbs >= d) {\\\\n return Math.round(ms / d) + 'd';\\\\n }\\\\n if (msAbs >= h) {\\\\n return Math.round(ms / h) + 'h';\\\\n }\\\\n if (msAbs >= m) {\\\\n return Math.round(ms / m) + 'm';\\\\n }\\\\n if (msAbs >= s) {\\\\n return Math.round(ms / s) + 's';\\\\n }\\\\n return ms + 'ms';\\\\n}\\\\n\\\\n/**\\\\n * Long format for `ms`.\\\\n *\\\\n * @param {Number} ms\\\\n * @return {String}\\\\n * @api private\\\\n */\\\\n\\\\nfunction fmtLong(ms) {\\\\n var msAbs = Math.abs(ms);\\\\n if (msAbs >= d) {\\\\n return plural(ms, msAbs, d, 'day');\\\\n }\\\\n if (msAbs >= h) {\\\\n return plural(ms, msAbs, h, 'hour');\\\\n }\\\\n if (msAbs >= m) {\\\\n return plural(ms, msAbs, m, 'minute');\\\\n }\\\\n if (msAbs >= s) {\\\\n return plural(ms, msAbs, s, 'second');\\\\n }\\\\n return ms + ' ms';\\\\n}\\\\n\\\\n/**\\\\n * Pluralization helper.\\\\n */\\\\n\\\\nfunction plural(ms, msAbs, n, name) {\\\\n var isPlural = msAbs >= n * 1.5;\\\\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/ms/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/mock/empty.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/mock/empty.js ***!\\n \\\\******************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/mock/empty.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\":\\n/*!*********************************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/node_modules/buffer/index.js ***!\\n \\\\*********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global) {/*!\\\\n * The buffer module from node.js, for the browser.\\\\n *\\\\n * @author Feross Aboukhadijeh \\\\n * @license MIT\\\\n */\\\\n/* eslint-disable no-proto */\\\\n\\\\n\\\\n\\\\nvar base64 = __webpack_require__(/*! base64-js */ \\\\\\\"./node_modules/base64-js/index.js\\\\\\\")\\\\nvar ieee754 = __webpack_require__(/*! ieee754 */ \\\\\\\"./node_modules/ieee754/index.js\\\\\\\")\\\\nvar isArray = __webpack_require__(/*! isarray */ \\\\\\\"./node_modules/isarray/index.js\\\\\\\")\\\\n\\\\nexports.Buffer = Buffer\\\\nexports.SlowBuffer = SlowBuffer\\\\nexports.INSPECT_MAX_BYTES = 50\\\\n\\\\n/**\\\\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\\\\n * === true Use Uint8Array implementation (fastest)\\\\n * === false Use Object implementation (most compatible, even IE6)\\\\n *\\\\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\\\\n * Opera 11.6+, iOS 4.2+.\\\\n *\\\\n * Due to various browser bugs, sometimes the Object implementation will be used even\\\\n * when the browser supports typed arrays.\\\\n *\\\\n * Note:\\\\n *\\\\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\\\\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\\\\n *\\\\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\\\\n *\\\\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\\\\n * incorrect length in some situations.\\\\n\\\\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\\\\n * get the Object implementation, which is slower but behaves correctly.\\\\n */\\\\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\\\\n ? global.TYPED_ARRAY_SUPPORT\\\\n : typedArraySupport()\\\\n\\\\n/*\\\\n * Export kMaxLength after typed array support is determined.\\\\n */\\\\nexports.kMaxLength = kMaxLength()\\\\n\\\\nfunction typedArraySupport () {\\\\n try {\\\\n var arr = new Uint8Array(1)\\\\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\\\\n return arr.foo() === 42 && // typed array instances can be augmented\\\\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\\\\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\\\\n } catch (e) {\\\\n return false\\\\n }\\\\n}\\\\n\\\\nfunction kMaxLength () {\\\\n return Buffer.TYPED_ARRAY_SUPPORT\\\\n ? 0x7fffffff\\\\n : 0x3fffffff\\\\n}\\\\n\\\\nfunction createBuffer (that, length) {\\\\n if (kMaxLength() < length) {\\\\n throw new RangeError('Invalid typed array length')\\\\n }\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n // Return an augmented `Uint8Array` instance, for best performance\\\\n that = new Uint8Array(length)\\\\n that.__proto__ = Buffer.prototype\\\\n } else {\\\\n // Fallback: Return an object instance of the Buffer class\\\\n if (that === null) {\\\\n that = new Buffer(length)\\\\n }\\\\n that.length = length\\\\n }\\\\n\\\\n return that\\\\n}\\\\n\\\\n/**\\\\n * The Buffer constructor returns instances of `Uint8Array` that have their\\\\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\\\\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\\\\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\\\\n * returns a single octet.\\\\n *\\\\n * The `Uint8Array` prototype remains unmodified.\\\\n */\\\\n\\\\nfunction Buffer (arg, encodingOrOffset, length) {\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\\\\n return new Buffer(arg, encodingOrOffset, length)\\\\n }\\\\n\\\\n // Common case.\\\\n if (typeof arg === 'number') {\\\\n if (typeof encodingOrOffset === 'string') {\\\\n throw new Error(\\\\n 'If encoding is specified then the first argument must be a string'\\\\n )\\\\n }\\\\n return allocUnsafe(this, arg)\\\\n }\\\\n return from(this, arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nBuffer.poolSize = 8192 // not used by this implementation\\\\n\\\\n// TODO: Legacy, not needed anymore. Remove in next major version.\\\\nBuffer._augment = function (arr) {\\\\n arr.__proto__ = Buffer.prototype\\\\n return arr\\\\n}\\\\n\\\\nfunction from (that, value, encodingOrOffset, length) {\\\\n if (typeof value === 'number') {\\\\n throw new TypeError('\\\\\\\"value\\\\\\\" argument must not be a number')\\\\n }\\\\n\\\\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\\\\n return fromArrayBuffer(that, value, encodingOrOffset, length)\\\\n }\\\\n\\\\n if (typeof value === 'string') {\\\\n return fromString(that, value, encodingOrOffset)\\\\n }\\\\n\\\\n return fromObject(that, value)\\\\n}\\\\n\\\\n/**\\\\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\\\\n * if value is a number.\\\\n * Buffer.from(str[, encoding])\\\\n * Buffer.from(array)\\\\n * Buffer.from(buffer)\\\\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\\\\n **/\\\\nBuffer.from = function (value, encodingOrOffset, length) {\\\\n return from(null, value, encodingOrOffset, length)\\\\n}\\\\n\\\\nif (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n Buffer.prototype.__proto__ = Uint8Array.prototype\\\\n Buffer.__proto__ = Uint8Array\\\\n if (typeof Symbol !== 'undefined' && Symbol.species &&\\\\n Buffer[Symbol.species] === Buffer) {\\\\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\\\\n Object.defineProperty(Buffer, Symbol.species, {\\\\n value: null,\\\\n configurable: true\\\\n })\\\\n }\\\\n}\\\\n\\\\nfunction assertSize (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('\\\\\\\"size\\\\\\\" argument must be a number')\\\\n } else if (size < 0) {\\\\n throw new RangeError('\\\\\\\"size\\\\\\\" argument must not be negative')\\\\n }\\\\n}\\\\n\\\\nfunction alloc (that, size, fill, encoding) {\\\\n assertSize(size)\\\\n if (size <= 0) {\\\\n return createBuffer(that, size)\\\\n }\\\\n if (fill !== undefined) {\\\\n // Only pay attention to encoding if it's a string. This\\\\n // prevents accidentally sending in a number that would\\\\n // be interpretted as a start offset.\\\\n return typeof encoding === 'string'\\\\n ? createBuffer(that, size).fill(fill, encoding)\\\\n : createBuffer(that, size).fill(fill)\\\\n }\\\\n return createBuffer(that, size)\\\\n}\\\\n\\\\n/**\\\\n * Creates a new filled Buffer instance.\\\\n * alloc(size[, fill[, encoding]])\\\\n **/\\\\nBuffer.alloc = function (size, fill, encoding) {\\\\n return alloc(null, size, fill, encoding)\\\\n}\\\\n\\\\nfunction allocUnsafe (that, size) {\\\\n assertSize(size)\\\\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\\\\n for (var i = 0; i < size; ++i) {\\\\n that[i] = 0\\\\n }\\\\n }\\\\n return that\\\\n}\\\\n\\\\n/**\\\\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\\\\n * */\\\\nBuffer.allocUnsafe = function (size) {\\\\n return allocUnsafe(null, size)\\\\n}\\\\n/**\\\\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\\\\n */\\\\nBuffer.allocUnsafeSlow = function (size) {\\\\n return allocUnsafe(null, size)\\\\n}\\\\n\\\\nfunction fromString (that, string, encoding) {\\\\n if (typeof encoding !== 'string' || encoding === '') {\\\\n encoding = 'utf8'\\\\n }\\\\n\\\\n if (!Buffer.isEncoding(encoding)) {\\\\n throw new TypeError('\\\\\\\"encoding\\\\\\\" must be a valid string encoding')\\\\n }\\\\n\\\\n var length = byteLength(string, encoding) | 0\\\\n that = createBuffer(that, length)\\\\n\\\\n var actual = that.write(string, encoding)\\\\n\\\\n if (actual !== length) {\\\\n // Writing a hex string, for example, that contains invalid characters will\\\\n // cause everything after the first invalid character to be ignored. (e.g.\\\\n // 'abxxcd' will be treated as 'ab')\\\\n that = that.slice(0, actual)\\\\n }\\\\n\\\\n return that\\\\n}\\\\n\\\\nfunction fromArrayLike (that, array) {\\\\n var length = array.length < 0 ? 0 : checked(array.length) | 0\\\\n that = createBuffer(that, length)\\\\n for (var i = 0; i < length; i += 1) {\\\\n that[i] = array[i] & 255\\\\n }\\\\n return that\\\\n}\\\\n\\\\nfunction fromArrayBuffer (that, array, byteOffset, length) {\\\\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\\\\n\\\\n if (byteOffset < 0 || array.byteLength < byteOffset) {\\\\n throw new RangeError('\\\\\\\\'offset\\\\\\\\' is out of bounds')\\\\n }\\\\n\\\\n if (array.byteLength < byteOffset + (length || 0)) {\\\\n throw new RangeError('\\\\\\\\'length\\\\\\\\' is out of bounds')\\\\n }\\\\n\\\\n if (byteOffset === undefined && length === undefined) {\\\\n array = new Uint8Array(array)\\\\n } else if (length === undefined) {\\\\n array = new Uint8Array(array, byteOffset)\\\\n } else {\\\\n array = new Uint8Array(array, byteOffset, length)\\\\n }\\\\n\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n // Return an augmented `Uint8Array` instance, for best performance\\\\n that = array\\\\n that.__proto__ = Buffer.prototype\\\\n } else {\\\\n // Fallback: Return an object instance of the Buffer class\\\\n that = fromArrayLike(that, array)\\\\n }\\\\n return that\\\\n}\\\\n\\\\nfunction fromObject (that, obj) {\\\\n if (Buffer.isBuffer(obj)) {\\\\n var len = checked(obj.length) | 0\\\\n that = createBuffer(that, len)\\\\n\\\\n if (that.length === 0) {\\\\n return that\\\\n }\\\\n\\\\n obj.copy(that, 0, 0, len)\\\\n return that\\\\n }\\\\n\\\\n if (obj) {\\\\n if ((typeof ArrayBuffer !== 'undefined' &&\\\\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\\\\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\\\\n return createBuffer(that, 0)\\\\n }\\\\n return fromArrayLike(that, obj)\\\\n }\\\\n\\\\n if (obj.type === 'Buffer' && isArray(obj.data)) {\\\\n return fromArrayLike(that, obj.data)\\\\n }\\\\n }\\\\n\\\\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\\\\n}\\\\n\\\\nfunction checked (length) {\\\\n // Note: cannot use `length < kMaxLength()` here because that fails when\\\\n // length is NaN (which is otherwise coerced to zero.)\\\\n if (length >= kMaxLength()) {\\\\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\\\\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\\\\n }\\\\n return length | 0\\\\n}\\\\n\\\\nfunction SlowBuffer (length) {\\\\n if (+length != length) { // eslint-disable-line eqeqeq\\\\n length = 0\\\\n }\\\\n return Buffer.alloc(+length)\\\\n}\\\\n\\\\nBuffer.isBuffer = function isBuffer (b) {\\\\n return !!(b != null && b._isBuffer)\\\\n}\\\\n\\\\nBuffer.compare = function compare (a, b) {\\\\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\\\\n throw new TypeError('Arguments must be Buffers')\\\\n }\\\\n\\\\n if (a === b) return 0\\\\n\\\\n var x = a.length\\\\n var y = b.length\\\\n\\\\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\\\\n if (a[i] !== b[i]) {\\\\n x = a[i]\\\\n y = b[i]\\\\n break\\\\n }\\\\n }\\\\n\\\\n if (x < y) return -1\\\\n if (y < x) return 1\\\\n return 0\\\\n}\\\\n\\\\nBuffer.isEncoding = function isEncoding (encoding) {\\\\n switch (String(encoding).toLowerCase()) {\\\\n case 'hex':\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n case 'ascii':\\\\n case 'latin1':\\\\n case 'binary':\\\\n case 'base64':\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return true\\\\n default:\\\\n return false\\\\n }\\\\n}\\\\n\\\\nBuffer.concat = function concat (list, length) {\\\\n if (!isArray(list)) {\\\\n throw new TypeError('\\\\\\\"list\\\\\\\" argument must be an Array of Buffers')\\\\n }\\\\n\\\\n if (list.length === 0) {\\\\n return Buffer.alloc(0)\\\\n }\\\\n\\\\n var i\\\\n if (length === undefined) {\\\\n length = 0\\\\n for (i = 0; i < list.length; ++i) {\\\\n length += list[i].length\\\\n }\\\\n }\\\\n\\\\n var buffer = Buffer.allocUnsafe(length)\\\\n var pos = 0\\\\n for (i = 0; i < list.length; ++i) {\\\\n var buf = list[i]\\\\n if (!Buffer.isBuffer(buf)) {\\\\n throw new TypeError('\\\\\\\"list\\\\\\\" argument must be an Array of Buffers')\\\\n }\\\\n buf.copy(buffer, pos)\\\\n pos += buf.length\\\\n }\\\\n return buffer\\\\n}\\\\n\\\\nfunction byteLength (string, encoding) {\\\\n if (Buffer.isBuffer(string)) {\\\\n return string.length\\\\n }\\\\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\\\\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\\\\n return string.byteLength\\\\n }\\\\n if (typeof string !== 'string') {\\\\n string = '' + string\\\\n }\\\\n\\\\n var len = string.length\\\\n if (len === 0) return 0\\\\n\\\\n // Use a for loop to avoid recursion\\\\n var loweredCase = false\\\\n for (;;) {\\\\n switch (encoding) {\\\\n case 'ascii':\\\\n case 'latin1':\\\\n case 'binary':\\\\n return len\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n case undefined:\\\\n return utf8ToBytes(string).length\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return len * 2\\\\n case 'hex':\\\\n return len >>> 1\\\\n case 'base64':\\\\n return base64ToBytes(string).length\\\\n default:\\\\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\\\\n encoding = ('' + encoding).toLowerCase()\\\\n loweredCase = true\\\\n }\\\\n }\\\\n}\\\\nBuffer.byteLength = byteLength\\\\n\\\\nfunction slowToString (encoding, start, end) {\\\\n var loweredCase = false\\\\n\\\\n // No need to verify that \\\\\\\"this.length <= MAX_UINT32\\\\\\\" since it's a read-only\\\\n // property of a typed array.\\\\n\\\\n // This behaves neither like String nor Uint8Array in that we set start/end\\\\n // to their upper/lower bounds if the value passed is out of range.\\\\n // undefined is handled specially as per ECMA-262 6th Edition,\\\\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\\\\n if (start === undefined || start < 0) {\\\\n start = 0\\\\n }\\\\n // Return early if start > this.length. Done here to prevent potential uint32\\\\n // coercion fail below.\\\\n if (start > this.length) {\\\\n return ''\\\\n }\\\\n\\\\n if (end === undefined || end > this.length) {\\\\n end = this.length\\\\n }\\\\n\\\\n if (end <= 0) {\\\\n return ''\\\\n }\\\\n\\\\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\\\\n end >>>= 0\\\\n start >>>= 0\\\\n\\\\n if (end <= start) {\\\\n return ''\\\\n }\\\\n\\\\n if (!encoding) encoding = 'utf8'\\\\n\\\\n while (true) {\\\\n switch (encoding) {\\\\n case 'hex':\\\\n return hexSlice(this, start, end)\\\\n\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n return utf8Slice(this, start, end)\\\\n\\\\n case 'ascii':\\\\n return asciiSlice(this, start, end)\\\\n\\\\n case 'latin1':\\\\n case 'binary':\\\\n return latin1Slice(this, start, end)\\\\n\\\\n case 'base64':\\\\n return base64Slice(this, start, end)\\\\n\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return utf16leSlice(this, start, end)\\\\n\\\\n default:\\\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\\\n encoding = (encoding + '').toLowerCase()\\\\n loweredCase = true\\\\n }\\\\n }\\\\n}\\\\n\\\\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\\\\n// Buffer instances.\\\\nBuffer.prototype._isBuffer = true\\\\n\\\\nfunction swap (b, n, m) {\\\\n var i = b[n]\\\\n b[n] = b[m]\\\\n b[m] = i\\\\n}\\\\n\\\\nBuffer.prototype.swap16 = function swap16 () {\\\\n var len = this.length\\\\n if (len % 2 !== 0) {\\\\n throw new RangeError('Buffer size must be a multiple of 16-bits')\\\\n }\\\\n for (var i = 0; i < len; i += 2) {\\\\n swap(this, i, i + 1)\\\\n }\\\\n return this\\\\n}\\\\n\\\\nBuffer.prototype.swap32 = function swap32 () {\\\\n var len = this.length\\\\n if (len % 4 !== 0) {\\\\n throw new RangeError('Buffer size must be a multiple of 32-bits')\\\\n }\\\\n for (var i = 0; i < len; i += 4) {\\\\n swap(this, i, i + 3)\\\\n swap(this, i + 1, i + 2)\\\\n }\\\\n return this\\\\n}\\\\n\\\\nBuffer.prototype.swap64 = function swap64 () {\\\\n var len = this.length\\\\n if (len % 8 !== 0) {\\\\n throw new RangeError('Buffer size must be a multiple of 64-bits')\\\\n }\\\\n for (var i = 0; i < len; i += 8) {\\\\n swap(this, i, i + 7)\\\\n swap(this, i + 1, i + 6)\\\\n swap(this, i + 2, i + 5)\\\\n swap(this, i + 3, i + 4)\\\\n }\\\\n return this\\\\n}\\\\n\\\\nBuffer.prototype.toString = function toString () {\\\\n var length = this.length | 0\\\\n if (length === 0) return ''\\\\n if (arguments.length === 0) return utf8Slice(this, 0, length)\\\\n return slowToString.apply(this, arguments)\\\\n}\\\\n\\\\nBuffer.prototype.equals = function equals (b) {\\\\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\\\\n if (this === b) return true\\\\n return Buffer.compare(this, b) === 0\\\\n}\\\\n\\\\nBuffer.prototype.inspect = function inspect () {\\\\n var str = ''\\\\n var max = exports.INSPECT_MAX_BYTES\\\\n if (this.length > 0) {\\\\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\\\\n if (this.length > max) str += ' ... '\\\\n }\\\\n return ''\\\\n}\\\\n\\\\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\\\\n if (!Buffer.isBuffer(target)) {\\\\n throw new TypeError('Argument must be a Buffer')\\\\n }\\\\n\\\\n if (start === undefined) {\\\\n start = 0\\\\n }\\\\n if (end === undefined) {\\\\n end = target ? target.length : 0\\\\n }\\\\n if (thisStart === undefined) {\\\\n thisStart = 0\\\\n }\\\\n if (thisEnd === undefined) {\\\\n thisEnd = this.length\\\\n }\\\\n\\\\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\\\\n throw new RangeError('out of range index')\\\\n }\\\\n\\\\n if (thisStart >= thisEnd && start >= end) {\\\\n return 0\\\\n }\\\\n if (thisStart >= thisEnd) {\\\\n return -1\\\\n }\\\\n if (start >= end) {\\\\n return 1\\\\n }\\\\n\\\\n start >>>= 0\\\\n end >>>= 0\\\\n thisStart >>>= 0\\\\n thisEnd >>>= 0\\\\n\\\\n if (this === target) return 0\\\\n\\\\n var x = thisEnd - thisStart\\\\n var y = end - start\\\\n var len = Math.min(x, y)\\\\n\\\\n var thisCopy = this.slice(thisStart, thisEnd)\\\\n var targetCopy = target.slice(start, end)\\\\n\\\\n for (var i = 0; i < len; ++i) {\\\\n if (thisCopy[i] !== targetCopy[i]) {\\\\n x = thisCopy[i]\\\\n y = targetCopy[i]\\\\n break\\\\n }\\\\n }\\\\n\\\\n if (x < y) return -1\\\\n if (y < x) return 1\\\\n return 0\\\\n}\\\\n\\\\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\\\\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\\\\n//\\\\n// Arguments:\\\\n// - buffer - a Buffer to search\\\\n// - val - a string, Buffer, or number\\\\n// - byteOffset - an index into `buffer`; will be clamped to an int32\\\\n// - encoding - an optional encoding, relevant is val is a string\\\\n// - dir - true for indexOf, false for lastIndexOf\\\\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\\\\n // Empty buffer means no match\\\\n if (buffer.length === 0) return -1\\\\n\\\\n // Normalize byteOffset\\\\n if (typeof byteOffset === 'string') {\\\\n encoding = byteOffset\\\\n byteOffset = 0\\\\n } else if (byteOffset > 0x7fffffff) {\\\\n byteOffset = 0x7fffffff\\\\n } else if (byteOffset < -0x80000000) {\\\\n byteOffset = -0x80000000\\\\n }\\\\n byteOffset = +byteOffset // Coerce to Number.\\\\n if (isNaN(byteOffset)) {\\\\n // byteOffset: it it's undefined, null, NaN, \\\\\\\"foo\\\\\\\", etc, search whole buffer\\\\n byteOffset = dir ? 0 : (buffer.length - 1)\\\\n }\\\\n\\\\n // Normalize byteOffset: negative offsets start from the end of the buffer\\\\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\\\\n if (byteOffset >= buffer.length) {\\\\n if (dir) return -1\\\\n else byteOffset = buffer.length - 1\\\\n } else if (byteOffset < 0) {\\\\n if (dir) byteOffset = 0\\\\n else return -1\\\\n }\\\\n\\\\n // Normalize val\\\\n if (typeof val === 'string') {\\\\n val = Buffer.from(val, encoding)\\\\n }\\\\n\\\\n // Finally, search either indexOf (if dir is true) or lastIndexOf\\\\n if (Buffer.isBuffer(val)) {\\\\n // Special case: looking for empty string/buffer always fails\\\\n if (val.length === 0) {\\\\n return -1\\\\n }\\\\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\\\\n } else if (typeof val === 'number') {\\\\n val = val & 0xFF // Search for a byte value [0-255]\\\\n if (Buffer.TYPED_ARRAY_SUPPORT &&\\\\n typeof Uint8Array.prototype.indexOf === 'function') {\\\\n if (dir) {\\\\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\\\\n } else {\\\\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\\\\n }\\\\n }\\\\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\\\\n }\\\\n\\\\n throw new TypeError('val must be string, number or Buffer')\\\\n}\\\\n\\\\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\\\\n var indexSize = 1\\\\n var arrLength = arr.length\\\\n var valLength = val.length\\\\n\\\\n if (encoding !== undefined) {\\\\n encoding = String(encoding).toLowerCase()\\\\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\\\\n encoding === 'utf16le' || encoding === 'utf-16le') {\\\\n if (arr.length < 2 || val.length < 2) {\\\\n return -1\\\\n }\\\\n indexSize = 2\\\\n arrLength /= 2\\\\n valLength /= 2\\\\n byteOffset /= 2\\\\n }\\\\n }\\\\n\\\\n function read (buf, i) {\\\\n if (indexSize === 1) {\\\\n return buf[i]\\\\n } else {\\\\n return buf.readUInt16BE(i * indexSize)\\\\n }\\\\n }\\\\n\\\\n var i\\\\n if (dir) {\\\\n var foundIndex = -1\\\\n for (i = byteOffset; i < arrLength; i++) {\\\\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\\\\n if (foundIndex === -1) foundIndex = i\\\\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\\\\n } else {\\\\n if (foundIndex !== -1) i -= i - foundIndex\\\\n foundIndex = -1\\\\n }\\\\n }\\\\n } else {\\\\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\\\\n for (i = byteOffset; i >= 0; i--) {\\\\n var found = true\\\\n for (var j = 0; j < valLength; j++) {\\\\n if (read(arr, i + j) !== read(val, j)) {\\\\n found = false\\\\n break\\\\n }\\\\n }\\\\n if (found) return i\\\\n }\\\\n }\\\\n\\\\n return -1\\\\n}\\\\n\\\\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\\\\n return this.indexOf(val, byteOffset, encoding) !== -1\\\\n}\\\\n\\\\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\\\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\\\\n}\\\\n\\\\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\\\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\\\\n}\\\\n\\\\nfunction hexWrite (buf, string, offset, length) {\\\\n offset = Number(offset) || 0\\\\n var remaining = buf.length - offset\\\\n if (!length) {\\\\n length = remaining\\\\n } else {\\\\n length = Number(length)\\\\n if (length > remaining) {\\\\n length = remaining\\\\n }\\\\n }\\\\n\\\\n // must be an even number of digits\\\\n var strLen = string.length\\\\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\\\\n\\\\n if (length > strLen / 2) {\\\\n length = strLen / 2\\\\n }\\\\n for (var i = 0; i < length; ++i) {\\\\n var parsed = parseInt(string.substr(i * 2, 2), 16)\\\\n if (isNaN(parsed)) return i\\\\n buf[offset + i] = parsed\\\\n }\\\\n return i\\\\n}\\\\n\\\\nfunction utf8Write (buf, string, offset, length) {\\\\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\\\\n}\\\\n\\\\nfunction asciiWrite (buf, string, offset, length) {\\\\n return blitBuffer(asciiToBytes(string), buf, offset, length)\\\\n}\\\\n\\\\nfunction latin1Write (buf, string, offset, length) {\\\\n return asciiWrite(buf, string, offset, length)\\\\n}\\\\n\\\\nfunction base64Write (buf, string, offset, length) {\\\\n return blitBuffer(base64ToBytes(string), buf, offset, length)\\\\n}\\\\n\\\\nfunction ucs2Write (buf, string, offset, length) {\\\\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\\\\n}\\\\n\\\\nBuffer.prototype.write = function write (string, offset, length, encoding) {\\\\n // Buffer#write(string)\\\\n if (offset === undefined) {\\\\n encoding = 'utf8'\\\\n length = this.length\\\\n offset = 0\\\\n // Buffer#write(string, encoding)\\\\n } else if (length === undefined && typeof offset === 'string') {\\\\n encoding = offset\\\\n length = this.length\\\\n offset = 0\\\\n // Buffer#write(string, offset[, length][, encoding])\\\\n } else if (isFinite(offset)) {\\\\n offset = offset | 0\\\\n if (isFinite(length)) {\\\\n length = length | 0\\\\n if (encoding === undefined) encoding = 'utf8'\\\\n } else {\\\\n encoding = length\\\\n length = undefined\\\\n }\\\\n // legacy write(string, encoding, offset, length) - remove in v0.13\\\\n } else {\\\\n throw new Error(\\\\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\\\\n )\\\\n }\\\\n\\\\n var remaining = this.length - offset\\\\n if (length === undefined || length > remaining) length = remaining\\\\n\\\\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\\\\n throw new RangeError('Attempt to write outside buffer bounds')\\\\n }\\\\n\\\\n if (!encoding) encoding = 'utf8'\\\\n\\\\n var loweredCase = false\\\\n for (;;) {\\\\n switch (encoding) {\\\\n case 'hex':\\\\n return hexWrite(this, string, offset, length)\\\\n\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n return utf8Write(this, string, offset, length)\\\\n\\\\n case 'ascii':\\\\n return asciiWrite(this, string, offset, length)\\\\n\\\\n case 'latin1':\\\\n case 'binary':\\\\n return latin1Write(this, string, offset, length)\\\\n\\\\n case 'base64':\\\\n // Warning: maxLength not taken into account in base64Write\\\\n return base64Write(this, string, offset, length)\\\\n\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return ucs2Write(this, string, offset, length)\\\\n\\\\n default:\\\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\\\n encoding = ('' + encoding).toLowerCase()\\\\n loweredCase = true\\\\n }\\\\n }\\\\n}\\\\n\\\\nBuffer.prototype.toJSON = function toJSON () {\\\\n return {\\\\n type: 'Buffer',\\\\n data: Array.prototype.slice.call(this._arr || this, 0)\\\\n }\\\\n}\\\\n\\\\nfunction base64Slice (buf, start, end) {\\\\n if (start === 0 && end === buf.length) {\\\\n return base64.fromByteArray(buf)\\\\n } else {\\\\n return base64.fromByteArray(buf.slice(start, end))\\\\n }\\\\n}\\\\n\\\\nfunction utf8Slice (buf, start, end) {\\\\n end = Math.min(buf.length, end)\\\\n var res = []\\\\n\\\\n var i = start\\\\n while (i < end) {\\\\n var firstByte = buf[i]\\\\n var codePoint = null\\\\n var bytesPerSequence = (firstByte > 0xEF) ? 4\\\\n : (firstByte > 0xDF) ? 3\\\\n : (firstByte > 0xBF) ? 2\\\\n : 1\\\\n\\\\n if (i + bytesPerSequence <= end) {\\\\n var secondByte, thirdByte, fourthByte, tempCodePoint\\\\n\\\\n switch (bytesPerSequence) {\\\\n case 1:\\\\n if (firstByte < 0x80) {\\\\n codePoint = firstByte\\\\n }\\\\n break\\\\n case 2:\\\\n secondByte = buf[i + 1]\\\\n if ((secondByte & 0xC0) === 0x80) {\\\\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\\\\n if (tempCodePoint > 0x7F) {\\\\n codePoint = tempCodePoint\\\\n }\\\\n }\\\\n break\\\\n case 3:\\\\n secondByte = buf[i + 1]\\\\n thirdByte = buf[i + 2]\\\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\\\\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\\\\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\\\\n codePoint = tempCodePoint\\\\n }\\\\n }\\\\n break\\\\n case 4:\\\\n secondByte = buf[i + 1]\\\\n thirdByte = buf[i + 2]\\\\n fourthByte = buf[i + 3]\\\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\\\\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\\\\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\\\\n codePoint = tempCodePoint\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n if (codePoint === null) {\\\\n // we did not generate a valid codePoint so insert a\\\\n // replacement char (U+FFFD) and advance only 1 byte\\\\n codePoint = 0xFFFD\\\\n bytesPerSequence = 1\\\\n } else if (codePoint > 0xFFFF) {\\\\n // encode to utf16 (surrogate pair dance)\\\\n codePoint -= 0x10000\\\\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\\\\n codePoint = 0xDC00 | codePoint & 0x3FF\\\\n }\\\\n\\\\n res.push(codePoint)\\\\n i += bytesPerSequence\\\\n }\\\\n\\\\n return decodeCodePointsArray(res)\\\\n}\\\\n\\\\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\\\\n// the lowest limit is Chrome, with 0x10000 args.\\\\n// We go 1 magnitude less, for safety\\\\nvar MAX_ARGUMENTS_LENGTH = 0x1000\\\\n\\\\nfunction decodeCodePointsArray (codePoints) {\\\\n var len = codePoints.length\\\\n if (len <= MAX_ARGUMENTS_LENGTH) {\\\\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\\\\n }\\\\n\\\\n // Decode in chunks to avoid \\\\\\\"call stack size exceeded\\\\\\\".\\\\n var res = ''\\\\n var i = 0\\\\n while (i < len) {\\\\n res += String.fromCharCode.apply(\\\\n String,\\\\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\\\\n )\\\\n }\\\\n return res\\\\n}\\\\n\\\\nfunction asciiSlice (buf, start, end) {\\\\n var ret = ''\\\\n end = Math.min(buf.length, end)\\\\n\\\\n for (var i = start; i < end; ++i) {\\\\n ret += String.fromCharCode(buf[i] & 0x7F)\\\\n }\\\\n return ret\\\\n}\\\\n\\\\nfunction latin1Slice (buf, start, end) {\\\\n var ret = ''\\\\n end = Math.min(buf.length, end)\\\\n\\\\n for (var i = start; i < end; ++i) {\\\\n ret += String.fromCharCode(buf[i])\\\\n }\\\\n return ret\\\\n}\\\\n\\\\nfunction hexSlice (buf, start, end) {\\\\n var len = buf.length\\\\n\\\\n if (!start || start < 0) start = 0\\\\n if (!end || end < 0 || end > len) end = len\\\\n\\\\n var out = ''\\\\n for (var i = start; i < end; ++i) {\\\\n out += toHex(buf[i])\\\\n }\\\\n return out\\\\n}\\\\n\\\\nfunction utf16leSlice (buf, start, end) {\\\\n var bytes = buf.slice(start, end)\\\\n var res = ''\\\\n for (var i = 0; i < bytes.length; i += 2) {\\\\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\\\\n }\\\\n return res\\\\n}\\\\n\\\\nBuffer.prototype.slice = function slice (start, end) {\\\\n var len = this.length\\\\n start = ~~start\\\\n end = end === undefined ? len : ~~end\\\\n\\\\n if (start < 0) {\\\\n start += len\\\\n if (start < 0) start = 0\\\\n } else if (start > len) {\\\\n start = len\\\\n }\\\\n\\\\n if (end < 0) {\\\\n end += len\\\\n if (end < 0) end = 0\\\\n } else if (end > len) {\\\\n end = len\\\\n }\\\\n\\\\n if (end < start) end = start\\\\n\\\\n var newBuf\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n newBuf = this.subarray(start, end)\\\\n newBuf.__proto__ = Buffer.prototype\\\\n } else {\\\\n var sliceLen = end - start\\\\n newBuf = new Buffer(sliceLen, undefined)\\\\n for (var i = 0; i < sliceLen; ++i) {\\\\n newBuf[i] = this[i + start]\\\\n }\\\\n }\\\\n\\\\n return newBuf\\\\n}\\\\n\\\\n/*\\\\n * Need to make sure that buffer isn't trying to write out of bounds.\\\\n */\\\\nfunction checkOffset (offset, ext, length) {\\\\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\\\\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\\\\n}\\\\n\\\\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\\\n\\\\n var val = this[offset]\\\\n var mul = 1\\\\n var i = 0\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n val += this[offset + i] * mul\\\\n }\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) {\\\\n checkOffset(offset, byteLength, this.length)\\\\n }\\\\n\\\\n var val = this[offset + --byteLength]\\\\n var mul = 1\\\\n while (byteLength > 0 && (mul *= 0x100)) {\\\\n val += this[offset + --byteLength] * mul\\\\n }\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 1, this.length)\\\\n return this[offset]\\\\n}\\\\n\\\\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n return this[offset] | (this[offset + 1] << 8)\\\\n}\\\\n\\\\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n return (this[offset] << 8) | this[offset + 1]\\\\n}\\\\n\\\\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return ((this[offset]) |\\\\n (this[offset + 1] << 8) |\\\\n (this[offset + 2] << 16)) +\\\\n (this[offset + 3] * 0x1000000)\\\\n}\\\\n\\\\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return (this[offset] * 0x1000000) +\\\\n ((this[offset + 1] << 16) |\\\\n (this[offset + 2] << 8) |\\\\n this[offset + 3])\\\\n}\\\\n\\\\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\\\n\\\\n var val = this[offset]\\\\n var mul = 1\\\\n var i = 0\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n val += this[offset + i] * mul\\\\n }\\\\n mul *= 0x80\\\\n\\\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\\\n\\\\n var i = byteLength\\\\n var mul = 1\\\\n var val = this[offset + --i]\\\\n while (i > 0 && (mul *= 0x100)) {\\\\n val += this[offset + --i] * mul\\\\n }\\\\n mul *= 0x80\\\\n\\\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\\\n\\\\n return val\\\\n}\\\\n\\\\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 1, this.length)\\\\n if (!(this[offset] & 0x80)) return (this[offset])\\\\n return ((0xff - this[offset] + 1) * -1)\\\\n}\\\\n\\\\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n var val = this[offset] | (this[offset + 1] << 8)\\\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\\\n}\\\\n\\\\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 2, this.length)\\\\n var val = this[offset + 1] | (this[offset] << 8)\\\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\\\n}\\\\n\\\\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return (this[offset]) |\\\\n (this[offset + 1] << 8) |\\\\n (this[offset + 2] << 16) |\\\\n (this[offset + 3] << 24)\\\\n}\\\\n\\\\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n\\\\n return (this[offset] << 24) |\\\\n (this[offset + 1] << 16) |\\\\n (this[offset + 2] << 8) |\\\\n (this[offset + 3])\\\\n}\\\\n\\\\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n return ieee754.read(this, offset, true, 23, 4)\\\\n}\\\\n\\\\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 4, this.length)\\\\n return ieee754.read(this, offset, false, 23, 4)\\\\n}\\\\n\\\\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 8, this.length)\\\\n return ieee754.read(this, offset, true, 52, 8)\\\\n}\\\\n\\\\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\\\\n if (!noAssert) checkOffset(offset, 8, this.length)\\\\n return ieee754.read(this, offset, false, 52, 8)\\\\n}\\\\n\\\\nfunction checkInt (buf, value, offset, ext, max, min) {\\\\n if (!Buffer.isBuffer(buf)) throw new TypeError('\\\\\\\"buffer\\\\\\\" argument must be a Buffer instance')\\\\n if (value > max || value < min) throw new RangeError('\\\\\\\"value\\\\\\\" argument is out of bounds')\\\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\\\n}\\\\n\\\\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) {\\\\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\\\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\\\n }\\\\n\\\\n var mul = 1\\\\n var i = 0\\\\n this[offset] = value & 0xFF\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n this[offset + i] = (value / mul) & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n byteLength = byteLength | 0\\\\n if (!noAssert) {\\\\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\\\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\\\n }\\\\n\\\\n var i = byteLength - 1\\\\n var mul = 1\\\\n this[offset + i] = value & 0xFF\\\\n while (--i >= 0 && (mul *= 0x100)) {\\\\n this[offset + i] = (value / mul) & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\\\\n this[offset] = (value & 0xff)\\\\n return offset + 1\\\\n}\\\\n\\\\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\\\\n if (value < 0) value = 0xffff + value + 1\\\\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\\\\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\\\\n (littleEndian ? i : 1 - i) * 8\\\\n }\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value & 0xff)\\\\n this[offset + 1] = (value >>> 8)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, true)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 8)\\\\n this[offset + 1] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, false)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\\\\n if (value < 0) value = 0xffffffff + value + 1\\\\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\\\\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\\\\n }\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset + 3] = (value >>> 24)\\\\n this[offset + 2] = (value >>> 16)\\\\n this[offset + 1] = (value >>> 8)\\\\n this[offset] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, true)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 24)\\\\n this[offset + 1] = (value >>> 16)\\\\n this[offset + 2] = (value >>> 8)\\\\n this[offset + 3] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, false)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) {\\\\n var limit = Math.pow(2, 8 * byteLength - 1)\\\\n\\\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\\\n }\\\\n\\\\n var i = 0\\\\n var mul = 1\\\\n var sub = 0\\\\n this[offset] = value & 0xFF\\\\n while (++i < byteLength && (mul *= 0x100)) {\\\\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\\\\n sub = 1\\\\n }\\\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) {\\\\n var limit = Math.pow(2, 8 * byteLength - 1)\\\\n\\\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\\\n }\\\\n\\\\n var i = byteLength - 1\\\\n var mul = 1\\\\n var sub = 0\\\\n this[offset + i] = value & 0xFF\\\\n while (--i >= 0 && (mul *= 0x100)) {\\\\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\\\\n sub = 1\\\\n }\\\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\\\n }\\\\n\\\\n return offset + byteLength\\\\n}\\\\n\\\\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\\\\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\\\\n if (value < 0) value = 0xff + value + 1\\\\n this[offset] = (value & 0xff)\\\\n return offset + 1\\\\n}\\\\n\\\\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value & 0xff)\\\\n this[offset + 1] = (value >>> 8)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, true)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 8)\\\\n this[offset + 1] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt16(this, value, offset, false)\\\\n }\\\\n return offset + 2\\\\n}\\\\n\\\\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value & 0xff)\\\\n this[offset + 1] = (value >>> 8)\\\\n this[offset + 2] = (value >>> 16)\\\\n this[offset + 3] = (value >>> 24)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, true)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\\\\n value = +value\\\\n offset = offset | 0\\\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\\\n if (value < 0) value = 0xffffffff + value + 1\\\\n if (Buffer.TYPED_ARRAY_SUPPORT) {\\\\n this[offset] = (value >>> 24)\\\\n this[offset + 1] = (value >>> 16)\\\\n this[offset + 2] = (value >>> 8)\\\\n this[offset + 3] = (value & 0xff)\\\\n } else {\\\\n objectWriteUInt32(this, value, offset, false)\\\\n }\\\\n return offset + 4\\\\n}\\\\n\\\\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\\\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\\\n if (offset < 0) throw new RangeError('Index out of range')\\\\n}\\\\n\\\\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\\\\n if (!noAssert) {\\\\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\\\\n }\\\\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\\\\n return offset + 4\\\\n}\\\\n\\\\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\\\\n return writeFloat(this, value, offset, true, noAssert)\\\\n}\\\\n\\\\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\\\\n return writeFloat(this, value, offset, false, noAssert)\\\\n}\\\\n\\\\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\\\\n if (!noAssert) {\\\\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\\\\n }\\\\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\\\\n return offset + 8\\\\n}\\\\n\\\\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\\\\n return writeDouble(this, value, offset, true, noAssert)\\\\n}\\\\n\\\\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\\\\n return writeDouble(this, value, offset, false, noAssert)\\\\n}\\\\n\\\\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\\\\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\\\\n if (!start) start = 0\\\\n if (!end && end !== 0) end = this.length\\\\n if (targetStart >= target.length) targetStart = target.length\\\\n if (!targetStart) targetStart = 0\\\\n if (end > 0 && end < start) end = start\\\\n\\\\n // Copy 0 bytes; we're done\\\\n if (end === start) return 0\\\\n if (target.length === 0 || this.length === 0) return 0\\\\n\\\\n // Fatal error conditions\\\\n if (targetStart < 0) {\\\\n throw new RangeError('targetStart out of bounds')\\\\n }\\\\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\\\\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\\\\n\\\\n // Are we oob?\\\\n if (end > this.length) end = this.length\\\\n if (target.length - targetStart < end - start) {\\\\n end = target.length - targetStart + start\\\\n }\\\\n\\\\n var len = end - start\\\\n var i\\\\n\\\\n if (this === target && start < targetStart && targetStart < end) {\\\\n // descending copy from end\\\\n for (i = len - 1; i >= 0; --i) {\\\\n target[i + targetStart] = this[i + start]\\\\n }\\\\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\\\\n // ascending copy from start\\\\n for (i = 0; i < len; ++i) {\\\\n target[i + targetStart] = this[i + start]\\\\n }\\\\n } else {\\\\n Uint8Array.prototype.set.call(\\\\n target,\\\\n this.subarray(start, start + len),\\\\n targetStart\\\\n )\\\\n }\\\\n\\\\n return len\\\\n}\\\\n\\\\n// Usage:\\\\n// buffer.fill(number[, offset[, end]])\\\\n// buffer.fill(buffer[, offset[, end]])\\\\n// buffer.fill(string[, offset[, end]][, encoding])\\\\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\\\\n // Handle string cases:\\\\n if (typeof val === 'string') {\\\\n if (typeof start === 'string') {\\\\n encoding = start\\\\n start = 0\\\\n end = this.length\\\\n } else if (typeof end === 'string') {\\\\n encoding = end\\\\n end = this.length\\\\n }\\\\n if (val.length === 1) {\\\\n var code = val.charCodeAt(0)\\\\n if (code < 256) {\\\\n val = code\\\\n }\\\\n }\\\\n if (encoding !== undefined && typeof encoding !== 'string') {\\\\n throw new TypeError('encoding must be a string')\\\\n }\\\\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\\\\n throw new TypeError('Unknown encoding: ' + encoding)\\\\n }\\\\n } else if (typeof val === 'number') {\\\\n val = val & 255\\\\n }\\\\n\\\\n // Invalid ranges are not set to a default, so can range check early.\\\\n if (start < 0 || this.length < start || this.length < end) {\\\\n throw new RangeError('Out of range index')\\\\n }\\\\n\\\\n if (end <= start) {\\\\n return this\\\\n }\\\\n\\\\n start = start >>> 0\\\\n end = end === undefined ? this.length : end >>> 0\\\\n\\\\n if (!val) val = 0\\\\n\\\\n var i\\\\n if (typeof val === 'number') {\\\\n for (i = start; i < end; ++i) {\\\\n this[i] = val\\\\n }\\\\n } else {\\\\n var bytes = Buffer.isBuffer(val)\\\\n ? val\\\\n : utf8ToBytes(new Buffer(val, encoding).toString())\\\\n var len = bytes.length\\\\n for (i = 0; i < end - start; ++i) {\\\\n this[i + start] = bytes[i % len]\\\\n }\\\\n }\\\\n\\\\n return this\\\\n}\\\\n\\\\n// HELPER FUNCTIONS\\\\n// ================\\\\n\\\\nvar INVALID_BASE64_RE = /[^+\\\\\\\\/0-9A-Za-z-_]/g\\\\n\\\\nfunction base64clean (str) {\\\\n // Node strips out invalid characters like \\\\\\\\n and \\\\\\\\t from the string, base64-js does not\\\\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\\\\n // Node converts strings with length < 2 to ''\\\\n if (str.length < 2) return ''\\\\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\\\\n while (str.length % 4 !== 0) {\\\\n str = str + '='\\\\n }\\\\n return str\\\\n}\\\\n\\\\nfunction stringtrim (str) {\\\\n if (str.trim) return str.trim()\\\\n return str.replace(/^\\\\\\\\s+|\\\\\\\\s+$/g, '')\\\\n}\\\\n\\\\nfunction toHex (n) {\\\\n if (n < 16) return '0' + n.toString(16)\\\\n return n.toString(16)\\\\n}\\\\n\\\\nfunction utf8ToBytes (string, units) {\\\\n units = units || Infinity\\\\n var codePoint\\\\n var length = string.length\\\\n var leadSurrogate = null\\\\n var bytes = []\\\\n\\\\n for (var i = 0; i < length; ++i) {\\\\n codePoint = string.charCodeAt(i)\\\\n\\\\n // is surrogate component\\\\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\\\\n // last char was a lead\\\\n if (!leadSurrogate) {\\\\n // no lead yet\\\\n if (codePoint > 0xDBFF) {\\\\n // unexpected trail\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n continue\\\\n } else if (i + 1 === length) {\\\\n // unpaired lead\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n continue\\\\n }\\\\n\\\\n // valid lead\\\\n leadSurrogate = codePoint\\\\n\\\\n continue\\\\n }\\\\n\\\\n // 2 leads in a row\\\\n if (codePoint < 0xDC00) {\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n leadSurrogate = codePoint\\\\n continue\\\\n }\\\\n\\\\n // valid surrogate pair\\\\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\\\\n } else if (leadSurrogate) {\\\\n // valid bmp char, but last char was a lead\\\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\\\n }\\\\n\\\\n leadSurrogate = null\\\\n\\\\n // encode utf8\\\\n if (codePoint < 0x80) {\\\\n if ((units -= 1) < 0) break\\\\n bytes.push(codePoint)\\\\n } else if (codePoint < 0x800) {\\\\n if ((units -= 2) < 0) break\\\\n bytes.push(\\\\n codePoint >> 0x6 | 0xC0,\\\\n codePoint & 0x3F | 0x80\\\\n )\\\\n } else if (codePoint < 0x10000) {\\\\n if ((units -= 3) < 0) break\\\\n bytes.push(\\\\n codePoint >> 0xC | 0xE0,\\\\n codePoint >> 0x6 & 0x3F | 0x80,\\\\n codePoint & 0x3F | 0x80\\\\n )\\\\n } else if (codePoint < 0x110000) {\\\\n if ((units -= 4) < 0) break\\\\n bytes.push(\\\\n codePoint >> 0x12 | 0xF0,\\\\n codePoint >> 0xC & 0x3F | 0x80,\\\\n codePoint >> 0x6 & 0x3F | 0x80,\\\\n codePoint & 0x3F | 0x80\\\\n )\\\\n } else {\\\\n throw new Error('Invalid code point')\\\\n }\\\\n }\\\\n\\\\n return bytes\\\\n}\\\\n\\\\nfunction asciiToBytes (str) {\\\\n var byteArray = []\\\\n for (var i = 0; i < str.length; ++i) {\\\\n // Node's code seems to be doing this and not & 0x7F..\\\\n byteArray.push(str.charCodeAt(i) & 0xFF)\\\\n }\\\\n return byteArray\\\\n}\\\\n\\\\nfunction utf16leToBytes (str, units) {\\\\n var c, hi, lo\\\\n var byteArray = []\\\\n for (var i = 0; i < str.length; ++i) {\\\\n if ((units -= 2) < 0) break\\\\n\\\\n c = str.charCodeAt(i)\\\\n hi = c >> 8\\\\n lo = c % 256\\\\n byteArray.push(lo)\\\\n byteArray.push(hi)\\\\n }\\\\n\\\\n return byteArray\\\\n}\\\\n\\\\nfunction base64ToBytes (str) {\\\\n return base64.toByteArray(base64clean(str))\\\\n}\\\\n\\\\nfunction blitBuffer (src, dst, offset, length) {\\\\n for (var i = 0; i < length; ++i) {\\\\n if ((i + offset >= dst.length) || (i >= src.length)) break\\\\n dst[i + offset] = src[i]\\\\n }\\\\n return i\\\\n}\\\\n\\\\nfunction isnan (val) {\\\\n return val !== val // eslint-disable-line no-self-compare\\\\n}\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/buffer/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/node_modules/events/events.js\\\":\\n/*!**********************************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/node_modules/events/events.js ***!\\n \\\\**********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\nvar R = typeof Reflect === 'object' ? Reflect : null\\\\nvar ReflectApply = R && typeof R.apply === 'function'\\\\n ? R.apply\\\\n : function ReflectApply(target, receiver, args) {\\\\n return Function.prototype.apply.call(target, receiver, args);\\\\n }\\\\n\\\\nvar ReflectOwnKeys\\\\nif (R && typeof R.ownKeys === 'function') {\\\\n ReflectOwnKeys = R.ownKeys\\\\n} else if (Object.getOwnPropertySymbols) {\\\\n ReflectOwnKeys = function ReflectOwnKeys(target) {\\\\n return Object.getOwnPropertyNames(target)\\\\n .concat(Object.getOwnPropertySymbols(target));\\\\n };\\\\n} else {\\\\n ReflectOwnKeys = function ReflectOwnKeys(target) {\\\\n return Object.getOwnPropertyNames(target);\\\\n };\\\\n}\\\\n\\\\nfunction ProcessEmitWarning(warning) {\\\\n if (console && console.warn) console.warn(warning);\\\\n}\\\\n\\\\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\\\\n return value !== value;\\\\n}\\\\n\\\\nfunction EventEmitter() {\\\\n EventEmitter.init.call(this);\\\\n}\\\\nmodule.exports = EventEmitter;\\\\nmodule.exports.once = once;\\\\n\\\\n// Backwards-compat with node 0.10.x\\\\nEventEmitter.EventEmitter = EventEmitter;\\\\n\\\\nEventEmitter.prototype._events = undefined;\\\\nEventEmitter.prototype._eventsCount = 0;\\\\nEventEmitter.prototype._maxListeners = undefined;\\\\n\\\\n// By default EventEmitters will print a warning if more than 10 listeners are\\\\n// added to it. This is a useful default which helps finding memory leaks.\\\\nvar defaultMaxListeners = 10;\\\\n\\\\nfunction checkListener(listener) {\\\\n if (typeof listener !== 'function') {\\\\n throw new TypeError('The \\\\\\\"listener\\\\\\\" argument must be of type Function. Received type ' + typeof listener);\\\\n }\\\\n}\\\\n\\\\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\\\\n enumerable: true,\\\\n get: function() {\\\\n return defaultMaxListeners;\\\\n },\\\\n set: function(arg) {\\\\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\\\\n throw new RangeError('The value of \\\\\\\"defaultMaxListeners\\\\\\\" is out of range. It must be a non-negative number. Received ' + arg + '.');\\\\n }\\\\n defaultMaxListeners = arg;\\\\n }\\\\n});\\\\n\\\\nEventEmitter.init = function() {\\\\n\\\\n if (this._events === undefined ||\\\\n this._events === Object.getPrototypeOf(this)._events) {\\\\n this._events = Object.create(null);\\\\n this._eventsCount = 0;\\\\n }\\\\n\\\\n this._maxListeners = this._maxListeners || undefined;\\\\n};\\\\n\\\\n// Obviously not all Emitters should be limited to 10. This function allows\\\\n// that to be increased. Set to zero for unlimited.\\\\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\\\\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\\\\n throw new RangeError('The value of \\\\\\\"n\\\\\\\" is out of range. It must be a non-negative number. Received ' + n + '.');\\\\n }\\\\n this._maxListeners = n;\\\\n return this;\\\\n};\\\\n\\\\nfunction _getMaxListeners(that) {\\\\n if (that._maxListeners === undefined)\\\\n return EventEmitter.defaultMaxListeners;\\\\n return that._maxListeners;\\\\n}\\\\n\\\\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\\\\n return _getMaxListeners(this);\\\\n};\\\\n\\\\nEventEmitter.prototype.emit = function emit(type) {\\\\n var args = [];\\\\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\\\\n var doError = (type === 'error');\\\\n\\\\n var events = this._events;\\\\n if (events !== undefined)\\\\n doError = (doError && events.error === undefined);\\\\n else if (!doError)\\\\n return false;\\\\n\\\\n // If there is no 'error' event listener then throw.\\\\n if (doError) {\\\\n var er;\\\\n if (args.length > 0)\\\\n er = args[0];\\\\n if (er instanceof Error) {\\\\n // Note: The comments on the `throw` lines are intentional, they show\\\\n // up in Node's output if this results in an unhandled exception.\\\\n throw er; // Unhandled 'error' event\\\\n }\\\\n // At least give some kind of context to the user\\\\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\\\\n err.context = er;\\\\n throw err; // Unhandled 'error' event\\\\n }\\\\n\\\\n var handler = events[type];\\\\n\\\\n if (handler === undefined)\\\\n return false;\\\\n\\\\n if (typeof handler === 'function') {\\\\n ReflectApply(handler, this, args);\\\\n } else {\\\\n var len = handler.length;\\\\n var listeners = arrayClone(handler, len);\\\\n for (var i = 0; i < len; ++i)\\\\n ReflectApply(listeners[i], this, args);\\\\n }\\\\n\\\\n return true;\\\\n};\\\\n\\\\nfunction _addListener(target, type, listener, prepend) {\\\\n var m;\\\\n var events;\\\\n var existing;\\\\n\\\\n checkListener(listener);\\\\n\\\\n events = target._events;\\\\n if (events === undefined) {\\\\n events = target._events = Object.create(null);\\\\n target._eventsCount = 0;\\\\n } else {\\\\n // To avoid recursion in the case that type === \\\\\\\"newListener\\\\\\\"! Before\\\\n // adding it to the listeners, first emit \\\\\\\"newListener\\\\\\\".\\\\n if (events.newListener !== undefined) {\\\\n target.emit('newListener', type,\\\\n listener.listener ? listener.listener : listener);\\\\n\\\\n // Re-assign `events` because a newListener handler could have caused the\\\\n // this._events to be assigned to a new object\\\\n events = target._events;\\\\n }\\\\n existing = events[type];\\\\n }\\\\n\\\\n if (existing === undefined) {\\\\n // Optimize the case of one listener. Don't need the extra array object.\\\\n existing = events[type] = listener;\\\\n ++target._eventsCount;\\\\n } else {\\\\n if (typeof existing === 'function') {\\\\n // Adding the second element, need to change to array.\\\\n existing = events[type] =\\\\n prepend ? [listener, existing] : [existing, listener];\\\\n // If we've already got an array, just append.\\\\n } else if (prepend) {\\\\n existing.unshift(listener);\\\\n } else {\\\\n existing.push(listener);\\\\n }\\\\n\\\\n // Check for listener leak\\\\n m = _getMaxListeners(target);\\\\n if (m > 0 && existing.length > m && !existing.warned) {\\\\n existing.warned = true;\\\\n // No error code for this since it is a Warning\\\\n // eslint-disable-next-line no-restricted-syntax\\\\n var w = new Error('Possible EventEmitter memory leak detected. ' +\\\\n existing.length + ' ' + String(type) + ' listeners ' +\\\\n 'added. Use emitter.setMaxListeners() to ' +\\\\n 'increase limit');\\\\n w.name = 'MaxListenersExceededWarning';\\\\n w.emitter = target;\\\\n w.type = type;\\\\n w.count = existing.length;\\\\n ProcessEmitWarning(w);\\\\n }\\\\n }\\\\n\\\\n return target;\\\\n}\\\\n\\\\nEventEmitter.prototype.addListener = function addListener(type, listener) {\\\\n return _addListener(this, type, listener, false);\\\\n};\\\\n\\\\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\\\\n\\\\nEventEmitter.prototype.prependListener =\\\\n function prependListener(type, listener) {\\\\n return _addListener(this, type, listener, true);\\\\n };\\\\n\\\\nfunction onceWrapper() {\\\\n if (!this.fired) {\\\\n this.target.removeListener(this.type, this.wrapFn);\\\\n this.fired = true;\\\\n if (arguments.length === 0)\\\\n return this.listener.call(this.target);\\\\n return this.listener.apply(this.target, arguments);\\\\n }\\\\n}\\\\n\\\\nfunction _onceWrap(target, type, listener) {\\\\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\\\\n var wrapped = onceWrapper.bind(state);\\\\n wrapped.listener = listener;\\\\n state.wrapFn = wrapped;\\\\n return wrapped;\\\\n}\\\\n\\\\nEventEmitter.prototype.once = function once(type, listener) {\\\\n checkListener(listener);\\\\n this.on(type, _onceWrap(this, type, listener));\\\\n return this;\\\\n};\\\\n\\\\nEventEmitter.prototype.prependOnceListener =\\\\n function prependOnceListener(type, listener) {\\\\n checkListener(listener);\\\\n this.prependListener(type, _onceWrap(this, type, listener));\\\\n return this;\\\\n };\\\\n\\\\n// Emits a 'removeListener' event if and only if the listener was removed.\\\\nEventEmitter.prototype.removeListener =\\\\n function removeListener(type, listener) {\\\\n var list, events, position, i, originalListener;\\\\n\\\\n checkListener(listener);\\\\n\\\\n events = this._events;\\\\n if (events === undefined)\\\\n return this;\\\\n\\\\n list = events[type];\\\\n if (list === undefined)\\\\n return this;\\\\n\\\\n if (list === listener || list.listener === listener) {\\\\n if (--this._eventsCount === 0)\\\\n this._events = Object.create(null);\\\\n else {\\\\n delete events[type];\\\\n if (events.removeListener)\\\\n this.emit('removeListener', type, list.listener || listener);\\\\n }\\\\n } else if (typeof list !== 'function') {\\\\n position = -1;\\\\n\\\\n for (i = list.length - 1; i >= 0; i--) {\\\\n if (list[i] === listener || list[i].listener === listener) {\\\\n originalListener = list[i].listener;\\\\n position = i;\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (position < 0)\\\\n return this;\\\\n\\\\n if (position === 0)\\\\n list.shift();\\\\n else {\\\\n spliceOne(list, position);\\\\n }\\\\n\\\\n if (list.length === 1)\\\\n events[type] = list[0];\\\\n\\\\n if (events.removeListener !== undefined)\\\\n this.emit('removeListener', type, originalListener || listener);\\\\n }\\\\n\\\\n return this;\\\\n };\\\\n\\\\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\\\\n\\\\nEventEmitter.prototype.removeAllListeners =\\\\n function removeAllListeners(type) {\\\\n var listeners, events, i;\\\\n\\\\n events = this._events;\\\\n if (events === undefined)\\\\n return this;\\\\n\\\\n // not listening for removeListener, no need to emit\\\\n if (events.removeListener === undefined) {\\\\n if (arguments.length === 0) {\\\\n this._events = Object.create(null);\\\\n this._eventsCount = 0;\\\\n } else if (events[type] !== undefined) {\\\\n if (--this._eventsCount === 0)\\\\n this._events = Object.create(null);\\\\n else\\\\n delete events[type];\\\\n }\\\\n return this;\\\\n }\\\\n\\\\n // emit removeListener for all listeners on all events\\\\n if (arguments.length === 0) {\\\\n var keys = Object.keys(events);\\\\n var key;\\\\n for (i = 0; i < keys.length; ++i) {\\\\n key = keys[i];\\\\n if (key === 'removeListener') continue;\\\\n this.removeAllListeners(key);\\\\n }\\\\n this.removeAllListeners('removeListener');\\\\n this._events = Object.create(null);\\\\n this._eventsCount = 0;\\\\n return this;\\\\n }\\\\n\\\\n listeners = events[type];\\\\n\\\\n if (typeof listeners === 'function') {\\\\n this.removeListener(type, listeners);\\\\n } else if (listeners !== undefined) {\\\\n // LIFO order\\\\n for (i = listeners.length - 1; i >= 0; i--) {\\\\n this.removeListener(type, listeners[i]);\\\\n }\\\\n }\\\\n\\\\n return this;\\\\n };\\\\n\\\\nfunction _listeners(target, type, unwrap) {\\\\n var events = target._events;\\\\n\\\\n if (events === undefined)\\\\n return [];\\\\n\\\\n var evlistener = events[type];\\\\n if (evlistener === undefined)\\\\n return [];\\\\n\\\\n if (typeof evlistener === 'function')\\\\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\\\\n\\\\n return unwrap ?\\\\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\\\\n}\\\\n\\\\nEventEmitter.prototype.listeners = function listeners(type) {\\\\n return _listeners(this, type, true);\\\\n};\\\\n\\\\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\\\\n return _listeners(this, type, false);\\\\n};\\\\n\\\\nEventEmitter.listenerCount = function(emitter, type) {\\\\n if (typeof emitter.listenerCount === 'function') {\\\\n return emitter.listenerCount(type);\\\\n } else {\\\\n return listenerCount.call(emitter, type);\\\\n }\\\\n};\\\\n\\\\nEventEmitter.prototype.listenerCount = listenerCount;\\\\nfunction listenerCount(type) {\\\\n var events = this._events;\\\\n\\\\n if (events !== undefined) {\\\\n var evlistener = events[type];\\\\n\\\\n if (typeof evlistener === 'function') {\\\\n return 1;\\\\n } else if (evlistener !== undefined) {\\\\n return evlistener.length;\\\\n }\\\\n }\\\\n\\\\n return 0;\\\\n}\\\\n\\\\nEventEmitter.prototype.eventNames = function eventNames() {\\\\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\\\\n};\\\\n\\\\nfunction arrayClone(arr, n) {\\\\n var copy = new Array(n);\\\\n for (var i = 0; i < n; ++i)\\\\n copy[i] = arr[i];\\\\n return copy;\\\\n}\\\\n\\\\nfunction spliceOne(list, index) {\\\\n for (; index + 1 < list.length; index++)\\\\n list[index] = list[index + 1];\\\\n list.pop();\\\\n}\\\\n\\\\nfunction unwrapListeners(arr) {\\\\n var ret = new Array(arr.length);\\\\n for (var i = 0; i < ret.length; ++i) {\\\\n ret[i] = arr[i].listener || arr[i];\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction once(emitter, name) {\\\\n return new Promise(function (resolve, reject) {\\\\n function errorListener(err) {\\\\n emitter.removeListener(name, resolver);\\\\n reject(err);\\\\n }\\\\n\\\\n function resolver() {\\\\n if (typeof emitter.removeListener === 'function') {\\\\n emitter.removeListener('error', errorListener);\\\\n }\\\\n resolve([].slice.call(arguments));\\\\n };\\\\n\\\\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\\\\n if (name !== 'error') {\\\\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\\\\n }\\\\n });\\\\n}\\\\n\\\\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\\\\n if (typeof emitter.on === 'function') {\\\\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\\\\n }\\\\n}\\\\n\\\\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\\\\n if (typeof emitter.on === 'function') {\\\\n if (flags.once) {\\\\n emitter.once(name, listener);\\\\n } else {\\\\n emitter.on(name, listener);\\\\n }\\\\n } else if (typeof emitter.addEventListener === 'function') {\\\\n // EventTarget does not have `error` event semantics like Node\\\\n // EventEmitters, we do not listen for `error` events here.\\\\n emitter.addEventListener(name, function wrapListener(arg) {\\\\n // IE does not have builtin `{ once: true }` support so we\\\\n // have to do it manually.\\\\n if (flags.once) {\\\\n emitter.removeEventListener(name, wrapListener);\\\\n }\\\\n listener(arg);\\\\n });\\\\n } else {\\\\n throw new TypeError('The \\\\\\\"emitter\\\\\\\" argument must be of type EventEmitter. Received type ' + typeof emitter);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/events/events.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/node_modules/punycode/punycode.js\\\":\\n/*!**************************************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/node_modules/punycode/punycode.js ***!\\n \\\\**************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\\\\n;(function(root) {\\\\n\\\\n\\\\t/** Detect free variables */\\\\n\\\\tvar freeExports = true && exports &&\\\\n\\\\t\\\\t!exports.nodeType && exports;\\\\n\\\\tvar freeModule = true && module &&\\\\n\\\\t\\\\t!module.nodeType && module;\\\\n\\\\tvar freeGlobal = typeof global == 'object' && global;\\\\n\\\\tif (\\\\n\\\\t\\\\tfreeGlobal.global === freeGlobal ||\\\\n\\\\t\\\\tfreeGlobal.window === freeGlobal ||\\\\n\\\\t\\\\tfreeGlobal.self === freeGlobal\\\\n\\\\t) {\\\\n\\\\t\\\\troot = freeGlobal;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * The `punycode` object.\\\\n\\\\t * @name punycode\\\\n\\\\t * @type Object\\\\n\\\\t */\\\\n\\\\tvar punycode,\\\\n\\\\n\\\\t/** Highest positive signed 32-bit float value */\\\\n\\\\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\\\\n\\\\n\\\\t/** Bootstring parameters */\\\\n\\\\tbase = 36,\\\\n\\\\ttMin = 1,\\\\n\\\\ttMax = 26,\\\\n\\\\tskew = 38,\\\\n\\\\tdamp = 700,\\\\n\\\\tinitialBias = 72,\\\\n\\\\tinitialN = 128, // 0x80\\\\n\\\\tdelimiter = '-', // '\\\\\\\\x2D'\\\\n\\\\n\\\\t/** Regular expressions */\\\\n\\\\tregexPunycode = /^xn--/,\\\\n\\\\tregexNonASCII = /[^\\\\\\\\x20-\\\\\\\\x7E]/, // unprintable ASCII chars + non-ASCII chars\\\\n\\\\tregexSeparators = /[\\\\\\\\x2E\\\\\\\\u3002\\\\\\\\uFF0E\\\\\\\\uFF61]/g, // RFC 3490 separators\\\\n\\\\n\\\\t/** Error messages */\\\\n\\\\terrors = {\\\\n\\\\t\\\\t'overflow': 'Overflow: input needs wider integers to process',\\\\n\\\\t\\\\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\\\\n\\\\t\\\\t'invalid-input': 'Invalid input'\\\\n\\\\t},\\\\n\\\\n\\\\t/** Convenience shortcuts */\\\\n\\\\tbaseMinusTMin = base - tMin,\\\\n\\\\tfloor = Math.floor,\\\\n\\\\tstringFromCharCode = String.fromCharCode,\\\\n\\\\n\\\\t/** Temporary variable */\\\\n\\\\tkey;\\\\n\\\\n\\\\t/*--------------------------------------------------------------------------*/\\\\n\\\\n\\\\t/**\\\\n\\\\t * A generic error utility function.\\\\n\\\\t * @private\\\\n\\\\t * @param {String} type The error type.\\\\n\\\\t * @returns {Error} Throws a `RangeError` with the applicable error message.\\\\n\\\\t */\\\\n\\\\tfunction error(type) {\\\\n\\\\t\\\\tthrow new RangeError(errors[type]);\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * A generic `Array#map` utility function.\\\\n\\\\t * @private\\\\n\\\\t * @param {Array} array The array to iterate over.\\\\n\\\\t * @param {Function} callback The function that gets called for every array\\\\n\\\\t * item.\\\\n\\\\t * @returns {Array} A new array of values returned by the callback function.\\\\n\\\\t */\\\\n\\\\tfunction map(array, fn) {\\\\n\\\\t\\\\tvar length = array.length;\\\\n\\\\t\\\\tvar result = [];\\\\n\\\\t\\\\twhile (length--) {\\\\n\\\\t\\\\t\\\\tresult[length] = fn(array[length]);\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn result;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * A simple `Array#map`-like wrapper to work with domain name strings or email\\\\n\\\\t * addresses.\\\\n\\\\t * @private\\\\n\\\\t * @param {String} domain The domain name or email address.\\\\n\\\\t * @param {Function} callback The function that gets called for every\\\\n\\\\t * character.\\\\n\\\\t * @returns {Array} A new string of characters returned by the callback\\\\n\\\\t * function.\\\\n\\\\t */\\\\n\\\\tfunction mapDomain(string, fn) {\\\\n\\\\t\\\\tvar parts = string.split('@');\\\\n\\\\t\\\\tvar result = '';\\\\n\\\\t\\\\tif (parts.length > 1) {\\\\n\\\\t\\\\t\\\\t// In email addresses, only the domain name should be punycoded. Leave\\\\n\\\\t\\\\t\\\\t// the local part (i.e. everything up to `@`) intact.\\\\n\\\\t\\\\t\\\\tresult = parts[0] + '@';\\\\n\\\\t\\\\t\\\\tstring = parts[1];\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\t// Avoid `split(regex)` for IE8 compatibility. See #17.\\\\n\\\\t\\\\tstring = string.replace(regexSeparators, '\\\\\\\\x2E');\\\\n\\\\t\\\\tvar labels = string.split('.');\\\\n\\\\t\\\\tvar encoded = map(labels, fn).join('.');\\\\n\\\\t\\\\treturn result + encoded;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Creates an array containing the numeric code points of each Unicode\\\\n\\\\t * character in the string. While JavaScript uses UCS-2 internally,\\\\n\\\\t * this function will convert a pair of surrogate halves (each of which\\\\n\\\\t * UCS-2 exposes as separate characters) into a single code point,\\\\n\\\\t * matching UTF-16.\\\\n\\\\t * @see `punycode.ucs2.encode`\\\\n\\\\t * @see \\\\n\\\\t * @memberOf punycode.ucs2\\\\n\\\\t * @name decode\\\\n\\\\t * @param {String} string The Unicode input string (UCS-2).\\\\n\\\\t * @returns {Array} The new array of code points.\\\\n\\\\t */\\\\n\\\\tfunction ucs2decode(string) {\\\\n\\\\t\\\\tvar output = [],\\\\n\\\\t\\\\t counter = 0,\\\\n\\\\t\\\\t length = string.length,\\\\n\\\\t\\\\t value,\\\\n\\\\t\\\\t extra;\\\\n\\\\t\\\\twhile (counter < length) {\\\\n\\\\t\\\\t\\\\tvalue = string.charCodeAt(counter++);\\\\n\\\\t\\\\t\\\\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\\\\n\\\\t\\\\t\\\\t\\\\t// high surrogate, and there is a next character\\\\n\\\\t\\\\t\\\\t\\\\textra = string.charCodeAt(counter++);\\\\n\\\\t\\\\t\\\\t\\\\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\\\\n\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\\\\n\\\\t\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// unmatched surrogate; only append this code unit, in case the next\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// code unit is the high surrogate of a surrogate pair\\\\n\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(value);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tcounter--;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\toutput.push(value);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn output;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Creates a string based on an array of numeric code points.\\\\n\\\\t * @see `punycode.ucs2.decode`\\\\n\\\\t * @memberOf punycode.ucs2\\\\n\\\\t * @name encode\\\\n\\\\t * @param {Array} codePoints The array of numeric code points.\\\\n\\\\t * @returns {String} The new Unicode string (UCS-2).\\\\n\\\\t */\\\\n\\\\tfunction ucs2encode(array) {\\\\n\\\\t\\\\treturn map(array, function(value) {\\\\n\\\\t\\\\t\\\\tvar output = '';\\\\n\\\\t\\\\t\\\\tif (value > 0xFFFF) {\\\\n\\\\t\\\\t\\\\t\\\\tvalue -= 0x10000;\\\\n\\\\t\\\\t\\\\t\\\\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\\\\n\\\\t\\\\t\\\\t\\\\tvalue = 0xDC00 | value & 0x3FF;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\toutput += stringFromCharCode(value);\\\\n\\\\t\\\\t\\\\treturn output;\\\\n\\\\t\\\\t}).join('');\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a basic code point into a digit/integer.\\\\n\\\\t * @see `digitToBasic()`\\\\n\\\\t * @private\\\\n\\\\t * @param {Number} codePoint The basic numeric code point value.\\\\n\\\\t * @returns {Number} The numeric value of a basic code point (for use in\\\\n\\\\t * representing integers) in the range `0` to `base - 1`, or `base` if\\\\n\\\\t * the code point does not represent a value.\\\\n\\\\t */\\\\n\\\\tfunction basicToDigit(codePoint) {\\\\n\\\\t\\\\tif (codePoint - 48 < 10) {\\\\n\\\\t\\\\t\\\\treturn codePoint - 22;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (codePoint - 65 < 26) {\\\\n\\\\t\\\\t\\\\treturn codePoint - 65;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tif (codePoint - 97 < 26) {\\\\n\\\\t\\\\t\\\\treturn codePoint - 97;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn base;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a digit/integer into a basic code point.\\\\n\\\\t * @see `basicToDigit()`\\\\n\\\\t * @private\\\\n\\\\t * @param {Number} digit The numeric value of a basic code point.\\\\n\\\\t * @returns {Number} The basic code point whose value (when used for\\\\n\\\\t * representing integers) is `digit`, which needs to be in the range\\\\n\\\\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\\\\n\\\\t * used; else, the lowercase form is used. The behavior is undefined\\\\n\\\\t * if `flag` is non-zero and `digit` has no uppercase form.\\\\n\\\\t */\\\\n\\\\tfunction digitToBasic(digit, flag) {\\\\n\\\\t\\\\t// 0..25 map to ASCII a..z or A..Z\\\\n\\\\t\\\\t// 26..35 map to ASCII 0..9\\\\n\\\\t\\\\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Bias adaptation function as per section 3.4 of RFC 3492.\\\\n\\\\t * https://tools.ietf.org/html/rfc3492#section-3.4\\\\n\\\\t * @private\\\\n\\\\t */\\\\n\\\\tfunction adapt(delta, numPoints, firstTime) {\\\\n\\\\t\\\\tvar k = 0;\\\\n\\\\t\\\\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\\\\n\\\\t\\\\tdelta += floor(delta / numPoints);\\\\n\\\\t\\\\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\\\\n\\\\t\\\\t\\\\tdelta = floor(delta / baseMinusTMin);\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\\\\n\\\\t * symbols.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The Punycode string of ASCII-only symbols.\\\\n\\\\t * @returns {String} The resulting string of Unicode symbols.\\\\n\\\\t */\\\\n\\\\tfunction decode(input) {\\\\n\\\\t\\\\t// Don't use UCS-2\\\\n\\\\t\\\\tvar output = [],\\\\n\\\\t\\\\t inputLength = input.length,\\\\n\\\\t\\\\t out,\\\\n\\\\t\\\\t i = 0,\\\\n\\\\t\\\\t n = initialN,\\\\n\\\\t\\\\t bias = initialBias,\\\\n\\\\t\\\\t basic,\\\\n\\\\t\\\\t j,\\\\n\\\\t\\\\t index,\\\\n\\\\t\\\\t oldi,\\\\n\\\\t\\\\t w,\\\\n\\\\t\\\\t k,\\\\n\\\\t\\\\t digit,\\\\n\\\\t\\\\t t,\\\\n\\\\t\\\\t /** Cached calculation results */\\\\n\\\\t\\\\t baseMinusT;\\\\n\\\\n\\\\t\\\\t// Handle the basic code points: let `basic` be the number of input code\\\\n\\\\t\\\\t// points before the last delimiter, or `0` if there is none, then copy\\\\n\\\\t\\\\t// the first basic code points to the output.\\\\n\\\\n\\\\t\\\\tbasic = input.lastIndexOf(delimiter);\\\\n\\\\t\\\\tif (basic < 0) {\\\\n\\\\t\\\\t\\\\tbasic = 0;\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tfor (j = 0; j < basic; ++j) {\\\\n\\\\t\\\\t\\\\t// if it's not a basic code point\\\\n\\\\t\\\\t\\\\tif (input.charCodeAt(j) >= 0x80) {\\\\n\\\\t\\\\t\\\\t\\\\terror('not-basic');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\toutput.push(input.charCodeAt(j));\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t// Main decoding loop: start just after the last delimiter if any basic code\\\\n\\\\t\\\\t// points were copied; start at the beginning otherwise.\\\\n\\\\n\\\\t\\\\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\\\\n\\\\n\\\\t\\\\t\\\\t// `index` is the index of the next character to be consumed.\\\\n\\\\t\\\\t\\\\t// Decode a generalized variable-length integer into `delta`,\\\\n\\\\t\\\\t\\\\t// which gets added to `i`. The overflow checking is easier\\\\n\\\\t\\\\t\\\\t// if we increase `i` as we go, then subtract off its starting\\\\n\\\\t\\\\t\\\\t// value at the end to obtain `delta`.\\\\n\\\\t\\\\t\\\\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (index >= inputLength) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('invalid-input');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tdigit = basicToDigit(input.charCodeAt(index++));\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (digit >= base || digit > floor((maxInt - i) / w)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\ti += digit * w;\\\\n\\\\t\\\\t\\\\t\\\\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (digit < t) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tbaseMinusT = base - t;\\\\n\\\\t\\\\t\\\\t\\\\tif (w > floor(maxInt / baseMinusT)) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tw *= baseMinusT;\\\\n\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tout = output.length + 1;\\\\n\\\\t\\\\t\\\\tbias = adapt(i - oldi, out, oldi == 0);\\\\n\\\\n\\\\t\\\\t\\\\t// `i` was supposed to wrap around from `out` to `0`,\\\\n\\\\t\\\\t\\\\t// incrementing `n` each time, so we'll fix that now:\\\\n\\\\t\\\\t\\\\tif (floor(i / out) > maxInt - n) {\\\\n\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tn += floor(i / out);\\\\n\\\\t\\\\t\\\\ti %= out;\\\\n\\\\n\\\\t\\\\t\\\\t// Insert `n` at position `i` of the output\\\\n\\\\t\\\\t\\\\toutput.splice(i++, 0, n);\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn ucs2encode(output);\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\\\\n\\\\t * Punycode string of ASCII-only symbols.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The string of Unicode symbols.\\\\n\\\\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\\\\n\\\\t */\\\\n\\\\tfunction encode(input) {\\\\n\\\\t\\\\tvar n,\\\\n\\\\t\\\\t delta,\\\\n\\\\t\\\\t handledCPCount,\\\\n\\\\t\\\\t basicLength,\\\\n\\\\t\\\\t bias,\\\\n\\\\t\\\\t j,\\\\n\\\\t\\\\t m,\\\\n\\\\t\\\\t q,\\\\n\\\\t\\\\t k,\\\\n\\\\t\\\\t t,\\\\n\\\\t\\\\t currentValue,\\\\n\\\\t\\\\t output = [],\\\\n\\\\t\\\\t /** `inputLength` will hold the number of code points in `input`. */\\\\n\\\\t\\\\t inputLength,\\\\n\\\\t\\\\t /** Cached calculation results */\\\\n\\\\t\\\\t handledCPCountPlusOne,\\\\n\\\\t\\\\t baseMinusT,\\\\n\\\\t\\\\t qMinusT;\\\\n\\\\n\\\\t\\\\t// Convert the input in UCS-2 to Unicode\\\\n\\\\t\\\\tinput = ucs2decode(input);\\\\n\\\\n\\\\t\\\\t// Cache the length\\\\n\\\\t\\\\tinputLength = input.length;\\\\n\\\\n\\\\t\\\\t// Initialize the state\\\\n\\\\t\\\\tn = initialN;\\\\n\\\\t\\\\tdelta = 0;\\\\n\\\\t\\\\tbias = initialBias;\\\\n\\\\n\\\\t\\\\t// Handle the basic code points\\\\n\\\\t\\\\tfor (j = 0; j < inputLength; ++j) {\\\\n\\\\t\\\\t\\\\tcurrentValue = input[j];\\\\n\\\\t\\\\t\\\\tif (currentValue < 0x80) {\\\\n\\\\t\\\\t\\\\t\\\\toutput.push(stringFromCharCode(currentValue));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\thandledCPCount = basicLength = output.length;\\\\n\\\\n\\\\t\\\\t// `handledCPCount` is the number of code points that have been handled;\\\\n\\\\t\\\\t// `basicLength` is the number of basic code points.\\\\n\\\\n\\\\t\\\\t// Finish the basic string - if it is not empty - with a delimiter\\\\n\\\\t\\\\tif (basicLength) {\\\\n\\\\t\\\\t\\\\toutput.push(delimiter);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t// Main encoding loop:\\\\n\\\\t\\\\twhile (handledCPCount < inputLength) {\\\\n\\\\n\\\\t\\\\t\\\\t// All non-basic code points < n have been handled already. Find the next\\\\n\\\\t\\\\t\\\\t// larger one:\\\\n\\\\t\\\\t\\\\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\\\\n\\\\t\\\\t\\\\t\\\\tcurrentValue = input[j];\\\\n\\\\t\\\\t\\\\t\\\\tif (currentValue >= n && currentValue < m) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tm = currentValue;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t// Increase `delta` enough to advance the decoder's state to ,\\\\n\\\\t\\\\t\\\\t// but guard against overflow\\\\n\\\\t\\\\t\\\\thandledCPCountPlusOne = handledCPCount + 1;\\\\n\\\\t\\\\t\\\\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\\\\n\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tdelta += (m - n) * handledCPCountPlusOne;\\\\n\\\\t\\\\t\\\\tn = m;\\\\n\\\\n\\\\t\\\\t\\\\tfor (j = 0; j < inputLength; ++j) {\\\\n\\\\t\\\\t\\\\t\\\\tcurrentValue = input[j];\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (currentValue < n && ++delta > maxInt) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\terror('overflow');\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (currentValue == n) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Represent delta as a generalized variable-length integer\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tfor (q = delta, k = base; /* no condition */; k += base) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tif (q < t) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tbreak;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tqMinusT = q - t;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tbaseMinusT = base - t;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t\\\\tq = floor(qMinusT / baseMinusT);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdelta = 0;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t++handledCPCount;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t++delta;\\\\n\\\\t\\\\t\\\\t++n;\\\\n\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn output.join('');\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a Punycode string representing a domain name or an email address\\\\n\\\\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\\\\n\\\\t * it doesn't matter if you call it on a string that has already been\\\\n\\\\t * converted to Unicode.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The Punycoded domain name or email address to\\\\n\\\\t * convert to Unicode.\\\\n\\\\t * @returns {String} The Unicode representation of the given Punycode\\\\n\\\\t * string.\\\\n\\\\t */\\\\n\\\\tfunction toUnicode(input) {\\\\n\\\\t\\\\treturn mapDomain(input, function(string) {\\\\n\\\\t\\\\t\\\\treturn regexPunycode.test(string)\\\\n\\\\t\\\\t\\\\t\\\\t? decode(string.slice(4).toLowerCase())\\\\n\\\\t\\\\t\\\\t\\\\t: string;\\\\n\\\\t\\\\t});\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t * Converts a Unicode string representing a domain name or an email address to\\\\n\\\\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\\\\n\\\\t * i.e. it doesn't matter if you call it with a domain that's already in\\\\n\\\\t * ASCII.\\\\n\\\\t * @memberOf punycode\\\\n\\\\t * @param {String} input The domain name or email address to convert, as a\\\\n\\\\t * Unicode string.\\\\n\\\\t * @returns {String} The Punycode representation of the given domain name or\\\\n\\\\t * email address.\\\\n\\\\t */\\\\n\\\\tfunction toASCII(input) {\\\\n\\\\t\\\\treturn mapDomain(input, function(string) {\\\\n\\\\t\\\\t\\\\treturn regexNonASCII.test(string)\\\\n\\\\t\\\\t\\\\t\\\\t? 'xn--' + encode(string)\\\\n\\\\t\\\\t\\\\t\\\\t: string;\\\\n\\\\t\\\\t});\\\\n\\\\t}\\\\n\\\\n\\\\t/*--------------------------------------------------------------------------*/\\\\n\\\\n\\\\t/** Define the public API */\\\\n\\\\tpunycode = {\\\\n\\\\t\\\\t/**\\\\n\\\\t\\\\t * A string representing the current Punycode.js version number.\\\\n\\\\t\\\\t * @memberOf punycode\\\\n\\\\t\\\\t * @type String\\\\n\\\\t\\\\t */\\\\n\\\\t\\\\t'version': '1.4.1',\\\\n\\\\t\\\\t/**\\\\n\\\\t\\\\t * An object of methods to convert from JavaScript's internal character\\\\n\\\\t\\\\t * representation (UCS-2) to Unicode code points, and back.\\\\n\\\\t\\\\t * @see \\\\n\\\\t\\\\t * @memberOf punycode\\\\n\\\\t\\\\t * @type Object\\\\n\\\\t\\\\t */\\\\n\\\\t\\\\t'ucs2': {\\\\n\\\\t\\\\t\\\\t'decode': ucs2decode,\\\\n\\\\t\\\\t\\\\t'encode': ucs2encode\\\\n\\\\t\\\\t},\\\\n\\\\t\\\\t'decode': decode,\\\\n\\\\t\\\\t'encode': encode,\\\\n\\\\t\\\\t'toASCII': toASCII,\\\\n\\\\t\\\\t'toUnicode': toUnicode\\\\n\\\\t};\\\\n\\\\n\\\\t/** Expose `punycode` */\\\\n\\\\t// Some AMD build optimizers, like r.js, check for specific condition patterns\\\\n\\\\t// like the following:\\\\n\\\\tif (\\\\n\\\\t\\\\ttrue\\\\n\\\\t) {\\\\n\\\\t\\\\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\\\\n\\\\t\\\\t\\\\treturn punycode;\\\\n\\\\t\\\\t}).call(exports, __webpack_require__, exports, module),\\\\n\\\\t\\\\t\\\\t\\\\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\\\\n\\\\t} else {}\\\\n\\\\n}(this));\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ \\\\\\\"./node_modules/webpack/buildin/module.js\\\\\\\")(module), __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/punycode/punycode.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/node-libs-browser/node_modules/timers-browserify/main.js\\\":\\n/*!*******************************************************************************!*\\\\\\n !*** ./node_modules/node-libs-browser/node_modules/timers-browserify/main.js ***!\\n \\\\*******************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global) {var scope = (typeof global !== \\\\\\\"undefined\\\\\\\" && global) ||\\\\n (typeof self !== \\\\\\\"undefined\\\\\\\" && self) ||\\\\n window;\\\\nvar apply = Function.prototype.apply;\\\\n\\\\n// DOM APIs, for completeness\\\\n\\\\nexports.setTimeout = function() {\\\\n return new Timeout(apply.call(setTimeout, scope, arguments), clearTimeout);\\\\n};\\\\nexports.setInterval = function() {\\\\n return new Timeout(apply.call(setInterval, scope, arguments), clearInterval);\\\\n};\\\\nexports.clearTimeout =\\\\nexports.clearInterval = function(timeout) {\\\\n if (timeout) {\\\\n timeout.close();\\\\n }\\\\n};\\\\n\\\\nfunction Timeout(id, clearFn) {\\\\n this._id = id;\\\\n this._clearFn = clearFn;\\\\n}\\\\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\\\\nTimeout.prototype.close = function() {\\\\n this._clearFn.call(scope, this._id);\\\\n};\\\\n\\\\n// Does not start the time, just sets up the members needed.\\\\nexports.enroll = function(item, msecs) {\\\\n clearTimeout(item._idleTimeoutId);\\\\n item._idleTimeout = msecs;\\\\n};\\\\n\\\\nexports.unenroll = function(item) {\\\\n clearTimeout(item._idleTimeoutId);\\\\n item._idleTimeout = -1;\\\\n};\\\\n\\\\nexports._unrefActive = exports.active = function(item) {\\\\n clearTimeout(item._idleTimeoutId);\\\\n\\\\n var msecs = item._idleTimeout;\\\\n if (msecs >= 0) {\\\\n item._idleTimeoutId = setTimeout(function onTimeout() {\\\\n if (item._onTimeout)\\\\n item._onTimeout();\\\\n }, msecs);\\\\n }\\\\n};\\\\n\\\\n// setimmediate attaches itself to the global object\\\\n__webpack_require__(/*! setimmediate */ \\\\\\\"./node_modules/setimmediate/setImmediate.js\\\\\\\");\\\\n// On some exotic environments, it's not clear which object `setimmediate` was\\\\n// able to install onto. Search each possibility in the same order as the\\\\n// `setimmediate` library.\\\\nexports.setImmediate = (typeof self !== \\\\\\\"undefined\\\\\\\" && self.setImmediate) ||\\\\n (typeof global !== \\\\\\\"undefined\\\\\\\" && global.setImmediate) ||\\\\n (this && this.setImmediate);\\\\nexports.clearImmediate = (typeof self !== \\\\\\\"undefined\\\\\\\" && self.clearImmediate) ||\\\\n (typeof global !== \\\\\\\"undefined\\\\\\\" && global.clearImmediate) ||\\\\n (this && this.clearImmediate);\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/node-libs-browser/node_modules/timers-browserify/main.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_scheduler.js ***!\\n \\\\************************************************************/\\n/*! exports provided: AsyncSerialScheduler */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"AsyncSerialScheduler\\\\\\\", function() { return AsyncSerialScheduler; });\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nclass AsyncSerialScheduler {\\\\n constructor(observer) {\\\\n this._baseObserver = observer;\\\\n this._pendingPromises = new Set();\\\\n }\\\\n complete() {\\\\n Promise.all(this._pendingPromises)\\\\n .then(() => this._baseObserver.complete())\\\\n .catch(error => this._baseObserver.error(error));\\\\n }\\\\n error(error) {\\\\n this._baseObserver.error(error);\\\\n }\\\\n schedule(task) {\\\\n const prevPromisesCompletion = Promise.all(this._pendingPromises);\\\\n const values = [];\\\\n const next = (value) => values.push(value);\\\\n const promise = Promise.resolve()\\\\n .then(() => __awaiter(this, void 0, void 0, function* () {\\\\n yield prevPromisesCompletion;\\\\n yield task(next);\\\\n this._pendingPromises.delete(promise);\\\\n for (const value of values) {\\\\n this._baseObserver.next(value);\\\\n }\\\\n }))\\\\n .catch(error => {\\\\n this._pendingPromises.delete(promise);\\\\n this._baseObserver.error(error);\\\\n });\\\\n this._pendingPromises.add(promise);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_scheduler.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_symbols.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: hasSymbols, hasSymbol, getSymbol, registerObservableSymbol */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbols\\\\\\\", function() { return hasSymbols; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbol\\\\\\\", function() { return hasSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getSymbol\\\\\\\", function() { return getSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerObservableSymbol\\\\\\\", function() { return registerObservableSymbol; });\\\\nconst hasSymbols = () => typeof Symbol === \\\\\\\"function\\\\\\\";\\\\nconst hasSymbol = (name) => hasSymbols() && Boolean(Symbol[name]);\\\\nconst getSymbol = (name) => hasSymbol(name) ? Symbol[name] : \\\\\\\"@@\\\\\\\" + name;\\\\nfunction registerObservableSymbol() {\\\\n if (hasSymbols() && !hasSymbol(\\\\\\\"observable\\\\\\\")) {\\\\n Symbol.observable = Symbol(\\\\\\\"observable\\\\\\\");\\\\n }\\\\n}\\\\nif (!hasSymbol(\\\\\\\"asyncIterator\\\\\\\")) {\\\\n Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for(\\\\\\\"Symbol.asyncIterator\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_util.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_util.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: isAsyncIterator, isIterator */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isAsyncIterator\\\\\\\", function() { return isAsyncIterator; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isIterator\\\\\\\", function() { return isIterator; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/// \\\\n\\\\nfunction isAsyncIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"asyncIterator\\\\\\\") && thing[Symbol.asyncIterator];\\\\n}\\\\nfunction isIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\") && thing[Symbol.iterator];\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/filter.js\\\":\\n/*!********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/filter.js ***!\\n \\\\********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Filters the values emitted by another observable.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction filter(test) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n if (yield test(input)) {\\\\n next(input);\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (filter);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/filter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/flatMap.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_util */ \\\\\\\"./node_modules/observable-fns/dist.esm/_util.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nvar __asyncValues = (undefined && undefined.__asyncValues) || function (o) {\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\\"Symbol.asyncIterator is not defined.\\\\\\\");\\\\n var m = o[Symbol.asyncIterator], i;\\\\n return m ? m.call(o) : (o = typeof __values === \\\\\\\"function\\\\\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\\\\\"next\\\\\\\"), verb(\\\\\\\"throw\\\\\\\"), verb(\\\\\\\"return\\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable. In contrast to `map()`\\\\n * the `mapper` function returns an array of values that will be emitted\\\\n * separately.\\\\n * Use `flatMap()` to map input values to zero, one or multiple output\\\\n * values. To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction flatMap(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n var e_1, _a;\\\\n const mapped = yield mapper(input);\\\\n if (Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isIterator\\\\\\\"])(mapped) || Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isAsyncIterator\\\\\\\"])(mapped)) {\\\\n try {\\\\n for (var mapped_1 = __asyncValues(mapped), mapped_1_1; mapped_1_1 = yield mapped_1.next(), !mapped_1_1.done;) {\\\\n const element = mapped_1_1.value;\\\\n next(element);\\\\n }\\\\n }\\\\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\\\\n finally {\\\\n try {\\\\n if (mapped_1_1 && !mapped_1_1.done && (_a = mapped_1.return)) yield _a.call(mapped_1);\\\\n }\\\\n finally { if (e_1) throw e_1.error; }\\\\n }\\\\n }\\\\n else {\\\\n mapped.map(output => next(output));\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (flatMap);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/flatMap.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: filter, flatMap, interval, map, merge, multicast, Observable, scan, Subject, unsubscribe */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ \\\\\\\"./node_modules/observable-fns/dist.esm/filter.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"filter\\\\\\\", function() { return _filter__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _flatMap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./flatMap */ \\\\\\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"flatMap\\\\\\\", function() { return _flatMap__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _interval__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./interval */ \\\\\\\"./node_modules/observable-fns/dist.esm/interval.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"interval\\\\\\\", function() { return _interval__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \\\\\\\"./node_modules/observable-fns/dist.esm/map.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"map\\\\\\\", function() { return _map__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./merge */ \\\\\\\"./node_modules/observable-fns/dist.esm/merge.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"merge\\\\\\\", function() { return _merge__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./multicast */ \\\\\\\"./node_modules/observable-fns/dist.esm/multicast.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"multicast\\\\\\\", function() { return _multicast__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return _observable__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scan */ \\\\\\\"./node_modules/observable-fns/dist.esm/scan.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"scan\\\\\\\", function() { return _scan__WEBPACK_IMPORTED_MODULE_7__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subject\\\\\\\", function() { return _subject__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"unsubscribe\\\\\\\", function() { return _unsubscribe__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/interval.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/interval.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return interval; });\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n/**\\\\n * Creates an observable that yields a new value every `period` milliseconds.\\\\n * The first value emitted is 0, then 1, 2, etc. The first value is not emitted\\\\n * immediately, but after the first interval.\\\\n */\\\\nfunction interval(period) {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let counter = 0;\\\\n const handle = setInterval(() => {\\\\n observer.next(counter++);\\\\n }, period);\\\\n return () => clearInterval(handle);\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/interval.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/map.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/map.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable to different values.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction map(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const mapped = yield mapper(input);\\\\n next(mapped);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (map);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/map.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/merge.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/merge.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\nfunction merge(...observables) {\\\\n if (observables.length === 0) {\\\\n return _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"].from([]);\\\\n }\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let completed = 0;\\\\n const subscriptions = observables.map(input => {\\\\n return input.subscribe({\\\\n error(error) {\\\\n observer.error(error);\\\\n unsubscribeAll();\\\\n },\\\\n next(value) {\\\\n observer.next(value);\\\\n },\\\\n complete() {\\\\n if (++completed === observables.length) {\\\\n observer.complete();\\\\n unsubscribeAll();\\\\n }\\\\n }\\\\n });\\\\n });\\\\n const unsubscribeAll = () => {\\\\n subscriptions.forEach(subscription => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"])(subscription));\\\\n };\\\\n return unsubscribeAll;\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (merge);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/merge.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/multicast.js\\\":\\n/*!***********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/multicast.js ***!\\n \\\\***********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n// TODO: Subject already creates additional observables \\\\\\\"under the hood\\\\\\\",\\\\n// now we introduce even more. A true native MulticastObservable\\\\n// would be preferable.\\\\n/**\\\\n * Takes a \\\\\\\"cold\\\\\\\" observable and returns a wrapping \\\\\\\"hot\\\\\\\" observable that\\\\n * proxies the input observable's values and errors.\\\\n *\\\\n * An observable is called \\\\\\\"cold\\\\\\\" when its initialization function is run\\\\n * for each new subscriber. This is how observable-fns's `Observable`\\\\n * implementation works.\\\\n *\\\\n * A hot observable is an observable where new subscribers subscribe to\\\\n * the upcoming values of an already-initialiazed observable.\\\\n *\\\\n * The multicast observable will lazily subscribe to the source observable\\\\n * once it has its first own subscriber and will unsubscribe from the\\\\n * source observable when its last own subscriber unsubscribed.\\\\n */\\\\nfunction multicast(coldObservable) {\\\\n const subject = new _subject__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n let sourceSubscription;\\\\n let subscriberCount = 0;\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](observer => {\\\\n // Init source subscription lazily\\\\n if (!sourceSubscription) {\\\\n sourceSubscription = coldObservable.subscribe(subject);\\\\n }\\\\n // Pipe all events from `subject` into this observable\\\\n const subscription = subject.subscribe(observer);\\\\n subscriberCount++;\\\\n return () => {\\\\n subscriberCount--;\\\\n subscription.unsubscribe();\\\\n // Close source subscription once last subscriber has unsubscribed\\\\n if (subscriberCount === 0) {\\\\n Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(sourceSubscription);\\\\n sourceSubscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (multicast);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/multicast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/observable.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/observable.js ***!\\n \\\\************************************************************/\\n/*! exports provided: Subscription, SubscriptionObserver, Observable, default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subscription\\\\\\\", function() { return Subscription; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"SubscriptionObserver\\\\\\\", function() { return SubscriptionObserver; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return Observable; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/symbols.js\\\\\\\");\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/**\\\\n * Based on \\\\n * At commit: f63849a8c60af5d514efc8e9d6138d8273c49ad6\\\\n */\\\\n\\\\n\\\\nconst SymbolIterator = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\");\\\\nconst SymbolObservable = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"observable\\\\\\\");\\\\nconst SymbolSpecies = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"species\\\\\\\");\\\\n// === Abstract Operations ===\\\\nfunction getMethod(obj, key) {\\\\n const value = obj[key];\\\\n if (value == null) {\\\\n return undefined;\\\\n }\\\\n if (typeof value !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(value + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n return value;\\\\n}\\\\nfunction getSpecies(obj) {\\\\n let ctor = obj.constructor;\\\\n if (ctor !== undefined) {\\\\n ctor = ctor[SymbolSpecies];\\\\n if (ctor === null) {\\\\n ctor = undefined;\\\\n }\\\\n }\\\\n return ctor !== undefined ? ctor : Observable;\\\\n}\\\\nfunction isObservable(x) {\\\\n return x instanceof Observable; // SPEC: Brand check\\\\n}\\\\nfunction hostReportError(error) {\\\\n if (hostReportError.log) {\\\\n hostReportError.log(error);\\\\n }\\\\n else {\\\\n setTimeout(() => { throw error; }, 0);\\\\n }\\\\n}\\\\nfunction enqueue(fn) {\\\\n Promise.resolve().then(() => {\\\\n try {\\\\n fn();\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n });\\\\n}\\\\nfunction cleanupSubscription(subscription) {\\\\n const cleanup = subscription._cleanup;\\\\n if (cleanup === undefined) {\\\\n return;\\\\n }\\\\n subscription._cleanup = undefined;\\\\n if (!cleanup) {\\\\n return;\\\\n }\\\\n try {\\\\n if (typeof cleanup === \\\\\\\"function\\\\\\\") {\\\\n cleanup();\\\\n }\\\\n else {\\\\n const unsubscribe = getMethod(cleanup, \\\\\\\"unsubscribe\\\\\\\");\\\\n if (unsubscribe) {\\\\n unsubscribe.call(cleanup);\\\\n }\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n}\\\\nfunction closeSubscription(subscription) {\\\\n subscription._observer = undefined;\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"closed\\\\\\\";\\\\n}\\\\nfunction flushSubscription(subscription) {\\\\n const queue = subscription._queue;\\\\n if (!queue) {\\\\n return;\\\\n }\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n for (const item of queue) {\\\\n notifySubscription(subscription, item.type, item.value);\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n break;\\\\n }\\\\n }\\\\n}\\\\nfunction notifySubscription(subscription, type, value) {\\\\n subscription._state = \\\\\\\"running\\\\\\\";\\\\n const observer = subscription._observer;\\\\n try {\\\\n const m = observer ? getMethod(observer, type) : undefined;\\\\n switch (type) {\\\\n case \\\\\\\"next\\\\\\\":\\\\n if (m)\\\\n m.call(observer, value);\\\\n break;\\\\n case \\\\\\\"error\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer, value);\\\\n else\\\\n throw value;\\\\n break;\\\\n case \\\\\\\"complete\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer);\\\\n break;\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n cleanupSubscription(subscription);\\\\n }\\\\n else if (subscription._state === \\\\\\\"running\\\\\\\") {\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n}\\\\nfunction onNotify(subscription, type, value) {\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n return;\\\\n }\\\\n if (subscription._state === \\\\\\\"buffering\\\\\\\") {\\\\n subscription._queue = subscription._queue || [];\\\\n subscription._queue.push({ type, value });\\\\n return;\\\\n }\\\\n if (subscription._state !== \\\\\\\"ready\\\\\\\") {\\\\n subscription._state = \\\\\\\"buffering\\\\\\\";\\\\n subscription._queue = [{ type, value }];\\\\n enqueue(() => flushSubscription(subscription));\\\\n return;\\\\n }\\\\n notifySubscription(subscription, type, value);\\\\n}\\\\nclass Subscription {\\\\n constructor(observer, subscriber) {\\\\n // ASSERT: observer is an object\\\\n // ASSERT: subscriber is callable\\\\n this._cleanup = undefined;\\\\n this._observer = observer;\\\\n this._queue = undefined;\\\\n this._state = \\\\\\\"initializing\\\\\\\";\\\\n const subscriptionObserver = new SubscriptionObserver(this);\\\\n try {\\\\n this._cleanup = subscriber.call(undefined, subscriptionObserver);\\\\n }\\\\n catch (e) {\\\\n subscriptionObserver.error(e);\\\\n }\\\\n if (this._state === \\\\\\\"initializing\\\\\\\") {\\\\n this._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n }\\\\n get closed() {\\\\n return this._state === \\\\\\\"closed\\\\\\\";\\\\n }\\\\n unsubscribe() {\\\\n if (this._state !== \\\\\\\"closed\\\\\\\") {\\\\n closeSubscription(this);\\\\n cleanupSubscription(this);\\\\n }\\\\n }\\\\n}\\\\nclass SubscriptionObserver {\\\\n constructor(subscription) { this._subscription = subscription; }\\\\n get closed() { return this._subscription._state === \\\\\\\"closed\\\\\\\"; }\\\\n next(value) { onNotify(this._subscription, \\\\\\\"next\\\\\\\", value); }\\\\n error(value) { onNotify(this._subscription, \\\\\\\"error\\\\\\\", value); }\\\\n complete() { onNotify(this._subscription, \\\\\\\"complete\\\\\\\"); }\\\\n}\\\\n/**\\\\n * The basic Observable class. This primitive is used to wrap asynchronous\\\\n * data streams in a common standardized data type that is interoperable\\\\n * between libraries and can be composed to represent more complex processes.\\\\n */\\\\nclass Observable {\\\\n constructor(subscriber) {\\\\n if (!(this instanceof Observable)) {\\\\n throw new TypeError(\\\\\\\"Observable cannot be called as a function\\\\\\\");\\\\n }\\\\n if (typeof subscriber !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(\\\\\\\"Observable initializer must be a function\\\\\\\");\\\\n }\\\\n this._subscriber = subscriber;\\\\n }\\\\n subscribe(nextOrObserver, onError, onComplete) {\\\\n if (typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null) {\\\\n nextOrObserver = {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n };\\\\n }\\\\n return new Subscription(nextOrObserver, this._subscriber);\\\\n }\\\\n pipe(first, ...mappers) {\\\\n // tslint:disable-next-line no-this-assignment\\\\n let intermediate = this;\\\\n for (const mapper of [first, ...mappers]) {\\\\n intermediate = mapper(intermediate);\\\\n }\\\\n return intermediate;\\\\n }\\\\n tap(nextOrObserver, onError, onComplete) {\\\\n const tapObserver = typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null\\\\n ? {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n }\\\\n : nextOrObserver;\\\\n return new Observable(observer => {\\\\n return this.subscribe({\\\\n next(value) {\\\\n tapObserver.next && tapObserver.next(value);\\\\n observer.next(value);\\\\n },\\\\n error(error) {\\\\n tapObserver.error && tapObserver.error(error);\\\\n observer.error(error);\\\\n },\\\\n complete() {\\\\n tapObserver.complete && tapObserver.complete();\\\\n observer.complete();\\\\n },\\\\n start(subscription) {\\\\n tapObserver.start && tapObserver.start(subscription);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n forEach(fn) {\\\\n return new Promise((resolve, reject) => {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n reject(new TypeError(fn + \\\\\\\" is not a function\\\\\\\"));\\\\n return;\\\\n }\\\\n function done() {\\\\n subscription.unsubscribe();\\\\n resolve(undefined);\\\\n }\\\\n const subscription = this.subscribe({\\\\n next(value) {\\\\n try {\\\\n fn(value, done);\\\\n }\\\\n catch (e) {\\\\n reject(e);\\\\n subscription.unsubscribe();\\\\n }\\\\n },\\\\n error(error) {\\\\n reject(error);\\\\n },\\\\n complete() {\\\\n resolve(undefined);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n map(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n let propagatedValue = value;\\\\n try {\\\\n propagatedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(propagatedValue);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n filter(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n try {\\\\n if (!fn(value))\\\\n return;\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(value);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n reduce(fn, seed) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n const hasSeed = arguments.length > 1;\\\\n let hasValue = false;\\\\n let acc = seed;\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n const first = !hasValue;\\\\n hasValue = true;\\\\n if (!first || hasSeed) {\\\\n try {\\\\n acc = fn(acc, value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n acc = value;\\\\n }\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (!hasValue && !hasSeed) {\\\\n return observer.error(new TypeError(\\\\\\\"Cannot reduce an empty sequence\\\\\\\"));\\\\n }\\\\n observer.next(acc);\\\\n observer.complete();\\\\n },\\\\n }));\\\\n }\\\\n concat(...sources) {\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n let subscription;\\\\n let index = 0;\\\\n function startNext(next) {\\\\n subscription = next.subscribe({\\\\n next(v) { observer.next(v); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (index === sources.length) {\\\\n subscription = undefined;\\\\n observer.complete();\\\\n }\\\\n else {\\\\n startNext(C.from(sources[index++]));\\\\n }\\\\n },\\\\n });\\\\n }\\\\n startNext(this);\\\\n return () => {\\\\n if (subscription) {\\\\n subscription.unsubscribe();\\\\n subscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n }\\\\n flatMap(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n const subscriptions = [];\\\\n const outer = this.subscribe({\\\\n next(value) {\\\\n let normalizedValue;\\\\n if (fn) {\\\\n try {\\\\n normalizedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n normalizedValue = value;\\\\n }\\\\n const inner = C.from(normalizedValue).subscribe({\\\\n next(innerValue) { observer.next(innerValue); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n const i = subscriptions.indexOf(inner);\\\\n if (i >= 0)\\\\n subscriptions.splice(i, 1);\\\\n completeIfDone();\\\\n },\\\\n });\\\\n subscriptions.push(inner);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { completeIfDone(); },\\\\n });\\\\n function completeIfDone() {\\\\n if (outer.closed && subscriptions.length === 0) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n return () => {\\\\n subscriptions.forEach(s => s.unsubscribe());\\\\n outer.unsubscribe();\\\\n };\\\\n });\\\\n }\\\\n [(Symbol.observable, SymbolObservable)]() { return this; }\\\\n static from(x) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n if (x == null) {\\\\n throw new TypeError(x + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n const observableMethod = getMethod(x, SymbolObservable);\\\\n if (observableMethod) {\\\\n const observable = observableMethod.call(x);\\\\n if (Object(observable) !== observable) {\\\\n throw new TypeError(observable + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n if (isObservable(observable) && observable.constructor === C) {\\\\n return observable;\\\\n }\\\\n return new C(observer => observable.subscribe(observer));\\\\n }\\\\n if (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\")) {\\\\n const iteratorMethod = getMethod(x, SymbolIterator);\\\\n if (iteratorMethod) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of iteratorMethod.call(x)) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n }\\\\n if (Array.isArray(x)) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of x) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n throw new TypeError(x + \\\\\\\" is not observable\\\\\\\");\\\\n }\\\\n static of(...items) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of items) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n static get [SymbolSpecies]() { return this; }\\\\n}\\\\nif (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbols\\\\\\\"])()) {\\\\n Object.defineProperty(Observable, Symbol(\\\\\\\"extensions\\\\\\\"), {\\\\n value: {\\\\n symbol: SymbolObservable,\\\\n hostReportError,\\\\n },\\\\n configurable: true,\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Observable);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/observable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/scan.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/scan.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\nfunction scan(accumulator, seed) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n let accumulated;\\\\n let index = 0;\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(value) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const prevAcc = index === 0\\\\n ? (typeof seed === \\\\\\\"undefined\\\\\\\" ? value : seed)\\\\n : accumulated;\\\\n accumulated = yield accumulator(prevAcc, value, index++);\\\\n next(accumulated);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (scan);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/scan.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/subject.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/subject.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n// TODO: This observer iteration approach looks inelegant and expensive\\\\n// Idea: Come up with super class for Subscription that contains the\\\\n// notify*, ... methods and use it here\\\\n/**\\\\n * A subject is a \\\\\\\"hot\\\\\\\" observable (see `multicast`) that has its observer\\\\n * methods (`.next(value)`, `.error(error)`, `.complete()`) exposed.\\\\n *\\\\n * Be careful, though! With great power comes great responsibility. Only use\\\\n * the `Subject` when you really need to trigger updates \\\\\\\"from the outside\\\\\\\" and\\\\n * try to keep the code that can access it to a minimum. Return\\\\n * `Observable.from(mySubject)` to not allow other code to mutate.\\\\n */\\\\nclass MulticastSubject extends _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor() {\\\\n super(observer => {\\\\n this._observers.add(observer);\\\\n return () => this._observers.delete(observer);\\\\n });\\\\n this._observers = new Set();\\\\n }\\\\n next(value) {\\\\n for (const observer of this._observers) {\\\\n observer.next(value);\\\\n }\\\\n }\\\\n error(error) {\\\\n for (const observer of this._observers) {\\\\n observer.error(error);\\\\n }\\\\n }\\\\n complete() {\\\\n for (const observer of this._observers) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (MulticastSubject);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/subject.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/symbols.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/symbols.js ***!\\n \\\\*********************************************************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/unsubscribe.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/**\\\\n * Unsubscribe from a subscription returned by something that looks like an observable,\\\\n * but is not necessarily our observable implementation.\\\\n */\\\\nfunction unsubscribe(subscription) {\\\\n if (typeof subscription === \\\\\\\"function\\\\\\\") {\\\\n subscription();\\\\n }\\\\n else if (subscription && typeof subscription.unsubscribe === \\\\\\\"function\\\\\\\") {\\\\n subscription.unsubscribe();\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (unsubscribe);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/unsubscribe.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/inflate.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/pako/lib/inflate.js ***!\\n \\\\******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar zlib_inflate = __webpack_require__(/*! ./zlib/inflate */ \\\\\\\"./node_modules/pako/lib/zlib/inflate.js\\\\\\\");\\\\nvar utils = __webpack_require__(/*! ./utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar strings = __webpack_require__(/*! ./utils/strings */ \\\\\\\"./node_modules/pako/lib/utils/strings.js\\\\\\\");\\\\nvar c = __webpack_require__(/*! ./zlib/constants */ \\\\\\\"./node_modules/pako/lib/zlib/constants.js\\\\\\\");\\\\nvar msg = __webpack_require__(/*! ./zlib/messages */ \\\\\\\"./node_modules/pako/lib/zlib/messages.js\\\\\\\");\\\\nvar ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\\\\\"./node_modules/pako/lib/zlib/zstream.js\\\\\\\");\\\\nvar GZheader = __webpack_require__(/*! ./zlib/gzheader */ \\\\\\\"./node_modules/pako/lib/zlib/gzheader.js\\\\\\\");\\\\n\\\\nvar toString = Object.prototype.toString;\\\\n\\\\n/**\\\\n * class Inflate\\\\n *\\\\n * Generic JS-style wrapper for zlib calls. If you don't need\\\\n * streaming behaviour - use more simple functions: [[inflate]]\\\\n * and [[inflateRaw]].\\\\n **/\\\\n\\\\n/* internal\\\\n * inflate.chunks -> Array\\\\n *\\\\n * Chunks of output data, if [[Inflate#onData]] not overridden.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.result -> Uint8Array|Array|String\\\\n *\\\\n * Uncompressed result, generated by default [[Inflate#onData]]\\\\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\\\\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param) or if you\\\\n * push a chunk with explicit flush (call [[Inflate#push]] with\\\\n * `Z_SYNC_FLUSH` param).\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.err -> Number\\\\n *\\\\n * Error code after inflate finished. 0 (Z_OK) on success.\\\\n * Should be checked if broken data possible.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.msg -> String\\\\n *\\\\n * Error message, if [[Inflate.err]] != 0\\\\n **/\\\\n\\\\n\\\\n/**\\\\n * new Inflate(options)\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Creates new inflator instance with specified params. Throws exception\\\\n * on bad params. Supported options:\\\\n *\\\\n * - `windowBits`\\\\n * - `dictionary`\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information on these.\\\\n *\\\\n * Additional options, for internal needs:\\\\n *\\\\n * - `chunkSize` - size of generated data chunks (16K by default)\\\\n * - `raw` (Boolean) - do raw inflate\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n * By default, when no options set, autodetect deflate/gzip data format via\\\\n * wrapper header.\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9])\\\\n * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\\\n *\\\\n * var inflate = new pako.Inflate({ level: 3});\\\\n *\\\\n * inflate.push(chunk1, false);\\\\n * inflate.push(chunk2, true); // true -> last chunk\\\\n *\\\\n * if (inflate.err) { throw new Error(inflate.err); }\\\\n *\\\\n * console.log(inflate.result);\\\\n * ```\\\\n **/\\\\nfunction Inflate(options) {\\\\n if (!(this instanceof Inflate)) return new Inflate(options);\\\\n\\\\n this.options = utils.assign({\\\\n chunkSize: 16384,\\\\n windowBits: 0,\\\\n to: ''\\\\n }, options || {});\\\\n\\\\n var opt = this.options;\\\\n\\\\n // Force window size for `raw` data, if not set directly,\\\\n // because we have no header for autodetect.\\\\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\\\\n opt.windowBits = -opt.windowBits;\\\\n if (opt.windowBits === 0) { opt.windowBits = -15; }\\\\n }\\\\n\\\\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\\\\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\\\\n !(options && options.windowBits)) {\\\\n opt.windowBits += 32;\\\\n }\\\\n\\\\n // Gzip header has no info about windows size, we can do autodetect only\\\\n // for deflate. So, if window size not set, force it to max when gzip possible\\\\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\\\\n // bit 3 (16) -> gzipped data\\\\n // bit 4 (32) -> autodetect gzip/deflate\\\\n if ((opt.windowBits & 15) === 0) {\\\\n opt.windowBits |= 15;\\\\n }\\\\n }\\\\n\\\\n this.err = 0; // error code, if happens (0 = Z_OK)\\\\n this.msg = ''; // error message\\\\n this.ended = false; // used to avoid multiple onEnd() calls\\\\n this.chunks = []; // chunks of compressed data\\\\n\\\\n this.strm = new ZStream();\\\\n this.strm.avail_out = 0;\\\\n\\\\n var status = zlib_inflate.inflateInit2(\\\\n this.strm,\\\\n opt.windowBits\\\\n );\\\\n\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n\\\\n this.header = new GZheader();\\\\n\\\\n zlib_inflate.inflateGetHeader(this.strm, this.header);\\\\n\\\\n // Setup dictionary\\\\n if (opt.dictionary) {\\\\n // Convert data if needed\\\\n if (typeof opt.dictionary === 'string') {\\\\n opt.dictionary = strings.string2buf(opt.dictionary);\\\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\\\n opt.dictionary = new Uint8Array(opt.dictionary);\\\\n }\\\\n if (opt.raw) { //In raw mode we need to set the dictionary early\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary);\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Inflate#push(data[, mode]) -> Boolean\\\\n * - data (Uint8Array|Array|ArrayBuffer|String): input data\\\\n * - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\\\\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\\\\n *\\\\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\\\\n * new output chunks. Returns `true` on success. The last data block must have\\\\n * mode Z_FINISH (or `true`). That will flush internal pending buffers and call\\\\n * [[Inflate#onEnd]]. For interim explicit flushes (without ending the stream) you\\\\n * can use mode Z_SYNC_FLUSH, keeping the decompression context.\\\\n *\\\\n * On fail call [[Inflate#onEnd]] with error code and return false.\\\\n *\\\\n * We strongly recommend to use `Uint8Array` on input for best speed (output\\\\n * format is detected automatically). Also, don't skip last param and always\\\\n * use the same type in your code (boolean or number). That will improve JS speed.\\\\n *\\\\n * For regular `Array`-s make sure all elements are [0..255].\\\\n *\\\\n * ##### Example\\\\n *\\\\n * ```javascript\\\\n * push(chunk, false); // push one of data chunks\\\\n * ...\\\\n * push(chunk, true); // push last chunk\\\\n * ```\\\\n **/\\\\nInflate.prototype.push = function (data, mode) {\\\\n var strm = this.strm;\\\\n var chunkSize = this.options.chunkSize;\\\\n var dictionary = this.options.dictionary;\\\\n var status, _mode;\\\\n var next_out_utf8, tail, utf8str;\\\\n\\\\n // Flag to properly process Z_BUF_ERROR on testing inflate call\\\\n // when we check that all output data was flushed.\\\\n var allowBufError = false;\\\\n\\\\n if (this.ended) { return false; }\\\\n _mode = (mode === ~~mode) ? mode : ((mode === true) ? c.Z_FINISH : c.Z_NO_FLUSH);\\\\n\\\\n // Convert data if needed\\\\n if (typeof data === 'string') {\\\\n // Only binary strings can be decompressed on practice\\\\n strm.input = strings.binstring2buf(data);\\\\n } else if (toString.call(data) === '[object ArrayBuffer]') {\\\\n strm.input = new Uint8Array(data);\\\\n } else {\\\\n strm.input = data;\\\\n }\\\\n\\\\n strm.next_in = 0;\\\\n strm.avail_in = strm.input.length;\\\\n\\\\n do {\\\\n if (strm.avail_out === 0) {\\\\n strm.output = new utils.Buf8(chunkSize);\\\\n strm.next_out = 0;\\\\n strm.avail_out = chunkSize;\\\\n }\\\\n\\\\n status = zlib_inflate.inflate(strm, c.Z_NO_FLUSH); /* no bad return value */\\\\n\\\\n if (status === c.Z_NEED_DICT && dictionary) {\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, dictionary);\\\\n }\\\\n\\\\n if (status === c.Z_BUF_ERROR && allowBufError === true) {\\\\n status = c.Z_OK;\\\\n allowBufError = false;\\\\n }\\\\n\\\\n if (status !== c.Z_STREAM_END && status !== c.Z_OK) {\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return false;\\\\n }\\\\n\\\\n if (strm.next_out) {\\\\n if (strm.avail_out === 0 || status === c.Z_STREAM_END || (strm.avail_in === 0 && (_mode === c.Z_FINISH || _mode === c.Z_SYNC_FLUSH))) {\\\\n\\\\n if (this.options.to === 'string') {\\\\n\\\\n next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\\\\n\\\\n tail = strm.next_out - next_out_utf8;\\\\n utf8str = strings.buf2string(strm.output, next_out_utf8);\\\\n\\\\n // move tail\\\\n strm.next_out = tail;\\\\n strm.avail_out = chunkSize - tail;\\\\n if (tail) { utils.arraySet(strm.output, strm.output, next_out_utf8, tail, 0); }\\\\n\\\\n this.onData(utf8str);\\\\n\\\\n } else {\\\\n this.onData(utils.shrinkBuf(strm.output, strm.next_out));\\\\n }\\\\n }\\\\n }\\\\n\\\\n // When no more input data, we should check that internal inflate buffers\\\\n // are flushed. The only way to do it when avail_out = 0 - run one more\\\\n // inflate pass. But if output data not exists, inflate return Z_BUF_ERROR.\\\\n // Here we set flag to process this error properly.\\\\n //\\\\n // NOTE. Deflate does not return error in this case and does not needs such\\\\n // logic.\\\\n if (strm.avail_in === 0 && strm.avail_out === 0) {\\\\n allowBufError = true;\\\\n }\\\\n\\\\n } while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== c.Z_STREAM_END);\\\\n\\\\n if (status === c.Z_STREAM_END) {\\\\n _mode = c.Z_FINISH;\\\\n }\\\\n\\\\n // Finalize on the last chunk.\\\\n if (_mode === c.Z_FINISH) {\\\\n status = zlib_inflate.inflateEnd(this.strm);\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return status === c.Z_OK;\\\\n }\\\\n\\\\n // callback interim results if Z_SYNC_FLUSH.\\\\n if (_mode === c.Z_SYNC_FLUSH) {\\\\n this.onEnd(c.Z_OK);\\\\n strm.avail_out = 0;\\\\n return true;\\\\n }\\\\n\\\\n return true;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onData(chunk) -> Void\\\\n * - chunk (Uint8Array|Array|String): output data. Type of array depends\\\\n * on js engine support. When string output requested, each chunk\\\\n * will be string.\\\\n *\\\\n * By default, stores data blocks in `chunks[]` property and glue\\\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\\\n **/\\\\nInflate.prototype.onData = function (chunk) {\\\\n this.chunks.push(chunk);\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onEnd(status) -> Void\\\\n * - status (Number): inflate status. 0 (Z_OK) on success,\\\\n * other if not.\\\\n *\\\\n * Called either after you tell inflate that the input stream is\\\\n * complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH)\\\\n * or if an error happened. By default - join collected chunks,\\\\n * free memory and fill `results` / `err` properties.\\\\n **/\\\\nInflate.prototype.onEnd = function (status) {\\\\n // On success - join\\\\n if (status === c.Z_OK) {\\\\n if (this.options.to === 'string') {\\\\n // Glue & convert here, until we teach pako to send\\\\n // utf8 aligned strings to onData\\\\n this.result = this.chunks.join('');\\\\n } else {\\\\n this.result = utils.flattenChunks(this.chunks);\\\\n }\\\\n }\\\\n this.chunks = [];\\\\n this.err = status;\\\\n this.msg = this.strm.msg;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * inflate(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\\\\n * format via wrapper header by default. That's why we don't provide\\\\n * separate `ungzip` method.\\\\n *\\\\n * Supported options are:\\\\n *\\\\n * - windowBits\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information.\\\\n *\\\\n * Sugar (options):\\\\n *\\\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\\\n * negative windowBits implicitly.\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , input = pako.deflate([1,2,3,4,5,6,7,8,9])\\\\n * , output;\\\\n *\\\\n * try {\\\\n * output = pako.inflate(input);\\\\n * } catch (err)\\\\n * console.log(err);\\\\n * }\\\\n * ```\\\\n **/\\\\nfunction inflate(input, options) {\\\\n var inflator = new Inflate(options);\\\\n\\\\n inflator.push(input, true);\\\\n\\\\n // That will never happens, if you don't cheat with options :)\\\\n if (inflator.err) { throw inflator.msg || msg[inflator.err]; }\\\\n\\\\n return inflator.result;\\\\n}\\\\n\\\\n\\\\n/**\\\\n * inflateRaw(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * The same as [[inflate]], but creates raw data, without wrapper\\\\n * (header and adler32 crc).\\\\n **/\\\\nfunction inflateRaw(input, options) {\\\\n options = options || {};\\\\n options.raw = true;\\\\n return inflate(input, options);\\\\n}\\\\n\\\\n\\\\n/**\\\\n * ungzip(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Just shortcut to [[inflate]], because it autodetects format\\\\n * by header.content. Done for convenience.\\\\n **/\\\\n\\\\n\\\\nexports.Inflate = Inflate;\\\\nexports.inflate = inflate;\\\\nexports.inflateRaw = inflateRaw;\\\\nexports.ungzip = inflate;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/common.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/common.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar TYPED_OK = (typeof Uint8Array !== 'undefined') &&\\\\n (typeof Uint16Array !== 'undefined') &&\\\\n (typeof Int32Array !== 'undefined');\\\\n\\\\nfunction _has(obj, key) {\\\\n return Object.prototype.hasOwnProperty.call(obj, key);\\\\n}\\\\n\\\\nexports.assign = function (obj /*from1, from2, from3, ...*/) {\\\\n var sources = Array.prototype.slice.call(arguments, 1);\\\\n while (sources.length) {\\\\n var source = sources.shift();\\\\n if (!source) { continue; }\\\\n\\\\n if (typeof source !== 'object') {\\\\n throw new TypeError(source + 'must be non-object');\\\\n }\\\\n\\\\n for (var p in source) {\\\\n if (_has(source, p)) {\\\\n obj[p] = source[p];\\\\n }\\\\n }\\\\n }\\\\n\\\\n return obj;\\\\n};\\\\n\\\\n\\\\n// reduce buffer size, avoiding mem copy\\\\nexports.shrinkBuf = function (buf, size) {\\\\n if (buf.length === size) { return buf; }\\\\n if (buf.subarray) { return buf.subarray(0, size); }\\\\n buf.length = size;\\\\n return buf;\\\\n};\\\\n\\\\n\\\\nvar fnTyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n if (src.subarray && dest.subarray) {\\\\n dest.set(src.subarray(src_offs, src_offs + len), dest_offs);\\\\n return;\\\\n }\\\\n // Fallback to ordinary array\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n var i, l, len, pos, chunk, result;\\\\n\\\\n // calculate data length\\\\n len = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n len += chunks[i].length;\\\\n }\\\\n\\\\n // join chunks\\\\n result = new Uint8Array(len);\\\\n pos = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n chunk = chunks[i];\\\\n result.set(chunk, pos);\\\\n pos += chunk.length;\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n};\\\\n\\\\nvar fnUntyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n return [].concat.apply([], chunks);\\\\n }\\\\n};\\\\n\\\\n\\\\n// Enable/Disable typed arrays use, for testing\\\\n//\\\\nexports.setTyped = function (on) {\\\\n if (on) {\\\\n exports.Buf8 = Uint8Array;\\\\n exports.Buf16 = Uint16Array;\\\\n exports.Buf32 = Int32Array;\\\\n exports.assign(exports, fnTyped);\\\\n } else {\\\\n exports.Buf8 = Array;\\\\n exports.Buf16 = Array;\\\\n exports.Buf32 = Array;\\\\n exports.assign(exports, fnUntyped);\\\\n }\\\\n};\\\\n\\\\nexports.setTyped(TYPED_OK);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/strings.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/strings.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// String encode/decode helpers\\\\n\\\\n\\\\n\\\\nvar utils = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\n\\\\n// Quick check if we can use fast array to bin string conversion\\\\n//\\\\n// - apply(Array) can fail on Android 2.2\\\\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\\\\n//\\\\nvar STR_APPLY_OK = true;\\\\nvar STR_APPLY_UIA_OK = true;\\\\n\\\\ntry { String.fromCharCode.apply(null, [ 0 ]); } catch (__) { STR_APPLY_OK = false; }\\\\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\\\\n\\\\n\\\\n// Table with utf8 lengths (calculated by first byte of sequence)\\\\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\\\\n// because max possible codepoint is 0x10ffff\\\\nvar _utf8len = new utils.Buf8(256);\\\\nfor (var q = 0; q < 256; q++) {\\\\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\\\\n}\\\\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\\\\n\\\\n\\\\n// convert string to array (typed, when possible)\\\\nexports.string2buf = function (str) {\\\\n var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\\\\n\\\\n // count binary size\\\\n for (m_pos = 0; m_pos < str_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\\\\n }\\\\n\\\\n // allocate buffer\\\\n buf = new utils.Buf8(buf_len);\\\\n\\\\n // convert\\\\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n if (c < 0x80) {\\\\n /* one byte */\\\\n buf[i++] = c;\\\\n } else if (c < 0x800) {\\\\n /* two bytes */\\\\n buf[i++] = 0xC0 | (c >>> 6);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else if (c < 0x10000) {\\\\n /* three bytes */\\\\n buf[i++] = 0xE0 | (c >>> 12);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else {\\\\n /* four bytes */\\\\n buf[i++] = 0xf0 | (c >>> 18);\\\\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n }\\\\n }\\\\n\\\\n return buf;\\\\n};\\\\n\\\\n// Helper (used in 2 places)\\\\nfunction buf2binstring(buf, len) {\\\\n // On Chrome, the arguments in a function call that are allowed is `65534`.\\\\n // If the length of the buffer is smaller than that, we can use this optimization,\\\\n // otherwise we will take a slower path.\\\\n if (len < 65534) {\\\\n if ((buf.subarray && STR_APPLY_UIA_OK) || (!buf.subarray && STR_APPLY_OK)) {\\\\n return String.fromCharCode.apply(null, utils.shrinkBuf(buf, len));\\\\n }\\\\n }\\\\n\\\\n var result = '';\\\\n for (var i = 0; i < len; i++) {\\\\n result += String.fromCharCode(buf[i]);\\\\n }\\\\n return result;\\\\n}\\\\n\\\\n\\\\n// Convert byte array to binary string\\\\nexports.buf2binstring = function (buf) {\\\\n return buf2binstring(buf, buf.length);\\\\n};\\\\n\\\\n\\\\n// Convert binary string (typed, when possible)\\\\nexports.binstring2buf = function (str) {\\\\n var buf = new utils.Buf8(str.length);\\\\n for (var i = 0, len = buf.length; i < len; i++) {\\\\n buf[i] = str.charCodeAt(i);\\\\n }\\\\n return buf;\\\\n};\\\\n\\\\n\\\\n// convert array to string\\\\nexports.buf2string = function (buf, max) {\\\\n var i, out, c, c_len;\\\\n var len = max || buf.length;\\\\n\\\\n // Reserve max possible length (2 words per char)\\\\n // NB: by unknown reasons, Array is significantly faster for\\\\n // String.fromCharCode.apply than Uint16Array.\\\\n var utf16buf = new Array(len * 2);\\\\n\\\\n for (out = 0, i = 0; i < len;) {\\\\n c = buf[i++];\\\\n // quick process ascii\\\\n if (c < 0x80) { utf16buf[out++] = c; continue; }\\\\n\\\\n c_len = _utf8len[c];\\\\n // skip 5 & 6 byte codes\\\\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\\\\n\\\\n // apply mask on first byte\\\\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\\\\n // join the rest\\\\n while (c_len > 1 && i < len) {\\\\n c = (c << 6) | (buf[i++] & 0x3f);\\\\n c_len--;\\\\n }\\\\n\\\\n // terminated by end of string?\\\\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\\\\n\\\\n if (c < 0x10000) {\\\\n utf16buf[out++] = c;\\\\n } else {\\\\n c -= 0x10000;\\\\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\\\\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\\\\n }\\\\n }\\\\n\\\\n return buf2binstring(utf16buf, out);\\\\n};\\\\n\\\\n\\\\n// Calculate max possible position in utf8 buffer,\\\\n// that will not break sequence. If that's not possible\\\\n// - (very small limits) return max size as is.\\\\n//\\\\n// buf[] - utf8 bytes array\\\\n// max - length limit (mandatory);\\\\nexports.utf8border = function (buf, max) {\\\\n var pos;\\\\n\\\\n max = max || buf.length;\\\\n if (max > buf.length) { max = buf.length; }\\\\n\\\\n // go back from last position, until start of sequence found\\\\n pos = max - 1;\\\\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\\\\n\\\\n // Very small and broken sequence,\\\\n // return max, because we should return something anyway.\\\\n if (pos < 0) { return max; }\\\\n\\\\n // If we came to start of buffer - that means buffer is too small,\\\\n // return max too.\\\\n if (pos === 0) { return max; }\\\\n\\\\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/strings.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/adler32.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/adler32.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\\\\n// It isn't worth it to make additional optimizations as in original.\\\\n// Small size is preferable.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction adler32(adler, buf, len, pos) {\\\\n var s1 = (adler & 0xffff) |0,\\\\n s2 = ((adler >>> 16) & 0xffff) |0,\\\\n n = 0;\\\\n\\\\n while (len !== 0) {\\\\n // Set limit ~ twice less than 5552, to keep\\\\n // s2 in 31-bits, because we force signed ints.\\\\n // in other case %= will fail.\\\\n n = len > 2000 ? 2000 : len;\\\\n len -= n;\\\\n\\\\n do {\\\\n s1 = (s1 + buf[pos++]) |0;\\\\n s2 = (s2 + s1) |0;\\\\n } while (--n);\\\\n\\\\n s1 %= 65521;\\\\n s2 %= 65521;\\\\n }\\\\n\\\\n return (s1 | (s2 << 16)) |0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = adler32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/adler32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/constants.js\\\":\\n/*!*************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/constants.js ***!\\n \\\\*************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n\\\\n /* Allowed flush values; see deflate() and inflate() below for details */\\\\n Z_NO_FLUSH: 0,\\\\n Z_PARTIAL_FLUSH: 1,\\\\n Z_SYNC_FLUSH: 2,\\\\n Z_FULL_FLUSH: 3,\\\\n Z_FINISH: 4,\\\\n Z_BLOCK: 5,\\\\n Z_TREES: 6,\\\\n\\\\n /* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\n Z_OK: 0,\\\\n Z_STREAM_END: 1,\\\\n Z_NEED_DICT: 2,\\\\n Z_ERRNO: -1,\\\\n Z_STREAM_ERROR: -2,\\\\n Z_DATA_ERROR: -3,\\\\n //Z_MEM_ERROR: -4,\\\\n Z_BUF_ERROR: -5,\\\\n //Z_VERSION_ERROR: -6,\\\\n\\\\n /* compression levels */\\\\n Z_NO_COMPRESSION: 0,\\\\n Z_BEST_SPEED: 1,\\\\n Z_BEST_COMPRESSION: 9,\\\\n Z_DEFAULT_COMPRESSION: -1,\\\\n\\\\n\\\\n Z_FILTERED: 1,\\\\n Z_HUFFMAN_ONLY: 2,\\\\n Z_RLE: 3,\\\\n Z_FIXED: 4,\\\\n Z_DEFAULT_STRATEGY: 0,\\\\n\\\\n /* Possible values of the data_type field (though see inflate()) */\\\\n Z_BINARY: 0,\\\\n Z_TEXT: 1,\\\\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\\\\n Z_UNKNOWN: 2,\\\\n\\\\n /* The deflate compression method */\\\\n Z_DEFLATED: 8\\\\n //Z_NULL: null // Use -1 or null inline, depending on var type\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/constants.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/crc32.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/crc32.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: we can't get significant speed boost here.\\\\n// So write code to minimize size - no pregenerated tables\\\\n// and array tools dependencies.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// Use ordinary array, since untyped makes no boost here\\\\nfunction makeTable() {\\\\n var c, table = [];\\\\n\\\\n for (var n = 0; n < 256; n++) {\\\\n c = n;\\\\n for (var k = 0; k < 8; k++) {\\\\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\\\\n }\\\\n table[n] = c;\\\\n }\\\\n\\\\n return table;\\\\n}\\\\n\\\\n// Create table on load. Just 255 signed longs. Not a problem.\\\\nvar crcTable = makeTable();\\\\n\\\\n\\\\nfunction crc32(crc, buf, len, pos) {\\\\n var t = crcTable,\\\\n end = pos + len;\\\\n\\\\n crc ^= -1;\\\\n\\\\n for (var i = pos; i < end; i++) {\\\\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\\\\n }\\\\n\\\\n return (crc ^ (-1)); // >>> 0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = crc32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/crc32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/gzheader.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/gzheader.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction GZheader() {\\\\n /* true if compressed data believed to be text */\\\\n this.text = 0;\\\\n /* modification time */\\\\n this.time = 0;\\\\n /* extra flags (not used when writing a gzip file) */\\\\n this.xflags = 0;\\\\n /* operating system */\\\\n this.os = 0;\\\\n /* pointer to extra field or Z_NULL if none */\\\\n this.extra = null;\\\\n /* extra field length (valid if extra != Z_NULL) */\\\\n this.extra_len = 0; // Actually, we don't need it in JS,\\\\n // but leave for few code modifications\\\\n\\\\n //\\\\n // Setup limits is not necessary because in js we should not preallocate memory\\\\n // for inflate use constant limit in 65536 bytes\\\\n //\\\\n\\\\n /* space at extra (only when reading header) */\\\\n // this.extra_max = 0;\\\\n /* pointer to zero-terminated file name or Z_NULL */\\\\n this.name = '';\\\\n /* space at name (only when reading header) */\\\\n // this.name_max = 0;\\\\n /* pointer to zero-terminated comment or Z_NULL */\\\\n this.comment = '';\\\\n /* space at comment (only when reading header) */\\\\n // this.comm_max = 0;\\\\n /* true if there was or will be a header crc */\\\\n this.hcrc = 0;\\\\n /* true when done reading gzip header (not used when writing a gzip file) */\\\\n this.done = false;\\\\n}\\\\n\\\\nmodule.exports = GZheader;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/gzheader.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inffast.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inffast.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// See state defs from inflate.js\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\n\\\\n/*\\\\n Decode literal, length, and distance codes and write out the resulting\\\\n literal and match bytes until either not enough input or output is\\\\n available, an end-of-block is encountered, or a data error is encountered.\\\\n When large enough input and output buffers are supplied to inflate(), for\\\\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\\\\n inflate execution time is spent in this routine.\\\\n\\\\n Entry assumptions:\\\\n\\\\n state.mode === LEN\\\\n strm.avail_in >= 6\\\\n strm.avail_out >= 258\\\\n start >= strm.avail_out\\\\n state.bits < 8\\\\n\\\\n On return, state.mode is one of:\\\\n\\\\n LEN -- ran out of enough output space or enough available input\\\\n TYPE -- reached end of block code, inflate() to interpret next block\\\\n BAD -- error in block data\\\\n\\\\n Notes:\\\\n\\\\n - The maximum input bits used by a length/distance pair is 15 bits for the\\\\n length code, 5 bits for the length extra, 15 bits for the distance code,\\\\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\\\\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\\\\n checking for available input while decoding.\\\\n\\\\n - The maximum bytes that a single length/distance pair can output is 258\\\\n bytes, which is the maximum length that can be coded. inflate_fast()\\\\n requires strm.avail_out >= 258 for each loop to avoid checking for\\\\n output space.\\\\n */\\\\nmodule.exports = function inflate_fast(strm, start) {\\\\n var state;\\\\n var _in; /* local strm.input */\\\\n var last; /* have enough input while in < last */\\\\n var _out; /* local strm.output */\\\\n var beg; /* inflate()'s initial strm.output */\\\\n var end; /* while out < end, enough space available */\\\\n//#ifdef INFLATE_STRICT\\\\n var dmax; /* maximum distance from zlib header */\\\\n//#endif\\\\n var wsize; /* window size or zero if not using window */\\\\n var whave; /* valid bytes in the window */\\\\n var wnext; /* window write index */\\\\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\\\\n var s_window; /* allocated sliding window, if wsize != 0 */\\\\n var hold; /* local strm.hold */\\\\n var bits; /* local strm.bits */\\\\n var lcode; /* local strm.lencode */\\\\n var dcode; /* local strm.distcode */\\\\n var lmask; /* mask for first level of length codes */\\\\n var dmask; /* mask for first level of distance codes */\\\\n var here; /* retrieved table entry */\\\\n var op; /* code bits, operation, extra bits, or */\\\\n /* window position, window bytes to copy */\\\\n var len; /* match length, unused bytes */\\\\n var dist; /* match distance */\\\\n var from; /* where to copy match from */\\\\n var from_source;\\\\n\\\\n\\\\n var input, output; // JS specific, because we have no pointers\\\\n\\\\n /* copy state to local variables */\\\\n state = strm.state;\\\\n //here = state.here;\\\\n _in = strm.next_in;\\\\n input = strm.input;\\\\n last = _in + (strm.avail_in - 5);\\\\n _out = strm.next_out;\\\\n output = strm.output;\\\\n beg = _out - (start - strm.avail_out);\\\\n end = _out + (strm.avail_out - 257);\\\\n//#ifdef INFLATE_STRICT\\\\n dmax = state.dmax;\\\\n//#endif\\\\n wsize = state.wsize;\\\\n whave = state.whave;\\\\n wnext = state.wnext;\\\\n s_window = state.window;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n lcode = state.lencode;\\\\n dcode = state.distcode;\\\\n lmask = (1 << state.lenbits) - 1;\\\\n dmask = (1 << state.distbits) - 1;\\\\n\\\\n\\\\n /* decode literals and length/distances until end-of-block or not enough\\\\n input data or output space */\\\\n\\\\n top:\\\\n do {\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n\\\\n here = lcode[hold & lmask];\\\\n\\\\n dolen:\\\\n for (;;) { // Goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n if (op === 0) { /* literal */\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n output[_out++] = here & 0xffff/*here.val*/;\\\\n }\\\\n else if (op & 16) { /* length base */\\\\n len = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (op) {\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n len += hold & ((1 << op) - 1);\\\\n hold >>>= op;\\\\n bits -= op;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", len));\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n here = dcode[hold & dmask];\\\\n\\\\n dodist:\\\\n for (;;) { // goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n\\\\n if (op & 16) { /* distance base */\\\\n dist = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n }\\\\n dist += hold & ((1 << op) - 1);\\\\n//#ifdef INFLATE_STRICT\\\\n if (dist > dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n//#endif\\\\n hold >>>= op;\\\\n bits -= op;\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", dist));\\\\n op = _out - beg; /* max distance in output */\\\\n if (dist > op) { /* see if copy from window */\\\\n op = dist - op; /* distance back in window */\\\\n if (op > whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// if (len <= op - whave) {\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n// len -= op - whave;\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--op > whave);\\\\n// if (op === 0) {\\\\n// from = _out - dist;\\\\n// do {\\\\n// output[_out++] = output[from++];\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n//#endif\\\\n }\\\\n from = 0; // window index\\\\n from_source = s_window;\\\\n if (wnext === 0) { /* very common case */\\\\n from += wsize - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n else if (wnext < op) { /* wrap around window */\\\\n from += wsize + wnext - op;\\\\n op -= wnext;\\\\n if (op < len) { /* some from end of window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = 0;\\\\n if (wnext < len) { /* some from start of window */\\\\n op = wnext;\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n }\\\\n else { /* contiguous in window */\\\\n from += wnext - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n while (len > 2) {\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n len -= 3;\\\\n }\\\\n if (len) {\\\\n output[_out++] = from_source[from++];\\\\n if (len > 1) {\\\\n output[_out++] = from_source[from++];\\\\n }\\\\n }\\\\n }\\\\n else {\\\\n from = _out - dist; /* copy direct from output */\\\\n do { /* minimum length is three */\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n len -= 3;\\\\n } while (len > 2);\\\\n if (len) {\\\\n output[_out++] = output[from++];\\\\n if (len > 1) {\\\\n output[_out++] = output[from++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level distance code */\\\\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dodist;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level length code */\\\\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dolen;\\\\n }\\\\n else if (op & 32) { /* end-of-block */\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break top;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n } while (_in < last && _out < end);\\\\n\\\\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\\\\n len = bits >> 3;\\\\n _in -= len;\\\\n bits -= len << 3;\\\\n hold &= (1 << bits) - 1;\\\\n\\\\n /* update state and return */\\\\n strm.next_in = _in;\\\\n strm.next_out = _out;\\\\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\\\\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n return;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inffast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inflate.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inflate.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar adler32 = __webpack_require__(/*! ./adler32 */ \\\\\\\"./node_modules/pako/lib/zlib/adler32.js\\\\\\\");\\\\nvar crc32 = __webpack_require__(/*! ./crc32 */ \\\\\\\"./node_modules/pako/lib/zlib/crc32.js\\\\\\\");\\\\nvar inflate_fast = __webpack_require__(/*! ./inffast */ \\\\\\\"./node_modules/pako/lib/zlib/inffast.js\\\\\\\");\\\\nvar inflate_table = __webpack_require__(/*! ./inftrees */ \\\\\\\"./node_modules/pako/lib/zlib/inftrees.js\\\\\\\");\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\n/* Public constants ==========================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n/* Allowed flush values; see deflate() and inflate() below for details */\\\\n//var Z_NO_FLUSH = 0;\\\\n//var Z_PARTIAL_FLUSH = 1;\\\\n//var Z_SYNC_FLUSH = 2;\\\\n//var Z_FULL_FLUSH = 3;\\\\nvar Z_FINISH = 4;\\\\nvar Z_BLOCK = 5;\\\\nvar Z_TREES = 6;\\\\n\\\\n\\\\n/* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\nvar Z_OK = 0;\\\\nvar Z_STREAM_END = 1;\\\\nvar Z_NEED_DICT = 2;\\\\n//var Z_ERRNO = -1;\\\\nvar Z_STREAM_ERROR = -2;\\\\nvar Z_DATA_ERROR = -3;\\\\nvar Z_MEM_ERROR = -4;\\\\nvar Z_BUF_ERROR = -5;\\\\n//var Z_VERSION_ERROR = -6;\\\\n\\\\n/* The deflate compression method */\\\\nvar Z_DEFLATED = 8;\\\\n\\\\n\\\\n/* STATES ====================================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\nvar HEAD = 1; /* i: waiting for magic header */\\\\nvar FLAGS = 2; /* i: waiting for method and flags (gzip) */\\\\nvar TIME = 3; /* i: waiting for modification time (gzip) */\\\\nvar OS = 4; /* i: waiting for extra flags and operating system (gzip) */\\\\nvar EXLEN = 5; /* i: waiting for extra length (gzip) */\\\\nvar EXTRA = 6; /* i: waiting for extra bytes (gzip) */\\\\nvar NAME = 7; /* i: waiting for end of file name (gzip) */\\\\nvar COMMENT = 8; /* i: waiting for end of comment (gzip) */\\\\nvar HCRC = 9; /* i: waiting for header crc (gzip) */\\\\nvar DICTID = 10; /* i: waiting for dictionary check value */\\\\nvar DICT = 11; /* waiting for inflateSetDictionary() call */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\nvar TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */\\\\nvar STORED = 14; /* i: waiting for stored size (length and complement) */\\\\nvar COPY_ = 15; /* i/o: same as COPY below, but only first time in */\\\\nvar COPY = 16; /* i/o: waiting for input or output to copy stored block */\\\\nvar TABLE = 17; /* i: waiting for dynamic block table lengths */\\\\nvar LENLENS = 18; /* i: waiting for code length code lengths */\\\\nvar CODELENS = 19; /* i: waiting for length/lit and distance code lengths */\\\\nvar LEN_ = 20; /* i: same as LEN below, but only first time in */\\\\nvar LEN = 21; /* i: waiting for length/lit/eob code */\\\\nvar LENEXT = 22; /* i: waiting for length extra bits */\\\\nvar DIST = 23; /* i: waiting for distance code */\\\\nvar DISTEXT = 24; /* i: waiting for distance extra bits */\\\\nvar MATCH = 25; /* o: waiting for output space to copy string */\\\\nvar LIT = 26; /* o: waiting for output space to write literal */\\\\nvar CHECK = 27; /* i: waiting for 32-bit check value */\\\\nvar LENGTH = 28; /* i: waiting for 32-bit length (gzip) */\\\\nvar DONE = 29; /* finished check, done -- remain here until reset */\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar MEM = 31; /* got an inflate() memory error -- remain here until reset */\\\\nvar SYNC = 32; /* looking for synchronization bytes to restart inflate() */\\\\n\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar MAX_WBITS = 15;\\\\n/* 32K LZ77 window */\\\\nvar DEF_WBITS = MAX_WBITS;\\\\n\\\\n\\\\nfunction zswap32(q) {\\\\n return (((q >>> 24) & 0xff) +\\\\n ((q >>> 8) & 0xff00) +\\\\n ((q & 0xff00) << 8) +\\\\n ((q & 0xff) << 24));\\\\n}\\\\n\\\\n\\\\nfunction InflateState() {\\\\n this.mode = 0; /* current inflate mode */\\\\n this.last = false; /* true if processing last block */\\\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\\\\n this.havedict = false; /* true if dictionary provided */\\\\n this.flags = 0; /* gzip header method and flags (0 if zlib) */\\\\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\\\\n this.check = 0; /* protected copy of check value */\\\\n this.total = 0; /* protected copy of output count */\\\\n // TODO: may be {}\\\\n this.head = null; /* where to save gzip header information */\\\\n\\\\n /* sliding window */\\\\n this.wbits = 0; /* log base 2 of requested window size */\\\\n this.wsize = 0; /* window size or zero if not using window */\\\\n this.whave = 0; /* valid bytes in the window */\\\\n this.wnext = 0; /* window write index */\\\\n this.window = null; /* allocated sliding window, if needed */\\\\n\\\\n /* bit accumulator */\\\\n this.hold = 0; /* input bit accumulator */\\\\n this.bits = 0; /* number of bits in \\\\\\\"in\\\\\\\" */\\\\n\\\\n /* for string and stored block copying */\\\\n this.length = 0; /* literal or length of data to copy */\\\\n this.offset = 0; /* distance back to copy string from */\\\\n\\\\n /* for table and code decoding */\\\\n this.extra = 0; /* extra bits needed */\\\\n\\\\n /* fixed and dynamic code tables */\\\\n this.lencode = null; /* starting table for length/literal codes */\\\\n this.distcode = null; /* starting table for distance codes */\\\\n this.lenbits = 0; /* index bits for lencode */\\\\n this.distbits = 0; /* index bits for distcode */\\\\n\\\\n /* dynamic table building */\\\\n this.ncode = 0; /* number of code length code lengths */\\\\n this.nlen = 0; /* number of length code lengths */\\\\n this.ndist = 0; /* number of distance code lengths */\\\\n this.have = 0; /* number of code lengths in lens[] */\\\\n this.next = null; /* next available space in codes[] */\\\\n\\\\n this.lens = new utils.Buf16(320); /* temporary storage for code lengths */\\\\n this.work = new utils.Buf16(288); /* work area for code table building */\\\\n\\\\n /*\\\\n because we don't have pointers in js, we use lencode and distcode directly\\\\n as buffers so we don't need codes\\\\n */\\\\n //this.codes = new utils.Buf32(ENOUGH); /* space for code tables */\\\\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\\\\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\\\\n this.sane = 0; /* if false, allow invalid distance too far */\\\\n this.back = 0; /* bits back of last unprocessed length/lit */\\\\n this.was = 0; /* initial length of match */\\\\n}\\\\n\\\\nfunction inflateResetKeep(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n strm.total_in = strm.total_out = state.total = 0;\\\\n strm.msg = ''; /*Z_NULL*/\\\\n if (state.wrap) { /* to support ill-conceived Java test suite */\\\\n strm.adler = state.wrap & 1;\\\\n }\\\\n state.mode = HEAD;\\\\n state.last = 0;\\\\n state.havedict = 0;\\\\n state.dmax = 32768;\\\\n state.head = null/*Z_NULL*/;\\\\n state.hold = 0;\\\\n state.bits = 0;\\\\n //state.lencode = state.distcode = state.next = state.codes;\\\\n state.lencode = state.lendyn = new utils.Buf32(ENOUGH_LENS);\\\\n state.distcode = state.distdyn = new utils.Buf32(ENOUGH_DISTS);\\\\n\\\\n state.sane = 1;\\\\n state.back = -1;\\\\n //Tracev((stderr, \\\\\\\"inflate: reset\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateReset(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n state.wsize = 0;\\\\n state.whave = 0;\\\\n state.wnext = 0;\\\\n return inflateResetKeep(strm);\\\\n\\\\n}\\\\n\\\\nfunction inflateReset2(strm, windowBits) {\\\\n var wrap;\\\\n var state;\\\\n\\\\n /* get the state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n /* extract wrap request from windowBits parameter */\\\\n if (windowBits < 0) {\\\\n wrap = 0;\\\\n windowBits = -windowBits;\\\\n }\\\\n else {\\\\n wrap = (windowBits >> 4) + 1;\\\\n if (windowBits < 48) {\\\\n windowBits &= 15;\\\\n }\\\\n }\\\\n\\\\n /* set number of window bits, free window if different */\\\\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n if (state.window !== null && state.wbits !== windowBits) {\\\\n state.window = null;\\\\n }\\\\n\\\\n /* update state and reset the rest of it */\\\\n state.wrap = wrap;\\\\n state.wbits = windowBits;\\\\n return inflateReset(strm);\\\\n}\\\\n\\\\nfunction inflateInit2(strm, windowBits) {\\\\n var ret;\\\\n var state;\\\\n\\\\n if (!strm) { return Z_STREAM_ERROR; }\\\\n //strm.msg = Z_NULL; /* in case we return an error */\\\\n\\\\n state = new InflateState();\\\\n\\\\n //if (state === Z_NULL) return Z_MEM_ERROR;\\\\n //Tracev((stderr, \\\\\\\"inflate: allocated\\\\\\\\n\\\\\\\"));\\\\n strm.state = state;\\\\n state.window = null/*Z_NULL*/;\\\\n ret = inflateReset2(strm, windowBits);\\\\n if (ret !== Z_OK) {\\\\n strm.state = null/*Z_NULL*/;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateInit(strm) {\\\\n return inflateInit2(strm, DEF_WBITS);\\\\n}\\\\n\\\\n\\\\n/*\\\\n Return state with length and distance decoding tables and index sizes set to\\\\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\\\\n If BUILDFIXED is defined, then instead this routine builds the tables the\\\\n first time it's called, and returns those tables the first time and\\\\n thereafter. This reduces the size of the code by about 2K bytes, in\\\\n exchange for a little execution time. However, BUILDFIXED should not be\\\\n used for threaded applications, since the rewriting of the tables and virgin\\\\n may not be thread-safe.\\\\n */\\\\nvar virgin = true;\\\\n\\\\nvar lenfix, distfix; // We have no pointers in JS, so keep tables separate\\\\n\\\\nfunction fixedtables(state) {\\\\n /* build fixed huffman tables if first call (may not be thread safe) */\\\\n if (virgin) {\\\\n var sym;\\\\n\\\\n lenfix = new utils.Buf32(512);\\\\n distfix = new utils.Buf32(32);\\\\n\\\\n /* literal/length table */\\\\n sym = 0;\\\\n while (sym < 144) { state.lens[sym++] = 8; }\\\\n while (sym < 256) { state.lens[sym++] = 9; }\\\\n while (sym < 280) { state.lens[sym++] = 7; }\\\\n while (sym < 288) { state.lens[sym++] = 8; }\\\\n\\\\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\\\\n\\\\n /* distance table */\\\\n sym = 0;\\\\n while (sym < 32) { state.lens[sym++] = 5; }\\\\n\\\\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\\\\n\\\\n /* do this just once */\\\\n virgin = false;\\\\n }\\\\n\\\\n state.lencode = lenfix;\\\\n state.lenbits = 9;\\\\n state.distcode = distfix;\\\\n state.distbits = 5;\\\\n}\\\\n\\\\n\\\\n/*\\\\n Update the window with the last wsize (normally 32K) bytes written before\\\\n returning. If window does not exist yet, create it. This is only called\\\\n when a window is already in use, or when output has been written during this\\\\n inflate call, but the end of the deflate stream has not been reached yet.\\\\n It is also called to create a window for dictionary data when a dictionary\\\\n is loaded.\\\\n\\\\n Providing output buffers larger than 32K to inflate() should provide a speed\\\\n advantage, since only the last 32K of output is copied to the sliding window\\\\n upon return from inflate(), and since all distances after the first 32K of\\\\n output will fall in the output data, making match copies simpler and faster.\\\\n The advantage may be dependent on the size of the processor's data caches.\\\\n */\\\\nfunction updatewindow(strm, src, end, copy) {\\\\n var dist;\\\\n var state = strm.state;\\\\n\\\\n /* if it hasn't been done already, allocate space for the window */\\\\n if (state.window === null) {\\\\n state.wsize = 1 << state.wbits;\\\\n state.wnext = 0;\\\\n state.whave = 0;\\\\n\\\\n state.window = new utils.Buf8(state.wsize);\\\\n }\\\\n\\\\n /* copy state->wsize or less output bytes into the circular window */\\\\n if (copy >= state.wsize) {\\\\n utils.arraySet(state.window, src, end - state.wsize, state.wsize, 0);\\\\n state.wnext = 0;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n dist = state.wsize - state.wnext;\\\\n if (dist > copy) {\\\\n dist = copy;\\\\n }\\\\n //zmemcpy(state->window + state->wnext, end - copy, dist);\\\\n utils.arraySet(state.window, src, end - copy, dist, state.wnext);\\\\n copy -= dist;\\\\n if (copy) {\\\\n //zmemcpy(state->window, end - copy, copy);\\\\n utils.arraySet(state.window, src, end - copy, copy, 0);\\\\n state.wnext = copy;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n state.wnext += dist;\\\\n if (state.wnext === state.wsize) { state.wnext = 0; }\\\\n if (state.whave < state.wsize) { state.whave += dist; }\\\\n }\\\\n }\\\\n return 0;\\\\n}\\\\n\\\\nfunction inflate(strm, flush) {\\\\n var state;\\\\n var input, output; // input/output buffers\\\\n var next; /* next input INDEX */\\\\n var put; /* next output INDEX */\\\\n var have, left; /* available input and output */\\\\n var hold; /* bit buffer */\\\\n var bits; /* bits in bit buffer */\\\\n var _in, _out; /* save starting available input and output */\\\\n var copy; /* number of stored or match bytes to copy */\\\\n var from; /* where to copy match bytes from */\\\\n var from_source;\\\\n var here = 0; /* current decoding table entry */\\\\n var here_bits, here_op, here_val; // paked \\\\\\\"here\\\\\\\" denormalized (JS specific)\\\\n //var last; /* parent table entry */\\\\n var last_bits, last_op, last_val; // paked \\\\\\\"last\\\\\\\" denormalized (JS specific)\\\\n var len; /* length to copy for repeats, bits to drop */\\\\n var ret; /* return code */\\\\n var hbuf = new utils.Buf8(4); /* buffer for gzip header crc calculation */\\\\n var opts;\\\\n\\\\n var n; // temporary var for NEED_BITS\\\\n\\\\n var order = /* permutation of code lengths */\\\\n [ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ];\\\\n\\\\n\\\\n if (!strm || !strm.state || !strm.output ||\\\\n (!strm.input && strm.avail_in !== 0)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n state = strm.state;\\\\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\\\\n\\\\n\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n _in = have;\\\\n _out = left;\\\\n ret = Z_OK;\\\\n\\\\n inf_leave: // goto emulation\\\\n for (;;) {\\\\n switch (state.mode) {\\\\n case HEAD:\\\\n if (state.wrap === 0) {\\\\n state.mode = TYPEDO;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(16);\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\\\\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = FLAGS;\\\\n break;\\\\n }\\\\n state.flags = 0; /* expect zlib header */\\\\n if (state.head) {\\\\n state.head.done = false;\\\\n }\\\\n if (!(state.wrap & 1) || /* check if zlib header allowed */\\\\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\\\\n strm.msg = 'incorrect header check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\\\\n if (state.wbits === 0) {\\\\n state.wbits = len;\\\\n }\\\\n else if (len > state.wbits) {\\\\n strm.msg = 'invalid window size';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.dmax = 1 << len;\\\\n //Tracev((stderr, \\\\\\\"inflate: zlib header ok\\\\\\\\n\\\\\\\"));\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = hold & 0x200 ? DICTID : TYPE;\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n break;\\\\n case FLAGS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.flags = hold;\\\\n if ((state.flags & 0xff) !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.flags & 0xe000) {\\\\n strm.msg = 'unknown header flags set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.head) {\\\\n state.head.text = ((hold >> 8) & 1);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = TIME;\\\\n /* falls through */\\\\n case TIME:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.time = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC4(state.check, hold)\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n hbuf[2] = (hold >>> 16) & 0xff;\\\\n hbuf[3] = (hold >>> 24) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 4, 0);\\\\n //===\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = OS;\\\\n /* falls through */\\\\n case OS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.xflags = (hold & 0xff);\\\\n state.head.os = (hold >> 8);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = EXLEN;\\\\n /* falls through */\\\\n case EXLEN:\\\\n if (state.flags & 0x0400) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length = hold;\\\\n if (state.head) {\\\\n state.head.extra_len = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n else if (state.head) {\\\\n state.head.extra = null/*Z_NULL*/;\\\\n }\\\\n state.mode = EXTRA;\\\\n /* falls through */\\\\n case EXTRA:\\\\n if (state.flags & 0x0400) {\\\\n copy = state.length;\\\\n if (copy > have) { copy = have; }\\\\n if (copy) {\\\\n if (state.head) {\\\\n len = state.head.extra_len - state.length;\\\\n if (!state.head.extra) {\\\\n // Use untyped array for more convenient processing later\\\\n state.head.extra = new Array(state.head.extra_len);\\\\n }\\\\n utils.arraySet(\\\\n state.head.extra,\\\\n input,\\\\n next,\\\\n // extra field is limited to 65536 bytes\\\\n // - no need for additional size check\\\\n copy,\\\\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\\\\n len\\\\n );\\\\n //zmemcpy(state.head.extra + len, next,\\\\n // len + copy > state.head.extra_max ?\\\\n // state.head.extra_max - len : copy);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n state.length -= copy;\\\\n }\\\\n if (state.length) { break inf_leave; }\\\\n }\\\\n state.length = 0;\\\\n state.mode = NAME;\\\\n /* falls through */\\\\n case NAME:\\\\n if (state.flags & 0x0800) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n // TODO: 2 or 1 bytes?\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.name_max*/)) {\\\\n state.head.name += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.name = null;\\\\n }\\\\n state.length = 0;\\\\n state.mode = COMMENT;\\\\n /* falls through */\\\\n case COMMENT:\\\\n if (state.flags & 0x1000) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.comm_max*/)) {\\\\n state.head.comment += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.comment = null;\\\\n }\\\\n state.mode = HCRC;\\\\n /* falls through */\\\\n case HCRC:\\\\n if (state.flags & 0x0200) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.check & 0xffff)) {\\\\n strm.msg = 'header crc mismatch';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n if (state.head) {\\\\n state.head.hcrc = ((state.flags >> 9) & 1);\\\\n state.head.done = true;\\\\n }\\\\n strm.adler = state.check = 0;\\\\n state.mode = TYPE;\\\\n break;\\\\n case DICTID:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n strm.adler = state.check = zswap32(hold);\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = DICT;\\\\n /* falls through */\\\\n case DICT:\\\\n if (state.havedict === 0) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n return Z_NEED_DICT;\\\\n }\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = TYPE;\\\\n /* falls through */\\\\n case TYPE:\\\\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case TYPEDO:\\\\n if (state.last) {\\\\n //--- BYTEBITS() ---//\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n state.mode = CHECK;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(3); */\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.last = (hold & 0x01)/*BITS(1)*/;\\\\n //--- DROPBITS(1) ---//\\\\n hold >>>= 1;\\\\n bits -= 1;\\\\n //---//\\\\n\\\\n switch ((hold & 0x03)/*BITS(2)*/) {\\\\n case 0: /* stored block */\\\\n //Tracev((stderr, \\\\\\\"inflate: stored block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = STORED;\\\\n break;\\\\n case 1: /* fixed block */\\\\n fixedtables(state);\\\\n //Tracev((stderr, \\\\\\\"inflate: fixed codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = LEN_; /* decode codes */\\\\n if (flush === Z_TREES) {\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break inf_leave;\\\\n }\\\\n break;\\\\n case 2: /* dynamic block */\\\\n //Tracev((stderr, \\\\\\\"inflate: dynamic codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = TABLE;\\\\n break;\\\\n case 3:\\\\n strm.msg = 'invalid block type';\\\\n state.mode = BAD;\\\\n }\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break;\\\\n case STORED:\\\\n //--- BYTEBITS() ---// /* go to byte boundary */\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\\\\n strm.msg = 'invalid stored block lengths';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.length = hold & 0xffff;\\\\n //Tracev((stderr, \\\\\\\"inflate: stored length %u\\\\\\\\n\\\\\\\",\\\\n // state.length));\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = COPY_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case COPY_:\\\\n state.mode = COPY;\\\\n /* falls through */\\\\n case COPY:\\\\n copy = state.length;\\\\n if (copy) {\\\\n if (copy > have) { copy = have; }\\\\n if (copy > left) { copy = left; }\\\\n if (copy === 0) { break inf_leave; }\\\\n //--- zmemcpy(put, next, copy); ---\\\\n utils.arraySet(output, input, next, copy, put);\\\\n //---//\\\\n have -= copy;\\\\n next += copy;\\\\n left -= copy;\\\\n put += copy;\\\\n state.length -= copy;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: stored end\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break;\\\\n case TABLE:\\\\n //=== NEEDBITS(14); */\\\\n while (bits < 14) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n//#ifndef PKZIP_BUG_WORKAROUND\\\\n if (state.nlen > 286 || state.ndist > 30) {\\\\n strm.msg = 'too many length or distance symbols';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracev((stderr, \\\\\\\"inflate: table sizes ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = LENLENS;\\\\n /* falls through */\\\\n case LENLENS:\\\\n while (state.have < state.ncode) {\\\\n //=== NEEDBITS(3);\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n while (state.have < 19) {\\\\n state.lens[order[state.have++]] = 0;\\\\n }\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n //state.next = state.codes;\\\\n //state.lencode = state.next;\\\\n // Switch to use dynamic table\\\\n state.lencode = state.lendyn;\\\\n state.lenbits = 7;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\\\\n state.lenbits = opts.bits;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid code lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: code lengths ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = CODELENS;\\\\n /* falls through */\\\\n case CODELENS:\\\\n while (state.have < state.nlen + state.ndist) {\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_val < 16) {\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.lens[state.have++] = here_val;\\\\n }\\\\n else {\\\\n if (here_val === 16) {\\\\n //=== NEEDBITS(here.bits + 2);\\\\n n = here_bits + 2;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n if (state.have === 0) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n len = state.lens[state.have - 1];\\\\n copy = 3 + (hold & 0x03);//BITS(2);\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n }\\\\n else if (here_val === 17) {\\\\n //=== NEEDBITS(here.bits + 3);\\\\n n = here_bits + 3;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 3 + (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n else {\\\\n //=== NEEDBITS(here.bits + 7);\\\\n n = here_bits + 7;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 11 + (hold & 0x7f);//BITS(7);\\\\n //--- DROPBITS(7) ---//\\\\n hold >>>= 7;\\\\n bits -= 7;\\\\n //---//\\\\n }\\\\n if (state.have + copy > state.nlen + state.ndist) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n while (copy--) {\\\\n state.lens[state.have++] = len;\\\\n }\\\\n }\\\\n }\\\\n\\\\n /* handle error breaks in while */\\\\n if (state.mode === BAD) { break; }\\\\n\\\\n /* check for end-of-block code (better have one) */\\\\n if (state.lens[256] === 0) {\\\\n strm.msg = 'invalid code -- missing end-of-block';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n /* build code tables -- note: do not change the lenbits or distbits\\\\n values here (9 and 6) without reading the comments in inftrees.h\\\\n concerning the ENOUGH constants, which depend on those values */\\\\n state.lenbits = 9;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.lenbits = opts.bits;\\\\n // state.lencode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid literal/lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n state.distbits = 6;\\\\n //state.distcode.copy(state.codes);\\\\n // Switch to use dynamic table\\\\n state.distcode = state.distdyn;\\\\n opts = { bits: state.distbits };\\\\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.distbits = opts.bits;\\\\n // state.distcode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid distances set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, 'inflate: codes ok\\\\\\\\n'));\\\\n state.mode = LEN_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case LEN_:\\\\n state.mode = LEN;\\\\n /* falls through */\\\\n case LEN:\\\\n if (have >= 6 && left >= 258) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n inflate_fast(strm, _out);\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n if (state.mode === TYPE) {\\\\n state.back = -1;\\\\n }\\\\n break;\\\\n }\\\\n state.back = 0;\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if (here_bits <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_op && (here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.lencode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n state.length = here_val;\\\\n if (here_op === 0) {\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n state.mode = LIT;\\\\n break;\\\\n }\\\\n if (here_op & 32) {\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.back = -1;\\\\n state.mode = TYPE;\\\\n break;\\\\n }\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.extra = here_op & 15;\\\\n state.mode = LENEXT;\\\\n /* falls through */\\\\n case LENEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", state.length));\\\\n state.was = state.length;\\\\n state.mode = DIST;\\\\n /* falls through */\\\\n case DIST:\\\\n for (;;) {\\\\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if ((here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.distcode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.offset = here_val;\\\\n state.extra = (here_op) & 15;\\\\n state.mode = DISTEXT;\\\\n /* falls through */\\\\n case DISTEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n//#ifdef INFLATE_STRICT\\\\n if (state.offset > state.dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", state.offset));\\\\n state.mode = MATCH;\\\\n /* falls through */\\\\n case MATCH:\\\\n if (left === 0) { break inf_leave; }\\\\n copy = _out - left;\\\\n if (state.offset > copy) { /* copy from window */\\\\n copy = state.offset - copy;\\\\n if (copy > state.whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// Trace((stderr, \\\\\\\"inflate.c too far\\\\\\\\n\\\\\\\"));\\\\n// copy -= state.whave;\\\\n// if (copy > state.length) { copy = state.length; }\\\\n// if (copy > left) { copy = left; }\\\\n// left -= copy;\\\\n// state.length -= copy;\\\\n// do {\\\\n// output[put++] = 0;\\\\n// } while (--copy);\\\\n// if (state.length === 0) { state.mode = LEN; }\\\\n// break;\\\\n//#endif\\\\n }\\\\n if (copy > state.wnext) {\\\\n copy -= state.wnext;\\\\n from = state.wsize - copy;\\\\n }\\\\n else {\\\\n from = state.wnext - copy;\\\\n }\\\\n if (copy > state.length) { copy = state.length; }\\\\n from_source = state.window;\\\\n }\\\\n else { /* copy from output */\\\\n from_source = output;\\\\n from = put - state.offset;\\\\n copy = state.length;\\\\n }\\\\n if (copy > left) { copy = left; }\\\\n left -= copy;\\\\n state.length -= copy;\\\\n do {\\\\n output[put++] = from_source[from++];\\\\n } while (--copy);\\\\n if (state.length === 0) { state.mode = LEN; }\\\\n break;\\\\n case LIT:\\\\n if (left === 0) { break inf_leave; }\\\\n output[put++] = state.length;\\\\n left--;\\\\n state.mode = LEN;\\\\n break;\\\\n case CHECK:\\\\n if (state.wrap) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n // Use '|' instead of '+' to make sure that result is signed\\\\n hold |= input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n _out -= left;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (_out) {\\\\n strm.adler = state.check =\\\\n /*UPDATE(state.check, put - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\\\\n\\\\n }\\\\n _out = left;\\\\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\\\\n if ((state.flags ? hold : zswap32(hold)) !== state.check) {\\\\n strm.msg = 'incorrect data check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: check matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = LENGTH;\\\\n /* falls through */\\\\n case LENGTH:\\\\n if (state.wrap && state.flags) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.total & 0xffffffff)) {\\\\n strm.msg = 'incorrect length check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: length matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = DONE;\\\\n /* falls through */\\\\n case DONE:\\\\n ret = Z_STREAM_END;\\\\n break inf_leave;\\\\n case BAD:\\\\n ret = Z_DATA_ERROR;\\\\n break inf_leave;\\\\n case MEM:\\\\n return Z_MEM_ERROR;\\\\n case SYNC:\\\\n /* falls through */\\\\n default:\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n }\\\\n\\\\n // inf_leave <- here is real place for \\\\\\\"goto inf_leave\\\\\\\", emulated via \\\\\\\"break inf_leave\\\\\\\"\\\\n\\\\n /*\\\\n Return from inflate(), updating the total counts and the check value.\\\\n If there was no progress during the inflate() call, return a buffer\\\\n error. Call updatewindow() to create and/or update the window state.\\\\n Note: a memory error from inflate() is non-recoverable.\\\\n */\\\\n\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n\\\\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\\\\n (state.mode < CHECK || flush !== Z_FINISH))) {\\\\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n }\\\\n _in -= strm.avail_in;\\\\n _out -= strm.avail_out;\\\\n strm.total_in += _in;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (state.wrap && _out) {\\\\n strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\\\\n }\\\\n strm.data_type = state.bits + (state.last ? 64 : 0) +\\\\n (state.mode === TYPE ? 128 : 0) +\\\\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\\\\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\\\\n ret = Z_BUF_ERROR;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateEnd(strm) {\\\\n\\\\n if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n var state = strm.state;\\\\n if (state.window) {\\\\n state.window = null;\\\\n }\\\\n strm.state = null;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateGetHeader(strm, head) {\\\\n var state;\\\\n\\\\n /* check state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\\\\n\\\\n /* save header structure */\\\\n state.head = head;\\\\n head.done = false;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateSetDictionary(strm, dictionary) {\\\\n var dictLength = dictionary.length;\\\\n\\\\n var state;\\\\n var dictid;\\\\n var ret;\\\\n\\\\n /* check state */\\\\n if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n if (state.wrap !== 0 && state.mode !== DICT) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n /* check for correct dictionary identifier */\\\\n if (state.mode === DICT) {\\\\n dictid = 1; /* adler32(0, null, 0)*/\\\\n /* dictid = adler32(dictid, dictionary, dictLength); */\\\\n dictid = adler32(dictid, dictionary, dictLength, 0);\\\\n if (dictid !== state.check) {\\\\n return Z_DATA_ERROR;\\\\n }\\\\n }\\\\n /* copy dictionary to window using updatewindow(), which will amend the\\\\n existing dictionary if appropriate */\\\\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\\\\n if (ret) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n state.havedict = 1;\\\\n // Tracev((stderr, \\\\\\\"inflate: dictionary set\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nexports.inflateReset = inflateReset;\\\\nexports.inflateReset2 = inflateReset2;\\\\nexports.inflateResetKeep = inflateResetKeep;\\\\nexports.inflateInit = inflateInit;\\\\nexports.inflateInit2 = inflateInit2;\\\\nexports.inflate = inflate;\\\\nexports.inflateEnd = inflateEnd;\\\\nexports.inflateGetHeader = inflateGetHeader;\\\\nexports.inflateSetDictionary = inflateSetDictionary;\\\\nexports.inflateInfo = 'pako inflate (from Nodeca project)';\\\\n\\\\n/* Not implemented\\\\nexports.inflateCopy = inflateCopy;\\\\nexports.inflateGetDictionary = inflateGetDictionary;\\\\nexports.inflateMark = inflateMark;\\\\nexports.inflatePrime = inflatePrime;\\\\nexports.inflateSync = inflateSync;\\\\nexports.inflateSyncPoint = inflateSyncPoint;\\\\nexports.inflateUndermine = inflateUndermine;\\\\n*/\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inftrees.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inftrees.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\nvar MAXBITS = 15;\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\nvar lbase = [ /* Length codes 257..285 base */\\\\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\\\\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\\\\n];\\\\n\\\\nvar lext = [ /* Length codes 257..285 extra */\\\\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\\\\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\\\\n];\\\\n\\\\nvar dbase = [ /* Distance codes 0..29 base */\\\\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\\\\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\\\\n 8193, 12289, 16385, 24577, 0, 0\\\\n];\\\\n\\\\nvar dext = [ /* Distance codes 0..29 extra */\\\\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\\\\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\\\\n 28, 28, 29, 29, 64, 64\\\\n];\\\\n\\\\nmodule.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)\\\\n{\\\\n var bits = opts.bits;\\\\n //here = opts.here; /* table entry for duplication */\\\\n\\\\n var len = 0; /* a code's length in bits */\\\\n var sym = 0; /* index of code symbols */\\\\n var min = 0, max = 0; /* minimum and maximum code lengths */\\\\n var root = 0; /* number of index bits for root table */\\\\n var curr = 0; /* number of index bits for current table */\\\\n var drop = 0; /* code bits to drop for sub-table */\\\\n var left = 0; /* number of prefix codes available */\\\\n var used = 0; /* code entries in table used */\\\\n var huff = 0; /* Huffman code */\\\\n var incr; /* for incrementing code, index */\\\\n var fill; /* index for replicating entries */\\\\n var low; /* low bits for current root entry */\\\\n var mask; /* mask for low root bits */\\\\n var next; /* next available space in table */\\\\n var base = null; /* base value table to use */\\\\n var base_index = 0;\\\\n// var shoextra; /* extra bits table to use */\\\\n var end; /* use base and extra for symbol > end */\\\\n var count = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\\\\n var offs = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\\\\n var extra = null;\\\\n var extra_index = 0;\\\\n\\\\n var here_bits, here_op, here_val;\\\\n\\\\n /*\\\\n Process a set of code lengths to create a canonical Huffman code. The\\\\n code lengths are lens[0..codes-1]. Each length corresponds to the\\\\n symbols 0..codes-1. The Huffman code is generated by first sorting the\\\\n symbols by length from short to long, and retaining the symbol order\\\\n for codes with equal lengths. Then the code starts with all zero bits\\\\n for the first code of the shortest length, and the codes are integer\\\\n increments for the same length, and zeros are appended as the length\\\\n increases. For the deflate format, these bits are stored backwards\\\\n from their more natural integer increment ordering, and so when the\\\\n decoding tables are built in the large loop below, the integer codes\\\\n are incremented backwards.\\\\n\\\\n This routine assumes, but does not check, that all of the entries in\\\\n lens[] are in the range 0..MAXBITS. The caller must assure this.\\\\n 1..MAXBITS is interpreted as that code length. zero means that that\\\\n symbol does not occur in this code.\\\\n\\\\n The codes are sorted by computing a count of codes for each length,\\\\n creating from that a table of starting indices for each length in the\\\\n sorted table, and then entering the symbols in order in the sorted\\\\n table. The sorted table is work[], with that space being provided by\\\\n the caller.\\\\n\\\\n The length counts are used for other purposes as well, i.e. finding\\\\n the minimum and maximum length codes, determining if there are any\\\\n codes at all, checking for a valid set of lengths, and looking ahead\\\\n at length counts to determine sub-table sizes when building the\\\\n decoding tables.\\\\n */\\\\n\\\\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\\\\n for (len = 0; len <= MAXBITS; len++) {\\\\n count[len] = 0;\\\\n }\\\\n for (sym = 0; sym < codes; sym++) {\\\\n count[lens[lens_index + sym]]++;\\\\n }\\\\n\\\\n /* bound code lengths, force root to be within code lengths */\\\\n root = bits;\\\\n for (max = MAXBITS; max >= 1; max--) {\\\\n if (count[max] !== 0) { break; }\\\\n }\\\\n if (root > max) {\\\\n root = max;\\\\n }\\\\n if (max === 0) { /* no symbols to code at all */\\\\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\\\\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\\\\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n\\\\n //table.op[opts.table_index] = 64;\\\\n //table.bits[opts.table_index] = 1;\\\\n //table.val[opts.table_index++] = 0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n opts.bits = 1;\\\\n return 0; /* no symbols, but wait for decoding to report error */\\\\n }\\\\n for (min = 1; min < max; min++) {\\\\n if (count[min] !== 0) { break; }\\\\n }\\\\n if (root < min) {\\\\n root = min;\\\\n }\\\\n\\\\n /* check for an over-subscribed or incomplete set of lengths */\\\\n left = 1;\\\\n for (len = 1; len <= MAXBITS; len++) {\\\\n left <<= 1;\\\\n left -= count[len];\\\\n if (left < 0) {\\\\n return -1;\\\\n } /* over-subscribed */\\\\n }\\\\n if (left > 0 && (type === CODES || max !== 1)) {\\\\n return -1; /* incomplete set */\\\\n }\\\\n\\\\n /* generate offsets into symbol table for each length for sorting */\\\\n offs[1] = 0;\\\\n for (len = 1; len < MAXBITS; len++) {\\\\n offs[len + 1] = offs[len] + count[len];\\\\n }\\\\n\\\\n /* sort symbols by length, by symbol order within each length */\\\\n for (sym = 0; sym < codes; sym++) {\\\\n if (lens[lens_index + sym] !== 0) {\\\\n work[offs[lens[lens_index + sym]]++] = sym;\\\\n }\\\\n }\\\\n\\\\n /*\\\\n Create and fill in decoding tables. In this loop, the table being\\\\n filled is at next and has curr index bits. The code being used is huff\\\\n with length len. That code is converted to an index by dropping drop\\\\n bits off of the bottom. For codes where len is less than drop + curr,\\\\n those top drop + curr - len bits are incremented through all values to\\\\n fill the table with replicated entries.\\\\n\\\\n root is the number of index bits for the root table. When len exceeds\\\\n root, sub-tables are created pointed to by the root entry with an index\\\\n of the low root bits of huff. This is saved in low to check for when a\\\\n new sub-table should be started. drop is zero when the root table is\\\\n being filled, and drop is root when sub-tables are being filled.\\\\n\\\\n When a new sub-table is needed, it is necessary to look ahead in the\\\\n code lengths to determine what size sub-table is needed. The length\\\\n counts are used for this, and so count[] is decremented as codes are\\\\n entered in the tables.\\\\n\\\\n used keeps track of how many table entries have been allocated from the\\\\n provided *table space. It is checked for LENS and DIST tables against\\\\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\\\\n the initial root table size constants. See the comments in inftrees.h\\\\n for more information.\\\\n\\\\n sym increments through all symbols, and the loop terminates when\\\\n all codes of length max, i.e. all codes, have been processed. This\\\\n routine permits incomplete codes, so another loop after this one fills\\\\n in the rest of the decoding tables with invalid code markers.\\\\n */\\\\n\\\\n /* set up for code type */\\\\n // poor man optimization - use if-else instead of switch,\\\\n // to avoid deopts in old v8\\\\n if (type === CODES) {\\\\n base = extra = work; /* dummy value--not used */\\\\n end = 19;\\\\n\\\\n } else if (type === LENS) {\\\\n base = lbase;\\\\n base_index -= 257;\\\\n extra = lext;\\\\n extra_index -= 257;\\\\n end = 256;\\\\n\\\\n } else { /* DISTS */\\\\n base = dbase;\\\\n extra = dext;\\\\n end = -1;\\\\n }\\\\n\\\\n /* initialize opts for loop */\\\\n huff = 0; /* starting code */\\\\n sym = 0; /* starting code symbol */\\\\n len = min; /* starting code length */\\\\n next = table_index; /* current table to fill in */\\\\n curr = root; /* current table index bits */\\\\n drop = 0; /* current bits to drop from code for index */\\\\n low = -1; /* trigger new sub-table when len > root */\\\\n used = 1 << root; /* use root table entries */\\\\n mask = used - 1; /* mask for comparing low */\\\\n\\\\n /* check available table space */\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* process all codes and make table entries */\\\\n for (;;) {\\\\n /* create table entry */\\\\n here_bits = len - drop;\\\\n if (work[sym] < end) {\\\\n here_op = 0;\\\\n here_val = work[sym];\\\\n }\\\\n else if (work[sym] > end) {\\\\n here_op = extra[extra_index + work[sym]];\\\\n here_val = base[base_index + work[sym]];\\\\n }\\\\n else {\\\\n here_op = 32 + 64; /* end of block */\\\\n here_val = 0;\\\\n }\\\\n\\\\n /* replicate for those indices with low len bits equal to huff */\\\\n incr = 1 << (len - drop);\\\\n fill = 1 << curr;\\\\n min = fill; /* save offset to next table */\\\\n do {\\\\n fill -= incr;\\\\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\\\\n } while (fill !== 0);\\\\n\\\\n /* backwards increment the len-bit code huff */\\\\n incr = 1 << (len - 1);\\\\n while (huff & incr) {\\\\n incr >>= 1;\\\\n }\\\\n if (incr !== 0) {\\\\n huff &= incr - 1;\\\\n huff += incr;\\\\n } else {\\\\n huff = 0;\\\\n }\\\\n\\\\n /* go to next symbol, update count, len */\\\\n sym++;\\\\n if (--count[len] === 0) {\\\\n if (len === max) { break; }\\\\n len = lens[lens_index + work[sym]];\\\\n }\\\\n\\\\n /* create new sub-table if needed */\\\\n if (len > root && (huff & mask) !== low) {\\\\n /* if first time, transition to sub-tables */\\\\n if (drop === 0) {\\\\n drop = root;\\\\n }\\\\n\\\\n /* increment past last table */\\\\n next += min; /* here min is 1 << curr */\\\\n\\\\n /* determine length of next table */\\\\n curr = len - drop;\\\\n left = 1 << curr;\\\\n while (curr + drop < max) {\\\\n left -= count[curr + drop];\\\\n if (left <= 0) { break; }\\\\n curr++;\\\\n left <<= 1;\\\\n }\\\\n\\\\n /* check for enough space */\\\\n used += 1 << curr;\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* point entry in root table to sub-table */\\\\n low = huff & mask;\\\\n /*table.op[low] = curr;\\\\n table.bits[low] = root;\\\\n table.val[low] = next - opts.table_index;*/\\\\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\\\\n }\\\\n }\\\\n\\\\n /* fill in remaining table entry if code is incomplete (guaranteed to have\\\\n at most one remaining entry, since if the code is incomplete, the\\\\n maximum code length that was allowed to get this far is one bit) */\\\\n if (huff !== 0) {\\\\n //table.op[next + huff] = 64; /* invalid code marker */\\\\n //table.bits[next + huff] = len - drop;\\\\n //table.val[next + huff] = 0;\\\\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\\\\n }\\\\n\\\\n /* set return parameters */\\\\n //opts.table_index += used;\\\\n opts.bits = root;\\\\n return 0;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inftrees.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/messages.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/messages.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\\\\n 1: 'stream end', /* Z_STREAM_END 1 */\\\\n 0: '', /* Z_OK 0 */\\\\n '-1': 'file error', /* Z_ERRNO (-1) */\\\\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\\\\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\\\\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\\\\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\\\\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/messages.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/zstream.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/zstream.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction ZStream() {\\\\n /* next input byte */\\\\n this.input = null; // JS specific, because we have no pointers\\\\n this.next_in = 0;\\\\n /* number of bytes available at input */\\\\n this.avail_in = 0;\\\\n /* total number of input bytes read so far */\\\\n this.total_in = 0;\\\\n /* next output byte should be put there */\\\\n this.output = null; // JS specific, because we have no pointers\\\\n this.next_out = 0;\\\\n /* remaining free space at output */\\\\n this.avail_out = 0;\\\\n /* total number of bytes output so far */\\\\n this.total_out = 0;\\\\n /* last error message, NULL if no error */\\\\n this.msg = ''/*Z_NULL*/;\\\\n /* not visible by applications */\\\\n this.state = null;\\\\n /* best guess about the data type: binary or text */\\\\n this.data_type = 2/*Z_UNKNOWN*/;\\\\n /* adler32 value of the uncompressed data */\\\\n this.adler = 0;\\\\n}\\\\n\\\\nmodule.exports = ZStream;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/zstream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/process-nextick-args/index.js\\\":\\n/*!****************************************************!*\\\\\\n !*** ./node_modules/process-nextick-args/index.js ***!\\n \\\\****************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(process) {\\\\n\\\\nif (typeof process === 'undefined' ||\\\\n !process.version ||\\\\n process.version.indexOf('v0.') === 0 ||\\\\n process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\\\\n module.exports = { nextTick: nextTick };\\\\n} else {\\\\n module.exports = process\\\\n}\\\\n\\\\nfunction nextTick(fn, arg1, arg2, arg3) {\\\\n if (typeof fn !== 'function') {\\\\n throw new TypeError('\\\\\\\"callback\\\\\\\" argument must be a function');\\\\n }\\\\n var len = arguments.length;\\\\n var args, i;\\\\n switch (len) {\\\\n case 0:\\\\n case 1:\\\\n return process.nextTick(fn);\\\\n case 2:\\\\n return process.nextTick(function afterTickOne() {\\\\n fn.call(null, arg1);\\\\n });\\\\n case 3:\\\\n return process.nextTick(function afterTickTwo() {\\\\n fn.call(null, arg1, arg2);\\\\n });\\\\n case 4:\\\\n return process.nextTick(function afterTickThree() {\\\\n fn.call(null, arg1, arg2, arg3);\\\\n });\\\\n default:\\\\n args = new Array(len - 1);\\\\n i = 0;\\\\n while (i < args.length) {\\\\n args[i++] = arguments[i];\\\\n }\\\\n return process.nextTick(function afterTick() {\\\\n fn.apply(null, args);\\\\n });\\\\n }\\\\n}\\\\n\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/process-nextick-args/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/process/browser.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/process/browser.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"// shim for using process in browser\\\\nvar process = module.exports = {};\\\\n\\\\n// cached from whatever global is present so that test runners that stub it\\\\n// don't break things. But we need to wrap it in a try catch in case it is\\\\n// wrapped in strict mode code which doesn't define any globals. It's inside a\\\\n// function because try/catches deoptimize in certain engines.\\\\n\\\\nvar cachedSetTimeout;\\\\nvar cachedClearTimeout;\\\\n\\\\nfunction defaultSetTimout() {\\\\n throw new Error('setTimeout has not been defined');\\\\n}\\\\nfunction defaultClearTimeout () {\\\\n throw new Error('clearTimeout has not been defined');\\\\n}\\\\n(function () {\\\\n try {\\\\n if (typeof setTimeout === 'function') {\\\\n cachedSetTimeout = setTimeout;\\\\n } else {\\\\n cachedSetTimeout = defaultSetTimout;\\\\n }\\\\n } catch (e) {\\\\n cachedSetTimeout = defaultSetTimout;\\\\n }\\\\n try {\\\\n if (typeof clearTimeout === 'function') {\\\\n cachedClearTimeout = clearTimeout;\\\\n } else {\\\\n cachedClearTimeout = defaultClearTimeout;\\\\n }\\\\n } catch (e) {\\\\n cachedClearTimeout = defaultClearTimeout;\\\\n }\\\\n} ())\\\\nfunction runTimeout(fun) {\\\\n if (cachedSetTimeout === setTimeout) {\\\\n //normal enviroments in sane situations\\\\n return setTimeout(fun, 0);\\\\n }\\\\n // if setTimeout wasn't available but was latter defined\\\\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\\\\n cachedSetTimeout = setTimeout;\\\\n return setTimeout(fun, 0);\\\\n }\\\\n try {\\\\n // when when somebody has screwed with setTimeout but no I.E. maddness\\\\n return cachedSetTimeout(fun, 0);\\\\n } catch(e){\\\\n try {\\\\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\\\\n return cachedSetTimeout.call(null, fun, 0);\\\\n } catch(e){\\\\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\\\\n return cachedSetTimeout.call(this, fun, 0);\\\\n }\\\\n }\\\\n\\\\n\\\\n}\\\\nfunction runClearTimeout(marker) {\\\\n if (cachedClearTimeout === clearTimeout) {\\\\n //normal enviroments in sane situations\\\\n return clearTimeout(marker);\\\\n }\\\\n // if clearTimeout wasn't available but was latter defined\\\\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\\\\n cachedClearTimeout = clearTimeout;\\\\n return clearTimeout(marker);\\\\n }\\\\n try {\\\\n // when when somebody has screwed with setTimeout but no I.E. maddness\\\\n return cachedClearTimeout(marker);\\\\n } catch (e){\\\\n try {\\\\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\\\\n return cachedClearTimeout.call(null, marker);\\\\n } catch (e){\\\\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\\\\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\\\\n return cachedClearTimeout.call(this, marker);\\\\n }\\\\n }\\\\n\\\\n\\\\n\\\\n}\\\\nvar queue = [];\\\\nvar draining = false;\\\\nvar currentQueue;\\\\nvar queueIndex = -1;\\\\n\\\\nfunction cleanUpNextTick() {\\\\n if (!draining || !currentQueue) {\\\\n return;\\\\n }\\\\n draining = false;\\\\n if (currentQueue.length) {\\\\n queue = currentQueue.concat(queue);\\\\n } else {\\\\n queueIndex = -1;\\\\n }\\\\n if (queue.length) {\\\\n drainQueue();\\\\n }\\\\n}\\\\n\\\\nfunction drainQueue() {\\\\n if (draining) {\\\\n return;\\\\n }\\\\n var timeout = runTimeout(cleanUpNextTick);\\\\n draining = true;\\\\n\\\\n var len = queue.length;\\\\n while(len) {\\\\n currentQueue = queue;\\\\n queue = [];\\\\n while (++queueIndex < len) {\\\\n if (currentQueue) {\\\\n currentQueue[queueIndex].run();\\\\n }\\\\n }\\\\n queueIndex = -1;\\\\n len = queue.length;\\\\n }\\\\n currentQueue = null;\\\\n draining = false;\\\\n runClearTimeout(timeout);\\\\n}\\\\n\\\\nprocess.nextTick = function (fun) {\\\\n var args = new Array(arguments.length - 1);\\\\n if (arguments.length > 1) {\\\\n for (var i = 1; i < arguments.length; i++) {\\\\n args[i - 1] = arguments[i];\\\\n }\\\\n }\\\\n queue.push(new Item(fun, args));\\\\n if (queue.length === 1 && !draining) {\\\\n runTimeout(drainQueue);\\\\n }\\\\n};\\\\n\\\\n// v8 likes predictible objects\\\\nfunction Item(fun, array) {\\\\n this.fun = fun;\\\\n this.array = array;\\\\n}\\\\nItem.prototype.run = function () {\\\\n this.fun.apply(null, this.array);\\\\n};\\\\nprocess.title = 'browser';\\\\nprocess.browser = true;\\\\nprocess.env = {};\\\\nprocess.argv = [];\\\\nprocess.version = ''; // empty string to avoid regexp issues\\\\nprocess.versions = {};\\\\n\\\\nfunction noop() {}\\\\n\\\\nprocess.on = noop;\\\\nprocess.addListener = noop;\\\\nprocess.once = noop;\\\\nprocess.off = noop;\\\\nprocess.removeListener = noop;\\\\nprocess.removeAllListeners = noop;\\\\nprocess.emit = noop;\\\\nprocess.prependListener = noop;\\\\nprocess.prependOnceListener = noop;\\\\n\\\\nprocess.listeners = function (name) { return [] }\\\\n\\\\nprocess.binding = function (name) {\\\\n throw new Error('process.binding is not supported');\\\\n};\\\\n\\\\nprocess.cwd = function () { return '/' };\\\\nprocess.chdir = function (dir) {\\\\n throw new Error('process.chdir is not supported');\\\\n};\\\\nprocess.umask = function() { return 0; };\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/process/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/querystring-es3/decode.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/querystring-es3/decode.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\n// If obj.hasOwnProperty has been overridden, then calling\\\\n// obj.hasOwnProperty(prop) will break.\\\\n// See: https://github.com/joyent/node/issues/1707\\\\nfunction hasOwnProperty(obj, prop) {\\\\n return Object.prototype.hasOwnProperty.call(obj, prop);\\\\n}\\\\n\\\\nmodule.exports = function(qs, sep, eq, options) {\\\\n sep = sep || '&';\\\\n eq = eq || '=';\\\\n var obj = {};\\\\n\\\\n if (typeof qs !== 'string' || qs.length === 0) {\\\\n return obj;\\\\n }\\\\n\\\\n var regexp = /\\\\\\\\+/g;\\\\n qs = qs.split(sep);\\\\n\\\\n var maxKeys = 1000;\\\\n if (options && typeof options.maxKeys === 'number') {\\\\n maxKeys = options.maxKeys;\\\\n }\\\\n\\\\n var len = qs.length;\\\\n // maxKeys <= 0 means that we should not limit keys count\\\\n if (maxKeys > 0 && len > maxKeys) {\\\\n len = maxKeys;\\\\n }\\\\n\\\\n for (var i = 0; i < len; ++i) {\\\\n var x = qs[i].replace(regexp, '%20'),\\\\n idx = x.indexOf(eq),\\\\n kstr, vstr, k, v;\\\\n\\\\n if (idx >= 0) {\\\\n kstr = x.substr(0, idx);\\\\n vstr = x.substr(idx + 1);\\\\n } else {\\\\n kstr = x;\\\\n vstr = '';\\\\n }\\\\n\\\\n k = decodeURIComponent(kstr);\\\\n v = decodeURIComponent(vstr);\\\\n\\\\n if (!hasOwnProperty(obj, k)) {\\\\n obj[k] = v;\\\\n } else if (isArray(obj[k])) {\\\\n obj[k].push(v);\\\\n } else {\\\\n obj[k] = [obj[k], v];\\\\n }\\\\n }\\\\n\\\\n return obj;\\\\n};\\\\n\\\\nvar isArray = Array.isArray || function (xs) {\\\\n return Object.prototype.toString.call(xs) === '[object Array]';\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/querystring-es3/decode.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/querystring-es3/encode.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/querystring-es3/encode.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\nvar stringifyPrimitive = function(v) {\\\\n switch (typeof v) {\\\\n case 'string':\\\\n return v;\\\\n\\\\n case 'boolean':\\\\n return v ? 'true' : 'false';\\\\n\\\\n case 'number':\\\\n return isFinite(v) ? v : '';\\\\n\\\\n default:\\\\n return '';\\\\n }\\\\n};\\\\n\\\\nmodule.exports = function(obj, sep, eq, name) {\\\\n sep = sep || '&';\\\\n eq = eq || '=';\\\\n if (obj === null) {\\\\n obj = undefined;\\\\n }\\\\n\\\\n if (typeof obj === 'object') {\\\\n return map(objectKeys(obj), function(k) {\\\\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\\\\n if (isArray(obj[k])) {\\\\n return map(obj[k], function(v) {\\\\n return ks + encodeURIComponent(stringifyPrimitive(v));\\\\n }).join(sep);\\\\n } else {\\\\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\\\\n }\\\\n }).join(sep);\\\\n\\\\n }\\\\n\\\\n if (!name) return '';\\\\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\\\\n encodeURIComponent(stringifyPrimitive(obj));\\\\n};\\\\n\\\\nvar isArray = Array.isArray || function (xs) {\\\\n return Object.prototype.toString.call(xs) === '[object Array]';\\\\n};\\\\n\\\\nfunction map (xs, f) {\\\\n if (xs.map) return xs.map(f);\\\\n var res = [];\\\\n for (var i = 0; i < xs.length; i++) {\\\\n res.push(f(xs[i], i));\\\\n }\\\\n return res;\\\\n}\\\\n\\\\nvar objectKeys = Object.keys || function (obj) {\\\\n var res = [];\\\\n for (var key in obj) {\\\\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\\\\n }\\\\n return res;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/querystring-es3/encode.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/querystring-es3/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/querystring-es3/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \\\\\\\"./node_modules/querystring-es3/decode.js\\\\\\\");\\\\nexports.encode = exports.stringify = __webpack_require__(/*! ./encode */ \\\\\\\"./node_modules/querystring-es3/encode.js\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/querystring-es3/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/errors-browser.js\\\":\\n/*!********************************************************!*\\\\\\n !*** ./node_modules/readable-stream/errors-browser.js ***!\\n \\\\********************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\\\\n\\\\nvar codes = {};\\\\n\\\\nfunction createErrorType(code, message, Base) {\\\\n if (!Base) {\\\\n Base = Error;\\\\n }\\\\n\\\\n function getMessage(arg1, arg2, arg3) {\\\\n if (typeof message === 'string') {\\\\n return message;\\\\n } else {\\\\n return message(arg1, arg2, arg3);\\\\n }\\\\n }\\\\n\\\\n var NodeError =\\\\n /*#__PURE__*/\\\\n function (_Base) {\\\\n _inheritsLoose(NodeError, _Base);\\\\n\\\\n function NodeError(arg1, arg2, arg3) {\\\\n return _Base.call(this, getMessage(arg1, arg2, arg3)) || this;\\\\n }\\\\n\\\\n return NodeError;\\\\n }(Base);\\\\n\\\\n NodeError.prototype.name = Base.name;\\\\n NodeError.prototype.code = code;\\\\n codes[code] = NodeError;\\\\n} // https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js\\\\n\\\\n\\\\nfunction oneOf(expected, thing) {\\\\n if (Array.isArray(expected)) {\\\\n var len = expected.length;\\\\n expected = expected.map(function (i) {\\\\n return String(i);\\\\n });\\\\n\\\\n if (len > 2) {\\\\n return \\\\\\\"one of \\\\\\\".concat(thing, \\\\\\\" \\\\\\\").concat(expected.slice(0, len - 1).join(', '), \\\\\\\", or \\\\\\\") + expected[len - 1];\\\\n } else if (len === 2) {\\\\n return \\\\\\\"one of \\\\\\\".concat(thing, \\\\\\\" \\\\\\\").concat(expected[0], \\\\\\\" or \\\\\\\").concat(expected[1]);\\\\n } else {\\\\n return \\\\\\\"of \\\\\\\".concat(thing, \\\\\\\" \\\\\\\").concat(expected[0]);\\\\n }\\\\n } else {\\\\n return \\\\\\\"of \\\\\\\".concat(thing, \\\\\\\" \\\\\\\").concat(String(expected));\\\\n }\\\\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith\\\\n\\\\n\\\\nfunction startsWith(str, search, pos) {\\\\n return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\\\\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\\\\n\\\\n\\\\nfunction endsWith(str, search, this_len) {\\\\n if (this_len === undefined || this_len > str.length) {\\\\n this_len = str.length;\\\\n }\\\\n\\\\n return str.substring(this_len - search.length, this_len) === search;\\\\n} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes\\\\n\\\\n\\\\nfunction includes(str, search, start) {\\\\n if (typeof start !== 'number') {\\\\n start = 0;\\\\n }\\\\n\\\\n if (start + search.length > str.length) {\\\\n return false;\\\\n } else {\\\\n return str.indexOf(search, start) !== -1;\\\\n }\\\\n}\\\\n\\\\ncreateErrorType('ERR_INVALID_OPT_VALUE', function (name, value) {\\\\n return 'The value \\\\\\\"' + value + '\\\\\\\" is invalid for option \\\\\\\"' + name + '\\\\\\\"';\\\\n}, TypeError);\\\\ncreateErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {\\\\n // determiner: 'must be' or 'must not be'\\\\n var determiner;\\\\n\\\\n if (typeof expected === 'string' && startsWith(expected, 'not ')) {\\\\n determiner = 'must not be';\\\\n expected = expected.replace(/^not /, '');\\\\n } else {\\\\n determiner = 'must be';\\\\n }\\\\n\\\\n var msg;\\\\n\\\\n if (endsWith(name, ' argument')) {\\\\n // For cases like 'first argument'\\\\n msg = \\\\\\\"The \\\\\\\".concat(name, \\\\\\\" \\\\\\\").concat(determiner, \\\\\\\" \\\\\\\").concat(oneOf(expected, 'type'));\\\\n } else {\\\\n var type = includes(name, '.') ? 'property' : 'argument';\\\\n msg = \\\\\\\"The \\\\\\\\\\\\\\\"\\\\\\\".concat(name, \\\\\\\"\\\\\\\\\\\\\\\" \\\\\\\").concat(type, \\\\\\\" \\\\\\\").concat(determiner, \\\\\\\" \\\\\\\").concat(oneOf(expected, 'type'));\\\\n }\\\\n\\\\n msg += \\\\\\\". Received type \\\\\\\".concat(typeof actual);\\\\n return msg;\\\\n}, TypeError);\\\\ncreateErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF');\\\\ncreateErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) {\\\\n return 'The ' + name + ' method is not implemented';\\\\n});\\\\ncreateErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close');\\\\ncreateErrorType('ERR_STREAM_DESTROYED', function (name) {\\\\n return 'Cannot call ' + name + ' after a stream was destroyed';\\\\n});\\\\ncreateErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');\\\\ncreateErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable');\\\\ncreateErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end');\\\\ncreateErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\\\\ncreateErrorType('ERR_UNKNOWN_ENCODING', function (arg) {\\\\n return 'Unknown encoding: ' + arg;\\\\n}, TypeError);\\\\ncreateErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\\\\nmodule.exports.codes = codes;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/errors-browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_duplex.js ***!\\n \\\\************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// a duplex stream is just a stream that is both readable and writable.\\\\n// Since JS doesn't have multiple prototypal inheritance, this class\\\\n// prototypally inherits from Readable, and then parasitically from\\\\n// Writable.\\\\n\\\\n/**/\\\\n\\\\nvar objectKeys = Object.keys || function (obj) {\\\\n var keys = [];\\\\n\\\\n for (var key in obj) {\\\\n keys.push(key);\\\\n }\\\\n\\\\n return keys;\\\\n};\\\\n/**/\\\\n\\\\n\\\\nmodule.exports = Duplex;\\\\n\\\\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\n\\\\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\")(Duplex, Readable);\\\\n\\\\n{\\\\n // Allow the keys array to be GC'ed.\\\\n var keys = objectKeys(Writable.prototype);\\\\n\\\\n for (var v = 0; v < keys.length; v++) {\\\\n var method = keys[v];\\\\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\\\\n }\\\\n}\\\\n\\\\nfunction Duplex(options) {\\\\n if (!(this instanceof Duplex)) return new Duplex(options);\\\\n Readable.call(this, options);\\\\n Writable.call(this, options);\\\\n this.allowHalfOpen = true;\\\\n\\\\n if (options) {\\\\n if (options.readable === false) this.readable = false;\\\\n if (options.writable === false) this.writable = false;\\\\n\\\\n if (options.allowHalfOpen === false) {\\\\n this.allowHalfOpen = false;\\\\n this.once('end', onend);\\\\n }\\\\n }\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n});\\\\nObject.defineProperty(Duplex.prototype, 'writableBuffer', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState && this._writableState.getBuffer();\\\\n }\\\\n});\\\\nObject.defineProperty(Duplex.prototype, 'writableLength', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.length;\\\\n }\\\\n}); // the no-half-open enforcer\\\\n\\\\nfunction onend() {\\\\n // If the writable side ended, then we're ok.\\\\n if (this._writableState.ended) return; // no more data can be written.\\\\n // But allow more writes to happen in this tick.\\\\n\\\\n process.nextTick(onEndNT, this);\\\\n}\\\\n\\\\nfunction onEndNT(self) {\\\\n self.end();\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'destroyed', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n\\\\n return this._readableState.destroyed && this._writableState.destroyed;\\\\n },\\\\n set: function set(value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return;\\\\n } // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n\\\\n\\\\n this._readableState.destroyed = value;\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\":\\n/*!*****************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_passthrough.js ***!\\n \\\\*****************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// a passthrough stream.\\\\n// basically just the most minimal sort of Transform stream.\\\\n// Every written chunk gets output as-is.\\\\n\\\\n\\\\nmodule.exports = PassThrough;\\\\n\\\\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\")(PassThrough, Transform);\\\\n\\\\nfunction PassThrough(options) {\\\\n if (!(this instanceof PassThrough)) return new PassThrough(options);\\\\n Transform.call(this, options);\\\\n}\\\\n\\\\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\\\\n cb(null, chunk);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_readable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_readable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\nmodule.exports = Readable;\\\\n/**/\\\\n\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nReadable.ReadableState = ReadableState;\\\\n/**/\\\\n\\\\nvar EE = __webpack_require__(/*! events */ \\\\\\\"./node_modules/node-libs-browser/node_modules/events/events.js\\\\\\\").EventEmitter;\\\\n\\\\nvar EElistenerCount = function EElistenerCount(emitter, type) {\\\\n return emitter.listeners(type).length;\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\n\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\\\\\\\");\\\\n/**/\\\\n\\\\n\\\\nvar Buffer = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\").Buffer;\\\\n\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\n\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\n\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n/**/\\\\n\\\\n\\\\nvar debugUtil = __webpack_require__(/*! util */ 0);\\\\n\\\\nvar debug;\\\\n\\\\nif (debugUtil && debugUtil.debuglog) {\\\\n debug = debugUtil.debuglog('stream');\\\\n} else {\\\\n debug = function debug() {};\\\\n}\\\\n/**/\\\\n\\\\n\\\\nvar BufferList = __webpack_require__(/*! ./internal/streams/buffer_list */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/buffer_list.js\\\\\\\");\\\\n\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\n\\\\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/state.js\\\\\\\"),\\\\n getHighWaterMark = _require.getHighWaterMark;\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../errors */ \\\\\\\"./node_modules/readable-stream/errors-browser.js\\\\\\\").codes,\\\\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\\\\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,\\\\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\\\\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance.\\\\n\\\\n\\\\nvar StringDecoder;\\\\nvar createReadableStreamAsyncIterator;\\\\nvar from;\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\")(Readable, Stream);\\\\n\\\\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\\\\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\\\\n\\\\nfunction prependListener(emitter, event, fn) {\\\\n // Sadly this is not cacheable as some libraries bundle their own\\\\n // event emitter implementation with them.\\\\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any\\\\n // userland ones. NEVER DO THIS. This is here only because this code needs\\\\n // to continue to work with older versions of Node.js that do not include\\\\n // the prependListener() method. The goal is to eventually remove this hack.\\\\n\\\\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\\\\n}\\\\n\\\\nfunction ReadableState(options, stream, isDuplex) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n options = options || {}; // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream.\\\\n // These options can be provided separately as readableXXX and writableXXX.\\\\n\\\\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to\\\\n // make all the buffer merging and length checks go away\\\\n\\\\n this.objectMode = !!options.objectMode;\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer\\\\n // Note: 0 is a valid value, means \\\\\\\"don't call _read preemptively ever\\\\\\\"\\\\n\\\\n this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the\\\\n // linked list can remove elements from the beginning faster than\\\\n // array.shift()\\\\n\\\\n this.buffer = new BufferList();\\\\n this.length = 0;\\\\n this.pipes = null;\\\\n this.pipesCount = 0;\\\\n this.flowing = null;\\\\n this.ended = false;\\\\n this.endEmitted = false;\\\\n this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted\\\\n // immediately, or on a later tick. We set this to true at first, because\\\\n // any actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first read call.\\\\n\\\\n this.sync = true; // whenever we return null, then we set a flag to say\\\\n // that we're awaiting a 'readable' event emission.\\\\n\\\\n this.needReadable = false;\\\\n this.emittedReadable = false;\\\\n this.readableListening = false;\\\\n this.resumeScheduled = false;\\\\n this.paused = true; // Should close be emitted on destroy. Defaults to true.\\\\n\\\\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish')\\\\n\\\\n this.autoDestroy = !!options.autoDestroy; // has it been destroyed\\\\n\\\\n this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s\\\\n\\\\n this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled\\\\n\\\\n this.readingMore = false;\\\\n this.decoder = null;\\\\n this.encoding = null;\\\\n\\\\n if (options.encoding) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n this.decoder = new StringDecoder(options.encoding);\\\\n this.encoding = options.encoding;\\\\n }\\\\n}\\\\n\\\\nfunction Readable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside\\\\n // the ReadableState constructor, at least with V8 6.5\\\\n\\\\n var isDuplex = this instanceof Duplex;\\\\n this._readableState = new ReadableState(options, this, isDuplex); // legacy\\\\n\\\\n this.readable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.read === 'function') this._read = options.read;\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n}\\\\n\\\\nObject.defineProperty(Readable.prototype, 'destroyed', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n if (this._readableState === undefined) {\\\\n return false;\\\\n }\\\\n\\\\n return this._readableState.destroyed;\\\\n },\\\\n set: function set(value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._readableState) {\\\\n return;\\\\n } // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n\\\\n\\\\n this._readableState.destroyed = value;\\\\n }\\\\n});\\\\nReadable.prototype.destroy = destroyImpl.destroy;\\\\nReadable.prototype._undestroy = destroyImpl.undestroy;\\\\n\\\\nReadable.prototype._destroy = function (err, cb) {\\\\n cb(err);\\\\n}; // Manually shove something into the read() buffer.\\\\n// This returns true if the highWaterMark has not been hit yet,\\\\n// similar to how Writable.write() returns true if you should\\\\n// write() some more.\\\\n\\\\n\\\\nReadable.prototype.push = function (chunk, encoding) {\\\\n var state = this._readableState;\\\\n var skipChunkCheck;\\\\n\\\\n if (!state.objectMode) {\\\\n if (typeof chunk === 'string') {\\\\n encoding = encoding || state.defaultEncoding;\\\\n\\\\n if (encoding !== state.encoding) {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n encoding = '';\\\\n }\\\\n\\\\n skipChunkCheck = true;\\\\n }\\\\n } else {\\\\n skipChunkCheck = true;\\\\n }\\\\n\\\\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\\\\n}; // Unshift should *always* be something directly out of read()\\\\n\\\\n\\\\nReadable.prototype.unshift = function (chunk) {\\\\n return readableAddChunk(this, chunk, null, true, false);\\\\n};\\\\n\\\\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\\\\n debug('readableAddChunk', chunk);\\\\n var state = stream._readableState;\\\\n\\\\n if (chunk === null) {\\\\n state.reading = false;\\\\n onEofChunk(stream, state);\\\\n } else {\\\\n var er;\\\\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\\\\n\\\\n if (er) {\\\\n errorOrDestroy(stream, er);\\\\n } else if (state.objectMode || chunk && chunk.length > 0) {\\\\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (addToFront) {\\\\n if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);\\\\n } else if (state.ended) {\\\\n errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());\\\\n } else if (state.destroyed) {\\\\n return false;\\\\n } else {\\\\n state.reading = false;\\\\n\\\\n if (state.decoder && !encoding) {\\\\n chunk = state.decoder.write(chunk);\\\\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\\\\n } else {\\\\n addChunk(stream, state, chunk, false);\\\\n }\\\\n }\\\\n } else if (!addToFront) {\\\\n state.reading = false;\\\\n maybeReadMore(stream, state);\\\\n }\\\\n } // We can push more data if we are below the highWaterMark.\\\\n // Also, if we have no data yet, we can stand some more bytes.\\\\n // This is to work around cases where hwm=0, such as the repl.\\\\n\\\\n\\\\n return !state.ended && (state.length < state.highWaterMark || state.length === 0);\\\\n}\\\\n\\\\nfunction addChunk(stream, state, chunk, addToFront) {\\\\n if (state.flowing && state.length === 0 && !state.sync) {\\\\n state.awaitDrain = 0;\\\\n stream.emit('data', chunk);\\\\n } else {\\\\n // update the buffer info.\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\\\\n if (state.needReadable) emitReadable(stream);\\\\n }\\\\n\\\\n maybeReadMore(stream, state);\\\\n}\\\\n\\\\nfunction chunkInvalid(state, chunk) {\\\\n var er;\\\\n\\\\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\\\\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);\\\\n }\\\\n\\\\n return er;\\\\n}\\\\n\\\\nReadable.prototype.isPaused = function () {\\\\n return this._readableState.flowing === false;\\\\n}; // backwards compatibility.\\\\n\\\\n\\\\nReadable.prototype.setEncoding = function (enc) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n var decoder = new StringDecoder(enc);\\\\n this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8\\\\n\\\\n this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers:\\\\n\\\\n var p = this._readableState.buffer.head;\\\\n var content = '';\\\\n\\\\n while (p !== null) {\\\\n content += decoder.write(p.data);\\\\n p = p.next;\\\\n }\\\\n\\\\n this._readableState.buffer.clear();\\\\n\\\\n if (content !== '') this._readableState.buffer.push(content);\\\\n this._readableState.length = content.length;\\\\n return this;\\\\n}; // Don't raise the hwm > 1GB\\\\n\\\\n\\\\nvar MAX_HWM = 0x40000000;\\\\n\\\\nfunction computeNewHighWaterMark(n) {\\\\n if (n >= MAX_HWM) {\\\\n // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.\\\\n n = MAX_HWM;\\\\n } else {\\\\n // Get the next highest power of 2 to prevent increasing hwm excessively in\\\\n // tiny amounts\\\\n n--;\\\\n n |= n >>> 1;\\\\n n |= n >>> 2;\\\\n n |= n >>> 4;\\\\n n |= n >>> 8;\\\\n n |= n >>> 16;\\\\n n++;\\\\n }\\\\n\\\\n return n;\\\\n} // This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\n\\\\n\\\\nfunction howMuchToRead(n, state) {\\\\n if (n <= 0 || state.length === 0 && state.ended) return 0;\\\\n if (state.objectMode) return 1;\\\\n\\\\n if (n !== n) {\\\\n // Only flow one buffer at a time\\\\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\\\\n } // If we're asking for more than the current hwm, then raise the hwm.\\\\n\\\\n\\\\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\\\\n if (n <= state.length) return n; // Don't have enough\\\\n\\\\n if (!state.ended) {\\\\n state.needReadable = true;\\\\n return 0;\\\\n }\\\\n\\\\n return state.length;\\\\n} // you can override either this method, or the async _read(n) below.\\\\n\\\\n\\\\nReadable.prototype.read = function (n) {\\\\n debug('read', n);\\\\n n = parseInt(n, 10);\\\\n var state = this._readableState;\\\\n var nOrig = n;\\\\n if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we\\\\n // already have a bunch of data in the buffer, then just trigger\\\\n // the 'readable' event and move on.\\\\n\\\\n if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {\\\\n debug('read: emitReadable', state.length, state.ended);\\\\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\\\\n return null;\\\\n }\\\\n\\\\n n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up.\\\\n\\\\n if (n === 0 && state.ended) {\\\\n if (state.length === 0) endReadable(this);\\\\n return null;\\\\n } // All the actual chunk generation logic needs to be\\\\n // *below* the call to _read. The reason is that in certain\\\\n // synthetic stream cases, such as passthrough streams, _read\\\\n // may be a completely synchronous operation which may change\\\\n // the state of the read buffer, providing enough data when\\\\n // before there was *not* enough.\\\\n //\\\\n // So, the steps are:\\\\n // 1. Figure out what the state of things will be after we do\\\\n // a read from the buffer.\\\\n //\\\\n // 2. If that resulting state will trigger a _read, then call _read.\\\\n // Note that this may be asynchronous, or synchronous. Yes, it is\\\\n // deeply ugly to write APIs this way, but that still doesn't mean\\\\n // that the Readable class should behave improperly, as streams are\\\\n // designed to be sync/async agnostic.\\\\n // Take note if the _read call is sync or async (ie, if the read call\\\\n // has returned yet), so that we know whether or not it's safe to emit\\\\n // 'readable' etc.\\\\n //\\\\n // 3. Actually pull the requested chunks out of the buffer and return.\\\\n // if we need a readable event, then we need to do some reading.\\\\n\\\\n\\\\n var doRead = state.needReadable;\\\\n debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some\\\\n\\\\n if (state.length === 0 || state.length - n < state.highWaterMark) {\\\\n doRead = true;\\\\n debug('length less than watermark', doRead);\\\\n } // however, if we've ended, then there's no point, and if we're already\\\\n // reading, then it's unnecessary.\\\\n\\\\n\\\\n if (state.ended || state.reading) {\\\\n doRead = false;\\\\n debug('reading or ended', doRead);\\\\n } else if (doRead) {\\\\n debug('do read');\\\\n state.reading = true;\\\\n state.sync = true; // if the length is currently zero, then we *need* a readable event.\\\\n\\\\n if (state.length === 0) state.needReadable = true; // call internal read method\\\\n\\\\n this._read(state.highWaterMark);\\\\n\\\\n state.sync = false; // If _read pushed data synchronously, then `reading` will be false,\\\\n // and we need to re-evaluate how much data we can return to the user.\\\\n\\\\n if (!state.reading) n = howMuchToRead(nOrig, state);\\\\n }\\\\n\\\\n var ret;\\\\n if (n > 0) ret = fromList(n, state);else ret = null;\\\\n\\\\n if (ret === null) {\\\\n state.needReadable = state.length <= state.highWaterMark;\\\\n n = 0;\\\\n } else {\\\\n state.length -= n;\\\\n state.awaitDrain = 0;\\\\n }\\\\n\\\\n if (state.length === 0) {\\\\n // If we have nothing in the buffer, then we want to know\\\\n // as soon as we *do* get something into the buffer.\\\\n if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick.\\\\n\\\\n if (nOrig !== n && state.ended) endReadable(this);\\\\n }\\\\n\\\\n if (ret !== null) this.emit('data', ret);\\\\n return ret;\\\\n};\\\\n\\\\nfunction onEofChunk(stream, state) {\\\\n debug('onEofChunk');\\\\n if (state.ended) return;\\\\n\\\\n if (state.decoder) {\\\\n var chunk = state.decoder.end();\\\\n\\\\n if (chunk && chunk.length) {\\\\n state.buffer.push(chunk);\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n }\\\\n }\\\\n\\\\n state.ended = true;\\\\n\\\\n if (state.sync) {\\\\n // if we are sync, wait until next tick to emit the data.\\\\n // Otherwise we risk emitting data in the flow()\\\\n // the readable code triggers during a read() call\\\\n emitReadable(stream);\\\\n } else {\\\\n // emit 'readable' now to make sure it gets picked up.\\\\n state.needReadable = false;\\\\n\\\\n if (!state.emittedReadable) {\\\\n state.emittedReadable = true;\\\\n emitReadable_(stream);\\\\n }\\\\n }\\\\n} // Don't emit readable right away in sync mode, because this can trigger\\\\n// another read() call => stack overflow. This way, it might trigger\\\\n// a nextTick recursion warning, but that's not so bad.\\\\n\\\\n\\\\nfunction emitReadable(stream) {\\\\n var state = stream._readableState;\\\\n debug('emitReadable', state.needReadable, state.emittedReadable);\\\\n state.needReadable = false;\\\\n\\\\n if (!state.emittedReadable) {\\\\n debug('emitReadable', state.flowing);\\\\n state.emittedReadable = true;\\\\n process.nextTick(emitReadable_, stream);\\\\n }\\\\n}\\\\n\\\\nfunction emitReadable_(stream) {\\\\n var state = stream._readableState;\\\\n debug('emitReadable_', state.destroyed, state.length, state.ended);\\\\n\\\\n if (!state.destroyed && (state.length || state.ended)) {\\\\n stream.emit('readable');\\\\n state.emittedReadable = false;\\\\n } // The stream needs another readable event if\\\\n // 1. It is not flowing, as the flow mechanism will take\\\\n // care of it.\\\\n // 2. It is not ended.\\\\n // 3. It is below the highWaterMark, so we can schedule\\\\n // another readable later.\\\\n\\\\n\\\\n state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;\\\\n flow(stream);\\\\n} // at this point, the user has presumably seen the 'readable' event,\\\\n// and called read() to consume some data. that may have triggered\\\\n// in turn another _read(n) call, in which case reading = true if\\\\n// it's in progress.\\\\n// However, if we're not ended, or reading, and the length < hwm,\\\\n// then go ahead and try to read some more preemptively.\\\\n\\\\n\\\\nfunction maybeReadMore(stream, state) {\\\\n if (!state.readingMore) {\\\\n state.readingMore = true;\\\\n process.nextTick(maybeReadMore_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction maybeReadMore_(stream, state) {\\\\n // Attempt to read more data if we should.\\\\n //\\\\n // The conditions for reading more data are (one of):\\\\n // - Not enough data buffered (state.length < state.highWaterMark). The loop\\\\n // is responsible for filling the buffer with enough data if such data\\\\n // is available. If highWaterMark is 0 and we are not in the flowing mode\\\\n // we should _not_ attempt to buffer any extra data. We'll get more data\\\\n // when the stream consumer calls read() instead.\\\\n // - No data in the buffer, and the stream is in flowing mode. In this mode\\\\n // the loop below is responsible for ensuring read() is called. Failing to\\\\n // call read here would abort the flow and there's no other mechanism for\\\\n // continuing the flow if the stream consumer has just subscribed to the\\\\n // 'data' event.\\\\n //\\\\n // In addition to the above conditions to keep reading data, the following\\\\n // conditions prevent the data from being read:\\\\n // - The stream has ended (state.ended).\\\\n // - There is already a pending 'read' operation (state.reading). This is a\\\\n // case where the the stream has called the implementation defined _read()\\\\n // method, but they are processing the call asynchronously and have _not_\\\\n // called push() with new data. In this case we skip performing more\\\\n // read()s. The execution ends in this method again after the _read() ends\\\\n // up calling push() with more data.\\\\n while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {\\\\n var len = state.length;\\\\n debug('maybeReadMore read 0');\\\\n stream.read(0);\\\\n if (len === state.length) // didn't get any data, stop spinning.\\\\n break;\\\\n }\\\\n\\\\n state.readingMore = false;\\\\n} // abstract method. to be overridden in specific implementation classes.\\\\n// call cb(er, data) where data is <= n in length.\\\\n// for virtual (non-string, non-buffer) streams, \\\\\\\"length\\\\\\\" is somewhat\\\\n// arbitrary, and perhaps not very meaningful.\\\\n\\\\n\\\\nReadable.prototype._read = function (n) {\\\\n errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()'));\\\\n};\\\\n\\\\nReadable.prototype.pipe = function (dest, pipeOpts) {\\\\n var src = this;\\\\n var state = this._readableState;\\\\n\\\\n switch (state.pipesCount) {\\\\n case 0:\\\\n state.pipes = dest;\\\\n break;\\\\n\\\\n case 1:\\\\n state.pipes = [state.pipes, dest];\\\\n break;\\\\n\\\\n default:\\\\n state.pipes.push(dest);\\\\n break;\\\\n }\\\\n\\\\n state.pipesCount += 1;\\\\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\\\\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\\\\n var endFn = doEnd ? onend : unpipe;\\\\n if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn);\\\\n dest.on('unpipe', onunpipe);\\\\n\\\\n function onunpipe(readable, unpipeInfo) {\\\\n debug('onunpipe');\\\\n\\\\n if (readable === src) {\\\\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\\\\n unpipeInfo.hasUnpiped = true;\\\\n cleanup();\\\\n }\\\\n }\\\\n }\\\\n\\\\n function onend() {\\\\n debug('onend');\\\\n dest.end();\\\\n } // when the dest drains, it reduces the awaitDrain counter\\\\n // on the source. This would be more elegant with a .once()\\\\n // handler in flow(), but adding and removing repeatedly is\\\\n // too slow.\\\\n\\\\n\\\\n var ondrain = pipeOnDrain(src);\\\\n dest.on('drain', ondrain);\\\\n var cleanedUp = false;\\\\n\\\\n function cleanup() {\\\\n debug('cleanup'); // cleanup event handlers once the pipe is broken\\\\n\\\\n dest.removeListener('close', onclose);\\\\n dest.removeListener('finish', onfinish);\\\\n dest.removeListener('drain', ondrain);\\\\n dest.removeListener('error', onerror);\\\\n dest.removeListener('unpipe', onunpipe);\\\\n src.removeListener('end', onend);\\\\n src.removeListener('end', unpipe);\\\\n src.removeListener('data', ondata);\\\\n cleanedUp = true; // if the reader is waiting for a drain event from this\\\\n // specific writer, then it would cause it to never start\\\\n // flowing again.\\\\n // So, if this is awaiting a drain, then we just call it now.\\\\n // If we don't know, then assume that we are waiting for one.\\\\n\\\\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\\\\n }\\\\n\\\\n src.on('data', ondata);\\\\n\\\\n function ondata(chunk) {\\\\n debug('ondata');\\\\n var ret = dest.write(chunk);\\\\n debug('dest.write', ret);\\\\n\\\\n if (ret === false) {\\\\n // If the user unpiped during `dest.write()`, it is possible\\\\n // to get stuck in a permanently paused state if that write\\\\n // also returned false.\\\\n // => Check whether `dest` is still a piping destination.\\\\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\\\\n debug('false write response, pause', state.awaitDrain);\\\\n state.awaitDrain++;\\\\n }\\\\n\\\\n src.pause();\\\\n }\\\\n } // if the dest has an error, then stop piping into it.\\\\n // however, don't suppress the throwing behavior for this.\\\\n\\\\n\\\\n function onerror(er) {\\\\n debug('onerror', er);\\\\n unpipe();\\\\n dest.removeListener('error', onerror);\\\\n if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er);\\\\n } // Make sure our error handler is attached before userland ones.\\\\n\\\\n\\\\n prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once.\\\\n\\\\n function onclose() {\\\\n dest.removeListener('finish', onfinish);\\\\n unpipe();\\\\n }\\\\n\\\\n dest.once('close', onclose);\\\\n\\\\n function onfinish() {\\\\n debug('onfinish');\\\\n dest.removeListener('close', onclose);\\\\n unpipe();\\\\n }\\\\n\\\\n dest.once('finish', onfinish);\\\\n\\\\n function unpipe() {\\\\n debug('unpipe');\\\\n src.unpipe(dest);\\\\n } // tell the dest that it's being piped to\\\\n\\\\n\\\\n dest.emit('pipe', src); // start the flow if it hasn't been started already.\\\\n\\\\n if (!state.flowing) {\\\\n debug('pipe resume');\\\\n src.resume();\\\\n }\\\\n\\\\n return dest;\\\\n};\\\\n\\\\nfunction pipeOnDrain(src) {\\\\n return function pipeOnDrainFunctionResult() {\\\\n var state = src._readableState;\\\\n debug('pipeOnDrain', state.awaitDrain);\\\\n if (state.awaitDrain) state.awaitDrain--;\\\\n\\\\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\\\\n state.flowing = true;\\\\n flow(src);\\\\n }\\\\n };\\\\n}\\\\n\\\\nReadable.prototype.unpipe = function (dest) {\\\\n var state = this._readableState;\\\\n var unpipeInfo = {\\\\n hasUnpiped: false\\\\n }; // if we're not piping anywhere, then do nothing.\\\\n\\\\n if (state.pipesCount === 0) return this; // just one destination. most common case.\\\\n\\\\n if (state.pipesCount === 1) {\\\\n // passed in one, but it's not the right one.\\\\n if (dest && dest !== state.pipes) return this;\\\\n if (!dest) dest = state.pipes; // got a match.\\\\n\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n if (dest) dest.emit('unpipe', this, unpipeInfo);\\\\n return this;\\\\n } // slow case. multiple pipe destinations.\\\\n\\\\n\\\\n if (!dest) {\\\\n // remove all.\\\\n var dests = state.pipes;\\\\n var len = state.pipesCount;\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n\\\\n for (var i = 0; i < len; i++) {\\\\n dests[i].emit('unpipe', this, {\\\\n hasUnpiped: false\\\\n });\\\\n }\\\\n\\\\n return this;\\\\n } // try to find the right one.\\\\n\\\\n\\\\n var index = indexOf(state.pipes, dest);\\\\n if (index === -1) return this;\\\\n state.pipes.splice(index, 1);\\\\n state.pipesCount -= 1;\\\\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\\\\n dest.emit('unpipe', this, unpipeInfo);\\\\n return this;\\\\n}; // set up data events if they are asked for\\\\n// Ensure readable listeners eventually get something\\\\n\\\\n\\\\nReadable.prototype.on = function (ev, fn) {\\\\n var res = Stream.prototype.on.call(this, ev, fn);\\\\n var state = this._readableState;\\\\n\\\\n if (ev === 'data') {\\\\n // update readableListening so that resume() may be a no-op\\\\n // a few lines down. This is needed to support once('readable').\\\\n state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused\\\\n\\\\n if (state.flowing !== false) this.resume();\\\\n } else if (ev === 'readable') {\\\\n if (!state.endEmitted && !state.readableListening) {\\\\n state.readableListening = state.needReadable = true;\\\\n state.flowing = false;\\\\n state.emittedReadable = false;\\\\n debug('on readable', state.length, state.reading);\\\\n\\\\n if (state.length) {\\\\n emitReadable(this);\\\\n } else if (!state.reading) {\\\\n process.nextTick(nReadingNextTick, this);\\\\n }\\\\n }\\\\n }\\\\n\\\\n return res;\\\\n};\\\\n\\\\nReadable.prototype.addListener = Readable.prototype.on;\\\\n\\\\nReadable.prototype.removeListener = function (ev, fn) {\\\\n var res = Stream.prototype.removeListener.call(this, ev, fn);\\\\n\\\\n if (ev === 'readable') {\\\\n // We need to check if there is someone still listening to\\\\n // readable and reset the state. However this needs to happen\\\\n // after readable has been emitted but before I/O (nextTick) to\\\\n // support once('readable', fn) cycles. This means that calling\\\\n // resume within the same tick will have no\\\\n // effect.\\\\n process.nextTick(updateReadableListening, this);\\\\n }\\\\n\\\\n return res;\\\\n};\\\\n\\\\nReadable.prototype.removeAllListeners = function (ev) {\\\\n var res = Stream.prototype.removeAllListeners.apply(this, arguments);\\\\n\\\\n if (ev === 'readable' || ev === undefined) {\\\\n // We need to check if there is someone still listening to\\\\n // readable and reset the state. However this needs to happen\\\\n // after readable has been emitted but before I/O (nextTick) to\\\\n // support once('readable', fn) cycles. This means that calling\\\\n // resume within the same tick will have no\\\\n // effect.\\\\n process.nextTick(updateReadableListening, this);\\\\n }\\\\n\\\\n return res;\\\\n};\\\\n\\\\nfunction updateReadableListening(self) {\\\\n var state = self._readableState;\\\\n state.readableListening = self.listenerCount('readable') > 0;\\\\n\\\\n if (state.resumeScheduled && !state.paused) {\\\\n // flowing needs to be set to true now, otherwise\\\\n // the upcoming resume will not flow.\\\\n state.flowing = true; // crude way to check if we should resume\\\\n } else if (self.listenerCount('data') > 0) {\\\\n self.resume();\\\\n }\\\\n}\\\\n\\\\nfunction nReadingNextTick(self) {\\\\n debug('readable nexttick read 0');\\\\n self.read(0);\\\\n} // pause() and resume() are remnants of the legacy readable stream API\\\\n// If the user uses them, then switch into old mode.\\\\n\\\\n\\\\nReadable.prototype.resume = function () {\\\\n var state = this._readableState;\\\\n\\\\n if (!state.flowing) {\\\\n debug('resume'); // we flow only if there is no one listening\\\\n // for readable, but we still have to call\\\\n // resume()\\\\n\\\\n state.flowing = !state.readableListening;\\\\n resume(this, state);\\\\n }\\\\n\\\\n state.paused = false;\\\\n return this;\\\\n};\\\\n\\\\nfunction resume(stream, state) {\\\\n if (!state.resumeScheduled) {\\\\n state.resumeScheduled = true;\\\\n process.nextTick(resume_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction resume_(stream, state) {\\\\n debug('resume', state.reading);\\\\n\\\\n if (!state.reading) {\\\\n stream.read(0);\\\\n }\\\\n\\\\n state.resumeScheduled = false;\\\\n stream.emit('resume');\\\\n flow(stream);\\\\n if (state.flowing && !state.reading) stream.read(0);\\\\n}\\\\n\\\\nReadable.prototype.pause = function () {\\\\n debug('call pause flowing=%j', this._readableState.flowing);\\\\n\\\\n if (this._readableState.flowing !== false) {\\\\n debug('pause');\\\\n this._readableState.flowing = false;\\\\n this.emit('pause');\\\\n }\\\\n\\\\n this._readableState.paused = true;\\\\n return this;\\\\n};\\\\n\\\\nfunction flow(stream) {\\\\n var state = stream._readableState;\\\\n debug('flow', state.flowing);\\\\n\\\\n while (state.flowing && stream.read() !== null) {\\\\n ;\\\\n }\\\\n} // wrap an old-style stream as the async data source.\\\\n// This is *not* part of the readable stream interface.\\\\n// It is an ugly unfortunate mess of history.\\\\n\\\\n\\\\nReadable.prototype.wrap = function (stream) {\\\\n var _this = this;\\\\n\\\\n var state = this._readableState;\\\\n var paused = false;\\\\n stream.on('end', function () {\\\\n debug('wrapped end');\\\\n\\\\n if (state.decoder && !state.ended) {\\\\n var chunk = state.decoder.end();\\\\n if (chunk && chunk.length) _this.push(chunk);\\\\n }\\\\n\\\\n _this.push(null);\\\\n });\\\\n stream.on('data', function (chunk) {\\\\n debug('wrapped data');\\\\n if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode\\\\n\\\\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\\\\n\\\\n var ret = _this.push(chunk);\\\\n\\\\n if (!ret) {\\\\n paused = true;\\\\n stream.pause();\\\\n }\\\\n }); // proxy all the other methods.\\\\n // important when wrapping filters and duplexes.\\\\n\\\\n for (var i in stream) {\\\\n if (this[i] === undefined && typeof stream[i] === 'function') {\\\\n this[i] = function methodWrap(method) {\\\\n return function methodWrapReturnFunction() {\\\\n return stream[method].apply(stream, arguments);\\\\n };\\\\n }(i);\\\\n }\\\\n } // proxy certain important events.\\\\n\\\\n\\\\n for (var n = 0; n < kProxyEvents.length; n++) {\\\\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\\\\n } // when we try to consume some more bytes, simply unpause the\\\\n // underlying stream.\\\\n\\\\n\\\\n this._read = function (n) {\\\\n debug('wrapped _read', n);\\\\n\\\\n if (paused) {\\\\n paused = false;\\\\n stream.resume();\\\\n }\\\\n };\\\\n\\\\n return this;\\\\n};\\\\n\\\\nif (typeof Symbol === 'function') {\\\\n Readable.prototype[Symbol.asyncIterator] = function () {\\\\n if (createReadableStreamAsyncIterator === undefined) {\\\\n createReadableStreamAsyncIterator = __webpack_require__(/*! ./internal/streams/async_iterator */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/async_iterator.js\\\\\\\");\\\\n }\\\\n\\\\n return createReadableStreamAsyncIterator(this);\\\\n };\\\\n}\\\\n\\\\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState.highWaterMark;\\\\n }\\\\n});\\\\nObject.defineProperty(Readable.prototype, 'readableBuffer', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState && this._readableState.buffer;\\\\n }\\\\n});\\\\nObject.defineProperty(Readable.prototype, 'readableFlowing', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState.flowing;\\\\n },\\\\n set: function set(state) {\\\\n if (this._readableState) {\\\\n this._readableState.flowing = state;\\\\n }\\\\n }\\\\n}); // exposed for testing purposes only.\\\\n\\\\nReadable._fromList = fromList;\\\\nObject.defineProperty(Readable.prototype, 'readableLength', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState.length;\\\\n }\\\\n}); // Pluck off n bytes from an array of buffers.\\\\n// Length is the combined lengths of all the buffers in the list.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\n\\\\nfunction fromList(n, state) {\\\\n // nothing buffered\\\\n if (state.length === 0) return null;\\\\n var ret;\\\\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\\\\n // read it all, truncate the list\\\\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length);\\\\n state.buffer.clear();\\\\n } else {\\\\n // read part of list\\\\n ret = state.buffer.consume(n, state.decoder);\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction endReadable(stream) {\\\\n var state = stream._readableState;\\\\n debug('endReadable', state.endEmitted);\\\\n\\\\n if (!state.endEmitted) {\\\\n state.ended = true;\\\\n process.nextTick(endReadableNT, state, stream);\\\\n }\\\\n}\\\\n\\\\nfunction endReadableNT(state, stream) {\\\\n debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift.\\\\n\\\\n if (!state.endEmitted && state.length === 0) {\\\\n state.endEmitted = true;\\\\n stream.readable = false;\\\\n stream.emit('end');\\\\n\\\\n if (state.autoDestroy) {\\\\n // In case of duplex streams we need a way to detect\\\\n // if the writable side is ready for autoDestroy as well\\\\n var wState = stream._writableState;\\\\n\\\\n if (!wState || wState.autoDestroy && wState.finished) {\\\\n stream.destroy();\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\nif (typeof Symbol === 'function') {\\\\n Readable.from = function (iterable, opts) {\\\\n if (from === undefined) {\\\\n from = __webpack_require__(/*! ./internal/streams/from */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/from-browser.js\\\\\\\");\\\\n }\\\\n\\\\n return from(Readable, iterable, opts);\\\\n };\\\\n}\\\\n\\\\nfunction indexOf(xs, x) {\\\\n for (var i = 0, l = xs.length; i < l; i++) {\\\\n if (xs[i] === x) return i;\\\\n }\\\\n\\\\n return -1;\\\\n}\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\"), __webpack_require__(/*! ./../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_transform.js\\\":\\n/*!***************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_transform.js ***!\\n \\\\***************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// a transform stream is a readable/writable stream where you do\\\\n// something with the data. Sometimes it's called a \\\\\\\"filter\\\\\\\",\\\\n// but that's not a great name for it, since that implies a thing where\\\\n// some bits pass through, and others are simply ignored. (That would\\\\n// be a valid example of a transform, of course.)\\\\n//\\\\n// While the output is causally related to the input, it's not a\\\\n// necessarily symmetric or synchronous transformation. For example,\\\\n// a zlib stream might take multiple plain-text writes(), and then\\\\n// emit a single compressed chunk some time in the future.\\\\n//\\\\n// Here's how this works:\\\\n//\\\\n// The Transform stream has all the aspects of the readable and writable\\\\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\\\\n// internally, and returns false if there's a lot of pending writes\\\\n// buffered up. When you call read(), that calls _read(n) until\\\\n// there's enough pending readable data buffered up.\\\\n//\\\\n// In a transform stream, the written data is placed in a buffer. When\\\\n// _read(n) is called, it transforms the queued up data, calling the\\\\n// buffered _write cb's as it consumes chunks. If consuming a single\\\\n// written chunk would result in multiple output chunks, then the first\\\\n// outputted bit calls the readcb, and subsequent chunks just go into\\\\n// the read buffer, and will cause it to emit 'readable' if necessary.\\\\n//\\\\n// This way, back-pressure is actually determined by the reading side,\\\\n// since _read has to be called to start processing a new chunk. However,\\\\n// a pathological inflate type of transform can cause excessive buffering\\\\n// here. For example, imagine a stream where every byte of input is\\\\n// interpreted as an integer from 0-255, and then results in that many\\\\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\\\\n// 1kb of data being output. In this case, you could write a very small\\\\n// amount of input, and end up with a very large amount of output. In\\\\n// such a pathological inflating mechanism, there'd be no way to tell\\\\n// the system to stop doing the transform. A single 4MB write could\\\\n// cause the system to run out of memory.\\\\n//\\\\n// However, even in such a pathological case, only a single written chunk\\\\n// would be consumed, and then the rest would wait (un-transformed) until\\\\n// the results of the previous transformed chunk were consumed.\\\\n\\\\n\\\\nmodule.exports = Transform;\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../errors */ \\\\\\\"./node_modules/readable-stream/errors-browser.js\\\\\\\").codes,\\\\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\\\\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\\\\n ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,\\\\n ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;\\\\n\\\\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\")(Transform, Duplex);\\\\n\\\\nfunction afterTransform(er, data) {\\\\n var ts = this._transformState;\\\\n ts.transforming = false;\\\\n var cb = ts.writecb;\\\\n\\\\n if (cb === null) {\\\\n return this.emit('error', new ERR_MULTIPLE_CALLBACK());\\\\n }\\\\n\\\\n ts.writechunk = null;\\\\n ts.writecb = null;\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n this.push(data);\\\\n cb(er);\\\\n var rs = this._readableState;\\\\n rs.reading = false;\\\\n\\\\n if (rs.needReadable || rs.length < rs.highWaterMark) {\\\\n this._read(rs.highWaterMark);\\\\n }\\\\n}\\\\n\\\\nfunction Transform(options) {\\\\n if (!(this instanceof Transform)) return new Transform(options);\\\\n Duplex.call(this, options);\\\\n this._transformState = {\\\\n afterTransform: afterTransform.bind(this),\\\\n needTransform: false,\\\\n transforming: false,\\\\n writecb: null,\\\\n writechunk: null,\\\\n writeencoding: null\\\\n }; // start out asking for a readable event once data is transformed.\\\\n\\\\n this._readableState.needReadable = true; // we have implemented the _read method, and done the other things\\\\n // that Readable wants before the first _read call, so unset the\\\\n // sync guard flag.\\\\n\\\\n this._readableState.sync = false;\\\\n\\\\n if (options) {\\\\n if (typeof options.transform === 'function') this._transform = options.transform;\\\\n if (typeof options.flush === 'function') this._flush = options.flush;\\\\n } // When the writable side finishes, then flush out anything remaining.\\\\n\\\\n\\\\n this.on('prefinish', prefinish);\\\\n}\\\\n\\\\nfunction prefinish() {\\\\n var _this = this;\\\\n\\\\n if (typeof this._flush === 'function' && !this._readableState.destroyed) {\\\\n this._flush(function (er, data) {\\\\n done(_this, er, data);\\\\n });\\\\n } else {\\\\n done(this, null, null);\\\\n }\\\\n}\\\\n\\\\nTransform.prototype.push = function (chunk, encoding) {\\\\n this._transformState.needTransform = false;\\\\n return Duplex.prototype.push.call(this, chunk, encoding);\\\\n}; // This is the part where you do stuff!\\\\n// override this function in implementation classes.\\\\n// 'chunk' is an input chunk.\\\\n//\\\\n// Call `push(newChunk)` to pass along transformed output\\\\n// to the readable side. You may call 'push' zero or more times.\\\\n//\\\\n// Call `cb(err)` when you are done with this chunk. If you pass\\\\n// an error, then that'll put the hurt on the whole operation. If you\\\\n// never call cb(), then you'll never get another chunk.\\\\n\\\\n\\\\nTransform.prototype._transform = function (chunk, encoding, cb) {\\\\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));\\\\n};\\\\n\\\\nTransform.prototype._write = function (chunk, encoding, cb) {\\\\n var ts = this._transformState;\\\\n ts.writecb = cb;\\\\n ts.writechunk = chunk;\\\\n ts.writeencoding = encoding;\\\\n\\\\n if (!ts.transforming) {\\\\n var rs = this._readableState;\\\\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\\\\n }\\\\n}; // Doesn't matter what the args are here.\\\\n// _transform does all the work.\\\\n// That we got here means that the readable side wants more data.\\\\n\\\\n\\\\nTransform.prototype._read = function (n) {\\\\n var ts = this._transformState;\\\\n\\\\n if (ts.writechunk !== null && !ts.transforming) {\\\\n ts.transforming = true;\\\\n\\\\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\\\\n } else {\\\\n // mark that we need a transform, so that any data that comes in\\\\n // will get processed, now that we've asked for it.\\\\n ts.needTransform = true;\\\\n }\\\\n};\\\\n\\\\nTransform.prototype._destroy = function (err, cb) {\\\\n Duplex.prototype._destroy.call(this, err, function (err2) {\\\\n cb(err2);\\\\n });\\\\n};\\\\n\\\\nfunction done(stream, er, data) {\\\\n if (er) return stream.emit('error', er);\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n stream.push(data); // TODO(BridgeAR): Write a test for these two error cases\\\\n // if there's nothing in the write buffer, then that means\\\\n // that nothing more will ever be provided\\\\n\\\\n if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();\\\\n if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();\\\\n return stream.push(null);\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_writable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_writable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// A bit simpler than readable streams.\\\\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\\\\n// the drain event emission and buffering.\\\\n\\\\n\\\\nmodule.exports = Writable;\\\\n/* */\\\\n\\\\nfunction WriteReq(chunk, encoding, cb) {\\\\n this.chunk = chunk;\\\\n this.encoding = encoding;\\\\n this.callback = cb;\\\\n this.next = null;\\\\n} // It seems a linked list but it is not\\\\n// there will be only 2 of these for each stream\\\\n\\\\n\\\\nfunction CorkedRequest(state) {\\\\n var _this = this;\\\\n\\\\n this.next = null;\\\\n this.entry = null;\\\\n\\\\n this.finish = function () {\\\\n onCorkedFinish(_this, state);\\\\n };\\\\n}\\\\n/* */\\\\n\\\\n/**/\\\\n\\\\n\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nWritable.WritableState = WritableState;\\\\n/**/\\\\n\\\\nvar internalUtil = {\\\\n deprecate: __webpack_require__(/*! util-deprecate */ \\\\\\\"./node_modules/util-deprecate/browser.js\\\\\\\")\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\\\\\\\");\\\\n/**/\\\\n\\\\n\\\\nvar Buffer = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\").Buffer;\\\\n\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\n\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\n\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\n\\\\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/state.js\\\\\\\"),\\\\n getHighWaterMark = _require.getHighWaterMark;\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../errors */ \\\\\\\"./node_modules/readable-stream/errors-browser.js\\\\\\\").codes,\\\\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\\\\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\\\\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\\\\n ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,\\\\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,\\\\n ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,\\\\n ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,\\\\n ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;\\\\n\\\\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\")(Writable, Stream);\\\\n\\\\nfunction nop() {}\\\\n\\\\nfunction WritableState(options, stream, isDuplex) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n options = options || {}; // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream,\\\\n // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.\\\\n\\\\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream\\\\n // contains buffers or objects.\\\\n\\\\n this.objectMode = !!options.objectMode;\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false\\\\n // Note: 0 is a valid value, means that we always return false if\\\\n // the entire buffer is not flushed immediately on write()\\\\n\\\\n this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called\\\\n\\\\n this.finalCalled = false; // drain event flag.\\\\n\\\\n this.needDrain = false; // at the start of calling end()\\\\n\\\\n this.ending = false; // when end() has been called, and returned\\\\n\\\\n this.ended = false; // when 'finish' is emitted\\\\n\\\\n this.finished = false; // has it been destroyed\\\\n\\\\n this.destroyed = false; // should we decode strings into buffers before passing to _write?\\\\n // this is here so that some node-core streams can optimize string\\\\n // handling at a lower level.\\\\n\\\\n var noDecode = options.decodeStrings === false;\\\\n this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement\\\\n // of how much we're waiting to get pushed to some underlying\\\\n // socket or file.\\\\n\\\\n this.length = 0; // a flag to see when we're in the middle of a write.\\\\n\\\\n this.writing = false; // when true all writes will be buffered until .uncork() call\\\\n\\\\n this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately,\\\\n // or on a later tick. We set this to true at first, because any\\\\n // actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first write call.\\\\n\\\\n this.sync = true; // a flag to know if we're processing previously buffered items, which\\\\n // may call the _write() callback in the same tick, so that we don't\\\\n // end up in an overlapped onwrite situation.\\\\n\\\\n this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb)\\\\n\\\\n this.onwrite = function (er) {\\\\n onwrite(stream, er);\\\\n }; // the callback that the user supplies to write(chunk,encoding,cb)\\\\n\\\\n\\\\n this.writecb = null; // the amount that is being written when _write is called.\\\\n\\\\n this.writelen = 0;\\\\n this.bufferedRequest = null;\\\\n this.lastBufferedRequest = null; // number of pending user-supplied write callbacks\\\\n // this must be 0 before 'finish' can be emitted\\\\n\\\\n this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs\\\\n // This is relevant for synchronous Transform streams\\\\n\\\\n this.prefinished = false; // True if the error was already emitted and should not be thrown again\\\\n\\\\n this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true.\\\\n\\\\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end')\\\\n\\\\n this.autoDestroy = !!options.autoDestroy; // count buffered requests\\\\n\\\\n this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always\\\\n // one allocated and free to use, and we maintain at most two\\\\n\\\\n this.corkedRequestsFree = new CorkedRequest(this);\\\\n}\\\\n\\\\nWritableState.prototype.getBuffer = function getBuffer() {\\\\n var current = this.bufferedRequest;\\\\n var out = [];\\\\n\\\\n while (current) {\\\\n out.push(current);\\\\n current = current.next;\\\\n }\\\\n\\\\n return out;\\\\n};\\\\n\\\\n(function () {\\\\n try {\\\\n Object.defineProperty(WritableState.prototype, 'buffer', {\\\\n get: internalUtil.deprecate(function writableStateBufferGetter() {\\\\n return this.getBuffer();\\\\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\\\\n });\\\\n } catch (_) {}\\\\n})(); // Test _writableState for inheritance to account for Duplex streams,\\\\n// whose prototype chain only points to Readable.\\\\n\\\\n\\\\nvar realHasInstance;\\\\n\\\\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\\\\n realHasInstance = Function.prototype[Symbol.hasInstance];\\\\n Object.defineProperty(Writable, Symbol.hasInstance, {\\\\n value: function value(object) {\\\\n if (realHasInstance.call(this, object)) return true;\\\\n if (this !== Writable) return false;\\\\n return object && object._writableState instanceof WritableState;\\\\n }\\\\n });\\\\n} else {\\\\n realHasInstance = function realHasInstance(object) {\\\\n return object instanceof this;\\\\n };\\\\n}\\\\n\\\\nfunction Writable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\"); // Writable ctor is applied to Duplexes, too.\\\\n // `realHasInstance` is necessary because using plain `instanceof`\\\\n // would return false, as no `_writableState` property is attached.\\\\n // Trying to use the custom `instanceof` for Writable here will also break the\\\\n // Node.js LazyTransform implementation, which has a non-trivial getter for\\\\n // `_writableState` that would lead to infinite recursion.\\\\n // Checking for a Stream.Duplex instance is faster here instead of inside\\\\n // the WritableState constructor, at least with V8 6.5\\\\n\\\\n var isDuplex = this instanceof Duplex;\\\\n if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);\\\\n this._writableState = new WritableState(options, this, isDuplex); // legacy.\\\\n\\\\n this.writable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.write === 'function') this._write = options.write;\\\\n if (typeof options.writev === 'function') this._writev = options.writev;\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n if (typeof options.final === 'function') this._final = options.final;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n} // Otherwise people can pipe Writable streams, which is just wrong.\\\\n\\\\n\\\\nWritable.prototype.pipe = function () {\\\\n errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());\\\\n};\\\\n\\\\nfunction writeAfterEnd(stream, cb) {\\\\n var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb\\\\n\\\\n errorOrDestroy(stream, er);\\\\n process.nextTick(cb, er);\\\\n} // Checks that a user-supplied chunk is valid, especially for the particular\\\\n// mode the stream is in. Currently this means that `null` is never accepted\\\\n// and undefined/non-string values are only allowed in object mode.\\\\n\\\\n\\\\nfunction validChunk(stream, state, chunk, cb) {\\\\n var er;\\\\n\\\\n if (chunk === null) {\\\\n er = new ERR_STREAM_NULL_VALUES();\\\\n } else if (typeof chunk !== 'string' && !state.objectMode) {\\\\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);\\\\n }\\\\n\\\\n if (er) {\\\\n errorOrDestroy(stream, er);\\\\n process.nextTick(cb, er);\\\\n return false;\\\\n }\\\\n\\\\n return true;\\\\n}\\\\n\\\\nWritable.prototype.write = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n var ret = false;\\\\n\\\\n var isBuf = !state.objectMode && _isUint8Array(chunk);\\\\n\\\\n if (isBuf && !Buffer.isBuffer(chunk)) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\\\\n if (typeof cb !== 'function') cb = nop;\\\\n if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\\\\n state.pendingcb++;\\\\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\\\\n }\\\\n return ret;\\\\n};\\\\n\\\\nWritable.prototype.cork = function () {\\\\n this._writableState.corked++;\\\\n};\\\\n\\\\nWritable.prototype.uncork = function () {\\\\n var state = this._writableState;\\\\n\\\\n if (state.corked) {\\\\n state.corked--;\\\\n if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\\\\n }\\\\n};\\\\n\\\\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\\\\n // node::ParseEncoding() requires lower case.\\\\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\\\\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding);\\\\n this._writableState.defaultEncoding = encoding;\\\\n return this;\\\\n};\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableBuffer', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState && this._writableState.getBuffer();\\\\n }\\\\n});\\\\n\\\\nfunction decodeChunk(state, chunk, encoding) {\\\\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n }\\\\n\\\\n return chunk;\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n}); // if we're already writing something, then just put this\\\\n// in the queue, and wait our turn. Otherwise, call _write\\\\n// If we return false, then we need a drain event, so set that flag.\\\\n\\\\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\\\\n if (!isBuf) {\\\\n var newChunk = decodeChunk(state, chunk, encoding);\\\\n\\\\n if (chunk !== newChunk) {\\\\n isBuf = true;\\\\n encoding = 'buffer';\\\\n chunk = newChunk;\\\\n }\\\\n }\\\\n\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n state.length += len;\\\\n var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false.\\\\n\\\\n if (!ret) state.needDrain = true;\\\\n\\\\n if (state.writing || state.corked) {\\\\n var last = state.lastBufferedRequest;\\\\n state.lastBufferedRequest = {\\\\n chunk: chunk,\\\\n encoding: encoding,\\\\n isBuf: isBuf,\\\\n callback: cb,\\\\n next: null\\\\n };\\\\n\\\\n if (last) {\\\\n last.next = state.lastBufferedRequest;\\\\n } else {\\\\n state.bufferedRequest = state.lastBufferedRequest;\\\\n }\\\\n\\\\n state.bufferedRequestCount += 1;\\\\n } else {\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n }\\\\n\\\\n return ret;\\\\n}\\\\n\\\\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\\\\n state.writelen = len;\\\\n state.writecb = cb;\\\\n state.writing = true;\\\\n state.sync = true;\\\\n if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\\\\n state.sync = false;\\\\n}\\\\n\\\\nfunction onwriteError(stream, state, sync, er, cb) {\\\\n --state.pendingcb;\\\\n\\\\n if (sync) {\\\\n // defer the callback if we are being called synchronously\\\\n // to avoid piling up things on the stack\\\\n process.nextTick(cb, er); // this can emit finish, and it will always happen\\\\n // after error\\\\n\\\\n process.nextTick(finishMaybe, stream, state);\\\\n stream._writableState.errorEmitted = true;\\\\n errorOrDestroy(stream, er);\\\\n } else {\\\\n // the caller expect this to happen before if\\\\n // it is async\\\\n cb(er);\\\\n stream._writableState.errorEmitted = true;\\\\n errorOrDestroy(stream, er); // this can emit finish, but finish must\\\\n // always follow error\\\\n\\\\n finishMaybe(stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction onwriteStateUpdate(state) {\\\\n state.writing = false;\\\\n state.writecb = null;\\\\n state.length -= state.writelen;\\\\n state.writelen = 0;\\\\n}\\\\n\\\\nfunction onwrite(stream, er) {\\\\n var state = stream._writableState;\\\\n var sync = state.sync;\\\\n var cb = state.writecb;\\\\n if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK();\\\\n onwriteStateUpdate(state);\\\\n if (er) onwriteError(stream, state, sync, er, cb);else {\\\\n // Check if we're actually ready to finish, but don't emit yet\\\\n var finished = needFinish(state) || stream.destroyed;\\\\n\\\\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\\\\n clearBuffer(stream, state);\\\\n }\\\\n\\\\n if (sync) {\\\\n process.nextTick(afterWrite, stream, state, finished, cb);\\\\n } else {\\\\n afterWrite(stream, state, finished, cb);\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction afterWrite(stream, state, finished, cb) {\\\\n if (!finished) onwriteDrain(stream, state);\\\\n state.pendingcb--;\\\\n cb();\\\\n finishMaybe(stream, state);\\\\n} // Must force callback to be called on nextTick, so that we don't\\\\n// emit 'drain' before the write() consumer gets the 'false' return\\\\n// value, and has a chance to attach a 'drain' listener.\\\\n\\\\n\\\\nfunction onwriteDrain(stream, state) {\\\\n if (state.length === 0 && state.needDrain) {\\\\n state.needDrain = false;\\\\n stream.emit('drain');\\\\n }\\\\n} // if there's something in the buffer waiting, then process it\\\\n\\\\n\\\\nfunction clearBuffer(stream, state) {\\\\n state.bufferProcessing = true;\\\\n var entry = state.bufferedRequest;\\\\n\\\\n if (stream._writev && entry && entry.next) {\\\\n // Fast case, write everything using _writev()\\\\n var l = state.bufferedRequestCount;\\\\n var buffer = new Array(l);\\\\n var holder = state.corkedRequestsFree;\\\\n holder.entry = entry;\\\\n var count = 0;\\\\n var allBuffers = true;\\\\n\\\\n while (entry) {\\\\n buffer[count] = entry;\\\\n if (!entry.isBuf) allBuffers = false;\\\\n entry = entry.next;\\\\n count += 1;\\\\n }\\\\n\\\\n buffer.allBuffers = allBuffers;\\\\n doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time\\\\n // as the hot path ends with doWrite\\\\n\\\\n state.pendingcb++;\\\\n state.lastBufferedRequest = null;\\\\n\\\\n if (holder.next) {\\\\n state.corkedRequestsFree = holder.next;\\\\n holder.next = null;\\\\n } else {\\\\n state.corkedRequestsFree = new CorkedRequest(state);\\\\n }\\\\n\\\\n state.bufferedRequestCount = 0;\\\\n } else {\\\\n // Slow case, write chunks one-by-one\\\\n while (entry) {\\\\n var chunk = entry.chunk;\\\\n var encoding = entry.encoding;\\\\n var cb = entry.callback;\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n entry = entry.next;\\\\n state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then\\\\n // it means that we need to wait until it does.\\\\n // also, that means that the chunk and cb are currently\\\\n // being processed, so move the buffer counter past them.\\\\n\\\\n if (state.writing) {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (entry === null) state.lastBufferedRequest = null;\\\\n }\\\\n\\\\n state.bufferedRequest = entry;\\\\n state.bufferProcessing = false;\\\\n}\\\\n\\\\nWritable.prototype._write = function (chunk, encoding, cb) {\\\\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()'));\\\\n};\\\\n\\\\nWritable.prototype._writev = null;\\\\n\\\\nWritable.prototype.end = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n\\\\n if (typeof chunk === 'function') {\\\\n cb = chunk;\\\\n chunk = null;\\\\n encoding = null;\\\\n } else if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks\\\\n\\\\n if (state.corked) {\\\\n state.corked = 1;\\\\n this.uncork();\\\\n } // ignore unnecessary end() calls.\\\\n\\\\n\\\\n if (!state.ending) endWritable(this, state, cb);\\\\n return this;\\\\n};\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableLength', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.length;\\\\n }\\\\n});\\\\n\\\\nfunction needFinish(state) {\\\\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\\\\n}\\\\n\\\\nfunction callFinal(stream, state) {\\\\n stream._final(function (err) {\\\\n state.pendingcb--;\\\\n\\\\n if (err) {\\\\n errorOrDestroy(stream, err);\\\\n }\\\\n\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n finishMaybe(stream, state);\\\\n });\\\\n}\\\\n\\\\nfunction prefinish(stream, state) {\\\\n if (!state.prefinished && !state.finalCalled) {\\\\n if (typeof stream._final === 'function' && !state.destroyed) {\\\\n state.pendingcb++;\\\\n state.finalCalled = true;\\\\n process.nextTick(callFinal, stream, state);\\\\n } else {\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction finishMaybe(stream, state) {\\\\n var need = needFinish(state);\\\\n\\\\n if (need) {\\\\n prefinish(stream, state);\\\\n\\\\n if (state.pendingcb === 0) {\\\\n state.finished = true;\\\\n stream.emit('finish');\\\\n\\\\n if (state.autoDestroy) {\\\\n // In case of duplex streams we need a way to detect\\\\n // if the readable side is ready for autoDestroy as well\\\\n var rState = stream._readableState;\\\\n\\\\n if (!rState || rState.autoDestroy && rState.endEmitted) {\\\\n stream.destroy();\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n return need;\\\\n}\\\\n\\\\nfunction endWritable(stream, state, cb) {\\\\n state.ending = true;\\\\n finishMaybe(stream, state);\\\\n\\\\n if (cb) {\\\\n if (state.finished) process.nextTick(cb);else stream.once('finish', cb);\\\\n }\\\\n\\\\n state.ended = true;\\\\n stream.writable = false;\\\\n}\\\\n\\\\nfunction onCorkedFinish(corkReq, state, err) {\\\\n var entry = corkReq.entry;\\\\n corkReq.entry = null;\\\\n\\\\n while (entry) {\\\\n var cb = entry.callback;\\\\n state.pendingcb--;\\\\n cb(err);\\\\n entry = entry.next;\\\\n } // reuse the free corkReq.\\\\n\\\\n\\\\n state.corkedRequestsFree.next = corkReq;\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'destroyed', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n if (this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n\\\\n return this._writableState.destroyed;\\\\n },\\\\n set: function set(value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._writableState) {\\\\n return;\\\\n } // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n\\\\n\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\nWritable.prototype.destroy = destroyImpl.destroy;\\\\nWritable.prototype._undestroy = destroyImpl.undestroy;\\\\n\\\\nWritable.prototype._destroy = function (err, cb) {\\\\n cb(err);\\\\n};\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\"), __webpack_require__(/*! ./../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/async_iterator.js\\\":\\n/*!*****************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/async_iterator.js ***!\\n \\\\*****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(process) {\\\\n\\\\nvar _Object$setPrototypeO;\\\\n\\\\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\\\\n\\\\nvar finished = __webpack_require__(/*! ./end-of-stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\\\\\");\\\\n\\\\nvar kLastResolve = Symbol('lastResolve');\\\\nvar kLastReject = Symbol('lastReject');\\\\nvar kError = Symbol('error');\\\\nvar kEnded = Symbol('ended');\\\\nvar kLastPromise = Symbol('lastPromise');\\\\nvar kHandlePromise = Symbol('handlePromise');\\\\nvar kStream = Symbol('stream');\\\\n\\\\nfunction createIterResult(value, done) {\\\\n return {\\\\n value: value,\\\\n done: done\\\\n };\\\\n}\\\\n\\\\nfunction readAndResolve(iter) {\\\\n var resolve = iter[kLastResolve];\\\\n\\\\n if (resolve !== null) {\\\\n var data = iter[kStream].read(); // we defer if data is null\\\\n // we can be expecting either 'end' or\\\\n // 'error'\\\\n\\\\n if (data !== null) {\\\\n iter[kLastPromise] = null;\\\\n iter[kLastResolve] = null;\\\\n iter[kLastReject] = null;\\\\n resolve(createIterResult(data, false));\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction onReadable(iter) {\\\\n // we wait for the next tick, because it might\\\\n // emit an error with process.nextTick\\\\n process.nextTick(readAndResolve, iter);\\\\n}\\\\n\\\\nfunction wrapForNext(lastPromise, iter) {\\\\n return function (resolve, reject) {\\\\n lastPromise.then(function () {\\\\n if (iter[kEnded]) {\\\\n resolve(createIterResult(undefined, true));\\\\n return;\\\\n }\\\\n\\\\n iter[kHandlePromise](resolve, reject);\\\\n }, reject);\\\\n };\\\\n}\\\\n\\\\nvar AsyncIteratorPrototype = Object.getPrototypeOf(function () {});\\\\nvar ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {\\\\n get stream() {\\\\n return this[kStream];\\\\n },\\\\n\\\\n next: function next() {\\\\n var _this = this;\\\\n\\\\n // if we have detected an error in the meanwhile\\\\n // reject straight away\\\\n var error = this[kError];\\\\n\\\\n if (error !== null) {\\\\n return Promise.reject(error);\\\\n }\\\\n\\\\n if (this[kEnded]) {\\\\n return Promise.resolve(createIterResult(undefined, true));\\\\n }\\\\n\\\\n if (this[kStream].destroyed) {\\\\n // We need to defer via nextTick because if .destroy(err) is\\\\n // called, the error will be emitted via nextTick, and\\\\n // we cannot guarantee that there is no error lingering around\\\\n // waiting to be emitted.\\\\n return new Promise(function (resolve, reject) {\\\\n process.nextTick(function () {\\\\n if (_this[kError]) {\\\\n reject(_this[kError]);\\\\n } else {\\\\n resolve(createIterResult(undefined, true));\\\\n }\\\\n });\\\\n });\\\\n } // if we have multiple next() calls\\\\n // we will wait for the previous Promise to finish\\\\n // this logic is optimized to support for await loops,\\\\n // where next() is only called once at a time\\\\n\\\\n\\\\n var lastPromise = this[kLastPromise];\\\\n var promise;\\\\n\\\\n if (lastPromise) {\\\\n promise = new Promise(wrapForNext(lastPromise, this));\\\\n } else {\\\\n // fast path needed to support multiple this.push()\\\\n // without triggering the next() queue\\\\n var data = this[kStream].read();\\\\n\\\\n if (data !== null) {\\\\n return Promise.resolve(createIterResult(data, false));\\\\n }\\\\n\\\\n promise = new Promise(this[kHandlePromise]);\\\\n }\\\\n\\\\n this[kLastPromise] = promise;\\\\n return promise;\\\\n }\\\\n}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {\\\\n return this;\\\\n}), _defineProperty(_Object$setPrototypeO, \\\\\\\"return\\\\\\\", function _return() {\\\\n var _this2 = this;\\\\n\\\\n // destroy(err, cb) is a private API\\\\n // we can guarantee we have that here, because we control the\\\\n // Readable class this is attached to\\\\n return new Promise(function (resolve, reject) {\\\\n _this2[kStream].destroy(null, function (err) {\\\\n if (err) {\\\\n reject(err);\\\\n return;\\\\n }\\\\n\\\\n resolve(createIterResult(undefined, true));\\\\n });\\\\n });\\\\n}), _Object$setPrototypeO), AsyncIteratorPrototype);\\\\n\\\\nvar createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {\\\\n var _Object$create;\\\\n\\\\n var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {\\\\n value: stream,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kLastResolve, {\\\\n value: null,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kLastReject, {\\\\n value: null,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kError, {\\\\n value: null,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kEnded, {\\\\n value: stream._readableState.endEmitted,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kHandlePromise, {\\\\n value: function value(resolve, reject) {\\\\n var data = iterator[kStream].read();\\\\n\\\\n if (data) {\\\\n iterator[kLastPromise] = null;\\\\n iterator[kLastResolve] = null;\\\\n iterator[kLastReject] = null;\\\\n resolve(createIterResult(data, false));\\\\n } else {\\\\n iterator[kLastResolve] = resolve;\\\\n iterator[kLastReject] = reject;\\\\n }\\\\n },\\\\n writable: true\\\\n }), _Object$create));\\\\n iterator[kLastPromise] = null;\\\\n finished(stream, function (err) {\\\\n if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {\\\\n var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise\\\\n // returned by next() and store the error\\\\n\\\\n if (reject !== null) {\\\\n iterator[kLastPromise] = null;\\\\n iterator[kLastResolve] = null;\\\\n iterator[kLastReject] = null;\\\\n reject(err);\\\\n }\\\\n\\\\n iterator[kError] = err;\\\\n return;\\\\n }\\\\n\\\\n var resolve = iterator[kLastResolve];\\\\n\\\\n if (resolve !== null) {\\\\n iterator[kLastPromise] = null;\\\\n iterator[kLastResolve] = null;\\\\n iterator[kLastReject] = null;\\\\n resolve(createIterResult(undefined, true));\\\\n }\\\\n\\\\n iterator[kEnded] = true;\\\\n });\\\\n stream.on('readable', onReadable.bind(null, iterator));\\\\n return iterator;\\\\n};\\\\n\\\\nmodule.exports = createReadableStreamAsyncIterator;\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/async_iterator.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/buffer_list.js\\\":\\n/*!**************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/buffer_list.js ***!\\n \\\\**************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\\\\n\\\\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\\\\n\\\\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\\\\n\\\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\\\\\"Cannot call a class as a function\\\\\\\"); } }\\\\n\\\\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\\\\\\\"value\\\\\\\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\\\\n\\\\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\\\\n\\\\nvar _require = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\"),\\\\n Buffer = _require.Buffer;\\\\n\\\\nvar _require2 = __webpack_require__(/*! util */ 1),\\\\n inspect = _require2.inspect;\\\\n\\\\nvar custom = inspect && inspect.custom || 'inspect';\\\\n\\\\nfunction copyBuffer(src, target, offset) {\\\\n Buffer.prototype.copy.call(src, target, offset);\\\\n}\\\\n\\\\nmodule.exports =\\\\n/*#__PURE__*/\\\\nfunction () {\\\\n function BufferList() {\\\\n _classCallCheck(this, BufferList);\\\\n\\\\n this.head = null;\\\\n this.tail = null;\\\\n this.length = 0;\\\\n }\\\\n\\\\n _createClass(BufferList, [{\\\\n key: \\\\\\\"push\\\\\\\",\\\\n value: function push(v) {\\\\n var entry = {\\\\n data: v,\\\\n next: null\\\\n };\\\\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\\\\n this.tail = entry;\\\\n ++this.length;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"unshift\\\\\\\",\\\\n value: function unshift(v) {\\\\n var entry = {\\\\n data: v,\\\\n next: this.head\\\\n };\\\\n if (this.length === 0) this.tail = entry;\\\\n this.head = entry;\\\\n ++this.length;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"shift\\\\\\\",\\\\n value: function shift() {\\\\n if (this.length === 0) return;\\\\n var ret = this.head.data;\\\\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\\\\n --this.length;\\\\n return ret;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"clear\\\\\\\",\\\\n value: function clear() {\\\\n this.head = this.tail = null;\\\\n this.length = 0;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"join\\\\\\\",\\\\n value: function join(s) {\\\\n if (this.length === 0) return '';\\\\n var p = this.head;\\\\n var ret = '' + p.data;\\\\n\\\\n while (p = p.next) {\\\\n ret += s + p.data;\\\\n }\\\\n\\\\n return ret;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"concat\\\\\\\",\\\\n value: function concat(n) {\\\\n if (this.length === 0) return Buffer.alloc(0);\\\\n var ret = Buffer.allocUnsafe(n >>> 0);\\\\n var p = this.head;\\\\n var i = 0;\\\\n\\\\n while (p) {\\\\n copyBuffer(p.data, ret, i);\\\\n i += p.data.length;\\\\n p = p.next;\\\\n }\\\\n\\\\n return ret;\\\\n } // Consumes a specified amount of bytes or characters from the buffered data.\\\\n\\\\n }, {\\\\n key: \\\\\\\"consume\\\\\\\",\\\\n value: function consume(n, hasStrings) {\\\\n var ret;\\\\n\\\\n if (n < this.head.data.length) {\\\\n // `slice` is the same for buffers and strings.\\\\n ret = this.head.data.slice(0, n);\\\\n this.head.data = this.head.data.slice(n);\\\\n } else if (n === this.head.data.length) {\\\\n // First chunk is a perfect match.\\\\n ret = this.shift();\\\\n } else {\\\\n // Result spans more than one buffer.\\\\n ret = hasStrings ? this._getString(n) : this._getBuffer(n);\\\\n }\\\\n\\\\n return ret;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"first\\\\\\\",\\\\n value: function first() {\\\\n return this.head.data;\\\\n } // Consumes a specified amount of characters from the buffered data.\\\\n\\\\n }, {\\\\n key: \\\\\\\"_getString\\\\\\\",\\\\n value: function _getString(n) {\\\\n var p = this.head;\\\\n var c = 1;\\\\n var ret = p.data;\\\\n n -= ret.length;\\\\n\\\\n while (p = p.next) {\\\\n var str = p.data;\\\\n var nb = n > str.length ? str.length : n;\\\\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\\\\n n -= nb;\\\\n\\\\n if (n === 0) {\\\\n if (nb === str.length) {\\\\n ++c;\\\\n if (p.next) this.head = p.next;else this.head = this.tail = null;\\\\n } else {\\\\n this.head = p;\\\\n p.data = str.slice(nb);\\\\n }\\\\n\\\\n break;\\\\n }\\\\n\\\\n ++c;\\\\n }\\\\n\\\\n this.length -= c;\\\\n return ret;\\\\n } // Consumes a specified amount of bytes from the buffered data.\\\\n\\\\n }, {\\\\n key: \\\\\\\"_getBuffer\\\\\\\",\\\\n value: function _getBuffer(n) {\\\\n var ret = Buffer.allocUnsafe(n);\\\\n var p = this.head;\\\\n var c = 1;\\\\n p.data.copy(ret);\\\\n n -= p.data.length;\\\\n\\\\n while (p = p.next) {\\\\n var buf = p.data;\\\\n var nb = n > buf.length ? buf.length : n;\\\\n buf.copy(ret, ret.length - n, 0, nb);\\\\n n -= nb;\\\\n\\\\n if (n === 0) {\\\\n if (nb === buf.length) {\\\\n ++c;\\\\n if (p.next) this.head = p.next;else this.head = this.tail = null;\\\\n } else {\\\\n this.head = p;\\\\n p.data = buf.slice(nb);\\\\n }\\\\n\\\\n break;\\\\n }\\\\n\\\\n ++c;\\\\n }\\\\n\\\\n this.length -= c;\\\\n return ret;\\\\n } // Make sure the linked list only shows the minimal necessary information.\\\\n\\\\n }, {\\\\n key: custom,\\\\n value: function value(_, options) {\\\\n return inspect(this, _objectSpread({}, options, {\\\\n // Only inspect one level.\\\\n depth: 0,\\\\n // It should not recurse.\\\\n customInspect: false\\\\n }));\\\\n }\\\\n }]);\\\\n\\\\n return BufferList;\\\\n}();\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/buffer_list.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\":\\n/*!**********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/destroy.js ***!\\n \\\\**********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(process) { // undocumented cb() API, needed for core, not for public API\\\\n\\\\nfunction destroy(err, cb) {\\\\n var _this = this;\\\\n\\\\n var readableDestroyed = this._readableState && this._readableState.destroyed;\\\\n var writableDestroyed = this._writableState && this._writableState.destroyed;\\\\n\\\\n if (readableDestroyed || writableDestroyed) {\\\\n if (cb) {\\\\n cb(err);\\\\n } else if (err) {\\\\n if (!this._writableState) {\\\\n process.nextTick(emitErrorNT, this, err);\\\\n } else if (!this._writableState.errorEmitted) {\\\\n this._writableState.errorEmitted = true;\\\\n process.nextTick(emitErrorNT, this, err);\\\\n }\\\\n }\\\\n\\\\n return this;\\\\n } // we set destroyed to true before firing error callbacks in order\\\\n // to make it re-entrance safe in case destroy() is called within callbacks\\\\n\\\\n\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = true;\\\\n } // if this is a duplex stream mark the writable part as destroyed as well\\\\n\\\\n\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = true;\\\\n }\\\\n\\\\n this._destroy(err || null, function (err) {\\\\n if (!cb && err) {\\\\n if (!_this._writableState) {\\\\n process.nextTick(emitErrorAndCloseNT, _this, err);\\\\n } else if (!_this._writableState.errorEmitted) {\\\\n _this._writableState.errorEmitted = true;\\\\n process.nextTick(emitErrorAndCloseNT, _this, err);\\\\n } else {\\\\n process.nextTick(emitCloseNT, _this);\\\\n }\\\\n } else if (cb) {\\\\n process.nextTick(emitCloseNT, _this);\\\\n cb(err);\\\\n } else {\\\\n process.nextTick(emitCloseNT, _this);\\\\n }\\\\n });\\\\n\\\\n return this;\\\\n}\\\\n\\\\nfunction emitErrorAndCloseNT(self, err) {\\\\n emitErrorNT(self, err);\\\\n emitCloseNT(self);\\\\n}\\\\n\\\\nfunction emitCloseNT(self) {\\\\n if (self._writableState && !self._writableState.emitClose) return;\\\\n if (self._readableState && !self._readableState.emitClose) return;\\\\n self.emit('close');\\\\n}\\\\n\\\\nfunction undestroy() {\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = false;\\\\n this._readableState.reading = false;\\\\n this._readableState.ended = false;\\\\n this._readableState.endEmitted = false;\\\\n }\\\\n\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = false;\\\\n this._writableState.ended = false;\\\\n this._writableState.ending = false;\\\\n this._writableState.finalCalled = false;\\\\n this._writableState.prefinished = false;\\\\n this._writableState.finished = false;\\\\n this._writableState.errorEmitted = false;\\\\n }\\\\n}\\\\n\\\\nfunction emitErrorNT(self, err) {\\\\n self.emit('error', err);\\\\n}\\\\n\\\\nfunction errorOrDestroy(stream, err) {\\\\n // We have tests that rely on errors being emitted\\\\n // in the same tick, so changing this is semver major.\\\\n // For now when you opt-in to autoDestroy we allow\\\\n // the error to be emitted nextTick. In a future\\\\n // semver major update we should change the default to this.\\\\n var rState = stream._readableState;\\\\n var wState = stream._writableState;\\\\n if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);\\\\n}\\\\n\\\\nmodule.exports = {\\\\n destroy: destroy,\\\\n undestroy: undestroy,\\\\n errorOrDestroy: errorOrDestroy\\\\n};\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \\\\\\\"./node_modules/process/browser.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\":\\n/*!****************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/end-of-stream.js ***!\\n \\\\****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Ported from https://github.com/mafintosh/end-of-stream with\\\\n// permission from the author, Mathias Buus (@mafintosh).\\\\n\\\\n\\\\nvar ERR_STREAM_PREMATURE_CLOSE = __webpack_require__(/*! ../../../errors */ \\\\\\\"./node_modules/readable-stream/errors-browser.js\\\\\\\").codes.ERR_STREAM_PREMATURE_CLOSE;\\\\n\\\\nfunction once(callback) {\\\\n var called = false;\\\\n return function () {\\\\n if (called) return;\\\\n called = true;\\\\n\\\\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\\\\n args[_key] = arguments[_key];\\\\n }\\\\n\\\\n callback.apply(this, args);\\\\n };\\\\n}\\\\n\\\\nfunction noop() {}\\\\n\\\\nfunction isRequest(stream) {\\\\n return stream.setHeader && typeof stream.abort === 'function';\\\\n}\\\\n\\\\nfunction eos(stream, opts, callback) {\\\\n if (typeof opts === 'function') return eos(stream, null, opts);\\\\n if (!opts) opts = {};\\\\n callback = once(callback || noop);\\\\n var readable = opts.readable || opts.readable !== false && stream.readable;\\\\n var writable = opts.writable || opts.writable !== false && stream.writable;\\\\n\\\\n var onlegacyfinish = function onlegacyfinish() {\\\\n if (!stream.writable) onfinish();\\\\n };\\\\n\\\\n var writableEnded = stream._writableState && stream._writableState.finished;\\\\n\\\\n var onfinish = function onfinish() {\\\\n writable = false;\\\\n writableEnded = true;\\\\n if (!readable) callback.call(stream);\\\\n };\\\\n\\\\n var readableEnded = stream._readableState && stream._readableState.endEmitted;\\\\n\\\\n var onend = function onend() {\\\\n readable = false;\\\\n readableEnded = true;\\\\n if (!writable) callback.call(stream);\\\\n };\\\\n\\\\n var onerror = function onerror(err) {\\\\n callback.call(stream, err);\\\\n };\\\\n\\\\n var onclose = function onclose() {\\\\n var err;\\\\n\\\\n if (readable && !readableEnded) {\\\\n if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\\\\n return callback.call(stream, err);\\\\n }\\\\n\\\\n if (writable && !writableEnded) {\\\\n if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\\\\n return callback.call(stream, err);\\\\n }\\\\n };\\\\n\\\\n var onrequest = function onrequest() {\\\\n stream.req.on('finish', onfinish);\\\\n };\\\\n\\\\n if (isRequest(stream)) {\\\\n stream.on('complete', onfinish);\\\\n stream.on('abort', onclose);\\\\n if (stream.req) onrequest();else stream.on('request', onrequest);\\\\n } else if (writable && !stream._writableState) {\\\\n // legacy streams\\\\n stream.on('end', onlegacyfinish);\\\\n stream.on('close', onlegacyfinish);\\\\n }\\\\n\\\\n stream.on('end', onend);\\\\n stream.on('finish', onfinish);\\\\n if (opts.error !== false) stream.on('error', onerror);\\\\n stream.on('close', onclose);\\\\n return function () {\\\\n stream.removeListener('complete', onfinish);\\\\n stream.removeListener('abort', onclose);\\\\n stream.removeListener('request', onrequest);\\\\n if (stream.req) stream.req.removeListener('finish', onfinish);\\\\n stream.removeListener('end', onlegacyfinish);\\\\n stream.removeListener('close', onlegacyfinish);\\\\n stream.removeListener('finish', onfinish);\\\\n stream.removeListener('end', onend);\\\\n stream.removeListener('error', onerror);\\\\n stream.removeListener('close', onclose);\\\\n };\\\\n}\\\\n\\\\nmodule.exports = eos;\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/end-of-stream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/from-browser.js\\\":\\n/*!***************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/from-browser.js ***!\\n \\\\***************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = function () {\\\\n throw new Error('Readable.from is not available in the browser')\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/from-browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/pipeline.js\\\":\\n/*!***********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/pipeline.js ***!\\n \\\\***********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Ported from https://github.com/mafintosh/pump with\\\\n// permission from the author, Mathias Buus (@mafintosh).\\\\n\\\\n\\\\nvar eos;\\\\n\\\\nfunction once(callback) {\\\\n var called = false;\\\\n return function () {\\\\n if (called) return;\\\\n called = true;\\\\n callback.apply(void 0, arguments);\\\\n };\\\\n}\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../../../errors */ \\\\\\\"./node_modules/readable-stream/errors-browser.js\\\\\\\").codes,\\\\n ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\\\\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;\\\\n\\\\nfunction noop(err) {\\\\n // Rethrow the error if it exists to avoid swallowing it\\\\n if (err) throw err;\\\\n}\\\\n\\\\nfunction isRequest(stream) {\\\\n return stream.setHeader && typeof stream.abort === 'function';\\\\n}\\\\n\\\\nfunction destroyer(stream, reading, writing, callback) {\\\\n callback = once(callback);\\\\n var closed = false;\\\\n stream.on('close', function () {\\\\n closed = true;\\\\n });\\\\n if (eos === undefined) eos = __webpack_require__(/*! ./end-of-stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\\\\\");\\\\n eos(stream, {\\\\n readable: reading,\\\\n writable: writing\\\\n }, function (err) {\\\\n if (err) return callback(err);\\\\n closed = true;\\\\n callback();\\\\n });\\\\n var destroyed = false;\\\\n return function (err) {\\\\n if (closed) return;\\\\n if (destroyed) return;\\\\n destroyed = true; // request.destroy just do .end - .abort is what we want\\\\n\\\\n if (isRequest(stream)) return stream.abort();\\\\n if (typeof stream.destroy === 'function') return stream.destroy();\\\\n callback(err || new ERR_STREAM_DESTROYED('pipe'));\\\\n };\\\\n}\\\\n\\\\nfunction call(fn) {\\\\n fn();\\\\n}\\\\n\\\\nfunction pipe(from, to) {\\\\n return from.pipe(to);\\\\n}\\\\n\\\\nfunction popCallback(streams) {\\\\n if (!streams.length) return noop;\\\\n if (typeof streams[streams.length - 1] !== 'function') return noop;\\\\n return streams.pop();\\\\n}\\\\n\\\\nfunction pipeline() {\\\\n for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {\\\\n streams[_key] = arguments[_key];\\\\n }\\\\n\\\\n var callback = popCallback(streams);\\\\n if (Array.isArray(streams[0])) streams = streams[0];\\\\n\\\\n if (streams.length < 2) {\\\\n throw new ERR_MISSING_ARGS('streams');\\\\n }\\\\n\\\\n var error;\\\\n var destroys = streams.map(function (stream, i) {\\\\n var reading = i < streams.length - 1;\\\\n var writing = i > 0;\\\\n return destroyer(stream, reading, writing, function (err) {\\\\n if (!error) error = err;\\\\n if (err) destroys.forEach(call);\\\\n if (reading) return;\\\\n destroys.forEach(call);\\\\n callback(error);\\\\n });\\\\n });\\\\n return streams.reduce(pipe);\\\\n}\\\\n\\\\nmodule.exports = pipeline;\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/pipeline.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/state.js\\\":\\n/*!********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/state.js ***!\\n \\\\********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nvar ERR_INVALID_OPT_VALUE = __webpack_require__(/*! ../../../errors */ \\\\\\\"./node_modules/readable-stream/errors-browser.js\\\\\\\").codes.ERR_INVALID_OPT_VALUE;\\\\n\\\\nfunction highWaterMarkFrom(options, isDuplex, duplexKey) {\\\\n return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\\\\n}\\\\n\\\\nfunction getHighWaterMark(state, options, duplexKey, isDuplex) {\\\\n var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\\\\n\\\\n if (hwm != null) {\\\\n if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\\\\n var name = isDuplex ? duplexKey : 'highWaterMark';\\\\n throw new ERR_INVALID_OPT_VALUE(name, hwm);\\\\n }\\\\n\\\\n return Math.floor(hwm);\\\\n } // Default value\\\\n\\\\n\\\\n return state.objectMode ? 16 : 16 * 1024;\\\\n}\\\\n\\\\nmodule.exports = {\\\\n getHighWaterMark: getHighWaterMark\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/state.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/stream-browser.js\\\":\\n/*!*****************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/stream-browser.js ***!\\n \\\\*****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = __webpack_require__(/*! events */ \\\\\\\"./node_modules/node-libs-browser/node_modules/events/events.js\\\\\\\").EventEmitter;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/stream-browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/readable-browser.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/readable-stream/readable-browser.js ***!\\n \\\\**********************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\nexports.Stream = exports;\\\\nexports.Readable = exports;\\\\nexports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\nexports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\nexports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\nexports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\\\\\");\\\\nexports.finished = __webpack_require__(/*! ./lib/internal/streams/end-of-stream.js */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\\\\\");\\\\nexports.pipeline = __webpack_require__(/*! ./lib/internal/streams/pipeline.js */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/pipeline.js\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable-browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/safe-buffer/index.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/safe-buffer/index.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/*! safe-buffer. MIT License. Feross Aboukhadijeh */\\\\n/* eslint-disable node/no-deprecated-api */\\\\nvar buffer = __webpack_require__(/*! buffer */ \\\\\\\"./node_modules/node-libs-browser/node_modules/buffer/index.js\\\\\\\")\\\\nvar Buffer = buffer.Buffer\\\\n\\\\n// alternative to using Object.keys for old browsers\\\\nfunction copyProps (src, dst) {\\\\n for (var key in src) {\\\\n dst[key] = src[key]\\\\n }\\\\n}\\\\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\\\\n module.exports = buffer\\\\n} else {\\\\n // Copy properties from require('buffer')\\\\n copyProps(buffer, exports)\\\\n exports.Buffer = SafeBuffer\\\\n}\\\\n\\\\nfunction SafeBuffer (arg, encodingOrOffset, length) {\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nSafeBuffer.prototype = Object.create(Buffer.prototype)\\\\n\\\\n// Copy static methods from Buffer\\\\ncopyProps(Buffer, SafeBuffer)\\\\n\\\\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\\\\n if (typeof arg === 'number') {\\\\n throw new TypeError('Argument must not be a number')\\\\n }\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nSafeBuffer.alloc = function (size, fill, encoding) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n var buf = Buffer(size)\\\\n if (fill !== undefined) {\\\\n if (typeof encoding === 'string') {\\\\n buf.fill(fill, encoding)\\\\n } else {\\\\n buf.fill(fill)\\\\n }\\\\n } else {\\\\n buf.fill(0)\\\\n }\\\\n return buf\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafe = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return Buffer(size)\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafeSlow = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return buffer.SlowBuffer(size)\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/safe-buffer/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/setimmediate/setImmediate.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/setimmediate/setImmediate.js ***!\\n \\\\***************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {\\\\n \\\\\\\"use strict\\\\\\\";\\\\n\\\\n if (global.setImmediate) {\\\\n return;\\\\n }\\\\n\\\\n var nextHandle = 1; // Spec says greater than zero\\\\n var tasksByHandle = {};\\\\n var currentlyRunningATask = false;\\\\n var doc = global.document;\\\\n var registerImmediate;\\\\n\\\\n function setImmediate(callback) {\\\\n // Callback can either be a function or a string\\\\n if (typeof callback !== \\\\\\\"function\\\\\\\") {\\\\n callback = new Function(\\\\\\\"\\\\\\\" + callback);\\\\n }\\\\n // Copy function arguments\\\\n var args = new Array(arguments.length - 1);\\\\n for (var i = 0; i < args.length; i++) {\\\\n args[i] = arguments[i + 1];\\\\n }\\\\n // Store and register the task\\\\n var task = { callback: callback, args: args };\\\\n tasksByHandle[nextHandle] = task;\\\\n registerImmediate(nextHandle);\\\\n return nextHandle++;\\\\n }\\\\n\\\\n function clearImmediate(handle) {\\\\n delete tasksByHandle[handle];\\\\n }\\\\n\\\\n function run(task) {\\\\n var callback = task.callback;\\\\n var args = task.args;\\\\n switch (args.length) {\\\\n case 0:\\\\n callback();\\\\n break;\\\\n case 1:\\\\n callback(args[0]);\\\\n break;\\\\n case 2:\\\\n callback(args[0], args[1]);\\\\n break;\\\\n case 3:\\\\n callback(args[0], args[1], args[2]);\\\\n break;\\\\n default:\\\\n callback.apply(undefined, args);\\\\n break;\\\\n }\\\\n }\\\\n\\\\n function runIfPresent(handle) {\\\\n // From the spec: \\\\\\\"Wait until any invocations of this algorithm started before this one have completed.\\\\\\\"\\\\n // So if we're currently running a task, we'll need to delay this invocation.\\\\n if (currentlyRunningATask) {\\\\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\\\\n // \\\\\\\"too much recursion\\\\\\\" error.\\\\n setTimeout(runIfPresent, 0, handle);\\\\n } else {\\\\n var task = tasksByHandle[handle];\\\\n if (task) {\\\\n currentlyRunningATask = true;\\\\n try {\\\\n run(task);\\\\n } finally {\\\\n clearImmediate(handle);\\\\n currentlyRunningATask = false;\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n function installNextTickImplementation() {\\\\n registerImmediate = function(handle) {\\\\n process.nextTick(function () { runIfPresent(handle); });\\\\n };\\\\n }\\\\n\\\\n function canUsePostMessage() {\\\\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\\\\n // where `global.postMessage` means something completely different and can't be used for this purpose.\\\\n if (global.postMessage && !global.importScripts) {\\\\n var postMessageIsAsynchronous = true;\\\\n var oldOnMessage = global.onmessage;\\\\n global.onmessage = function() {\\\\n postMessageIsAsynchronous = false;\\\\n };\\\\n global.postMessage(\\\\\\\"\\\\\\\", \\\\\\\"*\\\\\\\");\\\\n global.onmessage = oldOnMessage;\\\\n return postMessageIsAsynchronous;\\\\n }\\\\n }\\\\n\\\\n function installPostMessageImplementation() {\\\\n // Installs an event handler on `global` for the `message` event: see\\\\n // * https://developer.mozilla.org/en/DOM/window.postMessage\\\\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\\\\n\\\\n var messagePrefix = \\\\\\\"setImmediate$\\\\\\\" + Math.random() + \\\\\\\"$\\\\\\\";\\\\n var onGlobalMessage = function(event) {\\\\n if (event.source === global &&\\\\n typeof event.data === \\\\\\\"string\\\\\\\" &&\\\\n event.data.indexOf(messagePrefix) === 0) {\\\\n runIfPresent(+event.data.slice(messagePrefix.length));\\\\n }\\\\n };\\\\n\\\\n if (global.addEventListener) {\\\\n global.addEventListener(\\\\\\\"message\\\\\\\", onGlobalMessage, false);\\\\n } else {\\\\n global.attachEvent(\\\\\\\"onmessage\\\\\\\", onGlobalMessage);\\\\n }\\\\n\\\\n registerImmediate = function(handle) {\\\\n global.postMessage(messagePrefix + handle, \\\\\\\"*\\\\\\\");\\\\n };\\\\n }\\\\n\\\\n function installMessageChannelImplementation() {\\\\n var channel = new MessageChannel();\\\\n channel.port1.onmessage = function(event) {\\\\n var handle = event.data;\\\\n runIfPresent(handle);\\\\n };\\\\n\\\\n registerImmediate = function(handle) {\\\\n channel.port2.postMessage(handle);\\\\n };\\\\n }\\\\n\\\\n function installReadyStateChangeImplementation() {\\\\n var html = doc.documentElement;\\\\n registerImmediate = function(handle) {\\\\n // Create a ', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 9;\\\\n } else if (tagName == \\\\\\\"style\\\\\\\") {\\\\n var start = pos + 1;\\\\n pos = S.indexOf('', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 8;\\\\n } else if (NoChildNodes.indexOf(tagName) == -1) {\\\\n pos++;\\\\n children = parseChildren(name);\\\\n }\\\\n } else {\\\\n pos++;\\\\n }\\\\n return {\\\\n tagName,\\\\n attributes,\\\\n children,\\\\n };\\\\n }\\\\n\\\\n /**\\\\n * is parsing a string, that starts with a char and with the same usually ' or \\\\\\\"\\\\n */\\\\n\\\\n function parseString() {\\\\n var startChar = S[pos];\\\\n var startpos = ++pos;\\\\n pos = S.indexOf(startChar, startpos)\\\\n return S.slice(startpos, pos);\\\\n }\\\\n\\\\n /**\\\\n *\\\\n */\\\\n function findElements() {\\\\n var r = new RegExp('\\\\\\\\\\\\\\\\s' + options.attrName + '\\\\\\\\\\\\\\\\s*=[\\\\\\\\'\\\\\\\"]' + options.attrValue + '[\\\\\\\\'\\\\\\\"]').exec(S)\\\\n if (r) {\\\\n return r.index;\\\\n } else {\\\\n return -1;\\\\n }\\\\n }\\\\n\\\\n var out = null;\\\\n if (options.attrValue !== undefined) {\\\\n options.attrName = options.attrName || 'id';\\\\n var out = [];\\\\n\\\\n while ((pos = findElements()) !== -1) {\\\\n pos = S.lastIndexOf('<', pos);\\\\n if (pos !== -1) {\\\\n out.push(parseNode());\\\\n }\\\\n S = S.substr(pos);\\\\n pos = 0;\\\\n }\\\\n } else if (options.parseNode) {\\\\n out = parseNode()\\\\n } else {\\\\n out = parseChildren();\\\\n }\\\\n\\\\n if (options.filter) {\\\\n out = tXml.filter(out, options.filter);\\\\n }\\\\n\\\\n if (options.setPos) {\\\\n out.pos = pos;\\\\n }\\\\n\\\\n return out;\\\\n}\\\\n\\\\n/**\\\\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\\\\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\\\\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\\\\n * therefore your programm will be more flexible and easyer to read.\\\\n *\\\\n * @param {tNode[]} children the childrenList\\\\n */\\\\ntXml.simplify = function simplify(children) {\\\\n var out = {};\\\\n if (!children.length) {\\\\n return '';\\\\n }\\\\n\\\\n if (children.length === 1 && typeof children[0] == 'string') {\\\\n return children[0];\\\\n }\\\\n // map each object\\\\n children.forEach(function(child) {\\\\n if (typeof child !== 'object') {\\\\n return;\\\\n }\\\\n if (!out[child.tagName])\\\\n out[child.tagName] = [];\\\\n var kids = tXml.simplify(child.children||[]);\\\\n out[child.tagName].push(kids);\\\\n if (child.attributes) {\\\\n kids._attributes = child.attributes;\\\\n }\\\\n });\\\\n\\\\n for (var i in out) {\\\\n if (out[i].length == 1) {\\\\n out[i] = out[i][0];\\\\n }\\\\n }\\\\n\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\\\\n * @params children{Array} the children of a node\\\\n * @param f{function} the filter method\\\\n */\\\\ntXml.filter = function(children, f) {\\\\n var out = [];\\\\n children.forEach(function(child) {\\\\n if (typeof(child) === 'object' && f(child)) out.push(child);\\\\n if (child.children) {\\\\n var kids = tXml.filter(child.children, f);\\\\n out = out.concat(kids);\\\\n }\\\\n });\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * stringify a previously parsed string object.\\\\n * this is useful,\\\\n * 1. to remove whitespaces\\\\n * 2. to recreate xml data, with some changed data.\\\\n * @param {tNode} O the object to Stringify\\\\n */\\\\ntXml.stringify = function TOMObjToXML(O) {\\\\n var out = '';\\\\n\\\\n function writeChildren(O) {\\\\n if (O)\\\\n for (var i = 0; i < O.length; i++) {\\\\n if (typeof O[i] == 'string') {\\\\n out += O[i].trim();\\\\n } else {\\\\n writeNode(O[i]);\\\\n }\\\\n }\\\\n }\\\\n\\\\n function writeNode(N) {\\\\n out += \\\\\\\"<\\\\\\\" + N.tagName;\\\\n for (var i in N.attributes) {\\\\n if (N.attributes[i] === null) {\\\\n out += ' ' + i;\\\\n } else if (N.attributes[i].indexOf('\\\\\\\"') === -1) {\\\\n out += ' ' + i + '=\\\\\\\"' + N.attributes[i].trim() + '\\\\\\\"';\\\\n } else {\\\\n out += ' ' + i + \\\\\\\"='\\\\\\\" + N.attributes[i].trim() + \\\\\\\"'\\\\\\\";\\\\n }\\\\n }\\\\n out += '>';\\\\n writeChildren(N.children);\\\\n out += '';\\\\n }\\\\n writeChildren(O);\\\\n\\\\n return out;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * use this method to read the textcontent, of some node.\\\\n * It is great if you have mixed content like:\\\\n * this text has some big text and a link\\\\n * @return {string}\\\\n */\\\\ntXml.toContentString = function(tDom) {\\\\n if (Array.isArray(tDom)) {\\\\n var out = '';\\\\n tDom.forEach(function(e) {\\\\n out += ' ' + tXml.toContentString(e);\\\\n out = out.trim();\\\\n });\\\\n return out;\\\\n } else if (typeof tDom === 'object') {\\\\n return tXml.toContentString(tDom.children)\\\\n } else {\\\\n return ' ' + tDom;\\\\n }\\\\n};\\\\n\\\\ntXml.getElementById = function(S, id, simplified) {\\\\n var out = tXml(S, {\\\\n attrValue: id\\\\n });\\\\n return simplified ? tXml.simplify(out) : out[0];\\\\n};\\\\n/**\\\\n * A fast parsing method, that not realy finds by classname,\\\\n * more: the class attribute contains XXX\\\\n * @param\\\\n */\\\\ntXml.getElementsByClassName = function(S, classname, simplified) {\\\\n const out = tXml(S, {\\\\n attrName: 'class',\\\\n attrValue: '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*' + classname + '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*'\\\\n });\\\\n return simplified ? tXml.simplify(out) : out;\\\\n};\\\\n\\\\ntXml.parseStream = function(stream, offset) {\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n if (typeof stream === 'string') {\\\\n var fs = __webpack_require__(/*! fs */ \\\\\\\"./node_modules/node-libs-browser/mock/empty.js\\\\\\\");\\\\n stream = fs.createReadStream(stream, { start: offset });\\\\n offset = 0;\\\\n }\\\\n\\\\n var position = offset;\\\\n var data = '';\\\\n stream.on('data', function(chunk) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if(!position) {\\\\n position = lastPos;\\\\n return;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return;\\\\n } else {\\\\n stream.emit('xml', res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n });\\\\n stream.on('end', function() {\\\\n console.log('end')\\\\n });\\\\n return stream;\\\\n}\\\\n\\\\ntXml.transformStream = function (offset) {\\\\n // require through here, so it will not get added to webpack/browserify\\\\n const through2 = __webpack_require__(/*! through2 */ \\\\\\\"./node_modules/through2/through2.js\\\\\\\");\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n\\\\n var position = offset || 0;\\\\n var data = '';\\\\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if (!position) {\\\\n position = lastPos;\\\\n return callback();;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return callback();;\\\\n } else {\\\\n this.push(res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n callback();\\\\n });\\\\n\\\\n return stream;\\\\n}\\\\n\\\\nif (true) {\\\\n module.exports = tXml;\\\\n tXml.xml = tXml;\\\\n}\\\\n//console.clear();\\\\n//console.log('here:',tXml.getElementById('dadavalue','test'));\\\\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\\\\n\\\\n/*\\\\nconsole.clear();\\\\ntXml(d,'content');\\\\n //some testCode\\\\nvar s = document.body.innerHTML.toLowerCase();\\\\nvar start = new Date().getTime();\\\\nvar o = tXml(s,'content');\\\\nvar end = new Date().getTime();\\\\n//console.log(JSON.stringify(o,undefined,'\\\\\\\\t'));\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end-start);\\\\nvar nodeCount=document.querySelectorAll('*').length;\\\\nconsole.log('node count',nodeCount);\\\\nconsole.log(\\\\\\\"speed:\\\\\\\",(1000/(end-start))*nodeCount,'Nodes / second')\\\\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\\\\\\\t'));\\\\nvar p = new DOMParser();\\\\nvar s2=''+s+''\\\\nvar start2= new Date().getTime();\\\\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\\\\nvar end2=new Date().getTime();\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end2-start2);\\\\n// */\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/url/url.js\\\":\\n/*!*********************************!*\\\\\\n !*** ./node_modules/url/url.js ***!\\n \\\\*********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\nvar punycode = __webpack_require__(/*! punycode */ \\\\\\\"./node_modules/node-libs-browser/node_modules/punycode/punycode.js\\\\\\\");\\\\nvar util = __webpack_require__(/*! ./util */ \\\\\\\"./node_modules/url/util.js\\\\\\\");\\\\n\\\\nexports.parse = urlParse;\\\\nexports.resolve = urlResolve;\\\\nexports.resolveObject = urlResolveObject;\\\\nexports.format = urlFormat;\\\\n\\\\nexports.Url = Url;\\\\n\\\\nfunction Url() {\\\\n this.protocol = null;\\\\n this.slashes = null;\\\\n this.auth = null;\\\\n this.host = null;\\\\n this.port = null;\\\\n this.hostname = null;\\\\n this.hash = null;\\\\n this.search = null;\\\\n this.query = null;\\\\n this.pathname = null;\\\\n this.path = null;\\\\n this.href = null;\\\\n}\\\\n\\\\n// Reference: RFC 3986, RFC 1808, RFC 2396\\\\n\\\\n// define these here so at least they only have to be\\\\n// compiled once on the first module load.\\\\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\\\\n portPattern = /:[0-9]*$/,\\\\n\\\\n // Special case for a simple path URL\\\\n simplePathPattern = /^(\\\\\\\\/\\\\\\\\/?(?!\\\\\\\\/)[^\\\\\\\\?\\\\\\\\s]*)(\\\\\\\\?[^\\\\\\\\s]*)?$/,\\\\n\\\\n // RFC 2396: characters reserved for delimiting URLs.\\\\n // We actually just auto-escape these.\\\\n delims = ['<', '>', '\\\\\\\"', '`', ' ', '\\\\\\\\r', '\\\\\\\\n', '\\\\\\\\t'],\\\\n\\\\n // RFC 2396: characters not allowed for various reasons.\\\\n unwise = ['{', '}', '|', '\\\\\\\\\\\\\\\\', '^', '`'].concat(delims),\\\\n\\\\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\\\\n autoEscape = ['\\\\\\\\''].concat(unwise),\\\\n // Characters that are never ever allowed in a hostname.\\\\n // Note that any invalid chars are also handled, but these\\\\n // are the ones that are *expected* to be seen, so we fast-path\\\\n // them.\\\\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\\\\n hostEndingChars = ['/', '?', '#'],\\\\n hostnameMaxLen = 255,\\\\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\\\\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\\\\n // protocols that can allow \\\\\\\"unsafe\\\\\\\" and \\\\\\\"unwise\\\\\\\" chars.\\\\n unsafeProtocol = {\\\\n 'javascript': true,\\\\n 'javascript:': true\\\\n },\\\\n // protocols that never have a hostname.\\\\n hostlessProtocol = {\\\\n 'javascript': true,\\\\n 'javascript:': true\\\\n },\\\\n // protocols that always contain a // bit.\\\\n slashedProtocol = {\\\\n 'http': true,\\\\n 'https': true,\\\\n 'ftp': true,\\\\n 'gopher': true,\\\\n 'file': true,\\\\n 'http:': true,\\\\n 'https:': true,\\\\n 'ftp:': true,\\\\n 'gopher:': true,\\\\n 'file:': true\\\\n },\\\\n querystring = __webpack_require__(/*! querystring */ \\\\\\\"./node_modules/querystring-es3/index.js\\\\\\\");\\\\n\\\\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\\\\n if (url && util.isObject(url) && url instanceof Url) return url;\\\\n\\\\n var u = new Url;\\\\n u.parse(url, parseQueryString, slashesDenoteHost);\\\\n return u;\\\\n}\\\\n\\\\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\\\\n if (!util.isString(url)) {\\\\n throw new TypeError(\\\\\\\"Parameter 'url' must be a string, not \\\\\\\" + typeof url);\\\\n }\\\\n\\\\n // Copy chrome, IE, opera backslash-handling behavior.\\\\n // Back slashes before the query string get converted to forward slashes\\\\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\\\\n var queryIndex = url.indexOf('?'),\\\\n splitter =\\\\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\\\\n uSplit = url.split(splitter),\\\\n slashRegex = /\\\\\\\\\\\\\\\\/g;\\\\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\\\\n url = uSplit.join(splitter);\\\\n\\\\n var rest = url;\\\\n\\\\n // trim before proceeding.\\\\n // This is to support parse stuff like \\\\\\\" http://foo.com \\\\\\\\n\\\\\\\"\\\\n rest = rest.trim();\\\\n\\\\n if (!slashesDenoteHost && url.split('#').length === 1) {\\\\n // Try fast path regexp\\\\n var simplePath = simplePathPattern.exec(rest);\\\\n if (simplePath) {\\\\n this.path = rest;\\\\n this.href = rest;\\\\n this.pathname = simplePath[1];\\\\n if (simplePath[2]) {\\\\n this.search = simplePath[2];\\\\n if (parseQueryString) {\\\\n this.query = querystring.parse(this.search.substr(1));\\\\n } else {\\\\n this.query = this.search.substr(1);\\\\n }\\\\n } else if (parseQueryString) {\\\\n this.search = '';\\\\n this.query = {};\\\\n }\\\\n return this;\\\\n }\\\\n }\\\\n\\\\n var proto = protocolPattern.exec(rest);\\\\n if (proto) {\\\\n proto = proto[0];\\\\n var lowerProto = proto.toLowerCase();\\\\n this.protocol = lowerProto;\\\\n rest = rest.substr(proto.length);\\\\n }\\\\n\\\\n // figure out if it's got a host\\\\n // user@server is *always* interpreted as a hostname, and url\\\\n // resolution will treat //foo/bar as host=foo,path=bar because that's\\\\n // how the browser resolves relative URLs.\\\\n if (slashesDenoteHost || proto || rest.match(/^\\\\\\\\/\\\\\\\\/[^@\\\\\\\\/]+@[^@\\\\\\\\/]+/)) {\\\\n var slashes = rest.substr(0, 2) === '//';\\\\n if (slashes && !(proto && hostlessProtocol[proto])) {\\\\n rest = rest.substr(2);\\\\n this.slashes = true;\\\\n }\\\\n }\\\\n\\\\n if (!hostlessProtocol[proto] &&\\\\n (slashes || (proto && !slashedProtocol[proto]))) {\\\\n\\\\n // there's a hostname.\\\\n // the first instance of /, ?, ;, or # ends the host.\\\\n //\\\\n // If there is an @ in the hostname, then non-host chars *are* allowed\\\\n // to the left of the last @ sign, unless some host-ending character\\\\n // comes *before* the @-sign.\\\\n // URLs are obnoxious.\\\\n //\\\\n // ex:\\\\n // http://a@b@c/ => user:a@b host:c\\\\n // http://a@b?@c => user:a host:c path:/?@c\\\\n\\\\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\\\\n // Review our test case against browsers more comprehensively.\\\\n\\\\n // find the first instance of any hostEndingChars\\\\n var hostEnd = -1;\\\\n for (var i = 0; i < hostEndingChars.length; i++) {\\\\n var hec = rest.indexOf(hostEndingChars[i]);\\\\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\\\\n hostEnd = hec;\\\\n }\\\\n\\\\n // at this point, either we have an explicit point where the\\\\n // auth portion cannot go past, or the last @ char is the decider.\\\\n var auth, atSign;\\\\n if (hostEnd === -1) {\\\\n // atSign can be anywhere.\\\\n atSign = rest.lastIndexOf('@');\\\\n } else {\\\\n // atSign must be in auth portion.\\\\n // http://a@b/c@d => host:b auth:a path:/c@d\\\\n atSign = rest.lastIndexOf('@', hostEnd);\\\\n }\\\\n\\\\n // Now we have a portion which is definitely the auth.\\\\n // Pull that off.\\\\n if (atSign !== -1) {\\\\n auth = rest.slice(0, atSign);\\\\n rest = rest.slice(atSign + 1);\\\\n this.auth = decodeURIComponent(auth);\\\\n }\\\\n\\\\n // the host is the remaining to the left of the first non-host char\\\\n hostEnd = -1;\\\\n for (var i = 0; i < nonHostChars.length; i++) {\\\\n var hec = rest.indexOf(nonHostChars[i]);\\\\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\\\\n hostEnd = hec;\\\\n }\\\\n // if we still have not hit it, then the entire thing is a host.\\\\n if (hostEnd === -1)\\\\n hostEnd = rest.length;\\\\n\\\\n this.host = rest.slice(0, hostEnd);\\\\n rest = rest.slice(hostEnd);\\\\n\\\\n // pull out port.\\\\n this.parseHost();\\\\n\\\\n // we've indicated that there is a hostname,\\\\n // so even if it's empty, it has to be present.\\\\n this.hostname = this.hostname || '';\\\\n\\\\n // if hostname begins with [ and ends with ]\\\\n // assume that it's an IPv6 address.\\\\n var ipv6Hostname = this.hostname[0] === '[' &&\\\\n this.hostname[this.hostname.length - 1] === ']';\\\\n\\\\n // validate a little.\\\\n if (!ipv6Hostname) {\\\\n var hostparts = this.hostname.split(/\\\\\\\\./);\\\\n for (var i = 0, l = hostparts.length; i < l; i++) {\\\\n var part = hostparts[i];\\\\n if (!part) continue;\\\\n if (!part.match(hostnamePartPattern)) {\\\\n var newpart = '';\\\\n for (var j = 0, k = part.length; j < k; j++) {\\\\n if (part.charCodeAt(j) > 127) {\\\\n // we replace non-ASCII char with a temporary placeholder\\\\n // we need this to make sure size of hostname is not\\\\n // broken by replacing non-ASCII by nothing\\\\n newpart += 'x';\\\\n } else {\\\\n newpart += part[j];\\\\n }\\\\n }\\\\n // we test again with ASCII char only\\\\n if (!newpart.match(hostnamePartPattern)) {\\\\n var validParts = hostparts.slice(0, i);\\\\n var notHost = hostparts.slice(i + 1);\\\\n var bit = part.match(hostnamePartStart);\\\\n if (bit) {\\\\n validParts.push(bit[1]);\\\\n notHost.unshift(bit[2]);\\\\n }\\\\n if (notHost.length) {\\\\n rest = '/' + notHost.join('.') + rest;\\\\n }\\\\n this.hostname = validParts.join('.');\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n if (this.hostname.length > hostnameMaxLen) {\\\\n this.hostname = '';\\\\n } else {\\\\n // hostnames are always lower case.\\\\n this.hostname = this.hostname.toLowerCase();\\\\n }\\\\n\\\\n if (!ipv6Hostname) {\\\\n // IDNA Support: Returns a punycoded representation of \\\\\\\"domain\\\\\\\".\\\\n // It only converts parts of the domain name that\\\\n // have non-ASCII characters, i.e. it doesn't matter if\\\\n // you call it with a domain that already is ASCII-only.\\\\n this.hostname = punycode.toASCII(this.hostname);\\\\n }\\\\n\\\\n var p = this.port ? ':' + this.port : '';\\\\n var h = this.hostname || '';\\\\n this.host = h + p;\\\\n this.href += this.host;\\\\n\\\\n // strip [ and ] from the hostname\\\\n // the host field still retains them, though\\\\n if (ipv6Hostname) {\\\\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\\\\n if (rest[0] !== '/') {\\\\n rest = '/' + rest;\\\\n }\\\\n }\\\\n }\\\\n\\\\n // now rest is set to the post-host stuff.\\\\n // chop off any delim chars.\\\\n if (!unsafeProtocol[lowerProto]) {\\\\n\\\\n // First, make 100% sure that any \\\\\\\"autoEscape\\\\\\\" chars get\\\\n // escaped, even if encodeURIComponent doesn't think they\\\\n // need to be.\\\\n for (var i = 0, l = autoEscape.length; i < l; i++) {\\\\n var ae = autoEscape[i];\\\\n if (rest.indexOf(ae) === -1)\\\\n continue;\\\\n var esc = encodeURIComponent(ae);\\\\n if (esc === ae) {\\\\n esc = escape(ae);\\\\n }\\\\n rest = rest.split(ae).join(esc);\\\\n }\\\\n }\\\\n\\\\n\\\\n // chop off from the tail first.\\\\n var hash = rest.indexOf('#');\\\\n if (hash !== -1) {\\\\n // got a fragment string.\\\\n this.hash = rest.substr(hash);\\\\n rest = rest.slice(0, hash);\\\\n }\\\\n var qm = rest.indexOf('?');\\\\n if (qm !== -1) {\\\\n this.search = rest.substr(qm);\\\\n this.query = rest.substr(qm + 1);\\\\n if (parseQueryString) {\\\\n this.query = querystring.parse(this.query);\\\\n }\\\\n rest = rest.slice(0, qm);\\\\n } else if (parseQueryString) {\\\\n // no query string, but parseQueryString still requested\\\\n this.search = '';\\\\n this.query = {};\\\\n }\\\\n if (rest) this.pathname = rest;\\\\n if (slashedProtocol[lowerProto] &&\\\\n this.hostname && !this.pathname) {\\\\n this.pathname = '/';\\\\n }\\\\n\\\\n //to support http.request\\\\n if (this.pathname || this.search) {\\\\n var p = this.pathname || '';\\\\n var s = this.search || '';\\\\n this.path = p + s;\\\\n }\\\\n\\\\n // finally, reconstruct the href based on what has been validated.\\\\n this.href = this.format();\\\\n return this;\\\\n};\\\\n\\\\n// format a parsed object into a url string\\\\nfunction urlFormat(obj) {\\\\n // ensure it's an object, and not a string url.\\\\n // If it's an obj, this is a no-op.\\\\n // this way, you can call url_format() on strings\\\\n // to clean up potentially wonky urls.\\\\n if (util.isString(obj)) obj = urlParse(obj);\\\\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\\\\n return obj.format();\\\\n}\\\\n\\\\nUrl.prototype.format = function() {\\\\n var auth = this.auth || '';\\\\n if (auth) {\\\\n auth = encodeURIComponent(auth);\\\\n auth = auth.replace(/%3A/i, ':');\\\\n auth += '@';\\\\n }\\\\n\\\\n var protocol = this.protocol || '',\\\\n pathname = this.pathname || '',\\\\n hash = this.hash || '',\\\\n host = false,\\\\n query = '';\\\\n\\\\n if (this.host) {\\\\n host = auth + this.host;\\\\n } else if (this.hostname) {\\\\n host = auth + (this.hostname.indexOf(':') === -1 ?\\\\n this.hostname :\\\\n '[' + this.hostname + ']');\\\\n if (this.port) {\\\\n host += ':' + this.port;\\\\n }\\\\n }\\\\n\\\\n if (this.query &&\\\\n util.isObject(this.query) &&\\\\n Object.keys(this.query).length) {\\\\n query = querystring.stringify(this.query);\\\\n }\\\\n\\\\n var search = this.search || (query && ('?' + query)) || '';\\\\n\\\\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\\\\n\\\\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\\\\n // unless they had them to begin with.\\\\n if (this.slashes ||\\\\n (!protocol || slashedProtocol[protocol]) && host !== false) {\\\\n host = '//' + (host || '');\\\\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\\\\n } else if (!host) {\\\\n host = '';\\\\n }\\\\n\\\\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\\\\n if (search && search.charAt(0) !== '?') search = '?' + search;\\\\n\\\\n pathname = pathname.replace(/[?#]/g, function(match) {\\\\n return encodeURIComponent(match);\\\\n });\\\\n search = search.replace('#', '%23');\\\\n\\\\n return protocol + host + pathname + search + hash;\\\\n};\\\\n\\\\nfunction urlResolve(source, relative) {\\\\n return urlParse(source, false, true).resolve(relative);\\\\n}\\\\n\\\\nUrl.prototype.resolve = function(relative) {\\\\n return this.resolveObject(urlParse(relative, false, true)).format();\\\\n};\\\\n\\\\nfunction urlResolveObject(source, relative) {\\\\n if (!source) return relative;\\\\n return urlParse(source, false, true).resolveObject(relative);\\\\n}\\\\n\\\\nUrl.prototype.resolveObject = function(relative) {\\\\n if (util.isString(relative)) {\\\\n var rel = new Url();\\\\n rel.parse(relative, false, true);\\\\n relative = rel;\\\\n }\\\\n\\\\n var result = new Url();\\\\n var tkeys = Object.keys(this);\\\\n for (var tk = 0; tk < tkeys.length; tk++) {\\\\n var tkey = tkeys[tk];\\\\n result[tkey] = this[tkey];\\\\n }\\\\n\\\\n // hash is always overridden, no matter what.\\\\n // even href=\\\\\\\"\\\\\\\" will remove it.\\\\n result.hash = relative.hash;\\\\n\\\\n // if the relative url is empty, then there's nothing left to do here.\\\\n if (relative.href === '') {\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n // hrefs like //foo/bar always cut to the protocol.\\\\n if (relative.slashes && !relative.protocol) {\\\\n // take everything except the protocol from relative\\\\n var rkeys = Object.keys(relative);\\\\n for (var rk = 0; rk < rkeys.length; rk++) {\\\\n var rkey = rkeys[rk];\\\\n if (rkey !== 'protocol')\\\\n result[rkey] = relative[rkey];\\\\n }\\\\n\\\\n //urlParse appends trailing / to urls like http://www.example.com\\\\n if (slashedProtocol[result.protocol] &&\\\\n result.hostname && !result.pathname) {\\\\n result.path = result.pathname = '/';\\\\n }\\\\n\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n if (relative.protocol && relative.protocol !== result.protocol) {\\\\n // if it's a known url protocol, then changing\\\\n // the protocol does weird things\\\\n // first, if it's not file:, then we MUST have a host,\\\\n // and if there was a path\\\\n // to begin with, then we MUST have a path.\\\\n // if it is file:, then the host is dropped,\\\\n // because that's known to be hostless.\\\\n // anything else is assumed to be absolute.\\\\n if (!slashedProtocol[relative.protocol]) {\\\\n var keys = Object.keys(relative);\\\\n for (var v = 0; v < keys.length; v++) {\\\\n var k = keys[v];\\\\n result[k] = relative[k];\\\\n }\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n result.protocol = relative.protocol;\\\\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\\\\n var relPath = (relative.pathname || '').split('/');\\\\n while (relPath.length && !(relative.host = relPath.shift()));\\\\n if (!relative.host) relative.host = '';\\\\n if (!relative.hostname) relative.hostname = '';\\\\n if (relPath[0] !== '') relPath.unshift('');\\\\n if (relPath.length < 2) relPath.unshift('');\\\\n result.pathname = relPath.join('/');\\\\n } else {\\\\n result.pathname = relative.pathname;\\\\n }\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n result.host = relative.host || '';\\\\n result.auth = relative.auth;\\\\n result.hostname = relative.hostname || relative.host;\\\\n result.port = relative.port;\\\\n // to support http.request\\\\n if (result.pathname || result.search) {\\\\n var p = result.pathname || '';\\\\n var s = result.search || '';\\\\n result.path = p + s;\\\\n }\\\\n result.slashes = result.slashes || relative.slashes;\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\\\\n isRelAbs = (\\\\n relative.host ||\\\\n relative.pathname && relative.pathname.charAt(0) === '/'\\\\n ),\\\\n mustEndAbs = (isRelAbs || isSourceAbs ||\\\\n (result.host && relative.pathname)),\\\\n removeAllDots = mustEndAbs,\\\\n srcPath = result.pathname && result.pathname.split('/') || [],\\\\n relPath = relative.pathname && relative.pathname.split('/') || [],\\\\n psychotic = result.protocol && !slashedProtocol[result.protocol];\\\\n\\\\n // if the url is a non-slashed url, then relative\\\\n // links like ../.. should be able\\\\n // to crawl up to the hostname, as well. This is strange.\\\\n // result.protocol has already been set by now.\\\\n // Later on, put the first path part into the host field.\\\\n if (psychotic) {\\\\n result.hostname = '';\\\\n result.port = null;\\\\n if (result.host) {\\\\n if (srcPath[0] === '') srcPath[0] = result.host;\\\\n else srcPath.unshift(result.host);\\\\n }\\\\n result.host = '';\\\\n if (relative.protocol) {\\\\n relative.hostname = null;\\\\n relative.port = null;\\\\n if (relative.host) {\\\\n if (relPath[0] === '') relPath[0] = relative.host;\\\\n else relPath.unshift(relative.host);\\\\n }\\\\n relative.host = null;\\\\n }\\\\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\\\\n }\\\\n\\\\n if (isRelAbs) {\\\\n // it's absolute.\\\\n result.host = (relative.host || relative.host === '') ?\\\\n relative.host : result.host;\\\\n result.hostname = (relative.hostname || relative.hostname === '') ?\\\\n relative.hostname : result.hostname;\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n srcPath = relPath;\\\\n // fall through to the dot-handling below.\\\\n } else if (relPath.length) {\\\\n // it's relative\\\\n // throw away the existing file, and take the new path instead.\\\\n if (!srcPath) srcPath = [];\\\\n srcPath.pop();\\\\n srcPath = srcPath.concat(relPath);\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n } else if (!util.isNullOrUndefined(relative.search)) {\\\\n // just pull out the search.\\\\n // like href='?foo'.\\\\n // Put this after the other two cases because it simplifies the booleans\\\\n if (psychotic) {\\\\n result.hostname = result.host = srcPath.shift();\\\\n //occationaly the auth can get stuck only in host\\\\n //this especially happens in cases like\\\\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\\\\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\\\\n result.host.split('@') : false;\\\\n if (authInHost) {\\\\n result.auth = authInHost.shift();\\\\n result.host = result.hostname = authInHost.shift();\\\\n }\\\\n }\\\\n result.search = relative.search;\\\\n result.query = relative.query;\\\\n //to support http.request\\\\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\\\\n result.path = (result.pathname ? result.pathname : '') +\\\\n (result.search ? result.search : '');\\\\n }\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n if (!srcPath.length) {\\\\n // no path at all. easy.\\\\n // we've already handled the other stuff above.\\\\n result.pathname = null;\\\\n //to support http.request\\\\n if (result.search) {\\\\n result.path = '/' + result.search;\\\\n } else {\\\\n result.path = null;\\\\n }\\\\n result.href = result.format();\\\\n return result;\\\\n }\\\\n\\\\n // if a url ENDs in . or .., then it must get a trailing slash.\\\\n // however, if it ends in anything else non-slashy,\\\\n // then it must NOT get a trailing slash.\\\\n var last = srcPath.slice(-1)[0];\\\\n var hasTrailingSlash = (\\\\n (result.host || relative.host || srcPath.length > 1) &&\\\\n (last === '.' || last === '..') || last === '');\\\\n\\\\n // strip single dots, resolve double dots to parent dir\\\\n // if the path tries to go above the root, `up` ends up > 0\\\\n var up = 0;\\\\n for (var i = srcPath.length; i >= 0; i--) {\\\\n last = srcPath[i];\\\\n if (last === '.') {\\\\n srcPath.splice(i, 1);\\\\n } else if (last === '..') {\\\\n srcPath.splice(i, 1);\\\\n up++;\\\\n } else if (up) {\\\\n srcPath.splice(i, 1);\\\\n up--;\\\\n }\\\\n }\\\\n\\\\n // if the path is allowed to go above the root, restore leading ..s\\\\n if (!mustEndAbs && !removeAllDots) {\\\\n for (; up--; up) {\\\\n srcPath.unshift('..');\\\\n }\\\\n }\\\\n\\\\n if (mustEndAbs && srcPath[0] !== '' &&\\\\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\\\\n srcPath.unshift('');\\\\n }\\\\n\\\\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\\\\n srcPath.push('');\\\\n }\\\\n\\\\n var isAbsolute = srcPath[0] === '' ||\\\\n (srcPath[0] && srcPath[0].charAt(0) === '/');\\\\n\\\\n // put the host back\\\\n if (psychotic) {\\\\n result.hostname = result.host = isAbsolute ? '' :\\\\n srcPath.length ? srcPath.shift() : '';\\\\n //occationaly the auth can get stuck only in host\\\\n //this especially happens in cases like\\\\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\\\\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\\\\n result.host.split('@') : false;\\\\n if (authInHost) {\\\\n result.auth = authInHost.shift();\\\\n result.host = result.hostname = authInHost.shift();\\\\n }\\\\n }\\\\n\\\\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\\\\n\\\\n if (mustEndAbs && !isAbsolute) {\\\\n srcPath.unshift('');\\\\n }\\\\n\\\\n if (!srcPath.length) {\\\\n result.pathname = null;\\\\n result.path = null;\\\\n } else {\\\\n result.pathname = srcPath.join('/');\\\\n }\\\\n\\\\n //to support request.http\\\\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\\\\n result.path = (result.pathname ? result.pathname : '') +\\\\n (result.search ? result.search : '');\\\\n }\\\\n result.auth = relative.auth || result.auth;\\\\n result.slashes = result.slashes || relative.slashes;\\\\n result.href = result.format();\\\\n return result;\\\\n};\\\\n\\\\nUrl.prototype.parseHost = function() {\\\\n var host = this.host;\\\\n var port = portPattern.exec(host);\\\\n if (port) {\\\\n port = port[0];\\\\n if (port !== ':') {\\\\n this.port = port.substr(1);\\\\n }\\\\n host = host.substr(0, host.length - port.length);\\\\n }\\\\n if (host) this.hostname = host;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/url/url.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/url/util.js\\\":\\n/*!**********************************!*\\\\\\n !*** ./node_modules/url/util.js ***!\\n \\\\**********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nmodule.exports = {\\\\n isString: function(arg) {\\\\n return typeof(arg) === 'string';\\\\n },\\\\n isObject: function(arg) {\\\\n return typeof(arg) === 'object' && arg !== null;\\\\n },\\\\n isNull: function(arg) {\\\\n return arg === null;\\\\n },\\\\n isNullOrUndefined: function(arg) {\\\\n return arg == null;\\\\n }\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/url/util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/util-deprecate/browser.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/util-deprecate/browser.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* WEBPACK VAR INJECTION */(function(global) {\\\\n/**\\\\n * Module exports.\\\\n */\\\\n\\\\nmodule.exports = deprecate;\\\\n\\\\n/**\\\\n * Mark that a method should not be used.\\\\n * Returns a modified function which warns once by default.\\\\n *\\\\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\\\\n *\\\\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\\\\n * will throw an Error when invoked.\\\\n *\\\\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\\\\n * will invoke `console.trace()` instead of `console.error()`.\\\\n *\\\\n * @param {Function} fn - the function to deprecate\\\\n * @param {String} msg - the string to print to the console when `fn` is invoked\\\\n * @returns {Function} a new \\\\\\\"deprecated\\\\\\\" version of `fn`\\\\n * @api public\\\\n */\\\\n\\\\nfunction deprecate (fn, msg) {\\\\n if (config('noDeprecation')) {\\\\n return fn;\\\\n }\\\\n\\\\n var warned = false;\\\\n function deprecated() {\\\\n if (!warned) {\\\\n if (config('throwDeprecation')) {\\\\n throw new Error(msg);\\\\n } else if (config('traceDeprecation')) {\\\\n console.trace(msg);\\\\n } else {\\\\n console.warn(msg);\\\\n }\\\\n warned = true;\\\\n }\\\\n return fn.apply(this, arguments);\\\\n }\\\\n\\\\n return deprecated;\\\\n}\\\\n\\\\n/**\\\\n * Checks `localStorage` for boolean values for the given `name`.\\\\n *\\\\n * @param {String} name\\\\n * @returns {Boolean}\\\\n * @api private\\\\n */\\\\n\\\\nfunction config (name) {\\\\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\\\\n try {\\\\n if (!global.localStorage) return false;\\\\n } catch (_) {\\\\n return false;\\\\n }\\\\n var val = global.localStorage[name];\\\\n if (null == val) return false;\\\\n return String(val).toLowerCase() === 'true';\\\\n}\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \\\\\\\"./node_modules/webpack/buildin/global.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/util-deprecate/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/webpack/buildin/global.js\\\":\\n/*!***********************************!*\\\\\\n !*** (webpack)/buildin/global.js ***!\\n \\\\***********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"var g;\\\\n\\\\n// This works in non-strict mode\\\\ng = (function() {\\\\n\\\\treturn this;\\\\n})();\\\\n\\\\ntry {\\\\n\\\\t// This works if eval is allowed (see CSP)\\\\n\\\\tg = g || new Function(\\\\\\\"return this\\\\\\\")();\\\\n} catch (e) {\\\\n\\\\t// This works if the window reference is available\\\\n\\\\tif (typeof window === \\\\\\\"object\\\\\\\") g = window;\\\\n}\\\\n\\\\n// g can still be undefined, but nothing to do about it...\\\\n// We return undefined, instead of nothing here, so it's\\\\n// easier to handle this case. if(!global) { ...}\\\\n\\\\nmodule.exports = g;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/(webpack)/buildin/global.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/webpack/buildin/module.js\\\":\\n/*!***********************************!*\\\\\\n !*** (webpack)/buildin/module.js ***!\\n \\\\***********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = function(module) {\\\\n\\\\tif (!module.webpackPolyfill) {\\\\n\\\\t\\\\tmodule.deprecate = function() {};\\\\n\\\\t\\\\tmodule.paths = [];\\\\n\\\\t\\\\t// module.parent = undefined by default\\\\n\\\\t\\\\tif (!module.children) module.children = [];\\\\n\\\\t\\\\tObject.defineProperty(module, \\\\\\\"loaded\\\\\\\", {\\\\n\\\\t\\\\t\\\\tenumerable: true,\\\\n\\\\t\\\\t\\\\tget: function() {\\\\n\\\\t\\\\t\\\\t\\\\treturn module.l;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\t\\\\tObject.defineProperty(module, \\\\\\\"id\\\\\\\", {\\\\n\\\\t\\\\t\\\\tenumerable: true,\\\\n\\\\t\\\\t\\\\tget: function() {\\\\n\\\\t\\\\t\\\\t\\\\treturn module.i;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\t\\\\tmodule.webpackPolyfill = 1;\\\\n\\\\t}\\\\n\\\\treturn module;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/(webpack)/buildin/module.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/xtend/immutable.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/xtend/immutable.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = extend\\\\n\\\\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\\\\n\\\\nfunction extend() {\\\\n var target = {}\\\\n\\\\n for (var i = 0; i < arguments.length; i++) {\\\\n var source = arguments[i]\\\\n\\\\n for (var key in source) {\\\\n if (hasOwnProperty.call(source, key)) {\\\\n target[key] = source[key]\\\\n }\\\\n }\\\\n }\\\\n\\\\n return target\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/xtend/immutable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/parseData.js\\\":\\n/*!**************************!*\\\\\\n !*** ./src/parseData.js ***!\\n \\\\**************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nObject.defineProperty(exports, \\\\\\\"__esModule\\\\\\\", {\\\\n value: true\\\\n});\\\\n\\\\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\\\\\\\"return\\\\\\\"]) _i[\\\\\\\"return\\\\\\\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\\\\\\\"Invalid attempt to destructure non-iterable instance\\\\\\\"); } }; }();\\\\n\\\\nvar _typeof = typeof Symbol === \\\\\\\"function\\\\\\\" && typeof Symbol.iterator === \\\\\\\"symbol\\\\\\\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \\\\\\\"function\\\\\\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\\\\\\"symbol\\\\\\\" : typeof obj; };\\\\n\\\\nexports.default = parseData;\\\\n\\\\nvar _geotiff = __webpack_require__(/*! geotiff */ \\\\\\\"./node_modules/geotiff/src/geotiff.js\\\\\\\");\\\\n\\\\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \\\\\\\"./node_modules/geotiff-palette/index.js\\\\\\\");\\\\n\\\\nvar _utils = __webpack_require__(/*! ./utils.js */ \\\\\\\"./src/utils.js\\\\\\\");\\\\n\\\\nfunction processResult(result, debug) {\\\\n var noDataValue = result.noDataValue;\\\\n var height = result.height;\\\\n var width = result.width;\\\\n\\\\n return new Promise(function (resolve, reject) {\\\\n result.maxs = [];\\\\n result.mins = [];\\\\n result.ranges = [];\\\\n\\\\n var max = void 0;var min = void 0;\\\\n\\\\n // console.log(\\\\\\\"starting to get min, max and ranges\\\\\\\");\\\\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\\\\n var rows = result.values[rasterIndex];\\\\n if (debug) console.log('[georaster] rows:', rows);\\\\n\\\\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\\\\n var row = rows[rowIndex];\\\\n\\\\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\\\\n var value = row[columnIndex];\\\\n if (value != noDataValue && !isNaN(value)) {\\\\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\\\\n }\\\\n }\\\\n }\\\\n\\\\n result.maxs.push(max);\\\\n result.mins.push(min);\\\\n result.ranges.push(max - min);\\\\n }\\\\n\\\\n resolve(result);\\\\n });\\\\n}\\\\n\\\\n/* We're not using async because trying to avoid dependency on babel's polyfill\\\\nThere can be conflicts when GeoRaster is used in another project that is also\\\\nusing @babel/polyfill */\\\\nfunction parseData(data, debug) {\\\\n return new Promise(function (resolve, reject) {\\\\n try {\\\\n if (debug) console.log('starting parseData with', data);\\\\n if (debug) console.log('\\\\\\\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\\\\n\\\\n var result = {};\\\\n\\\\n var height = void 0,\\\\n width = void 0;\\\\n\\\\n if (data.rasterType === 'object') {\\\\n result.values = data.data;\\\\n result.height = height = data.metadata.height || result.values[0].length;\\\\n result.width = width = data.metadata.width || result.values[0][0].length;\\\\n result.pixelHeight = data.metadata.pixelHeight;\\\\n result.pixelWidth = data.metadata.pixelWidth;\\\\n result.projection = data.metadata.projection;\\\\n result.xmin = data.metadata.xmin;\\\\n result.ymax = data.metadata.ymax;\\\\n result.noDataValue = data.metadata.noDataValue;\\\\n result.numberOfRasters = result.values.length;\\\\n result.xmax = result.xmin + result.width * result.pixelWidth;\\\\n result.ymin = result.ymax - result.height * result.pixelHeight;\\\\n result._data = null;\\\\n resolve(processResult(result));\\\\n } else if (data.rasterType === 'geotiff') {\\\\n result._data = data.data;\\\\n\\\\n var initFunction = _geotiff.fromArrayBuffer;\\\\n if (data.sourceType === 'url') {\\\\n initFunction = _geotiff.fromUrl;\\\\n } else if (data.sourceType === 'Blob') {\\\\n initFunction = _geotiff.fromBlob;\\\\n }\\\\n\\\\n if (debug) console.log('data.rasterType is geotiff');\\\\n resolve(initFunction(data.data).then(function (geotiff) {\\\\n if (debug) console.log('geotiff:', geotiff);\\\\n return geotiff.getImage().then(function (image) {\\\\n try {\\\\n if (debug) console.log('image:', image);\\\\n\\\\n var fileDirectory = image.fileDirectory;\\\\n\\\\n var _ref = image.getGeoKeys() || {},\\\\n GeographicTypeGeoKey = _ref.GeographicTypeGeoKey,\\\\n ProjectedCSTypeGeoKey = _ref.ProjectedCSTypeGeoKey;\\\\n\\\\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey || data.metadata.projection;\\\\n if (debug) console.log('projection:', result.projection);\\\\n\\\\n result.height = height = image.getHeight();\\\\n if (debug) console.log('result.height:', result.height);\\\\n result.width = width = image.getWidth();\\\\n if (debug) console.log('result.width:', result.width);\\\\n\\\\n var _image$getResolution = image.getResolution(),\\\\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\\\\n resolutionX = _image$getResolution2[0],\\\\n resolutionY = _image$getResolution2[1];\\\\n\\\\n result.pixelHeight = Math.abs(resolutionY);\\\\n result.pixelWidth = Math.abs(resolutionX);\\\\n\\\\n var _image$getOrigin = image.getOrigin(),\\\\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\\\\n originX = _image$getOrigin2[0],\\\\n originY = _image$getOrigin2[1];\\\\n\\\\n result.xmin = originX;\\\\n result.xmax = result.xmin + width * result.pixelWidth;\\\\n result.ymax = originY;\\\\n result.ymin = result.ymax - height * result.pixelHeight;\\\\n\\\\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\\\\n\\\\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\\\\n\\\\n if (fileDirectory.ColorMap) {\\\\n result.palette = (0, _geotiffPalette.getPalette)(image);\\\\n }\\\\n\\\\n if (data.sourceType !== 'url') {\\\\n return image.readRasters().then(function (rasters) {\\\\n result.values = rasters.map(function (valuesInOneDimension) {\\\\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\\\\n });\\\\n return processResult(result);\\\\n });\\\\n } else {\\\\n return result;\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n }));\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/utils.js\\\":\\n/*!**********************!*\\\\\\n !*** ./src/utils.js ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction countIn1D(array) {\\\\n return array.reduce(function (counts, value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\nfunction countIn2D(rows) {\\\\n return rows.reduce(function (counts, values) {\\\\n values.forEach(function (value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n });\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\n/*\\\\nTakes in a flattened one dimensional array\\\\nrepresenting two-dimensional pixel values\\\\nand returns an array of arrays.\\\\n*/\\\\nfunction unflatten(valuesInOneDimension, size) {\\\\n var height = size.height,\\\\n width = size.width;\\\\n\\\\n var valuesInTwoDimensions = [];\\\\n for (var y = 0; y < height; y++) {\\\\n var start = y * width;\\\\n var end = start + width;\\\\n valuesInTwoDimensions.push(valuesInOneDimension.slice(start, end));\\\\n }\\\\n return valuesInTwoDimensions;\\\\n}\\\\n\\\\nmodule.exports = { countIn1D: countIn1D, countIn2D: countIn2D, unflatten: unflatten };\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/worker.js\\\":\\n/*!***********************!*\\\\\\n !*** ./src/worker.js ***!\\n \\\\***********************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parseData.js */ \\\\\\\"./src/parseData.js\\\\\\\");\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_parseData_js__WEBPACK_IMPORTED_MODULE_0__);\\\\n\\\\n\\\\n// this is a bit of a hack to trick geotiff to work with web worker\\\\n// eslint-disable-next-line no-unused-vars\\\\nconst window = self;\\\\n\\\\nonmessage = e => {\\\\n const data = e.data;\\\\n _parseData_js__WEBPACK_IMPORTED_MODULE_0___default()(data).then(result => {\\\\n if (result._data instanceof ArrayBuffer) {\\\\n postMessage(result, [result._data]);\\\\n } else {\\\\n postMessage(result);\\\\n }\\\\n close();\\\\n });\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/worker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ 0:\\n/*!**********************!*\\\\\\n !*** util (ignored) ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/* (ignored) */\\\\n\\\\n//# sourceURL=webpack://GeoRaster/util_(ignored)?\\\");\\n\\n/***/ }),\\n\\n/***/ 1:\\n/*!**********************!*\\\\\\n !*** util (ignored) ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/* (ignored) */\\\\n\\\\n//# sourceURL=webpack://GeoRaster/util_(ignored)?\\\");\\n\\n/***/ }),\\n\\n/***/ 2:\\n/*!**********************!*\\\\\\n !*** util (ignored) ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/* (ignored) */\\\\n\\\\n//# sourceURL=webpack://GeoRaster/util_(ignored)?\\\");\\n\\n/***/ }),\\n\\n/***/ 3:\\n/*!**********************!*\\\\\\n !*** util (ignored) ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/* (ignored) */\\\\n\\\\n//# sourceURL=webpack://GeoRaster/util_(ignored)?\\\");\\n\\n/***/ })\\n\\n/******/ });\",null);};\n\n//# sourceURL=webpack://GeoRaster/./src/worker.js?"); /***/ }), @@ -1560,6 +1737,28 @@ eval("/* (ignored) */\n\n//# sourceURL=webpack://GeoRaster/util_(ignored)?"); eval("/* (ignored) */\n\n//# sourceURL=webpack://GeoRaster/util_(ignored)?"); +/***/ }), + +/***/ 2: +/*!**********************!*\ + !*** util (ignored) ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/* (ignored) */\n\n//# sourceURL=webpack://GeoRaster/util_(ignored)?"); + +/***/ }), + +/***/ 3: +/*!**********************!*\ + !*** util (ignored) ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/* (ignored) */\n\n//# sourceURL=webpack://GeoRaster/util_(ignored)?"); + /***/ }) /******/ }); diff --git a/dist/georaster.browser.bundle.min.js b/dist/georaster.browser.bundle.min.js index 3160e14..4c557aa 100644 --- a/dist/georaster.browser.bundle.min.js +++ b/dist/georaster.browser.bundle.min.js @@ -1,10 +1,12 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.GeoRaster=t():e.GeoRaster=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=44)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return a}));const n=Symbol("thread.errors"),i=Symbol("thread.events"),o=Symbol("thread.terminate"),s=Symbol("thread.transferable"),a=Symbol("thread.worker")},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";(function(e){ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.GeoRaster=t():e.GeoRaster=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=54)}([function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,l=[],c=!1,f=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&d())}function d(){if(!c){var e=a(h);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f1)for(var r=1;r * @license MIT */ -var n=r(45),i=r(46),o=r(25);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(e).length;default:if(n)return N(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return E(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return x(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var l=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){for(var f=!0,h=0;hi&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function x(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(o,s),c=this.slice(n,i),l=e.slice(t,r),f=0;fi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return S(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;in)&&(r=n);for(var i="",o=t;or)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function M(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function D(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function L(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,r,n,o){return o||L(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function j(e,t,r,n,o){return o||L(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||P(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);P(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);P(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(1))},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var r=1;r{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(71)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(3))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e};function o(e){return i.deserialize(e)}function s(e){return i.serialize(e)}},function(e,t,r){"use strict";var n=r(15),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var o=Object.create(r(10));o.inherits=r(4);var s=r(26),a=r(30);o.inherits(f,s);for(var u=i(a.prototype),c=0;c/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e);function a(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let u;function c(){return u||(u=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn't support workers in workers.")}};class e extends Worker{constructor(e,t){var r,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!s(e)&&i().match(/^file:\/\//i)&&(e=new URL(e,i().replace(/\/[^\/]+$/,"/")),(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=a(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&s(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=a(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,r){const n=new window.Blob([e],{type:"text/javascript"});return new t(n,r)}}return{blob:t,default:e}}()),u}},function(e,t,r){"use strict";var n,i;r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(n||(n={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(2).Buffer.isBuffer},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(0);function i(e){throw Error(e)}const o={errors:e=>e[n.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[n.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[n.c]()}},function(e,t){},function(e,t,r){"use strict";const n=()=>"function"==typeof Symbol,i=e=>n()&&Boolean(Symbol[e]),o=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const s=o("iterator"),a=o("observable"),u=o("species");function c(e,t){const r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function l(e){let t=e.constructor;return void 0!==t&&(t=t[u],null===t&&(t=void 0)),void 0!==t?t:w}function f(e){f.log?f.log(e):setTimeout(()=>{throw e},0)}function h(e){Promise.resolve().then(()=>{try{e()}catch(e){f(e)}})}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=c(t,"unsubscribe");e&&e.call(t)}}catch(e){f(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";const n=e._observer;try{const i=n?c(n,t):void 0;switch(t){case"next":i&&i.call(n,r);break;case"error":if(p(e),!i)throw r;i.call(n,r);break;case"complete":p(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:r})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void h(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const r of t)if(g(e,r.type,r.value),"closed"===e._state)break}}(e))):void g(e,t,r)}class y{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const r=new b(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class b{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){m(this._subscription,"next",e)}error(e){m(this._subscription,"error",e)}complete(){m(this._subscription,"complete")}}class w{constructor(e){if(!(this instanceof w))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,r){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:r}),new y(e,this._subscriber)}pipe(e,...t){let r=this;for(const n of[e,...t])r=n(r);return r}tap(e,t,r){const n="object"!=typeof e||null===e?{next:e,error:t,complete:r}:e;return new w(e=>this.subscribe({next(t){n.next&&n.next(t),e.next(t)},error(t){n.error&&n.error(t),e.error(t)},complete(){n.complete&&n.complete(),e.complete()},start(e){n.start&&n.start(e)}}))}forEach(e){return new Promise((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function n(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,n)}catch(e){r(e),i.unsubscribe()}},error(e){r(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))(t=>this.subscribe({next(r){let n=r;try{n=e(r)}catch(e){return t.error(e)}t.next(n)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))(t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const r=l(this),n=arguments.length>1;let i=!1,o=t;return new r(t=>this.subscribe({next(r){const s=!i;if(i=!0,!s||n)try{o=e(o,r)}catch(e){return t.error(e)}else o=r},error(e){t.error(e)},complete(){if(!i&&!n)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(o),t.complete()}}))}concat(...e){const t=l(this);return new t(r=>{let n,i=0;return function o(s){n=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){i===e.length?(n=void 0,r.complete()):o(t.from(e[i++]))}})}(this),()=>{n&&(n.unsubscribe(),n=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=l(this);return new t(r=>{const n=[],i=this.subscribe({next(i){let s;if(e)try{s=e(i)}catch(e){return r.error(e)}else s=i;const a=t.from(s).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){const e=n.indexOf(a);e>=0&&n.splice(e,1),o()}});n.push(a)},error(e){r.error(e)},complete(){o()}});function o(){i.closed&&0===n.length&&r.complete()}return()=>{n.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,a)](){return this}static from(e){const t="function"==typeof this?this:w;if(null==e)throw new TypeError(e+" is not an object");const r=c(e,a);if(r){const n=r.call(e);if(Object(n)!==n)throw new TypeError(n+" is not an object");return function(e){return e instanceof w}(n)&&n.constructor===t?n:new t(e=>n.subscribe(e))}if(i("iterator")){const r=c(e,s);if(r)return new t(t=>{h(()=>{if(!t.closed){for(const n of r.call(e))if(t.next(n),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:w)(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})})}static get[u](){return this}}n()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:a,hostReportError:f},configurable:!0});t.a=w},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(n||(n={}))},function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:for(o=new Array(a-1),s=0;s",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=r(80);function w(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?M+="x":M+=P[D];if(!M.match(d)){var U=R.slice(0,E),j=R.slice(E+1),F=P.match(p);F&&(U.push(F[1]),j.unshift(F[2])),j.length&&(w="/"+j.join(".")+w),this.hostname=U.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+B,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!g[k])for(E=0,I=l.length;E0)&&r.host.split("@"))&&(r.auth=O.shift(),r.host=r.hostname=O.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!S.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var x=S.slice(-1)[0],C=(r.host||e.host||S.length>1)&&("."===x||".."===x)||""===x,E=0,A=S.length;A>=0;A--)"."===(x=S[A])?S.splice(A,1):".."===x?(S.splice(A,1),E++):E&&(S.splice(A,1),E--);if(!_&&!k)for(;E--;E)S.unshift("..");!_||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),C&&"/"!==S.join("/").substr(-1)&&S.push("");var O,R=""===S[0]||S[0]&&"/"===S[0].charAt(0);T&&(r.hostname=r.host=R?"":S.length?S.shift():"",(O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=O.shift(),r.host=r.hostname=O.shift()));return(_=_||r.host&&S.length)&&!R&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){(function(e){var n=r(73),i=r(35),o=r(75),s=r(76),a=r(17),u=t;u.request=function(t,r){t="string"==typeof t?a.parse(t):o(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||i,u=t.hostname||t.host,c=t.port,l=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?s+"//"+u:"")+(c?":"+c:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new n(t);return r&&f.on("response",r),f},u.get=function(e,t){var r=u.request(e,t);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(1))},,function(e,t,r){(t=e.exports=r(26)).Stream=t,t.Readable=t,t.Writable=r(30),t.Duplex=r(7),t.Transform=r(32),t.PassThrough=r(59)},function(e,t,r){var n=r(2),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=s),o(i,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y}));var n=r(5),i=r.n(n),o=r(13),s=r(6),a=r(41),u=r(0),c=r(14),l=r(24),f=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))};const h=i()("threads:master:messages"),d=i()("threads:master:spawn"),p=i()("threads:master:thread-utils"),g=void 0!==e&&e.env.THREADS_WORKER_INIT_TIMEOUT?Number.parseInt(e.env.THREADS_WORKER_INIT_TIMEOUT,10):1e4;function m(e,t,r,n){const i=r.filter(e=>e.type===c.a.internalError).map(e=>e.error);return Object.assign(e,{[u.a]:i,[u.b]:r,[u.c]:n,[u.e]:t})}function y(e,t){return f(this,void 0,void 0,(function*(){d("Initializing new thread");const r=t&&t.timeout?t.timeout:g,n=(yield function(e,t,r){return f(this,void 0,void 0,(function*(){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>i(Error(r)),t)}),o=yield Promise.race([e,i]);return clearTimeout(n),o}))}(function(e){return new Promise((t,r)=>{const n=i=>{var o;h("Message from worker before finishing initialization:",i.data),(o=i.data)&&"init"===o.type?(e.removeEventListener("message",n),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",n),r(Object(s.a)(i.data.error)))};e.addEventListener("message",n)})}(e),r,`Timeout: Did not receive an init message from worker after ${r}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:u}=function(e){const[t,r]=Object(a.a)();return{terminate:()=>f(this,void 0,void 0,(function*(){p("Terminating worker"),yield e.terminate(),r()})),termination:t}}(e),y=function(e,t){return new o.a(r=>{const n=e=>{const t={type:c.a.message,data:e.data};r.next(t)},i=e=>{p("Unhandled promise rejection event in thread:",e);const t={type:c.a.internalError,error:Error(e.reason)};r.next(t)};e.addEventListener("message",n),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:c.a.termination};e.removeEventListener("message",n),e.removeEventListener("unhandledrejection",i),r.next(t),r.complete()})})}(e,i);if("function"===n.type){return m(Object(l.a)(e),e,y,u)}if("module"===n.type){return m(Object(l.b)(e,n.methods),e,y,u)}{const e=n.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}}).call(this,r(3))},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n=r(5),i=r.n(n),o=r(40),s=r(88),a=r(13);function u(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}}))}var c,l=r(8);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(c||(c={}));var f=r(11),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new o.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const r="number"==typeof t?{size:t}:t||{},{size:n=l.a}=r;this.debug=i()("threads:pool:"+(r.name||String(d++)).replace(/\W/g," ").trim().replace(/\s+/g,"-")),this.options=r,this.workers=function(e,t){return function(e){const t=[];for(let r=0;r({init:e(),runningTasks:[]}))}(e,n),this.eventObservable=Object(s.a)(a.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:c.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthh(this,void 0,void 0,(function*(){var n;yield(n=0,new Promise(e=>setTimeout(e,n)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==r),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(r)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:c.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,r)=>{const n=this.events().subscribe(i=>{i.type===c.taskCompleted&&i.taskID===e?(n.unsubscribe(),t(i.returnValue)):i.type===c.taskFailed&&i.taskID===e?(n.unsubscribe(),r(i.error)):i.type===c.terminated&&(n.unsubscribe(),r(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return h(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,r)=>[...e,...t(r)],[]);var e,t},r=[],n=this.eventObservable.subscribe(e=>{e.type===c.taskFailed&&r.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield u(t()),r):(yield new Promise((e,t)=>{const r=this.eventObservable.subscribe({next(t){t.type===c.taskQueueDrained&&(r.unsubscribe(),e(void 0))},error:t})}),yield u(t()),n.unsubscribe(),r)}))}completed(e=!1){return h(this,void 0,void 0,(function*(){const t=this.settled(e),r=new Promise((e,r)=>{const n=this.eventObservable.subscribe({next(i){i.type===c.taskQueueDrained?(n.unsubscribe(),e(t)):i.type===c.taskFailed&&(n.unsubscribe(),r(i.error))},error:r})}),n=yield Promise.race([t,r]);if(n.length>0)throw n[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const r=this.nextTaskID++,n=this.taskCompletion(r);n.catch(e=>{this.debug(`Task #${r} errored:`,e)});const i={id:r,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:c.taskCanceled,taskID:i.id}))},then:n.then.bind(n)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won't finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:c.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return h(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:c.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>h(this,void 0,void 0,(function*(){return f.a.terminate(yield e.init)}))))}))}}function g(e,t){return new p(e,t)}p.EventType=c,g.EventType=c;const m=g},function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return w}));var n=r(5),i=r.n(n),o=r(13),s=r(88),a=r(6);const u=()=>{},c=e=>e,l=e=>Promise.resolve().then(e);function f(e){throw e}class h extends o.a{constructor(e){super(t=>{const r=this,n=Object.assign(Object.assign({},t),{complete(){t.complete(),r.onCompletion()},error(e){t.error(e),r.onError(e)},next(e){t.next(e),r.onNext(e)}});try{return this.initHasRun=!0,e(n)}catch(e){n.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)l(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)l(()=>e(this.firstValue))}then(e,t){const r=e||c,n=t||f;let i=!1;return new Promise((e,t)=>{const o=r=>{if(!i){i=!0;try{e(n(r))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:o}),"fulfilled"===this.state?e(r(this.firstValue)):"rejected"===this.state?(i=!0,e(n(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(r(t))}catch(e){o(e)}}),void this.rejectionCallbacks.push(o))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||u;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new h(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var d=r(42),p=r(9);const g=i()("threads:master:messages");let m=1;function y(e,t){return new o.a(r=>{let n;const i=o=>{var s;if(g("Message from worker:",o.data),o.data&&o.data.uid===t)if((s=o.data)&&s.type===p.b.running)n=o.data.resultType;else if((e=>e&&e.type===p.b.result)(o.data))"promise"===n?(void 0!==o.data.payload&&r.next(Object(a.a)(o.data.payload)),r.complete(),e.removeEventListener("message",i)):(o.data.payload&&r.next(Object(a.a)(o.data.payload)),o.data.complete&&(r.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===p.b.error)(o.data)){const t=Object(a.a)(o.data.error);r.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===n||!n){const r={type:p.a.cancel,uid:t};e.postMessage(r)}e.removeEventListener("message",i)}})}function b(e,t){return(...r)=>{const n=m++,{args:i,transferables:o}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],r=[];for(const n of e)Object(d.a)(n)?(t.push(Object(a.b)(n.send)),r.push(...n.transferables)):t.push(Object(a.b)(n));return{args:t,transferables:0===r.length?r:(n=r,Array.from(new Set(n)))};var n}(r),u={type:p.a.run,uid:n,method:t,args:i};g("Sending command to run function to worker:",u);try{e.postMessage(u,o)}catch(e){return h.from(Promise.reject(e))}return h.from(Object(s.a)(y(e,n)))}}function w(e,t){const r={};for(const n of t)r[n]=b(e,n);return r}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";(function(t,n){var i=r(15);e.exports=w;var o,s=r(25);w.ReadableState=b;r(27).EventEmitter;var a=function(e,t){return e.listeners(t).length},u=r(28),c=r(21).Buffer,l=t.Uint8Array||function(){};var f=Object.create(r(10));f.inherits=r(4);var h=r(52),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,g=r(53),m=r(29);f.inherits(w,u);var y=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(o=o||r(7));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(31).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function w(e){if(o=o||r(7),!(this instanceof w))return new w(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function v(e,t,r,n,i){var o,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}(e,s)):(i||(o=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?_(e,s,t,!1):x(e,s)):_(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(T,e):T(e))}function T(e){d("emit readable"),e.emit("readable"),O(e)}function x(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;eo.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(P,t,e))}function P(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function M(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):S(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e0?R(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:w;function c(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",y),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",w),r.removeListener("data",g),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){d("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",c);var f=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,O(e))}}(r);e.on("drain",f);var h=!1;var p=!1;function g(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==M(o.pipes,e))&&!h&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){d("onerror",t),w(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",b),w()}function b(){d("onfinish"),e.removeListener("close",y),w()}function w(){d("unpipe"),r.unpipe(e)}return r.on("data",g),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",y),e.once("finish",b),e.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var c=u.length,l=m(u,c);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){e.exports=r(27).EventEmitter},function(e,t,r){"use strict";var n=r(15);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(i,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,r){"use strict";(function(t,n,i){var o=r(15);function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=b;var a,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:o.nextTick;b.WritableState=y;var c=Object.create(r(10));c.inherits=r(4);var l={deprecate:r(57)},f=r(28),h=r(21).Buffer,d=i.Uint8Array||function(){};var p,g=r(29);function m(){}function y(e,t){a=a||r(7),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,c=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(c||0===c)?c:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(T,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),T(e,t))}(e,r,n,t,i);else{var s=k(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?u(v,e,r,s,i):v(e,r,s,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(a=a||r(7),!(p.call(b,this)||this instanceof a))return new b(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function w(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function v(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),T(e,t)}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,w(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(w(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),T(e,t)}))}function T(e,t){var r=k(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}c.inherits(b,f),y.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===b&&(e&&e._writableState instanceof y)}})):p=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,i=this._writableState,s=!1,a=!i.objectMode&&(n=e,h.isBuffer(n)||n instanceof d);return a&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=m),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var i=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),o.nextTick(n,s),i=!1),i}(this,i,e,r))&&(i.pendingcb++,s=function(e,t,r,n,i,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,r));return t}(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,T(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(3),r(55).setImmediate,r(1))},function(e,t,r){"use strict";var n=r(58).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";e.exports=s;var n=r(7),i=Object.create(r(10));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(o.a)(r),t)}async decode(e,t){return new Promise((r,n)=>{this.pool.queue(async i=>{try{const n=await i(e,t);r(n)}catch(e){n(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,r(70))},function(e,t,r){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function i(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var o=void 0!==e.ArrayBuffer,s=o&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"==typeof e}t.arraybuffer=t.fetch||o&&i("arraybuffer"),t.msstream=!t.fetch&&s&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&a(n().overrideMimeType),t.vbArray=a(e.VBArray),r=null}).call(this,r(1))},function(e,t,r){(function(e,n,i){var o=r(34),s=r(4),a=r(20),u=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,r,s,u){var c=this;if(a.Readable.call(c),c._mode=s,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){e.nextTick((function(){c.emit("close")}))})),"fetch"===s){if(c._fetchResponse=r,c.url=r.url,c.statusCode=r.status,c.statusMessage=r.statusText,r.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),o.writableStream){var l=new WritableStream({write:function(e){return new Promise((function(t,r){c._destroyed?r():c.push(new n(e))?t():c._resumeFetch=t}))},close:function(){i.clearTimeout(u),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void r.body.pipeTo(l).catch((function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)}))}catch(e){}}var f=r.body.getReader();!function e(){f.read().then((function(t){if(!c._destroyed){if(t.done)return i.clearTimeout(u),void c.push(null);c.push(new n(t.value)),e()}})).catch((function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)}))}()}else{if(c._xhr=t,c._pos=0,c.url=t.responseURL,c.statusCode=t.status,c.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===c.headers[r]&&(c.headers[r]=[]),c.headers[r].push(t[2])):void 0!==c.headers[r]?c.headers[r]+=", "+t[2]:c.headers[r]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!o.overrideMimeType){var h=c.rawHeaders["mime-type"];if(h){var d=h.match(/;\s*charset=([^;])(;|$)/);d&&(c._charset=d[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};s(c,a.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{r=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var s=new n(o.length),a=0;ae._pos&&(e.push(new n(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(r)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r(3),r(2).Buffer,r(1))},function(e,t,r){"use strict";e.exports={countIn1D:function(e){return e.reduce((function(e,t){return void 0===e[t]?e[t]=1:e[t]++,e}),{})},countIn2D:function(e){return e.reduce((function(e,t){return t.forEach((function(t){void 0===e[t]?e[t]=1:e[t]++})),e}),{})},unflatten:function(e,t){for(var r=t.height,n=t.width,i=[],o=0;o>24)/500+a,c=a-(e[t+2]<<24>>24)/200;u=.95047*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),c=1.08883*(c*c*c>.008856?c*c*c:(c-16/116)/7.787),i=3.2406*u+-1.5372*a+-.4986*c,o=-.9689*u+1.8758*a+.0415*c,s=.0557*u+-.204*a+1.057*c,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n[r]=255*Math.max(0,Math.min(1,i)),n[r+1]=255*Math.max(0,Math.min(1,o)),n[r+2]=255*Math.max(0,Math.min(1,s))}return n}function S(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function T(e,t,r){let n=0,i=e.length;const o=i/r;for(;i>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;i-=t}const s=e.slice();for(let t=0;t=e.byteLength);++o){let n;if(2===t){switch(i[0]){case 8:n=new Uint8Array(e,o*a*r*s,a*r*s);break;case 16:n=new Uint16Array(e,o*a*r*s,a*r*s/2);break;case 32:n=new Uint32Array(e,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}S(n,a)}else 3===t&&(n=new Uint8Array(e,o*a*r*s,a*r*s),T(n,a,s))}return e}(r,n,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return r}}class C extends x{decodeBlock(e){return e}}function E(e,t){for(let r=t.length-1;r>=0;r--)e.push(t[r]);return e}function A(e){const t=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,r[e]=e;let n=258,i=9,o=0;function s(){n=258,i=9}function a(e){const t=function(e,t,r){const n=t%8,i=Math.floor(t/8),o=8-n,s=t+r-8*(i+1);let a=8*(i+2)-(t+r);const u=8*(i+2)-t;if(a=Math.max(0,a),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let c=e[i]&2**(8-n)-1;c<<=r-o;let l=c;if(i+1>>a;t<<=Math.max(0,r-u),l+=t}if(s>8&&i+2>>n}return l}(e,o,i);return o+=i,t}function u(e,i){return r[n]=i,t[n]=e,n++,n-1}function c(e){const n=[];for(let i=e;4096!==i;i=t[i])n.push(r[i]);return n}const l=[];s();const f=new Uint8Array(e);let h,d=a(f);for(;257!==d;){if(256===d){for(s(),d=a(f);256===d;)d=a(f);if(257===d)break;if(d>256)throw new Error("corrupted code at scanline "+d);E(l,c(d)),h=d}else if(d=2**i&&(12===i?h=void 0:i++),d=a(f)}return new Uint8Array(l)}class O extends x{decodeBlock(e){return A(e).buffer}}const R=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function I(e,t){let r=0;const n=[];let i=16;for(;i>0&&!e[i-1];)--i;n.push({children:[],index:0});let o,s=n[0];for(let a=0;a0;)s=n.pop();for(s.index++,n.push(s);n.length<=a;)n.push(o={children:[],index:0}),s.children[s.index]=o.children,s=o;r++}a+10)return p--,d>>p&1;if(d=e[h++],255===d){const t=e[h++];if(t)throw new Error("unexpected marker: "+(d<<8|t).toString(16))}return p=7,d>>>7}function m(e){let t,r=e;for(;null!==(t=g());){if(r=r[t],"number"==typeof r)return r;if("object"!=typeof r)throw new Error("invalid huffman sequence")}return null}function y(e){let t=e,r=0;for(;t>0;){const e=g();if(null===e)return;r=r<<1|e,--t}return r}function b(e){const t=y(e);return t>=1<0)return void w--;let r=o;const n=s;for(;r<=n;){const n=m(e.huffmanTableAC),i=15&n,o=n>>4;if(0===i){if(o<15){w=y(o)+(1<>4,0===r)i<15?(w=y(i)+(1<>4;if(0===n){if(o<15)break;i+=16}else{i+=o;t[R[i]]=b(n),i++}}};let P,M,D=0;M=1===T?n[0].blocksPerLine*n[0].blocksPerColumn:c*r.mcusPerColumn;const L=i||M;for(;D=65488&&P<=65495))break;h+=2}return h-f}function M(e,t){const r=[],{blocksPerLine:n,blocksPerColumn:i}=t,o=n<<3,s=new Int32Array(64),a=new Uint8Array(64);function u(e,r,n){const i=t.quantizationTable;let o,s,a,u,c,l,f,h,d;const p=n;let g;for(g=0;g<64;g++)p[g]=e[g]*i[g];for(g=0;g<8;++g){const e=8*g;0!==p[1+e]||0!==p[2+e]||0!==p[3+e]||0!==p[4+e]||0!==p[5+e]||0!==p[6+e]||0!==p[7+e]?(o=5793*p[0+e]+128>>8,s=5793*p[4+e]+128>>8,a=p[2+e],u=p[6+e],c=2896*(p[1+e]-p[7+e])+128>>8,h=2896*(p[1+e]+p[7+e])+128>>8,l=p[3+e]<<4,f=p[5+e]<<4,d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+128>>8,a=1567*a-3784*u+128>>8,u=d,d=c-f+1>>1,c=c+f+1>>1,f=d,d=h+l+1>>1,l=h-l+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*c+3406*h+2048>>12,c=3406*c-2276*h+2048>>12,h=d,d=799*l+4017*f+2048>>12,l=4017*l-799*f+2048>>12,f=d,p[0+e]=o+h,p[7+e]=o-h,p[1+e]=s+f,p[6+e]=s-f,p[2+e]=a+l,p[5+e]=a-l,p[3+e]=u+c,p[4+e]=u-c):(d=5793*p[0+e]+512>>10,p[0+e]=d,p[1+e]=d,p[2+e]=d,p[3+e]=d,p[4+e]=d,p[5+e]=d,p[6+e]=d,p[7+e]=d)}for(g=0;g<8;++g){const e=g;0!==p[8+e]||0!==p[16+e]||0!==p[24+e]||0!==p[32+e]||0!==p[40+e]||0!==p[48+e]||0!==p[56+e]?(o=5793*p[0+e]+2048>>12,s=5793*p[32+e]+2048>>12,a=p[16+e],u=p[48+e],c=2896*(p[8+e]-p[56+e])+2048>>12,h=2896*(p[8+e]+p[56+e])+2048>>12,l=p[24+e],f=p[40+e],d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+2048>>12,a=1567*a-3784*u+2048>>12,u=d,d=c-f+1>>1,c=c+f+1>>1,f=d,d=h+l+1>>1,l=h-l+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*c+3406*h+2048>>12,c=3406*c-2276*h+2048>>12,h=d,d=799*l+4017*f+2048>>12,l=4017*l-799*f+2048>>12,f=d,p[0+e]=o+h,p[56+e]=o-h,p[8+e]=s+f,p[48+e]=s-f,p[16+e]=a+l,p[40+e]=a-l,p[24+e]=u+c,p[32+e]=u-c):(d=5793*n[g+0]+8192>>14,p[0+e]=d,p[8+e]=d,p[16+e]=d,p[24+e]=d,p[32+e]=d,p[40+e]=d,p[48+e]=d,p[56+e]=d)}for(g=0;g<64;++g){const e=128+(p[g]+8>>4);r[g]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let r=0;r<64;r++){i[R[r]]=e[t++]}else{if(n>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[R[e]]=r()}}this.quantizationTables[15&n]=i}break}case 65472:case 65473:case 65474:{r();const n={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},s=e[t++];let a;for(let r=0;r>4,i=15&e[t+1],o=e[t+2];n.componentsOrder.push(a),n.components[a]={h:r,v:i,quantizationIdx:o},t+=3}i(n),this.frames.push(n);break}case 65476:{const n=r();for(let r=2;r>4==0?this.huffmanTablesDC[15&n]=I(i,s):this.huffmanTablesAC[15&n]=I(i,s)}break}case 65501:r(),this.resetInterval=r();break;case 65498:{r();const n=e[t++],i=[],o=this.frames[0];for(let r=0;r>4],r.huffmanTableAC=this.huffmanTablesAC[15&n],i.push(r)}const s=e[t++],a=e[t++],u=e[t++],c=P(e,t,o,i,this.resetInterval,s,a,u>>4,15&u);t+=c;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+o.toString(16))}o=r()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const a=N(e,n,i);for(let u=0;u{const a=N(e,n,i);for(let u=0;u=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(r){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(r){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(r){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return K(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),o=Math.ceil(this.getHeight()/this.getTileHeight());let s;const{tiles:a}=this;let u,c;1===this.planarConfiguration?s=t*i+e:2===this.planarConfiguration&&(s=r*i*o+t*i+e),this.isTiled?(u=this.fileDirectory.TileOffsets[s],c=this.fileDirectory.TileByteCounts[s]):(u=this.fileDirectory.StripOffsets[s],c=this.fileDirectory.StripByteCounts[s]);const l=await this.source.fetch(u,c);let f;return null===a?f=n.decode(this.fileDirectory,l):a[s]||(f=n.decode(this.fileDirectory,l),a[s]=f),{x:e,y:t,sample:r,data:await f}}async _readRaster(e,t,r,n,i,o,s,a){const u=this.getTileWidth(),c=this.getTileHeight(),l=Math.max(Math.floor(e[0]/u),0),f=Math.min(Math.ceil(e[2]/u),Math.ceil(this.getWidth()/this.getTileWidth())),h=Math.max(Math.floor(e[1]/c),0),d=Math.min(Math.ceil(e[3]/c),Math.ceil(this.getHeight()/this.getTileHeight())),p=e[2]-e[0];let g=this.getBytesPerPixel();const m=[],y=[];for(let e=0;e{const o=i.data,s=new DataView(o),a=i.y*c,f=i.x*u,h=(i.y+1)*c,d=(i.x+1)*u,b=y[l],v=Math.min(c,c-(h-e[3])),_=Math.min(u,u-(d-e[2]));for(let i=Math.max(0,e[1]-a);iu[2]||u[1]>u[3])throw new Error("Invalid subsets");const c=(u[2]-u[0])*(u[3]-u[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index '${t[e]}'.`))}else for(let e=0;es[2]||s[1]>s[3])throw new Error("Invalid subsets");const a=this.fileDirectory.PhotometricInterpretation;if(a===d.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==p.Unspecified&&o){i=[];for(let e=0;e"Item"===e.tagName);e&&(o=o.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(e+(t?o:7-o));n&&(i?0!==s&&(s=255&~(s-1),i=!1):s=255&~s),r+=s*256**o}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class Y{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+2**32*r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}if(n=2**32*t+r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}readInt64(e){let t=0;const r=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let o=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?0!==o&&(o=255&~(o-1),n=!1):o=255&~o),t+=o*256**i}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var Z=r(33),$=r(2),X=r(12),Q=r(18),J=r.n(Q),ee=r(43),te=r.n(ee),re=r(17),ne=r.n(re);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,r=!1){const n=e+t,i=[],o=[],s=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let r=[];t.push(r);for(let n=0;n{const t=await e,i=r*this.blockSize,o=Math.min(i+this.blockSize,t.data.byteLength),s=t.data.slice(i,o);this.blockRequests.delete(n),this.blocks.set(n,{data:s,offset:t.offset+i,length:s.byteLength,top:t.offset+o})})())}}this.blockIdsAwaitingRequest=null}const a=[];for(const e of o)this.blockRequests.has(e)&&a.push(this.blockRequests.get(e));await Promise.all(a),await Promise.all(s);return function(e,t,r){const n=t+r,i=new ArrayBuffer(r),o=new Uint8Array(i);for(const r of e){const e=r.offset-t,i=r.top-n;let s,a=0,u=0;e<0?a=-e:e>0&&(u=e),s=i<0?r.length-a:n-r.offset-a;const c=new Uint8Array(r.data,a,s);o.set(c,u)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const r=await this.retrievalFunction(e,t);return r.length?r.length!==r.data.byteLength&&(r.data=r.data.slice(0,r.length)):r.length=r.data.byteLength,r.top=r.offset+r.length,r}}function oe(e,t){const{forceXHR:r}=t;if("function"==typeof fetch&&!r)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${r}-${r+n-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:r,length:n}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:r})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=new XMLHttpRequest;s.open("GET",e),s.responseType="arraybuffer";const a={...t,Range:`bytes=${r}-${r+n-1}`};for(const[e,t]of Object.entries(a))s.setRequestHeader(e,t);s.onload=()=>{const e=s.response;206===s.status?i({data:e,offset:r,length:n}):i({data:e,offset:0,length:e.byteLength})},s.onerror=o,s.send()}),{blockSize:r})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=ne.a.parse(e);("http:"===s.protocol?J.a:te.a).get({...s,headers:{...t,Range:`bytes=${r}-${r+n-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=$.Buffer.concat(t).buffer;i({data:e,offset:r,length:e.byteLength})})}).on("error",o)}),{blockSize:r})}(e,t);throw new Error("No remote source available")}function se(e){const t=function(e,t,r){return new Promise((n,i)=>{Object(X.open)(e,t,r,(e,t)=>{e?i(e):n(t)})})}(e,"r");return{async fetch(e,r){const n=await t,{buffer:i}=await function(...e){return new Promise((t,r)=>{Object(X.read)(...e,(e,n,i)=>{e?r(e):t({bytesRead:n,buffer:i})})})}(n,$.Buffer.alloc(r),0,r,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,r)=>{Object(X.close)(e,e=>{e?r(e):t()})})}(e)}}}function ae(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}function ue(e,t){if(e.length{let r=t;for(;0!==e[r];)r++;return r},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const r=ge.ui8;return r[0]=e[t+1],r[1]=e[t+0],ge.i16[0]},readInt:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.i32[0]},readUint:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.ui32[0]},readASCII:(e,t,r)=>r.map(r=>String.fromCharCode(e[t+r])).join(""),readFloat:(e,t)=>{const r=ge.ui8;return le(4,n=>{r[n]=e[t+3-n]}),ge.fl32[0]},readDouble:(e,t)=>{const r=ge.ui8;return le(8,n=>{r[n]=e[t+7-n]}),ge.fl64[0]},writeUshort:(e,t,r)=>{e[t]=r>>8&255,e[t+1]=255&r},writeUint:(e,t,r)=>{e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:(e,t,r)=>{le(r.length,n=>{e[t+n]=r.charCodeAt(n)})},ui8:new Uint8Array(8)};ge.fl64=new Float64Array(ge.ui8.buffer),ge.writeDouble=(e,t,r)=>{ge.fl64[0]=r,le(8,r=>{e[t+r]=ge.ui8[7-r]})};const me=e=>{const t=new Uint8Array(1e3);let r=4;const n=ge;t[0]=77,t[1]=77,t[3]=42;let i=8;if(n.writeUint(t,r,i),r+=4,e.forEach((r,o)=>{const s=((e,t,r,n)=>{let i=r;const o=Object.keys(n).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,o.length),i+=2;let s=i+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const a=c[o],u=pe[a];if(null==a||void 0===a||void 0===a)throw new Error("unknown type of tag: "+o);let l=n[r];if(void 0===l)throw new Error("failed to get value for key "+r);"ASCII"===a&&"string"==typeof l&&!1===ue(l,"\0")&&(l+="\0");const f=l.length;e.writeUshort(t,i,o),i+=2,e.writeUshort(t,i,u),i+=2,e.writeUint(t,i,f),i+=4;let h=[-1,1,1,2,4,8,0,0,0,0,0,0,8][u]*f,d=i;h>4&&(e.writeUint(t,i,s),d=s),"ASCII"===a?e.writeASCII(t,d,l):"SHORT"===a?le(f,r=>{e.writeUshort(t,d+2*r,l[r])}):"LONG"===a?le(f,r=>{e.writeUint(t,d+4*r,l[r])}):"RATIONAL"===a?le(f,r=>{e.writeUint(t,d+8*r,Math.round(1e4*l[r])),e.writeUint(t,d+8*r+4,1e4)}):"DOUBLE"===a&&le(f,r=>{e.writeDouble(t,d+8*r,l[r])}),h>4&&(h+=1&h,s+=h),i+=4}return[i,s]})(n,t,i,r);i=s[1],o{le(i,r=>{le(n,n=>{o.push(e[n][t][r])})})})),t.ImageLength=r,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=le(n,()=>8)),ye.forEach(e=>{const r=e[0];if(!t[r]){const n=e[1];t[r]=n}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[n]),t.StripByteCounts||(t.StripByteCounts=[n*r*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/r,0]),t.SampleFormat||(t.SampleFormat=le(n,()=>1));const s=Object.keys(t).filter(e=>ue(e,"GeoKey")).sort((e,t)=>de[e]-de[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,s.length];s.forEach(r=>{const n=Number(de[r]);let i,o,s;e.push(n),"SHORT"===c[n]?(i=1,o=0,s=t[r]):"GeogCitationGeoKey"===r?(i=t.GeoAsciiParams.length,o=Number(de.GeoAsciiParams),s=0):console.log("[geotiff.js] couldn't get TIFFTagLocation for "+r),e.push(o),e.push(i),e.push(s)}),t.GeoKeyDirectory=e}for(const e in s)s.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var r;t[e]&&(t[e]=(r=t[e],Array.isArray(r)?r:[r]))});const a=(e=>{const t={};for(const r in e)"StripOffsets"!==r&&(de[r]||console.error(r,"not in name2code:",Object.keys(de)),t[de[r]]=e[r]);return t})(t);return((e,t,r,n)=>{if(null==r)throw new Error("you passed into encodeImage a width of type "+r);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[r],273:[1e3],278:[r],305:"geotiff.js"};if(n)for(const e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);const o=new Uint8Array(me([i])),s=new Uint8Array(e),a=i[277],u=new Uint8Array(1e3+t*r*a);return le(o.length,e=>{u[e]=o[e]}),function(e,t){const{length:r}=e;for(let n=0;n{u[1e3+t]=e}),u.buffer})(o,i,r,a)}class we{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let ve=new we;function _e(e=new we){ve=e}function ke(e){switch(e){case h.BYTE:case h.ASCII:case h.SBYTE:case h.UNDEFINED:return 1;case h.SHORT:case h.SSHORT:return 2;case h.LONG:case h.SLONG:case h.FLOAT:case h.IFD:return 4;case h.RATIONAL:case h.SRATIONAL:case h.DOUBLE:case h.LONG8:case h.SLONG8:case h.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function Se(e,t,r,n){let i=null,o=null;const s=ke(t);switch(t){case h.BYTE:case h.ASCII:case h.UNDEFINED:i=new Uint8Array(r),o=e.readUint8;break;case h.SBYTE:i=new Int8Array(r),o=e.readInt8;break;case h.SHORT:i=new Uint16Array(r),o=e.readUint16;break;case h.SSHORT:i=new Int16Array(r),o=e.readInt16;break;case h.LONG:case h.IFD:i=new Uint32Array(r),o=e.readUint32;break;case h.SLONG:i=new Int32Array(r),o=e.readInt32;break;case h.LONG8:case h.IFD8:i=new Array(r),o=e.readUint64;break;case h.SLONG8:i=new Array(r),o=e.readInt64;break;case h.RATIONAL:i=new Uint32Array(2*r),o=e.readUint32;break;case h.SRATIONAL:i=new Int32Array(2*r),o=e.readInt32;break;case h.FLOAT:i=new Float32Array(r),o=e.readFloat32;break;case h.DOUBLE:i=new Float64Array(r),o=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==h.RATIONAL&&t!==h.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tn||o&&o>s)break}}let f=t;if(s){const[e,t]=a.getOrigin(),[r,n]=u.getResolution(a);f=[Math.round((s[0]-e)/r),Math.round((s[1]-t)/n),Math.round((s[2]-e)/r),Math.round((s[3]-t)/n)],f=[Math.min(f[0],f[2]),Math.min(f[1],f[3]),Math.max(f[0],f[2]),Math.max(f[1],f[3])]}return u.readRasters({...e,window:f})}}class Ee extends Ce{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const r=this.bigTiff?4048:1024;return new Y(await this.source.fetch(e,void 0!==t?t:r),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=await this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),o=i*t+(this.bigTiff?16:6);n.covers(e,o)||(n=await this.getSlice(e,o));const s={};let u=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new xe(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new W(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof xe))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=await this.getSlice(e,r);if(t===Se(n,h.ASCII,t.length,e)){const t=Se(n,h.ASCII,r,e).split("\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>r&&(n=await this.getSlice(e,i));const o=Se(n,h.ASCII,i,e);this.ghostValues={},o.split("\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const r=await e.fetch(0,1024),n=new V(r),i=n.getUint16(0,0);let o;if(18761===i)o=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");o=!1}const s=n.getUint16(2,o);let a;if(42===s)a=!1;else{if(43!==s)throw new TypeError("Invalid magic number.");a=!0;if(8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const u=a?n.getUint64(8,o):n.getUint32(4,o);return new Ee(e,o,a,u,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=Ee;class Ae extends Ce{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,r=0;for(let n=0;ne.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function Oe(e,t={}){return Ee.fromSource(oe(e,t))}async function Re(e){return Ee.fromSource(function(e){return{fetch:async(t,r)=>e.slice(t,t+r)}}(e))}async function Ie(e){return Ee.fromSource(se(e))}async function Pe(e){return Ee.fromSource((t=e,{fetch:async(e,r)=>new Promise((n,i)=>{const o=t.slice(e,e+r),s=new FileReader;s.onload=e=>n(e.target.result),s.onerror=i,s.readAsArrayBuffer(o)})}));var t}async function Me(e,t=[],r={}){const n=await Ee.fromSource(oe(e,r)),i=await Promise.all(t.map(e=>Ee.fromSource(oe(e,r))));return new Ae(n,i)}async function De(e,t){return be(e,t)}},function(e,t,r){function n(e,t){"use strict";var r=(t=t||{}).pos||0,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),a="/".charCodeAt(0),u="!".charCodeAt(0),c="'".charCodeAt(0),l='"'.charCodeAt(0);function f(){for(var t=[];e[r];)if(e.charCodeAt(r)==i){if(e.charCodeAt(r+1)===a)return(r=e.indexOf(">",r))+1&&(r+=1),t;if(e.charCodeAt(r+1)===u){if(e.charCodeAt(r+2)==s){for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length)}else for(r+=2;e.charCodeAt(r)!==o&&e[r];)r++;r++;continue}var n=g();t.push(n)}else{var c=h();c.trim().length>0&&t.push(c),r++}return t}function h(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}function d(){for(var t=r;-1==="\n\t>/= ".indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var p=t.noChildNodes||["img","br","input","meta","link"];function g(){r++;const t=d(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var s=e.charCodeAt(r);if(s>64&&s<91||s>96&&s<123){for(var u=d(),h=e.charCodeAt(r);h&&h!==c&&h!==l&&!(h>64&&h<91||h>96&&h<123)&&h!==o;)r++,h=e.charCodeAt(r);if(h===c||h===l){var g=m();if(-1===r)return{tagName:t,attributes:n,children:i}}else g=null,r--;n[u]=g}r++}if(e.charCodeAt(r-1)!==a)if("script"==t){var y=r+1;r=e.indexOf("<\/script>",r),i=[e.slice(y,r-1)],r+=9}else if("style"==t){y=r+1;r=e.indexOf("",r),i=[e.slice(y,r-1)],r+=8}else-1==p.indexOf(t)&&(r++,i=f());else r++;return{tagName:t,attributes:n,children:i}}function m(){var t=e[r],n=++r;return r=e.indexOf(t,n),e.slice(n,r)}var y,b=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(b=[];-1!==(y=void 0,y=new RegExp("\\s"+t.attrName+"\\s*=['\"]"+t.attrValue+"['\"]").exec(e),r=y?y.index:-1);)-1!==(r=e.lastIndexOf("<",r))&&b.push(g()),e=e.substr(r),r=0}else b=t.parseNode?g():f();return t.filter&&(b=n.filter(b,t.filter)),t.setPos&&(b.pos=r),b}n.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=n.simplify(e.children||[]);t[e.tagName].push(r),e.attributes&&(r._attributes=e.attributes)}})),t)1==t[r].length&&(t[r]=t[r][0]);return t},n.filter=function(e,t){var r=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&r.push(e),e.children){var i=n.filter(e.children,t);r=r.concat(i)}})),r},n.stringify=function(e){var t="";function r(e){if(e)for(var r=0;r"}return r(e),t},n.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+n.toContentString(e)).trim()})),t}return"object"==typeof e?n.toContentString(e.children):" "+e},n.getElementById=function(e,t,r){var i=n(e,{attrValue:t});return r?n.simplify(i):i[0]},n.getElementsByClassName=function(e,t,r){const i=n(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return r?n.simplify(i):i},n.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=r(12);e=i.createReadStream(e,{start:t}),t=0}var o=t,s="";return e.on("data",(function(t){s+=t;for(var r=0;;){if(!(o=s.indexOf("<",o)+1))return void(o=r);if("/"!==s[o+1]){var i=n(s,{pos:o-1,parseNode:!0,setPos:!0});if((o=i.pos)>s.length-1||oo.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new c,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,u,c,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(h.output,h.next_out),c=h.next_out-u,f=o.buf2string(h.output,u),h.next_out=c,h.avail_out=d-c,c&&i.arraySet(h.output,h.output,u,c,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},function(e,t,r){"use strict";var n=r(13);class i extends n.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));const n=()=>{};function i(){let e,t=!1,r=n;return[new Promise(n=>{t?n(e):r=n}),n=>{t=!0,e=n,r(e)}]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(0);function i(e){return e&&"object"==typeof e&&e[n.d]}},function(e,t,r){var n=r(18),i=r(17),o=e.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=a(e),n.request.call(this,e,t)},o.get=function(e,t){return e=a(e),n.get.call(this,e,t)}},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r0?s-4:s;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===a&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t);1===a&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=0,a=r-i;sa?a:s+16383));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var i,o,s=[],a=t;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){ +var n=r(55),i=r(56),o=r(29);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(e).length;default:if(n)return N(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,r);case"utf8":case"utf-8":return x(this,t,r);case"ascii":return C(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){for(var f=!0,h=0;hi&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function T(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function x(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=r)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(o,s),l=this.slice(n,i),c=e.slice(t,r),f=0;fi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function C(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;in)&&(r=n);for(var i="",o=t;or)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function M(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function D(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(e,t,r,n,o){return o||D(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function U(e,t,r,n,o){return o||D(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(1))},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return a}));const n=Symbol("thread.errors"),i=Symbol("thread.events"),o=Symbol("thread.terminate"),s=Symbol("thread.transferable"),a=Symbol("thread.worker")},function(e,t,r){(function(n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(82)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(0))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e};function o(e){return i.deserialize(e)}function s(e){return i.serialize(e)}},function(e,t,r){"use strict";var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,i,s,a,u;if("string"==typeof t&&function(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be",s=e,a=" argument",(void 0===u||u>s.length)&&(u=s.length),s.substring(u-a.length,u)===a)i="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(l," ").concat(n," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var i=r(30),o=r(34);r(2)(l,i);for(var s=n(o.prototype),a=0;a/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e);function a(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let u;function l(){return u||(u=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn't support workers in workers.")}};class e extends Worker{constructor(e,t){var r,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!s(e)&&i().match(/^file:\/\//i)&&(e=new URL(e,i().replace(/\/[^\/]+$/,"/")),(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=a(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&s(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=a(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,r){const n=new window.Blob([e],{type:"text/javascript"});return new t(n,r)}}return{blob:t,default:e}}()),u}},function(e,t,r){"use strict";var n,i;r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(n||(n={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3).Buffer.isBuffer},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(4);function i(e){throw Error(e)}const o={errors:e=>e[n.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[n.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[n.c]()}},function(e,t){},function(e,t,r){"use strict";const n=()=>"function"==typeof Symbol,i=e=>n()&&Boolean(Symbol[e]),o=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const s=o("iterator"),a=o("observable"),u=o("species");function l(e,t){const r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function c(e){let t=e.constructor;return void 0!==t&&(t=t[u],null===t&&(t=void 0)),void 0!==t?t:w}function f(e){f.log?f.log(e):setTimeout(()=>{throw e},0)}function h(e){Promise.resolve().then(()=>{try{e()}catch(e){f(e)}})}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=l(t,"unsubscribe");e&&e.call(t)}}catch(e){f(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";const n=e._observer;try{const i=n?l(n,t):void 0;switch(t){case"next":i&&i.call(n,r);break;case"error":if(p(e),!i)throw r;i.call(n,r);break;case"complete":p(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:r})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void h(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const r of t)if(g(e,r.type,r.value),"closed"===e._state)break}}(e))):void g(e,t,r)}class y{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const r=new b(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class b{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){m(this._subscription,"next",e)}error(e){m(this._subscription,"error",e)}complete(){m(this._subscription,"complete")}}class w{constructor(e){if(!(this instanceof w))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,r){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:r}),new y(e,this._subscriber)}pipe(e,...t){let r=this;for(const n of[e,...t])r=n(r);return r}tap(e,t,r){const n="object"!=typeof e||null===e?{next:e,error:t,complete:r}:e;return new w(e=>this.subscribe({next(t){n.next&&n.next(t),e.next(t)},error(t){n.error&&n.error(t),e.error(t)},complete(){n.complete&&n.complete(),e.complete()},start(e){n.start&&n.start(e)}}))}forEach(e){return new Promise((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function n(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,n)}catch(e){r(e),i.unsubscribe()}},error(e){r(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(c(this))(t=>this.subscribe({next(r){let n=r;try{n=e(r)}catch(e){return t.error(e)}t.next(n)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(c(this))(t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const r=c(this),n=arguments.length>1;let i=!1,o=t;return new r(t=>this.subscribe({next(r){const s=!i;if(i=!0,!s||n)try{o=e(o,r)}catch(e){return t.error(e)}else o=r},error(e){t.error(e)},complete(){if(!i&&!n)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(o),t.complete()}}))}concat(...e){const t=c(this);return new t(r=>{let n,i=0;return function o(s){n=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){i===e.length?(n=void 0,r.complete()):o(t.from(e[i++]))}})}(this),()=>{n&&(n.unsubscribe(),n=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=c(this);return new t(r=>{const n=[],i=this.subscribe({next(i){let s;if(e)try{s=e(i)}catch(e){return r.error(e)}else s=i;const a=t.from(s).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){const e=n.indexOf(a);e>=0&&n.splice(e,1),o()}});n.push(a)},error(e){r.error(e)},complete(){o()}});function o(){i.closed&&0===n.length&&r.complete()}return()=>{n.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,a)](){return this}static from(e){const t="function"==typeof this?this:w;if(null==e)throw new TypeError(e+" is not an object");const r=l(e,a);if(r){const n=r.call(e);if(Object(n)!==n)throw new TypeError(n+" is not an object");return function(e){return e instanceof w}(n)&&n.constructor===t?n:new t(e=>n.subscribe(e))}if(i("iterator")){const r=l(e,s);if(r)return new t(t=>{h(()=>{if(!t.closed){for(const n of r.call(e))if(t.next(n),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:w)(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})})}static get[u](){return this}}n()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:a,hostReportError:f},configurable:!0});t.a=w},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(n||(n={}))},function(e,t,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}y(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&y(e,"error",t,r)}(e,i,{once:!0})}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var i,o,s,a;if(l(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=c(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var l=u.length,c=m(u,l);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){"use strict";var n=r(66).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),f=["%","/","?",";","#"].concat(c),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=r(97);function w(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?M+="x":M+=I[L];if(!M.match(d)){var j=O.slice(0,C),U=O.slice(C+1),B=I.match(p);B&&(j.push(B[1]),U.unshift(B[2])),U.length&&(w="/"+U.join(".")+w),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=n.toASCII(this.hostname));var F=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+F,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!g[S])for(C=0,P=c.length;C0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var T=k.slice(-1)[0],x=(r.host||e.host||k.length>1)&&("."===T||".."===T)||""===T,C=0,A=k.length;A>=0;A--)"."===(T=k[A])?k.splice(A,1):".."===T?(k.splice(A,1),C++):C&&(k.splice(A,1),C--);if(!_&&!S)for(;C--;C)k.unshift("..");!_||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),x&&"/"!==k.join("/").substr(-1)&&k.push("");var R,O=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(r.hostname=r.host=O?"":k.length?k.shift():"",(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift()));return(_=_||r.host&&k.length)&&!O&&k.unshift(""),k.length?r.pathname=k.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){(function(e){var n=r(84),i=r(39),o=r(92),s=r(93),a=r(21),u=t;u.request=function(t,r){t="string"==typeof t?a.parse(t):o(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||i,u=t.hostname||t.host,l=t.port,c=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?s+"//"+u:"")+(l?":"+l:"")+c,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new n(t);return r&&f.on("response",r),f},u.get=function(e,t){var r=u.request(e,t);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(1))},,function(e,t,r){"use strict";var n=r(7).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;ie.type===l.a.internalError).map(e=>e.error);return Object.assign(e,{[u.a]:i,[u.b]:r,[u.c]:n,[u.e]:t})}function y(e,t){return f(this,void 0,void 0,(function*(){d("Initializing new thread");const r=t&&t.timeout?t.timeout:g,n=(yield function(e,t,r){return f(this,void 0,void 0,(function*(){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>i(Error(r)),t)}),o=yield Promise.race([e,i]);return clearTimeout(n),o}))}(function(e){return new Promise((t,r)=>{const n=i=>{var o;h("Message from worker before finishing initialization:",i.data),(o=i.data)&&"init"===o.type?(e.removeEventListener("message",n),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",n),r(Object(s.a)(i.data.error)))};e.addEventListener("message",n)})}(e),r,`Timeout: Did not receive an init message from worker after ${r}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:u}=function(e){const[t,r]=Object(a.a)();return{terminate:()=>f(this,void 0,void 0,(function*(){p("Terminating worker"),yield e.terminate(),r()})),termination:t}}(e),y=function(e,t){return new o.a(r=>{const n=e=>{const t={type:l.a.message,data:e.data};r.next(t)},i=e=>{p("Unhandled promise rejection event in thread:",e);const t={type:l.a.internalError,error:Error(e.reason)};r.next(t)};e.addEventListener("message",n),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:l.a.termination};e.removeEventListener("message",n),e.removeEventListener("unhandledrejection",i),r.next(t),r.complete()})})}(e,i);if("function"===n.type){return m(Object(c.a)(e),e,y,u)}if("module"===n.type){return m(Object(c.b)(e,n.methods),e,y,u)}{const e=n.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}}).call(this,r(0))},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n=r(5),i=r.n(n),o=r(50),s=r(105),a=r(15);function u(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}}))}var l,c=r(10);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(l||(l={}));var f=r(13),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new o.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const r="number"==typeof t?{size:t}:t||{},{size:n=c.a}=r;this.debug=i()("threads:pool:"+(r.name||String(d++)).replace(/\W/g," ").trim().replace(/\s+/g,"-")),this.options=r,this.workers=function(e,t){return function(e){const t=[];for(let r=0;r({init:e(),runningTasks:[]}))}(e,n),this.eventObservable=Object(s.a)(a.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:l.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthh(this,void 0,void 0,(function*(){var n;yield(n=0,new Promise(e=>setTimeout(e,n)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==r),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(r)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:l.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,r)=>{const n=this.events().subscribe(i=>{i.type===l.taskCompleted&&i.taskID===e?(n.unsubscribe(),t(i.returnValue)):i.type===l.taskFailed&&i.taskID===e?(n.unsubscribe(),r(i.error)):i.type===l.terminated&&(n.unsubscribe(),r(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return h(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,r)=>[...e,...t(r)],[]);var e,t},r=[],n=this.eventObservable.subscribe(e=>{e.type===l.taskFailed&&r.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield u(t()),r):(yield new Promise((e,t)=>{const r=this.eventObservable.subscribe({next(t){t.type===l.taskQueueDrained&&(r.unsubscribe(),e(void 0))},error:t})}),yield u(t()),n.unsubscribe(),r)}))}completed(e=!1){return h(this,void 0,void 0,(function*(){const t=this.settled(e),r=new Promise((e,r)=>{const n=this.eventObservable.subscribe({next(i){i.type===l.taskQueueDrained?(n.unsubscribe(),e(t)):i.type===l.taskFailed&&(n.unsubscribe(),r(i.error))},error:r})}),n=yield Promise.race([t,r]);if(n.length>0)throw n[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const r=this.nextTaskID++,n=this.taskCompletion(r);n.catch(e=>{this.debug(`Task #${r} errored:`,e)});const i={id:r,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:l.taskCanceled,taskID:i.id}))},then:n.then.bind(n)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won't finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:l.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return h(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:l.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>h(this,void 0,void 0,(function*(){return f.a.terminate(yield e.init)}))))}))}}function g(e,t){return new p(e,t)}p.EventType=l,g.EventType=l;const m=g},function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return w}));var n=r(5),i=r.n(n),o=r(15),s=r(105),a=r(6);const u=()=>{},l=e=>e,c=e=>Promise.resolve().then(e);function f(e){throw e}class h extends o.a{constructor(e){super(t=>{const r=this,n=Object.assign(Object.assign({},t),{complete(){t.complete(),r.onCompletion()},error(e){t.error(e),r.onError(e)},next(e){t.next(e),r.onNext(e)}});try{return this.initHasRun=!0,e(n)}catch(e){n.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)c(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)c(()=>e(this.firstValue))}then(e,t){const r=e||l,n=t||f;let i=!1;return new Promise((e,t)=>{const o=r=>{if(!i){i=!0;try{e(n(r))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:o}),"fulfilled"===this.state?e(r(this.firstValue)):"rejected"===this.state?(i=!0,e(n(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(r(t))}catch(e){o(e)}}),void this.rejectionCallbacks.push(o))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||u;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new h(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var d=r(52),p=r(11);const g=i()("threads:master:messages");let m=1;function y(e,t){return new o.a(r=>{let n;const i=o=>{var s;if(g("Message from worker:",o.data),o.data&&o.data.uid===t)if((s=o.data)&&s.type===p.b.running)n=o.data.resultType;else if((e=>e&&e.type===p.b.result)(o.data))"promise"===n?(void 0!==o.data.payload&&r.next(Object(a.a)(o.data.payload)),r.complete(),e.removeEventListener("message",i)):(o.data.payload&&r.next(Object(a.a)(o.data.payload)),o.data.complete&&(r.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===p.b.error)(o.data)){const t=Object(a.a)(o.data.error);r.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===n||!n){const r={type:p.a.cancel,uid:t};e.postMessage(r)}e.removeEventListener("message",i)}})}function b(e,t){return(...r)=>{const n=m++,{args:i,transferables:o}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],r=[];for(const n of e)Object(d.a)(n)?(t.push(Object(a.b)(n.send)),r.push(...n.transferables)):t.push(Object(a.b)(n));return{args:t,transferables:0===r.length?r:(n=r,Array.from(new Set(n)))};var n}(r),u={type:p.a.run,uid:n,method:t,args:i};g("Sending command to run function to worker:",u);try{e.postMessage(u,o)}catch(e){return h.from(Promise.reject(e))}return h.from(Object(s.a)(y(e,n)))}}function w(e,t){const r={};for(const n of t)r[n]=b(e,n);return r}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";(function(t,n){var i;e.exports=T,T.ReadableState=E;r(17).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=r(31),a=r(3).Buffer,u=t.Uint8Array||function(){};var l,c=r(63);l=c&&c.debuglog?c.debuglog("stream"):function(){};var f,h,d,p=r(64),g=r(32),m=r(33).getHighWaterMark,y=r(7).codes,b=y.ERR_INVALID_ARG_TYPE,w=y.ERR_STREAM_PUSH_AFTER_EOF,v=y.ERR_METHOD_NOT_IMPLEMENTED,_=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(2)(T,s);var S=g.errorOrDestroy,k=["error","close","destroy","pause","resume"];function E(e,t,n){i=i||r(8),e=e||{},"boolean"!=typeof n&&(n=t instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(18).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function T(e){if(i=i||r(8),!(this instanceof T))return new T(e);var t=this instanceof i;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function x(e,t,r,n,i){l("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?R(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,s);else if(i||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof u||"string"==typeof t||void 0===t||e.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(s,t)),o)S(e,o);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?S(e,new _):C(e,s,t,!0);else if(s.ended)S(e,new w);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?C(e,s,t,!1):P(e,s)):C(e,s,t,!1)}else n||(s.reading=!1,P(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function R(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(O,e))}function O(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function P(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){l("readable nexttick read 0"),e.read(0)}function D(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function U(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function B(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(F,t,e))}function F(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function N(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?B(this):R(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&B(this),null;var n,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?U(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&B(this)),null!==n&&this.emit("data",n),n},T.prototype._read=function(e){S(this,new v("_read()"))},T.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:m;function a(t,n){l("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,l("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",a),r.removeListener("end",u),r.removeListener("end",m),r.removeListener("data",h),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("onend"),e.end()}i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,j(e))}}(r);e.on("drain",c);var f=!1;function h(t){l("ondata");var n=e.write(t);l("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==N(i.pipes,e))&&!f&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(t){l("onerror",t),m(),e.removeListener("error",d),0===o(e,"error")&&S(e,t)}function p(){e.removeListener("finish",g),m()}function g(){l("onfinish"),e.removeListener("close",p),m()}function m(){l("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",p),e.once("finish",g),e.emit("pipe",r),i.flowing||(l("pipe resume"),r.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?R(this):i.reading||n.nextTick(L,this))),r},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(M,this),r},T.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(M,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(D,e,t))}(this,e)),e.paused=!1,this},T.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,r){r(new g("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,r){var i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,P(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=f.destroy,T.prototype._undestroy=f.undestroy,T.prototype._destroy=function(e,t){t(e)}}).call(this,r(1),r(0))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(1))},function(e,t,r){"use strict";e.exports=c;var n=r(7).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(8);function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(o.a)(r),t)}async decode(e,t){return new Promise((r,n)=>{this.pool.queue(async i=>{try{const n=await i(e,t);r(n)}catch(e){n(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,r(81))},function(e,t,r){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function i(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var o=void 0!==e.ArrayBuffer,s=o&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"==typeof e}t.arraybuffer=t.fetch||o&&i("arraybuffer"),t.msstream=!t.fetch&&s&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&a(n().overrideMimeType),t.vbArray=a(e.VBArray),r=null}).call(this,r(1))},function(e,t,r){(function(e,n,i){var o=r(38),s=r(2),a=r(40),u=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=t.IncomingMessage=function(t,r,s,u){var l=this;if(a.Readable.call(l),l._mode=s,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",(function(){e.nextTick((function(){l.emit("close")}))})),"fetch"===s){if(l._fetchResponse=r,l.url=r.url,l.statusCode=r.status,l.statusMessage=r.statusText,r.headers.forEach((function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)})),o.writableStream){var c=new WritableStream({write:function(e){return new Promise((function(t,r){l._destroyed?r():l.push(new n(e))?t():l._resumeFetch=t}))},close:function(){i.clearTimeout(u),l._destroyed||l.push(null)},abort:function(e){l._destroyed||l.emit("error",e)}});try{return void r.body.pipeTo(c).catch((function(e){i.clearTimeout(u),l._destroyed||l.emit("error",e)}))}catch(e){}}var f=r.body.getReader();!function e(){f.read().then((function(t){if(!l._destroyed){if(t.done)return i.clearTimeout(u),void l.push(null);l.push(new n(t.value)),e()}})).catch((function(e){i.clearTimeout(u),l._destroyed||l.emit("error",e)}))}()}else{if(l._xhr=t,l._pos=0,l.url=t.responseURL,l.statusCode=t.status,l.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===l.headers[r]&&(l.headers[r]=[]),l.headers[r].push(t[2])):void 0!==l.headers[r]?l.headers[r]+=", "+t[2]:l.headers[r]=t[2],l.rawHeaders.push(t[1],t[2])}})),l._charset="x-user-defined",!o.overrideMimeType){var h=l.rawHeaders["mime-type"];if(h){var d=h.match(/;\s*charset=([^;])(;|$)/);d&&(l._charset=d[1].toLowerCase())}l._charset||(l._charset="utf-8")}}};s(l,a.Readable),l.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{r=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var s=new n(o.length),a=0;ae._pos&&(e.push(new n(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(r)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r(0),r(3).Buffer,r(1))},function(e,t,r){(t=e.exports=r(41)).Stream=t,t.Readable=t,t.Writable=r(44),t.Duplex=r(9),t.Transform=r(45),t.PassThrough=r(90)},function(e,t,r){"use strict";(function(t,n){var i=r(20);e.exports=w;var o,s=r(29);w.ReadableState=b;r(17).EventEmitter;var a=function(e,t){return e.listeners(t).length},u=r(42),l=r(25).Buffer,c=t.Uint8Array||function(){};var f=Object.create(r(12));f.inherits=r(2);var h=r(85),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,g=r(86),m=r(43);f.inherits(w,u);var y=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(o=o||r(9));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(18).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function w(e){if(o=o||r(9),!(this instanceof w))return new w(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function v(e,t,r,n,i){var o,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,k(e)}(e,s)):(i||(o=function(e,t){var r;n=t,l.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?_(e,s,t,!1):T(e,s)):_(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(E,e):E(e))}function E(e){d("emit readable"),e.emit("readable"),R(e)}function T(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(x,e,t))}function x(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;eo.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=l.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function M(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):k(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e0?O(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:w;function l(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",y),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",w),r.removeListener("data",g),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){d("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,R(e))}}(r);e.on("drain",f);var h=!1;var p=!1;function g(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==M(o.pipes,e))&&!h&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){d("onerror",t),w(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",b),w()}function b(){d("onfinish"),e.removeListener("close",y),w()}function w(){d("unpipe"),r.unpipe(e)}return r.on("data",g),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",y),e.once("finish",b),e.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?n:o.nextTick;b.WritableState=y;var l=Object.create(r(12));l.inherits=r(2);var c={deprecate:r(35)},f=r(42),h=r(25).Buffer,d=i.Uint8Array||function(){};var p,g=r(43);function m(){}function y(e,t){a=a||r(9),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,l=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),E(e,t))}(e,r,n,t,i);else{var s=S(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?u(v,e,r,s,i):v(e,r,s,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(a=a||r(9),!(p.call(b,this)||this instanceof a))return new b(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function w(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function v(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),E(e,t)}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,w(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,f=r.callback;if(w(e,t,!1,t.objectMode?1:l.length,l,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),E(e,t)}))}function E(e,t){var r=S(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}l.inherits(b,f),y.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===b&&(e&&e._writableState instanceof y)}})):p=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,i=this._writableState,s=!1,a=!i.objectMode&&(n=e,h.isBuffer(n)||n instanceof d);return a&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=m),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var i=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),o.nextTick(n,s),i=!1),i}(this,i,e,r))&&(i.pendingcb++,s=function(e,t,r,n,i,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,r));return t}(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,E(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(0),r(88).setImmediate,r(1))},function(e,t,r){"use strict";e.exports=s;var n=r(9),i=Object.create(r(12));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length>24)/500+a,l=a-(e[t+2]<<24>>24)/200;u=.95047*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),l=1.08883*(l*l*l>.008856?l*l*l:(l-16/116)/7.787),i=3.2406*u+-1.5372*a+-.4986*l,o=-.9689*u+1.8758*a+.0415*l,s=.0557*u+-.204*a+1.057*l,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n[r]=255*Math.max(0,Math.min(1,i)),n[r+1]=255*Math.max(0,Math.min(1,o)),n[r+2]=255*Math.max(0,Math.min(1,s))}return n}function k(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function E(e,t,r){let n=0,i=e.length;const o=i/r;for(;i>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;i-=t}const s=e.slice();for(let t=0;t=e.byteLength);++o){let n;if(2===t){switch(i[0]){case 8:n=new Uint8Array(e,o*a*r*s,a*r*s);break;case 16:n=new Uint16Array(e,o*a*r*s,a*r*s/2);break;case 32:n=new Uint32Array(e,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}k(n,a)}else 3===t&&(n=new Uint8Array(e,o*a*r*s,a*r*s),E(n,a,s))}return e}(r,n,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return r}}class x extends T{decodeBlock(e){return e}}function C(e,t){for(let r=t.length-1;r>=0;r--)e.push(t[r]);return e}function A(e){const t=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,r[e]=e;let n=258,i=9,o=0;function s(){n=258,i=9}function a(e){const t=function(e,t,r){const n=t%8,i=Math.floor(t/8),o=8-n,s=t+r-8*(i+1);let a=8*(i+2)-(t+r);const u=8*(i+2)-t;if(a=Math.max(0,a),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let l=e[i]&2**(8-n)-1;l<<=r-o;let c=l;if(i+1>>a;t<<=Math.max(0,r-u),c+=t}if(s>8&&i+2>>n}return c}(e,o,i);return o+=i,t}function u(e,i){return r[n]=i,t[n]=e,n++,n-1}function l(e){const n=[];for(let i=e;4096!==i;i=t[i])n.push(r[i]);return n}const c=[];s();const f=new Uint8Array(e);let h,d=a(f);for(;257!==d;){if(256===d){for(s(),d=a(f);256===d;)d=a(f);if(257===d)break;if(d>256)throw new Error("corrupted code at scanline "+d);C(c,l(d)),h=d}else if(d=2**i&&(12===i?h=void 0:i++),d=a(f)}return new Uint8Array(c)}class R extends T{decodeBlock(e){return A(e).buffer}}const O=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function P(e,t){let r=0;const n=[];let i=16;for(;i>0&&!e[i-1];)--i;n.push({children:[],index:0});let o,s=n[0];for(let a=0;a0;)s=n.pop();for(s.index++,n.push(s);n.length<=a;)n.push(o={children:[],index:0}),s.children[s.index]=o.children,s=o;r++}a+10)return p--,d>>p&1;if(d=e[h++],255===d){const t=e[h++];if(t)throw new Error("unexpected marker: "+(d<<8|t).toString(16))}return p=7,d>>>7}function m(e){let t,r=e;for(;null!==(t=g());){if(r=r[t],"number"==typeof r)return r;if("object"!=typeof r)throw new Error("invalid huffman sequence")}return null}function y(e){let t=e,r=0;for(;t>0;){const e=g();if(null===e)return;r=r<<1|e,--t}return r}function b(e){const t=y(e);return t>=1<0)return void w--;let r=o;const n=s;for(;r<=n;){const n=m(e.huffmanTableAC),i=15&n,o=n>>4;if(0===i){if(o<15){w=y(o)+(1<>4,0===r)i<15?(w=y(i)+(1<>4;if(0===n){if(o<15)break;i+=16}else{i+=o;t[O[i]]=b(n),i++}}};let I,M,L=0;M=1===E?n[0].blocksPerLine*n[0].blocksPerColumn:l*r.mcusPerColumn;const D=i||M;for(;L=65488&&I<=65495))break;h+=2}return h-f}function M(e,t){const r=[],{blocksPerLine:n,blocksPerColumn:i}=t,o=n<<3,s=new Int32Array(64),a=new Uint8Array(64);function u(e,r,n){const i=t.quantizationTable;let o,s,a,u,l,c,f,h,d;const p=n;let g;for(g=0;g<64;g++)p[g]=e[g]*i[g];for(g=0;g<8;++g){const e=8*g;0!==p[1+e]||0!==p[2+e]||0!==p[3+e]||0!==p[4+e]||0!==p[5+e]||0!==p[6+e]||0!==p[7+e]?(o=5793*p[0+e]+128>>8,s=5793*p[4+e]+128>>8,a=p[2+e],u=p[6+e],l=2896*(p[1+e]-p[7+e])+128>>8,h=2896*(p[1+e]+p[7+e])+128>>8,c=p[3+e]<<4,f=p[5+e]<<4,d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+128>>8,a=1567*a-3784*u+128>>8,u=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+c+1>>1,c=h-c+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*c+4017*f+2048>>12,c=4017*c-799*f+2048>>12,f=d,p[0+e]=o+h,p[7+e]=o-h,p[1+e]=s+f,p[6+e]=s-f,p[2+e]=a+c,p[5+e]=a-c,p[3+e]=u+l,p[4+e]=u-l):(d=5793*p[0+e]+512>>10,p[0+e]=d,p[1+e]=d,p[2+e]=d,p[3+e]=d,p[4+e]=d,p[5+e]=d,p[6+e]=d,p[7+e]=d)}for(g=0;g<8;++g){const e=g;0!==p[8+e]||0!==p[16+e]||0!==p[24+e]||0!==p[32+e]||0!==p[40+e]||0!==p[48+e]||0!==p[56+e]?(o=5793*p[0+e]+2048>>12,s=5793*p[32+e]+2048>>12,a=p[16+e],u=p[48+e],l=2896*(p[8+e]-p[56+e])+2048>>12,h=2896*(p[8+e]+p[56+e])+2048>>12,c=p[24+e],f=p[40+e],d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+2048>>12,a=1567*a-3784*u+2048>>12,u=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+c+1>>1,c=h-c+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*c+4017*f+2048>>12,c=4017*c-799*f+2048>>12,f=d,p[0+e]=o+h,p[56+e]=o-h,p[8+e]=s+f,p[48+e]=s-f,p[16+e]=a+c,p[40+e]=a-c,p[24+e]=u+l,p[32+e]=u-l):(d=5793*n[g+0]+8192>>14,p[0+e]=d,p[8+e]=d,p[16+e]=d,p[24+e]=d,p[32+e]=d,p[40+e]=d,p[48+e]=d,p[56+e]=d)}for(g=0;g<64;++g){const e=128+(p[g]+8>>4);r[g]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let r=0;r<64;r++){i[O[r]]=e[t++]}else{if(n>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[O[e]]=r()}}this.quantizationTables[15&n]=i}break}case 65472:case 65473:case 65474:{r();const n={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},s=e[t++];let a;for(let r=0;r>4,i=15&e[t+1],o=e[t+2];n.componentsOrder.push(a),n.components[a]={h:r,v:i,quantizationIdx:o},t+=3}i(n),this.frames.push(n);break}case 65476:{const n=r();for(let r=2;r>4==0?this.huffmanTablesDC[15&n]=P(i,s):this.huffmanTablesAC[15&n]=P(i,s)}break}case 65501:r(),this.resetInterval=r();break;case 65498:{r();const n=e[t++],i=[],o=this.frames[0];for(let r=0;r>4],r.huffmanTableAC=this.huffmanTablesAC[15&n],i.push(r)}const s=e[t++],a=e[t++],u=e[t++],l=I(e,t,o,i,this.resetInterval,s,a,u>>4,15&u);t+=l;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+o.toString(16))}o=r()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const a=N(e,n,i);for(let u=0;u{const a=N(e,n,i);for(let u=0;u=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(r){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(r){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(r){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return z(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),o=Math.ceil(this.getHeight()/this.getTileHeight());let s;const{tiles:a}=this;let u,l;1===this.planarConfiguration?s=t*i+e:2===this.planarConfiguration&&(s=r*i*o+t*i+e),this.isTiled?(u=this.fileDirectory.TileOffsets[s],l=this.fileDirectory.TileByteCounts[s]):(u=this.fileDirectory.StripOffsets[s],l=this.fileDirectory.StripByteCounts[s]);const c=await this.source.fetch(u,l);let f;return null===a?f=n.decode(this.fileDirectory,c):a[s]||(f=n.decode(this.fileDirectory,c),a[s]=f),{x:e,y:t,sample:r,data:await f}}async _readRaster(e,t,r,n,i,o,s,a){const u=this.getTileWidth(),l=this.getTileHeight(),c=Math.max(Math.floor(e[0]/u),0),f=Math.min(Math.ceil(e[2]/u),Math.ceil(this.getWidth()/this.getTileWidth())),h=Math.max(Math.floor(e[1]/l),0),d=Math.min(Math.ceil(e[3]/l),Math.ceil(this.getHeight()/this.getTileHeight())),p=e[2]-e[0];let g=this.getBytesPerPixel();const m=[],y=[];for(let e=0;e{const o=i.data,s=new DataView(o),a=i.y*l,f=i.x*u,h=(i.y+1)*l,d=(i.x+1)*u,b=y[c],v=Math.min(l,l-(h-e[3])),_=Math.min(u,u-(d-e[2]));for(let i=Math.max(0,e[1]-a);iu[2]||u[1]>u[3])throw new Error("Invalid subsets");const l=(u[2]-u[0])*(u[3]-u[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index '${t[e]}'.`))}else for(let e=0;es[2]||s[1]>s[3])throw new Error("Invalid subsets");const a=this.fileDirectory.PhotometricInterpretation;if(a===d.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==p.Unspecified&&o){i=[];for(let e=0;e"Item"===e.tagName);e&&(o=o.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(e+(t?o:7-o));n&&(i?0!==s&&(s=255&~(s-1),i=!1):s=255&~s),r+=s*256**o}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class Y{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+2**32*r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}if(n=2**32*t+r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}readInt64(e){let t=0;const r=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let o=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?0!==o&&(o=255&~(o-1),n=!1):o=255&~o),t+=o*256**i}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var Z=r(37),$=r(3),X=r(14),Q=r(22),J=r.n(Q),ee=r(53),te=r.n(ee),re=r(21),ne=r.n(re);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,r=!1){const n=e+t,i=[],o=[],s=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let r=[];t.push(r);for(let n=0;n{const t=await e,i=r*this.blockSize,o=Math.min(i+this.blockSize,t.data.byteLength),s=t.data.slice(i,o);this.blockRequests.delete(n),this.blocks.set(n,{data:s,offset:t.offset+i,length:s.byteLength,top:t.offset+o})})())}}this.blockIdsAwaitingRequest=null}const a=[];for(const e of o)this.blockRequests.has(e)&&a.push(this.blockRequests.get(e));await Promise.all(a),await Promise.all(s);return function(e,t,r){const n=t+r,i=new ArrayBuffer(r),o=new Uint8Array(i);for(const r of e){const e=r.offset-t,i=r.top-n;let s,a=0,u=0;e<0?a=-e:e>0&&(u=e),s=i<0?r.length-a:n-r.offset-a;const l=new Uint8Array(r.data,a,s);o.set(l,u)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const r=await this.retrievalFunction(e,t);return r.length?r.length!==r.data.byteLength&&(r.data=r.data.slice(0,r.length)):r.length=r.data.byteLength,r.top=r.offset+r.length,r}}function oe(e,t){const{forceXHR:r}=t;if("function"==typeof fetch&&!r)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${r}-${r+n-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:r,length:n}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:r})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=new XMLHttpRequest;s.open("GET",e),s.responseType="arraybuffer";const a={...t,Range:`bytes=${r}-${r+n-1}`};for(const[e,t]of Object.entries(a))s.setRequestHeader(e,t);s.onload=()=>{const e=s.response;206===s.status?i({data:e,offset:r,length:n}):i({data:e,offset:0,length:e.byteLength})},s.onerror=o,s.send()}),{blockSize:r})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=ne.a.parse(e);("http:"===s.protocol?J.a:te.a).get({...s,headers:{...t,Range:`bytes=${r}-${r+n-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=$.Buffer.concat(t).buffer;i({data:e,offset:r,length:e.byteLength})})}).on("error",o)}),{blockSize:r})}(e,t);throw new Error("No remote source available")}function se(e){const t=function(e,t,r){return new Promise((n,i)=>{Object(X.open)(e,t,r,(e,t)=>{e?i(e):n(t)})})}(e,"r");return{async fetch(e,r){const n=await t,{buffer:i}=await function(...e){return new Promise((t,r)=>{Object(X.read)(...e,(e,n,i)=>{e?r(e):t({bytesRead:n,buffer:i})})})}(n,$.Buffer.alloc(r),0,r,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,r)=>{Object(X.close)(e,e=>{e?r(e):t()})})}(e)}}}function ae(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}function ue(e,t){if(e.length{let r=t;for(;0!==e[r];)r++;return r},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const r=ge.ui8;return r[0]=e[t+1],r[1]=e[t+0],ge.i16[0]},readInt:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.i32[0]},readUint:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.ui32[0]},readASCII:(e,t,r)=>r.map(r=>String.fromCharCode(e[t+r])).join(""),readFloat:(e,t)=>{const r=ge.ui8;return ce(4,n=>{r[n]=e[t+3-n]}),ge.fl32[0]},readDouble:(e,t)=>{const r=ge.ui8;return ce(8,n=>{r[n]=e[t+7-n]}),ge.fl64[0]},writeUshort:(e,t,r)=>{e[t]=r>>8&255,e[t+1]=255&r},writeUint:(e,t,r)=>{e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:(e,t,r)=>{ce(r.length,n=>{e[t+n]=r.charCodeAt(n)})},ui8:new Uint8Array(8)};ge.fl64=new Float64Array(ge.ui8.buffer),ge.writeDouble=(e,t,r)=>{ge.fl64[0]=r,ce(8,r=>{e[t+r]=ge.ui8[7-r]})};const me=e=>{const t=new Uint8Array(1e3);let r=4;const n=ge;t[0]=77,t[1]=77,t[3]=42;let i=8;if(n.writeUint(t,r,i),r+=4,e.forEach((r,o)=>{const s=((e,t,r,n)=>{let i=r;const o=Object.keys(n).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,o.length),i+=2;let s=i+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const a=l[o],u=pe[a];if(null==a||void 0===a||void 0===a)throw new Error("unknown type of tag: "+o);let c=n[r];if(void 0===c)throw new Error("failed to get value for key "+r);"ASCII"===a&&"string"==typeof c&&!1===ue(c,"\0")&&(c+="\0");const f=c.length;e.writeUshort(t,i,o),i+=2,e.writeUshort(t,i,u),i+=2,e.writeUint(t,i,f),i+=4;let h=[-1,1,1,2,4,8,0,0,0,0,0,0,8][u]*f,d=i;h>4&&(e.writeUint(t,i,s),d=s),"ASCII"===a?e.writeASCII(t,d,c):"SHORT"===a?ce(f,r=>{e.writeUshort(t,d+2*r,c[r])}):"LONG"===a?ce(f,r=>{e.writeUint(t,d+4*r,c[r])}):"RATIONAL"===a?ce(f,r=>{e.writeUint(t,d+8*r,Math.round(1e4*c[r])),e.writeUint(t,d+8*r+4,1e4)}):"DOUBLE"===a&&ce(f,r=>{e.writeDouble(t,d+8*r,c[r])}),h>4&&(h+=1&h,s+=h),i+=4}return[i,s]})(n,t,i,r);i=s[1],o{ce(i,r=>{ce(n,n=>{o.push(e[n][t][r])})})})),t.ImageLength=r,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=ce(n,()=>8)),ye.forEach(e=>{const r=e[0];if(!t[r]){const n=e[1];t[r]=n}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[n]),t.StripByteCounts||(t.StripByteCounts=[n*r*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/r,0]),t.SampleFormat||(t.SampleFormat=ce(n,()=>1));const s=Object.keys(t).filter(e=>ue(e,"GeoKey")).sort((e,t)=>de[e]-de[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,s.length];s.forEach(r=>{const n=Number(de[r]);let i,o,s;e.push(n),"SHORT"===l[n]?(i=1,o=0,s=t[r]):"GeogCitationGeoKey"===r?(i=t.GeoAsciiParams.length,o=Number(de.GeoAsciiParams),s=0):console.log("[geotiff.js] couldn't get TIFFTagLocation for "+r),e.push(o),e.push(i),e.push(s)}),t.GeoKeyDirectory=e}for(const e in s)s.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var r;t[e]&&(t[e]=(r=t[e],Array.isArray(r)?r:[r]))});const a=(e=>{const t={};for(const r in e)"StripOffsets"!==r&&(de[r]||console.error(r,"not in name2code:",Object.keys(de)),t[de[r]]=e[r]);return t})(t);return((e,t,r,n)=>{if(null==r)throw new Error("you passed into encodeImage a width of type "+r);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[r],273:[1e3],278:[r],305:"geotiff.js"};if(n)for(const e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);const o=new Uint8Array(me([i])),s=new Uint8Array(e),a=i[277],u=new Uint8Array(1e3+t*r*a);return ce(o.length,e=>{u[e]=o[e]}),function(e,t){const{length:r}=e;for(let n=0;n{u[1e3+t]=e}),u.buffer})(o,i,r,a)}class we{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let ve=new we;function _e(e=new we){ve=e}function Se(e){switch(e){case h.BYTE:case h.ASCII:case h.SBYTE:case h.UNDEFINED:return 1;case h.SHORT:case h.SSHORT:return 2;case h.LONG:case h.SLONG:case h.FLOAT:case h.IFD:return 4;case h.RATIONAL:case h.SRATIONAL:case h.DOUBLE:case h.LONG8:case h.SLONG8:case h.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function ke(e,t,r,n){let i=null,o=null;const s=Se(t);switch(t){case h.BYTE:case h.ASCII:case h.UNDEFINED:i=new Uint8Array(r),o=e.readUint8;break;case h.SBYTE:i=new Int8Array(r),o=e.readInt8;break;case h.SHORT:i=new Uint16Array(r),o=e.readUint16;break;case h.SSHORT:i=new Int16Array(r),o=e.readInt16;break;case h.LONG:case h.IFD:i=new Uint32Array(r),o=e.readUint32;break;case h.SLONG:i=new Int32Array(r),o=e.readInt32;break;case h.LONG8:case h.IFD8:i=new Array(r),o=e.readUint64;break;case h.SLONG8:i=new Array(r),o=e.readInt64;break;case h.RATIONAL:i=new Uint32Array(2*r),o=e.readUint32;break;case h.SRATIONAL:i=new Int32Array(2*r),o=e.readInt32;break;case h.FLOAT:i=new Float32Array(r),o=e.readFloat32;break;case h.DOUBLE:i=new Float64Array(r),o=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==h.RATIONAL&&t!==h.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tn||o&&o>s)break}}let f=t;if(s){const[e,t]=a.getOrigin(),[r,n]=u.getResolution(a);f=[Math.round((s[0]-e)/r),Math.round((s[1]-t)/n),Math.round((s[2]-e)/r),Math.round((s[3]-t)/n)],f=[Math.min(f[0],f[2]),Math.min(f[1],f[3]),Math.max(f[0],f[2]),Math.max(f[1],f[3])]}return u.readRasters({...e,window:f})}}class Ce extends xe{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const r=this.bigTiff?4048:1024;return new Y(await this.source.fetch(e,void 0!==t?t:r),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=await this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),o=i*t+(this.bigTiff?16:6);n.covers(e,o)||(n=await this.getSlice(e,o));const s={};let u=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new Te(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new K(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof Te))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=await this.getSlice(e,r);if(t===ke(n,h.ASCII,t.length,e)){const t=ke(n,h.ASCII,r,e).split("\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>r&&(n=await this.getSlice(e,i));const o=ke(n,h.ASCII,i,e);this.ghostValues={},o.split("\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const r=await e.fetch(0,1024),n=new V(r),i=n.getUint16(0,0);let o;if(18761===i)o=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");o=!1}const s=n.getUint16(2,o);let a;if(42===s)a=!1;else{if(43!==s)throw new TypeError("Invalid magic number.");a=!0;if(8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const u=a?n.getUint64(8,o):n.getUint32(4,o);return new Ce(e,o,a,u,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=Ce;class Ae extends xe{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,r=0;for(let n=0;ne.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function Re(e,t={}){return Ce.fromSource(oe(e,t))}async function Oe(e){return Ce.fromSource(function(e){return{fetch:async(t,r)=>e.slice(t,t+r)}}(e))}async function Pe(e){return Ce.fromSource(se(e))}async function Ie(e){return Ce.fromSource((t=e,{fetch:async(e,r)=>new Promise((n,i)=>{const o=t.slice(e,e+r),s=new FileReader;s.onload=e=>n(e.target.result),s.onerror=i,s.readAsArrayBuffer(o)})}));var t}async function Me(e,t=[],r={}){const n=await Ce.fromSource(oe(e,r)),i=await Promise.all(t.map(e=>Ce.fromSource(oe(e,r))));return new Ae(n,i)}async function Le(e,t){return be(e,t)}},function(e,t,r){function n(e,t){"use strict";var r=(t=t||{}).pos||0,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),a="/".charCodeAt(0),u="!".charCodeAt(0),l="'".charCodeAt(0),c='"'.charCodeAt(0);function f(){for(var t=[];e[r];)if(e.charCodeAt(r)==i){if(e.charCodeAt(r+1)===a)return(r=e.indexOf(">",r))+1&&(r+=1),t;if(e.charCodeAt(r+1)===u){if(e.charCodeAt(r+2)==s){for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length)}else for(r+=2;e.charCodeAt(r)!==o&&e[r];)r++;r++;continue}var n=g();t.push(n)}else{var l=h();l.trim().length>0&&t.push(l),r++}return t}function h(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}function d(){for(var t=r;-1==="\n\t>/= ".indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var p=t.noChildNodes||["img","br","input","meta","link"];function g(){r++;const t=d(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var s=e.charCodeAt(r);if(s>64&&s<91||s>96&&s<123){for(var u=d(),h=e.charCodeAt(r);h&&h!==l&&h!==c&&!(h>64&&h<91||h>96&&h<123)&&h!==o;)r++,h=e.charCodeAt(r);if(h===l||h===c){var g=m();if(-1===r)return{tagName:t,attributes:n,children:i}}else g=null,r--;n[u]=g}r++}if(e.charCodeAt(r-1)!==a)if("script"==t){var y=r+1;r=e.indexOf("<\/script>",r),i=[e.slice(y,r-1)],r+=9}else if("style"==t){y=r+1;r=e.indexOf("",r),i=[e.slice(y,r-1)],r+=8}else-1==p.indexOf(t)&&(r++,i=f());else r++;return{tagName:t,attributes:n,children:i}}function m(){var t=e[r],n=++r;return r=e.indexOf(t,n),e.slice(n,r)}var y,b=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(b=[];-1!==(y=void 0,y=new RegExp("\\s"+t.attrName+"\\s*=['\"]"+t.attrValue+"['\"]").exec(e),r=y?y.index:-1);)-1!==(r=e.lastIndexOf("<",r))&&b.push(g()),e=e.substr(r),r=0}else b=t.parseNode?g():f();return t.filter&&(b=n.filter(b,t.filter)),t.setPos&&(b.pos=r),b}n.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=n.simplify(e.children||[]);t[e.tagName].push(r),e.attributes&&(r._attributes=e.attributes)}})),t)1==t[r].length&&(t[r]=t[r][0]);return t},n.filter=function(e,t){var r=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&r.push(e),e.children){var i=n.filter(e.children,t);r=r.concat(i)}})),r},n.stringify=function(e){var t="";function r(e){if(e)for(var r=0;r"}return r(e),t},n.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+n.toContentString(e)).trim()})),t}return"object"==typeof e?n.toContentString(e.children):" "+e},n.getElementById=function(e,t,r){var i=n(e,{attrValue:t});return r?n.simplify(i):i[0]},n.getElementsByClassName=function(e,t,r){const i=n(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return r?n.simplify(i):i},n.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=r(14);e=i.createReadStream(e,{start:t}),t=0}var o=t,s="";return e.on("data",(function(t){s+=t;for(var r=0;;){if(!(o=s.indexOf("<",o)+1))return void(o=r);if("/"!==s[o+1]){var i=n(s,{pos:o-1,parseNode:!0,setPos:!0});if((o=i.pos)>s.length-1||oo.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,u,l,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(h.output,h.next_out),l=h.next_out-u,f=o.buf2string(h.output,u),h.next_out=l,h.avail_out=d-l,l&&i.arraySet(h.output,h.output,u,l,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},function(e,t,r){"use strict";var n=r(15);class i extends n.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));const n=()=>{};function i(){let e,t=!1,r=n;return[new Promise(n=>{t?n(e):r=n}),n=>{t=!0,e=n,r(e)}]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(4);function i(e){return e&&"object"==typeof e&&e[n.d]}},function(e,t,r){var n=r(22),i=r(21),o=e.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=a(e),n.request.call(this,e,t)},o.get=function(e,t){return e=a(e),n.get.call(this,e,t)}},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r0?s-4:s;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===a&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[c++]=255&t);1===a&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=0,a=r-i;sa?a:s+16383));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var i,o,s=[],a=t;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,l=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+e[t+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=c}return(d?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[r+d]=255&s,d+=p,s/=256,c-=8);e[r+d-p]|=128*g}},function(e,t){var r="undefined"!=typeof self?self:this,n=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,s="ArrayBuffer"in e;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function g(e){var t=new FileReader,r=p(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=p(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function _(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},y.call(w.prototype),y.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];_.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,r){return new Promise((function(n,o){var s=new w(e,r);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();t.append(n,i)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;n(new _(i,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&i&&(a.responseType="blob"),s.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),s.signal&&(s.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",u)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=h,e.Request=w,e.Response=_),t.Headers=h,t.Request=w,t.Response=_,t.fetch=S,Object.defineProperty(t,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=n;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},function(e,t,r){"use strict";e.exports=function(){return r(49)('!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=43)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return a}));const n=Symbol("thread.errors"),i=Symbol("thread.events"),o=Symbol("thread.terminate"),s=Symbol("thread.transferable"),a=Symbol("thread.worker")},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var r=1;r\n * @license MIT\n */\nvar n=r(45),i=r(46),o=r(26);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(e).length;default:if(n)return N(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,r);case"utf8":case"utf-8":return T(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var l=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){for(var f=!0,h=0;hi&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function T(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(o,s),c=this.slice(n,i),l=e.slice(t,r),f=0;fi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function x(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;in)&&(r=n);for(var i="",o=t;or)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError(\'"buffer" argument must be a Buffer instance\');if(t>i||te.length)throw new RangeError("Index out of range")}function M(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function D(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function L(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,r,n,o){return o||L(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function F(e,t,r,n,o){return o||L(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||P(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);P(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);P(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,"")}(e).replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(1))},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t,r){(function(n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(66)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(2))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e};function o(e){return i.deserialize(e)}function s(e){return i.serialize(e)}},function(e,t,r){"use strict";var n=r(15),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var o=Object.create(r(10));o.inherits=r(4);var s=r(25),a=r(30);o.inherits(f,s);for(var u=i(a.prototype),c=0;c/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.test(e);function a(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let u;function c(){return u||(u=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn\'t support workers in workers.")}};class e extends Worker{constructor(e,t){var r,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!s(e)&&i().match(/^file:\\/\\//i)&&(e=new URL(e,i().replace(/\\/[^\\/]+$/,"/")),(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=a(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&s(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=a(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,r){const n=new window.Blob([e],{type:"text/javascript"});return new t(n,r)}}return{blob:t,default:e}}()),u}},function(e,t,r){"use strict";var n,i;r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(n||(n={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(3).Buffer.isBuffer},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(0);function i(e){throw Error(e)}const o={errors:e=>e[n.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[n.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[n.c]()}},function(e,t){},function(e,t,r){"use strict";const n=()=>"function"==typeof Symbol,i=e=>n()&&Boolean(Symbol[e]),o=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const s=o("iterator"),a=o("observable"),u=o("species");function c(e,t){const r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function l(e){let t=e.constructor;return void 0!==t&&(t=t[u],null===t&&(t=void 0)),void 0!==t?t:w}function f(e){f.log?f.log(e):setTimeout(()=>{throw e},0)}function h(e){Promise.resolve().then(()=>{try{e()}catch(e){f(e)}})}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=c(t,"unsubscribe");e&&e.call(t)}}catch(e){f(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";const n=e._observer;try{const i=n?c(n,t):void 0;switch(t){case"next":i&&i.call(n,r);break;case"error":if(p(e),!i)throw r;i.call(n,r);break;case"complete":p(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:r})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void h(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const r of t)if(g(e,r.type,r.value),"closed"===e._state)break}}(e))):void g(e,t,r)}class y{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const r=new b(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class b{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){m(this._subscription,"next",e)}error(e){m(this._subscription,"error",e)}complete(){m(this._subscription,"complete")}}class w{constructor(e){if(!(this instanceof w))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,r){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:r}),new y(e,this._subscriber)}pipe(e,...t){let r=this;for(const n of[e,...t])r=n(r);return r}tap(e,t,r){const n="object"!=typeof e||null===e?{next:e,error:t,complete:r}:e;return new w(e=>this.subscribe({next(t){n.next&&n.next(t),e.next(t)},error(t){n.error&&n.error(t),e.error(t)},complete(){n.complete&&n.complete(),e.complete()},start(e){n.start&&n.start(e)}}))}forEach(e){return new Promise((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function n(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,n)}catch(e){r(e),i.unsubscribe()}},error(e){r(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))(t=>this.subscribe({next(r){let n=r;try{n=e(r)}catch(e){return t.error(e)}t.next(n)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))(t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const r=l(this),n=arguments.length>1;let i=!1,o=t;return new r(t=>this.subscribe({next(r){const s=!i;if(i=!0,!s||n)try{o=e(o,r)}catch(e){return t.error(e)}else o=r},error(e){t.error(e)},complete(){if(!i&&!n)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(o),t.complete()}}))}concat(...e){const t=l(this);return new t(r=>{let n,i=0;return function o(s){n=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){i===e.length?(n=void 0,r.complete()):o(t.from(e[i++]))}})}(this),()=>{n&&(n.unsubscribe(),n=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=l(this);return new t(r=>{const n=[],i=this.subscribe({next(i){let s;if(e)try{s=e(i)}catch(e){return r.error(e)}else s=i;const a=t.from(s).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){const e=n.indexOf(a);e>=0&&n.splice(e,1),o()}});n.push(a)},error(e){r.error(e)},complete(){o()}});function o(){i.closed&&0===n.length&&r.complete()}return()=>{n.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,a)](){return this}static from(e){const t="function"==typeof this?this:w;if(null==e)throw new TypeError(e+" is not an object");const r=c(e,a);if(r){const n=r.call(e);if(Object(n)!==n)throw new TypeError(n+" is not an object");return function(e){return e instanceof w}(n)&&n.constructor===t?n:new t(e=>n.subscribe(e))}if(i("iterator")){const r=c(e,s);if(r)return new t(t=>{h(()=>{if(!t.closed){for(const n of r.call(e))if(t.next(n),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:w)(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})})}static get[u](){return this}}n()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:a,hostReportError:f},configurable:!0});t.a=w},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(n||(n={}))},function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!=typeof e)throw new TypeError(\'"callback" argument must be a function\');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:for(o=new Array(a-1),s=0;s",\'"\',"`"," ","\\r","\\n","\\t"]),l=["\'"].concat(c),f=["%","/","?",";","#"].concat(l),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=r(75);function w(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter \'url\' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?M+="x":M+=P[D];if(!M.match(d)){var U=R.slice(0,x),F=R.slice(x+1),j=P.match(p);j&&(U.push(j[1]),F.unshift(j[2])),F.length&&(w="/"+F.join(".")+w),this.hostname=U.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+B,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!g[S])for(x=0,I=l.length;x0)&&r.host.split("@"))&&(r.auth=O.shift(),r.host=r.hostname=O.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=k.slice(-1)[0],T=(r.host||e.host||k.length>1)&&("."===E||".."===E)||""===E,x=0,A=k.length;A>=0;A--)"."===(E=k[A])?k.splice(A,1):".."===E?(k.splice(A,1),x++):x&&(k.splice(A,1),x--);if(!_&&!S)for(;x--;x)k.unshift("..");!_||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),T&&"/"!==k.join("/").substr(-1)&&k.push("");var O,R=""===k[0]||k[0]&&"/"===k[0].charAt(0);C&&(r.hostname=r.host=R?"":k.length?k.shift():"",(O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=O.shift(),r.host=r.hostname=O.shift()));return(_=_||r.host&&k.length)&&!R&&k.unshift(""),k.length?r.pathname=k.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){(function(e){var n=r(68),i=r(35),o=r(70),s=r(71),a=r(17),u=t;u.request=function(t,r){t="string"==typeof t?a.parse(t):o(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||i,u=t.hostname||t.host,c=t.port,l=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?s+"//"+u:"")+(c?":"+c:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new n(t);return r&&f.on("response",r),f},u.get=function(e,t){var r=u.request(e,t);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(1))},,function(e,t,r){(t=e.exports=r(25)).Stream=t,t.Readable=t,t.Writable=r(30),t.Duplex=r(7),t.Transform=r(32),t.PassThrough=r(54)},function(e,t,r){var n=r(3),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=s),o(i,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y}));var n=r(5),i=r.n(n),o=r(13),s=r(6),a=r(40),u=r(0),c=r(14),l=r(24),f=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))};const h=i()("threads:master:messages"),d=i()("threads:master:spawn"),p=i()("threads:master:thread-utils"),g=void 0!==e&&e.env.THREADS_WORKER_INIT_TIMEOUT?Number.parseInt(e.env.THREADS_WORKER_INIT_TIMEOUT,10):1e4;function m(e,t,r,n){const i=r.filter(e=>e.type===c.a.internalError).map(e=>e.error);return Object.assign(e,{[u.a]:i,[u.b]:r,[u.c]:n,[u.e]:t})}function y(e,t){return f(this,void 0,void 0,(function*(){d("Initializing new thread");const r=t&&t.timeout?t.timeout:g,n=(yield function(e,t,r){return f(this,void 0,void 0,(function*(){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>i(Error(r)),t)}),o=yield Promise.race([e,i]);return clearTimeout(n),o}))}(function(e){return new Promise((t,r)=>{const n=i=>{var o;h("Message from worker before finishing initialization:",i.data),(o=i.data)&&"init"===o.type?(e.removeEventListener("message",n),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",n),r(Object(s.a)(i.data.error)))};e.addEventListener("message",n)})}(e),r,`Timeout: Did not receive an init message from worker after ${r}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:u}=function(e){const[t,r]=Object(a.a)();return{terminate:()=>f(this,void 0,void 0,(function*(){p("Terminating worker"),yield e.terminate(),r()})),termination:t}}(e),y=function(e,t){return new o.a(r=>{const n=e=>{const t={type:c.a.message,data:e.data};r.next(t)},i=e=>{p("Unhandled promise rejection event in thread:",e);const t={type:c.a.internalError,error:Error(e.reason)};r.next(t)};e.addEventListener("message",n),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:c.a.termination};e.removeEventListener("message",n),e.removeEventListener("unhandledrejection",i),r.next(t),r.complete()})})}(e,i);if("function"===n.type){return m(Object(l.a)(e),e,y,u)}if("module"===n.type){return m(Object(l.b)(e,n.methods),e,y,u)}{const e=n.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}}).call(this,r(2))},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n=r(5),i=r.n(n),o=r(39),s=r(84),a=r(13);function u(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}}))}var c,l=r(8);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(c||(c={}));var f=r(11),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new o.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const r="number"==typeof t?{size:t}:t||{},{size:n=l.a}=r;this.debug=i()("threads:pool:"+(r.name||String(d++)).replace(/\\W/g," ").trim().replace(/\\s+/g,"-")),this.options=r,this.workers=function(e,t){return function(e){const t=[];for(let r=0;r({init:e(),runningTasks:[]}))}(e,n),this.eventObservable=Object(s.a)(a.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:c.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthh(this,void 0,void 0,(function*(){var n;yield(n=0,new Promise(e=>setTimeout(e,n)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==r),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(r)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:c.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,r)=>{const n=this.events().subscribe(i=>{i.type===c.taskCompleted&&i.taskID===e?(n.unsubscribe(),t(i.returnValue)):i.type===c.taskFailed&&i.taskID===e?(n.unsubscribe(),r(i.error)):i.type===c.terminated&&(n.unsubscribe(),r(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return h(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,r)=>[...e,...t(r)],[]);var e,t},r=[],n=this.eventObservable.subscribe(e=>{e.type===c.taskFailed&&r.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield u(t()),r):(yield new Promise((e,t)=>{const r=this.eventObservable.subscribe({next(t){t.type===c.taskQueueDrained&&(r.unsubscribe(),e(void 0))},error:t})}),yield u(t()),n.unsubscribe(),r)}))}completed(e=!1){return h(this,void 0,void 0,(function*(){const t=this.settled(e),r=new Promise((e,r)=>{const n=this.eventObservable.subscribe({next(i){i.type===c.taskQueueDrained?(n.unsubscribe(),e(t)):i.type===c.taskFailed&&(n.unsubscribe(),r(i.error))},error:r})}),n=yield Promise.race([t,r]);if(n.length>0)throw n[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const r=this.nextTaskID++,n=this.taskCompletion(r);n.catch(e=>{this.debug(`Task #${r} errored:`,e)});const i={id:r,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:c.taskCanceled,taskID:i.id}))},then:n.then.bind(n)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won\'t finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:c.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return h(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:c.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>h(this,void 0,void 0,(function*(){return f.a.terminate(yield e.init)}))))}))}}function g(e,t){return new p(e,t)}p.EventType=c,g.EventType=c;const m=g},function(e,t,r){"use strict";r.d(t,"a",(function(){return b})),r.d(t,"b",(function(){return w}));var n=r(5),i=r.n(n),o=r(13),s=r(84),a=r(6);const u=()=>{},c=e=>e,l=e=>Promise.resolve().then(e);function f(e){throw e}class h extends o.a{constructor(e){super(t=>{const r=this,n=Object.assign(Object.assign({},t),{complete(){t.complete(),r.onCompletion()},error(e){t.error(e),r.onError(e)},next(e){t.next(e),r.onNext(e)}});try{return this.initHasRun=!0,e(n)}catch(e){n.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)l(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)l(()=>e(this.firstValue))}then(e,t){const r=e||c,n=t||f;let i=!1;return new Promise((e,t)=>{const o=r=>{if(!i){i=!0;try{e(n(r))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:o}),"fulfilled"===this.state?e(r(this.firstValue)):"rejected"===this.state?(i=!0,e(n(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(r(t))}catch(e){o(e)}}),void this.rejectionCallbacks.push(o))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||u;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new h(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var d=r(41),p=r(9);const g=i()("threads:master:messages");let m=1;function y(e,t){return new o.a(r=>{let n;const i=o=>{var s;if(g("Message from worker:",o.data),o.data&&o.data.uid===t)if((s=o.data)&&s.type===p.b.running)n=o.data.resultType;else if((e=>e&&e.type===p.b.result)(o.data))"promise"===n?(void 0!==o.data.payload&&r.next(Object(a.a)(o.data.payload)),r.complete(),e.removeEventListener("message",i)):(o.data.payload&&r.next(Object(a.a)(o.data.payload)),o.data.complete&&(r.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===p.b.error)(o.data)){const t=Object(a.a)(o.data.error);r.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===n||!n){const r={type:p.a.cancel,uid:t};e.postMessage(r)}e.removeEventListener("message",i)}})}function b(e,t){return(...r)=>{const n=m++,{args:i,transferables:o}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],r=[];for(const n of e)Object(d.a)(n)?(t.push(Object(a.b)(n.send)),r.push(...n.transferables)):t.push(Object(a.b)(n));return{args:t,transferables:0===r.length?r:(n=r,Array.from(new Set(n)))};var n}(r),u={type:p.a.run,uid:n,method:t,args:i};g("Sending command to run function to worker:",u);try{e.postMessage(u,o)}catch(e){return h.from(Promise.reject(e))}return h.from(Object(s.a)(y(e,n)))}}function w(e,t){const r={};for(const n of t)r[n]=b(e,n);return r}},function(e,t,r){"use strict";(function(t,n){var i=r(15);e.exports=w;var o,s=r(26);w.ReadableState=b;r(27).EventEmitter;var a=function(e,t){return e.listeners(t).length},u=r(28),c=r(21).Buffer,l=t.Uint8Array||function(){};var f=Object.create(r(10));f.inherits=r(4);var h=r(47),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,g=r(48),m=r(29);f.inherits(w,u);var y=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(o=o||r(7));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(31).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function w(e){if(o=o||r(7),!(this instanceof w))return new w(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function v(e,t,r,n,i){var o,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,k(e)}(e,s)):(i||(o=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?_(e,s,t,!1):E(e,s)):_(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(C,e):C(e))}function C(e){d("emit readable"),e.emit("readable"),O(e)}function E(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(T,e,t))}function T(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;eo.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(t.length>0)throw new Error(\'"endReadable()" called on non-empty stream\');t.endEmitted||(t.ended=!0,i.nextTick(P,t,e))}function P(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function M(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):k(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e0?R(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:w;function c(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",y),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",w),r.removeListener("data",g),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){d("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",c);var f=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,O(e))}}(r);e.on("drain",f);var h=!1;var p=!1;function g(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==M(o.pipes,e))&&!h&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){d("onerror",t),w(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",b),w()}function b(){d("onfinish"),e.removeListener("close",y),w()}function w(){d("unpipe"),r.unpipe(e)}return r.on("data",g),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",y),e.once("finish",b),e.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var c=u.length,l=m(u,c);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){e.exports=r(27).EventEmitter},function(e,t,r){"use strict";var n=r(15);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(i,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,r){"use strict";(function(t,n,i){var o=r(15);function s(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=b;var a,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:o.nextTick;b.WritableState=y;var c=Object.create(r(10));c.inherits=r(4);var l={deprecate:r(52)},f=r(28),h=r(21).Buffer,d=i.Uint8Array||function(){};var p,g=r(29);function m(){}function y(e,t){a=a||r(7),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,c=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(c||0===c)?c:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(C,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),C(e,t))}(e,r,n,t,i);else{var s=S(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?u(v,e,r,s,i):v(e,r,s,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(a=a||r(7),!(p.call(b,this)||this instanceof a))return new b(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function w(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function v(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),C(e,t)}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,w(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(w(e,t,!1,t.objectMode?1:c.length,c,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),C(e,t)}))}function C(e,t){var r=S(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}c.inherits(b,f),y.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===b&&(e&&e._writableState instanceof y)}})):p=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,i=this._writableState,s=!1,a=!i.objectMode&&(n=e,h.isBuffer(n)||n instanceof d);return a&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=m),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var i=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),o.nextTick(n,s),i=!1),i}(this,i,e,r))&&(i.pendingcb++,s=function(e,t,r,n,i,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,r));return t}(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,C(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(2),r(50).setImmediate,r(1))},function(e,t,r){"use strict";var n=r(53).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=l,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";e.exports=s;var n=r(7),i=Object.create(r(10));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(o.a)(r),t)}async decode(e,t){return new Promise((r,n)=>{this.pool.queue(async i=>{try{const n=await i(e,t);r(n)}catch(e){n(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,r(65))},function(e,t,r){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function i(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var o=void 0!==e.ArrayBuffer,s=o&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"==typeof e}t.arraybuffer=t.fetch||o&&i("arraybuffer"),t.msstream=!t.fetch&&s&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&a(n().overrideMimeType),t.vbArray=a(e.VBArray),r=null}).call(this,r(1))},function(e,t,r){(function(e,n,i){var o=r(34),s=r(4),a=r(20),u=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,r,s,u){var c=this;if(a.Readable.call(c),c._mode=s,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){e.nextTick((function(){c.emit("close")}))})),"fetch"===s){if(c._fetchResponse=r,c.url=r.url,c.statusCode=r.status,c.statusMessage=r.statusText,r.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),o.writableStream){var l=new WritableStream({write:function(e){return new Promise((function(t,r){c._destroyed?r():c.push(new n(e))?t():c._resumeFetch=t}))},close:function(){i.clearTimeout(u),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void r.body.pipeTo(l).catch((function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)}))}catch(e){}}var f=r.body.getReader();!function e(){f.read().then((function(t){if(!c._destroyed){if(t.done)return i.clearTimeout(u),void c.push(null);c.push(new n(t.value)),e()}})).catch((function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)}))}()}else{if(c._xhr=t,c._pos=0,c.url=t.responseURL,c.statusCode=t.status,c.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\\r?\\n/).forEach((function(e){var t=e.match(/^([^:]+):\\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===c.headers[r]&&(c.headers[r]=[]),c.headers[r].push(t[2])):void 0!==c.headers[r]?c.headers[r]+=", "+t[2]:c.headers[r]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!o.overrideMimeType){var h=c.rawHeaders["mime-type"];if(h){var d=h.match(/;\\s*charset=([^;])(;|$)/);d&&(c._charset=d[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};s(c,a.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{r=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var s=new n(o.length),a=0;ae._pos&&(e.push(new n(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(r)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r(2),r(3).Buffer,r(1))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){return new Promise((function(r,c){try{t&&console.log("starting parseData with",e),t&&console.log("\\tGeoTIFF:","undefined"==typeof GeoTIFF?"undefined":i(GeoTIFF));var l={},f=void 0,h=void 0;if("object"===e.rasterType)l.values=e.data,l.height=f=e.metadata.height||l.values[0].length,l.width=h=e.metadata.width||l.values[0][0].length,l.pixelHeight=e.metadata.pixelHeight,l.pixelWidth=e.metadata.pixelWidth,l.projection=e.metadata.projection,l.xmin=e.metadata.xmin,l.ymax=e.metadata.ymax,l.noDataValue=e.metadata.noDataValue,l.numberOfRasters=l.values.length,l.xmax=l.xmin+l.width*l.pixelWidth,l.ymin=l.ymax-l.height*l.pixelHeight,l._data=null,r(u(l));else if("geotiff"===e.rasterType){l._data=e.data;var d=o.fromArrayBuffer;"url"===e.sourceType&&(d=o.fromUrl),t&&console.log("data.rasterType is geotiff"),r(d(e.data).then((function(r){return t&&console.log("geotiff:",r),r.getImage().then((function(r){try{t&&console.log("image:",r);var i=r.fileDirectory,o=r.getGeoKeys(),d=o.GeographicTypeGeoKey,p=o.ProjectedCSTypeGeoKey;l.projection=p||d,t&&console.log("projection:",l.projection),l.height=f=r.getHeight(),t&&console.log("result.height:",l.height),l.width=h=r.getWidth(),t&&console.log("result.width:",l.width);var g=r.getResolution(),m=n(g,2),y=m[0],b=m[1];l.pixelHeight=Math.abs(b),l.pixelWidth=Math.abs(y);var w=r.getOrigin(),v=n(w,2),_=v[0],S=v[1];return l.xmin=_,l.xmax=l.xmin+h*l.pixelWidth,l.ymax=S,l.ymin=l.ymax-f*l.pixelHeight,l.noDataValue=i.GDAL_NODATA?parseFloat(i.GDAL_NODATA):null,l.numberOfRasters=i.SamplesPerPixel,i.ColorMap&&(l.palette=(0,s.getPalette)(r)),"url"!==e.sourceType?r.readRasters().then((function(e){return l.values=e.map((function(e){return(0,a.unflatten)(e,{height:f,width:h})})),u(l)})):l}catch(e){c(e),console.error("[georaster] error parsing georaster:",e)}}))})))}}catch(e){c(e),console.error("[georaster] error parsing georaster:",e)}}))};var o=r(80),s=r(78),a=r(79);function u(e,t){var r=e.noDataValue,n=e.height,i=e.width;return new Promise((function(o,s){e.maxs=[],e.mins=[],e.ranges=[];for(var a=void 0,u=void 0,c=0;ca)&&(a=p))}e.maxs.push(a),e.mins.push(u),e.ranges.push(a-u)}o(e)}))}},function(e,t,r){function n(e,t){"use strict";var r=(t=t||{}).pos||0,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),a="/".charCodeAt(0),u="!".charCodeAt(0),c="\'".charCodeAt(0),l=\'"\'.charCodeAt(0);function f(){for(var t=[];e[r];)if(e.charCodeAt(r)==i){if(e.charCodeAt(r+1)===a)return(r=e.indexOf(">",r))+1&&(r+=1),t;if(e.charCodeAt(r+1)===u){if(e.charCodeAt(r+2)==s){for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length)}else for(r+=2;e.charCodeAt(r)!==o&&e[r];)r++;r++;continue}var n=g();t.push(n)}else{var c=h();c.trim().length>0&&t.push(c),r++}return t}function h(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}function d(){for(var t=r;-1==="\\n\\t>/= ".indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var p=t.noChildNodes||["img","br","input","meta","link"];function g(){r++;const t=d(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var s=e.charCodeAt(r);if(s>64&&s<91||s>96&&s<123){for(var u=d(),h=e.charCodeAt(r);h&&h!==c&&h!==l&&!(h>64&&h<91||h>96&&h<123)&&h!==o;)r++,h=e.charCodeAt(r);if(h===c||h===l){var g=m();if(-1===r)return{tagName:t,attributes:n,children:i}}else g=null,r--;n[u]=g}r++}if(e.charCodeAt(r-1)!==a)if("script"==t){var y=r+1;r=e.indexOf("<\\/script>",r),i=[e.slice(y,r-1)],r+=9}else if("style"==t){y=r+1;r=e.indexOf("",r),i=[e.slice(y,r-1)],r+=8}else-1==p.indexOf(t)&&(r++,i=f());else r++;return{tagName:t,attributes:n,children:i}}function m(){var t=e[r],n=++r;return r=e.indexOf(t,n),e.slice(n,r)}var y,b=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(b=[];-1!==(y=void 0,y=new RegExp("\\\\s"+t.attrName+"\\\\s*=[\'\\"]"+t.attrValue+"[\'\\"]").exec(e),r=y?y.index:-1);)-1!==(r=e.lastIndexOf("<",r))&&b.push(g()),e=e.substr(r),r=0}else b=t.parseNode?g():f();return t.filter&&(b=n.filter(b,t.filter)),t.setPos&&(b.pos=r),b}n.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=n.simplify(e.children||[]);t[e.tagName].push(r),e.attributes&&(r._attributes=e.attributes)}})),t)1==t[r].length&&(t[r]=t[r][0]);return t},n.filter=function(e,t){var r=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&r.push(e),e.children){var i=n.filter(e.children,t);r=r.concat(i)}})),r},n.stringify=function(e){var t="";function r(e){if(e)for(var r=0;r",r(e.children),t+=""}return r(e),t},n.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+n.toContentString(e)).trim()})),t}return"object"==typeof e?n.toContentString(e.children):" "+e},n.getElementById=function(e,t,r){var i=n(e,{attrValue:t});return r?n.simplify(i):i[0]},n.getElementsByClassName=function(e,t,r){const i=n(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return r?n.simplify(i):i},n.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=r(12);e=i.createReadStream(e,{start:t}),t=0}var o=t,s="";return e.on("data",(function(t){s+=t;for(var r=0;;){if(!(o=s.indexOf("<",o)+1))return void(o=r);if("/"!==s[o+1]){var i=n(s,{pos:o-1,parseNode:!0,setPos:!0});if((o=i.pos)>s.length-1||oo.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new c,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,u,c,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(h.output,h.next_out),c=h.next_out-u,f=o.buf2string(h.output,u),h.next_out=c,h.avail_out=d-c,c&&i.arraySet(h.output,h.output,u,c,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},function(e,t,r){"use strict";var n=r(13);class i extends n.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));const n=()=>{};function i(){let e,t=!1,r=n;return[new Promise(n=>{t?n(e):r=n}),n=>{t=!0,e=n,r(e)}]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(0);function i(e){return e&&"object"==typeof e&&e[n.d]}},function(e,t,r){var n=r(18),i=r(17),o=e.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error(\'Protocol "\'+e.protocol+\'" not supported. Expected "https:"\');return e}o.request=function(e,t){return e=a(e),n.request.call(this,e,t)},o.get=function(e,t){return e=a(e),n.get.call(this,e,t)}},function(e,t,r){"use strict";r.r(t);var n=r(36),i=r.n(n);self;onmessage=e=>{const t=e.data;i()(t).then(e=>{e._data instanceof ArrayBuffer?postMessage(e,[e._data]):postMessage(e),close()})}},function(e,t,r){(function(t){var n=r(20).Transform,i=r(4);function o(e){n.call(this,e),this._destroyed=!1}function s(e,t,r){r(null,e)}function a(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=s),"function"!=typeof n&&(n=null),e(t,r,n)}}i(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var r=this;t.nextTick((function(){e&&r.emit("error",e),r.emit("close")}))}},e.exports=a((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),e.exports.ctor=a((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),o.call(this,this.options)}return i(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),e.exports.obj=a((function(e,t,r){var n=new o(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))}).call(this,r(2))},function(e,t,r){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=c(e),s=n[0],a=n[1],u=new o(function(e,t,r){return 3*(t+r)/4-r}(0,s,a)),l=0,f=a>0?s-4:s;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===a&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t);1===a&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=0,a=r-i;sa?a:s+16383));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var i,o,s=[],a=t;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){\n/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nt.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,l=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+e[t+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=c}return(d?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[r+d]=255&s,d+=p,s/=256,c-=8);e[r+d-p]|=128*g}},function(e,t){},function(e,t,r){"use strict";var n=r(21).Buffer,i=r(49);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=o,i=a,t.copy(r,i),a+=s.data.length,s=s.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(51),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(1))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,i,o,s,a,u=1,c={},l=!1,f=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,l(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function d(e,t){var r,n;return e?(n=new c,e.state=n,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function y(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=o(r.check,L,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,R=8+(15&(g>>>=4)),0===r.wbits)r.wbits=R;else if(R>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&g,L[1]=g>>>8&255,r.check=o(r.check,L,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===d)break e;d--,g+=c[f++]<>>8&255,L[2]=g>>>16&255,L[3]=g>>>24&255,r.check=o(r.check,L,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===d)break e;d--,g+=c[f++]<>8),512&r.flags&&(L[0]=255&g,L[1]=g>>>8&255,r.check=o(r.check,L,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===d)break e;d--,g+=c[f++]<>>8&255,r.check=o(r.check,L,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>d&&(_=d),_&&(r.head&&(R=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,c,f,_,R)),512&r.flags&&(r.check=o(r.check,c,_,f)),d-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;_=0;do{R=c[f+_++],r.head&&R&&r.length<65536&&(r.head.name+=String.fromCharCode(R))}while(R&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===d)break e;d--,g+=c[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===d)break e;d--,g+=c[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(y(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===d)break e;d--,g+=c[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>d&&(_=d),_>p&&(_=p),0===_)break e;n.arraySet(l,c,f,_,h),d-=_,f+=_,p-=_,h+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===d)break e;d--,g+=c[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},I=a(0,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,I){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,T=65535&D,!((C=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>>=C,m-=C,r.lens[r.have++]=T;else{if(16===T){for(M=C+2;m>>=C,m-=C,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}R=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===T){for(M=C+3;m>>=C)),g>>>=3,m-=3}else{for(M=C+7;m>>=C)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=R}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,P={bits:r.lenbits},I=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,I){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},I=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,I){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,r.hold=g,r.bits=m,s(e,v),h=e.next_out,l=e.output,p=e.avail_out,f=e.next_in,c=e.input,d=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;E=(D=r.lencode[g&(1<>>16&255,T=65535&D,!((C=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>x)])>>>16&255,T=65535&D,!(x+(C=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>>=x,m-=x,r.back+=x}if(g>>>=C,m-=C,r.back+=C,r.length=T,0===E){r.mode=26;break}if(32&E){r.back=-1,r.mode=12;break}if(64&E){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&E,r.mode=22;case 22:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;E=(D=r.distcode[g&(1<>>16&255,T=65535&D,!((C=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>x)])>>>16&255,T=65535&D,!(x+(C=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>>=x,m-=x,r.back+=x}if(g>>>=C,m-=C,r.back+=C,64&E){e.msg="invalid distance code",r.mode=30;break}r.offset=T,r.extra=15&E,r.mode=24;case 24:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=v-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,S=r.wsize-_):S=r.wnext-_,_>r.length&&(_=r.length),k=r.window}else k=l,S=h-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{l[h++]=k[S++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;l[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===d)break e;d--,g|=c[f++]<>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a>>8^o[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,s,a,u,c,l,f,h,d,p,g,m,y,b,w,v,_,S,k,C,E,T;r=e.state,n=e.next_in,E=e.input,i=n+(e.avail_in-5),o=e.next_out,T=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),u=r.dmax,c=r.wsize,l=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,m=r.distcode,y=(1<>>=v=w>>>24,p-=v,0===(v=w>>>16&255))T[o++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=g[(65535&w)+(d&(1<>>=v,p-=v),p<15&&(d+=E[n++]<>>=v=w>>>24,p-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=m[(65535&w)+(d&(1<u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=v,p-=v,S>(v=o-s)){if((v=S-v)>l&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(k=0,C=h,0===f){if(k+=c-v,v<_){_-=v;do{T[o++]=h[k++]}while(--v);k=o-S,C=T}}else if(f2;)T[o++]=C[k++],T[o++]=C[k++],T[o++]=C[k++],_-=3;_&&(T[o++]=C[k++],_>1&&(T[o++]=C[k++]))}else{k=o-S;do{T[o++]=T[k++],T[o++]=T[k++],T[o++]=T[k++],_-=3}while(_>2);_&&(T[o++]=T[k++],_>1&&(T[o++]=T[k++]))}break}}break}}while(n>3,d&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===L[T];T--);if(x>T&&(x=T),0===T)return c[l++]=20971520,c[l++]=20971520,h.bits=1,0;for(E=1;E0&&(0===e||1!==T))return-1;for(U[1]=0,k=1;k<15;k++)U[k+1]=U[k]+L[k];for(C=0;C852||2===e&&I>592)return 1;for(;;){w=k-O,f[C]b?(v=F[j+f[C]],_=M[D+f[C]]):(v=96,_=0),d=1<>O)+(p-=d)]=w<<24|v<<16|_|0}while(0!==p);for(d=1<>=1;if(0!==d?(P&=d-1,P+=d):P=0,C++,0==--L[k]){if(k===T)break;k=t[r+f[C]]}if(k>x&&(P&m)!==g){for(0===O&&(O=x),y+=E,R=1<<(A=k-O);A+O852||2===e&&I>592)return 1;c[g=P&m]=x<<24|A<<16|y-l|0}}return 0!==P&&(c[y+P]=k-O<<24|64<<16|0),h.bits=x,0}},function(e,t,r){"use strict";var n=r(16),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function u(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return u(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)c[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return u(c,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){e.exports=r.p+"0.6000412d60ee3bcdd884.worker.worker.js"},function(e,t,r){e.exports=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\\s,]+/),i=n.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=n)return s(e,t,n,"minute");if(t>=r)return s(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){(function(t,n,i){var o=r(34),s=r(4),a=r(35),u=r(20),c=r(69),l=a.IncomingMessage,f=a.readyStates;var h=e.exports=function(e){var r,n=this;u.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}(r,i),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};s(h,u.Writable),h.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},h.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},h.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},h.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,s=e._headers,a=null;"GET"!==r.method&&"HEAD"!==r.method&&(a=o.arraybuffer?c(t.concat(e._body)):o.blobConstructor?new n.Blob(e._body.map((function(e){return c(e)})),{type:(s["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(s).forEach((function(e){var t=s[e].name,r=s[e].value;Array.isArray(r)?r.forEach((function(e){u.push([t,e])})):u.push([t,r])})),"fetch"===e._mode){var l=null;if(o.abortController){var h=new AbortController;l=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:u,body:a||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:l}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var d=e._xhr=new n.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(d.timeout=r.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),u.forEach((function(e){d.setRequestHeader(e[0],e[1])})),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(a)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}}}},h.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},h.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},h.prototype._write=function(e,t,r){this._body.push(e),r()},h.prototype.abort=h.prototype.destroy=function(){this._destroyed=!0,n.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},h.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),u.Writable.prototype.end.call(this,e,t,r)},h.prototype.flushHeaders=function(){},h.prototype.setTimeout=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(3).Buffer,r(1),r(2))},function(e,t,r){var n=r(3).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,i=0;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function g(e){throw new RangeError(h[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(f,".")).split("."),t).join(".")}function b(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join("")}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function S(e){var t,r,n,i,o,s,a,c,l,f,h,p=[],m=e.length,y=0,b=128,v=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&g("not-basic"),p.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=m&&g("invalid-input"),((c=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||c>d((u-y)/s))&&g("overflow"),y+=c*s,!(c<(l=a<=v?1:a>=v+26?26:a-v));a+=36)s>d(u/(f=36-l))&&g("overflow"),s*=f;v=_(y-o,t=p.length+1,0==o),d(y/t)>u-b&&g("overflow"),b+=d(y/t),y%=t,p.splice(y++,0,b)}return w(p)}function k(e){var t,r,n,i,o,s,a,c,l,f,h,m,y,w,S,k=[];for(m=(e=b(e)).length,t=128,r=0,o=72,s=0;s=t&&hd((u-r)/(y=n+1))&&g("overflow"),r+=(a-t)*y,t=a,s=0;su&&g("overflow"),h==t){for(c=r,l=36;!(c<(f=l<=o?1:l>=o+26?26:l-o));l+=36)S=c-f,w=36-f,k.push(p(v(f+S%w,0))),c=d(S/w);k.push(p(v(c,0))),o=_(r,y,n==i),r=0,++n}++r,++t}return k.join("")}a={version:"1.4.1",ucs2:{decode:b,encode:w},decode:S,encode:k,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?S(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return a}.call(t,r,t,e))||(e.exports=i)}()}).call(this,r(73)(e),r(1))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";t.decode=t.parse=r(76),t.encode=t.stringify=r(77)},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l=0?(f=g.substr(0,m),h=g.substr(m+1)):(f=g,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?o(s(e),(function(s){var a=encodeURIComponent(n(s))+r;return i(e[s])?o(e[s],(function(e){return a+encodeURIComponent(n(e))})).join(t):a+encodeURIComponent(n(e[s]))})).join(t):a?encodeURIComponent(n(a))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n{t&&console.log("starting getPalette with image",e);const{fileDirectory:r}=e,{BitsPerSample:n,ColorMap:i,ImageLength:o,ImageWidth:s,PhotometricInterpretation:a,SampleFormat:u,SamplesPerPixel:c}=r;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can\'t make a palette.");const l=Math.pow(2,n);t&&console.log("[geotiff-palette]: count:",l);const f=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",f),f!==l)throw new Error("[geotiff-palette]: can\'t handle situations where the color map has more or less values than the number of possible values in a raster");const h=f,d=h+f,p=[];for(let e=0;e>24)/500+a,c=a-(e[t+2]<<24>>24)/200;u=.95047*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),c=1.08883*(c*c*c>.008856?c*c*c:(c-16/116)/7.787),i=3.2406*u+-1.5372*a+-.4986*c,o=-.9689*u+1.8758*a+.0415*c,s=.0557*u+-.204*a+1.057*c,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n[r]=255*Math.max(0,Math.min(1,i)),n[r+1]=255*Math.max(0,Math.min(1,o)),n[r+2]=255*Math.max(0,Math.min(1,s))}return n}function k(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function C(e,t,r){let n=0,i=e.length;const o=i/r;for(;i>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;i-=t}const s=e.slice();for(let t=0;t=e.byteLength);++o){let n;if(2===t){switch(i[0]){case 8:n=new Uint8Array(e,o*a*r*s,a*r*s);break;case 16:n=new Uint16Array(e,o*a*r*s,a*r*s/2);break;case 32:n=new Uint32Array(e,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}k(n,a)}else 3===t&&(n=new Uint8Array(e,o*a*r*s,a*r*s),C(n,a,s))}return e}(r,n,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return r}}class T extends E{decodeBlock(e){return e}}function x(e,t){for(let r=t.length-1;r>=0;r--)e.push(t[r]);return e}function A(e){const t=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,r[e]=e;let n=258,i=9,o=0;function s(){n=258,i=9}function a(e){const t=function(e,t,r){const n=t%8,i=Math.floor(t/8),o=8-n,s=t+r-8*(i+1);let a=8*(i+2)-(t+r);const u=8*(i+2)-t;if(a=Math.max(0,a),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let c=e[i]&2**(8-n)-1;c<<=r-o;let l=c;if(i+1>>a;t<<=Math.max(0,r-u),l+=t}if(s>8&&i+2>>n}return l}(e,o,i);return o+=i,t}function u(e,i){return r[n]=i,t[n]=e,n++,n-1}function c(e){const n=[];for(let i=e;4096!==i;i=t[i])n.push(r[i]);return n}const l=[];s();const f=new Uint8Array(e);let h,d=a(f);for(;257!==d;){if(256===d){for(s(),d=a(f);256===d;)d=a(f);if(257===d)break;if(d>256)throw new Error("corrupted code at scanline "+d);x(l,c(d)),h=d}else if(d=2**i&&(12===i?h=void 0:i++),d=a(f)}return new Uint8Array(l)}class O extends E{decodeBlock(e){return A(e).buffer}}const R=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function I(e,t){let r=0;const n=[];let i=16;for(;i>0&&!e[i-1];)--i;n.push({children:[],index:0});let o,s=n[0];for(let a=0;a0;)s=n.pop();for(s.index++,n.push(s);n.length<=a;)n.push(o={children:[],index:0}),s.children[s.index]=o.children,s=o;r++}a+10)return p--,d>>p&1;if(d=e[h++],255===d){const t=e[h++];if(t)throw new Error("unexpected marker: "+(d<<8|t).toString(16))}return p=7,d>>>7}function m(e){let t,r=e;for(;null!==(t=g());){if(r=r[t],"number"==typeof r)return r;if("object"!=typeof r)throw new Error("invalid huffman sequence")}return null}function y(e){let t=e,r=0;for(;t>0;){const e=g();if(null===e)return;r=r<<1|e,--t}return r}function b(e){const t=y(e);return t>=1<0)return void w--;let r=o;const n=s;for(;r<=n;){const n=m(e.huffmanTableAC),i=15&n,o=n>>4;if(0===i){if(o<15){w=y(o)+(1<>4,0===r)i<15?(w=y(i)+(1<>4;if(0===n){if(o<15)break;i+=16}else{i+=o;t[R[i]]=b(n),i++}}};let P,M,D=0;M=1===C?n[0].blocksPerLine*n[0].blocksPerColumn:c*r.mcusPerColumn;const L=i||M;for(;D=65488&&P<=65495))break;h+=2}return h-f}function M(e,t){const r=[],{blocksPerLine:n,blocksPerColumn:i}=t,o=n<<3,s=new Int32Array(64),a=new Uint8Array(64);function u(e,r,n){const i=t.quantizationTable;let o,s,a,u,c,l,f,h,d;const p=n;let g;for(g=0;g<64;g++)p[g]=e[g]*i[g];for(g=0;g<8;++g){const e=8*g;0!==p[1+e]||0!==p[2+e]||0!==p[3+e]||0!==p[4+e]||0!==p[5+e]||0!==p[6+e]||0!==p[7+e]?(o=5793*p[0+e]+128>>8,s=5793*p[4+e]+128>>8,a=p[2+e],u=p[6+e],c=2896*(p[1+e]-p[7+e])+128>>8,h=2896*(p[1+e]+p[7+e])+128>>8,l=p[3+e]<<4,f=p[5+e]<<4,d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+128>>8,a=1567*a-3784*u+128>>8,u=d,d=c-f+1>>1,c=c+f+1>>1,f=d,d=h+l+1>>1,l=h-l+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*c+3406*h+2048>>12,c=3406*c-2276*h+2048>>12,h=d,d=799*l+4017*f+2048>>12,l=4017*l-799*f+2048>>12,f=d,p[0+e]=o+h,p[7+e]=o-h,p[1+e]=s+f,p[6+e]=s-f,p[2+e]=a+l,p[5+e]=a-l,p[3+e]=u+c,p[4+e]=u-c):(d=5793*p[0+e]+512>>10,p[0+e]=d,p[1+e]=d,p[2+e]=d,p[3+e]=d,p[4+e]=d,p[5+e]=d,p[6+e]=d,p[7+e]=d)}for(g=0;g<8;++g){const e=g;0!==p[8+e]||0!==p[16+e]||0!==p[24+e]||0!==p[32+e]||0!==p[40+e]||0!==p[48+e]||0!==p[56+e]?(o=5793*p[0+e]+2048>>12,s=5793*p[32+e]+2048>>12,a=p[16+e],u=p[48+e],c=2896*(p[8+e]-p[56+e])+2048>>12,h=2896*(p[8+e]+p[56+e])+2048>>12,l=p[24+e],f=p[40+e],d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+2048>>12,a=1567*a-3784*u+2048>>12,u=d,d=c-f+1>>1,c=c+f+1>>1,f=d,d=h+l+1>>1,l=h-l+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*c+3406*h+2048>>12,c=3406*c-2276*h+2048>>12,h=d,d=799*l+4017*f+2048>>12,l=4017*l-799*f+2048>>12,f=d,p[0+e]=o+h,p[56+e]=o-h,p[8+e]=s+f,p[48+e]=s-f,p[16+e]=a+l,p[40+e]=a-l,p[24+e]=u+c,p[32+e]=u-c):(d=5793*n[g+0]+8192>>14,p[0+e]=d,p[8+e]=d,p[16+e]=d,p[24+e]=d,p[32+e]=d,p[40+e]=d,p[48+e]=d,p[56+e]=d)}for(g=0;g<64;++g){const e=128+(p[g]+8>>4);r[g]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let r=0;r<64;r++){i[R[r]]=e[t++]}else{if(n>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[R[e]]=r()}}this.quantizationTables[15&n]=i}break}case 65472:case 65473:case 65474:{r();const n={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},s=e[t++];let a;for(let r=0;r>4,i=15&e[t+1],o=e[t+2];n.componentsOrder.push(a),n.components[a]={h:r,v:i,quantizationIdx:o},t+=3}i(n),this.frames.push(n);break}case 65476:{const n=r();for(let r=2;r>4==0?this.huffmanTablesDC[15&n]=I(i,s):this.huffmanTablesAC[15&n]=I(i,s)}break}case 65501:r(),this.resetInterval=r();break;case 65498:{r();const n=e[t++],i=[],o=this.frames[0];for(let r=0;r>4],r.huffmanTableAC=this.huffmanTablesAC[15&n],i.push(r)}const s=e[t++],a=e[t++],u=e[t++],c=P(e,t,o,i,this.resetInterval,s,a,u>>4,15&u);t+=c;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+o.toString(16))}o=r()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const a=N(e,n,i);for(let u=0;u{const a=N(e,n,i);for(let u=0;u=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(r){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(r){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(r){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return K(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),o=Math.ceil(this.getHeight()/this.getTileHeight());let s;const{tiles:a}=this;let u,c;1===this.planarConfiguration?s=t*i+e:2===this.planarConfiguration&&(s=r*i*o+t*i+e),this.isTiled?(u=this.fileDirectory.TileOffsets[s],c=this.fileDirectory.TileByteCounts[s]):(u=this.fileDirectory.StripOffsets[s],c=this.fileDirectory.StripByteCounts[s]);const l=await this.source.fetch(u,c);let f;return null===a?f=n.decode(this.fileDirectory,l):a[s]||(f=n.decode(this.fileDirectory,l),a[s]=f),{x:e,y:t,sample:r,data:await f}}async _readRaster(e,t,r,n,i,o,s,a){const u=this.getTileWidth(),c=this.getTileHeight(),l=Math.max(Math.floor(e[0]/u),0),f=Math.min(Math.ceil(e[2]/u),Math.ceil(this.getWidth()/this.getTileWidth())),h=Math.max(Math.floor(e[1]/c),0),d=Math.min(Math.ceil(e[3]/c),Math.ceil(this.getHeight()/this.getTileHeight())),p=e[2]-e[0];let g=this.getBytesPerPixel();const m=[],y=[];for(let e=0;e{const o=i.data,s=new DataView(o),a=i.y*c,f=i.x*u,h=(i.y+1)*c,d=(i.x+1)*u,b=y[l],v=Math.min(c,c-(h-e[3])),_=Math.min(u,u-(d-e[2]));for(let i=Math.max(0,e[1]-a);iu[2]||u[1]>u[3])throw new Error("Invalid subsets");const c=(u[2]-u[0])*(u[3]-u[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index \'${t[e]}\'.`))}else for(let e=0;es[2]||s[1]>s[3])throw new Error("Invalid subsets");const a=this.fileDirectory.PhotometricInterpretation;if(a===d.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==p.Unspecified&&o){i=[];for(let e=0;e"Item"===e.tagName);e&&(o=o.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(e+(t?o:7-o));n&&(i?0!==s&&(s=255&~(s-1),i=!1):s=255&~s),r+=s*256**o}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class Y{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+2**32*r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}if(n=2**32*t+r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}readInt64(e){let t=0;const r=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let o=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?0!==o&&(o=255&~(o-1),n=!1):o=255&~o),t+=o*256**i}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var Z=r(33),$=r(3),X=r(12),Q=r(18),J=r.n(Q),ee=r(42),te=r.n(ee),re=r(17),ne=r.n(re);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,r=!1){const n=e+t,i=[],o=[],s=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let r=[];t.push(r);for(let n=0;n{const t=await e,i=r*this.blockSize,o=Math.min(i+this.blockSize,t.data.byteLength),s=t.data.slice(i,o);this.blockRequests.delete(n),this.blocks.set(n,{data:s,offset:t.offset+i,length:s.byteLength,top:t.offset+o})})())}}this.blockIdsAwaitingRequest=null}const a=[];for(const e of o)this.blockRequests.has(e)&&a.push(this.blockRequests.get(e));await Promise.all(a),await Promise.all(s);return function(e,t,r){const n=t+r,i=new ArrayBuffer(r),o=new Uint8Array(i);for(const r of e){const e=r.offset-t,i=r.top-n;let s,a=0,u=0;e<0?a=-e:e>0&&(u=e),s=i<0?r.length-a:n-r.offset-a;const c=new Uint8Array(r.data,a,s);o.set(c,u)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const r=await this.retrievalFunction(e,t);return r.length?r.length!==r.data.byteLength&&(r.data=r.data.slice(0,r.length)):r.length=r.data.byteLength,r.top=r.offset+r.length,r}}function oe(e,t){const{forceXHR:r}=t;if("function"==typeof fetch&&!r)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${r}-${r+n-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:r,length:n}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:r})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=new XMLHttpRequest;s.open("GET",e),s.responseType="arraybuffer";const a={...t,Range:`bytes=${r}-${r+n-1}`};for(const[e,t]of Object.entries(a))s.setRequestHeader(e,t);s.onload=()=>{const e=s.response;206===s.status?i({data:e,offset:r,length:n}):i({data:e,offset:0,length:e.byteLength})},s.onerror=o,s.send()}),{blockSize:r})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=ne.a.parse(e);("http:"===s.protocol?J.a:te.a).get({...s,headers:{...t,Range:`bytes=${r}-${r+n-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=$.Buffer.concat(t).buffer;i({data:e,offset:r,length:e.byteLength})})}).on("error",o)}),{blockSize:r})}(e,t);throw new Error("No remote source available")}function se(e){const t=function(e,t,r){return new Promise((n,i)=>{Object(X.open)(e,t,r,(e,t)=>{e?i(e):n(t)})})}(e,"r");return{async fetch(e,r){const n=await t,{buffer:i}=await function(...e){return new Promise((t,r)=>{Object(X.read)(...e,(e,n,i)=>{e?r(e):t({bytesRead:n,buffer:i})})})}(n,$.Buffer.alloc(r),0,r,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,r)=>{Object(X.close)(e,e=>{e?r(e):t()})})}(e)}}}function ae(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}function ue(e,t){if(e.length{let r=t;for(;0!==e[r];)r++;return r},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const r=ge.ui8;return r[0]=e[t+1],r[1]=e[t+0],ge.i16[0]},readInt:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.i32[0]},readUint:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.ui32[0]},readASCII:(e,t,r)=>r.map(r=>String.fromCharCode(e[t+r])).join(""),readFloat:(e,t)=>{const r=ge.ui8;return le(4,n=>{r[n]=e[t+3-n]}),ge.fl32[0]},readDouble:(e,t)=>{const r=ge.ui8;return le(8,n=>{r[n]=e[t+7-n]}),ge.fl64[0]},writeUshort:(e,t,r)=>{e[t]=r>>8&255,e[t+1]=255&r},writeUint:(e,t,r)=>{e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:(e,t,r)=>{le(r.length,n=>{e[t+n]=r.charCodeAt(n)})},ui8:new Uint8Array(8)};ge.fl64=new Float64Array(ge.ui8.buffer),ge.writeDouble=(e,t,r)=>{ge.fl64[0]=r,le(8,r=>{e[t+r]=ge.ui8[7-r]})};const me=e=>{const t=new Uint8Array(1e3);let r=4;const n=ge;t[0]=77,t[1]=77,t[3]=42;let i=8;if(n.writeUint(t,r,i),r+=4,e.forEach((r,o)=>{const s=((e,t,r,n)=>{let i=r;const o=Object.keys(n).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,o.length),i+=2;let s=i+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const a=c[o],u=pe[a];if(null==a||void 0===a||void 0===a)throw new Error("unknown type of tag: "+o);let l=n[r];if(void 0===l)throw new Error("failed to get value for key "+r);"ASCII"===a&&"string"==typeof l&&!1===ue(l,"\\0")&&(l+="\\0");const f=l.length;e.writeUshort(t,i,o),i+=2,e.writeUshort(t,i,u),i+=2,e.writeUint(t,i,f),i+=4;let h=[-1,1,1,2,4,8,0,0,0,0,0,0,8][u]*f,d=i;h>4&&(e.writeUint(t,i,s),d=s),"ASCII"===a?e.writeASCII(t,d,l):"SHORT"===a?le(f,r=>{e.writeUshort(t,d+2*r,l[r])}):"LONG"===a?le(f,r=>{e.writeUint(t,d+4*r,l[r])}):"RATIONAL"===a?le(f,r=>{e.writeUint(t,d+8*r,Math.round(1e4*l[r])),e.writeUint(t,d+8*r+4,1e4)}):"DOUBLE"===a&&le(f,r=>{e.writeDouble(t,d+8*r,l[r])}),h>4&&(h+=1&h,s+=h),i+=4}return[i,s]})(n,t,i,r);i=s[1],o{le(i,r=>{le(n,n=>{o.push(e[n][t][r])})})})),t.ImageLength=r,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=le(n,()=>8)),ye.forEach(e=>{const r=e[0];if(!t[r]){const n=e[1];t[r]=n}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[n]),t.StripByteCounts||(t.StripByteCounts=[n*r*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/r,0]),t.SampleFormat||(t.SampleFormat=le(n,()=>1));const s=Object.keys(t).filter(e=>ue(e,"GeoKey")).sort((e,t)=>de[e]-de[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,s.length];s.forEach(r=>{const n=Number(de[r]);let i,o,s;e.push(n),"SHORT"===c[n]?(i=1,o=0,s=t[r]):"GeogCitationGeoKey"===r?(i=t.GeoAsciiParams.length,o=Number(de.GeoAsciiParams),s=0):console.log("[geotiff.js] couldn\'t get TIFFTagLocation for "+r),e.push(o),e.push(i),e.push(s)}),t.GeoKeyDirectory=e}for(const e in s)s.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var r;t[e]&&(t[e]=(r=t[e],Array.isArray(r)?r:[r]))});const a=(e=>{const t={};for(const r in e)"StripOffsets"!==r&&(de[r]||console.error(r,"not in name2code:",Object.keys(de)),t[de[r]]=e[r]);return t})(t);return((e,t,r,n)=>{if(null==r)throw new Error("you passed into encodeImage a width of type "+r);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[r],273:[1e3],278:[r],305:"geotiff.js"};if(n)for(const e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);const o=new Uint8Array(me([i])),s=new Uint8Array(e),a=i[277],u=new Uint8Array(1e3+t*r*a);return le(o.length,e=>{u[e]=o[e]}),function(e,t){const{length:r}=e;for(let n=0;n{u[1e3+t]=e}),u.buffer})(o,i,r,a)}class we{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let ve=new we;function _e(e=new we){ve=e}function Se(e){switch(e){case h.BYTE:case h.ASCII:case h.SBYTE:case h.UNDEFINED:return 1;case h.SHORT:case h.SSHORT:return 2;case h.LONG:case h.SLONG:case h.FLOAT:case h.IFD:return 4;case h.RATIONAL:case h.SRATIONAL:case h.DOUBLE:case h.LONG8:case h.SLONG8:case h.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function ke(e,t,r,n){let i=null,o=null;const s=Se(t);switch(t){case h.BYTE:case h.ASCII:case h.UNDEFINED:i=new Uint8Array(r),o=e.readUint8;break;case h.SBYTE:i=new Int8Array(r),o=e.readInt8;break;case h.SHORT:i=new Uint16Array(r),o=e.readUint16;break;case h.SSHORT:i=new Int16Array(r),o=e.readInt16;break;case h.LONG:case h.IFD:i=new Uint32Array(r),o=e.readUint32;break;case h.SLONG:i=new Int32Array(r),o=e.readInt32;break;case h.LONG8:case h.IFD8:i=new Array(r),o=e.readUint64;break;case h.SLONG8:i=new Array(r),o=e.readInt64;break;case h.RATIONAL:i=new Uint32Array(2*r),o=e.readUint32;break;case h.SRATIONAL:i=new Int32Array(2*r),o=e.readInt32;break;case h.FLOAT:i=new Float32Array(r),o=e.readFloat32;break;case h.DOUBLE:i=new Float64Array(r),o=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==h.RATIONAL&&t!==h.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tn||o&&o>s)break}}let f=t;if(s){const[e,t]=a.getOrigin(),[r,n]=u.getResolution(a);f=[Math.round((s[0]-e)/r),Math.round((s[1]-t)/n),Math.round((s[2]-e)/r),Math.round((s[3]-t)/n)],f=[Math.min(f[0],f[2]),Math.min(f[1],f[3]),Math.max(f[0],f[2]),Math.max(f[1],f[3])]}return u.readRasters({...e,window:f})}}class xe extends Te{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const r=this.bigTiff?4048:1024;return new Y(await this.source.fetch(e,void 0!==t?t:r),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=await this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),o=i*t+(this.bigTiff?16:6);n.covers(e,o)||(n=await this.getSlice(e,o));const s={};let u=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new Ee(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new W(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof Ee))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=await this.getSlice(e,r);if(t===ke(n,h.ASCII,t.length,e)){const t=ke(n,h.ASCII,r,e).split("\\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>r&&(n=await this.getSlice(e,i));const o=ke(n,h.ASCII,i,e);this.ghostValues={},o.split("\\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const r=await e.fetch(0,1024),n=new V(r),i=n.getUint16(0,0);let o;if(18761===i)o=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");o=!1}const s=n.getUint16(2,o);let a;if(42===s)a=!1;else{if(43!==s)throw new TypeError("Invalid magic number.");a=!0;if(8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const u=a?n.getUint64(8,o):n.getUint32(4,o);return new xe(e,o,a,u,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=xe;class Ae extends Te{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,r=0;for(let n=0;ne.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function Oe(e,t={}){return xe.fromSource(oe(e,t))}async function Re(e){return xe.fromSource(function(e){return{fetch:async(t,r)=>e.slice(t,t+r)}}(e))}async function Ie(e){return xe.fromSource(se(e))}async function Pe(e){return xe.fromSource((t=e,{fetch:async(e,r)=>new Promise((n,i)=>{const o=t.slice(e,e+r),s=new FileReader;s.onload=e=>n(e.target.result),s.onerror=i,s.readAsArrayBuffer(o)})}));var t}async function Me(e,t=[],r={}){const n=await xe.fromSource(oe(e,r)),i=await Promise.all(t.map(e=>xe.fromSource(oe(e,r))));return new Ae(n,i)}async function De(e,t){return be(e,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(8);Object(n.b)().blob;const i=Object(n.b)().default},,,function(e,t,r){"use strict";var n=r(13),i=r(39);var o=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let r,s=0;return new n.a(n=>{r||(r=e.subscribe(t));const i=t.subscribe(n);return s++,()=>{s--,i.unsubscribe(),0===s&&(o(r),r=void 0)}})}}]);',null)}},function(e,t,r){"use strict";var n=window.URL||window.webkitURL;e.exports=function(e,t){try{try{var r;try{(r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder)).append(e),r=r.getBlob()}catch(t){r=new Blob([e])}return new Worker(n.createObjectURL(r))}catch(t){return new Worker("data:application/javascript,"+encodeURIComponent(e))}}catch(e){if(!t)throw Error("Inline worker is not supported");return new Worker(t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){return new Promise((function(r,c){try{t&&console.log("starting parseData with",e),t&&console.log("\tGeoTIFF:","undefined"==typeof GeoTIFF?"undefined":i(GeoTIFF));var l={},f=void 0,h=void 0;if("object"===e.rasterType)l.values=e.data,l.height=f=e.metadata.height||l.values[0].length,l.width=h=e.metadata.width||l.values[0][0].length,l.pixelHeight=e.metadata.pixelHeight,l.pixelWidth=e.metadata.pixelWidth,l.projection=e.metadata.projection,l.xmin=e.metadata.xmin,l.ymax=e.metadata.ymax,l.noDataValue=e.metadata.noDataValue,l.numberOfRasters=l.values.length,l.xmax=l.xmin+l.width*l.pixelWidth,l.ymin=l.ymax-l.height*l.pixelHeight,l._data=null,r(u(l));else if("geotiff"===e.rasterType){l._data=e.data;var d=o.fromArrayBuffer;"url"===e.sourceType&&(d=o.fromUrl),t&&console.log("data.rasterType is geotiff"),r(d(e.data).then((function(r){return t&&console.log("geotiff:",r),r.getImage().then((function(r){try{t&&console.log("image:",r);var i=r.fileDirectory,o=r.getGeoKeys(),d=o.GeographicTypeGeoKey,p=o.ProjectedCSTypeGeoKey;l.projection=p||d,t&&console.log("projection:",l.projection),l.height=f=r.getHeight(),t&&console.log("result.height:",l.height),l.width=h=r.getWidth(),t&&console.log("result.width:",l.width);var g=r.getResolution(),m=n(g,2),y=m[0],b=m[1];l.pixelHeight=Math.abs(b),l.pixelWidth=Math.abs(y);var w=r.getOrigin(),v=n(w,2),_=v[0],k=v[1];return l.xmin=_,l.xmax=l.xmin+h*l.pixelWidth,l.ymax=k,l.ymin=l.ymax-f*l.pixelHeight,l.noDataValue=i.GDAL_NODATA?parseFloat(i.GDAL_NODATA):null,l.numberOfRasters=i.SamplesPerPixel,i.ColorMap&&(l.palette=(0,s.getPalette)(r)),"url"!==e.sourceType?r.readRasters().then((function(e){return l.values=e.map((function(e){return(0,a.unflatten)(e,{height:f,width:h})})),u(l)})):l}catch(e){c(e),console.error("[georaster] error parsing georaster:",e)}}))})))}}catch(e){c(e),console.error("[georaster] error parsing georaster:",e)}}))};var o=r(37),s=r(83),a=r(36);function u(e,t){var r=e.noDataValue,n=e.height,i=e.width;return new Promise((function(o,s){e.maxs=[],e.mins=[],e.ranges=[];for(var a=void 0,u=void 0,c=0;ca)&&(a=p))}e.maxs.push(a),e.mins.push(u),e.ranges.push(a-u)}o(e)}))}},function(e,t,r){(function(t){var n=r(20).Transform,i=r(4);function o(e){n.call(this,e),this._destroyed=!1}function s(e,t,r){r(null,e)}function a(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=s),"function"!=typeof n&&(n=null),e(t,r,n)}}i(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var r=this;t.nextTick((function(){e&&r.emit("error",e),r.emit("close")}))}},e.exports=a((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),e.exports.ctor=a((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),o.call(this,this.options)}return i(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),e.exports.obj=a((function(e,t,r){var n=new o(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))}).call(this,r(3))},function(e,t){},function(e,t,r){"use strict";var n=r(21).Buffer,i=r(54);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=o,i=a,t.copy(r,i),a+=s.data.length,s=s.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(56),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(1))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,i,o,s,a,u=1,c={},l=!1,f=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,l(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function d(e,t){var r,n;return e?(n=new c,e.state=n,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function y(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=o(r.check,L,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,R=8+(15&(g>>>=4)),0===r.wbits)r.wbits=R;else if(R>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&g,L[1]=g>>>8&255,r.check=o(r.check,L,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===d)break e;d--,g+=c[f++]<>>8&255,L[2]=g>>>16&255,L[3]=g>>>24&255,r.check=o(r.check,L,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===d)break e;d--,g+=c[f++]<>8),512&r.flags&&(L[0]=255&g,L[1]=g>>>8&255,r.check=o(r.check,L,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===d)break e;d--,g+=c[f++]<>>8&255,r.check=o(r.check,L,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>d&&(_=d),_&&(r.head&&(R=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,c,f,_,R)),512&r.flags&&(r.check=o(r.check,c,_,f)),d-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;_=0;do{R=c[f+_++],r.head&&R&&r.length<65536&&(r.head.name+=String.fromCharCode(R))}while(R&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===d)break e;d--,g+=c[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===d)break e;d--,g+=c[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(y(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===d)break e;d--,g+=c[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>d&&(_=d),_>p&&(_=p),0===_)break e;n.arraySet(l,c,f,_,h),d-=_,f+=_,p-=_,h+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===d)break e;d--,g+=c[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},I=a(0,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,I){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,C=65535&D,!((T=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>>=T,m-=T,r.lens[r.have++]=C;else{if(16===C){for(M=T+2;m>>=T,m-=T,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}R=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===C){for(M=T+3;m>>=T)),g>>>=3,m-=3}else{for(M=T+7;m>>=T)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=R}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,P={bits:r.lenbits},I=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,I){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},I=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,I){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,r.hold=g,r.bits=m,s(e,v),h=e.next_out,l=e.output,p=e.avail_out,f=e.next_in,c=e.input,d=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;x=(D=r.lencode[g&(1<>>16&255,C=65535&D,!((T=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>E)])>>>16&255,C=65535&D,!(E+(T=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>>=E,m-=E,r.back+=E}if(g>>>=T,m-=T,r.back+=T,r.length=C,0===x){r.mode=26;break}if(32&x){r.back=-1,r.mode=12;break}if(64&x){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&x,r.mode=22;case 22:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;x=(D=r.distcode[g&(1<>>16&255,C=65535&D,!((T=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>E)])>>>16&255,C=65535&D,!(E+(T=D>>>24)<=m);){if(0===d)break e;d--,g+=c[f++]<>>=E,m-=E,r.back+=E}if(g>>>=T,m-=T,r.back+=T,64&x){e.msg="invalid distance code",r.mode=30;break}r.offset=C,r.extra=15&x,r.mode=24;case 24:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=v-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,k=r.wsize-_):k=r.wnext-_,_>r.length&&(_=r.length),S=r.window}else S=l,k=h-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{l[h++]=S[k++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;l[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===d)break e;d--,g|=c[f++]<>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a>>8^o[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,s,a,u,c,l,f,h,d,p,g,m,y,b,w,v,_,k,S,T,x,C;r=e.state,n=e.next_in,x=e.input,i=n+(e.avail_in-5),o=e.next_out,C=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),u=r.dmax,c=r.wsize,l=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,m=r.distcode,y=(1<>>=v=w>>>24,p-=v,0===(v=w>>>16&255))C[o++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=g[(65535&w)+(d&(1<>>=v,p-=v),p<15&&(d+=x[n++]<>>=v=w>>>24,p-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=m[(65535&w)+(d&(1<u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=v,p-=v,k>(v=o-s)){if((v=k-v)>l&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,T=h,0===f){if(S+=c-v,v<_){_-=v;do{C[o++]=h[S++]}while(--v);S=o-k,T=C}}else if(f2;)C[o++]=T[S++],C[o++]=T[S++],C[o++]=T[S++],_-=3;_&&(C[o++]=T[S++],_>1&&(C[o++]=T[S++]))}else{S=o-k;do{C[o++]=C[S++],C[o++]=C[S++],C[o++]=C[S++],_-=3}while(_>2);_&&(C[o++]=C[S++],_>1&&(C[o++]=C[S++]))}break}}break}}while(n>3,d&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===L[C];C--);if(E>C&&(E=C),0===C)return c[l++]=20971520,c[l++]=20971520,h.bits=1,0;for(x=1;x0&&(0===e||1!==C))return-1;for(U[1]=0,S=1;S<15;S++)U[S+1]=U[S]+L[S];for(T=0;T852||2===e&&I>592)return 1;for(;;){w=S-O,f[T]b?(v=j[F+f[T]],_=M[D+f[T]]):(v=96,_=0),d=1<>O)+(p-=d)]=w<<24|v<<16|_|0}while(0!==p);for(d=1<>=1;if(0!==d?(P&=d-1,P+=d):P=0,T++,0==--L[S]){if(S===C)break;S=t[r+f[T]]}if(S>E&&(P&m)!==g){for(0===O&&(O=E),y+=x,R=1<<(A=S-O);A+O852||2===e&&I>592)return 1;c[g=P&m]=E<<24|A<<16|y-l|0}}return 0!==P&&(c[y+P]=S-O<<24|64<<16|0),h.bits=E,0}},function(e,t,r){"use strict";var n=r(16),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function u(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return u(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)c[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return u(c,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){e.exports=r.p+"0.georaster.browser.bundle.min.worker.js"},function(e,t,r){e.exports=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=n)return s(e,t,n,"minute");if(t>=r)return s(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){(function(t,n,i){var o=r(34),s=r(4),a=r(35),u=r(20),c=r(74),l=a.IncomingMessage,f=a.readyStates;var h=e.exports=function(e){var r,n=this;u.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}(r,i),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};s(h,u.Writable),h.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},h.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},h.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},h.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,s=e._headers,a=null;"GET"!==r.method&&"HEAD"!==r.method&&(a=o.arraybuffer?c(t.concat(e._body)):o.blobConstructor?new n.Blob(e._body.map((function(e){return c(e)})),{type:(s["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(s).forEach((function(e){var t=s[e].name,r=s[e].value;Array.isArray(r)?r.forEach((function(e){u.push([t,e])})):u.push([t,r])})),"fetch"===e._mode){var l=null;if(o.abortController){var h=new AbortController;l=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:u,body:a||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:l}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var d=e._xhr=new n.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(d.timeout=r.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),u.forEach((function(e){d.setRequestHeader(e[0],e[1])})),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(a)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}}}},h.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},h.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},h.prototype._write=function(e,t,r){this._body.push(e),r()},h.prototype.abort=h.prototype.destroy=function(){this._destroyed=!0,n.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},h.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),u.Writable.prototype.end.call(this,e,t,r)},h.prototype.flushHeaders=function(){},h.prototype.setTimeout=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(2).Buffer,r(1),r(3))},function(e,t,r){var n=r(2).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,i=0;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function g(e){throw new RangeError(h[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(f,".")).split("."),t).join(".")}function b(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join("")}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function k(e){var t,r,n,i,o,s,a,c,l,f,h,p=[],m=e.length,y=0,b=128,v=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&g("not-basic"),p.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=m&&g("invalid-input"),((c=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||c>d((u-y)/s))&&g("overflow"),y+=c*s,!(c<(l=a<=v?1:a>=v+26?26:a-v));a+=36)s>d(u/(f=36-l))&&g("overflow"),s*=f;v=_(y-o,t=p.length+1,0==o),d(y/t)>u-b&&g("overflow"),b+=d(y/t),y%=t,p.splice(y++,0,b)}return w(p)}function S(e){var t,r,n,i,o,s,a,c,l,f,h,m,y,w,k,S=[];for(m=(e=b(e)).length,t=128,r=0,o=72,s=0;s=t&&hd((u-r)/(y=n+1))&&g("overflow"),r+=(a-t)*y,t=a,s=0;su&&g("overflow"),h==t){for(c=r,l=36;!(c<(f=l<=o?1:l>=o+26?26:l-o));l+=36)k=c-f,w=36-f,S.push(p(v(f+k%w,0))),c=d(k/w);S.push(p(v(c,0))),o=_(r,y,n==i),r=0,++n}++r,++t}return S.join("")}a={version:"1.4.1",ucs2:{decode:b,encode:w},decode:k,encode:S,toASCII:function(e){return y(e,(function(e){return l.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return y(e,(function(e){return c.test(e)?k(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return a}.call(t,r,t,e))||(e.exports=i)}()}).call(this,r(78)(e),r(1))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";t.decode=t.parse=r(81),t.encode=t.stringify=r(82)},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l=0?(f=g.substr(0,m),h=g.substr(m+1)):(f=g,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?o(s(e),(function(s){var a=encodeURIComponent(n(s))+r;return i(e[s])?o(e[s],(function(e){return a+encodeURIComponent(n(e))})).join(t):a+encodeURIComponent(n(e[s]))})).join(t):a?encodeURIComponent(n(a))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n{t&&console.log("starting getPalette with image",e);const{fileDirectory:r}=e,{BitsPerSample:n,ColorMap:i,ImageLength:o,ImageWidth:s,PhotometricInterpretation:a,SampleFormat:u,SamplesPerPixel:c}=r;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can't make a palette.");const l=Math.pow(2,n);t&&console.log("[geotiff-palette]: count:",l);const f=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",f),f!==l)throw new Error("[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster");const h=f,d=h+f,p=[];for(let e=0;e{try{return e[f][h]}catch(e){console.error(e)}});if(d.every(e=>void 0!==e&&e!==n)){const n=e*(4*t)+4*r;if(1===a){const e=Math.round(d[0]),t=Math.round((e-i[0])/o[0]*255);l[n]=t,l[n+1]=t,l[n+2]=t,l[n+3]=255}else if(3===a)try{const[e,t,r]=d;l[n]=e,l[n+1]=t,l[n+2]=r,l[n+3]=255}catch(e){console.error(e)}else if(4===a)try{const[e,t,r,i]=d;l[n]=e,l[n+1]=t,l[n+2]=r,l[n+3]=i}catch(e){console.error(e)}}}return new ImageData(l,t,r)}}(e,i,n);return o.putImageData(s,0,0),r}}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(8);Object(n.b)().blob;const i=Object(n.b)().default},,,function(e,t,r){"use strict";var n=r(13),i=r(40);var o=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let r,s=0;return new n.a(n=>{r||(r=e.subscribe(t));const i=t.subscribe(n);return s++,()=>{s--,i.unsubscribe(),0===s&&(o(r),r=void 0)}})}}])})); \ No newline at end of file +t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,c=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+e[t+f],f+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+e[t+f],f+=h,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=l}return(d?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,l=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=c?(a=0,s=c):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[r+d]=255&s,d+=p,s/=256,l-=8);e[r+d-p]|=128*g}},function(e,t){var r="undefined"!=typeof self?self:this,n=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,s="ArrayBuffer"in e;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function g(e){var t=new FileReader,r=p(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=p(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function _(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},y.call(w.prototype),y.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:0,statusText:""});return e.type="error",e};var S=[301,302,303,307,308];_.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function k(e,r){return new Promise((function(n,o){var s=new w(e,r);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();t.append(n,i)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;n(new _(i,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&i&&(a.responseType="blob"),s.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),s.signal&&(s.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",u)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}k.polyfill=!0,e.fetch||(e.fetch=k,e.Headers=h,e.Request=w,e.Response=_),t.Headers=h,t.Request=w,t.Response=_,t.fetch=k,Object.defineProperty(t,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=n;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},function(e,t,r){"use strict";e.exports=function(){return r(59)('!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=53)}([function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,l=[],c=!1,f=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&d())}function d(){if(!c){var e=a(h);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f1)for(var r=1;r\n * @license MIT\n */\nvar n=r(56),i=r(57),o=r(31);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(e).length;default:if(n)return N(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return x(this,t,r);case"ascii":return C(this,t,r);case"latin1":case"binary":return R(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){for(var f=!0,h=0;hi&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function T(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function x(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=r)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(o,s),l=this.slice(n,i),c=e.slice(t,r),f=0;fi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function C(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;in)&&(r=n);for(var i="",o=t;or)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError(\'"buffer" argument must be a Buffer instance\');if(t>i||te.length)throw new RangeError("Index out of range")}function M(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function D(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(e,t,r,n,o){return o||D(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function U(e,t,r,n,o){return o||D(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(1))},function(e,t,r){(function(n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(77)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(0))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e};function o(e){return i.deserialize(e)}function s(e){return i.serialize(e)}},function(e,t,r){"use strict";var n={};function i(e,t,r){r||(r=Error);var i=function(e){var r,n;function i(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}return n=e,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return\'The value "\'+t+\'" is invalid for option "\'+e+\'"\'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,i,s,a,u;if("string"==typeof t&&function(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be",s=e,a=" argument",(void 0===u||u>s.length)&&(u=s.length),s.substring(u-a.length,u)===a)i="The ".concat(e," ").concat(n," ").concat(o(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";i=\'The "\'.concat(e,\'" \').concat(l," ").concat(n," ").concat(o(t,"type"))}return i+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var i=r(29),o=r(34);r(2)(l,i);for(var s=n(o.prototype),a=0;a/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.test(e);function a(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let u;function l(){return u||(u=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn\'t support workers in workers.")}};class e extends Worker{constructor(e,t){var r,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!s(e)&&i().match(/^file:\\/\\//i)&&(e=new URL(e,i().replace(/\\/[^\\/]+$/,"/")),(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=a(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&s(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=a(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,r){const n=new window.Blob([e],{type:"text/javascript"});return new t(n,r)}}return{blob:t,default:e}}()),u}},function(e,t,r){"use strict";var n,i;r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(n||(n={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(4).Buffer.isBuffer},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(3);function i(e){throw Error(e)}const o={errors:e=>e[n.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[n.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[n.c]()}},function(e,t){},function(e,t,r){"use strict";const n=()=>"function"==typeof Symbol,i=e=>n()&&Boolean(Symbol[e]),o=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const s=o("iterator"),a=o("observable"),u=o("species");function l(e,t){const r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function c(e){let t=e.constructor;return void 0!==t&&(t=t[u],null===t&&(t=void 0)),void 0!==t?t:w}function f(e){f.log?f.log(e):setTimeout(()=>{throw e},0)}function h(e){Promise.resolve().then(()=>{try{e()}catch(e){f(e)}})}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=l(t,"unsubscribe");e&&e.call(t)}}catch(e){f(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";const n=e._observer;try{const i=n?l(n,t):void 0;switch(t){case"next":i&&i.call(n,r);break;case"error":if(p(e),!i)throw r;i.call(n,r);break;case"complete":p(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:r})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void h(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const r of t)if(g(e,r.type,r.value),"closed"===e._state)break}}(e))):void g(e,t,r)}class b{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const r=new y(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class y{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){m(this._subscription,"next",e)}error(e){m(this._subscription,"error",e)}complete(){m(this._subscription,"complete")}}class w{constructor(e){if(!(this instanceof w))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,r){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:r}),new b(e,this._subscriber)}pipe(e,...t){let r=this;for(const n of[e,...t])r=n(r);return r}tap(e,t,r){const n="object"!=typeof e||null===e?{next:e,error:t,complete:r}:e;return new w(e=>this.subscribe({next(t){n.next&&n.next(t),e.next(t)},error(t){n.error&&n.error(t),e.error(t)},complete(){n.complete&&n.complete(),e.complete()},start(e){n.start&&n.start(e)}}))}forEach(e){return new Promise((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function n(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,n)}catch(e){r(e),i.unsubscribe()}},error(e){r(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(c(this))(t=>this.subscribe({next(r){let n=r;try{n=e(r)}catch(e){return t.error(e)}t.next(n)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(c(this))(t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const r=c(this),n=arguments.length>1;let i=!1,o=t;return new r(t=>this.subscribe({next(r){const s=!i;if(i=!0,!s||n)try{o=e(o,r)}catch(e){return t.error(e)}else o=r},error(e){t.error(e)},complete(){if(!i&&!n)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(o),t.complete()}}))}concat(...e){const t=c(this);return new t(r=>{let n,i=0;return function o(s){n=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){i===e.length?(n=void 0,r.complete()):o(t.from(e[i++]))}})}(this),()=>{n&&(n.unsubscribe(),n=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=c(this);return new t(r=>{const n=[],i=this.subscribe({next(i){let s;if(e)try{s=e(i)}catch(e){return r.error(e)}else s=i;const a=t.from(s).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){const e=n.indexOf(a);e>=0&&n.splice(e,1),o()}});n.push(a)},error(e){r.error(e)},complete(){o()}});function o(){i.closed&&0===n.length&&r.complete()}return()=>{n.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,a)](){return this}static from(e){const t="function"==typeof this?this:w;if(null==e)throw new TypeError(e+" is not an object");const r=l(e,a);if(r){const n=r.call(e);if(Object(n)!==n)throw new TypeError(n+" is not an object");return function(e){return e instanceof w}(n)&&n.constructor===t?n:new t(e=>n.subscribe(e))}if(i("iterator")){const r=l(e,s);if(r)return new t(t=>{h(()=>{if(!t.closed){for(const n of r.call(e))if(t.next(n),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:w)(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})})}static get[u](){return this}}n()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:a,hostReportError:f},configurable:!0});t.a=w},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(n||(n={}))},function(e,t,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}b(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&b(e,"error",t,r)}(e,i,{once:!0})}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError(\'The "listener" argument must be of type Function. Received type \'+typeof e)}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var i,o,s,a;if(l(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=c(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return e}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var l=u.length,c=m(u,l);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){"use strict";var n=r(61).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o",\'"\',"`"," ","\\r","\\n","\\t"]),c=["\'"].concat(l),f=["%","/","?",";","#"].concat(c),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(92);function w(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter \'url\' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?M+="x":M+=I[L];if(!M.match(d)){var j=O.slice(0,C),U=O.slice(C+1),F=I.match(p);F&&(j.push(F[1]),U.unshift(F[2])),U.length&&(w="/"+U.join(".")+w),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=n.toASCII(this.hostname));var B=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+B,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==w[0]&&(w="/"+w))}if(!g[S])for(C=0,P=c.length;C0)&&r.host.split("@"))&&(r.auth=A.shift(),r.host=r.hostname=A.shift());return r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var T=k.slice(-1)[0],x=(r.host||e.host||k.length>1)&&("."===T||".."===T)||""===T,C=0,R=k.length;R>=0;R--)"."===(T=k[R])?k.splice(R,1):".."===T?(k.splice(R,1),C++):C&&(k.splice(R,1),C--);if(!_&&!S)for(;C--;C)k.unshift("..");!_||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),x&&"/"!==k.join("/").substr(-1)&&k.push("");var A,O=""===k[0]||k[0]&&"/"===k[0].charAt(0);E&&(r.hostname=r.host=O?"":k.length?k.shift():"",(A=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=A.shift(),r.host=r.hostname=A.shift()));return(_=_||r.host&&k.length)&&!O&&k.unshift(""),k.length?r.pathname=k.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){(function(e){var n=r(79),i=r(39),o=r(87),s=r(88),a=r(21),u=t;u.request=function(t,r){t="string"==typeof t?a.parse(t):o(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||i,u=t.hostname||t.host,l=t.port,c=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?s+"//"+u:"")+(l?":"+l:"")+c,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new n(t);return r&&f.on("response",r),f},u.get=function(e,t){var r=u.request(e,t);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=s,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(1))},,function(e,t,r){"use strict";var n=r(7).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;ie.type===l.a.internalError).map(e=>e.error);return Object.assign(e,{[u.a]:i,[u.b]:r,[u.c]:n,[u.e]:t})}function b(e,t){return f(this,void 0,void 0,(function*(){d("Initializing new thread");const r=t&&t.timeout?t.timeout:g,n=(yield function(e,t,r){return f(this,void 0,void 0,(function*(){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>i(Error(r)),t)}),o=yield Promise.race([e,i]);return clearTimeout(n),o}))}(function(e){return new Promise((t,r)=>{const n=i=>{var o;h("Message from worker before finishing initialization:",i.data),(o=i.data)&&"init"===o.type?(e.removeEventListener("message",n),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",n),r(Object(s.a)(i.data.error)))};e.addEventListener("message",n)})}(e),r,`Timeout: Did not receive an init message from worker after ${r}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:u}=function(e){const[t,r]=Object(a.a)();return{terminate:()=>f(this,void 0,void 0,(function*(){p("Terminating worker"),yield e.terminate(),r()})),termination:t}}(e),b=function(e,t){return new o.a(r=>{const n=e=>{const t={type:l.a.message,data:e.data};r.next(t)},i=e=>{p("Unhandled promise rejection event in thread:",e);const t={type:l.a.internalError,error:Error(e.reason)};r.next(t)};e.addEventListener("message",n),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:l.a.termination};e.removeEventListener("message",n),e.removeEventListener("unhandledrejection",i),r.next(t),r.complete()})})}(e,i);if("function"===n.type){return m(Object(c.a)(e),e,b,u)}if("module"===n.type){return m(Object(c.b)(e,n.methods),e,b,u)}{const e=n.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}}).call(this,r(0))},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n=r(5),i=r.n(n),o=r(49),s=r(101),a=r(15);function u(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}}))}var l,c=r(10);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(l||(l={}));var f=r(13),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new o.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const r="number"==typeof t?{size:t}:t||{},{size:n=c.a}=r;this.debug=i()("threads:pool:"+(r.name||String(d++)).replace(/\\W/g," ").trim().replace(/\\s+/g,"-")),this.options=r,this.workers=function(e,t){return function(e){const t=[];for(let r=0;r({init:e(),runningTasks:[]}))}(e,n),this.eventObservable=Object(s.a)(a.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:l.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthh(this,void 0,void 0,(function*(){var n;yield(n=0,new Promise(e=>setTimeout(e,n)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==r),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(r)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:l.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,r)=>{const n=this.events().subscribe(i=>{i.type===l.taskCompleted&&i.taskID===e?(n.unsubscribe(),t(i.returnValue)):i.type===l.taskFailed&&i.taskID===e?(n.unsubscribe(),r(i.error)):i.type===l.terminated&&(n.unsubscribe(),r(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return h(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,r)=>[...e,...t(r)],[]);var e,t},r=[],n=this.eventObservable.subscribe(e=>{e.type===l.taskFailed&&r.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield u(t()),r):(yield new Promise((e,t)=>{const r=this.eventObservable.subscribe({next(t){t.type===l.taskQueueDrained&&(r.unsubscribe(),e(void 0))},error:t})}),yield u(t()),n.unsubscribe(),r)}))}completed(e=!1){return h(this,void 0,void 0,(function*(){const t=this.settled(e),r=new Promise((e,r)=>{const n=this.eventObservable.subscribe({next(i){i.type===l.taskQueueDrained?(n.unsubscribe(),e(t)):i.type===l.taskFailed&&(n.unsubscribe(),r(i.error))},error:r})}),n=yield Promise.race([t,r]);if(n.length>0)throw n[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const r=this.nextTaskID++,n=this.taskCompletion(r);n.catch(e=>{this.debug(`Task #${r} errored:`,e)});const i={id:r,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:l.taskCanceled,taskID:i.id}))},then:n.then.bind(n)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won\'t finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:l.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return h(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:l.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>h(this,void 0,void 0,(function*(){return f.a.terminate(yield e.init)}))))}))}}function g(e,t){return new p(e,t)}p.EventType=l,g.EventType=l;const m=g},function(e,t,r){"use strict";r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return w}));var n=r(5),i=r.n(n),o=r(15),s=r(101),a=r(6);const u=()=>{},l=e=>e,c=e=>Promise.resolve().then(e);function f(e){throw e}class h extends o.a{constructor(e){super(t=>{const r=this,n=Object.assign(Object.assign({},t),{complete(){t.complete(),r.onCompletion()},error(e){t.error(e),r.onError(e)},next(e){t.next(e),r.onNext(e)}});try{return this.initHasRun=!0,e(n)}catch(e){n.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)c(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)c(()=>e(this.firstValue))}then(e,t){const r=e||l,n=t||f;let i=!1;return new Promise((e,t)=>{const o=r=>{if(!i){i=!0;try{e(n(r))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:o}),"fulfilled"===this.state?e(r(this.firstValue)):"rejected"===this.state?(i=!0,e(n(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(r(t))}catch(e){o(e)}}),void this.rejectionCallbacks.push(o))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||u;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new h(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var d=r(51),p=r(11);const g=i()("threads:master:messages");let m=1;function b(e,t){return new o.a(r=>{let n;const i=o=>{var s;if(g("Message from worker:",o.data),o.data&&o.data.uid===t)if((s=o.data)&&s.type===p.b.running)n=o.data.resultType;else if((e=>e&&e.type===p.b.result)(o.data))"promise"===n?(void 0!==o.data.payload&&r.next(Object(a.a)(o.data.payload)),r.complete(),e.removeEventListener("message",i)):(o.data.payload&&r.next(Object(a.a)(o.data.payload)),o.data.complete&&(r.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===p.b.error)(o.data)){const t=Object(a.a)(o.data.error);r.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===n||!n){const r={type:p.a.cancel,uid:t};e.postMessage(r)}e.removeEventListener("message",i)}})}function y(e,t){return(...r)=>{const n=m++,{args:i,transferables:o}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],r=[];for(const n of e)Object(d.a)(n)?(t.push(Object(a.b)(n.send)),r.push(...n.transferables)):t.push(Object(a.b)(n));return{args:t,transferables:0===r.length?r:(n=r,Array.from(new Set(n)))};var n}(r),u={type:p.a.run,uid:n,method:t,args:i};g("Sending command to run function to worker:",u);try{e.postMessage(u,o)}catch(e){return h.from(Promise.reject(e))}return h.from(Object(s.a)(b(e,n)))}}function w(e,t){const r={};for(const n of t)r[n]=y(e,n);return r}},function(e,t,r){"use strict";(function(t,n){var i;e.exports=T,T.ReadableState=E;r(17).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=r(30),a=r(4).Buffer,u=t.Uint8Array||function(){};var l,c=r(58);l=c&&c.debuglog?c.debuglog("stream"):function(){};var f,h,d,p=r(59),g=r(32),m=r(33).getHighWaterMark,b=r(7).codes,y=b.ERR_INVALID_ARG_TYPE,w=b.ERR_STREAM_PUSH_AFTER_EOF,v=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(2)(T,s);var S=g.errorOrDestroy,k=["error","close","destroy","pause","resume"];function E(e,t,n){i=i||r(8),e=e||{},"boolean"!=typeof n&&(n=t instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(18).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function T(e){if(i=i||r(8),!(this instanceof T))return new T(e);var t=this instanceof i;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function x(e,t,r,n,i){l("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,s);else if(i||(o=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof u||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(s,t)),o)S(e,o);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?S(e,new _):C(e,s,t,!0);else if(s.ended)S(e,new w);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?C(e,s,t,!1):P(e,s)):C(e,s,t,!1)}else n||(s.reading=!1,P(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(O,e))}function O(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function P(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function L(e){l("readable nexttick read 0"),e.read(0)}function D(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function U(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function F(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(B,t,e))}function B(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function N(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?F(this):A(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&F(this),null;var n,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?U(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&F(this)),null!==n&&this.emit("data",n),n},T.prototype._read=function(e){S(this,new v("_read()"))},T.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?u:m;function a(t,n){l("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,l("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",a),r.removeListener("end",u),r.removeListener("end",m),r.removeListener("data",h),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("onend"),e.end()}i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,j(e))}}(r);e.on("drain",c);var f=!1;function h(t){l("ondata");var n=e.write(t);l("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==N(i.pipes,e))&&!f&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(t){l("onerror",t),m(),e.removeListener("error",d),0===o(e,"error")&&S(e,t)}function p(){e.removeListener("finish",g),m()}function g(){l("onfinish"),e.removeListener("close",p),m()}function m(){l("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",p),e.once("finish",g),e.emit("pipe",r),i.flowing||(l("pipe resume"),r.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?A(this):i.reading||n.nextTick(L,this))),r},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(M,this),r},T.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(M,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(D,e,t))}(this,e)),e.paused=!1,this},T.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,r){r(new g("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,r){var i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,P(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=f.destroy,T.prototype._undestroy=f.undestroy,T.prototype._destroy=function(e,t){t(e)}}).call(this,r(1),r(0))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(1))},function(e,t,r){"use strict";e.exports=c;var n=r(7).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(8);function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(o.a)(r),t)}async decode(e,t){return new Promise((r,n)=>{this.pool.queue(async i=>{try{const n=await i(e,t);r(n)}catch(e){n(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,r(76))},function(e,t,r){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function i(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var o=void 0!==e.ArrayBuffer,s=o&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"==typeof e}t.arraybuffer=t.fetch||o&&i("arraybuffer"),t.msstream=!t.fetch&&s&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&a(n().overrideMimeType),t.vbArray=a(e.VBArray),r=null}).call(this,r(1))},function(e,t,r){(function(e,n,i){var o=r(38),s=r(2),a=r(40),u=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=t.IncomingMessage=function(t,r,s,u){var l=this;if(a.Readable.call(l),l._mode=s,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",(function(){e.nextTick((function(){l.emit("close")}))})),"fetch"===s){if(l._fetchResponse=r,l.url=r.url,l.statusCode=r.status,l.statusMessage=r.statusText,r.headers.forEach((function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)})),o.writableStream){var c=new WritableStream({write:function(e){return new Promise((function(t,r){l._destroyed?r():l.push(new n(e))?t():l._resumeFetch=t}))},close:function(){i.clearTimeout(u),l._destroyed||l.push(null)},abort:function(e){l._destroyed||l.emit("error",e)}});try{return void r.body.pipeTo(c).catch((function(e){i.clearTimeout(u),l._destroyed||l.emit("error",e)}))}catch(e){}}var f=r.body.getReader();!function e(){f.read().then((function(t){if(!l._destroyed){if(t.done)return i.clearTimeout(u),void l.push(null);l.push(new n(t.value)),e()}})).catch((function(e){i.clearTimeout(u),l._destroyed||l.emit("error",e)}))}()}else{if(l._xhr=t,l._pos=0,l.url=t.responseURL,l.statusCode=t.status,l.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\\r?\\n/).forEach((function(e){var t=e.match(/^([^:]+):\\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===l.headers[r]&&(l.headers[r]=[]),l.headers[r].push(t[2])):void 0!==l.headers[r]?l.headers[r]+=", "+t[2]:l.headers[r]=t[2],l.rawHeaders.push(t[1],t[2])}})),l._charset="x-user-defined",!o.overrideMimeType){var h=l.rawHeaders["mime-type"];if(h){var d=h.match(/;\\s*charset=([^;])(;|$)/);d&&(l._charset=d[1].toLowerCase())}l._charset||(l._charset="utf-8")}}};s(l,a.Readable),l.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{r=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var o=r.substr(e._pos);if("x-user-defined"===e._charset){for(var s=new n(o.length),a=0;ae._pos&&(e.push(new n(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(r)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r(0),r(4).Buffer,r(1))},function(e,t,r){(t=e.exports=r(41)).Stream=t,t.Readable=t,t.Writable=r(44),t.Duplex=r(9),t.Transform=r(45),t.PassThrough=r(85)},function(e,t,r){"use strict";(function(t,n){var i=r(20);e.exports=w;var o,s=r(31);w.ReadableState=y;r(17).EventEmitter;var a=function(e,t){return e.listeners(t).length},u=r(42),l=r(25).Buffer,c=t.Uint8Array||function(){};var f=Object.create(r(12));f.inherits=r(2);var h=r(80),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,g=r(81),m=r(43);f.inherits(w,u);var b=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var n=t instanceof(o=o||r(9));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(18).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function w(e){if(o=o||r(9),!(this instanceof w))return new w(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function v(e,t,r,n,i){var o,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,k(e)}(e,s)):(i||(o=function(e,t){var r;n=t,l.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?_(e,s,t,!1):T(e,s)):_(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(E,e):E(e))}function E(e){d("emit readable"),e.emit("readable"),A(e)}function T(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(x,e,t))}function x(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;eo.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=l.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error(\'"endReadable()" called on non-empty stream\');t.endEmitted||(t.ended=!0,i.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function M(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):k(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e0?O(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:w;function l(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",w),r.removeListener("data",g),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){d("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",f);var h=!1;var p=!1;function g(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==M(o.pipes,e))&&!h&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){d("onerror",t),w(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",y),w()}function y(){d("onfinish"),e.removeListener("close",b),w()}function w(){d("unpipe"),r.unpipe(e)}return r.on("data",g),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",b),e.once("finish",y),e.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?n:o.nextTick;y.WritableState=b;var l=Object.create(r(12));l.inherits=r(2);var c={deprecate:r(35)},f=r(42),h=r(25).Buffer,d=i.Uint8Array||function(){};var p,g=r(43);function m(){}function b(e,t){a=a||r(9),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,l=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),E(e,t))}(e,r,n,t,i);else{var s=S(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?u(v,e,r,s,i):v(e,r,s,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function y(e){if(a=a||r(9),!(p.call(y,this)||this instanceof a))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function w(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function v(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),E(e,t)}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,w(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,f=r.callback;if(w(e,t,!1,t.objectMode?1:l.length,l,c,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),E(e,t)}))}function E(e,t){var r=S(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}l.inherits(y,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===y&&(e&&e._writableState instanceof b)}})):p=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,i=this._writableState,s=!1,a=!i.objectMode&&(n=e,h.isBuffer(n)||n instanceof d);return a&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=m),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var i=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),o.nextTick(n,s),i=!1),i}(this,i,e,r))&&(i.pendingcb++,s=function(e,t,r,n,i,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,r));return t}(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,E(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(0),r(83).setImmediate,r(1))},function(e,t,r){"use strict";e.exports=s;var n=r(9),i=Object.create(r(12));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengtha)&&(a=p))}e.maxs.push(a),e.mins.push(u),e.ranges.push(a-u)}o(e)}))}},function(e,t,r){function n(e,t){"use strict";var r=(t=t||{}).pos||0,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),a="/".charCodeAt(0),u="!".charCodeAt(0),l="\'".charCodeAt(0),c=\'"\'.charCodeAt(0);function f(){for(var t=[];e[r];)if(e.charCodeAt(r)==i){if(e.charCodeAt(r+1)===a)return(r=e.indexOf(">",r))+1&&(r+=1),t;if(e.charCodeAt(r+1)===u){if(e.charCodeAt(r+2)==s){for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length)}else for(r+=2;e.charCodeAt(r)!==o&&e[r];)r++;r++;continue}var n=g();t.push(n)}else{var l=h();l.trim().length>0&&t.push(l),r++}return t}function h(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}function d(){for(var t=r;-1==="\\n\\t>/= ".indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var p=t.noChildNodes||["img","br","input","meta","link"];function g(){r++;const t=d(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var s=e.charCodeAt(r);if(s>64&&s<91||s>96&&s<123){for(var u=d(),h=e.charCodeAt(r);h&&h!==l&&h!==c&&!(h>64&&h<91||h>96&&h<123)&&h!==o;)r++,h=e.charCodeAt(r);if(h===l||h===c){var g=m();if(-1===r)return{tagName:t,attributes:n,children:i}}else g=null,r--;n[u]=g}r++}if(e.charCodeAt(r-1)!==a)if("script"==t){var b=r+1;r=e.indexOf("<\\/script>",r),i=[e.slice(b,r-1)],r+=9}else if("style"==t){b=r+1;r=e.indexOf("",r),i=[e.slice(b,r-1)],r+=8}else-1==p.indexOf(t)&&(r++,i=f());else r++;return{tagName:t,attributes:n,children:i}}function m(){var t=e[r],n=++r;return r=e.indexOf(t,n),e.slice(n,r)}var b,y=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(y=[];-1!==(b=void 0,b=new RegExp("\\\\s"+t.attrName+"\\\\s*=[\'\\"]"+t.attrValue+"[\'\\"]").exec(e),r=b?b.index:-1);)-1!==(r=e.lastIndexOf("<",r))&&y.push(g()),e=e.substr(r),r=0}else y=t.parseNode?g():f();return t.filter&&(y=n.filter(y,t.filter)),t.setPos&&(y.pos=r),y}n.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=n.simplify(e.children||[]);t[e.tagName].push(r),e.attributes&&(r._attributes=e.attributes)}})),t)1==t[r].length&&(t[r]=t[r][0]);return t},n.filter=function(e,t){var r=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&r.push(e),e.children){var i=n.filter(e.children,t);r=r.concat(i)}})),r},n.stringify=function(e){var t="";function r(e){if(e)for(var r=0;r",r(e.children),t+=""}return r(e),t},n.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+n.toContentString(e)).trim()})),t}return"object"==typeof e?n.toContentString(e.children):" "+e},n.getElementById=function(e,t,r){var i=n(e,{attrValue:t});return r?n.simplify(i):i[0]},n.getElementsByClassName=function(e,t,r){const i=n(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return r?n.simplify(i):i},n.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=r(14);e=i.createReadStream(e,{start:t}),t=0}var o=t,s="";return e.on("data",(function(t){s+=t;for(var r=0;;){if(!(o=s.indexOf("<",o)+1))return void(o=r);if("/"!==s[o+1]){var i=n(s,{pos:o-1,parseNode:!0,setPos:!0});if((o=i.pos)>s.length-1||oo.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,u,l,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(h.output,h.next_out),l=h.next_out-u,f=o.buf2string(h.output,u),h.next_out=l,h.avail_out=d-l,l&&i.arraySet(h.output,h.output,u,l,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},function(e,t,r){"use strict";var n=r(15);class i extends n.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));const n=()=>{};function i(){let e,t=!1,r=n;return[new Promise(n=>{t?n(e):r=n}),n=>{t=!0,e=n,r(e)}]}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(3);function i(e){return e&&"object"==typeof e&&e[n.d]}},function(e,t,r){var n=r(22),i=r(21),o=e.exports;for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);function a(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error(\'Protocol "\'+e.protocol+\'" not supported. Expected "https:"\');return e}o.request=function(e,t){return e=a(e),n.request.call(this,e,t)},o.get=function(e,t){return e=a(e),n.get.call(this,e,t)}},function(e,t,r){"use strict";r.r(t);var n=r(46),i=r.n(n);self;onmessage=e=>{const t=e.data;i()(t).then(e=>{e._data instanceof ArrayBuffer?postMessage(e,[e._data]):postMessage(e),close()})}},function(e,t,r){(function(t){var n=r(55).Transform,i=r(2);function o(e){n.call(this,e),this._destroyed=!1}function s(e,t,r){r(null,e)}function a(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=s),"function"!=typeof n&&(n=null),e(t,r,n)}}i(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var r=this;t.nextTick((function(){e&&r.emit("error",e),r.emit("close")}))}},e.exports=a((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),e.exports.ctor=a((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),o.call(this,this.options)}return i(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),e.exports.obj=a((function(e,t,r){var n=new o(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))}).call(this,r(0))},function(e,t,r){(t=e.exports=r(29)).Stream=t,t.Readable=t,t.Writable=r(34),t.Duplex=r(8),t.Transform=r(36),t.PassThrough=r(64),t.finished=r(24),t.pipeline=r(65)},function(e,t,r){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=l(e),s=n[0],a=n[1],u=new o(function(e,t,r){return 3*(t+r)/4-r}(0,s,a)),c=0,f=a>0?s-4:s;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===a&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[c++]=255&t);1===a&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=0,a=r-i;sa?a:s+16383));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var i,o,s=[],a=t;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){\n/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\nt.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,c=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+e[t+f],f+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+e[t+f],f+=h,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=l}return(d?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,l=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=c?(a=0,s=c):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<0;e[r+d]=255&s,d+=p,s/=256,l-=8);e[r+d-p]|=128*g}},function(e,t){},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,i=s.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=i,n=a,s.prototype.copy.call(t,r,n),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return a(this,function(e){for(var t=1;t */\nvar n=r(4),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(t){var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(24),s=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(e,t){return{value:e,done:t}}function p(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[c]=null,e[s]=null,e[a]=null,t(d(r,!1)))}}function g(e){t.nextTick(p,e)}var m=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[l])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){t.nextTick((function(){e[u]?n(e[u]):r(d(void 0,!0))}))}));var n,i=this[c];if(i)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[l]?r(d(void 0,!0)):t[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[c]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[h].destroy(null,(function(e){e?r(e):t(d(void 0,!0))}))}))})),n),m);e.exports=function(e){var t,r=Object.create(b,(i(t={},h,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[h].read();n?(r[c]=null,r[s]=null,r[a]=null,e(d(n,!1))):(r[s]=e,r[a]=t)},writable:!0}),t));return r[c]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[a];return null!==t&&(r[c]=null,r[s]=null,r[a]=null,t(e)),void(r[u]=e)}var n=r[s];null!==n&&(r[c]=null,r[s]=null,r[a]=null,n(d(void 0,!0))),r[l]=!0})),e.on("readable",g.bind(null,r)),r}}).call(this,r(0))},function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(e,t,r){"use strict";e.exports=i;var n=r(36);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(2)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n;var i=r(7).codes,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;e.on("close",(function(){a=!0})),void 0===n&&(n=r(24)),n(e,{readable:t,writable:i},(function(e){if(e)return o(e);a=!0,o()}));var u=!1;return function(t){if(!a&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new s("pipe"))}}function l(e){e()}function c(e,t){return e.pipe(t)}function f(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r0,(function(e){n||(n=e),e&&s.forEach(l),o||(s.forEach(l),i(n))}))}));return t.reduce(c)}},function(e,t,r){"use strict";var n=r(19),i=r(67),o=r(68),s=r(69),a=r(70);function u(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function c(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,c(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function d(e,t){var r,n;return e?(n=new l,e.state=n,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function b(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function y(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=o(r.check,D,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,O=8+(15&(g>>>=4)),0===r.wbits)r.wbits=O;else if(O>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(D[0]=255&g,D[1]=g>>>8&255,r.check=o(r.check,D,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>8&255,D[2]=g>>>16&255,D[3]=g>>>24&255,r.check=o(r.check,D,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>8),512&r.flags&&(D[0]=255&g,D[1]=g>>>8&255,r.check=o(r.check,D,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>>8&255,r.check=o(r.check,D,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>d&&(_=d),_&&(r.head&&(O=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,l,f,_,O)),512&r.flags&&(r.check=o(r.check,l,_,f)),d-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;_=0;do{O=l[f+_++],r.head&&O&&r.length<65536&&(r.head.name+=String.fromCharCode(O))}while(O&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===d)break e;d--,g+=l[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(b(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===d)break e;d--,g+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>d&&(_=d),_>p&&(_=p),0===_)break e;n.arraySet(c,l,f,_,h),d-=_,f+=_,p-=_,h+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===d)break e;d--,g+=l[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[j[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,I={bits:r.lenbits},P=a(0,r.lens,0,19,r.lencode,0,r.work,I),r.lenbits=I.bits,P){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,x=65535&L,!((E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=E,m-=E,r.lens[r.have++]=x;else{if(16===x){for(M=E+2;m>>=E,m-=E,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}O=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===x){for(M=E+3;m>>=E)),g>>>=3,m-=3}else{for(M=E+7;m>>=E)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=O}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,I={bits:r.lenbits},P=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,I),r.lenbits=I.bits,P){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,I={bits:r.distbits},P=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,I),r.distbits=I.bits,P){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,r.hold=g,r.bits=m,s(e,v),h=e.next_out,c=e.output,p=e.avail_out,f=e.next_in,l=e.input,d=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;T=(L=r.lencode[g&(1<>>16&255,x=65535&L,!((E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>C)])>>>16&255,x=65535&L,!(C+(E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=C,m-=C,r.back+=C}if(g>>>=E,m-=E,r.back+=E,r.length=x,0===T){r.mode=26;break}if(32&T){r.back=-1,r.mode=12;break}if(64&T){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&T,r.mode=22;case 22:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;T=(L=r.distcode[g&(1<>>16&255,x=65535&L,!((E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>C)])>>>16&255,x=65535&L,!(C+(E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=C,m-=C,r.back+=C}if(g>>>=E,m-=E,r.back+=E,64&T){e.msg="invalid distance code",r.mode=30;break}r.offset=x,r.extra=15&T,r.mode=24;case 24:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=v-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,S=r.wsize-_):S=r.wnext-_,_>r.length&&(_=r.length),k=r.window}else k=c,S=h-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{c[h++]=k[S++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;c[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===d)break e;d--,g|=l[f++]<>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a>>8^o[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,s,a,u,l,c,f,h,d,p,g,m,b,y,w,v,_,S,k,E,T,x;r=e.state,n=e.next_in,T=e.input,i=n+(e.avail_in-5),o=e.next_out,x=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),u=r.dmax,l=r.wsize,c=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,m=r.distcode,b=(1<>>=v=w>>>24,p-=v,0===(v=w>>>16&255))x[o++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=g[(65535&w)+(d&(1<>>=v,p-=v),p<15&&(d+=T[n++]<>>=v=w>>>24,p-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=m[(65535&w)+(d&(1<u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=v,p-=v,S>(v=o-s)){if((v=S-v)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(k=0,E=h,0===f){if(k+=l-v,v<_){_-=v;do{x[o++]=h[k++]}while(--v);k=o-S,E=x}}else if(f2;)x[o++]=E[k++],x[o++]=E[k++],x[o++]=E[k++],_-=3;_&&(x[o++]=E[k++],_>1&&(x[o++]=E[k++]))}else{k=o-S;do{x[o++]=x[k++],x[o++]=x[k++],x[o++]=x[k++],_-=3}while(_>2);_&&(x[o++]=x[k++],_>1&&(x[o++]=x[k++]))}break}}break}}while(n>3,d&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===D[x];x--);if(C>x&&(C=x),0===x)return l[c++]=20971520,l[c++]=20971520,h.bits=1,0;for(T=1;T0&&(0===e||1!==x))return-1;for(j[1]=0,k=1;k<15;k++)j[k+1]=j[k]+D[k];for(E=0;E852||2===e&&P>592)return 1;for(;;){w=k-A,f[E]y?(v=U[F+f[E]],_=M[L+f[E]]):(v=96,_=0),d=1<>A)+(p-=d)]=w<<24|v<<16|_|0}while(0!==p);for(d=1<>=1;if(0!==d?(I&=d-1,I+=d):I=0,E++,0==--D[k]){if(k===x)break;k=t[r+f[E]]}if(k>C&&(I&m)!==g){for(0===A&&(A=C),b+=T,O=1<<(R=k-A);R+A852||2===e&&P>592)return 1;l[g=I&m]=C<<24|R<<16|b-c|0}}return 0!==I&&(l[b+I]=k-A<<24|64<<16|0),h.bits=C,0}},function(e,t,r){"use strict";var n=r(19),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function u(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return u(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)l[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return u(l,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){e.exports=r.p+"0.70ec3367f72b89cf4238.worker.worker.js"},function(e,t,r){e.exports=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\\s,]+/),i=n.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=n)return s(e,t,n,"minute");if(t>=r)return s(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){(function(t,n,i){var o=r(38),s=r(2),a=r(39),u=r(40),l=r(86),c=a.IncomingMessage,f=a.readyStates;var h=e.exports=function(e){var r,n=this;u.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}(r,i),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};s(h,u.Writable),h.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},h.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},h.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},h.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,s=e._headers,a=null;"GET"!==r.method&&"HEAD"!==r.method&&(a=o.arraybuffer?l(t.concat(e._body)):o.blobConstructor?new n.Blob(e._body.map((function(e){return l(e)})),{type:(s["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(s).forEach((function(e){var t=s[e].name,r=s[e].value;Array.isArray(r)?r.forEach((function(e){u.push([t,e])})):u.push([t,r])})),"fetch"===e._mode){var c=null;if(o.abortController){var h=new AbortController;c=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:u,body:a||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:c}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var d=e._xhr=new n.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(d.timeout=r.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),u.forEach((function(e){d.setRequestHeader(e[0],e[1])})),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(a)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}}}},h.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},h.prototype._connect=function(){var e=this;e._destroyed||(e._response=new c(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},h.prototype._write=function(e,t,r){this._body.push(e),r()},h.prototype.abort=h.prototype.destroy=function(){this._destroyed=!0,n.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},h.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),u.Writable.prototype.end.call(this,e,t,r)},h.prototype.flushHeaders=function(){},h.prototype.setTimeout=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(4).Buffer,r(1),r(0))},function(e,t){},function(e,t,r){"use strict";var n=r(25).Buffer,i=r(82);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=o,i=a,t.copy(r,i),a+=s.data.length,s=s.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(84),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(1))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,i,o,s,a,u=1,l={},c=!1,f=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function g(e){throw new RangeError(h[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function b(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(f,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join("")}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function S(e){var t,r,n,i,o,s,a,l,c,f,h,p=[],m=e.length,b=0,y=128,v=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&g("not-basic"),p.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=m&&g("invalid-input"),((l=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>d((u-b)/s))&&g("overflow"),b+=l*s,!(l<(c=a<=v?1:a>=v+26?26:a-v));a+=36)s>d(u/(f=36-c))&&g("overflow"),s*=f;v=_(b-o,t=p.length+1,0==o),d(b/t)>u-y&&g("overflow"),y+=d(b/t),b%=t,p.splice(b++,0,y)}return w(p)}function k(e){var t,r,n,i,o,s,a,l,c,f,h,m,b,w,S,k=[];for(m=(e=y(e)).length,t=128,r=0,o=72,s=0;s=t&&hd((u-r)/(b=n+1))&&g("overflow"),r+=(a-t)*b,t=a,s=0;su&&g("overflow"),h==t){for(l=r,c=36;!(l<(f=c<=o?1:c>=o+26?26:c-o));c+=36)S=l-f,w=36-f,k.push(p(v(f+S%w,0))),l=d(S/w);k.push(p(v(l,0))),o=_(r,b,n==i),r=0,++n}++r,++t}return k.join("")}a={version:"1.4.1",ucs2:{decode:y,encode:w},decode:S,encode:k,toASCII:function(e){return b(e,(function(e){return c.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return b(e,(function(e){return l.test(e)?S(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return a}.call(t,r,t,e))||(e.exports=i)}()}).call(this,r(90)(e),r(1))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";t.decode=t.parse=r(93),t.encode=t.stringify=r(94)},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var c=0;c=0?(f=g.substr(0,m),h=g.substr(m+1)):(f=g,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?o(s(e),(function(s){var a=encodeURIComponent(n(s))+r;return i(e[s])?o(e[s],(function(e){return a+encodeURIComponent(n(e))})).join(t):a+encodeURIComponent(n(e[s]))})).join(t):a?encodeURIComponent(n(a))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n{t&&console.log("starting getPalette with image",e);const{fileDirectory:r}=e,{BitsPerSample:n,ColorMap:i,ImageLength:o,ImageWidth:s,PhotometricInterpretation:a,SampleFormat:u,SamplesPerPixel:l}=r;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can\'t make a palette.");const c=Math.pow(2,n);t&&console.log("[geotiff-palette]: count:",c);const f=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",f),f!==c)throw new Error("[geotiff-palette]: can\'t handle situations where the color map has more or less values than the number of possible values in a raster");const h=f,d=h+f,p=[];for(let e=0;e>24)/500+a,l=a-(e[t+2]<<24>>24)/200;u=.95047*(u*u*u>.008856?u*u*u:(u-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),l=1.08883*(l*l*l>.008856?l*l*l:(l-16/116)/7.787),i=3.2406*u+-1.5372*a+-.4986*l,o=-.9689*u+1.8758*a+.0415*l,s=.0557*u+-.204*a+1.057*l,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n[r]=255*Math.max(0,Math.min(1,i)),n[r+1]=255*Math.max(0,Math.min(1,o)),n[r+2]=255*Math.max(0,Math.min(1,s))}return n}function k(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function E(e,t,r){let n=0,i=e.length;const o=i/r;for(;i>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;i-=t}const s=e.slice();for(let t=0;t=e.byteLength);++o){let n;if(2===t){switch(i[0]){case 8:n=new Uint8Array(e,o*a*r*s,a*r*s);break;case 16:n=new Uint16Array(e,o*a*r*s,a*r*s/2);break;case 32:n=new Uint32Array(e,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}k(n,a)}else 3===t&&(n=new Uint8Array(e,o*a*r*s,a*r*s),E(n,a,s))}return e}(r,n,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return r}}class x extends T{decodeBlock(e){return e}}function C(e,t){for(let r=t.length-1;r>=0;r--)e.push(t[r]);return e}function R(e){const t=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,r[e]=e;let n=258,i=9,o=0;function s(){n=258,i=9}function a(e){const t=function(e,t,r){const n=t%8,i=Math.floor(t/8),o=8-n,s=t+r-8*(i+1);let a=8*(i+2)-(t+r);const u=8*(i+2)-t;if(a=Math.max(0,a),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let l=e[i]&2**(8-n)-1;l<<=r-o;let c=l;if(i+1>>a;t<<=Math.max(0,r-u),c+=t}if(s>8&&i+2>>n}return c}(e,o,i);return o+=i,t}function u(e,i){return r[n]=i,t[n]=e,n++,n-1}function l(e){const n=[];for(let i=e;4096!==i;i=t[i])n.push(r[i]);return n}const c=[];s();const f=new Uint8Array(e);let h,d=a(f);for(;257!==d;){if(256===d){for(s(),d=a(f);256===d;)d=a(f);if(257===d)break;if(d>256)throw new Error("corrupted code at scanline "+d);C(c,l(d)),h=d}else if(d=2**i&&(12===i?h=void 0:i++),d=a(f)}return new Uint8Array(c)}class A extends T{decodeBlock(e){return R(e).buffer}}const O=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function P(e,t){let r=0;const n=[];let i=16;for(;i>0&&!e[i-1];)--i;n.push({children:[],index:0});let o,s=n[0];for(let a=0;a0;)s=n.pop();for(s.index++,n.push(s);n.length<=a;)n.push(o={children:[],index:0}),s.children[s.index]=o.children,s=o;r++}a+10)return p--,d>>p&1;if(d=e[h++],255===d){const t=e[h++];if(t)throw new Error("unexpected marker: "+(d<<8|t).toString(16))}return p=7,d>>>7}function m(e){let t,r=e;for(;null!==(t=g());){if(r=r[t],"number"==typeof r)return r;if("object"!=typeof r)throw new Error("invalid huffman sequence")}return null}function b(e){let t=e,r=0;for(;t>0;){const e=g();if(null===e)return;r=r<<1|e,--t}return r}function y(e){const t=b(e);return t>=1<0)return void w--;let r=o;const n=s;for(;r<=n;){const n=m(e.huffmanTableAC),i=15&n,o=n>>4;if(0===i){if(o<15){w=b(o)+(1<>4,0===r)i<15?(w=b(i)+(1<>4;if(0===n){if(o<15)break;i+=16}else{i+=o;t[O[i]]=y(n),i++}}};let I,M,L=0;M=1===E?n[0].blocksPerLine*n[0].blocksPerColumn:l*r.mcusPerColumn;const D=i||M;for(;L=65488&&I<=65495))break;h+=2}return h-f}function M(e,t){const r=[],{blocksPerLine:n,blocksPerColumn:i}=t,o=n<<3,s=new Int32Array(64),a=new Uint8Array(64);function u(e,r,n){const i=t.quantizationTable;let o,s,a,u,l,c,f,h,d;const p=n;let g;for(g=0;g<64;g++)p[g]=e[g]*i[g];for(g=0;g<8;++g){const e=8*g;0!==p[1+e]||0!==p[2+e]||0!==p[3+e]||0!==p[4+e]||0!==p[5+e]||0!==p[6+e]||0!==p[7+e]?(o=5793*p[0+e]+128>>8,s=5793*p[4+e]+128>>8,a=p[2+e],u=p[6+e],l=2896*(p[1+e]-p[7+e])+128>>8,h=2896*(p[1+e]+p[7+e])+128>>8,c=p[3+e]<<4,f=p[5+e]<<4,d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+128>>8,a=1567*a-3784*u+128>>8,u=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+c+1>>1,c=h-c+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*c+4017*f+2048>>12,c=4017*c-799*f+2048>>12,f=d,p[0+e]=o+h,p[7+e]=o-h,p[1+e]=s+f,p[6+e]=s-f,p[2+e]=a+c,p[5+e]=a-c,p[3+e]=u+l,p[4+e]=u-l):(d=5793*p[0+e]+512>>10,p[0+e]=d,p[1+e]=d,p[2+e]=d,p[3+e]=d,p[4+e]=d,p[5+e]=d,p[6+e]=d,p[7+e]=d)}for(g=0;g<8;++g){const e=g;0!==p[8+e]||0!==p[16+e]||0!==p[24+e]||0!==p[32+e]||0!==p[40+e]||0!==p[48+e]||0!==p[56+e]?(o=5793*p[0+e]+2048>>12,s=5793*p[32+e]+2048>>12,a=p[16+e],u=p[48+e],l=2896*(p[8+e]-p[56+e])+2048>>12,h=2896*(p[8+e]+p[56+e])+2048>>12,c=p[24+e],f=p[40+e],d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*u+2048>>12,a=1567*a-3784*u+2048>>12,u=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+c+1>>1,c=h-c+1>>1,h=d,d=o-u+1>>1,o=o+u+1>>1,u=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*c+4017*f+2048>>12,c=4017*c-799*f+2048>>12,f=d,p[0+e]=o+h,p[56+e]=o-h,p[8+e]=s+f,p[48+e]=s-f,p[16+e]=a+c,p[40+e]=a-c,p[24+e]=u+l,p[32+e]=u-l):(d=5793*n[g+0]+8192>>14,p[0+e]=d,p[8+e]=d,p[16+e]=d,p[24+e]=d,p[32+e]=d,p[40+e]=d,p[48+e]=d,p[56+e]=d)}for(g=0;g<64;++g){const e=128+(p[g]+8>>4);r[g]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let r=0;r<64;r++){i[O[r]]=e[t++]}else{if(n>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[O[e]]=r()}}this.quantizationTables[15&n]=i}break}case 65472:case 65473:case 65474:{r();const n={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},s=e[t++];let a;for(let r=0;r>4,i=15&e[t+1],o=e[t+2];n.componentsOrder.push(a),n.components[a]={h:r,v:i,quantizationIdx:o},t+=3}i(n),this.frames.push(n);break}case 65476:{const n=r();for(let r=2;r>4==0?this.huffmanTablesDC[15&n]=P(i,s):this.huffmanTablesAC[15&n]=P(i,s)}break}case 65501:r(),this.resetInterval=r();break;case 65498:{r();const n=e[t++],i=[],o=this.frames[0];for(let r=0;r>4],r.huffmanTableAC=this.huffmanTablesAC[15&n],i.push(r)}const s=e[t++],a=e[t++],u=e[t++],l=I(e,t,o,i,this.resetInterval,s,a,u>>4,15&u);t+=l;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+o.toString(16))}o=r()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const a=N(e,n,i);for(let u=0;u{const a=N(e,n,i);for(let u=0;u=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(r){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(r){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(r){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return K(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),o=Math.ceil(this.getHeight()/this.getTileHeight());let s;const{tiles:a}=this;let u,l;1===this.planarConfiguration?s=t*i+e:2===this.planarConfiguration&&(s=r*i*o+t*i+e),this.isTiled?(u=this.fileDirectory.TileOffsets[s],l=this.fileDirectory.TileByteCounts[s]):(u=this.fileDirectory.StripOffsets[s],l=this.fileDirectory.StripByteCounts[s]);const c=await this.source.fetch(u,l);let f;return null===a?f=n.decode(this.fileDirectory,c):a[s]||(f=n.decode(this.fileDirectory,c),a[s]=f),{x:e,y:t,sample:r,data:await f}}async _readRaster(e,t,r,n,i,o,s,a){const u=this.getTileWidth(),l=this.getTileHeight(),c=Math.max(Math.floor(e[0]/u),0),f=Math.min(Math.ceil(e[2]/u),Math.ceil(this.getWidth()/this.getTileWidth())),h=Math.max(Math.floor(e[1]/l),0),d=Math.min(Math.ceil(e[3]/l),Math.ceil(this.getHeight()/this.getTileHeight())),p=e[2]-e[0];let g=this.getBytesPerPixel();const m=[],b=[];for(let e=0;e{const o=i.data,s=new DataView(o),a=i.y*l,f=i.x*u,h=(i.y+1)*l,d=(i.x+1)*u,y=b[c],v=Math.min(l,l-(h-e[3])),_=Math.min(u,u-(d-e[2]));for(let i=Math.max(0,e[1]-a);iu[2]||u[1]>u[3])throw new Error("Invalid subsets");const l=(u[2]-u[0])*(u[3]-u[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index \'${t[e]}\'.`))}else for(let e=0;es[2]||s[1]>s[3])throw new Error("Invalid subsets");const a=this.fileDirectory.PhotometricInterpretation;if(a===d.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==p.Unspecified&&o){i=[];for(let e=0;e"Item"===e.tagName);e&&(o=o.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(e+(t?o:7-o));n&&(i?0!==s&&(s=255&~(s-1),i=!1):s=255&~s),r+=s*256**o}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class Y{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+2**32*r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}if(n=2**32*t+r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}readInt64(e){let t=0;const r=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let o=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?0!==o&&(o=255&~(o-1),n=!1):o=255&~o),t+=o*256**i}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var Z=r(37),$=r(4),X=r(14),Q=r(22),J=r.n(Q),ee=r(52),te=r.n(ee),re=r(21),ne=r.n(re);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,r=!1){const n=e+t,i=[],o=[],s=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let r=[];t.push(r);for(let n=0;n{const t=await e,i=r*this.blockSize,o=Math.min(i+this.blockSize,t.data.byteLength),s=t.data.slice(i,o);this.blockRequests.delete(n),this.blocks.set(n,{data:s,offset:t.offset+i,length:s.byteLength,top:t.offset+o})})())}}this.blockIdsAwaitingRequest=null}const a=[];for(const e of o)this.blockRequests.has(e)&&a.push(this.blockRequests.get(e));await Promise.all(a),await Promise.all(s);return function(e,t,r){const n=t+r,i=new ArrayBuffer(r),o=new Uint8Array(i);for(const r of e){const e=r.offset-t,i=r.top-n;let s,a=0,u=0;e<0?a=-e:e>0&&(u=e),s=i<0?r.length-a:n-r.offset-a;const l=new Uint8Array(r.data,a,s);o.set(l,u)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const r=await this.retrievalFunction(e,t);return r.length?r.length!==r.data.byteLength&&(r.data=r.data.slice(0,r.length)):r.length=r.data.byteLength,r.top=r.offset+r.length,r}}function oe(e,t){const{forceXHR:r}=t;if("function"==typeof fetch&&!r)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${r}-${r+n-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:r,length:n}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:r})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=new XMLHttpRequest;s.open("GET",e),s.responseType="arraybuffer";const a={...t,Range:`bytes=${r}-${r+n-1}`};for(const[e,t]of Object.entries(a))s.setRequestHeader(e,t);s.onload=()=>{const e=s.response;206===s.status?i({data:e,offset:r,length:n}):i({data:e,offset:0,length:e.byteLength})},s.onerror=o,s.send()}),{blockSize:r})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=ne.a.parse(e);("http:"===s.protocol?J.a:te.a).get({...s,headers:{...t,Range:`bytes=${r}-${r+n-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=$.Buffer.concat(t).buffer;i({data:e,offset:r,length:e.byteLength})})}).on("error",o)}),{blockSize:r})}(e,t);throw new Error("No remote source available")}function se(e){const t=function(e,t,r){return new Promise((n,i)=>{Object(X.open)(e,t,r,(e,t)=>{e?i(e):n(t)})})}(e,"r");return{async fetch(e,r){const n=await t,{buffer:i}=await function(...e){return new Promise((t,r)=>{Object(X.read)(...e,(e,n,i)=>{e?r(e):t({bytesRead:n,buffer:i})})})}(n,$.Buffer.alloc(r),0,r,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,r)=>{Object(X.close)(e,e=>{e?r(e):t()})})}(e)}}}function ae(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}function ue(e,t){if(e.length{let r=t;for(;0!==e[r];)r++;return r},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const r=ge.ui8;return r[0]=e[t+1],r[1]=e[t+0],ge.i16[0]},readInt:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.i32[0]},readUint:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.ui32[0]},readASCII:(e,t,r)=>r.map(r=>String.fromCharCode(e[t+r])).join(""),readFloat:(e,t)=>{const r=ge.ui8;return ce(4,n=>{r[n]=e[t+3-n]}),ge.fl32[0]},readDouble:(e,t)=>{const r=ge.ui8;return ce(8,n=>{r[n]=e[t+7-n]}),ge.fl64[0]},writeUshort:(e,t,r)=>{e[t]=r>>8&255,e[t+1]=255&r},writeUint:(e,t,r)=>{e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:(e,t,r)=>{ce(r.length,n=>{e[t+n]=r.charCodeAt(n)})},ui8:new Uint8Array(8)};ge.fl64=new Float64Array(ge.ui8.buffer),ge.writeDouble=(e,t,r)=>{ge.fl64[0]=r,ce(8,r=>{e[t+r]=ge.ui8[7-r]})};const me=e=>{const t=new Uint8Array(1e3);let r=4;const n=ge;t[0]=77,t[1]=77,t[3]=42;let i=8;if(n.writeUint(t,r,i),r+=4,e.forEach((r,o)=>{const s=((e,t,r,n)=>{let i=r;const o=Object.keys(n).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,o.length),i+=2;let s=i+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const a=l[o],u=pe[a];if(null==a||void 0===a||void 0===a)throw new Error("unknown type of tag: "+o);let c=n[r];if(void 0===c)throw new Error("failed to get value for key "+r);"ASCII"===a&&"string"==typeof c&&!1===ue(c,"\\0")&&(c+="\\0");const f=c.length;e.writeUshort(t,i,o),i+=2,e.writeUshort(t,i,u),i+=2,e.writeUint(t,i,f),i+=4;let h=[-1,1,1,2,4,8,0,0,0,0,0,0,8][u]*f,d=i;h>4&&(e.writeUint(t,i,s),d=s),"ASCII"===a?e.writeASCII(t,d,c):"SHORT"===a?ce(f,r=>{e.writeUshort(t,d+2*r,c[r])}):"LONG"===a?ce(f,r=>{e.writeUint(t,d+4*r,c[r])}):"RATIONAL"===a?ce(f,r=>{e.writeUint(t,d+8*r,Math.round(1e4*c[r])),e.writeUint(t,d+8*r+4,1e4)}):"DOUBLE"===a&&ce(f,r=>{e.writeDouble(t,d+8*r,c[r])}),h>4&&(h+=1&h,s+=h),i+=4}return[i,s]})(n,t,i,r);i=s[1],o{ce(i,r=>{ce(n,n=>{o.push(e[n][t][r])})})})),t.ImageLength=r,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=ce(n,()=>8)),be.forEach(e=>{const r=e[0];if(!t[r]){const n=e[1];t[r]=n}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[n]),t.StripByteCounts||(t.StripByteCounts=[n*r*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/r,0]),t.SampleFormat||(t.SampleFormat=ce(n,()=>1));const s=Object.keys(t).filter(e=>ue(e,"GeoKey")).sort((e,t)=>de[e]-de[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,s.length];s.forEach(r=>{const n=Number(de[r]);let i,o,s;e.push(n),"SHORT"===l[n]?(i=1,o=0,s=t[r]):"GeogCitationGeoKey"===r?(i=t.GeoAsciiParams.length,o=Number(de.GeoAsciiParams),s=0):console.log("[geotiff.js] couldn\'t get TIFFTagLocation for "+r),e.push(o),e.push(i),e.push(s)}),t.GeoKeyDirectory=e}for(const e in s)s.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var r;t[e]&&(t[e]=(r=t[e],Array.isArray(r)?r:[r]))});const a=(e=>{const t={};for(const r in e)"StripOffsets"!==r&&(de[r]||console.error(r,"not in name2code:",Object.keys(de)),t[de[r]]=e[r]);return t})(t);return((e,t,r,n)=>{if(null==r)throw new Error("you passed into encodeImage a width of type "+r);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[r],273:[1e3],278:[r],305:"geotiff.js"};if(n)for(const e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);const o=new Uint8Array(me([i])),s=new Uint8Array(e),a=i[277],u=new Uint8Array(1e3+t*r*a);return ce(o.length,e=>{u[e]=o[e]}),function(e,t){const{length:r}=e;for(let n=0;n{u[1e3+t]=e}),u.buffer})(o,i,r,a)}class we{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let ve=new we;function _e(e=new we){ve=e}function Se(e){switch(e){case h.BYTE:case h.ASCII:case h.SBYTE:case h.UNDEFINED:return 1;case h.SHORT:case h.SSHORT:return 2;case h.LONG:case h.SLONG:case h.FLOAT:case h.IFD:return 4;case h.RATIONAL:case h.SRATIONAL:case h.DOUBLE:case h.LONG8:case h.SLONG8:case h.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function ke(e,t,r,n){let i=null,o=null;const s=Se(t);switch(t){case h.BYTE:case h.ASCII:case h.UNDEFINED:i=new Uint8Array(r),o=e.readUint8;break;case h.SBYTE:i=new Int8Array(r),o=e.readInt8;break;case h.SHORT:i=new Uint16Array(r),o=e.readUint16;break;case h.SSHORT:i=new Int16Array(r),o=e.readInt16;break;case h.LONG:case h.IFD:i=new Uint32Array(r),o=e.readUint32;break;case h.SLONG:i=new Int32Array(r),o=e.readInt32;break;case h.LONG8:case h.IFD8:i=new Array(r),o=e.readUint64;break;case h.SLONG8:i=new Array(r),o=e.readInt64;break;case h.RATIONAL:i=new Uint32Array(2*r),o=e.readUint32;break;case h.SRATIONAL:i=new Int32Array(2*r),o=e.readInt32;break;case h.FLOAT:i=new Float32Array(r),o=e.readFloat32;break;case h.DOUBLE:i=new Float64Array(r),o=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==h.RATIONAL&&t!==h.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tn||o&&o>s)break}}let f=t;if(s){const[e,t]=a.getOrigin(),[r,n]=u.getResolution(a);f=[Math.round((s[0]-e)/r),Math.round((s[1]-t)/n),Math.round((s[2]-e)/r),Math.round((s[3]-t)/n)],f=[Math.min(f[0],f[2]),Math.min(f[1],f[3]),Math.max(f[0],f[2]),Math.max(f[1],f[3])]}return u.readRasters({...e,window:f})}}class Ce extends xe{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const r=this.bigTiff?4048:1024;return new Y(await this.source.fetch(e,void 0!==t?t:r),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=await this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),o=i*t+(this.bigTiff?16:6);n.covers(e,o)||(n=await this.getSlice(e,o));const s={};let u=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new Te(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new z(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof Te))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=await this.getSlice(e,r);if(t===ke(n,h.ASCII,t.length,e)){const t=ke(n,h.ASCII,r,e).split("\\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>r&&(n=await this.getSlice(e,i));const o=ke(n,h.ASCII,i,e);this.ghostValues={},o.split("\\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const r=await e.fetch(0,1024),n=new V(r),i=n.getUint16(0,0);let o;if(18761===i)o=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");o=!1}const s=n.getUint16(2,o);let a;if(42===s)a=!1;else{if(43!==s)throw new TypeError("Invalid magic number.");a=!0;if(8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const u=a?n.getUint64(8,o):n.getUint32(4,o);return new Ce(e,o,a,u,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=Ce;class Re extends xe{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,r=0;for(let n=0;ne.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function Ae(e,t={}){return Ce.fromSource(oe(e,t))}async function Oe(e){return Ce.fromSource(function(e){return{fetch:async(t,r)=>e.slice(t,t+r)}}(e))}async function Pe(e){return Ce.fromSource(se(e))}async function Ie(e){return Ce.fromSource((t=e,{fetch:async(e,r)=>new Promise((n,i)=>{const o=t.slice(e,e+r),s=new FileReader;s.onload=e=>n(e.target.result),s.onerror=i,s.readAsArrayBuffer(o)})}));var t}async function Me(e,t=[],r={}){const n=await Ce.fromSource(oe(e,r)),i=await Promise.all(t.map(e=>Ce.fromSource(oe(e,r))));return new Re(n,i)}async function Le(e,t){return ye(e,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(10);Object(n.b)().blob;const i=Object(n.b)().default},,,function(e,t,r){"use strict";var n=r(15),i=r(49);var o=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let r,s=0;return new n.a(n=>{r||(r=e.subscribe(t));const i=t.subscribe(n);return s++,()=>{s--,i.unsubscribe(),0===s&&(o(r),r=void 0)}})}}]);',null)}},function(e,t,r){"use strict";var n=window.URL||window.webkitURL;e.exports=function(e,t){try{try{var r;try{(r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder)).append(e),r=r.getBlob()}catch(t){r=new Blob([e])}return new Worker(n.createObjectURL(r))}catch(t){return new Worker("data:application/javascript,"+encodeURIComponent(e))}}catch(e){if(!t)throw Error("Inline worker is not supported");return new Worker(t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){return new Promise((function(r,l){try{t&&console.log("starting parseData with",e),t&&console.log("\tGeoTIFF:","undefined"==typeof GeoTIFF?"undefined":i(GeoTIFF));var c={},f=void 0,h=void 0;if("object"===e.rasterType)c.values=e.data,c.height=f=e.metadata.height||c.values[0].length,c.width=h=e.metadata.width||c.values[0][0].length,c.pixelHeight=e.metadata.pixelHeight,c.pixelWidth=e.metadata.pixelWidth,c.projection=e.metadata.projection,c.xmin=e.metadata.xmin,c.ymax=e.metadata.ymax,c.noDataValue=e.metadata.noDataValue,c.numberOfRasters=c.values.length,c.xmax=c.xmin+c.width*c.pixelWidth,c.ymin=c.ymax-c.height*c.pixelHeight,c._data=null,r(u(c));else if("geotiff"===e.rasterType){c._data=e.data;var d=o.fromArrayBuffer;"url"===e.sourceType?d=o.fromUrl:"Blob"===e.sourceType&&(d=o.fromBlob),t&&console.log("data.rasterType is geotiff"),r(d(e.data).then((function(r){return t&&console.log("geotiff:",r),r.getImage().then((function(r){try{t&&console.log("image:",r);var i=r.fileDirectory,o=r.getGeoKeys()||{},d=o.GeographicTypeGeoKey,p=o.ProjectedCSTypeGeoKey;c.projection=p||d||e.metadata.projection,t&&console.log("projection:",c.projection),c.height=f=r.getHeight(),t&&console.log("result.height:",c.height),c.width=h=r.getWidth(),t&&console.log("result.width:",c.width);var g=r.getResolution(),m=n(g,2),y=m[0],b=m[1];c.pixelHeight=Math.abs(b),c.pixelWidth=Math.abs(y);var w=r.getOrigin(),v=n(w,2),_=v[0],S=v[1];return c.xmin=_,c.xmax=c.xmin+h*c.pixelWidth,c.ymax=S,c.ymin=c.ymax-f*c.pixelHeight,c.noDataValue=i.GDAL_NODATA?parseFloat(i.GDAL_NODATA):null,c.numberOfRasters=i.SamplesPerPixel,i.ColorMap&&(c.palette=(0,s.getPalette)(r)),"url"!==e.sourceType?r.readRasters().then((function(e){return c.values=e.map((function(e){return(0,a.unflatten)(e,{height:f,width:h})})),u(c)})):c}catch(e){l(e),console.error("[georaster] error parsing georaster:",e)}}))})))}}catch(e){l(e),console.error("[georaster] error parsing georaster:",e)}}))};var o=r(47),s=r(100),a=r(46);function u(e,t){var r=e.noDataValue,n=e.height,i=e.width;return new Promise((function(o,s){e.maxs=[],e.mins=[],e.ranges=[];for(var a=void 0,u=void 0,l=0;la)&&(a=p))}e.maxs.push(a),e.mins.push(u),e.ranges.push(a-u)}o(e)}))}},function(e,t,r){(function(t){var n=r(62).Transform,i=r(2);function o(e){n.call(this,e),this._destroyed=!1}function s(e,t,r){r(null,e)}function a(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=s),"function"!=typeof n&&(n=null),e(t,r,n)}}i(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var r=this;t.nextTick((function(){e&&r.emit("error",e),r.emit("close")}))}},e.exports=a((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),e.exports.ctor=a((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),o.call(this,this.options)}return i(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),e.exports.obj=a((function(e,t,r){var n=new o(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))}).call(this,r(0))},function(e,t,r){(t=e.exports=r(30)).Stream=t,t.Readable=t,t.Writable=r(34),t.Duplex=r(8),t.Transform=r(36),t.PassThrough=r(69),t.finished=r(24),t.pipeline=r(70)},function(e,t){},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,i=s.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=i,n=a,s.prototype.copy.call(t,r,n),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return a(this,function(e){for(var t=1;t */ +var n=r(3),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(t){var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(24),s=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(e,t){return{value:e,done:t}}function p(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[c]=null,e[s]=null,e[a]=null,t(d(r,!1)))}}function g(e){t.nextTick(p,e)}var m=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[l])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){t.nextTick((function(){e[u]?n(e[u]):r(d(void 0,!0))}))}));var n,i=this[c];if(i)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[l]?r(d(void 0,!0)):t[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[c]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[h].destroy(null,(function(e){e?r(e):t(d(void 0,!0))}))}))})),n),m);e.exports=function(e){var t,r=Object.create(y,(i(t={},h,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[h].read();n?(r[c]=null,r[s]=null,r[a]=null,e(d(n,!1))):(r[s]=e,r[a]=t)},writable:!0}),t));return r[c]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[a];return null!==t&&(r[c]=null,r[s]=null,r[a]=null,t(e)),void(r[u]=e)}var n=r[s];null!==n&&(r[c]=null,r[s]=null,r[a]=null,n(d(void 0,!0))),r[l]=!0})),e.on("readable",g.bind(null,r)),r}}).call(this,r(0))},function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(e,t,r){"use strict";e.exports=i;var n=r(36);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(2)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n;var i=r(7).codes,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function u(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var a=!1;e.on("close",(function(){a=!0})),void 0===n&&(n=r(24)),n(e,{readable:t,writable:i},(function(e){if(e)return o(e);a=!0,o()}));var u=!1;return function(t){if(!a&&!u)return u=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new s("pipe"))}}function l(e){e()}function c(e,t){return e.pipe(t)}function f(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r0,(function(e){n||(n=e),e&&s.forEach(l),o||(s.forEach(l),i(n))}))}));return t.reduce(c)}},function(e,t,r){"use strict";var n=r(19),i=r(72),o=r(73),s=r(74),a=r(75);function u(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function c(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,c(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function d(e,t){var r,n;return e?(n=new l,e.state=n,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function y(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=o(r.check,D,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,O=8+(15&(g>>>=4)),0===r.wbits)r.wbits=O;else if(O>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(D[0]=255&g,D[1]=g>>>8&255,r.check=o(r.check,D,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>8&255,D[2]=g>>>16&255,D[3]=g>>>24&255,r.check=o(r.check,D,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>8),512&r.flags&&(D[0]=255&g,D[1]=g>>>8&255,r.check=o(r.check,D,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>>8&255,r.check=o(r.check,D,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>d&&(_=d),_&&(r.head&&(O=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,l,f,_,O)),512&r.flags&&(r.check=o(r.check,l,_,f)),d-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;_=0;do{O=l[f+_++],r.head&&O&&r.length<65536&&(r.head.name+=String.fromCharCode(O))}while(O&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===d)break e;d--,g+=l[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(y(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===d)break e;d--,g+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>d&&(_=d),_>p&&(_=p),0===_)break e;n.arraySet(c,l,f,_,h),d-=_,f+=_,p-=_,h+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===d)break e;d--,g+=l[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[j[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,I={bits:r.lenbits},P=a(0,r.lens,0,19,r.lencode,0,r.work,I),r.lenbits=I.bits,P){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,x=65535&L,!((E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=E,m-=E,r.lens[r.have++]=x;else{if(16===x){for(M=E+2;m>>=E,m-=E,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}O=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===x){for(M=E+3;m>>=E)),g>>>=3,m-=3}else{for(M=E+7;m>>=E)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=O}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,I={bits:r.lenbits},P=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,I),r.lenbits=I.bits,P){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,I={bits:r.distbits},P=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,I),r.distbits=I.bits,P){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,r.hold=g,r.bits=m,s(e,v),h=e.next_out,c=e.output,p=e.avail_out,f=e.next_in,l=e.input,d=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;T=(L=r.lencode[g&(1<>>16&255,x=65535&L,!((E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>C)])>>>16&255,x=65535&L,!(C+(E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=C,m-=C,r.back+=C}if(g>>>=E,m-=E,r.back+=E,r.length=x,0===T){r.mode=26;break}if(32&T){r.back=-1,r.mode=12;break}if(64&T){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&T,r.mode=22;case 22:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;T=(L=r.distcode[g&(1<>>16&255,x=65535&L,!((E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>C)])>>>16&255,x=65535&L,!(C+(E=L>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=C,m-=C,r.back+=C}if(g>>>=E,m-=E,r.back+=E,64&T){e.msg="invalid distance code",r.mode=30;break}r.offset=x,r.extra=15&T,r.mode=24;case 24:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=v-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,S=r.wsize-_):S=r.wnext-_,_>r.length&&(_=r.length),k=r.window}else k=c,S=h-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{c[h++]=k[S++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;c[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===d)break e;d--,g|=l[f++]<>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a>>8^o[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,s,a,u,l,c,f,h,d,p,g,m,y,b,w,v,_,S,k,E,T,x;r=e.state,n=e.next_in,T=e.input,i=n+(e.avail_in-5),o=e.next_out,x=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),u=r.dmax,l=r.wsize,c=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,m=r.distcode,y=(1<>>=v=w>>>24,p-=v,0===(v=w>>>16&255))x[o++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=g[(65535&w)+(d&(1<>>=v,p-=v),p<15&&(d+=T[n++]<>>=v=w>>>24,p-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=m[(65535&w)+(d&(1<u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=v,p-=v,S>(v=o-s)){if((v=S-v)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(k=0,E=h,0===f){if(k+=l-v,v<_){_-=v;do{x[o++]=h[k++]}while(--v);k=o-S,E=x}}else if(f2;)x[o++]=E[k++],x[o++]=E[k++],x[o++]=E[k++],_-=3;_&&(x[o++]=E[k++],_>1&&(x[o++]=E[k++]))}else{k=o-S;do{x[o++]=x[k++],x[o++]=x[k++],x[o++]=x[k++],_-=3}while(_>2);_&&(x[o++]=x[k++],_>1&&(x[o++]=x[k++]))}break}}break}}while(n>3,d&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===D[x];x--);if(C>x&&(C=x),0===x)return l[c++]=20971520,l[c++]=20971520,h.bits=1,0;for(T=1;T0&&(0===e||1!==x))return-1;for(j[1]=0,k=1;k<15;k++)j[k+1]=j[k]+D[k];for(E=0;E852||2===e&&P>592)return 1;for(;;){w=k-R,f[E]b?(v=U[B+f[E]],_=M[L+f[E]]):(v=96,_=0),d=1<>R)+(p-=d)]=w<<24|v<<16|_|0}while(0!==p);for(d=1<>=1;if(0!==d?(I&=d-1,I+=d):I=0,E++,0==--D[k]){if(k===x)break;k=t[r+f[E]]}if(k>C&&(I&m)!==g){for(0===R&&(R=C),y+=T,O=1<<(A=k-R);A+R852||2===e&&P>592)return 1;l[g=I&m]=C<<24|A<<16|y-c|0}}return 0!==I&&(l[y+I]=k-R<<24|64<<16|0),h.bits=C,0}},function(e,t,r){"use strict";var n=r(19),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function u(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return u(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)l[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return u(l,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){e.exports=r.p+"0.georaster.browser.bundle.min.worker.js"},function(e,t,r){e.exports=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=n)return s(e,t,n,"minute");if(t>=r)return s(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){(function(t,n,i){var o=r(38),s=r(2),a=r(39),u=r(40),l=r(91),c=a.IncomingMessage,f=a.readyStates;var h=e.exports=function(e){var r,n=this;u.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}(r,i),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};s(h,u.Writable),h.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},h.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},h.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},h.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,s=e._headers,a=null;"GET"!==r.method&&"HEAD"!==r.method&&(a=o.arraybuffer?l(t.concat(e._body)):o.blobConstructor?new n.Blob(e._body.map((function(e){return l(e)})),{type:(s["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(s).forEach((function(e){var t=s[e].name,r=s[e].value;Array.isArray(r)?r.forEach((function(e){u.push([t,e])})):u.push([t,r])})),"fetch"===e._mode){var c=null;if(o.abortController){var h=new AbortController;c=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:u,body:a||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:c}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var d=e._xhr=new n.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(d.timeout=r.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),u.forEach((function(e){d.setRequestHeader(e[0],e[1])})),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(a)}catch(t){return void i.nextTick((function(){e.emit("error",t)}))}}}},h.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},h.prototype._connect=function(){var e=this;e._destroyed||(e._response=new c(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},h.prototype._write=function(e,t,r){this._body.push(e),r()},h.prototype.abort=h.prototype.destroy=function(){this._destroyed=!0,n.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},h.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),u.Writable.prototype.end.call(this,e,t,r)},h.prototype.flushHeaders=function(){},h.prototype.setTimeout=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(3).Buffer,r(1),r(0))},function(e,t){},function(e,t,r){"use strict";var n=r(25).Buffer,i=r(87);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=o,i=a,t.copy(r,i),a+=s.data.length,s=s.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(89),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(1))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,i,o,s,a,u=1,l={},c=!1,f=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function g(e){throw new RangeError(h[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function y(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(f,".")).split("."),t).join(".")}function b(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join("")}function v(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;n+=36)e=d(e/35);return d(n+36*e/(e+38))}function S(e){var t,r,n,i,o,s,a,l,c,f,h,p=[],m=e.length,y=0,b=128,v=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&g("not-basic"),p.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=m&&g("invalid-input"),((l=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>d((u-y)/s))&&g("overflow"),y+=l*s,!(l<(c=a<=v?1:a>=v+26?26:a-v));a+=36)s>d(u/(f=36-c))&&g("overflow"),s*=f;v=_(y-o,t=p.length+1,0==o),d(y/t)>u-b&&g("overflow"),b+=d(y/t),y%=t,p.splice(y++,0,b)}return w(p)}function k(e){var t,r,n,i,o,s,a,l,c,f,h,m,y,w,S,k=[];for(m=(e=b(e)).length,t=128,r=0,o=72,s=0;s=t&&hd((u-r)/(y=n+1))&&g("overflow"),r+=(a-t)*y,t=a,s=0;su&&g("overflow"),h==t){for(l=r,c=36;!(l<(f=c<=o?1:c>=o+26?26:c-o));c+=36)S=l-f,w=36-f,k.push(p(v(f+S%w,0))),l=d(S/w);k.push(p(v(l,0))),o=_(r,y,n==i),r=0,++n}++r,++t}return k.join("")}a={version:"1.4.1",ucs2:{decode:b,encode:w},decode:S,encode:k,toASCII:function(e){return y(e,(function(e){return c.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return y(e,(function(e){return l.test(e)?S(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return a}.call(t,r,t,e))||(e.exports=i)}()}).call(this,r(95)(e),r(1))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";t.decode=t.parse=r(98),t.encode=t.stringify=r(99)},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var l=e.length;u>0&&l>u&&(l=u);for(var c=0;c=0?(f=g.substr(0,m),h=g.substr(m+1)):(f=g,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),n(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?o(s(e),(function(s){var a=encodeURIComponent(n(s))+r;return i(e[s])?o(e[s],(function(e){return a+encodeURIComponent(n(e))})).join(t):a+encodeURIComponent(n(e[s]))})).join(t):a?encodeURIComponent(n(a))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n{t&&console.log("starting getPalette with image",e);const{fileDirectory:r}=e,{BitsPerSample:n,ColorMap:i,ImageLength:o,ImageWidth:s,PhotometricInterpretation:a,SampleFormat:u,SamplesPerPixel:l}=r;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can't make a palette.");const c=Math.pow(2,n);t&&console.log("[geotiff-palette]: count:",c);const f=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",f),f!==c)throw new Error("[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster");const h=f,d=h+f,p=[];for(let e=0;e{try{return e[f][h]}catch(e){console.error(e)}});if(d.every(e=>void 0!==e&&e!==n)){const n=e*(4*t)+4*r;if(1===a){const e=Math.round(d[0]),t=Math.round((e-i[0])/o[0]*255);c[n]=t,c[n+1]=t,c[n+2]=t,c[n+3]=255}else if(3===a)try{const[e,t,r]=d;c[n]=e,c[n+1]=t,c[n+2]=r,c[n+3]=255}catch(e){console.error(e)}else if(4===a)try{const[e,t,r,i]=d;c[n]=e,c[n+1]=t,c[n+2]=r,c[n+3]=i}catch(e){console.error(e)}}}return new ImageData(c,t,r)}}(e,i,n);return o.putImageData(s,0,0),r}}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(10);Object(n.b)().blob;const i=Object(n.b)().default},,,function(e,t,r){"use strict";var n=r(15),i=r(50);var o=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let r,s=0;return new n.a(n=>{r||(r=e.subscribe(t));const i=t.subscribe(n);return s++,()=>{s--,i.unsubscribe(),0===s&&(o(r),r=void 0)}})}}])})); \ No newline at end of file diff --git a/dist/georaster.bundle.js b/dist/georaster.bundle.js index 2f81cdd..65a76a4 100644 --- a/dist/georaster.bundle.js +++ b/dist/georaster.bundle.js @@ -108,25 +108,58 @@ eval("\n\nconst callsites = () => {\n\tconst _prepareStackTrace = Error.prepareS /***/ }), -/***/ "./node_modules/core-util-is/lib/util.js": -/*!***********************************************!*\ - !*** ./node_modules/core-util-is/lib/util.js ***! - \***********************************************/ +/***/ "./node_modules/cross-fetch/dist/node-ponyfill.js": +/*!********************************************************!*\ + !*** ./node_modules/cross-fetch/dist/node-ponyfill.js ***! + \********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\n\nfunction isArray(arg) {\n if (Array.isArray) {\n return Array.isArray(arg);\n }\n return objectToString(arg) === '[object Array]';\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n return objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n return objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n return (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = __webpack_require__(/*! buffer */ \"buffer\").Buffer.isBuffer;\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/core-util-is/lib/util.js?"); +eval("const nodeFetch = __webpack_require__(/*! node-fetch */ \"./node_modules/node-fetch/lib/index.mjs\")\nconst realFetch = nodeFetch.default || nodeFetch\n\nconst fetch = function (url, options) {\n // Support schemaless URIs on the server for parity with the browser.\n // Ex: //github.com/ -> https://github.com/\n if (/^\\/\\//.test(url)) {\n url = 'https:' + url\n }\n return realFetch.call(this, url, options)\n}\n\nfetch.ponyfill = true\n\nmodule.exports = exports = fetch\nexports.fetch = fetch\nexports.Headers = nodeFetch.Headers\nexports.Request = nodeFetch.Request\nexports.Response = nodeFetch.Response\n\n// Needed for TypeScript consumers without esModuleInterop.\nexports.default = fetch\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/cross-fetch/dist/node-ponyfill.js?"); /***/ }), -/***/ "./node_modules/cross-fetch/dist/node-ponyfill.js": -/*!********************************************************!*\ - !*** ./node_modules/cross-fetch/dist/node-ponyfill.js ***! - \********************************************************/ +/***/ "./node_modules/debug/src/browser.js": +/*!*******************************************!*\ + !*** ./node_modules/debug/src/browser.js ***! + \*******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("const nodeFetch = __webpack_require__(/*! node-fetch */ \"./node_modules/node-fetch/lib/index.mjs\")\nconst realFetch = nodeFetch.default || nodeFetch\n\nconst fetch = function (url, options) {\n // Support schemaless URIs on the server for parity with the browser.\n // Ex: //github.com/ -> https://github.com/\n if (/^\\/\\//.test(url)) {\n url = 'https:' + url\n }\n return realFetch.call(this, url, options)\n}\n\nfetch.ponyfill = true\n\nmodule.exports = exports = fetch\nexports.fetch = fetch\nexports.Headers = nodeFetch.Headers\nexports.Request = nodeFetch.Request\nexports.Response = nodeFetch.Response\n\n// Needed for TypeScript consumers without esModuleInterop.\nexports.default = fetch\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/cross-fetch/dist/node-ponyfill.js?"); +eval("/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = __webpack_require__(/*! ./common */ \"./node_modules/debug/src/common.js\")(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/browser.js?"); + +/***/ }), + +/***/ "./node_modules/debug/src/common.js": +/*!******************************************!*\ + !*** ./node_modules/debug/src/common.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = __webpack_require__(/*! ms */ \"./node_modules/ms/index.js\");\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/common.js?"); + +/***/ }), + +/***/ "./node_modules/debug/src/index.js": +/*!*****************************************!*\ + !*** ./node_modules/debug/src/index.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = __webpack_require__(/*! ./browser.js */ \"./node_modules/debug/src/browser.js\");\n} else {\n\tmodule.exports = __webpack_require__(/*! ./node.js */ \"./node_modules/debug/src/node.js\");\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/index.js?"); + +/***/ }), + +/***/ "./node_modules/debug/src/node.js": +/*!****************************************!*\ + !*** ./node_modules/debug/src/node.js ***! + \****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/**\n * Module dependencies.\n */\n\nconst tty = __webpack_require__(/*! tty */ \"tty\");\nconst util = __webpack_require__(/*! util */ \"util\");\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = __webpack_require__(/*! supports-color */ \"./node_modules/supports-color/index.js\");\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = __webpack_require__(/*! ./common */ \"./node_modules/debug/src/common.js\")(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/node.js?"); /***/ }), @@ -427,14 +460,14 @@ eval("\n\nmodule.exports = value => {\n\tif (!value) {\n\t\treturn false;\n\t}\n /***/ }), -/***/ "./node_modules/isarray/index.js": -/*!***************************************!*\ - !*** ./node_modules/isarray/index.js ***! - \***************************************/ +/***/ "./node_modules/ms/index.js": +/*!**********************************!*\ + !*** ./node_modules/ms/index.js ***! + \**********************************/ /*! no static exports found */ /***/ (function(module, exports) { -eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/isarray/index.js?"); +eval("/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/ms/index.js?"); /***/ }), @@ -446,7 +479,7 @@ eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Headers\", function() { return Headers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Request\", function() { return Request; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Response\", function() { return Response; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FetchError\", function() { return FetchError; });\n/* harmony import */ var stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! stream */ \"stream\");\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! http */ \"http\");\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! url */ \"url\");\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! https */ \"https\");\n/* harmony import */ var zlib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! zlib */ \"zlib\");\n\n\n\n\n\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = stream__WEBPACK_IMPORTED_MODULE_0__.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = require('encoding').convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = stream__WEBPACK_IMPORTED_MODULE_0__.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof stream__WEBPACK_IMPORTED_MODULE_0__) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof stream__WEBPACK_IMPORTED_MODULE_0__) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof stream__WEBPACK_IMPORTED_MODULE_0__)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http__WEBPACK_IMPORTED_MODULE_1__.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = url__WEBPACK_IMPORTED_MODULE_2__.parse;\nconst format_url = url__WEBPACK_IMPORTED_MODULE_2__.format;\n\nconst streamDestructionSupported = 'destroy' in stream__WEBPACK_IMPORTED_MODULE_0__.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parse_url(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parse_url(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parse_url(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof stream__WEBPACK_IMPORTED_MODULE_0__.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = stream__WEBPACK_IMPORTED_MODULE_0__.PassThrough;\nconst resolve_url = url__WEBPACK_IMPORTED_MODULE_2__.resolve;\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https__WEBPACK_IMPORTED_MODULE_3__ : http__WEBPACK_IMPORTED_MODULE_1__).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof stream__WEBPACK_IMPORTED_MODULE_0__.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\t\t\tfinalize();\n\t\t});\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tconst locationURL = location === null ? null : resolve_url(request.url, location);\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib__WEBPACK_IMPORTED_MODULE_4__.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib__WEBPACK_IMPORTED_MODULE_4__.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_4__.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_4__.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_4__.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib__WEBPACK_IMPORTED_MODULE_4__.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_4__.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (fetch);\n\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/node-fetch/lib/index.mjs?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Headers\", function() { return Headers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Request\", function() { return Request; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Response\", function() { return Response; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FetchError\", function() { return FetchError; });\n/* harmony import */ var stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! stream */ \"stream\");\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! http */ \"http\");\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! url */ \"url\");\n/* harmony import */ var whatwg_url__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! whatwg-url */ \"./node_modules/whatwg-url/lib/public-api.js\");\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! https */ \"https\");\n/* harmony import */ var zlib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! zlib */ \"zlib\");\n\n\n\n\n\n\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = stream__WEBPACK_IMPORTED_MODULE_0__.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = require('encoding').convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = stream__WEBPACK_IMPORTED_MODULE_0__.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof stream__WEBPACK_IMPORTED_MODULE_0__) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof stream__WEBPACK_IMPORTED_MODULE_0__) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof stream__WEBPACK_IMPORTED_MODULE_0__)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http__WEBPACK_IMPORTED_MODULE_1__.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\nconst URL = url__WEBPACK_IMPORTED_MODULE_2__.URL || whatwg_url__WEBPACK_IMPORTED_MODULE_3__.URL;\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = url__WEBPACK_IMPORTED_MODULE_2__.parse;\nconst format_url = url__WEBPACK_IMPORTED_MODULE_2__.format;\n\n/**\n * Wrapper around `new URL` to handle arbitrary URLs\n *\n * @param {string} urlStr\n * @return {void}\n */\nfunction parseURL(urlStr) {\n\t/*\n \tCheck whether the URL is absolute or not\n \t\tScheme: https://tools.ietf.org/html/rfc3986#section-3.1\n \tAbsolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\n */\n\tif (/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.exec(urlStr)) {\n\t\turlStr = new URL(urlStr).toString();\n\t}\n\n\t// Fallback to old implementation for arbitrary URLs\n\treturn parse_url(urlStr);\n}\n\nconst streamDestructionSupported = 'destroy' in stream__WEBPACK_IMPORTED_MODULE_0__.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parseURL(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parseURL(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parseURL(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof stream__WEBPACK_IMPORTED_MODULE_0__.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\nconst URL$1 = url__WEBPACK_IMPORTED_MODULE_2__.URL || whatwg_url__WEBPACK_IMPORTED_MODULE_3__.URL;\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = stream__WEBPACK_IMPORTED_MODULE_0__.PassThrough;\n\nconst isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {\n\tconst orig = new URL$1(original).hostname;\n\tconst dest = new URL$1(destination).hostname;\n\n\treturn orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);\n};\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https__WEBPACK_IMPORTED_MODULE_4__ : http__WEBPACK_IMPORTED_MODULE_1__).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof stream__WEBPACK_IMPORTED_MODULE_0__.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\t\t\tfinalize();\n\t\t});\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL$1(location, request.url).toString();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOpts.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib__WEBPACK_IMPORTED_MODULE_5__.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib__WEBPACK_IMPORTED_MODULE_5__.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_5__.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_5__.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_5__.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib__WEBPACK_IMPORTED_MODULE_5__.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib__WEBPACK_IMPORTED_MODULE_5__.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (fetch);\n\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/node-fetch/lib/index.mjs?"); /***/ }), @@ -774,15 +807,15 @@ eval("\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vit /***/ }), -/***/ "./node_modules/process-nextick-args/index.js": -/*!****************************************************!*\ - !*** ./node_modules/process-nextick-args/index.js ***! - \****************************************************/ +/***/ "./node_modules/readable-stream/errors.js": +/*!************************************************!*\ + !*** ./node_modules/readable-stream/errors.js ***! + \************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nif (typeof process === 'undefined' ||\n !process.version ||\n process.version.indexOf('v0.') === 0 ||\n process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\n module.exports = { nextTick: nextTick };\n} else {\n module.exports = process\n}\n\nfunction nextTick(fn, arg1, arg2, arg3) {\n if (typeof fn !== 'function') {\n throw new TypeError('\"callback\" argument must be a function');\n }\n var len = arguments.length;\n var args, i;\n switch (len) {\n case 0:\n case 1:\n return process.nextTick(fn);\n case 2:\n return process.nextTick(function afterTickOne() {\n fn.call(null, arg1);\n });\n case 3:\n return process.nextTick(function afterTickTwo() {\n fn.call(null, arg1, arg2);\n });\n case 4:\n return process.nextTick(function afterTickThree() {\n fn.call(null, arg1, arg2, arg3);\n });\n default:\n args = new Array(len - 1);\n i = 0;\n while (i < args.length) {\n args[i++] = arguments[i];\n }\n return process.nextTick(function afterTick() {\n fn.apply(null, args);\n });\n }\n}\n\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/process-nextick-args/index.js?"); +eval("\n\nconst codes = {};\n\nfunction createErrorType(code, message, Base) {\n if (!Base) {\n Base = Error\n }\n\n function getMessage (arg1, arg2, arg3) {\n if (typeof message === 'string') {\n return message\n } else {\n return message(arg1, arg2, arg3)\n }\n }\n\n class NodeError extends Base {\n constructor (arg1, arg2, arg3) {\n super(getMessage(arg1, arg2, arg3));\n }\n }\n\n NodeError.prototype.name = Base.name;\n NodeError.prototype.code = code;\n\n codes[code] = NodeError;\n}\n\n// https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js\nfunction oneOf(expected, thing) {\n if (Array.isArray(expected)) {\n const len = expected.length;\n expected = expected.map((i) => String(i));\n if (len > 2) {\n return `one of ${thing} ${expected.slice(0, len - 1).join(', ')}, or ` +\n expected[len - 1];\n } else if (len === 2) {\n return `one of ${thing} ${expected[0]} or ${expected[1]}`;\n } else {\n return `of ${thing} ${expected[0]}`;\n }\n } else {\n return `of ${thing} ${String(expected)}`;\n }\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith\nfunction startsWith(str, search, pos) {\n\treturn str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\nfunction endsWith(str, search, this_len) {\n\tif (this_len === undefined || this_len > str.length) {\n\t\tthis_len = str.length;\n\t}\n\treturn str.substring(this_len - search.length, this_len) === search;\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes\nfunction includes(str, search, start) {\n if (typeof start !== 'number') {\n start = 0;\n }\n\n if (start + search.length > str.length) {\n return false;\n } else {\n return str.indexOf(search, start) !== -1;\n }\n}\n\ncreateErrorType('ERR_INVALID_OPT_VALUE', function (name, value) {\n return 'The value \"' + value + '\" is invalid for option \"' + name + '\"'\n}, TypeError);\ncreateErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {\n // determiner: 'must be' or 'must not be'\n let determiner;\n if (typeof expected === 'string' && startsWith(expected, 'not ')) {\n determiner = 'must not be';\n expected = expected.replace(/^not /, '');\n } else {\n determiner = 'must be';\n }\n\n let msg;\n if (endsWith(name, ' argument')) {\n // For cases like 'first argument'\n msg = `The ${name} ${determiner} ${oneOf(expected, 'type')}`;\n } else {\n const type = includes(name, '.') ? 'property' : 'argument';\n msg = `The \"${name}\" ${type} ${determiner} ${oneOf(expected, 'type')}`;\n }\n\n msg += `. Received type ${typeof actual}`;\n return msg;\n}, TypeError);\ncreateErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF');\ncreateErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) {\n return 'The ' + name + ' method is not implemented'\n});\ncreateErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close');\ncreateErrorType('ERR_STREAM_DESTROYED', function (name) {\n return 'Cannot call ' + name + ' after a stream was destroyed';\n});\ncreateErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');\ncreateErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable');\ncreateErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end');\ncreateErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\ncreateErrorType('ERR_UNKNOWN_ENCODING', function (arg) {\n return 'Unknown encoding: ' + arg\n}, TypeError);\ncreateErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\n\nmodule.exports.codes = codes;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/errors.js?"); /***/ }), @@ -794,7 +827,7 @@ eval("\n\nif (typeof process === 'undefined' ||\n !process.version ||\n pr /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\n/**/\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }return keys;\n};\n/**/\n\nmodule.exports = Duplex;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\");\n/**/\n\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\n\nutil.inherits(Duplex, Readable);\n\n{\n // avoid scope creep, the keys array can then be collected\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\n\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n\n Readable.call(this, options);\n Writable.call(this, options);\n\n if (options && options.readable === false) this.readable = false;\n\n if (options && options.writable === false) this.writable = false;\n\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\n\n this.once('end', onend);\n}\n\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// the no-half-open enforcer\nfunction onend() {\n // if we allow half-open state, or if the writable side ended,\n // then we're ok.\n if (this.allowHalfOpen || this._writableState.ended) return;\n\n // no more data can be written.\n // But allow more writes to happen in this tick.\n pna.nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n\nDuplex.prototype._destroy = function (err, cb) {\n this.push(null);\n this.end();\n\n pna.nextTick(cb, err);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// a duplex stream is just a stream that is both readable and writable.\n// Since JS doesn't have multiple prototypal inheritance, this class\n// prototypally inherits from Readable, and then parasitically from\n// Writable.\n\n/**/\n\nvar objectKeys = Object.keys || function (obj) {\n var keys = [];\n\n for (var key in obj) {\n keys.push(key);\n }\n\n return keys;\n};\n/**/\n\n\nmodule.exports = Duplex;\n\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\n\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\")(Duplex, Readable);\n\n{\n // Allow the keys array to be GC'ed.\n var keys = objectKeys(Writable.prototype);\n\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\n }\n}\n\nfunction Duplex(options) {\n if (!(this instanceof Duplex)) return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n this.allowHalfOpen = true;\n\n if (options) {\n if (options.readable === false) this.readable = false;\n if (options.writable === false) this.writable = false;\n\n if (options.allowHalfOpen === false) {\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n }\n}\n\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\nObject.defineProperty(Duplex.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n}); // the no-half-open enforcer\n\nfunction onend() {\n // If the writable side ended, then we're ok.\n if (this._writableState.ended) return; // no more data can be written.\n // But allow more writes to happen in this tick.\n\n process.nextTick(onEndNT, this);\n}\n\nfunction onEndNT(self) {\n self.end();\n}\n\nObject.defineProperty(Duplex.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined || this._writableState === undefined) {\n return false;\n }\n\n return this._readableState.destroyed && this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (this._readableState === undefined || this._writableState === undefined) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n\n this._readableState.destroyed = value;\n this._writableState.destroyed = value;\n }\n});\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?"); /***/ }), @@ -806,7 +839,7 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n\n\nmodule.exports = PassThrough;\n\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\");\n/**/\n\nutil.inherits(PassThrough, Transform);\n\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n\n Transform.call(this, options);\n}\n\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// a passthrough stream.\n// basically just the most minimal sort of Transform stream.\n// Every written chunk gets output as-is.\n\n\nmodule.exports = PassThrough;\n\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\")(PassThrough, Transform);\n\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough)) return new PassThrough(options);\n Transform.call(this, options);\n}\n\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\n cb(null, chunk);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?"); /***/ }), @@ -818,7 +851,7 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Readable;\n\n/**/\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\");\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n\n/**/\nvar EE = __webpack_require__(/*! events */ \"events\").EventEmitter;\n\nvar EElistenerCount = function (emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/readable-stream/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\");\n/**/\n\n/**/\nvar debugUtil = __webpack_require__(/*! util */ \"util\");\nvar debug = void 0;\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function () {};\n}\n/**/\n\nvar BufferList = __webpack_require__(/*! ./internal/streams/BufferList */ \"./node_modules/readable-stream/lib/internal/streams/BufferList.js\");\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\nvar StringDecoder;\n\nutil.inherits(Readable, Stream);\n\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\n\n // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\n\nfunction ReadableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\n\n // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n var hwm = options.highWaterMark;\n var readableHwm = options.readableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n\n // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n this.sync = true;\n\n // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // the number of writers that are awaiting a drain event in .pipe()s\n this.awaitDrain = 0;\n\n // if true, a maybeReadMore has been scheduled\n this.readingMore = false;\n\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\n\nfunction Readable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n if (!(this instanceof Readable)) return new Readable(options);\n\n this._readableState = new ReadableState(options, this);\n\n // legacy\n this.readable = true;\n\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n\n Stream.call(this);\n}\n\nObject.defineProperty(Readable.prototype, 'destroyed', {\n get: function () {\n if (this._readableState === undefined) {\n return false;\n }\n return this._readableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._readableState.destroyed = value;\n }\n});\n\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\nReadable.prototype._destroy = function (err, cb) {\n this.push(null);\n cb(err);\n};\n\n// Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n};\n\n// Unshift should *always* be something directly out of read()\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\n\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n var state = stream._readableState;\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (addToFront) {\n if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n stream.emit('error', new Error('stream.push() after EOF'));\n } else {\n state.reading = false;\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n }\n\n return needMoreData(state);\n}\n\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n\n if (state.needReadable) emitReadable(stream);\n }\n maybeReadMore(stream, state);\n}\n\nfunction chunkInvalid(state, chunk) {\n var er;\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n}\n\n// if it's past the high water mark, we can push in some more.\n// Also, if we have no data yet, we can stand some\n// more bytes. This is to work around cases where hwm=0,\n// such as the repl. Also, if the push() triggered a\n// readable event, and the user called read(largeNumber) such that\n// needReadable was set, then we ought to push more, so that another\n// 'readable' event will be triggered.\nfunction needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n}\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n};\n\n// backwards compatibility.\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n};\n\n// Don't raise the hwm > 8MB\nvar MAX_HWM = 0x800000;\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n}\n\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n }\n // If we're asking for more than the current hwm, then raise the hwm.\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n;\n // Don't have enough\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n return state.length;\n}\n\n// you can override either this method, or the async _read(n) below.\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n\n if (n !== 0) state.emittedReadable = false;\n\n // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state);\n\n // if we've ended, and we're now clear, then finish it up.\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n }\n\n // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n\n // if we need a readable event, then we need to do some reading.\n var doRead = state.needReadable;\n debug('need readable', doRead);\n\n // if we currently have less than the highWaterMark, then also read some\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n\n // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n // if the length is currently zero, then we *need* a readable event.\n if (state.length === 0) state.needReadable = true;\n // call internal read method\n this._read(state.highWaterMark);\n state.sync = false;\n // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n } else {\n state.length -= n;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true;\n\n // If we tried to read() past the EOF, then emit end on the next tick.\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n\n return ret;\n};\n\nfunction onEofChunk(stream, state) {\n if (state.ended) return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n\n // emit 'readable' now to make sure it gets picked up.\n emitReadable(stream);\n}\n\n// Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\nfunction emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);\n }\n}\n\nfunction emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n}\n\n// at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n pna.nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n // didn't get any data, stop spinning.\n break;else len = state.length;\n }\n state.readingMore = false;\n}\n\n// abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\nReadable.prototype._read = function (n) {\n this.emit('error', new Error('_read() is not implemented'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);\n\n dest.on('unpipe', onunpipe);\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n }\n\n // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n // cleanup event handlers once the pipe is broken\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n\n cleanedUp = true;\n\n // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n // If the user pushes more data while we're writing to dest then we'll end up\n // in ondata again. However, we only want to increase awaitDrain once because\n // dest will only emit one 'drain' event for the multiple writes.\n // => Introduce a guard on increasing awaitDrain.\n var increasedAwaitDrain = false;\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n increasedAwaitDrain = false;\n var ret = dest.write(chunk);\n if (false === ret && !increasedAwaitDrain) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n increasedAwaitDrain = true;\n }\n src.pause();\n }\n }\n\n // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);\n }\n\n // Make sure our error handler is attached before userland ones.\n prependListener(dest, 'error', onerror);\n\n // Both close and finish should trigger unpipe, but only once.\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n\n // tell the dest that it's being piped to\n dest.emit('pipe', src);\n\n // start the flow if it hasn't been started already.\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function () {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = { hasUnpiped: false };\n\n // if we're not piping anywhere, then do nothing.\n if (state.pipesCount === 0) return this;\n\n // just one destination. most common case.\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n\n if (!dest) dest = state.pipes;\n\n // got a match.\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n }\n\n // slow case. multiple pipe destinations.\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, unpipeInfo);\n }return this;\n }\n\n // try to find the right one.\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n\n dest.emit('unpipe', this, unpipeInfo);\n\n return this;\n};\n\n// set up data events if they are asked for\n// Ensure readable listeners eventually get something\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n\n if (ev === 'data') {\n // Start flowing on next tick if stream isn't explicitly paused\n if (this._readableState.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n var state = this._readableState;\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.emittedReadable = false;\n if (!state.reading) {\n pna.nextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this);\n }\n }\n }\n\n return res;\n};\nReadable.prototype.addListener = Readable.prototype.on;\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n}\n\n// pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\nReadable.prototype.resume = function () {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n pna.nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n state.awaitDrain = 0;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n while (state.flowing && stream.read() !== null) {}\n}\n\n// wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n\n var state = this._readableState;\n var paused = false;\n\n stream.on('end', function () {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n\n _this.push(null);\n });\n\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk);\n\n // don't skip over falsy values in objectMode\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = _this.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n\n // proxy all the other methods.\n // important when wrapping filters and duplexes.\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function (method) {\n return function () {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n\n // proxy certain important events.\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n }\n\n // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n this._read = function (n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return this;\n};\n\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._readableState.highWaterMark;\n }\n});\n\n// exposed for testing purposes only.\nReadable._fromList = fromList;\n\n// Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = fromListPartial(n, state.buffer, state.decoder);\n }\n\n return ret;\n}\n\n// Extracts only enough buffered data to satisfy the amount requested.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction fromListPartial(n, list, hasStrings) {\n var ret;\n if (n < list.head.data.length) {\n // slice is the same for buffers and strings\n ret = list.head.data.slice(0, n);\n list.head.data = list.head.data.slice(n);\n } else if (n === list.head.data.length) {\n // first chunk is a perfect match\n ret = list.shift();\n } else {\n // result spans more than one buffer\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\n }\n return ret;\n}\n\n// Copies a specified amount of characters from the list of buffered data\n// chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBufferString(n, list) {\n var p = list.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = str.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\n// Copies a specified amount of bytes from the list of buffered data chunks.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\nfunction copyFromBuffer(n, list) {\n var ret = Buffer.allocUnsafe(n);\n var p = list.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) list.head = p.next;else list.head = list.tail = null;\n } else {\n list.head = p;\n p.data = buf.slice(nb);\n }\n break;\n }\n ++c;\n }\n list.length -= c;\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n\n // If we get here before consuming all the bytes, then that is a\n // bug in node. Should never happen.\n if (state.length > 0) throw new Error('\"endReadable()\" called on non-empty stream');\n\n if (!state.endEmitted) {\n state.ended = true;\n pna.nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n // Check that we didn't get one last unshift.\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n return -1;\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\nmodule.exports = Readable;\n/**/\n\nvar Duplex;\n/**/\n\nReadable.ReadableState = ReadableState;\n/**/\n\nvar EE = __webpack_require__(/*! events */ \"events\").EventEmitter;\n\nvar EElistenerCount = function EElistenerCount(emitter, type) {\n return emitter.listeners(type).length;\n};\n/**/\n\n/**/\n\n\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream.js\");\n/**/\n\n\nvar Buffer = __webpack_require__(/*! buffer */ \"buffer\").Buffer;\n\nvar OurUint8Array = global.Uint8Array || function () {};\n\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\n\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n/**/\n\n\nvar debugUtil = __webpack_require__(/*! util */ \"util\");\n\nvar debug;\n\nif (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n} else {\n debug = function debug() {};\n}\n/**/\n\n\nvar BufferList = __webpack_require__(/*! ./internal/streams/buffer_list */ \"./node_modules/readable-stream/lib/internal/streams/buffer_list.js\");\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \"./node_modules/readable-stream/lib/internal/streams/state.js\"),\n getHighWaterMark = _require.getHighWaterMark;\n\nvar _require$codes = __webpack_require__(/*! ../errors */ \"./node_modules/readable-stream/errors.js\").codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance.\n\n\nvar StringDecoder;\nvar createReadableStreamAsyncIterator;\nvar from;\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\")(Readable, Stream);\n\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\n\nfunction prependListener(emitter, event, fn) {\n // Sadly this is not cacheable as some libraries bundle their own\n // event emitter implementation with them.\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any\n // userland ones. NEVER DO THIS. This is here only because this code needs\n // to continue to work with older versions of Node.js that do not include\n // the prependListener() method. The goal is to eventually remove this hack.\n\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\n}\n\nfunction ReadableState(options, stream, isDuplex) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n options = options || {}; // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to\n // make all the buffer merging and length checks go away\n\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer\n // Note: 0 is a valid value, means \"don't call _read preemptively ever\"\n\n this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the\n // linked list can remove elements from the beginning faster than\n // array.shift()\n\n this.buffer = new BufferList();\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted\n // immediately, or on a later tick. We set this to true at first, because\n // any actions that shouldn't happen until \"later\" should generally also\n // not happen before the first read call.\n\n this.sync = true; // whenever we return null, then we set a flag to say\n // that we're awaiting a 'readable' event emission.\n\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n this.paused = true; // Should close be emitted on destroy. Defaults to true.\n\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish')\n\n this.autoDestroy = !!options.autoDestroy; // has it been destroyed\n\n this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s\n\n this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled\n\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n\n if (options.encoding) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n}\n\nfunction Readable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside\n // the ReadableState constructor, at least with V8 6.5\n\n var isDuplex = this instanceof Duplex;\n this._readableState = new ReadableState(options, this, isDuplex); // legacy\n\n this.readable = true;\n\n if (options) {\n if (typeof options.read === 'function') this._read = options.read;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n }\n\n Stream.call(this);\n}\n\nObject.defineProperty(Readable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._readableState === undefined) {\n return false;\n }\n\n return this._readableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._readableState) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n\n this._readableState.destroyed = value;\n }\n});\nReadable.prototype.destroy = destroyImpl.destroy;\nReadable.prototype._undestroy = destroyImpl.undestroy;\n\nReadable.prototype._destroy = function (err, cb) {\n cb(err);\n}; // Manually shove something into the read() buffer.\n// This returns true if the highWaterMark has not been hit yet,\n// similar to how Writable.write() returns true if you should\n// write() some more.\n\n\nReadable.prototype.push = function (chunk, encoding) {\n var state = this._readableState;\n var skipChunkCheck;\n\n if (!state.objectMode) {\n if (typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n\n if (encoding !== state.encoding) {\n chunk = Buffer.from(chunk, encoding);\n encoding = '';\n }\n\n skipChunkCheck = true;\n }\n } else {\n skipChunkCheck = true;\n }\n\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\n}; // Unshift should *always* be something directly out of read()\n\n\nReadable.prototype.unshift = function (chunk) {\n return readableAddChunk(this, chunk, null, true, false);\n};\n\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n debug('readableAddChunk', chunk);\n var state = stream._readableState;\n\n if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else {\n var er;\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\n\n if (er) {\n errorOrDestroy(stream, er);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (addToFront) {\n if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);\n } else if (state.ended) {\n errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());\n } else if (state.destroyed) {\n return false;\n } else {\n state.reading = false;\n\n if (state.decoder && !encoding) {\n chunk = state.decoder.write(chunk);\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\n } else {\n addChunk(stream, state, chunk, false);\n }\n }\n } else if (!addToFront) {\n state.reading = false;\n maybeReadMore(stream, state);\n }\n } // We can push more data if we are below the highWaterMark.\n // Also, if we have no data yet, we can stand some more bytes.\n // This is to work around cases where hwm=0, such as the repl.\n\n\n return !state.ended && (state.length < state.highWaterMark || state.length === 0);\n}\n\nfunction addChunk(stream, state, chunk, addToFront) {\n if (state.flowing && state.length === 0 && !state.sync) {\n state.awaitDrain = 0;\n stream.emit('data', chunk);\n } else {\n // update the buffer info.\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\n if (state.needReadable) emitReadable(stream);\n }\n\n maybeReadMore(stream, state);\n}\n\nfunction chunkInvalid(state, chunk) {\n var er;\n\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);\n }\n\n return er;\n}\n\nReadable.prototype.isPaused = function () {\n return this._readableState.flowing === false;\n}; // backwards compatibility.\n\n\nReadable.prototype.setEncoding = function (enc) {\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \"./node_modules/string_decoder/lib/string_decoder.js\").StringDecoder;\n var decoder = new StringDecoder(enc);\n this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8\n\n this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers:\n\n var p = this._readableState.buffer.head;\n var content = '';\n\n while (p !== null) {\n content += decoder.write(p.data);\n p = p.next;\n }\n\n this._readableState.buffer.clear();\n\n if (content !== '') this._readableState.buffer.push(content);\n this._readableState.length = content.length;\n return this;\n}; // Don't raise the hwm > 1GB\n\n\nvar MAX_HWM = 0x40000000;\n\nfunction computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.\n n = MAX_HWM;\n } else {\n // Get the next highest power of 2 to prevent increasing hwm excessively in\n // tiny amounts\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n\n return n;\n} // This function is designed to be inlinable, so please take care when making\n// changes to the function body.\n\n\nfunction howMuchToRead(n, state) {\n if (n <= 0 || state.length === 0 && state.ended) return 0;\n if (state.objectMode) return 1;\n\n if (n !== n) {\n // Only flow one buffer at a time\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\n } // If we're asking for more than the current hwm, then raise the hwm.\n\n\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\n if (n <= state.length) return n; // Don't have enough\n\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n }\n\n return state.length;\n} // you can override either this method, or the async _read(n) below.\n\n\nReadable.prototype.read = function (n) {\n debug('read', n);\n n = parseInt(n, 10);\n var state = this._readableState;\n var nOrig = n;\n if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we\n // already have a bunch of data in the buffer, then just trigger\n // the 'readable' event and move on.\n\n if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\n return null;\n }\n\n n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up.\n\n if (n === 0 && state.ended) {\n if (state.length === 0) endReadable(this);\n return null;\n } // All the actual chunk generation logic needs to be\n // *below* the call to _read. The reason is that in certain\n // synthetic stream cases, such as passthrough streams, _read\n // may be a completely synchronous operation which may change\n // the state of the read buffer, providing enough data when\n // before there was *not* enough.\n //\n // So, the steps are:\n // 1. Figure out what the state of things will be after we do\n // a read from the buffer.\n //\n // 2. If that resulting state will trigger a _read, then call _read.\n // Note that this may be asynchronous, or synchronous. Yes, it is\n // deeply ugly to write APIs this way, but that still doesn't mean\n // that the Readable class should behave improperly, as streams are\n // designed to be sync/async agnostic.\n // Take note if the _read call is sync or async (ie, if the read call\n // has returned yet), so that we know whether or not it's safe to emit\n // 'readable' etc.\n //\n // 3. Actually pull the requested chunks out of the buffer and return.\n // if we need a readable event, then we need to do some reading.\n\n\n var doRead = state.needReadable;\n debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some\n\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n } // however, if we've ended, then there's no point, and if we're already\n // reading, then it's unnecessary.\n\n\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n } else if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true; // if the length is currently zero, then we *need* a readable event.\n\n if (state.length === 0) state.needReadable = true; // call internal read method\n\n this._read(state.highWaterMark);\n\n state.sync = false; // If _read pushed data synchronously, then `reading` will be false,\n // and we need to re-evaluate how much data we can return to the user.\n\n if (!state.reading) n = howMuchToRead(nOrig, state);\n }\n\n var ret;\n if (n > 0) ret = fromList(n, state);else ret = null;\n\n if (ret === null) {\n state.needReadable = state.length <= state.highWaterMark;\n n = 0;\n } else {\n state.length -= n;\n state.awaitDrain = 0;\n }\n\n if (state.length === 0) {\n // If we have nothing in the buffer, then we want to know\n // as soon as we *do* get something into the buffer.\n if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick.\n\n if (nOrig !== n && state.ended) endReadable(this);\n }\n\n if (ret !== null) this.emit('data', ret);\n return ret;\n};\n\nfunction onEofChunk(stream, state) {\n debug('onEofChunk');\n if (state.ended) return;\n\n if (state.decoder) {\n var chunk = state.decoder.end();\n\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n\n state.ended = true;\n\n if (state.sync) {\n // if we are sync, wait until next tick to emit the data.\n // Otherwise we risk emitting data in the flow()\n // the readable code triggers during a read() call\n emitReadable(stream);\n } else {\n // emit 'readable' now to make sure it gets picked up.\n state.needReadable = false;\n\n if (!state.emittedReadable) {\n state.emittedReadable = true;\n emitReadable_(stream);\n }\n }\n} // Don't emit readable right away in sync mode, because this can trigger\n// another read() call => stack overflow. This way, it might trigger\n// a nextTick recursion warning, but that's not so bad.\n\n\nfunction emitReadable(stream) {\n var state = stream._readableState;\n debug('emitReadable', state.needReadable, state.emittedReadable);\n state.needReadable = false;\n\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n process.nextTick(emitReadable_, stream);\n }\n}\n\nfunction emitReadable_(stream) {\n var state = stream._readableState;\n debug('emitReadable_', state.destroyed, state.length, state.ended);\n\n if (!state.destroyed && (state.length || state.ended)) {\n stream.emit('readable');\n state.emittedReadable = false;\n } // The stream needs another readable event if\n // 1. It is not flowing, as the flow mechanism will take\n // care of it.\n // 2. It is not ended.\n // 3. It is below the highWaterMark, so we can schedule\n // another readable later.\n\n\n state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;\n flow(stream);\n} // at this point, the user has presumably seen the 'readable' event,\n// and called read() to consume some data. that may have triggered\n// in turn another _read(n) call, in which case reading = true if\n// it's in progress.\n// However, if we're not ended, or reading, and the length < hwm,\n// then go ahead and try to read some more preemptively.\n\n\nfunction maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n process.nextTick(maybeReadMore_, stream, state);\n }\n}\n\nfunction maybeReadMore_(stream, state) {\n // Attempt to read more data if we should.\n //\n // The conditions for reading more data are (one of):\n // - Not enough data buffered (state.length < state.highWaterMark). The loop\n // is responsible for filling the buffer with enough data if such data\n // is available. If highWaterMark is 0 and we are not in the flowing mode\n // we should _not_ attempt to buffer any extra data. We'll get more data\n // when the stream consumer calls read() instead.\n // - No data in the buffer, and the stream is in flowing mode. In this mode\n // the loop below is responsible for ensuring read() is called. Failing to\n // call read here would abort the flow and there's no other mechanism for\n // continuing the flow if the stream consumer has just subscribed to the\n // 'data' event.\n //\n // In addition to the above conditions to keep reading data, the following\n // conditions prevent the data from being read:\n // - The stream has ended (state.ended).\n // - There is already a pending 'read' operation (state.reading). This is a\n // case where the the stream has called the implementation defined _read()\n // method, but they are processing the call asynchronously and have _not_\n // called push() with new data. In this case we skip performing more\n // read()s. The execution ends in this method again after the _read() ends\n // up calling push() with more data.\n while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {\n var len = state.length;\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length) // didn't get any data, stop spinning.\n break;\n }\n\n state.readingMore = false;\n} // abstract method. to be overridden in specific implementation classes.\n// call cb(er, data) where data is <= n in length.\n// for virtual (non-string, non-buffer) streams, \"length\" is somewhat\n// arbitrary, and perhaps not very meaningful.\n\n\nReadable.prototype._read = function (n) {\n errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()'));\n};\n\nReadable.prototype.pipe = function (dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n\n default:\n state.pipes.push(dest);\n break;\n }\n\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : unpipe;\n if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n\n function onunpipe(readable, unpipeInfo) {\n debug('onunpipe');\n\n if (readable === src) {\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\n unpipeInfo.hasUnpiped = true;\n cleanup();\n }\n }\n }\n\n function onend() {\n debug('onend');\n dest.end();\n } // when the dest drains, it reduces the awaitDrain counter\n // on the source. This would be more elegant with a .once()\n // handler in flow(), but adding and removing repeatedly is\n // too slow.\n\n\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n var cleanedUp = false;\n\n function cleanup() {\n debug('cleanup'); // cleanup event handlers once the pipe is broken\n\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', unpipe);\n src.removeListener('data', ondata);\n cleanedUp = true; // if the reader is waiting for a drain event from this\n // specific writer, then it would cause it to never start\n // flowing again.\n // So, if this is awaiting a drain, then we just call it now.\n // If we don't know, then assume that we are waiting for one.\n\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\n }\n\n src.on('data', ondata);\n\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n debug('dest.write', ret);\n\n if (ret === false) {\n // If the user unpiped during `dest.write()`, it is possible\n // to get stuck in a permanently paused state if that write\n // also returned false.\n // => Check whether `dest` is still a piping destination.\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\n debug('false write response, pause', state.awaitDrain);\n state.awaitDrain++;\n }\n\n src.pause();\n }\n } // if the dest has an error, then stop piping into it.\n // however, don't suppress the throwing behavior for this.\n\n\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er);\n } // Make sure our error handler is attached before userland ones.\n\n\n prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once.\n\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n\n dest.once('close', onclose);\n\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n\n dest.once('finish', onfinish);\n\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n } // tell the dest that it's being piped to\n\n\n dest.emit('pipe', src); // start the flow if it hasn't been started already.\n\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n\n return dest;\n};\n\nfunction pipeOnDrain(src) {\n return function pipeOnDrainFunctionResult() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain) state.awaitDrain--;\n\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n}\n\nReadable.prototype.unpipe = function (dest) {\n var state = this._readableState;\n var unpipeInfo = {\n hasUnpiped: false\n }; // if we're not piping anywhere, then do nothing.\n\n if (state.pipesCount === 0) return this; // just one destination. most common case.\n\n if (state.pipesCount === 1) {\n // passed in one, but it's not the right one.\n if (dest && dest !== state.pipes) return this;\n if (!dest) dest = state.pipes; // got a match.\n\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest) dest.emit('unpipe', this, unpipeInfo);\n return this;\n } // slow case. multiple pipe destinations.\n\n\n if (!dest) {\n // remove all.\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n\n for (var i = 0; i < len; i++) {\n dests[i].emit('unpipe', this, {\n hasUnpiped: false\n });\n }\n\n return this;\n } // try to find the right one.\n\n\n var index = indexOf(state.pipes, dest);\n if (index === -1) return this;\n state.pipes.splice(index, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\n dest.emit('unpipe', this, unpipeInfo);\n return this;\n}; // set up data events if they are asked for\n// Ensure readable listeners eventually get something\n\n\nReadable.prototype.on = function (ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n var state = this._readableState;\n\n if (ev === 'data') {\n // update readableListening so that resume() may be a no-op\n // a few lines down. This is needed to support once('readable').\n state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused\n\n if (state.flowing !== false) this.resume();\n } else if (ev === 'readable') {\n if (!state.endEmitted && !state.readableListening) {\n state.readableListening = state.needReadable = true;\n state.flowing = false;\n state.emittedReadable = false;\n debug('on readable', state.length, state.reading);\n\n if (state.length) {\n emitReadable(this);\n } else if (!state.reading) {\n process.nextTick(nReadingNextTick, this);\n }\n }\n }\n\n return res;\n};\n\nReadable.prototype.addListener = Readable.prototype.on;\n\nReadable.prototype.removeListener = function (ev, fn) {\n var res = Stream.prototype.removeListener.call(this, ev, fn);\n\n if (ev === 'readable') {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n\n return res;\n};\n\nReadable.prototype.removeAllListeners = function (ev) {\n var res = Stream.prototype.removeAllListeners.apply(this, arguments);\n\n if (ev === 'readable' || ev === undefined) {\n // We need to check if there is someone still listening to\n // readable and reset the state. However this needs to happen\n // after readable has been emitted but before I/O (nextTick) to\n // support once('readable', fn) cycles. This means that calling\n // resume within the same tick will have no\n // effect.\n process.nextTick(updateReadableListening, this);\n }\n\n return res;\n};\n\nfunction updateReadableListening(self) {\n var state = self._readableState;\n state.readableListening = self.listenerCount('readable') > 0;\n\n if (state.resumeScheduled && !state.paused) {\n // flowing needs to be set to true now, otherwise\n // the upcoming resume will not flow.\n state.flowing = true; // crude way to check if we should resume\n } else if (self.listenerCount('data') > 0) {\n self.resume();\n }\n}\n\nfunction nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n} // pause() and resume() are remnants of the legacy readable stream API\n// If the user uses them, then switch into old mode.\n\n\nReadable.prototype.resume = function () {\n var state = this._readableState;\n\n if (!state.flowing) {\n debug('resume'); // we flow only if there is no one listening\n // for readable, but we still have to call\n // resume()\n\n state.flowing = !state.readableListening;\n resume(this, state);\n }\n\n state.paused = false;\n return this;\n};\n\nfunction resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n process.nextTick(resume_, stream, state);\n }\n}\n\nfunction resume_(stream, state) {\n debug('resume', state.reading);\n\n if (!state.reading) {\n stream.read(0);\n }\n\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading) stream.read(0);\n}\n\nReadable.prototype.pause = function () {\n debug('call pause flowing=%j', this._readableState.flowing);\n\n if (this._readableState.flowing !== false) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n\n this._readableState.paused = true;\n return this;\n};\n\nfunction flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n\n while (state.flowing && stream.read() !== null) {\n ;\n }\n} // wrap an old-style stream as the async data source.\n// This is *not* part of the readable stream interface.\n// It is an ugly unfortunate mess of history.\n\n\nReadable.prototype.wrap = function (stream) {\n var _this = this;\n\n var state = this._readableState;\n var paused = false;\n stream.on('end', function () {\n debug('wrapped end');\n\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) _this.push(chunk);\n }\n\n _this.push(null);\n });\n stream.on('data', function (chunk) {\n debug('wrapped data');\n if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode\n\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\n\n var ret = _this.push(chunk);\n\n if (!ret) {\n paused = true;\n stream.pause();\n }\n }); // proxy all the other methods.\n // important when wrapping filters and duplexes.\n\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function methodWrap(method) {\n return function methodWrapReturnFunction() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n } // proxy certain important events.\n\n\n for (var n = 0; n < kProxyEvents.length; n++) {\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\n } // when we try to consume some more bytes, simply unpause the\n // underlying stream.\n\n\n this._read = function (n) {\n debug('wrapped _read', n);\n\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n\n return this;\n};\n\nif (typeof Symbol === 'function') {\n Readable.prototype[Symbol.asyncIterator] = function () {\n if (createReadableStreamAsyncIterator === undefined) {\n createReadableStreamAsyncIterator = __webpack_require__(/*! ./internal/streams/async_iterator */ \"./node_modules/readable-stream/lib/internal/streams/async_iterator.js\");\n }\n\n return createReadableStreamAsyncIterator(this);\n };\n}\n\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.highWaterMark;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState && this._readableState.buffer;\n }\n});\nObject.defineProperty(Readable.prototype, 'readableFlowing', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.flowing;\n },\n set: function set(state) {\n if (this._readableState) {\n this._readableState.flowing = state;\n }\n }\n}); // exposed for testing purposes only.\n\nReadable._fromList = fromList;\nObject.defineProperty(Readable.prototype, 'readableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._readableState.length;\n }\n}); // Pluck off n bytes from an array of buffers.\n// Length is the combined lengths of all the buffers in the list.\n// This function is designed to be inlinable, so please take care when making\n// changes to the function body.\n\nfunction fromList(n, state) {\n // nothing buffered\n if (state.length === 0) return null;\n var ret;\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\n // read it all, truncate the list\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length);\n state.buffer.clear();\n } else {\n // read part of list\n ret = state.buffer.consume(n, state.decoder);\n }\n return ret;\n}\n\nfunction endReadable(stream) {\n var state = stream._readableState;\n debug('endReadable', state.endEmitted);\n\n if (!state.endEmitted) {\n state.ended = true;\n process.nextTick(endReadableNT, state, stream);\n }\n}\n\nfunction endReadableNT(state, stream) {\n debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift.\n\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the writable side is ready for autoDestroy as well\n var wState = stream._writableState;\n\n if (!wState || wState.autoDestroy && wState.finished) {\n stream.destroy();\n }\n }\n }\n}\n\nif (typeof Symbol === 'function') {\n Readable.from = function (iterable, opts) {\n if (from === undefined) {\n from = __webpack_require__(/*! ./internal/streams/from */ \"./node_modules/readable-stream/lib/internal/streams/from.js\");\n }\n\n return from(Readable, iterable, opts);\n };\n}\n\nfunction indexOf(xs, x) {\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) return i;\n }\n\n return -1;\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?"); /***/ }), @@ -830,7 +863,7 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n\n\nmodule.exports = Transform;\n\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\");\n/**/\n\nutil.inherits(Transform, Duplex);\n\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n\n var cb = ts.writecb;\n\n if (!cb) {\n return this.emit('error', new Error('write callback called multiple times'));\n }\n\n ts.writechunk = null;\n ts.writecb = null;\n\n if (data != null) // single equals check for both `null` and `undefined`\n this.push(data);\n\n cb(er);\n\n var rs = this._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\n\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n\n Duplex.call(this, options);\n\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n };\n\n // start out asking for a readable event once data is transformed.\n this._readableState.needReadable = true;\n\n // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n\n if (typeof options.flush === 'function') this._flush = options.flush;\n }\n\n // When the writable side finishes, then flush out anything remaining.\n this.on('prefinish', prefinish);\n}\n\nfunction prefinish() {\n var _this = this;\n\n if (typeof this._flush === 'function') {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n};\n\n// This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\nTransform.prototype._transform = function (chunk, encoding, cb) {\n throw new Error('_transform() is not implemented');\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n};\n\n// Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nTransform.prototype._destroy = function (err, cb) {\n var _this2 = this;\n\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n _this2.emit('close');\n });\n};\n\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n\n if (data != null) // single equals check for both `null` and `undefined`\n stream.push(data);\n\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');\n\n if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');\n\n return stream.push(null);\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// a transform stream is a readable/writable stream where you do\n// something with the data. Sometimes it's called a \"filter\",\n// but that's not a great name for it, since that implies a thing where\n// some bits pass through, and others are simply ignored. (That would\n// be a valid example of a transform, of course.)\n//\n// While the output is causally related to the input, it's not a\n// necessarily symmetric or synchronous transformation. For example,\n// a zlib stream might take multiple plain-text writes(), and then\n// emit a single compressed chunk some time in the future.\n//\n// Here's how this works:\n//\n// The Transform stream has all the aspects of the readable and writable\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\n// internally, and returns false if there's a lot of pending writes\n// buffered up. When you call read(), that calls _read(n) until\n// there's enough pending readable data buffered up.\n//\n// In a transform stream, the written data is placed in a buffer. When\n// _read(n) is called, it transforms the queued up data, calling the\n// buffered _write cb's as it consumes chunks. If consuming a single\n// written chunk would result in multiple output chunks, then the first\n// outputted bit calls the readcb, and subsequent chunks just go into\n// the read buffer, and will cause it to emit 'readable' if necessary.\n//\n// This way, back-pressure is actually determined by the reading side,\n// since _read has to be called to start processing a new chunk. However,\n// a pathological inflate type of transform can cause excessive buffering\n// here. For example, imagine a stream where every byte of input is\n// interpreted as an integer from 0-255, and then results in that many\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\n// 1kb of data being output. In this case, you could write a very small\n// amount of input, and end up with a very large amount of output. In\n// such a pathological inflating mechanism, there'd be no way to tell\n// the system to stop doing the transform. A single 4MB write could\n// cause the system to run out of memory.\n//\n// However, even in such a pathological case, only a single written chunk\n// would be consumed, and then the rest would wait (un-transformed) until\n// the results of the previous transformed chunk were consumed.\n\n\nmodule.exports = Transform;\n\nvar _require$codes = __webpack_require__(/*! ../errors */ \"./node_modules/readable-stream/errors.js\").codes,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,\n ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;\n\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\")(Transform, Duplex);\n\nfunction afterTransform(er, data) {\n var ts = this._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n\n if (cb === null) {\n return this.emit('error', new ERR_MULTIPLE_CALLBACK());\n }\n\n ts.writechunk = null;\n ts.writecb = null;\n if (data != null) // single equals check for both `null` and `undefined`\n this.push(data);\n cb(er);\n var rs = this._readableState;\n rs.reading = false;\n\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n this._read(rs.highWaterMark);\n }\n}\n\nfunction Transform(options) {\n if (!(this instanceof Transform)) return new Transform(options);\n Duplex.call(this, options);\n this._transformState = {\n afterTransform: afterTransform.bind(this),\n needTransform: false,\n transforming: false,\n writecb: null,\n writechunk: null,\n writeencoding: null\n }; // start out asking for a readable event once data is transformed.\n\n this._readableState.needReadable = true; // we have implemented the _read method, and done the other things\n // that Readable wants before the first _read call, so unset the\n // sync guard flag.\n\n this._readableState.sync = false;\n\n if (options) {\n if (typeof options.transform === 'function') this._transform = options.transform;\n if (typeof options.flush === 'function') this._flush = options.flush;\n } // When the writable side finishes, then flush out anything remaining.\n\n\n this.on('prefinish', prefinish);\n}\n\nfunction prefinish() {\n var _this = this;\n\n if (typeof this._flush === 'function' && !this._readableState.destroyed) {\n this._flush(function (er, data) {\n done(_this, er, data);\n });\n } else {\n done(this, null, null);\n }\n}\n\nTransform.prototype.push = function (chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n}; // This is the part where you do stuff!\n// override this function in implementation classes.\n// 'chunk' is an input chunk.\n//\n// Call `push(newChunk)` to pass along transformed output\n// to the readable side. You may call 'push' zero or more times.\n//\n// Call `cb(err)` when you are done with this chunk. If you pass\n// an error, then that'll put the hurt on the whole operation. If you\n// never call cb(), then you'll never get another chunk.\n\n\nTransform.prototype._transform = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));\n};\n\nTransform.prototype._write = function (chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\n }\n}; // Doesn't matter what the args are here.\n// _transform does all the work.\n// That we got here means that the readable side wants more data.\n\n\nTransform.prototype._read = function (n) {\n var ts = this._transformState;\n\n if (ts.writechunk !== null && !ts.transforming) {\n ts.transforming = true;\n\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n // mark that we need a transform, so that any data that comes in\n // will get processed, now that we've asked for it.\n ts.needTransform = true;\n }\n};\n\nTransform.prototype._destroy = function (err, cb) {\n Duplex.prototype._destroy.call(this, err, function (err2) {\n cb(err2);\n });\n};\n\nfunction done(stream, er, data) {\n if (er) return stream.emit('error', er);\n if (data != null) // single equals check for both `null` and `undefined`\n stream.push(data); // TODO(BridgeAR): Write a test for these two error cases\n // if there's nothing in the write buffer, then that means\n // that nothing more will ever be provided\n\n if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();\n if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();\n return stream.push(null);\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?"); /***/ }), @@ -842,19 +875,31 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\nmodule.exports = Writable;\n\n/* */\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n}\n\n// It seems a linked list but it is not\n// there will be only 2 of these for each stream\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\nvar asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;\n/**/\n\n/**/\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n\n/**/\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \"./node_modules/core-util-is/lib/util.js\"));\nutil.inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\");\n/**/\n\n/**/\nvar internalUtil = {\n deprecate: __webpack_require__(/*! util-deprecate */ \"./node_modules/util-deprecate/node.js\")\n};\n/**/\n\n/**/\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream.js\");\n/**/\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/readable-stream/node_modules/safe-buffer/index.js\").Buffer;\nvar OurUint8Array = global.Uint8Array || function () {};\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\n/**/\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nutil.inherits(Writable, Stream);\n\nfunction nop() {}\n\nfunction WritableState(options, stream) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n options = options || {};\n\n // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream.\n // These options can be provided separately as readableXXX and writableXXX.\n var isDuplex = stream instanceof Duplex;\n\n // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n this.objectMode = !!options.objectMode;\n\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\n\n // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n var hwm = options.highWaterMark;\n var writableHwm = options.writableHighWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;\n\n // cast to ints.\n this.highWaterMark = Math.floor(this.highWaterMark);\n\n // if _final has been called\n this.finalCalled = false;\n\n // drain event flag.\n this.needDrain = false;\n // at the start of calling end()\n this.ending = false;\n // when end() has been called, and returned\n this.ended = false;\n // when 'finish' is emitted\n this.finished = false;\n\n // has it been destroyed\n this.destroyed = false;\n\n // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n\n // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n\n // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n this.length = 0;\n\n // a flag to see when we're in the middle of a write.\n this.writing = false;\n\n // when true all writes will be buffered until .uncork() call\n this.corked = 0;\n\n // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n this.sync = true;\n\n // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n this.bufferProcessing = false;\n\n // the callback that's passed to _write(chunk,cb)\n this.onwrite = function (er) {\n onwrite(stream, er);\n };\n\n // the callback that the user supplies to write(chunk,encoding,cb)\n this.writecb = null;\n\n // the amount that is being written when _write is called.\n this.writelen = 0;\n\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n\n // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n this.pendingcb = 0;\n\n // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n this.prefinished = false;\n\n // True if the error was already emitted and should not be thrown again\n this.errorEmitted = false;\n\n // count buffered requests\n this.bufferedRequestCount = 0;\n\n // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n};\n\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function () {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})();\n\n// Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\nvar realHasInstance;\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function (object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function (object) {\n return object instanceof this;\n };\n}\n\nfunction Writable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n\n // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {\n return new Writable(options);\n }\n\n this._writableState = new WritableState(options, this);\n\n // legacy.\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n\n if (typeof options.writev === 'function') this._writev = options.writev;\n\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n\n if (typeof options.final === 'function') this._final = options.final;\n }\n\n Stream.call(this);\n}\n\n// Otherwise people can pipe Writable streams, which is just wrong.\nWritable.prototype.pipe = function () {\n this.emit('error', new Error('Cannot pipe, not readable'));\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n // TODO: defer error events consistently everywhere, not just the cb\n stream.emit('error', er);\n pna.nextTick(cb, er);\n}\n\n// Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\nfunction validChunk(stream, state, chunk, cb) {\n var valid = true;\n var er = false;\n\n if (chunk === null) {\n er = new TypeError('May not write null values to stream');\n } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n if (er) {\n stream.emit('error', er);\n pna.nextTick(cb, er);\n valid = false;\n }\n return valid;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n\n if (typeof cb !== 'function') cb = nop;\n\n if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n\n return ret;\n};\n\nWritable.prototype.cork = function () {\n var state = this._writableState;\n\n state.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n return chunk;\n}\n\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function () {\n return this._writableState.highWaterMark;\n }\n});\n\n// if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n var len = state.objectMode ? 1 : chunk.length;\n\n state.length += len;\n\n var ret = state.length < state.highWaterMark;\n // we must ensure that previous needDrain will not be reset to false.\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n pna.nextTick(cb, er);\n // this can emit finish, and it will always happen\n // after error\n pna.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n // this can emit finish, but finish must\n // always follow error\n finishMaybe(stream, state);\n }\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n\n onwriteStateUpdate(state);\n\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state);\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n /**/\n asyncWrite(afterWrite, stream, state, finished, cb);\n /**/\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n}\n\n// Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n}\n\n// if there's something in the buffer waiting, then process it\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n\n var count = 0;\n var allBuffers = true;\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n buffer.allBuffers = allBuffers;\n\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n\n // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n state.pendingcb++;\n state.lastBufferedRequest = null;\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--;\n // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new Error('_write() is not implemented'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\n\n // .end() fully uncorks\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n\n // ignore unnecessary end() calls.\n if (!state.ending && !state.finished) endWritable(this, state, cb);\n};\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n if (err) {\n stream.emit('error', err);\n }\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function') {\n state.pendingcb++;\n state.finalCalled = true;\n pna.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n prefinish(stream, state);\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n }\n }\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n}\n\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = corkReq;\n } else {\n state.corkedRequestsFree = corkReq;\n }\n}\n\nObject.defineProperty(Writable.prototype, 'destroyed', {\n get: function () {\n if (this._writableState === undefined) {\n return false;\n }\n return this._writableState.destroyed;\n },\n set: function (value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n }\n\n // backward compatibility, the user is explicitly\n // managing destroyed\n this._writableState.destroyed = value;\n }\n});\n\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\nWritable.prototype._destroy = function (err, cb) {\n this.end();\n cb(err);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?"); +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// A bit simpler than readable streams.\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\n// the drain event emission and buffering.\n\n\nmodule.exports = Writable;\n/* */\n\nfunction WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n} // It seems a linked list but it is not\n// there will be only 2 of these for each stream\n\n\nfunction CorkedRequest(state) {\n var _this = this;\n\n this.next = null;\n this.entry = null;\n\n this.finish = function () {\n onCorkedFinish(_this, state);\n };\n}\n/* */\n\n/**/\n\n\nvar Duplex;\n/**/\n\nWritable.WritableState = WritableState;\n/**/\n\nvar internalUtil = {\n deprecate: __webpack_require__(/*! util-deprecate */ \"./node_modules/util-deprecate/node.js\")\n};\n/**/\n\n/**/\n\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \"./node_modules/readable-stream/lib/internal/streams/stream.js\");\n/**/\n\n\nvar Buffer = __webpack_require__(/*! buffer */ \"buffer\").Buffer;\n\nvar OurUint8Array = global.Uint8Array || function () {};\n\nfunction _uint8ArrayToBuffer(chunk) {\n return Buffer.from(chunk);\n}\n\nfunction _isUint8Array(obj) {\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\n}\n\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \"./node_modules/readable-stream/lib/internal/streams/destroy.js\");\n\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \"./node_modules/readable-stream/lib/internal/streams/state.js\"),\n getHighWaterMark = _require.getHighWaterMark;\n\nvar _require$codes = __webpack_require__(/*! ../errors */ \"./node_modules/readable-stream/errors.js\").codes,\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\n ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,\n ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,\n ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,\n ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;\n\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\n\n__webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\")(Writable, Stream);\n\nfunction nop() {}\n\nfunction WritableState(options, stream, isDuplex) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n options = options || {}; // Duplex streams are both readable and writable, but share\n // the same options object.\n // However, some cases require setting options to different\n // values for the readable and the writable sides of the duplex stream,\n // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.\n\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream\n // contains buffers or objects.\n\n this.objectMode = !!options.objectMode;\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false\n // Note: 0 is a valid value, means that we always return false if\n // the entire buffer is not flushed immediately on write()\n\n this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called\n\n this.finalCalled = false; // drain event flag.\n\n this.needDrain = false; // at the start of calling end()\n\n this.ending = false; // when end() has been called, and returned\n\n this.ended = false; // when 'finish' is emitted\n\n this.finished = false; // has it been destroyed\n\n this.destroyed = false; // should we decode strings into buffers before passing to _write?\n // this is here so that some node-core streams can optimize string\n // handling at a lower level.\n\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string\n // encoding is 'binary' so we have to make this configurable.\n // Everything else in the universe uses 'utf8', though.\n\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement\n // of how much we're waiting to get pushed to some underlying\n // socket or file.\n\n this.length = 0; // a flag to see when we're in the middle of a write.\n\n this.writing = false; // when true all writes will be buffered until .uncork() call\n\n this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately,\n // or on a later tick. We set this to true at first, because any\n // actions that shouldn't happen until \"later\" should generally also\n // not happen before the first write call.\n\n this.sync = true; // a flag to know if we're processing previously buffered items, which\n // may call the _write() callback in the same tick, so that we don't\n // end up in an overlapped onwrite situation.\n\n this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb)\n\n this.onwrite = function (er) {\n onwrite(stream, er);\n }; // the callback that the user supplies to write(chunk,encoding,cb)\n\n\n this.writecb = null; // the amount that is being written when _write is called.\n\n this.writelen = 0;\n this.bufferedRequest = null;\n this.lastBufferedRequest = null; // number of pending user-supplied write callbacks\n // this must be 0 before 'finish' can be emitted\n\n this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs\n // This is relevant for synchronous Transform streams\n\n this.prefinished = false; // True if the error was already emitted and should not be thrown again\n\n this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true.\n\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end')\n\n this.autoDestroy = !!options.autoDestroy; // count buffered requests\n\n this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always\n // one allocated and free to use, and we maintain at most two\n\n this.corkedRequestsFree = new CorkedRequest(this);\n}\n\nWritableState.prototype.getBuffer = function getBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n\n while (current) {\n out.push(current);\n current = current.next;\n }\n\n return out;\n};\n\n(function () {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {\n get: internalUtil.deprecate(function writableStateBufferGetter() {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\n });\n } catch (_) {}\n})(); // Test _writableState for inheritance to account for Duplex streams,\n// whose prototype chain only points to Readable.\n\n\nvar realHasInstance;\n\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\n realHasInstance = Function.prototype[Symbol.hasInstance];\n Object.defineProperty(Writable, Symbol.hasInstance, {\n value: function value(object) {\n if (realHasInstance.call(this, object)) return true;\n if (this !== Writable) return false;\n return object && object._writableState instanceof WritableState;\n }\n });\n} else {\n realHasInstance = function realHasInstance(object) {\n return object instanceof this;\n };\n}\n\nfunction Writable(options) {\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \"./node_modules/readable-stream/lib/_stream_duplex.js\"); // Writable ctor is applied to Duplexes, too.\n // `realHasInstance` is necessary because using plain `instanceof`\n // would return false, as no `_writableState` property is attached.\n // Trying to use the custom `instanceof` for Writable here will also break the\n // Node.js LazyTransform implementation, which has a non-trivial getter for\n // `_writableState` that would lead to infinite recursion.\n // Checking for a Stream.Duplex instance is faster here instead of inside\n // the WritableState constructor, at least with V8 6.5\n\n var isDuplex = this instanceof Duplex;\n if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);\n this._writableState = new WritableState(options, this, isDuplex); // legacy.\n\n this.writable = true;\n\n if (options) {\n if (typeof options.write === 'function') this._write = options.write;\n if (typeof options.writev === 'function') this._writev = options.writev;\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\n if (typeof options.final === 'function') this._final = options.final;\n }\n\n Stream.call(this);\n} // Otherwise people can pipe Writable streams, which is just wrong.\n\n\nWritable.prototype.pipe = function () {\n errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());\n};\n\nfunction writeAfterEnd(stream, cb) {\n var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb\n\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n} // Checks that a user-supplied chunk is valid, especially for the particular\n// mode the stream is in. Currently this means that `null` is never accepted\n// and undefined/non-string values are only allowed in object mode.\n\n\nfunction validChunk(stream, state, chunk, cb) {\n var er;\n\n if (chunk === null) {\n er = new ERR_STREAM_NULL_VALUES();\n } else if (typeof chunk !== 'string' && !state.objectMode) {\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);\n }\n\n if (er) {\n errorOrDestroy(stream, er);\n process.nextTick(cb, er);\n return false;\n }\n\n return true;\n}\n\nWritable.prototype.write = function (chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n\n var isBuf = !state.objectMode && _isUint8Array(chunk);\n\n if (isBuf && !Buffer.isBuffer(chunk)) {\n chunk = _uint8ArrayToBuffer(chunk);\n }\n\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\n if (typeof cb !== 'function') cb = nop;\n if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\n }\n return ret;\n};\n\nWritable.prototype.cork = function () {\n this._writableState.corked++;\n};\n\nWritable.prototype.uncork = function () {\n var state = this._writableState;\n\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\n }\n};\n\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n // node::ParseEncoding() requires lower case.\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding);\n this._writableState.defaultEncoding = encoding;\n return this;\n};\n\nObject.defineProperty(Writable.prototype, 'writableBuffer', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState && this._writableState.getBuffer();\n }\n});\n\nfunction decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = Buffer.from(chunk, encoding);\n }\n\n return chunk;\n}\n\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.highWaterMark;\n }\n}); // if we're already writing something, then just put this\n// in the queue, and wait our turn. Otherwise, call _write\n// If we return false, then we need a drain event, so set that flag.\n\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\n if (!isBuf) {\n var newChunk = decodeChunk(state, chunk, encoding);\n\n if (chunk !== newChunk) {\n isBuf = true;\n encoding = 'buffer';\n chunk = newChunk;\n }\n }\n\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false.\n\n if (!ret) state.needDrain = true;\n\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = {\n chunk: chunk,\n encoding: encoding,\n isBuf: isBuf,\n callback: cb,\n next: null\n };\n\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n\n return ret;\n}\n\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n}\n\nfunction onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n\n if (sync) {\n // defer the callback if we are being called synchronously\n // to avoid piling up things on the stack\n process.nextTick(cb, er); // this can emit finish, and it will always happen\n // after error\n\n process.nextTick(finishMaybe, stream, state);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er);\n } else {\n // the caller expect this to happen before if\n // it is async\n cb(er);\n stream._writableState.errorEmitted = true;\n errorOrDestroy(stream, er); // this can emit finish, but finish must\n // always follow error\n\n finishMaybe(stream, state);\n }\n}\n\nfunction onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n}\n\nfunction onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK();\n onwriteStateUpdate(state);\n if (er) onwriteError(stream, state, sync, er, cb);else {\n // Check if we're actually ready to finish, but don't emit yet\n var finished = needFinish(state) || stream.destroyed;\n\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n\n if (sync) {\n process.nextTick(afterWrite, stream, state, finished, cb);\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n}\n\nfunction afterWrite(stream, state, finished, cb) {\n if (!finished) onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n} // Must force callback to be called on nextTick, so that we don't\n// emit 'drain' before the write() consumer gets the 'false' return\n// value, and has a chance to attach a 'drain' listener.\n\n\nfunction onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n} // if there's something in the buffer waiting, then process it\n\n\nfunction clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n\n if (stream._writev && entry && entry.next) {\n // Fast case, write everything using _writev()\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n var count = 0;\n var allBuffers = true;\n\n while (entry) {\n buffer[count] = entry;\n if (!entry.isBuf) allBuffers = false;\n entry = entry.next;\n count += 1;\n }\n\n buffer.allBuffers = allBuffers;\n doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time\n // as the hot path ends with doWrite\n\n state.pendingcb++;\n state.lastBufferedRequest = null;\n\n if (holder.next) {\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n state.corkedRequestsFree = new CorkedRequest(state);\n }\n\n state.bufferedRequestCount = 0;\n } else {\n // Slow case, write chunks one-by-one\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then\n // it means that we need to wait until it does.\n // also, that means that the chunk and cb are currently\n // being processed, so move the buffer counter past them.\n\n if (state.writing) {\n break;\n }\n }\n\n if (entry === null) state.lastBufferedRequest = null;\n }\n\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n}\n\nWritable.prototype._write = function (chunk, encoding, cb) {\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()'));\n};\n\nWritable.prototype._writev = null;\n\nWritable.prototype.end = function (chunk, encoding, cb) {\n var state = this._writableState;\n\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks\n\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n } // ignore unnecessary end() calls.\n\n\n if (!state.ending) endWritable(this, state, cb);\n return this;\n};\n\nObject.defineProperty(Writable.prototype, 'writableLength', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n return this._writableState.length;\n }\n});\n\nfunction needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n}\n\nfunction callFinal(stream, state) {\n stream._final(function (err) {\n state.pendingcb--;\n\n if (err) {\n errorOrDestroy(stream, err);\n }\n\n state.prefinished = true;\n stream.emit('prefinish');\n finishMaybe(stream, state);\n });\n}\n\nfunction prefinish(stream, state) {\n if (!state.prefinished && !state.finalCalled) {\n if (typeof stream._final === 'function' && !state.destroyed) {\n state.pendingcb++;\n state.finalCalled = true;\n process.nextTick(callFinal, stream, state);\n } else {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n}\n\nfunction finishMaybe(stream, state) {\n var need = needFinish(state);\n\n if (need) {\n prefinish(stream, state);\n\n if (state.pendingcb === 0) {\n state.finished = true;\n stream.emit('finish');\n\n if (state.autoDestroy) {\n // In case of duplex streams we need a way to detect\n // if the readable side is ready for autoDestroy as well\n var rState = stream._readableState;\n\n if (!rState || rState.autoDestroy && rState.endEmitted) {\n stream.destroy();\n }\n }\n }\n }\n\n return need;\n}\n\nfunction endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n\n if (cb) {\n if (state.finished) process.nextTick(cb);else stream.once('finish', cb);\n }\n\n state.ended = true;\n stream.writable = false;\n}\n\nfunction onCorkedFinish(corkReq, state, err) {\n var entry = corkReq.entry;\n corkReq.entry = null;\n\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n } // reuse the free corkReq.\n\n\n state.corkedRequestsFree.next = corkReq;\n}\n\nObject.defineProperty(Writable.prototype, 'destroyed', {\n // making it explicit this property is not enumerable\n // because otherwise some prototype manipulation in\n // userland will fail\n enumerable: false,\n get: function get() {\n if (this._writableState === undefined) {\n return false;\n }\n\n return this._writableState.destroyed;\n },\n set: function set(value) {\n // we ignore the value if the stream\n // has not been initialized yet\n if (!this._writableState) {\n return;\n } // backward compatibility, the user is explicitly\n // managing destroyed\n\n\n this._writableState.destroyed = value;\n }\n});\nWritable.prototype.destroy = destroyImpl.destroy;\nWritable.prototype._undestroy = destroyImpl.undestroy;\n\nWritable.prototype._destroy = function (err, cb) {\n cb(err);\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/async_iterator.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/async_iterator.js ***! + \*****************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar _Object$setPrototypeO;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar finished = __webpack_require__(/*! ./end-of-stream */ \"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\");\n\nvar kLastResolve = Symbol('lastResolve');\nvar kLastReject = Symbol('lastReject');\nvar kError = Symbol('error');\nvar kEnded = Symbol('ended');\nvar kLastPromise = Symbol('lastPromise');\nvar kHandlePromise = Symbol('handlePromise');\nvar kStream = Symbol('stream');\n\nfunction createIterResult(value, done) {\n return {\n value: value,\n done: done\n };\n}\n\nfunction readAndResolve(iter) {\n var resolve = iter[kLastResolve];\n\n if (resolve !== null) {\n var data = iter[kStream].read(); // we defer if data is null\n // we can be expecting either 'end' or\n // 'error'\n\n if (data !== null) {\n iter[kLastPromise] = null;\n iter[kLastResolve] = null;\n iter[kLastReject] = null;\n resolve(createIterResult(data, false));\n }\n }\n}\n\nfunction onReadable(iter) {\n // we wait for the next tick, because it might\n // emit an error with process.nextTick\n process.nextTick(readAndResolve, iter);\n}\n\nfunction wrapForNext(lastPromise, iter) {\n return function (resolve, reject) {\n lastPromise.then(function () {\n if (iter[kEnded]) {\n resolve(createIterResult(undefined, true));\n return;\n }\n\n iter[kHandlePromise](resolve, reject);\n }, reject);\n };\n}\n\nvar AsyncIteratorPrototype = Object.getPrototypeOf(function () {});\nvar ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {\n get stream() {\n return this[kStream];\n },\n\n next: function next() {\n var _this = this;\n\n // if we have detected an error in the meanwhile\n // reject straight away\n var error = this[kError];\n\n if (error !== null) {\n return Promise.reject(error);\n }\n\n if (this[kEnded]) {\n return Promise.resolve(createIterResult(undefined, true));\n }\n\n if (this[kStream].destroyed) {\n // We need to defer via nextTick because if .destroy(err) is\n // called, the error will be emitted via nextTick, and\n // we cannot guarantee that there is no error lingering around\n // waiting to be emitted.\n return new Promise(function (resolve, reject) {\n process.nextTick(function () {\n if (_this[kError]) {\n reject(_this[kError]);\n } else {\n resolve(createIterResult(undefined, true));\n }\n });\n });\n } // if we have multiple next() calls\n // we will wait for the previous Promise to finish\n // this logic is optimized to support for await loops,\n // where next() is only called once at a time\n\n\n var lastPromise = this[kLastPromise];\n var promise;\n\n if (lastPromise) {\n promise = new Promise(wrapForNext(lastPromise, this));\n } else {\n // fast path needed to support multiple this.push()\n // without triggering the next() queue\n var data = this[kStream].read();\n\n if (data !== null) {\n return Promise.resolve(createIterResult(data, false));\n }\n\n promise = new Promise(this[kHandlePromise]);\n }\n\n this[kLastPromise] = promise;\n return promise;\n }\n}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {\n return this;\n}), _defineProperty(_Object$setPrototypeO, \"return\", function _return() {\n var _this2 = this;\n\n // destroy(err, cb) is a private API\n // we can guarantee we have that here, because we control the\n // Readable class this is attached to\n return new Promise(function (resolve, reject) {\n _this2[kStream].destroy(null, function (err) {\n if (err) {\n reject(err);\n return;\n }\n\n resolve(createIterResult(undefined, true));\n });\n });\n}), _Object$setPrototypeO), AsyncIteratorPrototype);\n\nvar createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {\n var _Object$create;\n\n var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {\n value: stream,\n writable: true\n }), _defineProperty(_Object$create, kLastResolve, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kLastReject, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kError, {\n value: null,\n writable: true\n }), _defineProperty(_Object$create, kEnded, {\n value: stream._readableState.endEmitted,\n writable: true\n }), _defineProperty(_Object$create, kHandlePromise, {\n value: function value(resolve, reject) {\n var data = iterator[kStream].read();\n\n if (data) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(data, false));\n } else {\n iterator[kLastResolve] = resolve;\n iterator[kLastReject] = reject;\n }\n },\n writable: true\n }), _Object$create));\n iterator[kLastPromise] = null;\n finished(stream, function (err) {\n if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {\n var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise\n // returned by next() and store the error\n\n if (reject !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n reject(err);\n }\n\n iterator[kError] = err;\n return;\n }\n\n var resolve = iterator[kLastResolve];\n\n if (resolve !== null) {\n iterator[kLastPromise] = null;\n iterator[kLastResolve] = null;\n iterator[kLastReject] = null;\n resolve(createIterResult(undefined, true));\n }\n\n iterator[kEnded] = true;\n });\n stream.on('readable', onReadable.bind(null, iterator));\n return iterator;\n};\n\nmodule.exports = createReadableStreamAsyncIterator;\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/async_iterator.js?"); /***/ }), -/***/ "./node_modules/readable-stream/lib/internal/streams/BufferList.js": -/*!*************************************************************************!*\ - !*** ./node_modules/readable-stream/lib/internal/streams/BufferList.js ***! - \*************************************************************************/ +/***/ "./node_modules/readable-stream/lib/internal/streams/buffer_list.js": +/*!**************************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/buffer_list.js ***! + \**************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/readable-stream/node_modules/safe-buffer/index.js\").Buffer;\nvar util = __webpack_require__(/*! util */ \"util\");\n\nfunction copyBuffer(src, target, offset) {\n src.copy(target, offset);\n}\n\nmodule.exports = function () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n\n BufferList.prototype.push = function push(v) {\n var entry = { data: v, next: null };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n };\n\n BufferList.prototype.unshift = function unshift(v) {\n var entry = { data: v, next: this.head };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n };\n\n BufferList.prototype.shift = function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n };\n\n BufferList.prototype.clear = function clear() {\n this.head = this.tail = null;\n this.length = 0;\n };\n\n BufferList.prototype.join = function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n while (p = p.next) {\n ret += s + p.data;\n }return ret;\n };\n\n BufferList.prototype.concat = function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n if (this.length === 1) return this.head.data;\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n return ret;\n };\n\n return BufferList;\n}();\n\nif (util && util.inspect && util.inspect.custom) {\n module.exports.prototype[util.inspect.custom] = function () {\n var obj = util.inspect({ length: this.length });\n return this.constructor.name + ' ' + obj;\n };\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/BufferList.js?"); +eval("\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nvar _require = __webpack_require__(/*! buffer */ \"buffer\"),\n Buffer = _require.Buffer;\n\nvar _require2 = __webpack_require__(/*! util */ \"util\"),\n inspect = _require2.inspect;\n\nvar custom = inspect && inspect.custom || 'inspect';\n\nfunction copyBuffer(src, target, offset) {\n Buffer.prototype.copy.call(src, target, offset);\n}\n\nmodule.exports =\n/*#__PURE__*/\nfunction () {\n function BufferList() {\n _classCallCheck(this, BufferList);\n\n this.head = null;\n this.tail = null;\n this.length = 0;\n }\n\n _createClass(BufferList, [{\n key: \"push\",\n value: function push(v) {\n var entry = {\n data: v,\n next: null\n };\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n ++this.length;\n }\n }, {\n key: \"unshift\",\n value: function unshift(v) {\n var entry = {\n data: v,\n next: this.head\n };\n if (this.length === 0) this.tail = entry;\n this.head = entry;\n ++this.length;\n }\n }, {\n key: \"shift\",\n value: function shift() {\n if (this.length === 0) return;\n var ret = this.head.data;\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\n --this.length;\n return ret;\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this.head = this.tail = null;\n this.length = 0;\n }\n }, {\n key: \"join\",\n value: function join(s) {\n if (this.length === 0) return '';\n var p = this.head;\n var ret = '' + p.data;\n\n while (p = p.next) {\n ret += s + p.data;\n }\n\n return ret;\n }\n }, {\n key: \"concat\",\n value: function concat(n) {\n if (this.length === 0) return Buffer.alloc(0);\n var ret = Buffer.allocUnsafe(n >>> 0);\n var p = this.head;\n var i = 0;\n\n while (p) {\n copyBuffer(p.data, ret, i);\n i += p.data.length;\n p = p.next;\n }\n\n return ret;\n } // Consumes a specified amount of bytes or characters from the buffered data.\n\n }, {\n key: \"consume\",\n value: function consume(n, hasStrings) {\n var ret;\n\n if (n < this.head.data.length) {\n // `slice` is the same for buffers and strings.\n ret = this.head.data.slice(0, n);\n this.head.data = this.head.data.slice(n);\n } else if (n === this.head.data.length) {\n // First chunk is a perfect match.\n ret = this.shift();\n } else {\n // Result spans more than one buffer.\n ret = hasStrings ? this._getString(n) : this._getBuffer(n);\n }\n\n return ret;\n }\n }, {\n key: \"first\",\n value: function first() {\n return this.head.data;\n } // Consumes a specified amount of characters from the buffered data.\n\n }, {\n key: \"_getString\",\n value: function _getString(n) {\n var p = this.head;\n var c = 1;\n var ret = p.data;\n n -= ret.length;\n\n while (p = p.next) {\n var str = p.data;\n var nb = n > str.length ? str.length : n;\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\n n -= nb;\n\n if (n === 0) {\n if (nb === str.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = str.slice(nb);\n }\n\n break;\n }\n\n ++c;\n }\n\n this.length -= c;\n return ret;\n } // Consumes a specified amount of bytes from the buffered data.\n\n }, {\n key: \"_getBuffer\",\n value: function _getBuffer(n) {\n var ret = Buffer.allocUnsafe(n);\n var p = this.head;\n var c = 1;\n p.data.copy(ret);\n n -= p.data.length;\n\n while (p = p.next) {\n var buf = p.data;\n var nb = n > buf.length ? buf.length : n;\n buf.copy(ret, ret.length - n, 0, nb);\n n -= nb;\n\n if (n === 0) {\n if (nb === buf.length) {\n ++c;\n if (p.next) this.head = p.next;else this.head = this.tail = null;\n } else {\n this.head = p;\n p.data = buf.slice(nb);\n }\n\n break;\n }\n\n ++c;\n }\n\n this.length -= c;\n return ret;\n } // Make sure the linked list only shows the minimal necessary information.\n\n }, {\n key: custom,\n value: function value(_, options) {\n return inspect(this, _objectSpread({}, options, {\n // Only inspect one level.\n depth: 0,\n // It should not recurse.\n customInspect: false\n }));\n }\n }]);\n\n return BufferList;\n}();\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/buffer_list.js?"); /***/ }), @@ -866,41 +911,66 @@ eval("\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance insta /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\n/**/\n\nvar pna = __webpack_require__(/*! process-nextick-args */ \"./node_modules/process-nextick-args/index.js\");\n/**/\n\n// undocumented cb() API, needed for core, not for public API\nfunction destroy(err, cb) {\n var _this = this;\n\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {\n pna.nextTick(emitErrorNT, this, err);\n }\n return this;\n }\n\n // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n }\n\n // if this is a duplex stream mark the writable part as destroyed as well\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n pna.nextTick(emitErrorNT, _this, err);\n if (_this._writableState) {\n _this._writableState.errorEmitted = true;\n }\n } else if (cb) {\n cb(err);\n }\n });\n\n return this;\n}\n\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\n\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\n\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?"); +eval(" // undocumented cb() API, needed for core, not for public API\n\nfunction destroy(err, cb) {\n var _this = this;\n\n var readableDestroyed = this._readableState && this._readableState.destroyed;\n var writableDestroyed = this._writableState && this._writableState.destroyed;\n\n if (readableDestroyed || writableDestroyed) {\n if (cb) {\n cb(err);\n } else if (err) {\n if (!this._writableState) {\n process.nextTick(emitErrorNT, this, err);\n } else if (!this._writableState.errorEmitted) {\n this._writableState.errorEmitted = true;\n process.nextTick(emitErrorNT, this, err);\n }\n }\n\n return this;\n } // we set destroyed to true before firing error callbacks in order\n // to make it re-entrance safe in case destroy() is called within callbacks\n\n\n if (this._readableState) {\n this._readableState.destroyed = true;\n } // if this is a duplex stream mark the writable part as destroyed as well\n\n\n if (this._writableState) {\n this._writableState.destroyed = true;\n }\n\n this._destroy(err || null, function (err) {\n if (!cb && err) {\n if (!_this._writableState) {\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else if (!_this._writableState.errorEmitted) {\n _this._writableState.errorEmitted = true;\n process.nextTick(emitErrorAndCloseNT, _this, err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n } else if (cb) {\n process.nextTick(emitCloseNT, _this);\n cb(err);\n } else {\n process.nextTick(emitCloseNT, _this);\n }\n });\n\n return this;\n}\n\nfunction emitErrorAndCloseNT(self, err) {\n emitErrorNT(self, err);\n emitCloseNT(self);\n}\n\nfunction emitCloseNT(self) {\n if (self._writableState && !self._writableState.emitClose) return;\n if (self._readableState && !self._readableState.emitClose) return;\n self.emit('close');\n}\n\nfunction undestroy() {\n if (this._readableState) {\n this._readableState.destroyed = false;\n this._readableState.reading = false;\n this._readableState.ended = false;\n this._readableState.endEmitted = false;\n }\n\n if (this._writableState) {\n this._writableState.destroyed = false;\n this._writableState.ended = false;\n this._writableState.ending = false;\n this._writableState.finalCalled = false;\n this._writableState.prefinished = false;\n this._writableState.finished = false;\n this._writableState.errorEmitted = false;\n }\n}\n\nfunction emitErrorNT(self, err) {\n self.emit('error', err);\n}\n\nfunction errorOrDestroy(stream, err) {\n // We have tests that rely on errors being emitted\n // in the same tick, so changing this is semver major.\n // For now when you opt-in to autoDestroy we allow\n // the error to be emitted nextTick. In a future\n // semver major update we should change the default to this.\n var rState = stream._readableState;\n var wState = stream._writableState;\n if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);\n}\n\nmodule.exports = {\n destroy: destroy,\n undestroy: undestroy,\n errorOrDestroy: errorOrDestroy\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?"); /***/ }), -/***/ "./node_modules/readable-stream/lib/internal/streams/stream.js": -/*!*********************************************************************!*\ - !*** ./node_modules/readable-stream/lib/internal/streams/stream.js ***! - \*********************************************************************/ +/***/ "./node_modules/readable-stream/lib/internal/streams/end-of-stream.js": +/*!****************************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/end-of-stream.js ***! + \****************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("module.exports = __webpack_require__(/*! stream */ \"stream\");\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/stream.js?"); +"use strict"; +eval("// Ported from https://github.com/mafintosh/end-of-stream with\n// permission from the author, Mathias Buus (@mafintosh).\n\n\nvar ERR_STREAM_PREMATURE_CLOSE = __webpack_require__(/*! ../../../errors */ \"./node_modules/readable-stream/errors.js\").codes.ERR_STREAM_PREMATURE_CLOSE;\n\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n callback.apply(this, args);\n };\n}\n\nfunction noop() {}\n\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\n\nfunction eos(stream, opts, callback) {\n if (typeof opts === 'function') return eos(stream, null, opts);\n if (!opts) opts = {};\n callback = once(callback || noop);\n var readable = opts.readable || opts.readable !== false && stream.readable;\n var writable = opts.writable || opts.writable !== false && stream.writable;\n\n var onlegacyfinish = function onlegacyfinish() {\n if (!stream.writable) onfinish();\n };\n\n var writableEnded = stream._writableState && stream._writableState.finished;\n\n var onfinish = function onfinish() {\n writable = false;\n writableEnded = true;\n if (!readable) callback.call(stream);\n };\n\n var readableEnded = stream._readableState && stream._readableState.endEmitted;\n\n var onend = function onend() {\n readable = false;\n readableEnded = true;\n if (!writable) callback.call(stream);\n };\n\n var onerror = function onerror(err) {\n callback.call(stream, err);\n };\n\n var onclose = function onclose() {\n var err;\n\n if (readable && !readableEnded) {\n if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n\n if (writable && !writableEnded) {\n if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\n return callback.call(stream, err);\n }\n };\n\n var onrequest = function onrequest() {\n stream.req.on('finish', onfinish);\n };\n\n if (isRequest(stream)) {\n stream.on('complete', onfinish);\n stream.on('abort', onclose);\n if (stream.req) onrequest();else stream.on('request', onrequest);\n } else if (writable && !stream._writableState) {\n // legacy streams\n stream.on('end', onlegacyfinish);\n stream.on('close', onlegacyfinish);\n }\n\n stream.on('end', onend);\n stream.on('finish', onfinish);\n if (opts.error !== false) stream.on('error', onerror);\n stream.on('close', onclose);\n return function () {\n stream.removeListener('complete', onfinish);\n stream.removeListener('abort', onclose);\n stream.removeListener('request', onrequest);\n if (stream.req) stream.req.removeListener('finish', onfinish);\n stream.removeListener('end', onlegacyfinish);\n stream.removeListener('close', onlegacyfinish);\n stream.removeListener('finish', onfinish);\n stream.removeListener('end', onend);\n stream.removeListener('error', onerror);\n stream.removeListener('close', onclose);\n };\n}\n\nmodule.exports = eos;\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/end-of-stream.js?"); /***/ }), -/***/ "./node_modules/readable-stream/node_modules/safe-buffer/index.js": -/*!************************************************************************!*\ - !*** ./node_modules/readable-stream/node_modules/safe-buffer/index.js ***! - \************************************************************************/ +/***/ "./node_modules/readable-stream/lib/internal/streams/from.js": +/*!*******************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/from.js ***! + \*******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"buffer\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/node_modules/safe-buffer/index.js?"); +"use strict"; +eval("\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar ERR_INVALID_ARG_TYPE = __webpack_require__(/*! ../../../errors */ \"./node_modules/readable-stream/errors.js\").codes.ERR_INVALID_ARG_TYPE;\n\nfunction from(Readable, iterable, opts) {\n var iterator;\n\n if (iterable && typeof iterable.next === 'function') {\n iterator = iterable;\n } else if (iterable && iterable[Symbol.asyncIterator]) iterator = iterable[Symbol.asyncIterator]();else if (iterable && iterable[Symbol.iterator]) iterator = iterable[Symbol.iterator]();else throw new ERR_INVALID_ARG_TYPE('iterable', ['Iterable'], iterable);\n\n var readable = new Readable(_objectSpread({\n objectMode: true\n }, opts)); // Reading boolean to protect against _read\n // being called before last iteration completion.\n\n var reading = false;\n\n readable._read = function () {\n if (!reading) {\n reading = true;\n next();\n }\n };\n\n function next() {\n return _next2.apply(this, arguments);\n }\n\n function _next2() {\n _next2 = _asyncToGenerator(function* () {\n try {\n var _ref = yield iterator.next(),\n value = _ref.value,\n done = _ref.done;\n\n if (done) {\n readable.push(null);\n } else if (readable.push((yield value))) {\n next();\n } else {\n reading = false;\n }\n } catch (err) {\n readable.destroy(err);\n }\n });\n return _next2.apply(this, arguments);\n }\n\n return readable;\n}\n\nmodule.exports = from;\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/from.js?"); /***/ }), -/***/ "./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js": -/*!****************************************************************************************!*\ - !*** ./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js ***! - \****************************************************************************************/ +/***/ "./node_modules/readable-stream/lib/internal/streams/pipeline.js": +/*!***********************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/pipeline.js ***! + \***********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/readable-stream/node_modules/safe-buffer/index.js\").Buffer;\n/**/\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n encoding = '' + encoding;\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\n return true;\n default:\n return false;\n }\n};\n\nfunction _normalizeEncoding(enc) {\n if (!enc) return 'utf8';\n var retried;\n while (true) {\n switch (enc) {\n case 'utf8':\n case 'utf-8':\n return 'utf8';\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return 'utf16le';\n case 'latin1':\n case 'binary':\n return 'latin1';\n case 'base64':\n case 'ascii':\n case 'hex':\n return enc;\n default:\n if (retried) return; // undefined\n enc = ('' + enc).toLowerCase();\n retried = true;\n }\n }\n};\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n var nenc = _normalizeEncoding(enc);\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\n return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nexports.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n this.encoding = normalizeEncoding(encoding);\n var nb;\n switch (this.encoding) {\n case 'utf16le':\n this.text = utf16Text;\n this.end = utf16End;\n nb = 4;\n break;\n case 'utf8':\n this.fillLast = utf8FillLast;\n nb = 4;\n break;\n case 'base64':\n this.text = base64Text;\n this.end = base64End;\n nb = 3;\n break;\n default:\n this.write = simpleWrite;\n this.end = simpleEnd;\n return;\n }\n this.lastNeed = 0;\n this.lastTotal = 0;\n this.lastChar = Buffer.allocUnsafe(nb);\n}\n\nStringDecoder.prototype.write = function (buf) {\n if (buf.length === 0) return '';\n var r;\n var i;\n if (this.lastNeed) {\n r = this.fillLast(buf);\n if (r === undefined) return '';\n i = this.lastNeed;\n this.lastNeed = 0;\n } else {\n i = 0;\n }\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n return r || '';\n};\n\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte. If an invalid byte is detected, -2 is returned.\nfunction utf8CheckByte(byte) {\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\n return byte >> 6 === 0x02 ? -1 : -2;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n var j = buf.length - 1;\n if (j < i) return 0;\n var nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 1;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 2;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) {\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n }\n return nb;\n }\n return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// a single UTF-8 replacement character ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n if ((buf[0] & 0xC0) !== 0x80) {\n self.lastNeed = 0;\n return '\\ufffd';\n }\n if (self.lastNeed > 1 && buf.length > 1) {\n if ((buf[1] & 0xC0) !== 0x80) {\n self.lastNeed = 1;\n return '\\ufffd';\n }\n if (self.lastNeed > 2 && buf.length > 2) {\n if ((buf[2] & 0xC0) !== 0x80) {\n self.lastNeed = 2;\n return '\\ufffd';\n }\n }\n }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n var p = this.lastTotal - this.lastNeed;\n var r = utf8CheckExtraBytes(this, buf, p);\n if (r !== undefined) return r;\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, p, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, p, 0, buf.length);\n this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n var total = utf8CheckIncomplete(this, buf, i);\n if (!this.lastNeed) return buf.toString('utf8', i);\n this.lastTotal = total;\n var end = buf.length - (total - this.lastNeed);\n buf.copy(this.lastChar, 0, end);\n return buf.toString('utf8', i, end);\n}\n\n// For UTF-8, a replacement character is added when ending on a partial\n// character.\nfunction utf8End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + '\\ufffd';\n return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n if ((buf.length - i) % 2 === 0) {\n var r = buf.toString('utf16le', i);\n if (r) {\n var c = r.charCodeAt(r.length - 1);\n if (c >= 0xD800 && c <= 0xDBFF) {\n this.lastNeed = 2;\n this.lastTotal = 4;\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n return r.slice(0, -1);\n }\n }\n return r;\n }\n this.lastNeed = 1;\n this.lastTotal = 2;\n this.lastChar[0] = buf[buf.length - 1];\n return buf.toString('utf16le', i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) {\n var end = this.lastTotal - this.lastNeed;\n return r + this.lastChar.toString('utf16le', 0, end);\n }\n return r;\n}\n\nfunction base64Text(buf, i) {\n var n = (buf.length - i) % 3;\n if (n === 0) return buf.toString('base64', i);\n this.lastNeed = 3 - n;\n this.lastTotal = 3;\n if (n === 1) {\n this.lastChar[0] = buf[buf.length - 1];\n } else {\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n }\n return buf.toString('base64', i, buf.length - n);\n}\n\nfunction base64End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\n return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n return buf.toString(this.encoding);\n}\n\nfunction simpleEnd(buf) {\n return buf && buf.length ? this.write(buf) : '';\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js?"); +eval("// Ported from https://github.com/mafintosh/pump with\n// permission from the author, Mathias Buus (@mafintosh).\n\n\nvar eos;\n\nfunction once(callback) {\n var called = false;\n return function () {\n if (called) return;\n called = true;\n callback.apply(void 0, arguments);\n };\n}\n\nvar _require$codes = __webpack_require__(/*! ../../../errors */ \"./node_modules/readable-stream/errors.js\").codes,\n ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;\n\nfunction noop(err) {\n // Rethrow the error if it exists to avoid swallowing it\n if (err) throw err;\n}\n\nfunction isRequest(stream) {\n return stream.setHeader && typeof stream.abort === 'function';\n}\n\nfunction destroyer(stream, reading, writing, callback) {\n callback = once(callback);\n var closed = false;\n stream.on('close', function () {\n closed = true;\n });\n if (eos === undefined) eos = __webpack_require__(/*! ./end-of-stream */ \"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\");\n eos(stream, {\n readable: reading,\n writable: writing\n }, function (err) {\n if (err) return callback(err);\n closed = true;\n callback();\n });\n var destroyed = false;\n return function (err) {\n if (closed) return;\n if (destroyed) return;\n destroyed = true; // request.destroy just do .end - .abort is what we want\n\n if (isRequest(stream)) return stream.abort();\n if (typeof stream.destroy === 'function') return stream.destroy();\n callback(err || new ERR_STREAM_DESTROYED('pipe'));\n };\n}\n\nfunction call(fn) {\n fn();\n}\n\nfunction pipe(from, to) {\n return from.pipe(to);\n}\n\nfunction popCallback(streams) {\n if (!streams.length) return noop;\n if (typeof streams[streams.length - 1] !== 'function') return noop;\n return streams.pop();\n}\n\nfunction pipeline() {\n for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {\n streams[_key] = arguments[_key];\n }\n\n var callback = popCallback(streams);\n if (Array.isArray(streams[0])) streams = streams[0];\n\n if (streams.length < 2) {\n throw new ERR_MISSING_ARGS('streams');\n }\n\n var error;\n var destroys = streams.map(function (stream, i) {\n var reading = i < streams.length - 1;\n var writing = i > 0;\n return destroyer(stream, reading, writing, function (err) {\n if (!error) error = err;\n if (err) destroys.forEach(call);\n if (reading) return;\n destroys.forEach(call);\n callback(error);\n });\n });\n return streams.reduce(pipe);\n}\n\nmodule.exports = pipeline;\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/pipeline.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/state.js": +/*!********************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/state.js ***! + \********************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nvar ERR_INVALID_OPT_VALUE = __webpack_require__(/*! ../../../errors */ \"./node_modules/readable-stream/errors.js\").codes.ERR_INVALID_OPT_VALUE;\n\nfunction highWaterMarkFrom(options, isDuplex, duplexKey) {\n return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\n}\n\nfunction getHighWaterMark(state, options, duplexKey, isDuplex) {\n var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\n\n if (hwm != null) {\n if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\n var name = isDuplex ? duplexKey : 'highWaterMark';\n throw new ERR_INVALID_OPT_VALUE(name, hwm);\n }\n\n return Math.floor(hwm);\n } // Default value\n\n\n return state.objectMode ? 16 : 16 * 1024;\n}\n\nmodule.exports = {\n getHighWaterMark: getHighWaterMark\n};\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/state.js?"); + +/***/ }), + +/***/ "./node_modules/readable-stream/lib/internal/streams/stream.js": +/*!*********************************************************************!*\ + !*** ./node_modules/readable-stream/lib/internal/streams/stream.js ***! + \*********************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("module.exports = __webpack_require__(/*! stream */ \"stream\");\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/stream.js?"); /***/ }), @@ -911,7 +981,30 @@ eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("var Stream = __webpack_require__(/*! stream */ \"stream\");\nif (process.env.READABLE_STREAM === 'disable' && Stream) {\n module.exports = Stream;\n exports = module.exports = Stream.Readable;\n exports.Readable = Stream.Readable;\n exports.Writable = Stream.Writable;\n exports.Duplex = Stream.Duplex;\n exports.Transform = Stream.Transform;\n exports.PassThrough = Stream.PassThrough;\n exports.Stream = Stream;\n} else {\n exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\n exports.Stream = Stream || exports;\n exports.Readable = exports;\n exports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\n exports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n exports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\n exports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \"./node_modules/readable-stream/lib/_stream_passthrough.js\");\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable.js?"); +eval("var Stream = __webpack_require__(/*! stream */ \"stream\");\nif (process.env.READABLE_STREAM === 'disable' && Stream) {\n module.exports = Stream.Readable;\n Object.assign(module.exports, Stream);\n module.exports.Stream = Stream;\n} else {\n exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \"./node_modules/readable-stream/lib/_stream_readable.js\");\n exports.Stream = Stream || exports;\n exports.Readable = exports;\n exports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \"./node_modules/readable-stream/lib/_stream_writable.js\");\n exports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \"./node_modules/readable-stream/lib/_stream_duplex.js\");\n exports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \"./node_modules/readable-stream/lib/_stream_transform.js\");\n exports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \"./node_modules/readable-stream/lib/_stream_passthrough.js\");\n exports.finished = __webpack_require__(/*! ./lib/internal/streams/end-of-stream.js */ \"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\");\n exports.pipeline = __webpack_require__(/*! ./lib/internal/streams/pipeline.js */ \"./node_modules/readable-stream/lib/internal/streams/pipeline.js\");\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable.js?"); + +/***/ }), + +/***/ "./node_modules/safe-buffer/index.js": +/*!*******************************************!*\ + !*** ./node_modules/safe-buffer/index.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/*! safe-buffer. MIT License. Feross Aboukhadijeh */\n/* eslint-disable node/no-deprecated-api */\nvar buffer = __webpack_require__(/*! buffer */ \"buffer\")\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.prototype = Object.create(Buffer.prototype)\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/safe-buffer/index.js?"); + +/***/ }), + +/***/ "./node_modules/string_decoder/lib/string_decoder.js": +/*!***********************************************************!*\ + !*** ./node_modules/string_decoder/lib/string_decoder.js ***! + \***********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n/**/\n\nvar Buffer = __webpack_require__(/*! safe-buffer */ \"./node_modules/safe-buffer/index.js\").Buffer;\n/**/\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n encoding = '' + encoding;\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\n return true;\n default:\n return false;\n }\n};\n\nfunction _normalizeEncoding(enc) {\n if (!enc) return 'utf8';\n var retried;\n while (true) {\n switch (enc) {\n case 'utf8':\n case 'utf-8':\n return 'utf8';\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return 'utf16le';\n case 'latin1':\n case 'binary':\n return 'latin1';\n case 'base64':\n case 'ascii':\n case 'hex':\n return enc;\n default:\n if (retried) return; // undefined\n enc = ('' + enc).toLowerCase();\n retried = true;\n }\n }\n};\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n var nenc = _normalizeEncoding(enc);\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\n return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nexports.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n this.encoding = normalizeEncoding(encoding);\n var nb;\n switch (this.encoding) {\n case 'utf16le':\n this.text = utf16Text;\n this.end = utf16End;\n nb = 4;\n break;\n case 'utf8':\n this.fillLast = utf8FillLast;\n nb = 4;\n break;\n case 'base64':\n this.text = base64Text;\n this.end = base64End;\n nb = 3;\n break;\n default:\n this.write = simpleWrite;\n this.end = simpleEnd;\n return;\n }\n this.lastNeed = 0;\n this.lastTotal = 0;\n this.lastChar = Buffer.allocUnsafe(nb);\n}\n\nStringDecoder.prototype.write = function (buf) {\n if (buf.length === 0) return '';\n var r;\n var i;\n if (this.lastNeed) {\n r = this.fillLast(buf);\n if (r === undefined) return '';\n i = this.lastNeed;\n this.lastNeed = 0;\n } else {\n i = 0;\n }\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n return r || '';\n};\n\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte. If an invalid byte is detected, -2 is returned.\nfunction utf8CheckByte(byte) {\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\n return byte >> 6 === 0x02 ? -1 : -2;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n var j = buf.length - 1;\n if (j < i) return 0;\n var nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 1;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) self.lastNeed = nb - 2;\n return nb;\n }\n if (--j < i || nb === -2) return 0;\n nb = utf8CheckByte(buf[j]);\n if (nb >= 0) {\n if (nb > 0) {\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n }\n return nb;\n }\n return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// a single UTF-8 replacement character ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n if ((buf[0] & 0xC0) !== 0x80) {\n self.lastNeed = 0;\n return '\\ufffd';\n }\n if (self.lastNeed > 1 && buf.length > 1) {\n if ((buf[1] & 0xC0) !== 0x80) {\n self.lastNeed = 1;\n return '\\ufffd';\n }\n if (self.lastNeed > 2 && buf.length > 2) {\n if ((buf[2] & 0xC0) !== 0x80) {\n self.lastNeed = 2;\n return '\\ufffd';\n }\n }\n }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n var p = this.lastTotal - this.lastNeed;\n var r = utf8CheckExtraBytes(this, buf, p);\n if (r !== undefined) return r;\n if (this.lastNeed <= buf.length) {\n buf.copy(this.lastChar, p, 0, this.lastNeed);\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n }\n buf.copy(this.lastChar, p, 0, buf.length);\n this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n var total = utf8CheckIncomplete(this, buf, i);\n if (!this.lastNeed) return buf.toString('utf8', i);\n this.lastTotal = total;\n var end = buf.length - (total - this.lastNeed);\n buf.copy(this.lastChar, 0, end);\n return buf.toString('utf8', i, end);\n}\n\n// For UTF-8, a replacement character is added when ending on a partial\n// character.\nfunction utf8End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + '\\ufffd';\n return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n if ((buf.length - i) % 2 === 0) {\n var r = buf.toString('utf16le', i);\n if (r) {\n var c = r.charCodeAt(r.length - 1);\n if (c >= 0xD800 && c <= 0xDBFF) {\n this.lastNeed = 2;\n this.lastTotal = 4;\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n return r.slice(0, -1);\n }\n }\n return r;\n }\n this.lastNeed = 1;\n this.lastTotal = 2;\n this.lastChar[0] = buf[buf.length - 1];\n return buf.toString('utf16le', i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) {\n var end = this.lastTotal - this.lastNeed;\n return r + this.lastChar.toString('utf16le', 0, end);\n }\n return r;\n}\n\nfunction base64Text(buf, i) {\n var n = (buf.length - i) % 3;\n if (n === 0) return buf.toString('base64', i);\n this.lastNeed = 3 - n;\n this.lastTotal = 3;\n if (n === 1) {\n this.lastChar[0] = buf[buf.length - 1];\n } else {\n this.lastChar[0] = buf[buf.length - 2];\n this.lastChar[1] = buf[buf.length - 1];\n }\n return buf.toString('base64', i, buf.length - n);\n}\n\nfunction base64End(buf) {\n var r = buf && buf.length ? this.write(buf) : '';\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\n return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n return buf.toString(this.encoding);\n}\n\nfunction simpleEnd(buf) {\n return buf && buf.length ? this.write(buf) : '';\n}\n\n//# sourceURL=webpack://GeoRaster/./node_modules/string_decoder/lib/string_decoder.js?"); /***/ }), @@ -1030,7 +1123,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyFunction\", function() { return createProxyFunction; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyModule\", function() { return createProxyModule; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/threads/node_modules/debug/src/index.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _observable_promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable-promise */ \"./node_modules/threads/dist-esm/observable-promise.js\");\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../transferable */ \"./node_modules/threads/dist-esm/transferable.js\");\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/messages */ \"./node_modules/threads/dist-esm/types/messages.js\");\n/*\n * This source file contains the code for proxying calls in the master thread to calls in the workers\n * by `.postMessage()`-ing.\n *\n * Keep in mind that this code can make or break the program's performance! Need to optimize more…\n */\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nlet nextJobUID = 1;\nconst dedupe = (array) => Array.from(new Set(array));\nconst isJobErrorMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].error;\nconst isJobResultMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].result;\nconst isJobStartMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].running;\nfunction createObservableForJob(worker, jobUID) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n let asyncType;\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker:\", event.data);\n if (!event.data || event.data.uid !== jobUID)\n return;\n if (isJobStartMessage(event.data)) {\n asyncType = event.data.resultType;\n }\n else if (isJobResultMessage(event.data)) {\n if (asyncType === \"promise\") {\n if (typeof event.data.payload !== \"undefined\") {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n else {\n if (event.data.payload) {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n if (event.data.complete) {\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n }\n }\n else if (isJobErrorMessage(event.data)) {\n const error = Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error);\n if (asyncType === \"promise\" || !asyncType) {\n observer.error(error);\n }\n else {\n observer.error(error);\n }\n worker.removeEventListener(\"message\", messageHandler);\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n return () => {\n if (asyncType === \"observable\" || !asyncType) {\n const cancelMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].cancel,\n uid: jobUID\n };\n worker.postMessage(cancelMessage);\n }\n worker.removeEventListener(\"message\", messageHandler);\n };\n });\n}\nfunction prepareArguments(rawArgs) {\n if (rawArgs.length === 0) {\n // Exit early if possible\n return {\n args: [],\n transferables: []\n };\n }\n const args = [];\n const transferables = [];\n for (const arg of rawArgs) {\n if (Object(_transferable__WEBPACK_IMPORTED_MODULE_4__[\"isTransferDescriptor\"])(arg)) {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg.send));\n transferables.push(...arg.transferables);\n }\n else {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg));\n }\n }\n return {\n args,\n transferables: transferables.length === 0 ? transferables : dedupe(transferables)\n };\n}\nfunction createProxyFunction(worker, method) {\n return ((...rawArgs) => {\n const uid = nextJobUID++;\n const { args, transferables } = prepareArguments(rawArgs);\n const runMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].run,\n uid,\n method,\n args\n };\n debugMessages(\"Sending command to run function to worker:\", runMessage);\n try {\n worker.postMessage(runMessage, transferables);\n }\n catch (error) {\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Promise.reject(error));\n }\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(createObservableForJob(worker, uid)));\n });\n}\nfunction createProxyModule(worker, methodNames) {\n const proxy = {};\n for (const methodName of methodNames) {\n proxy[methodName] = createProxyFunction(worker, methodName);\n }\n return proxy;\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/invocation-proxy.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyFunction\", function() { return createProxyFunction; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createProxyModule\", function() { return createProxyModule; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/debug/src/index.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _observable_promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable-promise */ \"./node_modules/threads/dist-esm/observable-promise.js\");\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../transferable */ \"./node_modules/threads/dist-esm/transferable.js\");\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/messages */ \"./node_modules/threads/dist-esm/types/messages.js\");\n/*\n * This source file contains the code for proxying calls in the master thread to calls in the workers\n * by `.postMessage()`-ing.\n *\n * Keep in mind that this code can make or break the program's performance! Need to optimize more…\n */\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nlet nextJobUID = 1;\nconst dedupe = (array) => Array.from(new Set(array));\nconst isJobErrorMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].error;\nconst isJobResultMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].result;\nconst isJobStartMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"WorkerMessageType\"].running;\nfunction createObservableForJob(worker, jobUID) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n let asyncType;\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker:\", event.data);\n if (!event.data || event.data.uid !== jobUID)\n return;\n if (isJobStartMessage(event.data)) {\n asyncType = event.data.resultType;\n }\n else if (isJobResultMessage(event.data)) {\n if (asyncType === \"promise\") {\n if (typeof event.data.payload !== \"undefined\") {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n else {\n if (event.data.payload) {\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.payload));\n }\n if (event.data.complete) {\n observer.complete();\n worker.removeEventListener(\"message\", messageHandler);\n }\n }\n }\n else if (isJobErrorMessage(event.data)) {\n const error = Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error);\n if (asyncType === \"promise\" || !asyncType) {\n observer.error(error);\n }\n else {\n observer.error(error);\n }\n worker.removeEventListener(\"message\", messageHandler);\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n return () => {\n if (asyncType === \"observable\" || !asyncType) {\n const cancelMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].cancel,\n uid: jobUID\n };\n worker.postMessage(cancelMessage);\n }\n worker.removeEventListener(\"message\", messageHandler);\n };\n });\n}\nfunction prepareArguments(rawArgs) {\n if (rawArgs.length === 0) {\n // Exit early if possible\n return {\n args: [],\n transferables: []\n };\n }\n const args = [];\n const transferables = [];\n for (const arg of rawArgs) {\n if (Object(_transferable__WEBPACK_IMPORTED_MODULE_4__[\"isTransferDescriptor\"])(arg)) {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg.send));\n transferables.push(...arg.transferables);\n }\n else {\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"serialize\"])(arg));\n }\n }\n return {\n args,\n transferables: transferables.length === 0 ? transferables : dedupe(transferables)\n };\n}\nfunction createProxyFunction(worker, method) {\n return ((...rawArgs) => {\n const uid = nextJobUID++;\n const { args, transferables } = prepareArguments(rawArgs);\n const runMessage = {\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\"MasterMessageType\"].run,\n uid,\n method,\n args\n };\n debugMessages(\"Sending command to run function to worker:\", runMessage);\n try {\n worker.postMessage(runMessage, transferables);\n }\n catch (error) {\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Promise.reject(error));\n }\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\"ObservablePromise\"].from(Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(createObservableForJob(worker, uid)));\n });\n}\nfunction createProxyModule(worker, methodNames) {\n const proxy = {};\n for (const methodName of methodNames) {\n proxy[methodName] = createProxyFunction(worker, methodName);\n }\n return proxy;\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/invocation-proxy.js?"); /***/ }), @@ -1054,7 +1147,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pool\", function() { return Pool; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/threads/node_modules/debug/src/index.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _ponyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ponyfills */ \"./node_modules/threads/dist-esm/ponyfills.js\");\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./implementation */ \"./node_modules/threads/dist-esm/master/implementation.js\");\n/* harmony import */ var _pool_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pool-types */ \"./node_modules/threads/dist-esm/master/pool-types.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PoolEventType\", function() { return _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"]; });\n\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thread */ \"./node_modules/threads/dist-esm/master/thread.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Thread\", function() { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"]; });\n\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nlet nextPoolID = 1;\nfunction createArray(size) {\n const array = [];\n for (let index = 0; index < size; index++) {\n array.push(index);\n }\n return array;\n}\nfunction delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\nfunction flatMap(array, mapper) {\n return array.reduce((flattened, element) => [...flattened, ...mapper(element)], []);\n}\nfunction slugify(text) {\n return text.replace(/\\W/g, \" \").trim().replace(/\\s+/g, \"-\");\n}\nfunction spawnWorkers(spawnWorker, count) {\n return createArray(count).map(() => ({\n init: spawnWorker(),\n runningTasks: []\n }));\n}\nclass WorkerPool {\n constructor(spawnWorker, optionsOrSize) {\n this.eventSubject = new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n this.initErrors = [];\n this.isClosing = false;\n this.nextTaskID = 1;\n this.taskQueue = [];\n const options = typeof optionsOrSize === \"number\"\n ? { size: optionsOrSize }\n : optionsOrSize || {};\n const { size = _implementation__WEBPACK_IMPORTED_MODULE_3__[\"defaultPoolSize\"] } = options;\n this.debug = debug__WEBPACK_IMPORTED_MODULE_0___default()(`threads:pool:${slugify(options.name || String(nextPoolID++))}`);\n this.options = options;\n this.workers = spawnWorkers(spawnWorker, size);\n this.eventObservable = Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"].from(this.eventSubject));\n Promise.all(this.workers.map(worker => worker.init)).then(() => this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].initialized,\n size: this.workers.length\n }), error => {\n this.debug(\"Error while initializing pool worker:\", error);\n this.eventSubject.error(error);\n this.initErrors.push(error);\n });\n }\n findIdlingWorker() {\n const { concurrency = 1 } = this.options;\n return this.workers.find(worker => worker.runningTasks.length < concurrency);\n }\n runPoolTask(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const workerID = this.workers.indexOf(worker) + 1;\n this.debug(`Running task #${task.id} on worker #${workerID}...`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskStart,\n taskID: task.id,\n workerID\n });\n try {\n const returnValue = yield task.run(yield worker.init);\n this.debug(`Task #${task.id} completed successfully`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted,\n returnValue,\n taskID: task.id,\n workerID\n });\n }\n catch (error) {\n this.debug(`Task #${task.id} failed`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed,\n taskID: task.id,\n error,\n workerID\n });\n }\n });\n }\n run(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const runPromise = (() => __awaiter(this, void 0, void 0, function* () {\n const removeTaskFromWorkersRunningTasks = () => {\n worker.runningTasks = worker.runningTasks.filter(someRunPromise => someRunPromise !== runPromise);\n };\n // Defer task execution by one tick to give handlers time to subscribe\n yield delay(0);\n try {\n yield this.runPoolTask(worker, task);\n }\n finally {\n removeTaskFromWorkersRunningTasks();\n if (!this.isClosing) {\n this.scheduleWork();\n }\n }\n }))();\n worker.runningTasks.push(runPromise);\n });\n }\n scheduleWork() {\n this.debug(`Attempt de-queueing a task in order to run it...`);\n const availableWorker = this.findIdlingWorker();\n if (!availableWorker)\n return;\n const nextTask = this.taskQueue.shift();\n if (!nextTask) {\n this.debug(`Task queue is empty`);\n this.eventSubject.next({ type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained });\n return;\n }\n this.run(availableWorker, nextTask);\n }\n taskCompletion(taskID) {\n return new Promise((resolve, reject) => {\n const eventSubscription = this.events().subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n resolve(event.returnValue);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n reject(event.error);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated) {\n eventSubscription.unsubscribe();\n reject(Error(\"Pool has been terminated before task was run.\"));\n }\n });\n });\n }\n settled(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const getCurrentlyRunningTasks = () => flatMap(this.workers, worker => worker.runningTasks);\n const taskFailures = [];\n const failureSubscription = this.eventObservable.subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n taskFailures.push(event.error);\n }\n });\n if (this.initErrors.length > 0) {\n return Promise.reject(this.initErrors[0]);\n }\n if (allowResolvingImmediately && this.taskQueue.length === 0) {\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n return taskFailures;\n }\n yield new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(void 0);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n failureSubscription.unsubscribe();\n return taskFailures;\n });\n }\n completed(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const settlementPromise = this.settled(allowResolvingImmediately);\n const earlyExitPromise = new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(settlementPromise);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n subscription.unsubscribe();\n reject(event.error);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n const errors = yield Promise.race([\n settlementPromise,\n earlyExitPromise\n ]);\n if (errors.length > 0) {\n throw errors[0];\n }\n });\n }\n events() {\n return this.eventObservable;\n }\n queue(taskFunction) {\n const { maxQueuedJobs = Infinity } = this.options;\n if (this.isClosing) {\n throw Error(`Cannot schedule pool tasks after terminate() has been called.`);\n }\n if (this.initErrors.length > 0) {\n throw this.initErrors[0];\n }\n const taskID = this.nextTaskID++;\n const taskCompletion = this.taskCompletion(taskID);\n taskCompletion.catch((error) => {\n // Prevent unhandled rejections here as we assume the user will use\n // `pool.completed()`, `pool.settled()` or `task.catch()` to handle errors\n this.debug(`Task #${taskID} errored:`, error);\n });\n const task = {\n id: taskID,\n run: taskFunction,\n cancel: () => {\n if (this.taskQueue.indexOf(task) === -1)\n return;\n this.taskQueue = this.taskQueue.filter(someTask => someTask !== task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCanceled,\n taskID: task.id\n });\n },\n then: taskCompletion.then.bind(taskCompletion)\n };\n if (this.taskQueue.length >= maxQueuedJobs) {\n throw Error(\"Maximum number of pool tasks queued. Refusing to queue another one.\\n\" +\n \"This usually happens for one of two reasons: We are either at peak \" +\n \"workload right now or some tasks just won't finish, thus blocking the pool.\");\n }\n this.debug(`Queueing task #${task.id}...`);\n this.taskQueue.push(task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueued,\n taskID: task.id\n });\n this.scheduleWork();\n return task;\n }\n terminate(force) {\n return __awaiter(this, void 0, void 0, function* () {\n this.isClosing = true;\n if (!force) {\n yield this.completed(true);\n }\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated,\n remainingQueue: [...this.taskQueue]\n });\n this.eventSubject.complete();\n yield Promise.all(this.workers.map((worker) => __awaiter(this, void 0, void 0, function* () { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"].terminate(yield worker.init); })));\n });\n }\n}\nWorkerPool.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nfunction PoolConstructor(spawnWorker, optionsOrSize) {\n // The function exists only so we don't need to use `new` to create a pool (we still can, though).\n // If the Pool is a class or not is an implementation detail that should not concern the user.\n return new WorkerPool(spawnWorker, optionsOrSize);\n}\nPoolConstructor.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nconst Pool = PoolConstructor;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Pool\", function() { return Pool; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/debug/src/index.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _ponyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ponyfills */ \"./node_modules/threads/dist-esm/ponyfills.js\");\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./implementation */ \"./node_modules/threads/dist-esm/master/implementation.js\");\n/* harmony import */ var _pool_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pool-types */ \"./node_modules/threads/dist-esm/master/pool-types.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"PoolEventType\", function() { return _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"]; });\n\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thread */ \"./node_modules/threads/dist-esm/master/thread.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Thread\", function() { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"]; });\n\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nlet nextPoolID = 1;\nfunction createArray(size) {\n const array = [];\n for (let index = 0; index < size; index++) {\n array.push(index);\n }\n return array;\n}\nfunction delay(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\nfunction flatMap(array, mapper) {\n return array.reduce((flattened, element) => [...flattened, ...mapper(element)], []);\n}\nfunction slugify(text) {\n return text.replace(/\\W/g, \" \").trim().replace(/\\s+/g, \"-\");\n}\nfunction spawnWorkers(spawnWorker, count) {\n return createArray(count).map(() => ({\n init: spawnWorker(),\n runningTasks: []\n }));\n}\nclass WorkerPool {\n constructor(spawnWorker, optionsOrSize) {\n this.eventSubject = new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Subject\"]();\n this.initErrors = [];\n this.isClosing = false;\n this.nextTaskID = 1;\n this.taskQueue = [];\n const options = typeof optionsOrSize === \"number\"\n ? { size: optionsOrSize }\n : optionsOrSize || {};\n const { size = _implementation__WEBPACK_IMPORTED_MODULE_3__[\"defaultPoolSize\"] } = options;\n this.debug = debug__WEBPACK_IMPORTED_MODULE_0___default()(`threads:pool:${slugify(options.name || String(nextPoolID++))}`);\n this.options = options;\n this.workers = spawnWorkers(spawnWorker, size);\n this.eventObservable = Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"multicast\"])(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"].from(this.eventSubject));\n Promise.all(this.workers.map(worker => worker.init)).then(() => this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].initialized,\n size: this.workers.length\n }), error => {\n this.debug(\"Error while initializing pool worker:\", error);\n this.eventSubject.error(error);\n this.initErrors.push(error);\n });\n }\n findIdlingWorker() {\n const { concurrency = 1 } = this.options;\n return this.workers.find(worker => worker.runningTasks.length < concurrency);\n }\n runPoolTask(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const workerID = this.workers.indexOf(worker) + 1;\n this.debug(`Running task #${task.id} on worker #${workerID}...`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskStart,\n taskID: task.id,\n workerID\n });\n try {\n const returnValue = yield task.run(yield worker.init);\n this.debug(`Task #${task.id} completed successfully`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted,\n returnValue,\n taskID: task.id,\n workerID\n });\n }\n catch (error) {\n this.debug(`Task #${task.id} failed`);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed,\n taskID: task.id,\n error,\n workerID\n });\n }\n });\n }\n run(worker, task) {\n return __awaiter(this, void 0, void 0, function* () {\n const runPromise = (() => __awaiter(this, void 0, void 0, function* () {\n const removeTaskFromWorkersRunningTasks = () => {\n worker.runningTasks = worker.runningTasks.filter(someRunPromise => someRunPromise !== runPromise);\n };\n // Defer task execution by one tick to give handlers time to subscribe\n yield delay(0);\n try {\n yield this.runPoolTask(worker, task);\n }\n finally {\n removeTaskFromWorkersRunningTasks();\n if (!this.isClosing) {\n this.scheduleWork();\n }\n }\n }))();\n worker.runningTasks.push(runPromise);\n });\n }\n scheduleWork() {\n this.debug(`Attempt de-queueing a task in order to run it...`);\n const availableWorker = this.findIdlingWorker();\n if (!availableWorker)\n return;\n const nextTask = this.taskQueue.shift();\n if (!nextTask) {\n this.debug(`Task queue is empty`);\n this.eventSubject.next({ type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained });\n return;\n }\n this.run(availableWorker, nextTask);\n }\n taskCompletion(taskID) {\n return new Promise((resolve, reject) => {\n const eventSubscription = this.events().subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCompleted && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n resolve(event.returnValue);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed && event.taskID === taskID) {\n eventSubscription.unsubscribe();\n reject(event.error);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated) {\n eventSubscription.unsubscribe();\n reject(Error(\"Pool has been terminated before task was run.\"));\n }\n });\n });\n }\n settled(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const getCurrentlyRunningTasks = () => flatMap(this.workers, worker => worker.runningTasks);\n const taskFailures = [];\n const failureSubscription = this.eventObservable.subscribe(event => {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n taskFailures.push(event.error);\n }\n });\n if (this.initErrors.length > 0) {\n return Promise.reject(this.initErrors[0]);\n }\n if (allowResolvingImmediately && this.taskQueue.length === 0) {\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n return taskFailures;\n }\n yield new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(void 0);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\"allSettled\"])(getCurrentlyRunningTasks());\n failureSubscription.unsubscribe();\n return taskFailures;\n });\n }\n completed(allowResolvingImmediately = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const settlementPromise = this.settled(allowResolvingImmediately);\n const earlyExitPromise = new Promise((resolve, reject) => {\n const subscription = this.eventObservable.subscribe({\n next(event) {\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueueDrained) {\n subscription.unsubscribe();\n resolve(settlementPromise);\n }\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskFailed) {\n subscription.unsubscribe();\n reject(event.error);\n }\n },\n error: reject // make a pool-wide error reject the completed() result promise\n });\n });\n const errors = yield Promise.race([\n settlementPromise,\n earlyExitPromise\n ]);\n if (errors.length > 0) {\n throw errors[0];\n }\n });\n }\n events() {\n return this.eventObservable;\n }\n queue(taskFunction) {\n const { maxQueuedJobs = Infinity } = this.options;\n if (this.isClosing) {\n throw Error(`Cannot schedule pool tasks after terminate() has been called.`);\n }\n if (this.initErrors.length > 0) {\n throw this.initErrors[0];\n }\n const taskID = this.nextTaskID++;\n const taskCompletion = this.taskCompletion(taskID);\n taskCompletion.catch((error) => {\n // Prevent unhandled rejections here as we assume the user will use\n // `pool.completed()`, `pool.settled()` or `task.catch()` to handle errors\n this.debug(`Task #${taskID} errored:`, error);\n });\n const task = {\n id: taskID,\n run: taskFunction,\n cancel: () => {\n if (this.taskQueue.indexOf(task) === -1)\n return;\n this.taskQueue = this.taskQueue.filter(someTask => someTask !== task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskCanceled,\n taskID: task.id\n });\n },\n then: taskCompletion.then.bind(taskCompletion)\n };\n if (this.taskQueue.length >= maxQueuedJobs) {\n throw Error(\"Maximum number of pool tasks queued. Refusing to queue another one.\\n\" +\n \"This usually happens for one of two reasons: We are either at peak \" +\n \"workload right now or some tasks just won't finish, thus blocking the pool.\");\n }\n this.debug(`Queueing task #${task.id}...`);\n this.taskQueue.push(task);\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].taskQueued,\n taskID: task.id\n });\n this.scheduleWork();\n return task;\n }\n terminate(force) {\n return __awaiter(this, void 0, void 0, function* () {\n this.isClosing = true;\n if (!force) {\n yield this.completed(true);\n }\n this.eventSubject.next({\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"].terminated,\n remainingQueue: [...this.taskQueue]\n });\n this.eventSubject.complete();\n yield Promise.all(this.workers.map((worker) => __awaiter(this, void 0, void 0, function* () { return _thread__WEBPACK_IMPORTED_MODULE_5__[\"Thread\"].terminate(yield worker.init); })));\n });\n }\n}\nWorkerPool.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nfunction PoolConstructor(spawnWorker, optionsOrSize) {\n // The function exists only so we don't need to use `new` to create a pool (we still can, though).\n // If the Pool is a class or not is an implementation detail that should not concern the user.\n return new WorkerPool(spawnWorker, optionsOrSize);\n}\nPoolConstructor.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\"PoolEventType\"];\n/**\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\n */\nconst Pool = PoolConstructor;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool.js?"); /***/ }), @@ -1066,7 +1159,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"spawn\", function() { return spawn; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/threads/node_modules/debug/src/index.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../promise */ \"./node_modules/threads/dist-esm/promise.js\");\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../symbols */ \"./node_modules/threads/dist-esm/symbols.js\");\n/* harmony import */ var _types_master__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/master */ \"./node_modules/threads/dist-esm/types/master.js\");\n/* harmony import */ var _invocation_proxy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./invocation-proxy */ \"./node_modules/threads/dist-esm/master/invocation-proxy.js\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nconst debugSpawn = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:spawn\");\nconst debugThreadUtils = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:thread-utils\");\nconst isInitMessage = (data) => data && data.type === \"init\";\nconst isUncaughtErrorMessage = (data) => data && data.type === \"uncaughtError\";\nconst initMessageTimeout = typeof process !== \"undefined\" && process.env.THREADS_WORKER_INIT_TIMEOUT\n ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10)\n : 10000;\nfunction withTimeout(promise, timeoutInMs, errorMessage) {\n return __awaiter(this, void 0, void 0, function* () {\n let timeoutHandle;\n const timeout = new Promise((resolve, reject) => {\n timeoutHandle = setTimeout(() => reject(Error(errorMessage)), timeoutInMs);\n });\n const result = yield Promise.race([\n promise,\n timeout\n ]);\n clearTimeout(timeoutHandle);\n return result;\n });\n}\nfunction receiveInitMessage(worker) {\n return new Promise((resolve, reject) => {\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker before finishing initialization:\", event.data);\n if (isInitMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n resolve(event.data);\n }\n else if (isUncaughtErrorMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n reject(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error));\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n });\n}\nfunction createEventObservable(worker, workerTermination) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n const messageHandler = ((messageEvent) => {\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].message,\n data: messageEvent.data\n };\n observer.next(workerEvent);\n });\n const rejectionHandler = ((errorEvent) => {\n debugThreadUtils(\"Unhandled promise rejection event in thread:\", errorEvent);\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError,\n error: Error(errorEvent.reason)\n };\n observer.next(workerEvent);\n });\n worker.addEventListener(\"message\", messageHandler);\n worker.addEventListener(\"unhandledrejection\", rejectionHandler);\n workerTermination.then(() => {\n const terminationEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].termination\n };\n worker.removeEventListener(\"message\", messageHandler);\n worker.removeEventListener(\"unhandledrejection\", rejectionHandler);\n observer.next(terminationEvent);\n observer.complete();\n });\n });\n}\nfunction createTerminator(worker) {\n const [termination, resolver] = Object(_promise__WEBPACK_IMPORTED_MODULE_3__[\"createPromiseWithResolver\"])();\n const terminate = () => __awaiter(this, void 0, void 0, function* () {\n debugThreadUtils(\"Terminating worker\");\n // Newer versions of worker_threads workers return a promise\n yield worker.terminate();\n resolver();\n });\n return { terminate, termination };\n}\nfunction setPrivateThreadProps(raw, worker, workerEvents, terminate) {\n const workerErrors = workerEvents\n .filter(event => event.type === _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError)\n .map(errorEvent => errorEvent.error);\n // tslint:disable-next-line prefer-object-spread\n return Object.assign(raw, {\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$errors\"]]: workerErrors,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$events\"]]: workerEvents,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$terminate\"]]: terminate,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$worker\"]]: worker\n });\n}\n/**\n * Spawn a new thread. Takes a fresh worker instance, wraps it in a thin\n * abstraction layer to provide the transparent API and verifies that\n * the worker has initialized successfully.\n *\n * @param worker Instance of `Worker`. Either a web worker, `worker_threads` worker or `tiny-worker` worker.\n * @param [options]\n * @param [options.timeout] Init message timeout. Default: 10000 or set by environment variable.\n */\nfunction spawn(worker, options) {\n return __awaiter(this, void 0, void 0, function* () {\n debugSpawn(\"Initializing new thread\");\n const timeout = options && options.timeout ? options.timeout : initMessageTimeout;\n const initMessage = yield withTimeout(receiveInitMessage(worker), timeout, `Timeout: Did not receive an init message from worker after ${timeout}ms. Make sure the worker calls expose().`);\n const exposed = initMessage.exposed;\n const { termination, terminate } = createTerminator(worker);\n const events = createEventObservable(worker, termination);\n if (exposed.type === \"function\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyFunction\"])(worker);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else if (exposed.type === \"module\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyModule\"])(worker, exposed.methods);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else {\n const type = exposed.type;\n throw Error(`Worker init message states unexpected type of expose(): ${type}`);\n }\n });\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/spawn.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"spawn\", function() { return spawn; });\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \"./node_modules/debug/src/index.js\");\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \"./node_modules/observable-fns/dist.esm/index.js\");\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \"./node_modules/threads/dist-esm/common.js\");\n/* harmony import */ var _promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../promise */ \"./node_modules/threads/dist-esm/promise.js\");\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../symbols */ \"./node_modules/threads/dist-esm/symbols.js\");\n/* harmony import */ var _types_master__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/master */ \"./node_modules/threads/dist-esm/types/master.js\");\n/* harmony import */ var _invocation_proxy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./invocation-proxy */ \"./node_modules/threads/dist-esm/master/invocation-proxy.js\");\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n\n\n\n\n\n\n\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:messages\");\nconst debugSpawn = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:spawn\");\nconst debugThreadUtils = debug__WEBPACK_IMPORTED_MODULE_0___default()(\"threads:master:thread-utils\");\nconst isInitMessage = (data) => data && data.type === \"init\";\nconst isUncaughtErrorMessage = (data) => data && data.type === \"uncaughtError\";\nconst initMessageTimeout = typeof process !== \"undefined\" && process.env.THREADS_WORKER_INIT_TIMEOUT\n ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10)\n : 10000;\nfunction withTimeout(promise, timeoutInMs, errorMessage) {\n return __awaiter(this, void 0, void 0, function* () {\n let timeoutHandle;\n const timeout = new Promise((resolve, reject) => {\n timeoutHandle = setTimeout(() => reject(Error(errorMessage)), timeoutInMs);\n });\n const result = yield Promise.race([\n promise,\n timeout\n ]);\n clearTimeout(timeoutHandle);\n return result;\n });\n}\nfunction receiveInitMessage(worker) {\n return new Promise((resolve, reject) => {\n const messageHandler = ((event) => {\n debugMessages(\"Message from worker before finishing initialization:\", event.data);\n if (isInitMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n resolve(event.data);\n }\n else if (isUncaughtErrorMessage(event.data)) {\n worker.removeEventListener(\"message\", messageHandler);\n reject(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\"deserialize\"])(event.data.error));\n }\n });\n worker.addEventListener(\"message\", messageHandler);\n });\n}\nfunction createEventObservable(worker, workerTermination) {\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\"Observable\"](observer => {\n const messageHandler = ((messageEvent) => {\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].message,\n data: messageEvent.data\n };\n observer.next(workerEvent);\n });\n const rejectionHandler = ((errorEvent) => {\n debugThreadUtils(\"Unhandled promise rejection event in thread:\", errorEvent);\n const workerEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError,\n error: Error(errorEvent.reason)\n };\n observer.next(workerEvent);\n });\n worker.addEventListener(\"message\", messageHandler);\n worker.addEventListener(\"unhandledrejection\", rejectionHandler);\n workerTermination.then(() => {\n const terminationEvent = {\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].termination\n };\n worker.removeEventListener(\"message\", messageHandler);\n worker.removeEventListener(\"unhandledrejection\", rejectionHandler);\n observer.next(terminationEvent);\n observer.complete();\n });\n });\n}\nfunction createTerminator(worker) {\n const [termination, resolver] = Object(_promise__WEBPACK_IMPORTED_MODULE_3__[\"createPromiseWithResolver\"])();\n const terminate = () => __awaiter(this, void 0, void 0, function* () {\n debugThreadUtils(\"Terminating worker\");\n // Newer versions of worker_threads workers return a promise\n yield worker.terminate();\n resolver();\n });\n return { terminate, termination };\n}\nfunction setPrivateThreadProps(raw, worker, workerEvents, terminate) {\n const workerErrors = workerEvents\n .filter(event => event.type === _types_master__WEBPACK_IMPORTED_MODULE_5__[\"WorkerEventType\"].internalError)\n .map(errorEvent => errorEvent.error);\n // tslint:disable-next-line prefer-object-spread\n return Object.assign(raw, {\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$errors\"]]: workerErrors,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$events\"]]: workerEvents,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$terminate\"]]: terminate,\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\"$worker\"]]: worker\n });\n}\n/**\n * Spawn a new thread. Takes a fresh worker instance, wraps it in a thin\n * abstraction layer to provide the transparent API and verifies that\n * the worker has initialized successfully.\n *\n * @param worker Instance of `Worker`. Either a web worker, `worker_threads` worker or `tiny-worker` worker.\n * @param [options]\n * @param [options.timeout] Init message timeout. Default: 10000 or set by environment variable.\n */\nfunction spawn(worker, options) {\n return __awaiter(this, void 0, void 0, function* () {\n debugSpawn(\"Initializing new thread\");\n const timeout = options && options.timeout ? options.timeout : initMessageTimeout;\n const initMessage = yield withTimeout(receiveInitMessage(worker), timeout, `Timeout: Did not receive an init message from worker after ${timeout}ms. Make sure the worker calls expose().`);\n const exposed = initMessage.exposed;\n const { termination, terminate } = createTerminator(worker);\n const events = createEventObservable(worker, termination);\n if (exposed.type === \"function\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyFunction\"])(worker);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else if (exposed.type === \"module\") {\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\"createProxyModule\"])(worker, exposed.methods);\n return setPrivateThreadProps(proxy, worker, events, terminate);\n }\n else {\n const type = exposed.type;\n throw Error(`Worker init message states unexpected type of expose(): ${type}`);\n }\n });\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/spawn.js?"); /***/ }), @@ -1249,103 +1342,143 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /***/ }), -/***/ "./node_modules/threads/node_modules/debug/src/browser.js": -/*!****************************************************************!*\ - !*** ./node_modules/threads/node_modules/debug/src/browser.js ***! - \****************************************************************/ +/***/ "./node_modules/through2/through2.js": +/*!*******************************************!*\ + !*** ./node_modules/through2/through2.js ***! + \*******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = __webpack_require__(/*! ./common */ \"./node_modules/threads/node_modules/debug/src/common.js\")(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/browser.js?"); +eval("var Transform = __webpack_require__(/*! readable-stream */ \"./node_modules/readable-stream/readable.js\").Transform\n , inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\")\n\nfunction DestroyableTransform(opts) {\n Transform.call(this, opts)\n this._destroyed = false\n}\n\ninherits(DestroyableTransform, Transform)\n\nDestroyableTransform.prototype.destroy = function(err) {\n if (this._destroyed) return\n this._destroyed = true\n \n var self = this\n process.nextTick(function() {\n if (err)\n self.emit('error', err)\n self.emit('close')\n })\n}\n\n// a noop _transform function\nfunction noop (chunk, enc, callback) {\n callback(null, chunk)\n}\n\n\n// create a new export function, used by both the main export and\n// the .ctor export, contains common logic for dealing with arguments\nfunction through2 (construct) {\n return function (options, transform, flush) {\n if (typeof options == 'function') {\n flush = transform\n transform = options\n options = {}\n }\n\n if (typeof transform != 'function')\n transform = noop\n\n if (typeof flush != 'function')\n flush = null\n\n return construct(options, transform, flush)\n }\n}\n\n\n// main export, just make me a transform stream!\nmodule.exports = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(options)\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n\n// make me a reusable prototype that I can `new`, or implicitly `new`\n// with a constructor call\nmodule.exports.ctor = through2(function (options, transform, flush) {\n function Through2 (override) {\n if (!(this instanceof Through2))\n return new Through2(override)\n\n this.options = Object.assign({}, options, override)\n\n DestroyableTransform.call(this, this.options)\n }\n\n inherits(Through2, DestroyableTransform)\n\n Through2.prototype._transform = transform\n\n if (flush)\n Through2.prototype._flush = flush\n\n return Through2\n})\n\n\nmodule.exports.obj = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(Object.assign({ objectMode: true, highWaterMark: 16 }, options))\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/through2/through2.js?"); /***/ }), -/***/ "./node_modules/threads/node_modules/debug/src/common.js": -/*!***************************************************************!*\ - !*** ./node_modules/threads/node_modules/debug/src/common.js ***! - \***************************************************************/ +/***/ "./node_modules/tiny-worker/lib/index.js": +/*!***********************************************!*\ + !*** ./node_modules/tiny-worker/lib/index.js ***! + \***********************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = __webpack_require__(/*! ms */ \"./node_modules/threads/node_modules/ms/index.js\");\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/common.js?"); +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(__dirname) {\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar path = __webpack_require__(/*! path */ \"path\"),\n fork = __webpack_require__(/*! child_process */ \"child_process\").fork,\n worker = path.join(__dirname, \"worker.js\"),\n events = /^(error|message)$/,\n defaultPorts = { inspect: 9229, debug: 5858 };\nvar range = { min: 1, max: 300 };\n\nvar Worker = function () {\n\tfunction Worker(arg) {\n\t\tvar _this = this;\n\n\t\tvar args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\t\tvar options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { cwd: process.cwd() };\n\n\t\t_classCallCheck(this, Worker);\n\n\t\tvar isfn = typeof arg === \"function\",\n\t\t input = isfn ? arg.toString() : arg;\n\n\t\tif (!options.cwd) {\n\t\t\toptions.cwd = process.cwd();\n\t\t}\n\n\t\t//get all debug related parameters\n\t\tvar debugVars = process.execArgv.filter(function (execArg) {\n\t\t\treturn (/(debug|inspect)/.test(execArg)\n\t\t\t);\n\t\t});\n\t\tif (debugVars.length > 0 && !options.noDebugRedirection) {\n\t\t\tif (!options.execArgv) {\n\t\t\t\t//if no execArgs are given copy all arguments\n\t\t\t\tdebugVars = Array.from(process.execArgv);\n\t\t\t\toptions.execArgv = [];\n\t\t\t}\n\n\t\t\tvar inspectIndex = debugVars.findIndex(function (debugArg) {\n\t\t\t\t//get index of inspect parameter\n\t\t\t\treturn (/^--inspect(-brk)?(=\\d+)?$/.test(debugArg)\n\t\t\t\t);\n\t\t\t});\n\n\t\t\tvar debugIndex = debugVars.findIndex(function (debugArg) {\n\t\t\t\t//get index of debug parameter\n\t\t\t\treturn (/^--debug(-brk)?(=\\d+)?$/.test(debugArg)\n\t\t\t\t);\n\t\t\t});\n\n\t\t\tvar portIndex = inspectIndex >= 0 ? inspectIndex : debugIndex; //get index of port, inspect has higher priority\n\n\t\t\tif (portIndex >= 0) {\n\t\t\t\tvar match = /^--(debug|inspect)(?:-brk)?(?:=(\\d+))?$/.exec(debugVars[portIndex]); //get port\n\t\t\t\tvar port = defaultPorts[match[1]];\n\t\t\t\tif (match[2]) {\n\t\t\t\t\tport = parseInt(match[2]);\n\t\t\t\t}\n\t\t\t\tdebugVars[portIndex] = \"--\" + match[1] + \"=\" + (port + range.min + Math.floor(Math.random() * (range.max - range.min))); //new parameter\n\n\t\t\t\tif (debugIndex >= 0 && debugIndex !== portIndex) {\n\t\t\t\t\t//remove \"-brk\" from debug if there\n\t\t\t\t\tmatch = /^(--debug)(?:-brk)?(.*)/.exec(debugVars[debugIndex]);\n\t\t\t\t\tdebugVars[debugIndex] = match[1] + (match[2] ? match[2] : \"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\toptions.execArgv = options.execArgv.concat(debugVars);\n\t\t}\n\n\t\tdelete options.noDebugRedirection;\n\n\t\tthis.child = fork(worker, args, options);\n\t\tthis.onerror = undefined;\n\t\tthis.onmessage = undefined;\n\n\t\tthis.child.on(\"error\", function (e) {\n\t\t\tif (_this.onerror) {\n\t\t\t\t_this.onerror.call(_this, e);\n\t\t\t}\n\t\t});\n\n\t\tthis.child.on(\"message\", function (msg) {\n\t\t\tvar message = JSON.parse(msg);\n\t\t\tvar error = void 0;\n\n\t\t\tif (!message.error && _this.onmessage) {\n\t\t\t\t_this.onmessage.call(_this, message);\n\t\t\t}\n\n\t\t\tif (message.error && _this.onerror) {\n\t\t\t\terror = new Error(message.error);\n\t\t\t\terror.stack = message.stack;\n\n\t\t\t\t_this.onerror.call(_this, error);\n\t\t\t}\n\t\t});\n\n\t\tthis.child.send({ input: input, isfn: isfn, cwd: options.cwd, esm: options.esm });\n\t}\n\n\t_createClass(Worker, [{\n\t\tkey: \"addEventListener\",\n\t\tvalue: function addEventListener(event, fn) {\n\t\t\tif (events.test(event)) {\n\t\t\t\tthis[\"on\" + event] = fn;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"postMessage\",\n\t\tvalue: function postMessage(msg) {\n\t\t\tthis.child.send(JSON.stringify({ data: msg }, null, 0));\n\t\t}\n\t}, {\n\t\tkey: \"terminate\",\n\t\tvalue: function terminate() {\n\t\t\tthis.child.kill(\"SIGINT\");\n\t\t}\n\t}], [{\n\t\tkey: \"setRange\",\n\t\tvalue: function setRange(min, max) {\n\t\t\tif (min >= max) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\trange.min = min;\n\t\t\trange.max = max;\n\n\t\t\treturn true;\n\t\t}\n\t}]);\n\n\treturn Worker;\n}();\n\nmodule.exports = Worker;\n\n/* WEBPACK VAR INJECTION */}.call(this, \"/\"))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/tiny-worker/lib/index.js?"); /***/ }), -/***/ "./node_modules/threads/node_modules/debug/src/index.js": -/*!**************************************************************!*\ - !*** ./node_modules/threads/node_modules/debug/src/index.js ***! - \**************************************************************/ +/***/ "./node_modules/tr46/index.js": +/*!************************************!*\ + !*** ./node_modules/tr46/index.js ***! + \************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = __webpack_require__(/*! ./browser.js */ \"./node_modules/threads/node_modules/debug/src/browser.js\");\n} else {\n\tmodule.exports = __webpack_require__(/*! ./node.js */ \"./node_modules/threads/node_modules/debug/src/node.js\");\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/index.js?"); +"use strict"; +eval("\n\nvar punycode = __webpack_require__(/*! punycode */ \"punycode\");\nvar mappingTable = __webpack_require__(/*! ./lib/mappingTable.json */ \"./node_modules/tr46/lib/mappingTable.json\");\n\nvar PROCESSING_OPTIONS = {\n TRANSITIONAL: 0,\n NONTRANSITIONAL: 1\n};\n\nfunction normalize(str) { // fix bug in v8\n return str.split('\\u0000').map(function (s) { return s.normalize('NFC'); }).join('\\u0000');\n}\n\nfunction findStatus(val) {\n var start = 0;\n var end = mappingTable.length - 1;\n\n while (start <= end) {\n var mid = Math.floor((start + end) / 2);\n\n var target = mappingTable[mid];\n if (target[0][0] <= val && target[0][1] >= val) {\n return target;\n } else if (target[0][0] > val) {\n end = mid - 1;\n } else {\n start = mid + 1;\n }\n }\n\n return null;\n}\n\nvar regexAstralSymbols = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\nfunction countSymbols(string) {\n return string\n // replace every surrogate pair with a BMP symbol\n .replace(regexAstralSymbols, '_')\n // then get the length\n .length;\n}\n\nfunction mapChars(domain_name, useSTD3, processing_option) {\n var hasError = false;\n var processed = \"\";\n\n var len = countSymbols(domain_name);\n for (var i = 0; i < len; ++i) {\n var codePoint = domain_name.codePointAt(i);\n var status = findStatus(codePoint);\n\n switch (status[1]) {\n case \"disallowed\":\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n break;\n case \"ignored\":\n break;\n case \"mapped\":\n processed += String.fromCodePoint.apply(String, status[2]);\n break;\n case \"deviation\":\n if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) {\n processed += String.fromCodePoint.apply(String, status[2]);\n } else {\n processed += String.fromCodePoint(codePoint);\n }\n break;\n case \"valid\":\n processed += String.fromCodePoint(codePoint);\n break;\n case \"disallowed_STD3_mapped\":\n if (useSTD3) {\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n } else {\n processed += String.fromCodePoint.apply(String, status[2]);\n }\n break;\n case \"disallowed_STD3_valid\":\n if (useSTD3) {\n hasError = true;\n }\n\n processed += String.fromCodePoint(codePoint);\n break;\n }\n }\n\n return {\n string: processed,\n error: hasError\n };\n}\n\nvar combiningMarksRegex = /[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E4-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2\\u0AE3\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D01-\\u0D03\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D82\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ABE\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF2-\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA880\\uA881\\uA8B4-\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5\\uAAF6\\uABE3-\\uABEA\\uABEC\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2D]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD804[\\uDC00-\\uDC02\\uDC38-\\uDC46\\uDC7F-\\uDC82\\uDCB0-\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD34\\uDD73\\uDD80-\\uDD82\\uDDB3-\\uDDC0\\uDE2C-\\uDE37\\uDEDF-\\uDEEA\\uDF01-\\uDF03\\uDF3C\\uDF3E-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF57\\uDF62\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDCB0-\\uDCC3\\uDDAF-\\uDDB5\\uDDB8-\\uDDC0\\uDE30-\\uDE40\\uDEAB-\\uDEB7]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF51-\\uDF7E\\uDF8F-\\uDF92]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD83A[\\uDCD0-\\uDCD6]|\\uDB40[\\uDD00-\\uDDEF]/;\n\nfunction validateLabel(label, processing_option) {\n if (label.substr(0, 4) === \"xn--\") {\n label = punycode.toUnicode(label);\n processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL;\n }\n\n var error = false;\n\n if (normalize(label) !== label ||\n (label[3] === \"-\" && label[4] === \"-\") ||\n label[0] === \"-\" || label[label.length - 1] === \"-\" ||\n label.indexOf(\".\") !== -1 ||\n label.search(combiningMarksRegex) === 0) {\n error = true;\n }\n\n var len = countSymbols(label);\n for (var i = 0; i < len; ++i) {\n var status = findStatus(label.codePointAt(i));\n if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== \"valid\") ||\n (processing === PROCESSING_OPTIONS.NONTRANSITIONAL &&\n status[1] !== \"valid\" && status[1] !== \"deviation\")) {\n error = true;\n break;\n }\n }\n\n return {\n label: label,\n error: error\n };\n}\n\nfunction processing(domain_name, useSTD3, processing_option) {\n var result = mapChars(domain_name, useSTD3, processing_option);\n result.string = normalize(result.string);\n\n var labels = result.string.split(\".\");\n for (var i = 0; i < labels.length; ++i) {\n try {\n var validation = validateLabel(labels[i]);\n labels[i] = validation.label;\n result.error = result.error || validation.error;\n } catch(e) {\n result.error = true;\n }\n }\n\n return {\n string: labels.join(\".\"),\n error: result.error\n };\n}\n\nmodule.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) {\n var result = processing(domain_name, useSTD3, processing_option);\n var labels = result.string.split(\".\");\n labels = labels.map(function(l) {\n try {\n return punycode.toASCII(l);\n } catch(e) {\n result.error = true;\n return l;\n }\n });\n\n if (verifyDnsLength) {\n var total = labels.slice(0, labels.length - 1).join(\".\").length;\n if (total.length > 253 || total.length === 0) {\n result.error = true;\n }\n\n for (var i=0; i < labels.length; ++i) {\n if (labels.length > 63 || labels.length === 0) {\n result.error = true;\n break;\n }\n }\n }\n\n if (result.error) return null;\n return labels.join(\".\");\n};\n\nmodule.exports.toUnicode = function(domain_name, useSTD3) {\n var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL);\n\n return {\n domain: result.string,\n error: result.error\n };\n};\n\nmodule.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/tr46/index.js?"); /***/ }), -/***/ "./node_modules/threads/node_modules/debug/src/node.js": -/*!*************************************************************!*\ - !*** ./node_modules/threads/node_modules/debug/src/node.js ***! - \*************************************************************/ +/***/ "./node_modules/tr46/lib/mappingTable.json": +/*!*************************************************!*\ + !*** ./node_modules/tr46/lib/mappingTable.json ***! + \*************************************************/ +/*! exports provided: 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, 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, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 1279, 1280, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, 1327, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667, 1668, 1669, 1670, 1671, 1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, 1680, 1681, 1682, 1683, 1684, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824, 1825, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1835, 1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947, 1948, 1949, 1950, 1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065, 2066, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, 2077, 2078, 2079, 2080, 2081, 2082, 2083, 2084, 2085, 2086, 2087, 2088, 2089, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, 2099, 2100, 2101, 2102, 2103, 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119, 2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129, 2130, 2131, 2132, 2133, 2134, 2135, 2136, 2137, 2138, 2139, 2140, 2141, 2142, 2143, 2144, 2145, 2146, 2147, 2148, 2149, 2150, 2151, 2152, 2153, 2154, 2155, 2156, 2157, 2158, 2159, 2160, 2161, 2162, 2163, 2164, 2165, 2166, 2167, 2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, 2179, 2180, 2181, 2182, 2183, 2184, 2185, 2186, 2187, 2188, 2189, 2190, 2191, 2192, 2193, 2194, 2195, 2196, 2197, 2198, 2199, 2200, 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216, 2217, 2218, 2219, 2220, 2221, 2222, 2223, 2224, 2225, 2226, 2227, 2228, 2229, 2230, 2231, 2232, 2233, 2234, 2235, 2236, 2237, 2238, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259, 2260, 2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273, 2274, 2275, 2276, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308, 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316, 2317, 2318, 2319, 2320, 2321, 2322, 2323, 2324, 2325, 2326, 2327, 2328, 2329, 2330, 2331, 2332, 2333, 2334, 2335, 2336, 2337, 2338, 2339, 2340, 2341, 2342, 2343, 2344, 2345, 2346, 2347, 2348, 2349, 2350, 2351, 2352, 2353, 2354, 2355, 2356, 2357, 2358, 2359, 2360, 2361, 2362, 2363, 2364, 2365, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2384, 2385, 2386, 2387, 2388, 2389, 2390, 2391, 2392, 2393, 2394, 2395, 2396, 2397, 2398, 2399, 2400, 2401, 2402, 2403, 2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411, 2412, 2413, 2414, 2415, 2416, 2417, 2418, 2419, 2420, 2421, 2422, 2423, 2424, 2425, 2426, 2427, 2428, 2429, 2430, 2431, 2432, 2433, 2434, 2435, 2436, 2437, 2438, 2439, 2440, 2441, 2442, 2443, 2444, 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 2455, 2456, 2457, 2458, 2459, 2460, 2461, 2462, 2463, 2464, 2465, 2466, 2467, 2468, 2469, 2470, 2471, 2472, 2473, 2474, 2475, 2476, 2477, 2478, 2479, 2480, 2481, 2482, 2483, 2484, 2485, 2486, 2487, 2488, 2489, 2490, 2491, 2492, 2493, 2494, 2495, 2496, 2497, 2498, 2499, 2500, 2501, 2502, 2503, 2504, 2505, 2506, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 2514, 2515, 2516, 2517, 2518, 2519, 2520, 2521, 2522, 2523, 2524, 2525, 2526, 2527, 2528, 2529, 2530, 2531, 2532, 2533, 2534, 2535, 2536, 2537, 2538, 2539, 2540, 2541, 2542, 2543, 2544, 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2552, 2553, 2554, 2555, 2556, 2557, 2558, 2559, 2560, 2561, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, 2571, 2572, 2573, 2574, 2575, 2576, 2577, 2578, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 2589, 2590, 2591, 2592, 2593, 2594, 2595, 2596, 2597, 2598, 2599, 2600, 2601, 2602, 2603, 2604, 2605, 2606, 2607, 2608, 2609, 2610, 2611, 2612, 2613, 2614, 2615, 2616, 2617, 2618, 2619, 2620, 2621, 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2630, 2631, 2632, 2633, 2634, 2635, 2636, 2637, 2638, 2639, 2640, 2641, 2642, 2643, 2644, 2645, 2646, 2647, 2648, 2649, 2650, 2651, 2652, 2653, 2654, 2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, 2671, 2672, 2673, 2674, 2675, 2676, 2677, 2678, 2679, 2680, 2681, 2682, 2683, 2684, 2685, 2686, 2687, 2688, 2689, 2690, 2691, 2692, 2693, 2694, 2695, 2696, 2697, 2698, 2699, 2700, 2701, 2702, 2703, 2704, 2705, 2706, 2707, 2708, 2709, 2710, 2711, 2712, 2713, 2714, 2715, 2716, 2717, 2718, 2719, 2720, 2721, 2722, 2723, 2724, 2725, 2726, 2727, 2728, 2729, 2730, 2731, 2732, 2733, 2734, 2735, 2736, 2737, 2738, 2739, 2740, 2741, 2742, 2743, 2744, 2745, 2746, 2747, 2748, 2749, 2750, 2751, 2752, 2753, 2754, 2755, 2756, 2757, 2758, 2759, 2760, 2761, 2762, 2763, 2764, 2765, 2766, 2767, 2768, 2769, 2770, 2771, 2772, 2773, 2774, 2775, 2776, 2777, 2778, 2779, 2780, 2781, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2789, 2790, 2791, 2792, 2793, 2794, 2795, 2796, 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805, 2806, 2807, 2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821, 2822, 2823, 2824, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834, 2835, 2836, 2837, 2838, 2839, 2840, 2841, 2842, 2843, 2844, 2845, 2846, 2847, 2848, 2849, 2850, 2851, 2852, 2853, 2854, 2855, 2856, 2857, 2858, 2859, 2860, 2861, 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2869, 2870, 2871, 2872, 2873, 2874, 2875, 2876, 2877, 2878, 2879, 2880, 2881, 2882, 2883, 2884, 2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893, 2894, 2895, 2896, 2897, 2898, 2899, 2900, 2901, 2902, 2903, 2904, 2905, 2906, 2907, 2908, 2909, 2910, 2911, 2912, 2913, 2914, 2915, 2916, 2917, 2918, 2919, 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935, 2936, 2937, 2938, 2939, 2940, 2941, 2942, 2943, 2944, 2945, 2946, 2947, 2948, 2949, 2950, 2951, 2952, 2953, 2954, 2955, 2956, 2957, 2958, 2959, 2960, 2961, 2962, 2963, 2964, 2965, 2966, 2967, 2968, 2969, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2987, 2988, 2989, 2990, 2991, 2992, 2993, 2994, 2995, 2996, 2997, 2998, 2999, 3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019, 3020, 3021, 3022, 3023, 3024, 3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037, 3038, 3039, 3040, 3041, 3042, 3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 3054, 3055, 3056, 3057, 3058, 3059, 3060, 3061, 3062, 3063, 3064, 3065, 3066, 3067, 3068, 3069, 3070, 3071, 3072, 3073, 3074, 3075, 3076, 3077, 3078, 3079, 3080, 3081, 3082, 3083, 3084, 3085, 3086, 3087, 3088, 3089, 3090, 3091, 3092, 3093, 3094, 3095, 3096, 3097, 3098, 3099, 3100, 3101, 3102, 3103, 3104, 3105, 3106, 3107, 3108, 3109, 3110, 3111, 3112, 3113, 3114, 3115, 3116, 3117, 3118, 3119, 3120, 3121, 3122, 3123, 3124, 3125, 3126, 3127, 3128, 3129, 3130, 3131, 3132, 3133, 3134, 3135, 3136, 3137, 3138, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 3147, 3148, 3149, 3150, 3151, 3152, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160, 3161, 3162, 3163, 3164, 3165, 3166, 3167, 3168, 3169, 3170, 3171, 3172, 3173, 3174, 3175, 3176, 3177, 3178, 3179, 3180, 3181, 3182, 3183, 3184, 3185, 3186, 3187, 3188, 3189, 3190, 3191, 3192, 3193, 3194, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3204, 3205, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3214, 3215, 3216, 3217, 3218, 3219, 3220, 3221, 3222, 3223, 3224, 3225, 3226, 3227, 3228, 3229, 3230, 3231, 3232, 3233, 3234, 3235, 3236, 3237, 3238, 3239, 3240, 3241, 3242, 3243, 3244, 3245, 3246, 3247, 3248, 3249, 3250, 3251, 3252, 3253, 3254, 3255, 3256, 3257, 3258, 3259, 3260, 3261, 3262, 3263, 3264, 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3287, 3288, 3289, 3290, 3291, 3292, 3293, 3294, 3295, 3296, 3297, 3298, 3299, 3300, 3301, 3302, 3303, 3304, 3305, 3306, 3307, 3308, 3309, 3310, 3311, 3312, 3313, 3314, 3315, 3316, 3317, 3318, 3319, 3320, 3321, 3322, 3323, 3324, 3325, 3326, 3327, 3328, 3329, 3330, 3331, 3332, 3333, 3334, 3335, 3336, 3337, 3338, 3339, 3340, 3341, 3342, 3343, 3344, 3345, 3346, 3347, 3348, 3349, 3350, 3351, 3352, 3353, 3354, 3355, 3356, 3357, 3358, 3359, 3360, 3361, 3362, 3363, 3364, 3365, 3366, 3367, 3368, 3369, 3370, 3371, 3372, 3373, 3374, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382, 3383, 3384, 3385, 3386, 3387, 3388, 3389, 3390, 3391, 3392, 3393, 3394, 3395, 3396, 3397, 3398, 3399, 3400, 3401, 3402, 3403, 3404, 3405, 3406, 3407, 3408, 3409, 3410, 3411, 3412, 3413, 3414, 3415, 3416, 3417, 3418, 3419, 3420, 3421, 3422, 3423, 3424, 3425, 3426, 3427, 3428, 3429, 3430, 3431, 3432, 3433, 3434, 3435, 3436, 3437, 3438, 3439, 3440, 3441, 3442, 3443, 3444, 3445, 3446, 3447, 3448, 3449, 3450, 3451, 3452, 3453, 3454, 3455, 3456, 3457, 3458, 3459, 3460, 3461, 3462, 3463, 3464, 3465, 3466, 3467, 3468, 3469, 3470, 3471, 3472, 3473, 3474, 3475, 3476, 3477, 3478, 3479, 3480, 3481, 3482, 3483, 3484, 3485, 3486, 3487, 3488, 3489, 3490, 3491, 3492, 3493, 3494, 3495, 3496, 3497, 3498, 3499, 3500, 3501, 3502, 3503, 3504, 3505, 3506, 3507, 3508, 3509, 3510, 3511, 3512, 3513, 3514, 3515, 3516, 3517, 3518, 3519, 3520, 3521, 3522, 3523, 3524, 3525, 3526, 3527, 3528, 3529, 3530, 3531, 3532, 3533, 3534, 3535, 3536, 3537, 3538, 3539, 3540, 3541, 3542, 3543, 3544, 3545, 3546, 3547, 3548, 3549, 3550, 3551, 3552, 3553, 3554, 3555, 3556, 3557, 3558, 3559, 3560, 3561, 3562, 3563, 3564, 3565, 3566, 3567, 3568, 3569, 3570, 3571, 3572, 3573, 3574, 3575, 3576, 3577, 3578, 3579, 3580, 3581, 3582, 3583, 3584, 3585, 3586, 3587, 3588, 3589, 3590, 3591, 3592, 3593, 3594, 3595, 3596, 3597, 3598, 3599, 3600, 3601, 3602, 3603, 3604, 3605, 3606, 3607, 3608, 3609, 3610, 3611, 3612, 3613, 3614, 3615, 3616, 3617, 3618, 3619, 3620, 3621, 3622, 3623, 3624, 3625, 3626, 3627, 3628, 3629, 3630, 3631, 3632, 3633, 3634, 3635, 3636, 3637, 3638, 3639, 3640, 3641, 3642, 3643, 3644, 3645, 3646, 3647, 3648, 3649, 3650, 3651, 3652, 3653, 3654, 3655, 3656, 3657, 3658, 3659, 3660, 3661, 3662, 3663, 3664, 3665, 3666, 3667, 3668, 3669, 3670, 3671, 3672, 3673, 3674, 3675, 3676, 3677, 3678, 3679, 3680, 3681, 3682, 3683, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691, 3692, 3693, 3694, 3695, 3696, 3697, 3698, 3699, 3700, 3701, 3702, 3703, 3704, 3705, 3706, 3707, 3708, 3709, 3710, 3711, 3712, 3713, 3714, 3715, 3716, 3717, 3718, 3719, 3720, 3721, 3722, 3723, 3724, 3725, 3726, 3727, 3728, 3729, 3730, 3731, 3732, 3733, 3734, 3735, 3736, 3737, 3738, 3739, 3740, 3741, 3742, 3743, 3744, 3745, 3746, 3747, 3748, 3749, 3750, 3751, 3752, 3753, 3754, 3755, 3756, 3757, 3758, 3759, 3760, 3761, 3762, 3763, 3764, 3765, 3766, 3767, 3768, 3769, 3770, 3771, 3772, 3773, 3774, 3775, 3776, 3777, 3778, 3779, 3780, 3781, 3782, 3783, 3784, 3785, 3786, 3787, 3788, 3789, 3790, 3791, 3792, 3793, 3794, 3795, 3796, 3797, 3798, 3799, 3800, 3801, 3802, 3803, 3804, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815, 3816, 3817, 3818, 3819, 3820, 3821, 3822, 3823, 3824, 3825, 3826, 3827, 3828, 3829, 3830, 3831, 3832, 3833, 3834, 3835, 3836, 3837, 3838, 3839, 3840, 3841, 3842, 3843, 3844, 3845, 3846, 3847, 3848, 3849, 3850, 3851, 3852, 3853, 3854, 3855, 3856, 3857, 3858, 3859, 3860, 3861, 3862, 3863, 3864, 3865, 3866, 3867, 3868, 3869, 3870, 3871, 3872, 3873, 3874, 3875, 3876, 3877, 3878, 3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, 3895, 3896, 3897, 3898, 3899, 3900, 3901, 3902, 3903, 3904, 3905, 3906, 3907, 3908, 3909, 3910, 3911, 3912, 3913, 3914, 3915, 3916, 3917, 3918, 3919, 3920, 3921, 3922, 3923, 3924, 3925, 3926, 3927, 3928, 3929, 3930, 3931, 3932, 3933, 3934, 3935, 3936, 3937, 3938, 3939, 3940, 3941, 3942, 3943, 3944, 3945, 3946, 3947, 3948, 3949, 3950, 3951, 3952, 3953, 3954, 3955, 3956, 3957, 3958, 3959, 3960, 3961, 3962, 3963, 3964, 3965, 3966, 3967, 3968, 3969, 3970, 3971, 3972, 3973, 3974, 3975, 3976, 3977, 3978, 3979, 3980, 3981, 3982, 3983, 3984, 3985, 3986, 3987, 3988, 3989, 3990, 3991, 3992, 3993, 3994, 3995, 3996, 3997, 3998, 3999, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007, 4008, 4009, 4010, 4011, 4012, 4013, 4014, 4015, 4016, 4017, 4018, 4019, 4020, 4021, 4022, 4023, 4024, 4025, 4026, 4027, 4028, 4029, 4030, 4031, 4032, 4033, 4034, 4035, 4036, 4037, 4038, 4039, 4040, 4041, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049, 4050, 4051, 4052, 4053, 4054, 4055, 4056, 4057, 4058, 4059, 4060, 4061, 4062, 4063, 4064, 4065, 4066, 4067, 4068, 4069, 4070, 4071, 4072, 4073, 4074, 4075, 4076, 4077, 4078, 4079, 4080, 4081, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, 4099, 4100, 4101, 4102, 4103, 4104, 4105, 4106, 4107, 4108, 4109, 4110, 4111, 4112, 4113, 4114, 4115, 4116, 4117, 4118, 4119, 4120, 4121, 4122, 4123, 4124, 4125, 4126, 4127, 4128, 4129, 4130, 4131, 4132, 4133, 4134, 4135, 4136, 4137, 4138, 4139, 4140, 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149, 4150, 4151, 4152, 4153, 4154, 4155, 4156, 4157, 4158, 4159, 4160, 4161, 4162, 4163, 4164, 4165, 4166, 4167, 4168, 4169, 4170, 4171, 4172, 4173, 4174, 4175, 4176, 4177, 4178, 4179, 4180, 4181, 4182, 4183, 4184, 4185, 4186, 4187, 4188, 4189, 4190, 4191, 4192, 4193, 4194, 4195, 4196, 4197, 4198, 4199, 4200, 4201, 4202, 4203, 4204, 4205, 4206, 4207, 4208, 4209, 4210, 4211, 4212, 4213, 4214, 4215, 4216, 4217, 4218, 4219, 4220, 4221, 4222, 4223, 4224, 4225, 4226, 4227, 4228, 4229, 4230, 4231, 4232, 4233, 4234, 4235, 4236, 4237, 4238, 4239, 4240, 4241, 4242, 4243, 4244, 4245, 4246, 4247, 4248, 4249, 4250, 4251, 4252, 4253, 4254, 4255, 4256, 4257, 4258, 4259, 4260, 4261, 4262, 4263, 4264, 4265, 4266, 4267, 4268, 4269, 4270, 4271, 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279, 4280, 4281, 4282, 4283, 4284, 4285, 4286, 4287, 4288, 4289, 4290, 4291, 4292, 4293, 4294, 4295, 4296, 4297, 4298, 4299, 4300, 4301, 4302, 4303, 4304, 4305, 4306, 4307, 4308, 4309, 4310, 4311, 4312, 4313, 4314, 4315, 4316, 4317, 4318, 4319, 4320, 4321, 4322, 4323, 4324, 4325, 4326, 4327, 4328, 4329, 4330, 4331, 4332, 4333, 4334, 4335, 4336, 4337, 4338, 4339, 4340, 4341, 4342, 4343, 4344, 4345, 4346, 4347, 4348, 4349, 4350, 4351, 4352, 4353, 4354, 4355, 4356, 4357, 4358, 4359, 4360, 4361, 4362, 4363, 4364, 4365, 4366, 4367, 4368, 4369, 4370, 4371, 4372, 4373, 4374, 4375, 4376, 4377, 4378, 4379, 4380, 4381, 4382, 4383, 4384, 4385, 4386, 4387, 4388, 4389, 4390, 4391, 4392, 4393, 4394, 4395, 4396, 4397, 4398, 4399, 4400, 4401, 4402, 4403, 4404, 4405, 4406, 4407, 4408, 4409, 4410, 4411, 4412, 4413, 4414, 4415, 4416, 4417, 4418, 4419, 4420, 4421, 4422, 4423, 4424, 4425, 4426, 4427, 4428, 4429, 4430, 4431, 4432, 4433, 4434, 4435, 4436, 4437, 4438, 4439, 4440, 4441, 4442, 4443, 4444, 4445, 4446, 4447, 4448, 4449, 4450, 4451, 4452, 4453, 4454, 4455, 4456, 4457, 4458, 4459, 4460, 4461, 4462, 4463, 4464, 4465, 4466, 4467, 4468, 4469, 4470, 4471, 4472, 4473, 4474, 4475, 4476, 4477, 4478, 4479, 4480, 4481, 4482, 4483, 4484, 4485, 4486, 4487, 4488, 4489, 4490, 4491, 4492, 4493, 4494, 4495, 4496, 4497, 4498, 4499, 4500, 4501, 4502, 4503, 4504, 4505, 4506, 4507, 4508, 4509, 4510, 4511, 4512, 4513, 4514, 4515, 4516, 4517, 4518, 4519, 4520, 4521, 4522, 4523, 4524, 4525, 4526, 4527, 4528, 4529, 4530, 4531, 4532, 4533, 4534, 4535, 4536, 4537, 4538, 4539, 4540, 4541, 4542, 4543, 4544, 4545, 4546, 4547, 4548, 4549, 4550, 4551, 4552, 4553, 4554, 4555, 4556, 4557, 4558, 4559, 4560, 4561, 4562, 4563, 4564, 4565, 4566, 4567, 4568, 4569, 4570, 4571, 4572, 4573, 4574, 4575, 4576, 4577, 4578, 4579, 4580, 4581, 4582, 4583, 4584, 4585, 4586, 4587, 4588, 4589, 4590, 4591, 4592, 4593, 4594, 4595, 4596, 4597, 4598, 4599, 4600, 4601, 4602, 4603, 4604, 4605, 4606, 4607, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4626, 4627, 4628, 4629, 4630, 4631, 4632, 4633, 4634, 4635, 4636, 4637, 4638, 4639, 4640, 4641, 4642, 4643, 4644, 4645, 4646, 4647, 4648, 4649, 4650, 4651, 4652, 4653, 4654, 4655, 4656, 4657, 4658, 4659, 4660, 4661, 4662, 4663, 4664, 4665, 4666, 4667, 4668, 4669, 4670, 4671, 4672, 4673, 4674, 4675, 4676, 4677, 4678, 4679, 4680, 4681, 4682, 4683, 4684, 4685, 4686, 4687, 4688, 4689, 4690, 4691, 4692, 4693, 4694, 4695, 4696, 4697, 4698, 4699, 4700, 4701, 4702, 4703, 4704, 4705, 4706, 4707, 4708, 4709, 4710, 4711, 4712, 4713, 4714, 4715, 4716, 4717, 4718, 4719, 4720, 4721, 4722, 4723, 4724, 4725, 4726, 4727, 4728, 4729, 4730, 4731, 4732, 4733, 4734, 4735, 4736, 4737, 4738, 4739, 4740, 4741, 4742, 4743, 4744, 4745, 4746, 4747, 4748, 4749, 4750, 4751, 4752, 4753, 4754, 4755, 4756, 4757, 4758, 4759, 4760, 4761, 4762, 4763, 4764, 4765, 4766, 4767, 4768, 4769, 4770, 4771, 4772, 4773, 4774, 4775, 4776, 4777, 4778, 4779, 4780, 4781, 4782, 4783, 4784, 4785, 4786, 4787, 4788, 4789, 4790, 4791, 4792, 4793, 4794, 4795, 4796, 4797, 4798, 4799, 4800, 4801, 4802, 4803, 4804, 4805, 4806, 4807, 4808, 4809, 4810, 4811, 4812, 4813, 4814, 4815, 4816, 4817, 4818, 4819, 4820, 4821, 4822, 4823, 4824, 4825, 4826, 4827, 4828, 4829, 4830, 4831, 4832, 4833, 4834, 4835, 4836, 4837, 4838, 4839, 4840, 4841, 4842, 4843, 4844, 4845, 4846, 4847, 4848, 4849, 4850, 4851, 4852, 4853, 4854, 4855, 4856, 4857, 4858, 4859, 4860, 4861, 4862, 4863, 4864, 4865, 4866, 4867, 4868, 4869, 4870, 4871, 4872, 4873, 4874, 4875, 4876, 4877, 4878, 4879, 4880, 4881, 4882, 4883, 4884, 4885, 4886, 4887, 4888, 4889, 4890, 4891, 4892, 4893, 4894, 4895, 4896, 4897, 4898, 4899, 4900, 4901, 4902, 4903, 4904, 4905, 4906, 4907, 4908, 4909, 4910, 4911, 4912, 4913, 4914, 4915, 4916, 4917, 4918, 4919, 4920, 4921, 4922, 4923, 4924, 4925, 4926, 4927, 4928, 4929, 4930, 4931, 4932, 4933, 4934, 4935, 4936, 4937, 4938, 4939, 4940, 4941, 4942, 4943, 4944, 4945, 4946, 4947, 4948, 4949, 4950, 4951, 4952, 4953, 4954, 4955, 4956, 4957, 4958, 4959, 4960, 4961, 4962, 4963, 4964, 4965, 4966, 4967, 4968, 4969, 4970, 4971, 4972, 4973, 4974, 4975, 4976, 4977, 4978, 4979, 4980, 4981, 4982, 4983, 4984, 4985, 4986, 4987, 4988, 4989, 4990, 4991, 4992, 4993, 4994, 4995, 4996, 4997, 4998, 4999, 5000, 5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008, 5009, 5010, 5011, 5012, 5013, 5014, 5015, 5016, 5017, 5018, 5019, 5020, 5021, 5022, 5023, 5024, 5025, 5026, 5027, 5028, 5029, 5030, 5031, 5032, 5033, 5034, 5035, 5036, 5037, 5038, 5039, 5040, 5041, 5042, 5043, 5044, 5045, 5046, 5047, 5048, 5049, 5050, 5051, 5052, 5053, 5054, 5055, 5056, 5057, 5058, 5059, 5060, 5061, 5062, 5063, 5064, 5065, 5066, 5067, 5068, 5069, 5070, 5071, 5072, 5073, 5074, 5075, 5076, 5077, 5078, 5079, 5080, 5081, 5082, 5083, 5084, 5085, 5086, 5087, 5088, 5089, 5090, 5091, 5092, 5093, 5094, 5095, 5096, 5097, 5098, 5099, 5100, 5101, 5102, 5103, 5104, 5105, 5106, 5107, 5108, 5109, 5110, 5111, 5112, 5113, 5114, 5115, 5116, 5117, 5118, 5119, 5120, 5121, 5122, 5123, 5124, 5125, 5126, 5127, 5128, 5129, 5130, 5131, 5132, 5133, 5134, 5135, 5136, 5137, 5138, 5139, 5140, 5141, 5142, 5143, 5144, 5145, 5146, 5147, 5148, 5149, 5150, 5151, 5152, 5153, 5154, 5155, 5156, 5157, 5158, 5159, 5160, 5161, 5162, 5163, 5164, 5165, 5166, 5167, 5168, 5169, 5170, 5171, 5172, 5173, 5174, 5175, 5176, 5177, 5178, 5179, 5180, 5181, 5182, 5183, 5184, 5185, 5186, 5187, 5188, 5189, 5190, 5191, 5192, 5193, 5194, 5195, 5196, 5197, 5198, 5199, 5200, 5201, 5202, 5203, 5204, 5205, 5206, 5207, 5208, 5209, 5210, 5211, 5212, 5213, 5214, 5215, 5216, 5217, 5218, 5219, 5220, 5221, 5222, 5223, 5224, 5225, 5226, 5227, 5228, 5229, 5230, 5231, 5232, 5233, 5234, 5235, 5236, 5237, 5238, 5239, 5240, 5241, 5242, 5243, 5244, 5245, 5246, 5247, 5248, 5249, 5250, 5251, 5252, 5253, 5254, 5255, 5256, 5257, 5258, 5259, 5260, 5261, 5262, 5263, 5264, 5265, 5266, 5267, 5268, 5269, 5270, 5271, 5272, 5273, 5274, 5275, 5276, 5277, 5278, 5279, 5280, 5281, 5282, 5283, 5284, 5285, 5286, 5287, 5288, 5289, 5290, 5291, 5292, 5293, 5294, 5295, 5296, 5297, 5298, 5299, 5300, 5301, 5302, 5303, 5304, 5305, 5306, 5307, 5308, 5309, 5310, 5311, 5312, 5313, 5314, 5315, 5316, 5317, 5318, 5319, 5320, 5321, 5322, 5323, 5324, 5325, 5326, 5327, 5328, 5329, 5330, 5331, 5332, 5333, 5334, 5335, 5336, 5337, 5338, 5339, 5340, 5341, 5342, 5343, 5344, 5345, 5346, 5347, 5348, 5349, 5350, 5351, 5352, 5353, 5354, 5355, 5356, 5357, 5358, 5359, 5360, 5361, 5362, 5363, 5364, 5365, 5366, 5367, 5368, 5369, 5370, 5371, 5372, 5373, 5374, 5375, 5376, 5377, 5378, 5379, 5380, 5381, 5382, 5383, 5384, 5385, 5386, 5387, 5388, 5389, 5390, 5391, 5392, 5393, 5394, 5395, 5396, 5397, 5398, 5399, 5400, 5401, 5402, 5403, 5404, 5405, 5406, 5407, 5408, 5409, 5410, 5411, 5412, 5413, 5414, 5415, 5416, 5417, 5418, 5419, 5420, 5421, 5422, 5423, 5424, 5425, 5426, 5427, 5428, 5429, 5430, 5431, 5432, 5433, 5434, 5435, 5436, 5437, 5438, 5439, 5440, 5441, 5442, 5443, 5444, 5445, 5446, 5447, 5448, 5449, 5450, 5451, 5452, 5453, 5454, 5455, 5456, 5457, 5458, 5459, 5460, 5461, 5462, 5463, 5464, 5465, 5466, 5467, 5468, 5469, 5470, 5471, 5472, 5473, 5474, 5475, 5476, 5477, 5478, 5479, 5480, 5481, 5482, 5483, 5484, 5485, 5486, 5487, 5488, 5489, 5490, 5491, 5492, 5493, 5494, 5495, 5496, 5497, 5498, 5499, 5500, 5501, 5502, 5503, 5504, 5505, 5506, 5507, 5508, 5509, 5510, 5511, 5512, 5513, 5514, 5515, 5516, 5517, 5518, 5519, 5520, 5521, 5522, 5523, 5524, 5525, 5526, 5527, 5528, 5529, 5530, 5531, 5532, 5533, 5534, 5535, 5536, 5537, 5538, 5539, 5540, 5541, 5542, 5543, 5544, 5545, 5546, 5547, 5548, 5549, 5550, 5551, 5552, 5553, 5554, 5555, 5556, 5557, 5558, 5559, 5560, 5561, 5562, 5563, 5564, 5565, 5566, 5567, 5568, 5569, 5570, 5571, 5572, 5573, 5574, 5575, 5576, 5577, 5578, 5579, 5580, 5581, 5582, 5583, 5584, 5585, 5586, 5587, 5588, 5589, 5590, 5591, 5592, 5593, 5594, 5595, 5596, 5597, 5598, 5599, 5600, 5601, 5602, 5603, 5604, 5605, 5606, 5607, 5608, 5609, 5610, 5611, 5612, 5613, 5614, 5615, 5616, 5617, 5618, 5619, 5620, 5621, 5622, 5623, 5624, 5625, 5626, 5627, 5628, 5629, 5630, 5631, 5632, 5633, 5634, 5635, 5636, 5637, 5638, 5639, 5640, 5641, 5642, 5643, 5644, 5645, 5646, 5647, 5648, 5649, 5650, 5651, 5652, 5653, 5654, 5655, 5656, 5657, 5658, 5659, 5660, 5661, 5662, 5663, 5664, 5665, 5666, 5667, 5668, 5669, 5670, 5671, 5672, 5673, 5674, 5675, 5676, 5677, 5678, 5679, 5680, 5681, 5682, 5683, 5684, 5685, 5686, 5687, 5688, 5689, 5690, 5691, 5692, 5693, 5694, 5695, 5696, 5697, 5698, 5699, 5700, 5701, 5702, 5703, 5704, 5705, 5706, 5707, 5708, 5709, 5710, 5711, 5712, 5713, 5714, 5715, 5716, 5717, 5718, 5719, 5720, 5721, 5722, 5723, 5724, 5725, 5726, 5727, 5728, 5729, 5730, 5731, 5732, 5733, 5734, 5735, 5736, 5737, 5738, 5739, 5740, 5741, 5742, 5743, 5744, 5745, 5746, 5747, 5748, 5749, 5750, 5751, 5752, 5753, 5754, 5755, 5756, 5757, 5758, 5759, 5760, 5761, 5762, 5763, 5764, 5765, 5766, 5767, 5768, 5769, 5770, 5771, 5772, 5773, 5774, 5775, 5776, 5777, 5778, 5779, 5780, 5781, 5782, 5783, 5784, 5785, 5786, 5787, 5788, 5789, 5790, 5791, 5792, 5793, 5794, 5795, 5796, 5797, 5798, 5799, 5800, 5801, 5802, 5803, 5804, 5805, 5806, 5807, 5808, 5809, 5810, 5811, 5812, 5813, 5814, 5815, 5816, 5817, 5818, 5819, 5820, 5821, 5822, 5823, 5824, 5825, 5826, 5827, 5828, 5829, 5830, 5831, 5832, 5833, 5834, 5835, 5836, 5837, 5838, 5839, 5840, 5841, 5842, 5843, 5844, 5845, 5846, 5847, 5848, 5849, 5850, 5851, 5852, 5853, 5854, 5855, 5856, 5857, 5858, 5859, 5860, 5861, 5862, 5863, 5864, 5865, 5866, 5867, 5868, 5869, 5870, 5871, 5872, 5873, 5874, 5875, 5876, 5877, 5878, 5879, 5880, 5881, 5882, 5883, 5884, 5885, 5886, 5887, 5888, 5889, 5890, 5891, 5892, 5893, 5894, 5895, 5896, 5897, 5898, 5899, 5900, 5901, 5902, 5903, 5904, 5905, 5906, 5907, 5908, 5909, 5910, 5911, 5912, 5913, 5914, 5915, 5916, 5917, 5918, 5919, 5920, 5921, 5922, 5923, 5924, 5925, 5926, 5927, 5928, 5929, 5930, 5931, 5932, 5933, 5934, 5935, 5936, 5937, 5938, 5939, 5940, 5941, 5942, 5943, 5944, 5945, 5946, 5947, 5948, 5949, 5950, 5951, 5952, 5953, 5954, 5955, 5956, 5957, 5958, 5959, 5960, 5961, 5962, 5963, 5964, 5965, 5966, 5967, 5968, 5969, 5970, 5971, 5972, 5973, 5974, 5975, 5976, 5977, 5978, 5979, 5980, 5981, 5982, 5983, 5984, 5985, 5986, 5987, 5988, 5989, 5990, 5991, 5992, 5993, 5994, 5995, 5996, 5997, 5998, 5999, 6000, 6001, 6002, 6003, 6004, 6005, 6006, 6007, 6008, 6009, 6010, 6011, 6012, 6013, 6014, 6015, 6016, 6017, 6018, 6019, 6020, 6021, 6022, 6023, 6024, 6025, 6026, 6027, 6028, 6029, 6030, 6031, 6032, 6033, 6034, 6035, 6036, 6037, 6038, 6039, 6040, 6041, 6042, 6043, 6044, 6045, 6046, 6047, 6048, 6049, 6050, 6051, 6052, 6053, 6054, 6055, 6056, 6057, 6058, 6059, 6060, 6061, 6062, 6063, 6064, 6065, 6066, 6067, 6068, 6069, 6070, 6071, 6072, 6073, 6074, 6075, 6076, 6077, 6078, 6079, 6080, 6081, 6082, 6083, 6084, 6085, 6086, 6087, 6088, 6089, 6090, 6091, 6092, 6093, 6094, 6095, 6096, 6097, 6098, 6099, 6100, 6101, 6102, 6103, 6104, 6105, 6106, 6107, 6108, 6109, 6110, 6111, 6112, 6113, 6114, 6115, 6116, 6117, 6118, 6119, 6120, 6121, 6122, 6123, 6124, 6125, 6126, 6127, 6128, 6129, 6130, 6131, 6132, 6133, 6134, 6135, 6136, 6137, 6138, 6139, 6140, 6141, 6142, 6143, 6144, 6145, 6146, 6147, 6148, 6149, 6150, 6151, 6152, 6153, 6154, 6155, 6156, 6157, 6158, 6159, 6160, 6161, 6162, 6163, 6164, 6165, 6166, 6167, 6168, 6169, 6170, 6171, 6172, 6173, 6174, 6175, 6176, 6177, 6178, 6179, 6180, 6181, 6182, 6183, 6184, 6185, 6186, 6187, 6188, 6189, 6190, 6191, 6192, 6193, 6194, 6195, 6196, 6197, 6198, 6199, 6200, 6201, 6202, 6203, 6204, 6205, 6206, 6207, 6208, 6209, 6210, 6211, 6212, 6213, 6214, 6215, 6216, 6217, 6218, 6219, 6220, 6221, 6222, 6223, 6224, 6225, 6226, 6227, 6228, 6229, 6230, 6231, 6232, 6233, 6234, 6235, 6236, 6237, 6238, 6239, 6240, 6241, 6242, 6243, 6244, 6245, 6246, 6247, 6248, 6249, 6250, 6251, 6252, 6253, 6254, 6255, 6256, 6257, 6258, 6259, 6260, 6261, 6262, 6263, 6264, 6265, 6266, 6267, 6268, 6269, 6270, 6271, 6272, 6273, 6274, 6275, 6276, 6277, 6278, 6279, 6280, 6281, 6282, 6283, 6284, 6285, 6286, 6287, 6288, 6289, 6290, 6291, 6292, 6293, 6294, 6295, 6296, 6297, 6298, 6299, 6300, 6301, 6302, 6303, 6304, 6305, 6306, 6307, 6308, 6309, 6310, 6311, 6312, 6313, 6314, 6315, 6316, 6317, 6318, 6319, 6320, 6321, 6322, 6323, 6324, 6325, 6326, 6327, 6328, 6329, 6330, 6331, 6332, 6333, 6334, 6335, 6336, 6337, 6338, 6339, 6340, 6341, 6342, 6343, 6344, 6345, 6346, 6347, 6348, 6349, 6350, 6351, 6352, 6353, 6354, 6355, 6356, 6357, 6358, 6359, 6360, 6361, 6362, 6363, 6364, 6365, 6366, 6367, 6368, 6369, 6370, 6371, 6372, 6373, 6374, 6375, 6376, 6377, 6378, 6379, 6380, 6381, 6382, 6383, 6384, 6385, 6386, 6387, 6388, 6389, 6390, 6391, 6392, 6393, 6394, 6395, 6396, 6397, 6398, 6399, 6400, 6401, 6402, 6403, 6404, 6405, 6406, 6407, 6408, 6409, 6410, 6411, 6412, 6413, 6414, 6415, 6416, 6417, 6418, 6419, 6420, 6421, 6422, 6423, 6424, 6425, 6426, 6427, 6428, 6429, 6430, 6431, 6432, 6433, 6434, 6435, 6436, 6437, 6438, 6439, 6440, 6441, 6442, 6443, 6444, 6445, 6446, 6447, 6448, 6449, 6450, 6451, 6452, 6453, 6454, 6455, 6456, 6457, 6458, 6459, 6460, 6461, 6462, 6463, 6464, 6465, 6466, 6467, 6468, 6469, 6470, 6471, 6472, 6473, 6474, 6475, 6476, 6477, 6478, 6479, 6480, 6481, 6482, 6483, 6484, 6485, 6486, 6487, 6488, 6489, 6490, 6491, 6492, 6493, 6494, 6495, 6496, 6497, 6498, 6499, 6500, 6501, 6502, 6503, 6504, 6505, 6506, 6507, 6508, 6509, 6510, 6511, 6512, 6513, 6514, 6515, 6516, 6517, 6518, 6519, 6520, 6521, 6522, 6523, 6524, 6525, 6526, 6527, 6528, 6529, 6530, 6531, 6532, 6533, 6534, 6535, 6536, 6537, 6538, 6539, 6540, 6541, 6542, 6543, 6544, 6545, 6546, 6547, 6548, 6549, 6550, 6551, 6552, 6553, 6554, 6555, 6556, 6557, 6558, 6559, 6560, 6561, 6562, 6563, 6564, 6565, 6566, 6567, 6568, 6569, 6570, 6571, 6572, 6573, 6574, 6575, 6576, 6577, 6578, 6579, 6580, 6581, 6582, 6583, 6584, 6585, 6586, 6587, 6588, 6589, 6590, 6591, 6592, 6593, 6594, 6595, 6596, 6597, 6598, 6599, 6600, 6601, 6602, 6603, 6604, 6605, 6606, 6607, 6608, 6609, 6610, 6611, 6612, 6613, 6614, 6615, 6616, 6617, 6618, 6619, 6620, 6621, 6622, 6623, 6624, 6625, 6626, 6627, 6628, 6629, 6630, 6631, 6632, 6633, 6634, 6635, 6636, 6637, 6638, 6639, 6640, 6641, 6642, 6643, 6644, 6645, 6646, 6647, 6648, 6649, 6650, 6651, 6652, 6653, 6654, 6655, 6656, 6657, 6658, 6659, 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667, 6668, 6669, 6670, 6671, 6672, 6673, 6674, 6675, 6676, 6677, 6678, 6679, 6680, 6681, 6682, 6683, 6684, 6685, 6686, 6687, 6688, 6689, 6690, 6691, 6692, 6693, 6694, 6695, 6696, 6697, 6698, 6699, 6700, 6701, 6702, 6703, 6704, 6705, 6706, 6707, 6708, 6709, 6710, 6711, 6712, 6713, 6714, 6715, 6716, 6717, 6718, 6719, 6720, 6721, 6722, 6723, 6724, 6725, 6726, 6727, 6728, 6729, 6730, 6731, 6732, 6733, 6734, 6735, 6736, 6737, 6738, 6739, 6740, 6741, 6742, 6743, 6744, 6745, 6746, 6747, 6748, 6749, 6750, 6751, 6752, 6753, 6754, 6755, 6756, 6757, 6758, 6759, 6760, 6761, 6762, 6763, 6764, 6765, 6766, 6767, 6768, 6769, 6770, 6771, 6772, 6773, 6774, 6775, 6776, 6777, 6778, 6779, 6780, 6781, 6782, 6783, 6784, 6785, 6786, 6787, 6788, 6789, 6790, 6791, 6792, 6793, 6794, 6795, 6796, 6797, 6798, 6799, 6800, 6801, 6802, 6803, 6804, 6805, 6806, 6807, 6808, 6809, 6810, 6811, 6812, 6813, 6814, 6815, 6816, 6817, 6818, 6819, 6820, 6821, 6822, 6823, 6824, 6825, 6826, 6827, 6828, 6829, 6830, 6831, 6832, 6833, 6834, 6835, 6836, 6837, 6838, 6839, 6840, 6841, 6842, 6843, 6844, 6845, 6846, 6847, 6848, 6849, 6850, 6851, 6852, 6853, 6854, 6855, 6856, 6857, 6858, 6859, 6860, 6861, 6862, 6863, 6864, 6865, 6866, 6867, 6868, 6869, 6870, 6871, 6872, 6873, 6874, 6875, 6876, 6877, 6878, 6879, 6880, 6881, 6882, 6883, 6884, 6885, 6886, 6887, 6888, 6889, 6890, 6891, 6892, 6893, 6894, 6895, 6896, 6897, 6898, 6899, 6900, 6901, 6902, 6903, 6904, 6905, 6906, 6907, 6908, 6909, 6910, 6911, 6912, 6913, 6914, 6915, 6916, 6917, 6918, 6919, 6920, 6921, 6922, 6923, 6924, 6925, 6926, 6927, 6928, 6929, 6930, 6931, 6932, 6933, 6934, 6935, 6936, 6937, 6938, 6939, 6940, 6941, 6942, 6943, 6944, 6945, 6946, 6947, 6948, 6949, 6950, 6951, 6952, 6953, 6954, 6955, 6956, 6957, 6958, 6959, 6960, 6961, 6962, 6963, 6964, 6965, 6966, 6967, 6968, 6969, 6970, 6971, 6972, 6973, 6974, 6975, 6976, 6977, 6978, 6979, 6980, 6981, 6982, 6983, 6984, 6985, 6986, 6987, 6988, 6989, 6990, 6991, 6992, 6993, 6994, 6995, 6996, 6997, 6998, 6999, 7000, 7001, 7002, 7003, 7004, 7005, 7006, 7007, 7008, 7009, 7010, 7011, 7012, 7013, 7014, 7015, 7016, 7017, 7018, 7019, 7020, 7021, 7022, 7023, 7024, 7025, 7026, 7027, 7028, 7029, 7030, 7031, 7032, 7033, 7034, 7035, 7036, 7037, 7038, 7039, 7040, 7041, 7042, 7043, 7044, 7045, 7046, 7047, 7048, 7049, 7050, 7051, 7052, 7053, 7054, 7055, 7056, 7057, 7058, 7059, 7060, 7061, 7062, 7063, 7064, 7065, 7066, 7067, 7068, 7069, 7070, 7071, 7072, 7073, 7074, 7075, 7076, 7077, 7078, 7079, 7080, 7081, 7082, 7083, 7084, 7085, 7086, 7087, 7088, 7089, 7090, 7091, 7092, 7093, 7094, 7095, 7096, 7097, 7098, 7099, 7100, 7101, 7102, 7103, 7104, 7105, 7106, 7107, 7108, 7109, 7110, 7111, 7112, 7113, 7114, 7115, 7116, 7117, 7118, 7119, 7120, 7121, 7122, 7123, 7124, 7125, 7126, 7127, 7128, 7129, 7130, 7131, 7132, 7133, 7134, 7135, 7136, 7137, 7138, 7139, 7140, 7141, 7142, 7143, 7144, 7145, 7146, 7147, 7148, 7149, 7150, 7151, 7152, 7153, 7154, 7155, 7156, 7157, 7158, 7159, 7160, 7161, 7162, 7163, 7164, 7165, 7166, 7167, 7168, 7169, 7170, 7171, 7172, 7173, 7174, 7175, 7176, 7177, 7178, 7179, 7180, 7181, 7182, 7183, 7184, 7185, 7186, 7187, 7188, 7189, 7190, 7191, 7192, 7193, 7194, 7195, 7196, 7197, 7198, 7199, 7200, 7201, 7202, 7203, 7204, 7205, 7206, 7207, 7208, 7209, 7210, 7211, 7212, 7213, 7214, 7215, 7216, 7217, 7218, 7219, 7220, 7221, 7222, 7223, 7224, 7225, 7226, 7227, 7228, 7229, 7230, 7231, 7232, 7233, 7234, 7235, 7236, 7237, 7238, 7239, 7240, 7241, 7242, 7243, 7244, 7245, 7246, 7247, 7248, 7249, 7250, 7251, 7252, 7253, 7254, 7255, 7256, 7257, 7258, 7259, 7260, 7261, 7262, 7263, 7264, 7265, 7266, 7267, 7268, 7269, 7270, 7271, 7272, 7273, 7274, 7275, 7276, 7277, 7278, 7279, 7280, 7281, 7282, 7283, 7284, 7285, 7286, 7287, 7288, 7289, 7290, 7291, 7292, 7293, 7294, 7295, 7296, 7297, 7298, 7299, 7300, 7301, 7302, 7303, 7304, 7305, 7306, 7307, 7308, 7309, 7310, 7311, 7312, 7313, 7314, 7315, 7316, 7317, 7318, 7319, 7320, 7321, 7322, 7323, 7324, 7325, 7326, 7327, 7328, 7329, 7330, 7331, 7332, 7333, 7334, 7335, 7336, 7337, 7338, 7339, 7340, 7341, 7342, 7343, 7344, 7345, 7346, 7347, 7348, 7349, 7350, 7351, 7352, 7353, 7354, 7355, 7356, 7357, 7358, 7359, 7360, 7361, 7362, 7363, 7364, 7365, 7366, 7367, 7368, 7369, 7370, 7371, 7372, 7373, 7374, 7375, 7376, 7377, 7378, 7379, 7380, 7381, 7382, 7383, 7384, 7385, 7386, 7387, 7388, 7389, 7390, 7391, 7392, 7393, 7394, 7395, 7396, 7397, 7398, 7399, 7400, 7401, 7402, 7403, 7404, 7405, 7406, 7407, 7408, 7409, 7410, 7411, 7412, 7413, 7414, 7415, 7416, 7417, 7418, 7419, 7420, 7421, 7422, 7423, 7424, 7425, 7426, 7427, 7428, 7429, 7430, 7431, 7432, 7433, 7434, 7435, 7436, 7437, 7438, 7439, 7440, 7441, 7442, 7443, 7444, 7445, 7446, 7447, 7448, 7449, 7450, 7451, 7452, 7453, 7454, 7455, 7456, 7457, 7458, 7459, 7460, 7461, 7462, 7463, 7464, 7465, 7466, 7467, 7468, 7469, 7470, 7471, 7472, 7473, 7474, 7475, 7476, 7477, 7478, 7479, 7480, 7481, 7482, 7483, 7484, 7485, 7486, 7487, 7488, 7489, 7490, 7491, 7492, 7493, 7494, 7495, 7496, 7497, 7498, 7499, 7500, 7501, 7502, 7503, 7504, 7505, 7506, 7507, 7508, 7509, 7510, 7511, 7512, 7513, 7514, 7515, 7516, 7517, 7518, 7519, 7520, 7521, 7522, 7523, 7524, 7525, 7526, 7527, 7528, 7529, 7530, 7531, 7532, 7533, 7534, 7535, 7536, 7537, 7538, 7539, 7540, 7541, 7542, 7543, 7544, 7545, 7546, 7547, 7548, 7549, 7550, 7551, 7552, 7553, 7554, 7555, 7556, 7557, 7558, 7559, 7560, 7561, 7562, 7563, 7564, 7565, 7566, 7567, 7568, 7569, 7570, 7571, 7572, 7573, 7574, 7575, 7576, 7577, 7578, 7579, 7580, 7581, 7582, 7583, 7584, 7585, 7586, 7587, 7588, 7589, 7590, 7591, 7592, 7593, 7594, 7595, 7596, 7597, 7598, 7599, 7600, 7601, 7602, 7603, 7604, 7605, 7606, 7607, 7608, 7609, 7610, 7611, 7612, 7613, 7614, 7615, 7616, 7617, 7618, 7619, 7620, 7621, 7622, 7623, 7624, 7625, 7626, 7627, 7628, 7629, 7630, 7631, 7632, 7633, 7634, 7635, 7636, 7637, 7638, 7639, 7640, 7641, 7642, 7643, 7644, 7645, 7646, 7647, 7648, 7649, 7650, 7651, 7652, 7653, 7654, 7655, 7656, 7657, 7658, 7659, 7660, 7661, 7662, 7663, 7664, 7665, 7666, 7667, 7668, 7669, 7670, 7671, 7672, 7673, 7674, 7675, 7676, 7677, 7678, 7679, 7680, 7681, 7682, 7683, 7684, 7685, 7686, 7687, 7688, 7689, 7690, 7691, 7692, 7693, 7694, 7695, 7696, 7697, 7698, 7699, 7700, 7701, 7702, 7703, 7704, 7705, 7706, 7707, 7708, 7709, 7710, 7711, 7712, 7713, 7714, 7715, 7716, 7717, 7718, 7719, 7720, 7721, 7722, 7723, 7724, 7725, 7726, 7727, 7728, 7729, 7730, 7731, 7732, 7733, 7734, 7735, 7736, 7737, 7738, 7739, 7740, 7741, 7742, 7743, 7744, 7745, 7746, 7747, 7748, 7749, 7750, 7751, 7752, 7753, 7754, 7755, 7756, 7757, 7758, 7759, 7760, 7761, 7762, 7763, 7764, 7765, 7766, 7767, 7768, 7769, 7770, 7771, 7772, 7773, 7774, 7775, 7776, 7777, 7778, 7779, 7780, 7781, 7782, 7783, 7784, 7785, 7786, 7787, 7788, 7789, 7790, 7791, 7792, 7793, 7794, 7795, 7796, 7797, 7798, 7799, 7800, 7801, 7802, 7803, 7804, 7805, 7806, 7807, 7808, 7809, 7810, 7811, 7812, 7813, 7814, 7815, 7816, 7817, 7818, 7819, 7820, 7821, 7822, 7823, 7824, 7825, 7826, 7827, 7828, 7829, 7830, 7831, 7832, 7833, 7834, 7835, 7836, 7837, 7838, 7839, 7840, 7841, 7842, 7843, 7844, 7845, 7846, 7847, 7848, 7849, 7850, 7851, 7852, 7853, 7854, 7855, 7856, 7857, 7858, 7859, 7860, 7861, 7862, 7863, 7864, 7865, 7866, 7867, 7868, 7869, 7870, 7871, 7872, 7873, 7874, 7875, 7876, 7877, 7878, 7879, 7880, 7881, 7882, 7883, 7884, 7885, 7886, 7887, 7888, 7889, 7890, 7891, 7892, 7893, 7894, 7895, 7896, 7897, 7898, 7899, 7900, 7901, 7902, 7903, 7904, 7905, 7906, 7907, 7908, 7909, 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7918, 7919, 7920, 7921, 7922, 7923, 7924, 7925, 7926, 7927, 7928, 7929, 7930, 7931, 7932, 7933, 7934, 7935, 7936, 7937, 7938, 7939, 7940, 7941, 7942, 7943, 7944, 7945, 7946, 7947, 7948, 7949, 7950, 7951, 7952, 7953, 7954, 7955, 7956, 7957, 7958, 7959, 7960, 7961, 7962, 7963, 7964, 7965, 7966, 7967, 7968, 7969, 7970, 7971, 7972, 7973, 7974, 7975, 7976, 7977, 7978, 7979, 7980, 7981, 7982, 7983, 7984, 7985, 7986, 7987, 7988, 7989, 7990, 7991, 7992, 7993, 7994, 7995, 7996, 7997, 7998, 7999, 8000, 8001, 8002, 8003, 8004, 8005, 8006, 8007, 8008, 8009, 8010, 8011, 8012, 8013, 8014, 8015, 8016, 8017, 8018, 8019, 8020, 8021, 8022, 8023, 8024, 8025, 8026, 8027, 8028, 8029, 8030, 8031, 8032, 8033, 8034, 8035, 8036, 8037, 8038, 8039, 8040, 8041, 8042, 8043, 8044, 8045, 8046, 8047, 8048, 8049, 8050, 8051, 8052, 8053, 8054, 8055, 8056, 8057, 8058, 8059, 8060, 8061, 8062, 8063, 8064, 8065, 8066, 8067, 8068, 8069, 8070, 8071, 8072, 8073, 8074, 8075, 8076, 8077, 8078, 8079, 8080, 8081, 8082, 8083, 8084, 8085, 8086, 8087, 8088, 8089, 8090, 8091, 8092, 8093, 8094, 8095, 8096, 8097, 8098, 8099, 8100, 8101, 8102, 8103, 8104, 8105, 8106, 8107, 8108, 8109, 8110, 8111, 8112, 8113, 8114, 8115, 8116, 8117, 8118, 8119, 8120, 8121, 8122, 8123, 8124, 8125, 8126, 8127, 8128, 8129, 8130, 8131, 8132, 8133, 8134, 8135, 8136, 8137, 8138, 8139, 8140, 8141, 8142, 8143, 8144, 8145, 8146, 8147, 8148, 8149, 8150, 8151, 8152, 8153, 8154, 8155, 8156, 8157, 8158, 8159, 8160, 8161, 8162, 8163, 8164, 8165, 8166, 8167, 8168, 8169, 8170, 8171, 8172, 8173, 8174, 8175, 8176, 8177, 8178, default */ +/***/ (function(module) { + +eval("module.exports = JSON.parse(\"[[[0,44],\\\"disallowed_STD3_valid\\\"],[[45,46],\\\"valid\\\"],[[47,47],\\\"disallowed_STD3_valid\\\"],[[48,57],\\\"valid\\\"],[[58,64],\\\"disallowed_STD3_valid\\\"],[[65,65],\\\"mapped\\\",[97]],[[66,66],\\\"mapped\\\",[98]],[[67,67],\\\"mapped\\\",[99]],[[68,68],\\\"mapped\\\",[100]],[[69,69],\\\"mapped\\\",[101]],[[70,70],\\\"mapped\\\",[102]],[[71,71],\\\"mapped\\\",[103]],[[72,72],\\\"mapped\\\",[104]],[[73,73],\\\"mapped\\\",[105]],[[74,74],\\\"mapped\\\",[106]],[[75,75],\\\"mapped\\\",[107]],[[76,76],\\\"mapped\\\",[108]],[[77,77],\\\"mapped\\\",[109]],[[78,78],\\\"mapped\\\",[110]],[[79,79],\\\"mapped\\\",[111]],[[80,80],\\\"mapped\\\",[112]],[[81,81],\\\"mapped\\\",[113]],[[82,82],\\\"mapped\\\",[114]],[[83,83],\\\"mapped\\\",[115]],[[84,84],\\\"mapped\\\",[116]],[[85,85],\\\"mapped\\\",[117]],[[86,86],\\\"mapped\\\",[118]],[[87,87],\\\"mapped\\\",[119]],[[88,88],\\\"mapped\\\",[120]],[[89,89],\\\"mapped\\\",[121]],[[90,90],\\\"mapped\\\",[122]],[[91,96],\\\"disallowed_STD3_valid\\\"],[[97,122],\\\"valid\\\"],[[123,127],\\\"disallowed_STD3_valid\\\"],[[128,159],\\\"disallowed\\\"],[[160,160],\\\"disallowed_STD3_mapped\\\",[32]],[[161,167],\\\"valid\\\",[],\\\"NV8\\\"],[[168,168],\\\"disallowed_STD3_mapped\\\",[32,776]],[[169,169],\\\"valid\\\",[],\\\"NV8\\\"],[[170,170],\\\"mapped\\\",[97]],[[171,172],\\\"valid\\\",[],\\\"NV8\\\"],[[173,173],\\\"ignored\\\"],[[174,174],\\\"valid\\\",[],\\\"NV8\\\"],[[175,175],\\\"disallowed_STD3_mapped\\\",[32,772]],[[176,177],\\\"valid\\\",[],\\\"NV8\\\"],[[178,178],\\\"mapped\\\",[50]],[[179,179],\\\"mapped\\\",[51]],[[180,180],\\\"disallowed_STD3_mapped\\\",[32,769]],[[181,181],\\\"mapped\\\",[956]],[[182,182],\\\"valid\\\",[],\\\"NV8\\\"],[[183,183],\\\"valid\\\"],[[184,184],\\\"disallowed_STD3_mapped\\\",[32,807]],[[185,185],\\\"mapped\\\",[49]],[[186,186],\\\"mapped\\\",[111]],[[187,187],\\\"valid\\\",[],\\\"NV8\\\"],[[188,188],\\\"mapped\\\",[49,8260,52]],[[189,189],\\\"mapped\\\",[49,8260,50]],[[190,190],\\\"mapped\\\",[51,8260,52]],[[191,191],\\\"valid\\\",[],\\\"NV8\\\"],[[192,192],\\\"mapped\\\",[224]],[[193,193],\\\"mapped\\\",[225]],[[194,194],\\\"mapped\\\",[226]],[[195,195],\\\"mapped\\\",[227]],[[196,196],\\\"mapped\\\",[228]],[[197,197],\\\"mapped\\\",[229]],[[198,198],\\\"mapped\\\",[230]],[[199,199],\\\"mapped\\\",[231]],[[200,200],\\\"mapped\\\",[232]],[[201,201],\\\"mapped\\\",[233]],[[202,202],\\\"mapped\\\",[234]],[[203,203],\\\"mapped\\\",[235]],[[204,204],\\\"mapped\\\",[236]],[[205,205],\\\"mapped\\\",[237]],[[206,206],\\\"mapped\\\",[238]],[[207,207],\\\"mapped\\\",[239]],[[208,208],\\\"mapped\\\",[240]],[[209,209],\\\"mapped\\\",[241]],[[210,210],\\\"mapped\\\",[242]],[[211,211],\\\"mapped\\\",[243]],[[212,212],\\\"mapped\\\",[244]],[[213,213],\\\"mapped\\\",[245]],[[214,214],\\\"mapped\\\",[246]],[[215,215],\\\"valid\\\",[],\\\"NV8\\\"],[[216,216],\\\"mapped\\\",[248]],[[217,217],\\\"mapped\\\",[249]],[[218,218],\\\"mapped\\\",[250]],[[219,219],\\\"mapped\\\",[251]],[[220,220],\\\"mapped\\\",[252]],[[221,221],\\\"mapped\\\",[253]],[[222,222],\\\"mapped\\\",[254]],[[223,223],\\\"deviation\\\",[115,115]],[[224,246],\\\"valid\\\"],[[247,247],\\\"valid\\\",[],\\\"NV8\\\"],[[248,255],\\\"valid\\\"],[[256,256],\\\"mapped\\\",[257]],[[257,257],\\\"valid\\\"],[[258,258],\\\"mapped\\\",[259]],[[259,259],\\\"valid\\\"],[[260,260],\\\"mapped\\\",[261]],[[261,261],\\\"valid\\\"],[[262,262],\\\"mapped\\\",[263]],[[263,263],\\\"valid\\\"],[[264,264],\\\"mapped\\\",[265]],[[265,265],\\\"valid\\\"],[[266,266],\\\"mapped\\\",[267]],[[267,267],\\\"valid\\\"],[[268,268],\\\"mapped\\\",[269]],[[269,269],\\\"valid\\\"],[[270,270],\\\"mapped\\\",[271]],[[271,271],\\\"valid\\\"],[[272,272],\\\"mapped\\\",[273]],[[273,273],\\\"valid\\\"],[[274,274],\\\"mapped\\\",[275]],[[275,275],\\\"valid\\\"],[[276,276],\\\"mapped\\\",[277]],[[277,277],\\\"valid\\\"],[[278,278],\\\"mapped\\\",[279]],[[279,279],\\\"valid\\\"],[[280,280],\\\"mapped\\\",[281]],[[281,281],\\\"valid\\\"],[[282,282],\\\"mapped\\\",[283]],[[283,283],\\\"valid\\\"],[[284,284],\\\"mapped\\\",[285]],[[285,285],\\\"valid\\\"],[[286,286],\\\"mapped\\\",[287]],[[287,287],\\\"valid\\\"],[[288,288],\\\"mapped\\\",[289]],[[289,289],\\\"valid\\\"],[[290,290],\\\"mapped\\\",[291]],[[291,291],\\\"valid\\\"],[[292,292],\\\"mapped\\\",[293]],[[293,293],\\\"valid\\\"],[[294,294],\\\"mapped\\\",[295]],[[295,295],\\\"valid\\\"],[[296,296],\\\"mapped\\\",[297]],[[297,297],\\\"valid\\\"],[[298,298],\\\"mapped\\\",[299]],[[299,299],\\\"valid\\\"],[[300,300],\\\"mapped\\\",[301]],[[301,301],\\\"valid\\\"],[[302,302],\\\"mapped\\\",[303]],[[303,303],\\\"valid\\\"],[[304,304],\\\"mapped\\\",[105,775]],[[305,305],\\\"valid\\\"],[[306,307],\\\"mapped\\\",[105,106]],[[308,308],\\\"mapped\\\",[309]],[[309,309],\\\"valid\\\"],[[310,310],\\\"mapped\\\",[311]],[[311,312],\\\"valid\\\"],[[313,313],\\\"mapped\\\",[314]],[[314,314],\\\"valid\\\"],[[315,315],\\\"mapped\\\",[316]],[[316,316],\\\"valid\\\"],[[317,317],\\\"mapped\\\",[318]],[[318,318],\\\"valid\\\"],[[319,320],\\\"mapped\\\",[108,183]],[[321,321],\\\"mapped\\\",[322]],[[322,322],\\\"valid\\\"],[[323,323],\\\"mapped\\\",[324]],[[324,324],\\\"valid\\\"],[[325,325],\\\"mapped\\\",[326]],[[326,326],\\\"valid\\\"],[[327,327],\\\"mapped\\\",[328]],[[328,328],\\\"valid\\\"],[[329,329],\\\"mapped\\\",[700,110]],[[330,330],\\\"mapped\\\",[331]],[[331,331],\\\"valid\\\"],[[332,332],\\\"mapped\\\",[333]],[[333,333],\\\"valid\\\"],[[334,334],\\\"mapped\\\",[335]],[[335,335],\\\"valid\\\"],[[336,336],\\\"mapped\\\",[337]],[[337,337],\\\"valid\\\"],[[338,338],\\\"mapped\\\",[339]],[[339,339],\\\"valid\\\"],[[340,340],\\\"mapped\\\",[341]],[[341,341],\\\"valid\\\"],[[342,342],\\\"mapped\\\",[343]],[[343,343],\\\"valid\\\"],[[344,344],\\\"mapped\\\",[345]],[[345,345],\\\"valid\\\"],[[346,346],\\\"mapped\\\",[347]],[[347,347],\\\"valid\\\"],[[348,348],\\\"mapped\\\",[349]],[[349,349],\\\"valid\\\"],[[350,350],\\\"mapped\\\",[351]],[[351,351],\\\"valid\\\"],[[352,352],\\\"mapped\\\",[353]],[[353,353],\\\"valid\\\"],[[354,354],\\\"mapped\\\",[355]],[[355,355],\\\"valid\\\"],[[356,356],\\\"mapped\\\",[357]],[[357,357],\\\"valid\\\"],[[358,358],\\\"mapped\\\",[359]],[[359,359],\\\"valid\\\"],[[360,360],\\\"mapped\\\",[361]],[[361,361],\\\"valid\\\"],[[362,362],\\\"mapped\\\",[363]],[[363,363],\\\"valid\\\"],[[364,364],\\\"mapped\\\",[365]],[[365,365],\\\"valid\\\"],[[366,366],\\\"mapped\\\",[367]],[[367,367],\\\"valid\\\"],[[368,368],\\\"mapped\\\",[369]],[[369,369],\\\"valid\\\"],[[370,370],\\\"mapped\\\",[371]],[[371,371],\\\"valid\\\"],[[372,372],\\\"mapped\\\",[373]],[[373,373],\\\"valid\\\"],[[374,374],\\\"mapped\\\",[375]],[[375,375],\\\"valid\\\"],[[376,376],\\\"mapped\\\",[255]],[[377,377],\\\"mapped\\\",[378]],[[378,378],\\\"valid\\\"],[[379,379],\\\"mapped\\\",[380]],[[380,380],\\\"valid\\\"],[[381,381],\\\"mapped\\\",[382]],[[382,382],\\\"valid\\\"],[[383,383],\\\"mapped\\\",[115]],[[384,384],\\\"valid\\\"],[[385,385],\\\"mapped\\\",[595]],[[386,386],\\\"mapped\\\",[387]],[[387,387],\\\"valid\\\"],[[388,388],\\\"mapped\\\",[389]],[[389,389],\\\"valid\\\"],[[390,390],\\\"mapped\\\",[596]],[[391,391],\\\"mapped\\\",[392]],[[392,392],\\\"valid\\\"],[[393,393],\\\"mapped\\\",[598]],[[394,394],\\\"mapped\\\",[599]],[[395,395],\\\"mapped\\\",[396]],[[396,397],\\\"valid\\\"],[[398,398],\\\"mapped\\\",[477]],[[399,399],\\\"mapped\\\",[601]],[[400,400],\\\"mapped\\\",[603]],[[401,401],\\\"mapped\\\",[402]],[[402,402],\\\"valid\\\"],[[403,403],\\\"mapped\\\",[608]],[[404,404],\\\"mapped\\\",[611]],[[405,405],\\\"valid\\\"],[[406,406],\\\"mapped\\\",[617]],[[407,407],\\\"mapped\\\",[616]],[[408,408],\\\"mapped\\\",[409]],[[409,411],\\\"valid\\\"],[[412,412],\\\"mapped\\\",[623]],[[413,413],\\\"mapped\\\",[626]],[[414,414],\\\"valid\\\"],[[415,415],\\\"mapped\\\",[629]],[[416,416],\\\"mapped\\\",[417]],[[417,417],\\\"valid\\\"],[[418,418],\\\"mapped\\\",[419]],[[419,419],\\\"valid\\\"],[[420,420],\\\"mapped\\\",[421]],[[421,421],\\\"valid\\\"],[[422,422],\\\"mapped\\\",[640]],[[423,423],\\\"mapped\\\",[424]],[[424,424],\\\"valid\\\"],[[425,425],\\\"mapped\\\",[643]],[[426,427],\\\"valid\\\"],[[428,428],\\\"mapped\\\",[429]],[[429,429],\\\"valid\\\"],[[430,430],\\\"mapped\\\",[648]],[[431,431],\\\"mapped\\\",[432]],[[432,432],\\\"valid\\\"],[[433,433],\\\"mapped\\\",[650]],[[434,434],\\\"mapped\\\",[651]],[[435,435],\\\"mapped\\\",[436]],[[436,436],\\\"valid\\\"],[[437,437],\\\"mapped\\\",[438]],[[438,438],\\\"valid\\\"],[[439,439],\\\"mapped\\\",[658]],[[440,440],\\\"mapped\\\",[441]],[[441,443],\\\"valid\\\"],[[444,444],\\\"mapped\\\",[445]],[[445,451],\\\"valid\\\"],[[452,454],\\\"mapped\\\",[100,382]],[[455,457],\\\"mapped\\\",[108,106]],[[458,460],\\\"mapped\\\",[110,106]],[[461,461],\\\"mapped\\\",[462]],[[462,462],\\\"valid\\\"],[[463,463],\\\"mapped\\\",[464]],[[464,464],\\\"valid\\\"],[[465,465],\\\"mapped\\\",[466]],[[466,466],\\\"valid\\\"],[[467,467],\\\"mapped\\\",[468]],[[468,468],\\\"valid\\\"],[[469,469],\\\"mapped\\\",[470]],[[470,470],\\\"valid\\\"],[[471,471],\\\"mapped\\\",[472]],[[472,472],\\\"valid\\\"],[[473,473],\\\"mapped\\\",[474]],[[474,474],\\\"valid\\\"],[[475,475],\\\"mapped\\\",[476]],[[476,477],\\\"valid\\\"],[[478,478],\\\"mapped\\\",[479]],[[479,479],\\\"valid\\\"],[[480,480],\\\"mapped\\\",[481]],[[481,481],\\\"valid\\\"],[[482,482],\\\"mapped\\\",[483]],[[483,483],\\\"valid\\\"],[[484,484],\\\"mapped\\\",[485]],[[485,485],\\\"valid\\\"],[[486,486],\\\"mapped\\\",[487]],[[487,487],\\\"valid\\\"],[[488,488],\\\"mapped\\\",[489]],[[489,489],\\\"valid\\\"],[[490,490],\\\"mapped\\\",[491]],[[491,491],\\\"valid\\\"],[[492,492],\\\"mapped\\\",[493]],[[493,493],\\\"valid\\\"],[[494,494],\\\"mapped\\\",[495]],[[495,496],\\\"valid\\\"],[[497,499],\\\"mapped\\\",[100,122]],[[500,500],\\\"mapped\\\",[501]],[[501,501],\\\"valid\\\"],[[502,502],\\\"mapped\\\",[405]],[[503,503],\\\"mapped\\\",[447]],[[504,504],\\\"mapped\\\",[505]],[[505,505],\\\"valid\\\"],[[506,506],\\\"mapped\\\",[507]],[[507,507],\\\"valid\\\"],[[508,508],\\\"mapped\\\",[509]],[[509,509],\\\"valid\\\"],[[510,510],\\\"mapped\\\",[511]],[[511,511],\\\"valid\\\"],[[512,512],\\\"mapped\\\",[513]],[[513,513],\\\"valid\\\"],[[514,514],\\\"mapped\\\",[515]],[[515,515],\\\"valid\\\"],[[516,516],\\\"mapped\\\",[517]],[[517,517],\\\"valid\\\"],[[518,518],\\\"mapped\\\",[519]],[[519,519],\\\"valid\\\"],[[520,520],\\\"mapped\\\",[521]],[[521,521],\\\"valid\\\"],[[522,522],\\\"mapped\\\",[523]],[[523,523],\\\"valid\\\"],[[524,524],\\\"mapped\\\",[525]],[[525,525],\\\"valid\\\"],[[526,526],\\\"mapped\\\",[527]],[[527,527],\\\"valid\\\"],[[528,528],\\\"mapped\\\",[529]],[[529,529],\\\"valid\\\"],[[530,530],\\\"mapped\\\",[531]],[[531,531],\\\"valid\\\"],[[532,532],\\\"mapped\\\",[533]],[[533,533],\\\"valid\\\"],[[534,534],\\\"mapped\\\",[535]],[[535,535],\\\"valid\\\"],[[536,536],\\\"mapped\\\",[537]],[[537,537],\\\"valid\\\"],[[538,538],\\\"mapped\\\",[539]],[[539,539],\\\"valid\\\"],[[540,540],\\\"mapped\\\",[541]],[[541,541],\\\"valid\\\"],[[542,542],\\\"mapped\\\",[543]],[[543,543],\\\"valid\\\"],[[544,544],\\\"mapped\\\",[414]],[[545,545],\\\"valid\\\"],[[546,546],\\\"mapped\\\",[547]],[[547,547],\\\"valid\\\"],[[548,548],\\\"mapped\\\",[549]],[[549,549],\\\"valid\\\"],[[550,550],\\\"mapped\\\",[551]],[[551,551],\\\"valid\\\"],[[552,552],\\\"mapped\\\",[553]],[[553,553],\\\"valid\\\"],[[554,554],\\\"mapped\\\",[555]],[[555,555],\\\"valid\\\"],[[556,556],\\\"mapped\\\",[557]],[[557,557],\\\"valid\\\"],[[558,558],\\\"mapped\\\",[559]],[[559,559],\\\"valid\\\"],[[560,560],\\\"mapped\\\",[561]],[[561,561],\\\"valid\\\"],[[562,562],\\\"mapped\\\",[563]],[[563,563],\\\"valid\\\"],[[564,566],\\\"valid\\\"],[[567,569],\\\"valid\\\"],[[570,570],\\\"mapped\\\",[11365]],[[571,571],\\\"mapped\\\",[572]],[[572,572],\\\"valid\\\"],[[573,573],\\\"mapped\\\",[410]],[[574,574],\\\"mapped\\\",[11366]],[[575,576],\\\"valid\\\"],[[577,577],\\\"mapped\\\",[578]],[[578,578],\\\"valid\\\"],[[579,579],\\\"mapped\\\",[384]],[[580,580],\\\"mapped\\\",[649]],[[581,581],\\\"mapped\\\",[652]],[[582,582],\\\"mapped\\\",[583]],[[583,583],\\\"valid\\\"],[[584,584],\\\"mapped\\\",[585]],[[585,585],\\\"valid\\\"],[[586,586],\\\"mapped\\\",[587]],[[587,587],\\\"valid\\\"],[[588,588],\\\"mapped\\\",[589]],[[589,589],\\\"valid\\\"],[[590,590],\\\"mapped\\\",[591]],[[591,591],\\\"valid\\\"],[[592,680],\\\"valid\\\"],[[681,685],\\\"valid\\\"],[[686,687],\\\"valid\\\"],[[688,688],\\\"mapped\\\",[104]],[[689,689],\\\"mapped\\\",[614]],[[690,690],\\\"mapped\\\",[106]],[[691,691],\\\"mapped\\\",[114]],[[692,692],\\\"mapped\\\",[633]],[[693,693],\\\"mapped\\\",[635]],[[694,694],\\\"mapped\\\",[641]],[[695,695],\\\"mapped\\\",[119]],[[696,696],\\\"mapped\\\",[121]],[[697,705],\\\"valid\\\"],[[706,709],\\\"valid\\\",[],\\\"NV8\\\"],[[710,721],\\\"valid\\\"],[[722,727],\\\"valid\\\",[],\\\"NV8\\\"],[[728,728],\\\"disallowed_STD3_mapped\\\",[32,774]],[[729,729],\\\"disallowed_STD3_mapped\\\",[32,775]],[[730,730],\\\"disallowed_STD3_mapped\\\",[32,778]],[[731,731],\\\"disallowed_STD3_mapped\\\",[32,808]],[[732,732],\\\"disallowed_STD3_mapped\\\",[32,771]],[[733,733],\\\"disallowed_STD3_mapped\\\",[32,779]],[[734,734],\\\"valid\\\",[],\\\"NV8\\\"],[[735,735],\\\"valid\\\",[],\\\"NV8\\\"],[[736,736],\\\"mapped\\\",[611]],[[737,737],\\\"mapped\\\",[108]],[[738,738],\\\"mapped\\\",[115]],[[739,739],\\\"mapped\\\",[120]],[[740,740],\\\"mapped\\\",[661]],[[741,745],\\\"valid\\\",[],\\\"NV8\\\"],[[746,747],\\\"valid\\\",[],\\\"NV8\\\"],[[748,748],\\\"valid\\\"],[[749,749],\\\"valid\\\",[],\\\"NV8\\\"],[[750,750],\\\"valid\\\"],[[751,767],\\\"valid\\\",[],\\\"NV8\\\"],[[768,831],\\\"valid\\\"],[[832,832],\\\"mapped\\\",[768]],[[833,833],\\\"mapped\\\",[769]],[[834,834],\\\"valid\\\"],[[835,835],\\\"mapped\\\",[787]],[[836,836],\\\"mapped\\\",[776,769]],[[837,837],\\\"mapped\\\",[953]],[[838,846],\\\"valid\\\"],[[847,847],\\\"ignored\\\"],[[848,855],\\\"valid\\\"],[[856,860],\\\"valid\\\"],[[861,863],\\\"valid\\\"],[[864,865],\\\"valid\\\"],[[866,866],\\\"valid\\\"],[[867,879],\\\"valid\\\"],[[880,880],\\\"mapped\\\",[881]],[[881,881],\\\"valid\\\"],[[882,882],\\\"mapped\\\",[883]],[[883,883],\\\"valid\\\"],[[884,884],\\\"mapped\\\",[697]],[[885,885],\\\"valid\\\"],[[886,886],\\\"mapped\\\",[887]],[[887,887],\\\"valid\\\"],[[888,889],\\\"disallowed\\\"],[[890,890],\\\"disallowed_STD3_mapped\\\",[32,953]],[[891,893],\\\"valid\\\"],[[894,894],\\\"disallowed_STD3_mapped\\\",[59]],[[895,895],\\\"mapped\\\",[1011]],[[896,899],\\\"disallowed\\\"],[[900,900],\\\"disallowed_STD3_mapped\\\",[32,769]],[[901,901],\\\"disallowed_STD3_mapped\\\",[32,776,769]],[[902,902],\\\"mapped\\\",[940]],[[903,903],\\\"mapped\\\",[183]],[[904,904],\\\"mapped\\\",[941]],[[905,905],\\\"mapped\\\",[942]],[[906,906],\\\"mapped\\\",[943]],[[907,907],\\\"disallowed\\\"],[[908,908],\\\"mapped\\\",[972]],[[909,909],\\\"disallowed\\\"],[[910,910],\\\"mapped\\\",[973]],[[911,911],\\\"mapped\\\",[974]],[[912,912],\\\"valid\\\"],[[913,913],\\\"mapped\\\",[945]],[[914,914],\\\"mapped\\\",[946]],[[915,915],\\\"mapped\\\",[947]],[[916,916],\\\"mapped\\\",[948]],[[917,917],\\\"mapped\\\",[949]],[[918,918],\\\"mapped\\\",[950]],[[919,919],\\\"mapped\\\",[951]],[[920,920],\\\"mapped\\\",[952]],[[921,921],\\\"mapped\\\",[953]],[[922,922],\\\"mapped\\\",[954]],[[923,923],\\\"mapped\\\",[955]],[[924,924],\\\"mapped\\\",[956]],[[925,925],\\\"mapped\\\",[957]],[[926,926],\\\"mapped\\\",[958]],[[927,927],\\\"mapped\\\",[959]],[[928,928],\\\"mapped\\\",[960]],[[929,929],\\\"mapped\\\",[961]],[[930,930],\\\"disallowed\\\"],[[931,931],\\\"mapped\\\",[963]],[[932,932],\\\"mapped\\\",[964]],[[933,933],\\\"mapped\\\",[965]],[[934,934],\\\"mapped\\\",[966]],[[935,935],\\\"mapped\\\",[967]],[[936,936],\\\"mapped\\\",[968]],[[937,937],\\\"mapped\\\",[969]],[[938,938],\\\"mapped\\\",[970]],[[939,939],\\\"mapped\\\",[971]],[[940,961],\\\"valid\\\"],[[962,962],\\\"deviation\\\",[963]],[[963,974],\\\"valid\\\"],[[975,975],\\\"mapped\\\",[983]],[[976,976],\\\"mapped\\\",[946]],[[977,977],\\\"mapped\\\",[952]],[[978,978],\\\"mapped\\\",[965]],[[979,979],\\\"mapped\\\",[973]],[[980,980],\\\"mapped\\\",[971]],[[981,981],\\\"mapped\\\",[966]],[[982,982],\\\"mapped\\\",[960]],[[983,983],\\\"valid\\\"],[[984,984],\\\"mapped\\\",[985]],[[985,985],\\\"valid\\\"],[[986,986],\\\"mapped\\\",[987]],[[987,987],\\\"valid\\\"],[[988,988],\\\"mapped\\\",[989]],[[989,989],\\\"valid\\\"],[[990,990],\\\"mapped\\\",[991]],[[991,991],\\\"valid\\\"],[[992,992],\\\"mapped\\\",[993]],[[993,993],\\\"valid\\\"],[[994,994],\\\"mapped\\\",[995]],[[995,995],\\\"valid\\\"],[[996,996],\\\"mapped\\\",[997]],[[997,997],\\\"valid\\\"],[[998,998],\\\"mapped\\\",[999]],[[999,999],\\\"valid\\\"],[[1000,1000],\\\"mapped\\\",[1001]],[[1001,1001],\\\"valid\\\"],[[1002,1002],\\\"mapped\\\",[1003]],[[1003,1003],\\\"valid\\\"],[[1004,1004],\\\"mapped\\\",[1005]],[[1005,1005],\\\"valid\\\"],[[1006,1006],\\\"mapped\\\",[1007]],[[1007,1007],\\\"valid\\\"],[[1008,1008],\\\"mapped\\\",[954]],[[1009,1009],\\\"mapped\\\",[961]],[[1010,1010],\\\"mapped\\\",[963]],[[1011,1011],\\\"valid\\\"],[[1012,1012],\\\"mapped\\\",[952]],[[1013,1013],\\\"mapped\\\",[949]],[[1014,1014],\\\"valid\\\",[],\\\"NV8\\\"],[[1015,1015],\\\"mapped\\\",[1016]],[[1016,1016],\\\"valid\\\"],[[1017,1017],\\\"mapped\\\",[963]],[[1018,1018],\\\"mapped\\\",[1019]],[[1019,1019],\\\"valid\\\"],[[1020,1020],\\\"valid\\\"],[[1021,1021],\\\"mapped\\\",[891]],[[1022,1022],\\\"mapped\\\",[892]],[[1023,1023],\\\"mapped\\\",[893]],[[1024,1024],\\\"mapped\\\",[1104]],[[1025,1025],\\\"mapped\\\",[1105]],[[1026,1026],\\\"mapped\\\",[1106]],[[1027,1027],\\\"mapped\\\",[1107]],[[1028,1028],\\\"mapped\\\",[1108]],[[1029,1029],\\\"mapped\\\",[1109]],[[1030,1030],\\\"mapped\\\",[1110]],[[1031,1031],\\\"mapped\\\",[1111]],[[1032,1032],\\\"mapped\\\",[1112]],[[1033,1033],\\\"mapped\\\",[1113]],[[1034,1034],\\\"mapped\\\",[1114]],[[1035,1035],\\\"mapped\\\",[1115]],[[1036,1036],\\\"mapped\\\",[1116]],[[1037,1037],\\\"mapped\\\",[1117]],[[1038,1038],\\\"mapped\\\",[1118]],[[1039,1039],\\\"mapped\\\",[1119]],[[1040,1040],\\\"mapped\\\",[1072]],[[1041,1041],\\\"mapped\\\",[1073]],[[1042,1042],\\\"mapped\\\",[1074]],[[1043,1043],\\\"mapped\\\",[1075]],[[1044,1044],\\\"mapped\\\",[1076]],[[1045,1045],\\\"mapped\\\",[1077]],[[1046,1046],\\\"mapped\\\",[1078]],[[1047,1047],\\\"mapped\\\",[1079]],[[1048,1048],\\\"mapped\\\",[1080]],[[1049,1049],\\\"mapped\\\",[1081]],[[1050,1050],\\\"mapped\\\",[1082]],[[1051,1051],\\\"mapped\\\",[1083]],[[1052,1052],\\\"mapped\\\",[1084]],[[1053,1053],\\\"mapped\\\",[1085]],[[1054,1054],\\\"mapped\\\",[1086]],[[1055,1055],\\\"mapped\\\",[1087]],[[1056,1056],\\\"mapped\\\",[1088]],[[1057,1057],\\\"mapped\\\",[1089]],[[1058,1058],\\\"mapped\\\",[1090]],[[1059,1059],\\\"mapped\\\",[1091]],[[1060,1060],\\\"mapped\\\",[1092]],[[1061,1061],\\\"mapped\\\",[1093]],[[1062,1062],\\\"mapped\\\",[1094]],[[1063,1063],\\\"mapped\\\",[1095]],[[1064,1064],\\\"mapped\\\",[1096]],[[1065,1065],\\\"mapped\\\",[1097]],[[1066,1066],\\\"mapped\\\",[1098]],[[1067,1067],\\\"mapped\\\",[1099]],[[1068,1068],\\\"mapped\\\",[1100]],[[1069,1069],\\\"mapped\\\",[1101]],[[1070,1070],\\\"mapped\\\",[1102]],[[1071,1071],\\\"mapped\\\",[1103]],[[1072,1103],\\\"valid\\\"],[[1104,1104],\\\"valid\\\"],[[1105,1116],\\\"valid\\\"],[[1117,1117],\\\"valid\\\"],[[1118,1119],\\\"valid\\\"],[[1120,1120],\\\"mapped\\\",[1121]],[[1121,1121],\\\"valid\\\"],[[1122,1122],\\\"mapped\\\",[1123]],[[1123,1123],\\\"valid\\\"],[[1124,1124],\\\"mapped\\\",[1125]],[[1125,1125],\\\"valid\\\"],[[1126,1126],\\\"mapped\\\",[1127]],[[1127,1127],\\\"valid\\\"],[[1128,1128],\\\"mapped\\\",[1129]],[[1129,1129],\\\"valid\\\"],[[1130,1130],\\\"mapped\\\",[1131]],[[1131,1131],\\\"valid\\\"],[[1132,1132],\\\"mapped\\\",[1133]],[[1133,1133],\\\"valid\\\"],[[1134,1134],\\\"mapped\\\",[1135]],[[1135,1135],\\\"valid\\\"],[[1136,1136],\\\"mapped\\\",[1137]],[[1137,1137],\\\"valid\\\"],[[1138,1138],\\\"mapped\\\",[1139]],[[1139,1139],\\\"valid\\\"],[[1140,1140],\\\"mapped\\\",[1141]],[[1141,1141],\\\"valid\\\"],[[1142,1142],\\\"mapped\\\",[1143]],[[1143,1143],\\\"valid\\\"],[[1144,1144],\\\"mapped\\\",[1145]],[[1145,1145],\\\"valid\\\"],[[1146,1146],\\\"mapped\\\",[1147]],[[1147,1147],\\\"valid\\\"],[[1148,1148],\\\"mapped\\\",[1149]],[[1149,1149],\\\"valid\\\"],[[1150,1150],\\\"mapped\\\",[1151]],[[1151,1151],\\\"valid\\\"],[[1152,1152],\\\"mapped\\\",[1153]],[[1153,1153],\\\"valid\\\"],[[1154,1154],\\\"valid\\\",[],\\\"NV8\\\"],[[1155,1158],\\\"valid\\\"],[[1159,1159],\\\"valid\\\"],[[1160,1161],\\\"valid\\\",[],\\\"NV8\\\"],[[1162,1162],\\\"mapped\\\",[1163]],[[1163,1163],\\\"valid\\\"],[[1164,1164],\\\"mapped\\\",[1165]],[[1165,1165],\\\"valid\\\"],[[1166,1166],\\\"mapped\\\",[1167]],[[1167,1167],\\\"valid\\\"],[[1168,1168],\\\"mapped\\\",[1169]],[[1169,1169],\\\"valid\\\"],[[1170,1170],\\\"mapped\\\",[1171]],[[1171,1171],\\\"valid\\\"],[[1172,1172],\\\"mapped\\\",[1173]],[[1173,1173],\\\"valid\\\"],[[1174,1174],\\\"mapped\\\",[1175]],[[1175,1175],\\\"valid\\\"],[[1176,1176],\\\"mapped\\\",[1177]],[[1177,1177],\\\"valid\\\"],[[1178,1178],\\\"mapped\\\",[1179]],[[1179,1179],\\\"valid\\\"],[[1180,1180],\\\"mapped\\\",[1181]],[[1181,1181],\\\"valid\\\"],[[1182,1182],\\\"mapped\\\",[1183]],[[1183,1183],\\\"valid\\\"],[[1184,1184],\\\"mapped\\\",[1185]],[[1185,1185],\\\"valid\\\"],[[1186,1186],\\\"mapped\\\",[1187]],[[1187,1187],\\\"valid\\\"],[[1188,1188],\\\"mapped\\\",[1189]],[[1189,1189],\\\"valid\\\"],[[1190,1190],\\\"mapped\\\",[1191]],[[1191,1191],\\\"valid\\\"],[[1192,1192],\\\"mapped\\\",[1193]],[[1193,1193],\\\"valid\\\"],[[1194,1194],\\\"mapped\\\",[1195]],[[1195,1195],\\\"valid\\\"],[[1196,1196],\\\"mapped\\\",[1197]],[[1197,1197],\\\"valid\\\"],[[1198,1198],\\\"mapped\\\",[1199]],[[1199,1199],\\\"valid\\\"],[[1200,1200],\\\"mapped\\\",[1201]],[[1201,1201],\\\"valid\\\"],[[1202,1202],\\\"mapped\\\",[1203]],[[1203,1203],\\\"valid\\\"],[[1204,1204],\\\"mapped\\\",[1205]],[[1205,1205],\\\"valid\\\"],[[1206,1206],\\\"mapped\\\",[1207]],[[1207,1207],\\\"valid\\\"],[[1208,1208],\\\"mapped\\\",[1209]],[[1209,1209],\\\"valid\\\"],[[1210,1210],\\\"mapped\\\",[1211]],[[1211,1211],\\\"valid\\\"],[[1212,1212],\\\"mapped\\\",[1213]],[[1213,1213],\\\"valid\\\"],[[1214,1214],\\\"mapped\\\",[1215]],[[1215,1215],\\\"valid\\\"],[[1216,1216],\\\"disallowed\\\"],[[1217,1217],\\\"mapped\\\",[1218]],[[1218,1218],\\\"valid\\\"],[[1219,1219],\\\"mapped\\\",[1220]],[[1220,1220],\\\"valid\\\"],[[1221,1221],\\\"mapped\\\",[1222]],[[1222,1222],\\\"valid\\\"],[[1223,1223],\\\"mapped\\\",[1224]],[[1224,1224],\\\"valid\\\"],[[1225,1225],\\\"mapped\\\",[1226]],[[1226,1226],\\\"valid\\\"],[[1227,1227],\\\"mapped\\\",[1228]],[[1228,1228],\\\"valid\\\"],[[1229,1229],\\\"mapped\\\",[1230]],[[1230,1230],\\\"valid\\\"],[[1231,1231],\\\"valid\\\"],[[1232,1232],\\\"mapped\\\",[1233]],[[1233,1233],\\\"valid\\\"],[[1234,1234],\\\"mapped\\\",[1235]],[[1235,1235],\\\"valid\\\"],[[1236,1236],\\\"mapped\\\",[1237]],[[1237,1237],\\\"valid\\\"],[[1238,1238],\\\"mapped\\\",[1239]],[[1239,1239],\\\"valid\\\"],[[1240,1240],\\\"mapped\\\",[1241]],[[1241,1241],\\\"valid\\\"],[[1242,1242],\\\"mapped\\\",[1243]],[[1243,1243],\\\"valid\\\"],[[1244,1244],\\\"mapped\\\",[1245]],[[1245,1245],\\\"valid\\\"],[[1246,1246],\\\"mapped\\\",[1247]],[[1247,1247],\\\"valid\\\"],[[1248,1248],\\\"mapped\\\",[1249]],[[1249,1249],\\\"valid\\\"],[[1250,1250],\\\"mapped\\\",[1251]],[[1251,1251],\\\"valid\\\"],[[1252,1252],\\\"mapped\\\",[1253]],[[1253,1253],\\\"valid\\\"],[[1254,1254],\\\"mapped\\\",[1255]],[[1255,1255],\\\"valid\\\"],[[1256,1256],\\\"mapped\\\",[1257]],[[1257,1257],\\\"valid\\\"],[[1258,1258],\\\"mapped\\\",[1259]],[[1259,1259],\\\"valid\\\"],[[1260,1260],\\\"mapped\\\",[1261]],[[1261,1261],\\\"valid\\\"],[[1262,1262],\\\"mapped\\\",[1263]],[[1263,1263],\\\"valid\\\"],[[1264,1264],\\\"mapped\\\",[1265]],[[1265,1265],\\\"valid\\\"],[[1266,1266],\\\"mapped\\\",[1267]],[[1267,1267],\\\"valid\\\"],[[1268,1268],\\\"mapped\\\",[1269]],[[1269,1269],\\\"valid\\\"],[[1270,1270],\\\"mapped\\\",[1271]],[[1271,1271],\\\"valid\\\"],[[1272,1272],\\\"mapped\\\",[1273]],[[1273,1273],\\\"valid\\\"],[[1274,1274],\\\"mapped\\\",[1275]],[[1275,1275],\\\"valid\\\"],[[1276,1276],\\\"mapped\\\",[1277]],[[1277,1277],\\\"valid\\\"],[[1278,1278],\\\"mapped\\\",[1279]],[[1279,1279],\\\"valid\\\"],[[1280,1280],\\\"mapped\\\",[1281]],[[1281,1281],\\\"valid\\\"],[[1282,1282],\\\"mapped\\\",[1283]],[[1283,1283],\\\"valid\\\"],[[1284,1284],\\\"mapped\\\",[1285]],[[1285,1285],\\\"valid\\\"],[[1286,1286],\\\"mapped\\\",[1287]],[[1287,1287],\\\"valid\\\"],[[1288,1288],\\\"mapped\\\",[1289]],[[1289,1289],\\\"valid\\\"],[[1290,1290],\\\"mapped\\\",[1291]],[[1291,1291],\\\"valid\\\"],[[1292,1292],\\\"mapped\\\",[1293]],[[1293,1293],\\\"valid\\\"],[[1294,1294],\\\"mapped\\\",[1295]],[[1295,1295],\\\"valid\\\"],[[1296,1296],\\\"mapped\\\",[1297]],[[1297,1297],\\\"valid\\\"],[[1298,1298],\\\"mapped\\\",[1299]],[[1299,1299],\\\"valid\\\"],[[1300,1300],\\\"mapped\\\",[1301]],[[1301,1301],\\\"valid\\\"],[[1302,1302],\\\"mapped\\\",[1303]],[[1303,1303],\\\"valid\\\"],[[1304,1304],\\\"mapped\\\",[1305]],[[1305,1305],\\\"valid\\\"],[[1306,1306],\\\"mapped\\\",[1307]],[[1307,1307],\\\"valid\\\"],[[1308,1308],\\\"mapped\\\",[1309]],[[1309,1309],\\\"valid\\\"],[[1310,1310],\\\"mapped\\\",[1311]],[[1311,1311],\\\"valid\\\"],[[1312,1312],\\\"mapped\\\",[1313]],[[1313,1313],\\\"valid\\\"],[[1314,1314],\\\"mapped\\\",[1315]],[[1315,1315],\\\"valid\\\"],[[1316,1316],\\\"mapped\\\",[1317]],[[1317,1317],\\\"valid\\\"],[[1318,1318],\\\"mapped\\\",[1319]],[[1319,1319],\\\"valid\\\"],[[1320,1320],\\\"mapped\\\",[1321]],[[1321,1321],\\\"valid\\\"],[[1322,1322],\\\"mapped\\\",[1323]],[[1323,1323],\\\"valid\\\"],[[1324,1324],\\\"mapped\\\",[1325]],[[1325,1325],\\\"valid\\\"],[[1326,1326],\\\"mapped\\\",[1327]],[[1327,1327],\\\"valid\\\"],[[1328,1328],\\\"disallowed\\\"],[[1329,1329],\\\"mapped\\\",[1377]],[[1330,1330],\\\"mapped\\\",[1378]],[[1331,1331],\\\"mapped\\\",[1379]],[[1332,1332],\\\"mapped\\\",[1380]],[[1333,1333],\\\"mapped\\\",[1381]],[[1334,1334],\\\"mapped\\\",[1382]],[[1335,1335],\\\"mapped\\\",[1383]],[[1336,1336],\\\"mapped\\\",[1384]],[[1337,1337],\\\"mapped\\\",[1385]],[[1338,1338],\\\"mapped\\\",[1386]],[[1339,1339],\\\"mapped\\\",[1387]],[[1340,1340],\\\"mapped\\\",[1388]],[[1341,1341],\\\"mapped\\\",[1389]],[[1342,1342],\\\"mapped\\\",[1390]],[[1343,1343],\\\"mapped\\\",[1391]],[[1344,1344],\\\"mapped\\\",[1392]],[[1345,1345],\\\"mapped\\\",[1393]],[[1346,1346],\\\"mapped\\\",[1394]],[[1347,1347],\\\"mapped\\\",[1395]],[[1348,1348],\\\"mapped\\\",[1396]],[[1349,1349],\\\"mapped\\\",[1397]],[[1350,1350],\\\"mapped\\\",[1398]],[[1351,1351],\\\"mapped\\\",[1399]],[[1352,1352],\\\"mapped\\\",[1400]],[[1353,1353],\\\"mapped\\\",[1401]],[[1354,1354],\\\"mapped\\\",[1402]],[[1355,1355],\\\"mapped\\\",[1403]],[[1356,1356],\\\"mapped\\\",[1404]],[[1357,1357],\\\"mapped\\\",[1405]],[[1358,1358],\\\"mapped\\\",[1406]],[[1359,1359],\\\"mapped\\\",[1407]],[[1360,1360],\\\"mapped\\\",[1408]],[[1361,1361],\\\"mapped\\\",[1409]],[[1362,1362],\\\"mapped\\\",[1410]],[[1363,1363],\\\"mapped\\\",[1411]],[[1364,1364],\\\"mapped\\\",[1412]],[[1365,1365],\\\"mapped\\\",[1413]],[[1366,1366],\\\"mapped\\\",[1414]],[[1367,1368],\\\"disallowed\\\"],[[1369,1369],\\\"valid\\\"],[[1370,1375],\\\"valid\\\",[],\\\"NV8\\\"],[[1376,1376],\\\"disallowed\\\"],[[1377,1414],\\\"valid\\\"],[[1415,1415],\\\"mapped\\\",[1381,1410]],[[1416,1416],\\\"disallowed\\\"],[[1417,1417],\\\"valid\\\",[],\\\"NV8\\\"],[[1418,1418],\\\"valid\\\",[],\\\"NV8\\\"],[[1419,1420],\\\"disallowed\\\"],[[1421,1422],\\\"valid\\\",[],\\\"NV8\\\"],[[1423,1423],\\\"valid\\\",[],\\\"NV8\\\"],[[1424,1424],\\\"disallowed\\\"],[[1425,1441],\\\"valid\\\"],[[1442,1442],\\\"valid\\\"],[[1443,1455],\\\"valid\\\"],[[1456,1465],\\\"valid\\\"],[[1466,1466],\\\"valid\\\"],[[1467,1469],\\\"valid\\\"],[[1470,1470],\\\"valid\\\",[],\\\"NV8\\\"],[[1471,1471],\\\"valid\\\"],[[1472,1472],\\\"valid\\\",[],\\\"NV8\\\"],[[1473,1474],\\\"valid\\\"],[[1475,1475],\\\"valid\\\",[],\\\"NV8\\\"],[[1476,1476],\\\"valid\\\"],[[1477,1477],\\\"valid\\\"],[[1478,1478],\\\"valid\\\",[],\\\"NV8\\\"],[[1479,1479],\\\"valid\\\"],[[1480,1487],\\\"disallowed\\\"],[[1488,1514],\\\"valid\\\"],[[1515,1519],\\\"disallowed\\\"],[[1520,1524],\\\"valid\\\"],[[1525,1535],\\\"disallowed\\\"],[[1536,1539],\\\"disallowed\\\"],[[1540,1540],\\\"disallowed\\\"],[[1541,1541],\\\"disallowed\\\"],[[1542,1546],\\\"valid\\\",[],\\\"NV8\\\"],[[1547,1547],\\\"valid\\\",[],\\\"NV8\\\"],[[1548,1548],\\\"valid\\\",[],\\\"NV8\\\"],[[1549,1551],\\\"valid\\\",[],\\\"NV8\\\"],[[1552,1557],\\\"valid\\\"],[[1558,1562],\\\"valid\\\"],[[1563,1563],\\\"valid\\\",[],\\\"NV8\\\"],[[1564,1564],\\\"disallowed\\\"],[[1565,1565],\\\"disallowed\\\"],[[1566,1566],\\\"valid\\\",[],\\\"NV8\\\"],[[1567,1567],\\\"valid\\\",[],\\\"NV8\\\"],[[1568,1568],\\\"valid\\\"],[[1569,1594],\\\"valid\\\"],[[1595,1599],\\\"valid\\\"],[[1600,1600],\\\"valid\\\",[],\\\"NV8\\\"],[[1601,1618],\\\"valid\\\"],[[1619,1621],\\\"valid\\\"],[[1622,1624],\\\"valid\\\"],[[1625,1630],\\\"valid\\\"],[[1631,1631],\\\"valid\\\"],[[1632,1641],\\\"valid\\\"],[[1642,1645],\\\"valid\\\",[],\\\"NV8\\\"],[[1646,1647],\\\"valid\\\"],[[1648,1652],\\\"valid\\\"],[[1653,1653],\\\"mapped\\\",[1575,1652]],[[1654,1654],\\\"mapped\\\",[1608,1652]],[[1655,1655],\\\"mapped\\\",[1735,1652]],[[1656,1656],\\\"mapped\\\",[1610,1652]],[[1657,1719],\\\"valid\\\"],[[1720,1721],\\\"valid\\\"],[[1722,1726],\\\"valid\\\"],[[1727,1727],\\\"valid\\\"],[[1728,1742],\\\"valid\\\"],[[1743,1743],\\\"valid\\\"],[[1744,1747],\\\"valid\\\"],[[1748,1748],\\\"valid\\\",[],\\\"NV8\\\"],[[1749,1756],\\\"valid\\\"],[[1757,1757],\\\"disallowed\\\"],[[1758,1758],\\\"valid\\\",[],\\\"NV8\\\"],[[1759,1768],\\\"valid\\\"],[[1769,1769],\\\"valid\\\",[],\\\"NV8\\\"],[[1770,1773],\\\"valid\\\"],[[1774,1775],\\\"valid\\\"],[[1776,1785],\\\"valid\\\"],[[1786,1790],\\\"valid\\\"],[[1791,1791],\\\"valid\\\"],[[1792,1805],\\\"valid\\\",[],\\\"NV8\\\"],[[1806,1806],\\\"disallowed\\\"],[[1807,1807],\\\"disallowed\\\"],[[1808,1836],\\\"valid\\\"],[[1837,1839],\\\"valid\\\"],[[1840,1866],\\\"valid\\\"],[[1867,1868],\\\"disallowed\\\"],[[1869,1871],\\\"valid\\\"],[[1872,1901],\\\"valid\\\"],[[1902,1919],\\\"valid\\\"],[[1920,1968],\\\"valid\\\"],[[1969,1969],\\\"valid\\\"],[[1970,1983],\\\"disallowed\\\"],[[1984,2037],\\\"valid\\\"],[[2038,2042],\\\"valid\\\",[],\\\"NV8\\\"],[[2043,2047],\\\"disallowed\\\"],[[2048,2093],\\\"valid\\\"],[[2094,2095],\\\"disallowed\\\"],[[2096,2110],\\\"valid\\\",[],\\\"NV8\\\"],[[2111,2111],\\\"disallowed\\\"],[[2112,2139],\\\"valid\\\"],[[2140,2141],\\\"disallowed\\\"],[[2142,2142],\\\"valid\\\",[],\\\"NV8\\\"],[[2143,2207],\\\"disallowed\\\"],[[2208,2208],\\\"valid\\\"],[[2209,2209],\\\"valid\\\"],[[2210,2220],\\\"valid\\\"],[[2221,2226],\\\"valid\\\"],[[2227,2228],\\\"valid\\\"],[[2229,2274],\\\"disallowed\\\"],[[2275,2275],\\\"valid\\\"],[[2276,2302],\\\"valid\\\"],[[2303,2303],\\\"valid\\\"],[[2304,2304],\\\"valid\\\"],[[2305,2307],\\\"valid\\\"],[[2308,2308],\\\"valid\\\"],[[2309,2361],\\\"valid\\\"],[[2362,2363],\\\"valid\\\"],[[2364,2381],\\\"valid\\\"],[[2382,2382],\\\"valid\\\"],[[2383,2383],\\\"valid\\\"],[[2384,2388],\\\"valid\\\"],[[2389,2389],\\\"valid\\\"],[[2390,2391],\\\"valid\\\"],[[2392,2392],\\\"mapped\\\",[2325,2364]],[[2393,2393],\\\"mapped\\\",[2326,2364]],[[2394,2394],\\\"mapped\\\",[2327,2364]],[[2395,2395],\\\"mapped\\\",[2332,2364]],[[2396,2396],\\\"mapped\\\",[2337,2364]],[[2397,2397],\\\"mapped\\\",[2338,2364]],[[2398,2398],\\\"mapped\\\",[2347,2364]],[[2399,2399],\\\"mapped\\\",[2351,2364]],[[2400,2403],\\\"valid\\\"],[[2404,2405],\\\"valid\\\",[],\\\"NV8\\\"],[[2406,2415],\\\"valid\\\"],[[2416,2416],\\\"valid\\\",[],\\\"NV8\\\"],[[2417,2418],\\\"valid\\\"],[[2419,2423],\\\"valid\\\"],[[2424,2424],\\\"valid\\\"],[[2425,2426],\\\"valid\\\"],[[2427,2428],\\\"valid\\\"],[[2429,2429],\\\"valid\\\"],[[2430,2431],\\\"valid\\\"],[[2432,2432],\\\"valid\\\"],[[2433,2435],\\\"valid\\\"],[[2436,2436],\\\"disallowed\\\"],[[2437,2444],\\\"valid\\\"],[[2445,2446],\\\"disallowed\\\"],[[2447,2448],\\\"valid\\\"],[[2449,2450],\\\"disallowed\\\"],[[2451,2472],\\\"valid\\\"],[[2473,2473],\\\"disallowed\\\"],[[2474,2480],\\\"valid\\\"],[[2481,2481],\\\"disallowed\\\"],[[2482,2482],\\\"valid\\\"],[[2483,2485],\\\"disallowed\\\"],[[2486,2489],\\\"valid\\\"],[[2490,2491],\\\"disallowed\\\"],[[2492,2492],\\\"valid\\\"],[[2493,2493],\\\"valid\\\"],[[2494,2500],\\\"valid\\\"],[[2501,2502],\\\"disallowed\\\"],[[2503,2504],\\\"valid\\\"],[[2505,2506],\\\"disallowed\\\"],[[2507,2509],\\\"valid\\\"],[[2510,2510],\\\"valid\\\"],[[2511,2518],\\\"disallowed\\\"],[[2519,2519],\\\"valid\\\"],[[2520,2523],\\\"disallowed\\\"],[[2524,2524],\\\"mapped\\\",[2465,2492]],[[2525,2525],\\\"mapped\\\",[2466,2492]],[[2526,2526],\\\"disallowed\\\"],[[2527,2527],\\\"mapped\\\",[2479,2492]],[[2528,2531],\\\"valid\\\"],[[2532,2533],\\\"disallowed\\\"],[[2534,2545],\\\"valid\\\"],[[2546,2554],\\\"valid\\\",[],\\\"NV8\\\"],[[2555,2555],\\\"valid\\\",[],\\\"NV8\\\"],[[2556,2560],\\\"disallowed\\\"],[[2561,2561],\\\"valid\\\"],[[2562,2562],\\\"valid\\\"],[[2563,2563],\\\"valid\\\"],[[2564,2564],\\\"disallowed\\\"],[[2565,2570],\\\"valid\\\"],[[2571,2574],\\\"disallowed\\\"],[[2575,2576],\\\"valid\\\"],[[2577,2578],\\\"disallowed\\\"],[[2579,2600],\\\"valid\\\"],[[2601,2601],\\\"disallowed\\\"],[[2602,2608],\\\"valid\\\"],[[2609,2609],\\\"disallowed\\\"],[[2610,2610],\\\"valid\\\"],[[2611,2611],\\\"mapped\\\",[2610,2620]],[[2612,2612],\\\"disallowed\\\"],[[2613,2613],\\\"valid\\\"],[[2614,2614],\\\"mapped\\\",[2616,2620]],[[2615,2615],\\\"disallowed\\\"],[[2616,2617],\\\"valid\\\"],[[2618,2619],\\\"disallowed\\\"],[[2620,2620],\\\"valid\\\"],[[2621,2621],\\\"disallowed\\\"],[[2622,2626],\\\"valid\\\"],[[2627,2630],\\\"disallowed\\\"],[[2631,2632],\\\"valid\\\"],[[2633,2634],\\\"disallowed\\\"],[[2635,2637],\\\"valid\\\"],[[2638,2640],\\\"disallowed\\\"],[[2641,2641],\\\"valid\\\"],[[2642,2648],\\\"disallowed\\\"],[[2649,2649],\\\"mapped\\\",[2582,2620]],[[2650,2650],\\\"mapped\\\",[2583,2620]],[[2651,2651],\\\"mapped\\\",[2588,2620]],[[2652,2652],\\\"valid\\\"],[[2653,2653],\\\"disallowed\\\"],[[2654,2654],\\\"mapped\\\",[2603,2620]],[[2655,2661],\\\"disallowed\\\"],[[2662,2676],\\\"valid\\\"],[[2677,2677],\\\"valid\\\"],[[2678,2688],\\\"disallowed\\\"],[[2689,2691],\\\"valid\\\"],[[2692,2692],\\\"disallowed\\\"],[[2693,2699],\\\"valid\\\"],[[2700,2700],\\\"valid\\\"],[[2701,2701],\\\"valid\\\"],[[2702,2702],\\\"disallowed\\\"],[[2703,2705],\\\"valid\\\"],[[2706,2706],\\\"disallowed\\\"],[[2707,2728],\\\"valid\\\"],[[2729,2729],\\\"disallowed\\\"],[[2730,2736],\\\"valid\\\"],[[2737,2737],\\\"disallowed\\\"],[[2738,2739],\\\"valid\\\"],[[2740,2740],\\\"disallowed\\\"],[[2741,2745],\\\"valid\\\"],[[2746,2747],\\\"disallowed\\\"],[[2748,2757],\\\"valid\\\"],[[2758,2758],\\\"disallowed\\\"],[[2759,2761],\\\"valid\\\"],[[2762,2762],\\\"disallowed\\\"],[[2763,2765],\\\"valid\\\"],[[2766,2767],\\\"disallowed\\\"],[[2768,2768],\\\"valid\\\"],[[2769,2783],\\\"disallowed\\\"],[[2784,2784],\\\"valid\\\"],[[2785,2787],\\\"valid\\\"],[[2788,2789],\\\"disallowed\\\"],[[2790,2799],\\\"valid\\\"],[[2800,2800],\\\"valid\\\",[],\\\"NV8\\\"],[[2801,2801],\\\"valid\\\",[],\\\"NV8\\\"],[[2802,2808],\\\"disallowed\\\"],[[2809,2809],\\\"valid\\\"],[[2810,2816],\\\"disallowed\\\"],[[2817,2819],\\\"valid\\\"],[[2820,2820],\\\"disallowed\\\"],[[2821,2828],\\\"valid\\\"],[[2829,2830],\\\"disallowed\\\"],[[2831,2832],\\\"valid\\\"],[[2833,2834],\\\"disallowed\\\"],[[2835,2856],\\\"valid\\\"],[[2857,2857],\\\"disallowed\\\"],[[2858,2864],\\\"valid\\\"],[[2865,2865],\\\"disallowed\\\"],[[2866,2867],\\\"valid\\\"],[[2868,2868],\\\"disallowed\\\"],[[2869,2869],\\\"valid\\\"],[[2870,2873],\\\"valid\\\"],[[2874,2875],\\\"disallowed\\\"],[[2876,2883],\\\"valid\\\"],[[2884,2884],\\\"valid\\\"],[[2885,2886],\\\"disallowed\\\"],[[2887,2888],\\\"valid\\\"],[[2889,2890],\\\"disallowed\\\"],[[2891,2893],\\\"valid\\\"],[[2894,2901],\\\"disallowed\\\"],[[2902,2903],\\\"valid\\\"],[[2904,2907],\\\"disallowed\\\"],[[2908,2908],\\\"mapped\\\",[2849,2876]],[[2909,2909],\\\"mapped\\\",[2850,2876]],[[2910,2910],\\\"disallowed\\\"],[[2911,2913],\\\"valid\\\"],[[2914,2915],\\\"valid\\\"],[[2916,2917],\\\"disallowed\\\"],[[2918,2927],\\\"valid\\\"],[[2928,2928],\\\"valid\\\",[],\\\"NV8\\\"],[[2929,2929],\\\"valid\\\"],[[2930,2935],\\\"valid\\\",[],\\\"NV8\\\"],[[2936,2945],\\\"disallowed\\\"],[[2946,2947],\\\"valid\\\"],[[2948,2948],\\\"disallowed\\\"],[[2949,2954],\\\"valid\\\"],[[2955,2957],\\\"disallowed\\\"],[[2958,2960],\\\"valid\\\"],[[2961,2961],\\\"disallowed\\\"],[[2962,2965],\\\"valid\\\"],[[2966,2968],\\\"disallowed\\\"],[[2969,2970],\\\"valid\\\"],[[2971,2971],\\\"disallowed\\\"],[[2972,2972],\\\"valid\\\"],[[2973,2973],\\\"disallowed\\\"],[[2974,2975],\\\"valid\\\"],[[2976,2978],\\\"disallowed\\\"],[[2979,2980],\\\"valid\\\"],[[2981,2983],\\\"disallowed\\\"],[[2984,2986],\\\"valid\\\"],[[2987,2989],\\\"disallowed\\\"],[[2990,2997],\\\"valid\\\"],[[2998,2998],\\\"valid\\\"],[[2999,3001],\\\"valid\\\"],[[3002,3005],\\\"disallowed\\\"],[[3006,3010],\\\"valid\\\"],[[3011,3013],\\\"disallowed\\\"],[[3014,3016],\\\"valid\\\"],[[3017,3017],\\\"disallowed\\\"],[[3018,3021],\\\"valid\\\"],[[3022,3023],\\\"disallowed\\\"],[[3024,3024],\\\"valid\\\"],[[3025,3030],\\\"disallowed\\\"],[[3031,3031],\\\"valid\\\"],[[3032,3045],\\\"disallowed\\\"],[[3046,3046],\\\"valid\\\"],[[3047,3055],\\\"valid\\\"],[[3056,3058],\\\"valid\\\",[],\\\"NV8\\\"],[[3059,3066],\\\"valid\\\",[],\\\"NV8\\\"],[[3067,3071],\\\"disallowed\\\"],[[3072,3072],\\\"valid\\\"],[[3073,3075],\\\"valid\\\"],[[3076,3076],\\\"disallowed\\\"],[[3077,3084],\\\"valid\\\"],[[3085,3085],\\\"disallowed\\\"],[[3086,3088],\\\"valid\\\"],[[3089,3089],\\\"disallowed\\\"],[[3090,3112],\\\"valid\\\"],[[3113,3113],\\\"disallowed\\\"],[[3114,3123],\\\"valid\\\"],[[3124,3124],\\\"valid\\\"],[[3125,3129],\\\"valid\\\"],[[3130,3132],\\\"disallowed\\\"],[[3133,3133],\\\"valid\\\"],[[3134,3140],\\\"valid\\\"],[[3141,3141],\\\"disallowed\\\"],[[3142,3144],\\\"valid\\\"],[[3145,3145],\\\"disallowed\\\"],[[3146,3149],\\\"valid\\\"],[[3150,3156],\\\"disallowed\\\"],[[3157,3158],\\\"valid\\\"],[[3159,3159],\\\"disallowed\\\"],[[3160,3161],\\\"valid\\\"],[[3162,3162],\\\"valid\\\"],[[3163,3167],\\\"disallowed\\\"],[[3168,3169],\\\"valid\\\"],[[3170,3171],\\\"valid\\\"],[[3172,3173],\\\"disallowed\\\"],[[3174,3183],\\\"valid\\\"],[[3184,3191],\\\"disallowed\\\"],[[3192,3199],\\\"valid\\\",[],\\\"NV8\\\"],[[3200,3200],\\\"disallowed\\\"],[[3201,3201],\\\"valid\\\"],[[3202,3203],\\\"valid\\\"],[[3204,3204],\\\"disallowed\\\"],[[3205,3212],\\\"valid\\\"],[[3213,3213],\\\"disallowed\\\"],[[3214,3216],\\\"valid\\\"],[[3217,3217],\\\"disallowed\\\"],[[3218,3240],\\\"valid\\\"],[[3241,3241],\\\"disallowed\\\"],[[3242,3251],\\\"valid\\\"],[[3252,3252],\\\"disallowed\\\"],[[3253,3257],\\\"valid\\\"],[[3258,3259],\\\"disallowed\\\"],[[3260,3261],\\\"valid\\\"],[[3262,3268],\\\"valid\\\"],[[3269,3269],\\\"disallowed\\\"],[[3270,3272],\\\"valid\\\"],[[3273,3273],\\\"disallowed\\\"],[[3274,3277],\\\"valid\\\"],[[3278,3284],\\\"disallowed\\\"],[[3285,3286],\\\"valid\\\"],[[3287,3293],\\\"disallowed\\\"],[[3294,3294],\\\"valid\\\"],[[3295,3295],\\\"disallowed\\\"],[[3296,3297],\\\"valid\\\"],[[3298,3299],\\\"valid\\\"],[[3300,3301],\\\"disallowed\\\"],[[3302,3311],\\\"valid\\\"],[[3312,3312],\\\"disallowed\\\"],[[3313,3314],\\\"valid\\\"],[[3315,3328],\\\"disallowed\\\"],[[3329,3329],\\\"valid\\\"],[[3330,3331],\\\"valid\\\"],[[3332,3332],\\\"disallowed\\\"],[[3333,3340],\\\"valid\\\"],[[3341,3341],\\\"disallowed\\\"],[[3342,3344],\\\"valid\\\"],[[3345,3345],\\\"disallowed\\\"],[[3346,3368],\\\"valid\\\"],[[3369,3369],\\\"valid\\\"],[[3370,3385],\\\"valid\\\"],[[3386,3386],\\\"valid\\\"],[[3387,3388],\\\"disallowed\\\"],[[3389,3389],\\\"valid\\\"],[[3390,3395],\\\"valid\\\"],[[3396,3396],\\\"valid\\\"],[[3397,3397],\\\"disallowed\\\"],[[3398,3400],\\\"valid\\\"],[[3401,3401],\\\"disallowed\\\"],[[3402,3405],\\\"valid\\\"],[[3406,3406],\\\"valid\\\"],[[3407,3414],\\\"disallowed\\\"],[[3415,3415],\\\"valid\\\"],[[3416,3422],\\\"disallowed\\\"],[[3423,3423],\\\"valid\\\"],[[3424,3425],\\\"valid\\\"],[[3426,3427],\\\"valid\\\"],[[3428,3429],\\\"disallowed\\\"],[[3430,3439],\\\"valid\\\"],[[3440,3445],\\\"valid\\\",[],\\\"NV8\\\"],[[3446,3448],\\\"disallowed\\\"],[[3449,3449],\\\"valid\\\",[],\\\"NV8\\\"],[[3450,3455],\\\"valid\\\"],[[3456,3457],\\\"disallowed\\\"],[[3458,3459],\\\"valid\\\"],[[3460,3460],\\\"disallowed\\\"],[[3461,3478],\\\"valid\\\"],[[3479,3481],\\\"disallowed\\\"],[[3482,3505],\\\"valid\\\"],[[3506,3506],\\\"disallowed\\\"],[[3507,3515],\\\"valid\\\"],[[3516,3516],\\\"disallowed\\\"],[[3517,3517],\\\"valid\\\"],[[3518,3519],\\\"disallowed\\\"],[[3520,3526],\\\"valid\\\"],[[3527,3529],\\\"disallowed\\\"],[[3530,3530],\\\"valid\\\"],[[3531,3534],\\\"disallowed\\\"],[[3535,3540],\\\"valid\\\"],[[3541,3541],\\\"disallowed\\\"],[[3542,3542],\\\"valid\\\"],[[3543,3543],\\\"disallowed\\\"],[[3544,3551],\\\"valid\\\"],[[3552,3557],\\\"disallowed\\\"],[[3558,3567],\\\"valid\\\"],[[3568,3569],\\\"disallowed\\\"],[[3570,3571],\\\"valid\\\"],[[3572,3572],\\\"valid\\\",[],\\\"NV8\\\"],[[3573,3584],\\\"disallowed\\\"],[[3585,3634],\\\"valid\\\"],[[3635,3635],\\\"mapped\\\",[3661,3634]],[[3636,3642],\\\"valid\\\"],[[3643,3646],\\\"disallowed\\\"],[[3647,3647],\\\"valid\\\",[],\\\"NV8\\\"],[[3648,3662],\\\"valid\\\"],[[3663,3663],\\\"valid\\\",[],\\\"NV8\\\"],[[3664,3673],\\\"valid\\\"],[[3674,3675],\\\"valid\\\",[],\\\"NV8\\\"],[[3676,3712],\\\"disallowed\\\"],[[3713,3714],\\\"valid\\\"],[[3715,3715],\\\"disallowed\\\"],[[3716,3716],\\\"valid\\\"],[[3717,3718],\\\"disallowed\\\"],[[3719,3720],\\\"valid\\\"],[[3721,3721],\\\"disallowed\\\"],[[3722,3722],\\\"valid\\\"],[[3723,3724],\\\"disallowed\\\"],[[3725,3725],\\\"valid\\\"],[[3726,3731],\\\"disallowed\\\"],[[3732,3735],\\\"valid\\\"],[[3736,3736],\\\"disallowed\\\"],[[3737,3743],\\\"valid\\\"],[[3744,3744],\\\"disallowed\\\"],[[3745,3747],\\\"valid\\\"],[[3748,3748],\\\"disallowed\\\"],[[3749,3749],\\\"valid\\\"],[[3750,3750],\\\"disallowed\\\"],[[3751,3751],\\\"valid\\\"],[[3752,3753],\\\"disallowed\\\"],[[3754,3755],\\\"valid\\\"],[[3756,3756],\\\"disallowed\\\"],[[3757,3762],\\\"valid\\\"],[[3763,3763],\\\"mapped\\\",[3789,3762]],[[3764,3769],\\\"valid\\\"],[[3770,3770],\\\"disallowed\\\"],[[3771,3773],\\\"valid\\\"],[[3774,3775],\\\"disallowed\\\"],[[3776,3780],\\\"valid\\\"],[[3781,3781],\\\"disallowed\\\"],[[3782,3782],\\\"valid\\\"],[[3783,3783],\\\"disallowed\\\"],[[3784,3789],\\\"valid\\\"],[[3790,3791],\\\"disallowed\\\"],[[3792,3801],\\\"valid\\\"],[[3802,3803],\\\"disallowed\\\"],[[3804,3804],\\\"mapped\\\",[3755,3737]],[[3805,3805],\\\"mapped\\\",[3755,3745]],[[3806,3807],\\\"valid\\\"],[[3808,3839],\\\"disallowed\\\"],[[3840,3840],\\\"valid\\\"],[[3841,3850],\\\"valid\\\",[],\\\"NV8\\\"],[[3851,3851],\\\"valid\\\"],[[3852,3852],\\\"mapped\\\",[3851]],[[3853,3863],\\\"valid\\\",[],\\\"NV8\\\"],[[3864,3865],\\\"valid\\\"],[[3866,3871],\\\"valid\\\",[],\\\"NV8\\\"],[[3872,3881],\\\"valid\\\"],[[3882,3892],\\\"valid\\\",[],\\\"NV8\\\"],[[3893,3893],\\\"valid\\\"],[[3894,3894],\\\"valid\\\",[],\\\"NV8\\\"],[[3895,3895],\\\"valid\\\"],[[3896,3896],\\\"valid\\\",[],\\\"NV8\\\"],[[3897,3897],\\\"valid\\\"],[[3898,3901],\\\"valid\\\",[],\\\"NV8\\\"],[[3902,3906],\\\"valid\\\"],[[3907,3907],\\\"mapped\\\",[3906,4023]],[[3908,3911],\\\"valid\\\"],[[3912,3912],\\\"disallowed\\\"],[[3913,3916],\\\"valid\\\"],[[3917,3917],\\\"mapped\\\",[3916,4023]],[[3918,3921],\\\"valid\\\"],[[3922,3922],\\\"mapped\\\",[3921,4023]],[[3923,3926],\\\"valid\\\"],[[3927,3927],\\\"mapped\\\",[3926,4023]],[[3928,3931],\\\"valid\\\"],[[3932,3932],\\\"mapped\\\",[3931,4023]],[[3933,3944],\\\"valid\\\"],[[3945,3945],\\\"mapped\\\",[3904,4021]],[[3946,3946],\\\"valid\\\"],[[3947,3948],\\\"valid\\\"],[[3949,3952],\\\"disallowed\\\"],[[3953,3954],\\\"valid\\\"],[[3955,3955],\\\"mapped\\\",[3953,3954]],[[3956,3956],\\\"valid\\\"],[[3957,3957],\\\"mapped\\\",[3953,3956]],[[3958,3958],\\\"mapped\\\",[4018,3968]],[[3959,3959],\\\"mapped\\\",[4018,3953,3968]],[[3960,3960],\\\"mapped\\\",[4019,3968]],[[3961,3961],\\\"mapped\\\",[4019,3953,3968]],[[3962,3968],\\\"valid\\\"],[[3969,3969],\\\"mapped\\\",[3953,3968]],[[3970,3972],\\\"valid\\\"],[[3973,3973],\\\"valid\\\",[],\\\"NV8\\\"],[[3974,3979],\\\"valid\\\"],[[3980,3983],\\\"valid\\\"],[[3984,3986],\\\"valid\\\"],[[3987,3987],\\\"mapped\\\",[3986,4023]],[[3988,3989],\\\"valid\\\"],[[3990,3990],\\\"valid\\\"],[[3991,3991],\\\"valid\\\"],[[3992,3992],\\\"disallowed\\\"],[[3993,3996],\\\"valid\\\"],[[3997,3997],\\\"mapped\\\",[3996,4023]],[[3998,4001],\\\"valid\\\"],[[4002,4002],\\\"mapped\\\",[4001,4023]],[[4003,4006],\\\"valid\\\"],[[4007,4007],\\\"mapped\\\",[4006,4023]],[[4008,4011],\\\"valid\\\"],[[4012,4012],\\\"mapped\\\",[4011,4023]],[[4013,4013],\\\"valid\\\"],[[4014,4016],\\\"valid\\\"],[[4017,4023],\\\"valid\\\"],[[4024,4024],\\\"valid\\\"],[[4025,4025],\\\"mapped\\\",[3984,4021]],[[4026,4028],\\\"valid\\\"],[[4029,4029],\\\"disallowed\\\"],[[4030,4037],\\\"valid\\\",[],\\\"NV8\\\"],[[4038,4038],\\\"valid\\\"],[[4039,4044],\\\"valid\\\",[],\\\"NV8\\\"],[[4045,4045],\\\"disallowed\\\"],[[4046,4046],\\\"valid\\\",[],\\\"NV8\\\"],[[4047,4047],\\\"valid\\\",[],\\\"NV8\\\"],[[4048,4049],\\\"valid\\\",[],\\\"NV8\\\"],[[4050,4052],\\\"valid\\\",[],\\\"NV8\\\"],[[4053,4056],\\\"valid\\\",[],\\\"NV8\\\"],[[4057,4058],\\\"valid\\\",[],\\\"NV8\\\"],[[4059,4095],\\\"disallowed\\\"],[[4096,4129],\\\"valid\\\"],[[4130,4130],\\\"valid\\\"],[[4131,4135],\\\"valid\\\"],[[4136,4136],\\\"valid\\\"],[[4137,4138],\\\"valid\\\"],[[4139,4139],\\\"valid\\\"],[[4140,4146],\\\"valid\\\"],[[4147,4149],\\\"valid\\\"],[[4150,4153],\\\"valid\\\"],[[4154,4159],\\\"valid\\\"],[[4160,4169],\\\"valid\\\"],[[4170,4175],\\\"valid\\\",[],\\\"NV8\\\"],[[4176,4185],\\\"valid\\\"],[[4186,4249],\\\"valid\\\"],[[4250,4253],\\\"valid\\\"],[[4254,4255],\\\"valid\\\",[],\\\"NV8\\\"],[[4256,4293],\\\"disallowed\\\"],[[4294,4294],\\\"disallowed\\\"],[[4295,4295],\\\"mapped\\\",[11559]],[[4296,4300],\\\"disallowed\\\"],[[4301,4301],\\\"mapped\\\",[11565]],[[4302,4303],\\\"disallowed\\\"],[[4304,4342],\\\"valid\\\"],[[4343,4344],\\\"valid\\\"],[[4345,4346],\\\"valid\\\"],[[4347,4347],\\\"valid\\\",[],\\\"NV8\\\"],[[4348,4348],\\\"mapped\\\",[4316]],[[4349,4351],\\\"valid\\\"],[[4352,4441],\\\"valid\\\",[],\\\"NV8\\\"],[[4442,4446],\\\"valid\\\",[],\\\"NV8\\\"],[[4447,4448],\\\"disallowed\\\"],[[4449,4514],\\\"valid\\\",[],\\\"NV8\\\"],[[4515,4519],\\\"valid\\\",[],\\\"NV8\\\"],[[4520,4601],\\\"valid\\\",[],\\\"NV8\\\"],[[4602,4607],\\\"valid\\\",[],\\\"NV8\\\"],[[4608,4614],\\\"valid\\\"],[[4615,4615],\\\"valid\\\"],[[4616,4678],\\\"valid\\\"],[[4679,4679],\\\"valid\\\"],[[4680,4680],\\\"valid\\\"],[[4681,4681],\\\"disallowed\\\"],[[4682,4685],\\\"valid\\\"],[[4686,4687],\\\"disallowed\\\"],[[4688,4694],\\\"valid\\\"],[[4695,4695],\\\"disallowed\\\"],[[4696,4696],\\\"valid\\\"],[[4697,4697],\\\"disallowed\\\"],[[4698,4701],\\\"valid\\\"],[[4702,4703],\\\"disallowed\\\"],[[4704,4742],\\\"valid\\\"],[[4743,4743],\\\"valid\\\"],[[4744,4744],\\\"valid\\\"],[[4745,4745],\\\"disallowed\\\"],[[4746,4749],\\\"valid\\\"],[[4750,4751],\\\"disallowed\\\"],[[4752,4782],\\\"valid\\\"],[[4783,4783],\\\"valid\\\"],[[4784,4784],\\\"valid\\\"],[[4785,4785],\\\"disallowed\\\"],[[4786,4789],\\\"valid\\\"],[[4790,4791],\\\"disallowed\\\"],[[4792,4798],\\\"valid\\\"],[[4799,4799],\\\"disallowed\\\"],[[4800,4800],\\\"valid\\\"],[[4801,4801],\\\"disallowed\\\"],[[4802,4805],\\\"valid\\\"],[[4806,4807],\\\"disallowed\\\"],[[4808,4814],\\\"valid\\\"],[[4815,4815],\\\"valid\\\"],[[4816,4822],\\\"valid\\\"],[[4823,4823],\\\"disallowed\\\"],[[4824,4846],\\\"valid\\\"],[[4847,4847],\\\"valid\\\"],[[4848,4878],\\\"valid\\\"],[[4879,4879],\\\"valid\\\"],[[4880,4880],\\\"valid\\\"],[[4881,4881],\\\"disallowed\\\"],[[4882,4885],\\\"valid\\\"],[[4886,4887],\\\"disallowed\\\"],[[4888,4894],\\\"valid\\\"],[[4895,4895],\\\"valid\\\"],[[4896,4934],\\\"valid\\\"],[[4935,4935],\\\"valid\\\"],[[4936,4954],\\\"valid\\\"],[[4955,4956],\\\"disallowed\\\"],[[4957,4958],\\\"valid\\\"],[[4959,4959],\\\"valid\\\"],[[4960,4960],\\\"valid\\\",[],\\\"NV8\\\"],[[4961,4988],\\\"valid\\\",[],\\\"NV8\\\"],[[4989,4991],\\\"disallowed\\\"],[[4992,5007],\\\"valid\\\"],[[5008,5017],\\\"valid\\\",[],\\\"NV8\\\"],[[5018,5023],\\\"disallowed\\\"],[[5024,5108],\\\"valid\\\"],[[5109,5109],\\\"valid\\\"],[[5110,5111],\\\"disallowed\\\"],[[5112,5112],\\\"mapped\\\",[5104]],[[5113,5113],\\\"mapped\\\",[5105]],[[5114,5114],\\\"mapped\\\",[5106]],[[5115,5115],\\\"mapped\\\",[5107]],[[5116,5116],\\\"mapped\\\",[5108]],[[5117,5117],\\\"mapped\\\",[5109]],[[5118,5119],\\\"disallowed\\\"],[[5120,5120],\\\"valid\\\",[],\\\"NV8\\\"],[[5121,5740],\\\"valid\\\"],[[5741,5742],\\\"valid\\\",[],\\\"NV8\\\"],[[5743,5750],\\\"valid\\\"],[[5751,5759],\\\"valid\\\"],[[5760,5760],\\\"disallowed\\\"],[[5761,5786],\\\"valid\\\"],[[5787,5788],\\\"valid\\\",[],\\\"NV8\\\"],[[5789,5791],\\\"disallowed\\\"],[[5792,5866],\\\"valid\\\"],[[5867,5872],\\\"valid\\\",[],\\\"NV8\\\"],[[5873,5880],\\\"valid\\\"],[[5881,5887],\\\"disallowed\\\"],[[5888,5900],\\\"valid\\\"],[[5901,5901],\\\"disallowed\\\"],[[5902,5908],\\\"valid\\\"],[[5909,5919],\\\"disallowed\\\"],[[5920,5940],\\\"valid\\\"],[[5941,5942],\\\"valid\\\",[],\\\"NV8\\\"],[[5943,5951],\\\"disallowed\\\"],[[5952,5971],\\\"valid\\\"],[[5972,5983],\\\"disallowed\\\"],[[5984,5996],\\\"valid\\\"],[[5997,5997],\\\"disallowed\\\"],[[5998,6000],\\\"valid\\\"],[[6001,6001],\\\"disallowed\\\"],[[6002,6003],\\\"valid\\\"],[[6004,6015],\\\"disallowed\\\"],[[6016,6067],\\\"valid\\\"],[[6068,6069],\\\"disallowed\\\"],[[6070,6099],\\\"valid\\\"],[[6100,6102],\\\"valid\\\",[],\\\"NV8\\\"],[[6103,6103],\\\"valid\\\"],[[6104,6107],\\\"valid\\\",[],\\\"NV8\\\"],[[6108,6108],\\\"valid\\\"],[[6109,6109],\\\"valid\\\"],[[6110,6111],\\\"disallowed\\\"],[[6112,6121],\\\"valid\\\"],[[6122,6127],\\\"disallowed\\\"],[[6128,6137],\\\"valid\\\",[],\\\"NV8\\\"],[[6138,6143],\\\"disallowed\\\"],[[6144,6149],\\\"valid\\\",[],\\\"NV8\\\"],[[6150,6150],\\\"disallowed\\\"],[[6151,6154],\\\"valid\\\",[],\\\"NV8\\\"],[[6155,6157],\\\"ignored\\\"],[[6158,6158],\\\"disallowed\\\"],[[6159,6159],\\\"disallowed\\\"],[[6160,6169],\\\"valid\\\"],[[6170,6175],\\\"disallowed\\\"],[[6176,6263],\\\"valid\\\"],[[6264,6271],\\\"disallowed\\\"],[[6272,6313],\\\"valid\\\"],[[6314,6314],\\\"valid\\\"],[[6315,6319],\\\"disallowed\\\"],[[6320,6389],\\\"valid\\\"],[[6390,6399],\\\"disallowed\\\"],[[6400,6428],\\\"valid\\\"],[[6429,6430],\\\"valid\\\"],[[6431,6431],\\\"disallowed\\\"],[[6432,6443],\\\"valid\\\"],[[6444,6447],\\\"disallowed\\\"],[[6448,6459],\\\"valid\\\"],[[6460,6463],\\\"disallowed\\\"],[[6464,6464],\\\"valid\\\",[],\\\"NV8\\\"],[[6465,6467],\\\"disallowed\\\"],[[6468,6469],\\\"valid\\\",[],\\\"NV8\\\"],[[6470,6509],\\\"valid\\\"],[[6510,6511],\\\"disallowed\\\"],[[6512,6516],\\\"valid\\\"],[[6517,6527],\\\"disallowed\\\"],[[6528,6569],\\\"valid\\\"],[[6570,6571],\\\"valid\\\"],[[6572,6575],\\\"disallowed\\\"],[[6576,6601],\\\"valid\\\"],[[6602,6607],\\\"disallowed\\\"],[[6608,6617],\\\"valid\\\"],[[6618,6618],\\\"valid\\\",[],\\\"XV8\\\"],[[6619,6621],\\\"disallowed\\\"],[[6622,6623],\\\"valid\\\",[],\\\"NV8\\\"],[[6624,6655],\\\"valid\\\",[],\\\"NV8\\\"],[[6656,6683],\\\"valid\\\"],[[6684,6685],\\\"disallowed\\\"],[[6686,6687],\\\"valid\\\",[],\\\"NV8\\\"],[[6688,6750],\\\"valid\\\"],[[6751,6751],\\\"disallowed\\\"],[[6752,6780],\\\"valid\\\"],[[6781,6782],\\\"disallowed\\\"],[[6783,6793],\\\"valid\\\"],[[6794,6799],\\\"disallowed\\\"],[[6800,6809],\\\"valid\\\"],[[6810,6815],\\\"disallowed\\\"],[[6816,6822],\\\"valid\\\",[],\\\"NV8\\\"],[[6823,6823],\\\"valid\\\"],[[6824,6829],\\\"valid\\\",[],\\\"NV8\\\"],[[6830,6831],\\\"disallowed\\\"],[[6832,6845],\\\"valid\\\"],[[6846,6846],\\\"valid\\\",[],\\\"NV8\\\"],[[6847,6911],\\\"disallowed\\\"],[[6912,6987],\\\"valid\\\"],[[6988,6991],\\\"disallowed\\\"],[[6992,7001],\\\"valid\\\"],[[7002,7018],\\\"valid\\\",[],\\\"NV8\\\"],[[7019,7027],\\\"valid\\\"],[[7028,7036],\\\"valid\\\",[],\\\"NV8\\\"],[[7037,7039],\\\"disallowed\\\"],[[7040,7082],\\\"valid\\\"],[[7083,7085],\\\"valid\\\"],[[7086,7097],\\\"valid\\\"],[[7098,7103],\\\"valid\\\"],[[7104,7155],\\\"valid\\\"],[[7156,7163],\\\"disallowed\\\"],[[7164,7167],\\\"valid\\\",[],\\\"NV8\\\"],[[7168,7223],\\\"valid\\\"],[[7224,7226],\\\"disallowed\\\"],[[7227,7231],\\\"valid\\\",[],\\\"NV8\\\"],[[7232,7241],\\\"valid\\\"],[[7242,7244],\\\"disallowed\\\"],[[7245,7293],\\\"valid\\\"],[[7294,7295],\\\"valid\\\",[],\\\"NV8\\\"],[[7296,7359],\\\"disallowed\\\"],[[7360,7367],\\\"valid\\\",[],\\\"NV8\\\"],[[7368,7375],\\\"disallowed\\\"],[[7376,7378],\\\"valid\\\"],[[7379,7379],\\\"valid\\\",[],\\\"NV8\\\"],[[7380,7410],\\\"valid\\\"],[[7411,7414],\\\"valid\\\"],[[7415,7415],\\\"disallowed\\\"],[[7416,7417],\\\"valid\\\"],[[7418,7423],\\\"disallowed\\\"],[[7424,7467],\\\"valid\\\"],[[7468,7468],\\\"mapped\\\",[97]],[[7469,7469],\\\"mapped\\\",[230]],[[7470,7470],\\\"mapped\\\",[98]],[[7471,7471],\\\"valid\\\"],[[7472,7472],\\\"mapped\\\",[100]],[[7473,7473],\\\"mapped\\\",[101]],[[7474,7474],\\\"mapped\\\",[477]],[[7475,7475],\\\"mapped\\\",[103]],[[7476,7476],\\\"mapped\\\",[104]],[[7477,7477],\\\"mapped\\\",[105]],[[7478,7478],\\\"mapped\\\",[106]],[[7479,7479],\\\"mapped\\\",[107]],[[7480,7480],\\\"mapped\\\",[108]],[[7481,7481],\\\"mapped\\\",[109]],[[7482,7482],\\\"mapped\\\",[110]],[[7483,7483],\\\"valid\\\"],[[7484,7484],\\\"mapped\\\",[111]],[[7485,7485],\\\"mapped\\\",[547]],[[7486,7486],\\\"mapped\\\",[112]],[[7487,7487],\\\"mapped\\\",[114]],[[7488,7488],\\\"mapped\\\",[116]],[[7489,7489],\\\"mapped\\\",[117]],[[7490,7490],\\\"mapped\\\",[119]],[[7491,7491],\\\"mapped\\\",[97]],[[7492,7492],\\\"mapped\\\",[592]],[[7493,7493],\\\"mapped\\\",[593]],[[7494,7494],\\\"mapped\\\",[7426]],[[7495,7495],\\\"mapped\\\",[98]],[[7496,7496],\\\"mapped\\\",[100]],[[7497,7497],\\\"mapped\\\",[101]],[[7498,7498],\\\"mapped\\\",[601]],[[7499,7499],\\\"mapped\\\",[603]],[[7500,7500],\\\"mapped\\\",[604]],[[7501,7501],\\\"mapped\\\",[103]],[[7502,7502],\\\"valid\\\"],[[7503,7503],\\\"mapped\\\",[107]],[[7504,7504],\\\"mapped\\\",[109]],[[7505,7505],\\\"mapped\\\",[331]],[[7506,7506],\\\"mapped\\\",[111]],[[7507,7507],\\\"mapped\\\",[596]],[[7508,7508],\\\"mapped\\\",[7446]],[[7509,7509],\\\"mapped\\\",[7447]],[[7510,7510],\\\"mapped\\\",[112]],[[7511,7511],\\\"mapped\\\",[116]],[[7512,7512],\\\"mapped\\\",[117]],[[7513,7513],\\\"mapped\\\",[7453]],[[7514,7514],\\\"mapped\\\",[623]],[[7515,7515],\\\"mapped\\\",[118]],[[7516,7516],\\\"mapped\\\",[7461]],[[7517,7517],\\\"mapped\\\",[946]],[[7518,7518],\\\"mapped\\\",[947]],[[7519,7519],\\\"mapped\\\",[948]],[[7520,7520],\\\"mapped\\\",[966]],[[7521,7521],\\\"mapped\\\",[967]],[[7522,7522],\\\"mapped\\\",[105]],[[7523,7523],\\\"mapped\\\",[114]],[[7524,7524],\\\"mapped\\\",[117]],[[7525,7525],\\\"mapped\\\",[118]],[[7526,7526],\\\"mapped\\\",[946]],[[7527,7527],\\\"mapped\\\",[947]],[[7528,7528],\\\"mapped\\\",[961]],[[7529,7529],\\\"mapped\\\",[966]],[[7530,7530],\\\"mapped\\\",[967]],[[7531,7531],\\\"valid\\\"],[[7532,7543],\\\"valid\\\"],[[7544,7544],\\\"mapped\\\",[1085]],[[7545,7578],\\\"valid\\\"],[[7579,7579],\\\"mapped\\\",[594]],[[7580,7580],\\\"mapped\\\",[99]],[[7581,7581],\\\"mapped\\\",[597]],[[7582,7582],\\\"mapped\\\",[240]],[[7583,7583],\\\"mapped\\\",[604]],[[7584,7584],\\\"mapped\\\",[102]],[[7585,7585],\\\"mapped\\\",[607]],[[7586,7586],\\\"mapped\\\",[609]],[[7587,7587],\\\"mapped\\\",[613]],[[7588,7588],\\\"mapped\\\",[616]],[[7589,7589],\\\"mapped\\\",[617]],[[7590,7590],\\\"mapped\\\",[618]],[[7591,7591],\\\"mapped\\\",[7547]],[[7592,7592],\\\"mapped\\\",[669]],[[7593,7593],\\\"mapped\\\",[621]],[[7594,7594],\\\"mapped\\\",[7557]],[[7595,7595],\\\"mapped\\\",[671]],[[7596,7596],\\\"mapped\\\",[625]],[[7597,7597],\\\"mapped\\\",[624]],[[7598,7598],\\\"mapped\\\",[626]],[[7599,7599],\\\"mapped\\\",[627]],[[7600,7600],\\\"mapped\\\",[628]],[[7601,7601],\\\"mapped\\\",[629]],[[7602,7602],\\\"mapped\\\",[632]],[[7603,7603],\\\"mapped\\\",[642]],[[7604,7604],\\\"mapped\\\",[643]],[[7605,7605],\\\"mapped\\\",[427]],[[7606,7606],\\\"mapped\\\",[649]],[[7607,7607],\\\"mapped\\\",[650]],[[7608,7608],\\\"mapped\\\",[7452]],[[7609,7609],\\\"mapped\\\",[651]],[[7610,7610],\\\"mapped\\\",[652]],[[7611,7611],\\\"mapped\\\",[122]],[[7612,7612],\\\"mapped\\\",[656]],[[7613,7613],\\\"mapped\\\",[657]],[[7614,7614],\\\"mapped\\\",[658]],[[7615,7615],\\\"mapped\\\",[952]],[[7616,7619],\\\"valid\\\"],[[7620,7626],\\\"valid\\\"],[[7627,7654],\\\"valid\\\"],[[7655,7669],\\\"valid\\\"],[[7670,7675],\\\"disallowed\\\"],[[7676,7676],\\\"valid\\\"],[[7677,7677],\\\"valid\\\"],[[7678,7679],\\\"valid\\\"],[[7680,7680],\\\"mapped\\\",[7681]],[[7681,7681],\\\"valid\\\"],[[7682,7682],\\\"mapped\\\",[7683]],[[7683,7683],\\\"valid\\\"],[[7684,7684],\\\"mapped\\\",[7685]],[[7685,7685],\\\"valid\\\"],[[7686,7686],\\\"mapped\\\",[7687]],[[7687,7687],\\\"valid\\\"],[[7688,7688],\\\"mapped\\\",[7689]],[[7689,7689],\\\"valid\\\"],[[7690,7690],\\\"mapped\\\",[7691]],[[7691,7691],\\\"valid\\\"],[[7692,7692],\\\"mapped\\\",[7693]],[[7693,7693],\\\"valid\\\"],[[7694,7694],\\\"mapped\\\",[7695]],[[7695,7695],\\\"valid\\\"],[[7696,7696],\\\"mapped\\\",[7697]],[[7697,7697],\\\"valid\\\"],[[7698,7698],\\\"mapped\\\",[7699]],[[7699,7699],\\\"valid\\\"],[[7700,7700],\\\"mapped\\\",[7701]],[[7701,7701],\\\"valid\\\"],[[7702,7702],\\\"mapped\\\",[7703]],[[7703,7703],\\\"valid\\\"],[[7704,7704],\\\"mapped\\\",[7705]],[[7705,7705],\\\"valid\\\"],[[7706,7706],\\\"mapped\\\",[7707]],[[7707,7707],\\\"valid\\\"],[[7708,7708],\\\"mapped\\\",[7709]],[[7709,7709],\\\"valid\\\"],[[7710,7710],\\\"mapped\\\",[7711]],[[7711,7711],\\\"valid\\\"],[[7712,7712],\\\"mapped\\\",[7713]],[[7713,7713],\\\"valid\\\"],[[7714,7714],\\\"mapped\\\",[7715]],[[7715,7715],\\\"valid\\\"],[[7716,7716],\\\"mapped\\\",[7717]],[[7717,7717],\\\"valid\\\"],[[7718,7718],\\\"mapped\\\",[7719]],[[7719,7719],\\\"valid\\\"],[[7720,7720],\\\"mapped\\\",[7721]],[[7721,7721],\\\"valid\\\"],[[7722,7722],\\\"mapped\\\",[7723]],[[7723,7723],\\\"valid\\\"],[[7724,7724],\\\"mapped\\\",[7725]],[[7725,7725],\\\"valid\\\"],[[7726,7726],\\\"mapped\\\",[7727]],[[7727,7727],\\\"valid\\\"],[[7728,7728],\\\"mapped\\\",[7729]],[[7729,7729],\\\"valid\\\"],[[7730,7730],\\\"mapped\\\",[7731]],[[7731,7731],\\\"valid\\\"],[[7732,7732],\\\"mapped\\\",[7733]],[[7733,7733],\\\"valid\\\"],[[7734,7734],\\\"mapped\\\",[7735]],[[7735,7735],\\\"valid\\\"],[[7736,7736],\\\"mapped\\\",[7737]],[[7737,7737],\\\"valid\\\"],[[7738,7738],\\\"mapped\\\",[7739]],[[7739,7739],\\\"valid\\\"],[[7740,7740],\\\"mapped\\\",[7741]],[[7741,7741],\\\"valid\\\"],[[7742,7742],\\\"mapped\\\",[7743]],[[7743,7743],\\\"valid\\\"],[[7744,7744],\\\"mapped\\\",[7745]],[[7745,7745],\\\"valid\\\"],[[7746,7746],\\\"mapped\\\",[7747]],[[7747,7747],\\\"valid\\\"],[[7748,7748],\\\"mapped\\\",[7749]],[[7749,7749],\\\"valid\\\"],[[7750,7750],\\\"mapped\\\",[7751]],[[7751,7751],\\\"valid\\\"],[[7752,7752],\\\"mapped\\\",[7753]],[[7753,7753],\\\"valid\\\"],[[7754,7754],\\\"mapped\\\",[7755]],[[7755,7755],\\\"valid\\\"],[[7756,7756],\\\"mapped\\\",[7757]],[[7757,7757],\\\"valid\\\"],[[7758,7758],\\\"mapped\\\",[7759]],[[7759,7759],\\\"valid\\\"],[[7760,7760],\\\"mapped\\\",[7761]],[[7761,7761],\\\"valid\\\"],[[7762,7762],\\\"mapped\\\",[7763]],[[7763,7763],\\\"valid\\\"],[[7764,7764],\\\"mapped\\\",[7765]],[[7765,7765],\\\"valid\\\"],[[7766,7766],\\\"mapped\\\",[7767]],[[7767,7767],\\\"valid\\\"],[[7768,7768],\\\"mapped\\\",[7769]],[[7769,7769],\\\"valid\\\"],[[7770,7770],\\\"mapped\\\",[7771]],[[7771,7771],\\\"valid\\\"],[[7772,7772],\\\"mapped\\\",[7773]],[[7773,7773],\\\"valid\\\"],[[7774,7774],\\\"mapped\\\",[7775]],[[7775,7775],\\\"valid\\\"],[[7776,7776],\\\"mapped\\\",[7777]],[[7777,7777],\\\"valid\\\"],[[7778,7778],\\\"mapped\\\",[7779]],[[7779,7779],\\\"valid\\\"],[[7780,7780],\\\"mapped\\\",[7781]],[[7781,7781],\\\"valid\\\"],[[7782,7782],\\\"mapped\\\",[7783]],[[7783,7783],\\\"valid\\\"],[[7784,7784],\\\"mapped\\\",[7785]],[[7785,7785],\\\"valid\\\"],[[7786,7786],\\\"mapped\\\",[7787]],[[7787,7787],\\\"valid\\\"],[[7788,7788],\\\"mapped\\\",[7789]],[[7789,7789],\\\"valid\\\"],[[7790,7790],\\\"mapped\\\",[7791]],[[7791,7791],\\\"valid\\\"],[[7792,7792],\\\"mapped\\\",[7793]],[[7793,7793],\\\"valid\\\"],[[7794,7794],\\\"mapped\\\",[7795]],[[7795,7795],\\\"valid\\\"],[[7796,7796],\\\"mapped\\\",[7797]],[[7797,7797],\\\"valid\\\"],[[7798,7798],\\\"mapped\\\",[7799]],[[7799,7799],\\\"valid\\\"],[[7800,7800],\\\"mapped\\\",[7801]],[[7801,7801],\\\"valid\\\"],[[7802,7802],\\\"mapped\\\",[7803]],[[7803,7803],\\\"valid\\\"],[[7804,7804],\\\"mapped\\\",[7805]],[[7805,7805],\\\"valid\\\"],[[7806,7806],\\\"mapped\\\",[7807]],[[7807,7807],\\\"valid\\\"],[[7808,7808],\\\"mapped\\\",[7809]],[[7809,7809],\\\"valid\\\"],[[7810,7810],\\\"mapped\\\",[7811]],[[7811,7811],\\\"valid\\\"],[[7812,7812],\\\"mapped\\\",[7813]],[[7813,7813],\\\"valid\\\"],[[7814,7814],\\\"mapped\\\",[7815]],[[7815,7815],\\\"valid\\\"],[[7816,7816],\\\"mapped\\\",[7817]],[[7817,7817],\\\"valid\\\"],[[7818,7818],\\\"mapped\\\",[7819]],[[7819,7819],\\\"valid\\\"],[[7820,7820],\\\"mapped\\\",[7821]],[[7821,7821],\\\"valid\\\"],[[7822,7822],\\\"mapped\\\",[7823]],[[7823,7823],\\\"valid\\\"],[[7824,7824],\\\"mapped\\\",[7825]],[[7825,7825],\\\"valid\\\"],[[7826,7826],\\\"mapped\\\",[7827]],[[7827,7827],\\\"valid\\\"],[[7828,7828],\\\"mapped\\\",[7829]],[[7829,7833],\\\"valid\\\"],[[7834,7834],\\\"mapped\\\",[97,702]],[[7835,7835],\\\"mapped\\\",[7777]],[[7836,7837],\\\"valid\\\"],[[7838,7838],\\\"mapped\\\",[115,115]],[[7839,7839],\\\"valid\\\"],[[7840,7840],\\\"mapped\\\",[7841]],[[7841,7841],\\\"valid\\\"],[[7842,7842],\\\"mapped\\\",[7843]],[[7843,7843],\\\"valid\\\"],[[7844,7844],\\\"mapped\\\",[7845]],[[7845,7845],\\\"valid\\\"],[[7846,7846],\\\"mapped\\\",[7847]],[[7847,7847],\\\"valid\\\"],[[7848,7848],\\\"mapped\\\",[7849]],[[7849,7849],\\\"valid\\\"],[[7850,7850],\\\"mapped\\\",[7851]],[[7851,7851],\\\"valid\\\"],[[7852,7852],\\\"mapped\\\",[7853]],[[7853,7853],\\\"valid\\\"],[[7854,7854],\\\"mapped\\\",[7855]],[[7855,7855],\\\"valid\\\"],[[7856,7856],\\\"mapped\\\",[7857]],[[7857,7857],\\\"valid\\\"],[[7858,7858],\\\"mapped\\\",[7859]],[[7859,7859],\\\"valid\\\"],[[7860,7860],\\\"mapped\\\",[7861]],[[7861,7861],\\\"valid\\\"],[[7862,7862],\\\"mapped\\\",[7863]],[[7863,7863],\\\"valid\\\"],[[7864,7864],\\\"mapped\\\",[7865]],[[7865,7865],\\\"valid\\\"],[[7866,7866],\\\"mapped\\\",[7867]],[[7867,7867],\\\"valid\\\"],[[7868,7868],\\\"mapped\\\",[7869]],[[7869,7869],\\\"valid\\\"],[[7870,7870],\\\"mapped\\\",[7871]],[[7871,7871],\\\"valid\\\"],[[7872,7872],\\\"mapped\\\",[7873]],[[7873,7873],\\\"valid\\\"],[[7874,7874],\\\"mapped\\\",[7875]],[[7875,7875],\\\"valid\\\"],[[7876,7876],\\\"mapped\\\",[7877]],[[7877,7877],\\\"valid\\\"],[[7878,7878],\\\"mapped\\\",[7879]],[[7879,7879],\\\"valid\\\"],[[7880,7880],\\\"mapped\\\",[7881]],[[7881,7881],\\\"valid\\\"],[[7882,7882],\\\"mapped\\\",[7883]],[[7883,7883],\\\"valid\\\"],[[7884,7884],\\\"mapped\\\",[7885]],[[7885,7885],\\\"valid\\\"],[[7886,7886],\\\"mapped\\\",[7887]],[[7887,7887],\\\"valid\\\"],[[7888,7888],\\\"mapped\\\",[7889]],[[7889,7889],\\\"valid\\\"],[[7890,7890],\\\"mapped\\\",[7891]],[[7891,7891],\\\"valid\\\"],[[7892,7892],\\\"mapped\\\",[7893]],[[7893,7893],\\\"valid\\\"],[[7894,7894],\\\"mapped\\\",[7895]],[[7895,7895],\\\"valid\\\"],[[7896,7896],\\\"mapped\\\",[7897]],[[7897,7897],\\\"valid\\\"],[[7898,7898],\\\"mapped\\\",[7899]],[[7899,7899],\\\"valid\\\"],[[7900,7900],\\\"mapped\\\",[7901]],[[7901,7901],\\\"valid\\\"],[[7902,7902],\\\"mapped\\\",[7903]],[[7903,7903],\\\"valid\\\"],[[7904,7904],\\\"mapped\\\",[7905]],[[7905,7905],\\\"valid\\\"],[[7906,7906],\\\"mapped\\\",[7907]],[[7907,7907],\\\"valid\\\"],[[7908,7908],\\\"mapped\\\",[7909]],[[7909,7909],\\\"valid\\\"],[[7910,7910],\\\"mapped\\\",[7911]],[[7911,7911],\\\"valid\\\"],[[7912,7912],\\\"mapped\\\",[7913]],[[7913,7913],\\\"valid\\\"],[[7914,7914],\\\"mapped\\\",[7915]],[[7915,7915],\\\"valid\\\"],[[7916,7916],\\\"mapped\\\",[7917]],[[7917,7917],\\\"valid\\\"],[[7918,7918],\\\"mapped\\\",[7919]],[[7919,7919],\\\"valid\\\"],[[7920,7920],\\\"mapped\\\",[7921]],[[7921,7921],\\\"valid\\\"],[[7922,7922],\\\"mapped\\\",[7923]],[[7923,7923],\\\"valid\\\"],[[7924,7924],\\\"mapped\\\",[7925]],[[7925,7925],\\\"valid\\\"],[[7926,7926],\\\"mapped\\\",[7927]],[[7927,7927],\\\"valid\\\"],[[7928,7928],\\\"mapped\\\",[7929]],[[7929,7929],\\\"valid\\\"],[[7930,7930],\\\"mapped\\\",[7931]],[[7931,7931],\\\"valid\\\"],[[7932,7932],\\\"mapped\\\",[7933]],[[7933,7933],\\\"valid\\\"],[[7934,7934],\\\"mapped\\\",[7935]],[[7935,7935],\\\"valid\\\"],[[7936,7943],\\\"valid\\\"],[[7944,7944],\\\"mapped\\\",[7936]],[[7945,7945],\\\"mapped\\\",[7937]],[[7946,7946],\\\"mapped\\\",[7938]],[[7947,7947],\\\"mapped\\\",[7939]],[[7948,7948],\\\"mapped\\\",[7940]],[[7949,7949],\\\"mapped\\\",[7941]],[[7950,7950],\\\"mapped\\\",[7942]],[[7951,7951],\\\"mapped\\\",[7943]],[[7952,7957],\\\"valid\\\"],[[7958,7959],\\\"disallowed\\\"],[[7960,7960],\\\"mapped\\\",[7952]],[[7961,7961],\\\"mapped\\\",[7953]],[[7962,7962],\\\"mapped\\\",[7954]],[[7963,7963],\\\"mapped\\\",[7955]],[[7964,7964],\\\"mapped\\\",[7956]],[[7965,7965],\\\"mapped\\\",[7957]],[[7966,7967],\\\"disallowed\\\"],[[7968,7975],\\\"valid\\\"],[[7976,7976],\\\"mapped\\\",[7968]],[[7977,7977],\\\"mapped\\\",[7969]],[[7978,7978],\\\"mapped\\\",[7970]],[[7979,7979],\\\"mapped\\\",[7971]],[[7980,7980],\\\"mapped\\\",[7972]],[[7981,7981],\\\"mapped\\\",[7973]],[[7982,7982],\\\"mapped\\\",[7974]],[[7983,7983],\\\"mapped\\\",[7975]],[[7984,7991],\\\"valid\\\"],[[7992,7992],\\\"mapped\\\",[7984]],[[7993,7993],\\\"mapped\\\",[7985]],[[7994,7994],\\\"mapped\\\",[7986]],[[7995,7995],\\\"mapped\\\",[7987]],[[7996,7996],\\\"mapped\\\",[7988]],[[7997,7997],\\\"mapped\\\",[7989]],[[7998,7998],\\\"mapped\\\",[7990]],[[7999,7999],\\\"mapped\\\",[7991]],[[8000,8005],\\\"valid\\\"],[[8006,8007],\\\"disallowed\\\"],[[8008,8008],\\\"mapped\\\",[8000]],[[8009,8009],\\\"mapped\\\",[8001]],[[8010,8010],\\\"mapped\\\",[8002]],[[8011,8011],\\\"mapped\\\",[8003]],[[8012,8012],\\\"mapped\\\",[8004]],[[8013,8013],\\\"mapped\\\",[8005]],[[8014,8015],\\\"disallowed\\\"],[[8016,8023],\\\"valid\\\"],[[8024,8024],\\\"disallowed\\\"],[[8025,8025],\\\"mapped\\\",[8017]],[[8026,8026],\\\"disallowed\\\"],[[8027,8027],\\\"mapped\\\",[8019]],[[8028,8028],\\\"disallowed\\\"],[[8029,8029],\\\"mapped\\\",[8021]],[[8030,8030],\\\"disallowed\\\"],[[8031,8031],\\\"mapped\\\",[8023]],[[8032,8039],\\\"valid\\\"],[[8040,8040],\\\"mapped\\\",[8032]],[[8041,8041],\\\"mapped\\\",[8033]],[[8042,8042],\\\"mapped\\\",[8034]],[[8043,8043],\\\"mapped\\\",[8035]],[[8044,8044],\\\"mapped\\\",[8036]],[[8045,8045],\\\"mapped\\\",[8037]],[[8046,8046],\\\"mapped\\\",[8038]],[[8047,8047],\\\"mapped\\\",[8039]],[[8048,8048],\\\"valid\\\"],[[8049,8049],\\\"mapped\\\",[940]],[[8050,8050],\\\"valid\\\"],[[8051,8051],\\\"mapped\\\",[941]],[[8052,8052],\\\"valid\\\"],[[8053,8053],\\\"mapped\\\",[942]],[[8054,8054],\\\"valid\\\"],[[8055,8055],\\\"mapped\\\",[943]],[[8056,8056],\\\"valid\\\"],[[8057,8057],\\\"mapped\\\",[972]],[[8058,8058],\\\"valid\\\"],[[8059,8059],\\\"mapped\\\",[973]],[[8060,8060],\\\"valid\\\"],[[8061,8061],\\\"mapped\\\",[974]],[[8062,8063],\\\"disallowed\\\"],[[8064,8064],\\\"mapped\\\",[7936,953]],[[8065,8065],\\\"mapped\\\",[7937,953]],[[8066,8066],\\\"mapped\\\",[7938,953]],[[8067,8067],\\\"mapped\\\",[7939,953]],[[8068,8068],\\\"mapped\\\",[7940,953]],[[8069,8069],\\\"mapped\\\",[7941,953]],[[8070,8070],\\\"mapped\\\",[7942,953]],[[8071,8071],\\\"mapped\\\",[7943,953]],[[8072,8072],\\\"mapped\\\",[7936,953]],[[8073,8073],\\\"mapped\\\",[7937,953]],[[8074,8074],\\\"mapped\\\",[7938,953]],[[8075,8075],\\\"mapped\\\",[7939,953]],[[8076,8076],\\\"mapped\\\",[7940,953]],[[8077,8077],\\\"mapped\\\",[7941,953]],[[8078,8078],\\\"mapped\\\",[7942,953]],[[8079,8079],\\\"mapped\\\",[7943,953]],[[8080,8080],\\\"mapped\\\",[7968,953]],[[8081,8081],\\\"mapped\\\",[7969,953]],[[8082,8082],\\\"mapped\\\",[7970,953]],[[8083,8083],\\\"mapped\\\",[7971,953]],[[8084,8084],\\\"mapped\\\",[7972,953]],[[8085,8085],\\\"mapped\\\",[7973,953]],[[8086,8086],\\\"mapped\\\",[7974,953]],[[8087,8087],\\\"mapped\\\",[7975,953]],[[8088,8088],\\\"mapped\\\",[7968,953]],[[8089,8089],\\\"mapped\\\",[7969,953]],[[8090,8090],\\\"mapped\\\",[7970,953]],[[8091,8091],\\\"mapped\\\",[7971,953]],[[8092,8092],\\\"mapped\\\",[7972,953]],[[8093,8093],\\\"mapped\\\",[7973,953]],[[8094,8094],\\\"mapped\\\",[7974,953]],[[8095,8095],\\\"mapped\\\",[7975,953]],[[8096,8096],\\\"mapped\\\",[8032,953]],[[8097,8097],\\\"mapped\\\",[8033,953]],[[8098,8098],\\\"mapped\\\",[8034,953]],[[8099,8099],\\\"mapped\\\",[8035,953]],[[8100,8100],\\\"mapped\\\",[8036,953]],[[8101,8101],\\\"mapped\\\",[8037,953]],[[8102,8102],\\\"mapped\\\",[8038,953]],[[8103,8103],\\\"mapped\\\",[8039,953]],[[8104,8104],\\\"mapped\\\",[8032,953]],[[8105,8105],\\\"mapped\\\",[8033,953]],[[8106,8106],\\\"mapped\\\",[8034,953]],[[8107,8107],\\\"mapped\\\",[8035,953]],[[8108,8108],\\\"mapped\\\",[8036,953]],[[8109,8109],\\\"mapped\\\",[8037,953]],[[8110,8110],\\\"mapped\\\",[8038,953]],[[8111,8111],\\\"mapped\\\",[8039,953]],[[8112,8113],\\\"valid\\\"],[[8114,8114],\\\"mapped\\\",[8048,953]],[[8115,8115],\\\"mapped\\\",[945,953]],[[8116,8116],\\\"mapped\\\",[940,953]],[[8117,8117],\\\"disallowed\\\"],[[8118,8118],\\\"valid\\\"],[[8119,8119],\\\"mapped\\\",[8118,953]],[[8120,8120],\\\"mapped\\\",[8112]],[[8121,8121],\\\"mapped\\\",[8113]],[[8122,8122],\\\"mapped\\\",[8048]],[[8123,8123],\\\"mapped\\\",[940]],[[8124,8124],\\\"mapped\\\",[945,953]],[[8125,8125],\\\"disallowed_STD3_mapped\\\",[32,787]],[[8126,8126],\\\"mapped\\\",[953]],[[8127,8127],\\\"disallowed_STD3_mapped\\\",[32,787]],[[8128,8128],\\\"disallowed_STD3_mapped\\\",[32,834]],[[8129,8129],\\\"disallowed_STD3_mapped\\\",[32,776,834]],[[8130,8130],\\\"mapped\\\",[8052,953]],[[8131,8131],\\\"mapped\\\",[951,953]],[[8132,8132],\\\"mapped\\\",[942,953]],[[8133,8133],\\\"disallowed\\\"],[[8134,8134],\\\"valid\\\"],[[8135,8135],\\\"mapped\\\",[8134,953]],[[8136,8136],\\\"mapped\\\",[8050]],[[8137,8137],\\\"mapped\\\",[941]],[[8138,8138],\\\"mapped\\\",[8052]],[[8139,8139],\\\"mapped\\\",[942]],[[8140,8140],\\\"mapped\\\",[951,953]],[[8141,8141],\\\"disallowed_STD3_mapped\\\",[32,787,768]],[[8142,8142],\\\"disallowed_STD3_mapped\\\",[32,787,769]],[[8143,8143],\\\"disallowed_STD3_mapped\\\",[32,787,834]],[[8144,8146],\\\"valid\\\"],[[8147,8147],\\\"mapped\\\",[912]],[[8148,8149],\\\"disallowed\\\"],[[8150,8151],\\\"valid\\\"],[[8152,8152],\\\"mapped\\\",[8144]],[[8153,8153],\\\"mapped\\\",[8145]],[[8154,8154],\\\"mapped\\\",[8054]],[[8155,8155],\\\"mapped\\\",[943]],[[8156,8156],\\\"disallowed\\\"],[[8157,8157],\\\"disallowed_STD3_mapped\\\",[32,788,768]],[[8158,8158],\\\"disallowed_STD3_mapped\\\",[32,788,769]],[[8159,8159],\\\"disallowed_STD3_mapped\\\",[32,788,834]],[[8160,8162],\\\"valid\\\"],[[8163,8163],\\\"mapped\\\",[944]],[[8164,8167],\\\"valid\\\"],[[8168,8168],\\\"mapped\\\",[8160]],[[8169,8169],\\\"mapped\\\",[8161]],[[8170,8170],\\\"mapped\\\",[8058]],[[8171,8171],\\\"mapped\\\",[973]],[[8172,8172],\\\"mapped\\\",[8165]],[[8173,8173],\\\"disallowed_STD3_mapped\\\",[32,776,768]],[[8174,8174],\\\"disallowed_STD3_mapped\\\",[32,776,769]],[[8175,8175],\\\"disallowed_STD3_mapped\\\",[96]],[[8176,8177],\\\"disallowed\\\"],[[8178,8178],\\\"mapped\\\",[8060,953]],[[8179,8179],\\\"mapped\\\",[969,953]],[[8180,8180],\\\"mapped\\\",[974,953]],[[8181,8181],\\\"disallowed\\\"],[[8182,8182],\\\"valid\\\"],[[8183,8183],\\\"mapped\\\",[8182,953]],[[8184,8184],\\\"mapped\\\",[8056]],[[8185,8185],\\\"mapped\\\",[972]],[[8186,8186],\\\"mapped\\\",[8060]],[[8187,8187],\\\"mapped\\\",[974]],[[8188,8188],\\\"mapped\\\",[969,953]],[[8189,8189],\\\"disallowed_STD3_mapped\\\",[32,769]],[[8190,8190],\\\"disallowed_STD3_mapped\\\",[32,788]],[[8191,8191],\\\"disallowed\\\"],[[8192,8202],\\\"disallowed_STD3_mapped\\\",[32]],[[8203,8203],\\\"ignored\\\"],[[8204,8205],\\\"deviation\\\",[]],[[8206,8207],\\\"disallowed\\\"],[[8208,8208],\\\"valid\\\",[],\\\"NV8\\\"],[[8209,8209],\\\"mapped\\\",[8208]],[[8210,8214],\\\"valid\\\",[],\\\"NV8\\\"],[[8215,8215],\\\"disallowed_STD3_mapped\\\",[32,819]],[[8216,8227],\\\"valid\\\",[],\\\"NV8\\\"],[[8228,8230],\\\"disallowed\\\"],[[8231,8231],\\\"valid\\\",[],\\\"NV8\\\"],[[8232,8238],\\\"disallowed\\\"],[[8239,8239],\\\"disallowed_STD3_mapped\\\",[32]],[[8240,8242],\\\"valid\\\",[],\\\"NV8\\\"],[[8243,8243],\\\"mapped\\\",[8242,8242]],[[8244,8244],\\\"mapped\\\",[8242,8242,8242]],[[8245,8245],\\\"valid\\\",[],\\\"NV8\\\"],[[8246,8246],\\\"mapped\\\",[8245,8245]],[[8247,8247],\\\"mapped\\\",[8245,8245,8245]],[[8248,8251],\\\"valid\\\",[],\\\"NV8\\\"],[[8252,8252],\\\"disallowed_STD3_mapped\\\",[33,33]],[[8253,8253],\\\"valid\\\",[],\\\"NV8\\\"],[[8254,8254],\\\"disallowed_STD3_mapped\\\",[32,773]],[[8255,8262],\\\"valid\\\",[],\\\"NV8\\\"],[[8263,8263],\\\"disallowed_STD3_mapped\\\",[63,63]],[[8264,8264],\\\"disallowed_STD3_mapped\\\",[63,33]],[[8265,8265],\\\"disallowed_STD3_mapped\\\",[33,63]],[[8266,8269],\\\"valid\\\",[],\\\"NV8\\\"],[[8270,8274],\\\"valid\\\",[],\\\"NV8\\\"],[[8275,8276],\\\"valid\\\",[],\\\"NV8\\\"],[[8277,8278],\\\"valid\\\",[],\\\"NV8\\\"],[[8279,8279],\\\"mapped\\\",[8242,8242,8242,8242]],[[8280,8286],\\\"valid\\\",[],\\\"NV8\\\"],[[8287,8287],\\\"disallowed_STD3_mapped\\\",[32]],[[8288,8288],\\\"ignored\\\"],[[8289,8291],\\\"disallowed\\\"],[[8292,8292],\\\"ignored\\\"],[[8293,8293],\\\"disallowed\\\"],[[8294,8297],\\\"disallowed\\\"],[[8298,8303],\\\"disallowed\\\"],[[8304,8304],\\\"mapped\\\",[48]],[[8305,8305],\\\"mapped\\\",[105]],[[8306,8307],\\\"disallowed\\\"],[[8308,8308],\\\"mapped\\\",[52]],[[8309,8309],\\\"mapped\\\",[53]],[[8310,8310],\\\"mapped\\\",[54]],[[8311,8311],\\\"mapped\\\",[55]],[[8312,8312],\\\"mapped\\\",[56]],[[8313,8313],\\\"mapped\\\",[57]],[[8314,8314],\\\"disallowed_STD3_mapped\\\",[43]],[[8315,8315],\\\"mapped\\\",[8722]],[[8316,8316],\\\"disallowed_STD3_mapped\\\",[61]],[[8317,8317],\\\"disallowed_STD3_mapped\\\",[40]],[[8318,8318],\\\"disallowed_STD3_mapped\\\",[41]],[[8319,8319],\\\"mapped\\\",[110]],[[8320,8320],\\\"mapped\\\",[48]],[[8321,8321],\\\"mapped\\\",[49]],[[8322,8322],\\\"mapped\\\",[50]],[[8323,8323],\\\"mapped\\\",[51]],[[8324,8324],\\\"mapped\\\",[52]],[[8325,8325],\\\"mapped\\\",[53]],[[8326,8326],\\\"mapped\\\",[54]],[[8327,8327],\\\"mapped\\\",[55]],[[8328,8328],\\\"mapped\\\",[56]],[[8329,8329],\\\"mapped\\\",[57]],[[8330,8330],\\\"disallowed_STD3_mapped\\\",[43]],[[8331,8331],\\\"mapped\\\",[8722]],[[8332,8332],\\\"disallowed_STD3_mapped\\\",[61]],[[8333,8333],\\\"disallowed_STD3_mapped\\\",[40]],[[8334,8334],\\\"disallowed_STD3_mapped\\\",[41]],[[8335,8335],\\\"disallowed\\\"],[[8336,8336],\\\"mapped\\\",[97]],[[8337,8337],\\\"mapped\\\",[101]],[[8338,8338],\\\"mapped\\\",[111]],[[8339,8339],\\\"mapped\\\",[120]],[[8340,8340],\\\"mapped\\\",[601]],[[8341,8341],\\\"mapped\\\",[104]],[[8342,8342],\\\"mapped\\\",[107]],[[8343,8343],\\\"mapped\\\",[108]],[[8344,8344],\\\"mapped\\\",[109]],[[8345,8345],\\\"mapped\\\",[110]],[[8346,8346],\\\"mapped\\\",[112]],[[8347,8347],\\\"mapped\\\",[115]],[[8348,8348],\\\"mapped\\\",[116]],[[8349,8351],\\\"disallowed\\\"],[[8352,8359],\\\"valid\\\",[],\\\"NV8\\\"],[[8360,8360],\\\"mapped\\\",[114,115]],[[8361,8362],\\\"valid\\\",[],\\\"NV8\\\"],[[8363,8363],\\\"valid\\\",[],\\\"NV8\\\"],[[8364,8364],\\\"valid\\\",[],\\\"NV8\\\"],[[8365,8367],\\\"valid\\\",[],\\\"NV8\\\"],[[8368,8369],\\\"valid\\\",[],\\\"NV8\\\"],[[8370,8373],\\\"valid\\\",[],\\\"NV8\\\"],[[8374,8376],\\\"valid\\\",[],\\\"NV8\\\"],[[8377,8377],\\\"valid\\\",[],\\\"NV8\\\"],[[8378,8378],\\\"valid\\\",[],\\\"NV8\\\"],[[8379,8381],\\\"valid\\\",[],\\\"NV8\\\"],[[8382,8382],\\\"valid\\\",[],\\\"NV8\\\"],[[8383,8399],\\\"disallowed\\\"],[[8400,8417],\\\"valid\\\",[],\\\"NV8\\\"],[[8418,8419],\\\"valid\\\",[],\\\"NV8\\\"],[[8420,8426],\\\"valid\\\",[],\\\"NV8\\\"],[[8427,8427],\\\"valid\\\",[],\\\"NV8\\\"],[[8428,8431],\\\"valid\\\",[],\\\"NV8\\\"],[[8432,8432],\\\"valid\\\",[],\\\"NV8\\\"],[[8433,8447],\\\"disallowed\\\"],[[8448,8448],\\\"disallowed_STD3_mapped\\\",[97,47,99]],[[8449,8449],\\\"disallowed_STD3_mapped\\\",[97,47,115]],[[8450,8450],\\\"mapped\\\",[99]],[[8451,8451],\\\"mapped\\\",[176,99]],[[8452,8452],\\\"valid\\\",[],\\\"NV8\\\"],[[8453,8453],\\\"disallowed_STD3_mapped\\\",[99,47,111]],[[8454,8454],\\\"disallowed_STD3_mapped\\\",[99,47,117]],[[8455,8455],\\\"mapped\\\",[603]],[[8456,8456],\\\"valid\\\",[],\\\"NV8\\\"],[[8457,8457],\\\"mapped\\\",[176,102]],[[8458,8458],\\\"mapped\\\",[103]],[[8459,8462],\\\"mapped\\\",[104]],[[8463,8463],\\\"mapped\\\",[295]],[[8464,8465],\\\"mapped\\\",[105]],[[8466,8467],\\\"mapped\\\",[108]],[[8468,8468],\\\"valid\\\",[],\\\"NV8\\\"],[[8469,8469],\\\"mapped\\\",[110]],[[8470,8470],\\\"mapped\\\",[110,111]],[[8471,8472],\\\"valid\\\",[],\\\"NV8\\\"],[[8473,8473],\\\"mapped\\\",[112]],[[8474,8474],\\\"mapped\\\",[113]],[[8475,8477],\\\"mapped\\\",[114]],[[8478,8479],\\\"valid\\\",[],\\\"NV8\\\"],[[8480,8480],\\\"mapped\\\",[115,109]],[[8481,8481],\\\"mapped\\\",[116,101,108]],[[8482,8482],\\\"mapped\\\",[116,109]],[[8483,8483],\\\"valid\\\",[],\\\"NV8\\\"],[[8484,8484],\\\"mapped\\\",[122]],[[8485,8485],\\\"valid\\\",[],\\\"NV8\\\"],[[8486,8486],\\\"mapped\\\",[969]],[[8487,8487],\\\"valid\\\",[],\\\"NV8\\\"],[[8488,8488],\\\"mapped\\\",[122]],[[8489,8489],\\\"valid\\\",[],\\\"NV8\\\"],[[8490,8490],\\\"mapped\\\",[107]],[[8491,8491],\\\"mapped\\\",[229]],[[8492,8492],\\\"mapped\\\",[98]],[[8493,8493],\\\"mapped\\\",[99]],[[8494,8494],\\\"valid\\\",[],\\\"NV8\\\"],[[8495,8496],\\\"mapped\\\",[101]],[[8497,8497],\\\"mapped\\\",[102]],[[8498,8498],\\\"disallowed\\\"],[[8499,8499],\\\"mapped\\\",[109]],[[8500,8500],\\\"mapped\\\",[111]],[[8501,8501],\\\"mapped\\\",[1488]],[[8502,8502],\\\"mapped\\\",[1489]],[[8503,8503],\\\"mapped\\\",[1490]],[[8504,8504],\\\"mapped\\\",[1491]],[[8505,8505],\\\"mapped\\\",[105]],[[8506,8506],\\\"valid\\\",[],\\\"NV8\\\"],[[8507,8507],\\\"mapped\\\",[102,97,120]],[[8508,8508],\\\"mapped\\\",[960]],[[8509,8510],\\\"mapped\\\",[947]],[[8511,8511],\\\"mapped\\\",[960]],[[8512,8512],\\\"mapped\\\",[8721]],[[8513,8516],\\\"valid\\\",[],\\\"NV8\\\"],[[8517,8518],\\\"mapped\\\",[100]],[[8519,8519],\\\"mapped\\\",[101]],[[8520,8520],\\\"mapped\\\",[105]],[[8521,8521],\\\"mapped\\\",[106]],[[8522,8523],\\\"valid\\\",[],\\\"NV8\\\"],[[8524,8524],\\\"valid\\\",[],\\\"NV8\\\"],[[8525,8525],\\\"valid\\\",[],\\\"NV8\\\"],[[8526,8526],\\\"valid\\\"],[[8527,8527],\\\"valid\\\",[],\\\"NV8\\\"],[[8528,8528],\\\"mapped\\\",[49,8260,55]],[[8529,8529],\\\"mapped\\\",[49,8260,57]],[[8530,8530],\\\"mapped\\\",[49,8260,49,48]],[[8531,8531],\\\"mapped\\\",[49,8260,51]],[[8532,8532],\\\"mapped\\\",[50,8260,51]],[[8533,8533],\\\"mapped\\\",[49,8260,53]],[[8534,8534],\\\"mapped\\\",[50,8260,53]],[[8535,8535],\\\"mapped\\\",[51,8260,53]],[[8536,8536],\\\"mapped\\\",[52,8260,53]],[[8537,8537],\\\"mapped\\\",[49,8260,54]],[[8538,8538],\\\"mapped\\\",[53,8260,54]],[[8539,8539],\\\"mapped\\\",[49,8260,56]],[[8540,8540],\\\"mapped\\\",[51,8260,56]],[[8541,8541],\\\"mapped\\\",[53,8260,56]],[[8542,8542],\\\"mapped\\\",[55,8260,56]],[[8543,8543],\\\"mapped\\\",[49,8260]],[[8544,8544],\\\"mapped\\\",[105]],[[8545,8545],\\\"mapped\\\",[105,105]],[[8546,8546],\\\"mapped\\\",[105,105,105]],[[8547,8547],\\\"mapped\\\",[105,118]],[[8548,8548],\\\"mapped\\\",[118]],[[8549,8549],\\\"mapped\\\",[118,105]],[[8550,8550],\\\"mapped\\\",[118,105,105]],[[8551,8551],\\\"mapped\\\",[118,105,105,105]],[[8552,8552],\\\"mapped\\\",[105,120]],[[8553,8553],\\\"mapped\\\",[120]],[[8554,8554],\\\"mapped\\\",[120,105]],[[8555,8555],\\\"mapped\\\",[120,105,105]],[[8556,8556],\\\"mapped\\\",[108]],[[8557,8557],\\\"mapped\\\",[99]],[[8558,8558],\\\"mapped\\\",[100]],[[8559,8559],\\\"mapped\\\",[109]],[[8560,8560],\\\"mapped\\\",[105]],[[8561,8561],\\\"mapped\\\",[105,105]],[[8562,8562],\\\"mapped\\\",[105,105,105]],[[8563,8563],\\\"mapped\\\",[105,118]],[[8564,8564],\\\"mapped\\\",[118]],[[8565,8565],\\\"mapped\\\",[118,105]],[[8566,8566],\\\"mapped\\\",[118,105,105]],[[8567,8567],\\\"mapped\\\",[118,105,105,105]],[[8568,8568],\\\"mapped\\\",[105,120]],[[8569,8569],\\\"mapped\\\",[120]],[[8570,8570],\\\"mapped\\\",[120,105]],[[8571,8571],\\\"mapped\\\",[120,105,105]],[[8572,8572],\\\"mapped\\\",[108]],[[8573,8573],\\\"mapped\\\",[99]],[[8574,8574],\\\"mapped\\\",[100]],[[8575,8575],\\\"mapped\\\",[109]],[[8576,8578],\\\"valid\\\",[],\\\"NV8\\\"],[[8579,8579],\\\"disallowed\\\"],[[8580,8580],\\\"valid\\\"],[[8581,8584],\\\"valid\\\",[],\\\"NV8\\\"],[[8585,8585],\\\"mapped\\\",[48,8260,51]],[[8586,8587],\\\"valid\\\",[],\\\"NV8\\\"],[[8588,8591],\\\"disallowed\\\"],[[8592,8682],\\\"valid\\\",[],\\\"NV8\\\"],[[8683,8691],\\\"valid\\\",[],\\\"NV8\\\"],[[8692,8703],\\\"valid\\\",[],\\\"NV8\\\"],[[8704,8747],\\\"valid\\\",[],\\\"NV8\\\"],[[8748,8748],\\\"mapped\\\",[8747,8747]],[[8749,8749],\\\"mapped\\\",[8747,8747,8747]],[[8750,8750],\\\"valid\\\",[],\\\"NV8\\\"],[[8751,8751],\\\"mapped\\\",[8750,8750]],[[8752,8752],\\\"mapped\\\",[8750,8750,8750]],[[8753,8799],\\\"valid\\\",[],\\\"NV8\\\"],[[8800,8800],\\\"disallowed_STD3_valid\\\"],[[8801,8813],\\\"valid\\\",[],\\\"NV8\\\"],[[8814,8815],\\\"disallowed_STD3_valid\\\"],[[8816,8945],\\\"valid\\\",[],\\\"NV8\\\"],[[8946,8959],\\\"valid\\\",[],\\\"NV8\\\"],[[8960,8960],\\\"valid\\\",[],\\\"NV8\\\"],[[8961,8961],\\\"valid\\\",[],\\\"NV8\\\"],[[8962,9000],\\\"valid\\\",[],\\\"NV8\\\"],[[9001,9001],\\\"mapped\\\",[12296]],[[9002,9002],\\\"mapped\\\",[12297]],[[9003,9082],\\\"valid\\\",[],\\\"NV8\\\"],[[9083,9083],\\\"valid\\\",[],\\\"NV8\\\"],[[9084,9084],\\\"valid\\\",[],\\\"NV8\\\"],[[9085,9114],\\\"valid\\\",[],\\\"NV8\\\"],[[9115,9166],\\\"valid\\\",[],\\\"NV8\\\"],[[9167,9168],\\\"valid\\\",[],\\\"NV8\\\"],[[9169,9179],\\\"valid\\\",[],\\\"NV8\\\"],[[9180,9191],\\\"valid\\\",[],\\\"NV8\\\"],[[9192,9192],\\\"valid\\\",[],\\\"NV8\\\"],[[9193,9203],\\\"valid\\\",[],\\\"NV8\\\"],[[9204,9210],\\\"valid\\\",[],\\\"NV8\\\"],[[9211,9215],\\\"disallowed\\\"],[[9216,9252],\\\"valid\\\",[],\\\"NV8\\\"],[[9253,9254],\\\"valid\\\",[],\\\"NV8\\\"],[[9255,9279],\\\"disallowed\\\"],[[9280,9290],\\\"valid\\\",[],\\\"NV8\\\"],[[9291,9311],\\\"disallowed\\\"],[[9312,9312],\\\"mapped\\\",[49]],[[9313,9313],\\\"mapped\\\",[50]],[[9314,9314],\\\"mapped\\\",[51]],[[9315,9315],\\\"mapped\\\",[52]],[[9316,9316],\\\"mapped\\\",[53]],[[9317,9317],\\\"mapped\\\",[54]],[[9318,9318],\\\"mapped\\\",[55]],[[9319,9319],\\\"mapped\\\",[56]],[[9320,9320],\\\"mapped\\\",[57]],[[9321,9321],\\\"mapped\\\",[49,48]],[[9322,9322],\\\"mapped\\\",[49,49]],[[9323,9323],\\\"mapped\\\",[49,50]],[[9324,9324],\\\"mapped\\\",[49,51]],[[9325,9325],\\\"mapped\\\",[49,52]],[[9326,9326],\\\"mapped\\\",[49,53]],[[9327,9327],\\\"mapped\\\",[49,54]],[[9328,9328],\\\"mapped\\\",[49,55]],[[9329,9329],\\\"mapped\\\",[49,56]],[[9330,9330],\\\"mapped\\\",[49,57]],[[9331,9331],\\\"mapped\\\",[50,48]],[[9332,9332],\\\"disallowed_STD3_mapped\\\",[40,49,41]],[[9333,9333],\\\"disallowed_STD3_mapped\\\",[40,50,41]],[[9334,9334],\\\"disallowed_STD3_mapped\\\",[40,51,41]],[[9335,9335],\\\"disallowed_STD3_mapped\\\",[40,52,41]],[[9336,9336],\\\"disallowed_STD3_mapped\\\",[40,53,41]],[[9337,9337],\\\"disallowed_STD3_mapped\\\",[40,54,41]],[[9338,9338],\\\"disallowed_STD3_mapped\\\",[40,55,41]],[[9339,9339],\\\"disallowed_STD3_mapped\\\",[40,56,41]],[[9340,9340],\\\"disallowed_STD3_mapped\\\",[40,57,41]],[[9341,9341],\\\"disallowed_STD3_mapped\\\",[40,49,48,41]],[[9342,9342],\\\"disallowed_STD3_mapped\\\",[40,49,49,41]],[[9343,9343],\\\"disallowed_STD3_mapped\\\",[40,49,50,41]],[[9344,9344],\\\"disallowed_STD3_mapped\\\",[40,49,51,41]],[[9345,9345],\\\"disallowed_STD3_mapped\\\",[40,49,52,41]],[[9346,9346],\\\"disallowed_STD3_mapped\\\",[40,49,53,41]],[[9347,9347],\\\"disallowed_STD3_mapped\\\",[40,49,54,41]],[[9348,9348],\\\"disallowed_STD3_mapped\\\",[40,49,55,41]],[[9349,9349],\\\"disallowed_STD3_mapped\\\",[40,49,56,41]],[[9350,9350],\\\"disallowed_STD3_mapped\\\",[40,49,57,41]],[[9351,9351],\\\"disallowed_STD3_mapped\\\",[40,50,48,41]],[[9352,9371],\\\"disallowed\\\"],[[9372,9372],\\\"disallowed_STD3_mapped\\\",[40,97,41]],[[9373,9373],\\\"disallowed_STD3_mapped\\\",[40,98,41]],[[9374,9374],\\\"disallowed_STD3_mapped\\\",[40,99,41]],[[9375,9375],\\\"disallowed_STD3_mapped\\\",[40,100,41]],[[9376,9376],\\\"disallowed_STD3_mapped\\\",[40,101,41]],[[9377,9377],\\\"disallowed_STD3_mapped\\\",[40,102,41]],[[9378,9378],\\\"disallowed_STD3_mapped\\\",[40,103,41]],[[9379,9379],\\\"disallowed_STD3_mapped\\\",[40,104,41]],[[9380,9380],\\\"disallowed_STD3_mapped\\\",[40,105,41]],[[9381,9381],\\\"disallowed_STD3_mapped\\\",[40,106,41]],[[9382,9382],\\\"disallowed_STD3_mapped\\\",[40,107,41]],[[9383,9383],\\\"disallowed_STD3_mapped\\\",[40,108,41]],[[9384,9384],\\\"disallowed_STD3_mapped\\\",[40,109,41]],[[9385,9385],\\\"disallowed_STD3_mapped\\\",[40,110,41]],[[9386,9386],\\\"disallowed_STD3_mapped\\\",[40,111,41]],[[9387,9387],\\\"disallowed_STD3_mapped\\\",[40,112,41]],[[9388,9388],\\\"disallowed_STD3_mapped\\\",[40,113,41]],[[9389,9389],\\\"disallowed_STD3_mapped\\\",[40,114,41]],[[9390,9390],\\\"disallowed_STD3_mapped\\\",[40,115,41]],[[9391,9391],\\\"disallowed_STD3_mapped\\\",[40,116,41]],[[9392,9392],\\\"disallowed_STD3_mapped\\\",[40,117,41]],[[9393,9393],\\\"disallowed_STD3_mapped\\\",[40,118,41]],[[9394,9394],\\\"disallowed_STD3_mapped\\\",[40,119,41]],[[9395,9395],\\\"disallowed_STD3_mapped\\\",[40,120,41]],[[9396,9396],\\\"disallowed_STD3_mapped\\\",[40,121,41]],[[9397,9397],\\\"disallowed_STD3_mapped\\\",[40,122,41]],[[9398,9398],\\\"mapped\\\",[97]],[[9399,9399],\\\"mapped\\\",[98]],[[9400,9400],\\\"mapped\\\",[99]],[[9401,9401],\\\"mapped\\\",[100]],[[9402,9402],\\\"mapped\\\",[101]],[[9403,9403],\\\"mapped\\\",[102]],[[9404,9404],\\\"mapped\\\",[103]],[[9405,9405],\\\"mapped\\\",[104]],[[9406,9406],\\\"mapped\\\",[105]],[[9407,9407],\\\"mapped\\\",[106]],[[9408,9408],\\\"mapped\\\",[107]],[[9409,9409],\\\"mapped\\\",[108]],[[9410,9410],\\\"mapped\\\",[109]],[[9411,9411],\\\"mapped\\\",[110]],[[9412,9412],\\\"mapped\\\",[111]],[[9413,9413],\\\"mapped\\\",[112]],[[9414,9414],\\\"mapped\\\",[113]],[[9415,9415],\\\"mapped\\\",[114]],[[9416,9416],\\\"mapped\\\",[115]],[[9417,9417],\\\"mapped\\\",[116]],[[9418,9418],\\\"mapped\\\",[117]],[[9419,9419],\\\"mapped\\\",[118]],[[9420,9420],\\\"mapped\\\",[119]],[[9421,9421],\\\"mapped\\\",[120]],[[9422,9422],\\\"mapped\\\",[121]],[[9423,9423],\\\"mapped\\\",[122]],[[9424,9424],\\\"mapped\\\",[97]],[[9425,9425],\\\"mapped\\\",[98]],[[9426,9426],\\\"mapped\\\",[99]],[[9427,9427],\\\"mapped\\\",[100]],[[9428,9428],\\\"mapped\\\",[101]],[[9429,9429],\\\"mapped\\\",[102]],[[9430,9430],\\\"mapped\\\",[103]],[[9431,9431],\\\"mapped\\\",[104]],[[9432,9432],\\\"mapped\\\",[105]],[[9433,9433],\\\"mapped\\\",[106]],[[9434,9434],\\\"mapped\\\",[107]],[[9435,9435],\\\"mapped\\\",[108]],[[9436,9436],\\\"mapped\\\",[109]],[[9437,9437],\\\"mapped\\\",[110]],[[9438,9438],\\\"mapped\\\",[111]],[[9439,9439],\\\"mapped\\\",[112]],[[9440,9440],\\\"mapped\\\",[113]],[[9441,9441],\\\"mapped\\\",[114]],[[9442,9442],\\\"mapped\\\",[115]],[[9443,9443],\\\"mapped\\\",[116]],[[9444,9444],\\\"mapped\\\",[117]],[[9445,9445],\\\"mapped\\\",[118]],[[9446,9446],\\\"mapped\\\",[119]],[[9447,9447],\\\"mapped\\\",[120]],[[9448,9448],\\\"mapped\\\",[121]],[[9449,9449],\\\"mapped\\\",[122]],[[9450,9450],\\\"mapped\\\",[48]],[[9451,9470],\\\"valid\\\",[],\\\"NV8\\\"],[[9471,9471],\\\"valid\\\",[],\\\"NV8\\\"],[[9472,9621],\\\"valid\\\",[],\\\"NV8\\\"],[[9622,9631],\\\"valid\\\",[],\\\"NV8\\\"],[[9632,9711],\\\"valid\\\",[],\\\"NV8\\\"],[[9712,9719],\\\"valid\\\",[],\\\"NV8\\\"],[[9720,9727],\\\"valid\\\",[],\\\"NV8\\\"],[[9728,9747],\\\"valid\\\",[],\\\"NV8\\\"],[[9748,9749],\\\"valid\\\",[],\\\"NV8\\\"],[[9750,9751],\\\"valid\\\",[],\\\"NV8\\\"],[[9752,9752],\\\"valid\\\",[],\\\"NV8\\\"],[[9753,9753],\\\"valid\\\",[],\\\"NV8\\\"],[[9754,9839],\\\"valid\\\",[],\\\"NV8\\\"],[[9840,9841],\\\"valid\\\",[],\\\"NV8\\\"],[[9842,9853],\\\"valid\\\",[],\\\"NV8\\\"],[[9854,9855],\\\"valid\\\",[],\\\"NV8\\\"],[[9856,9865],\\\"valid\\\",[],\\\"NV8\\\"],[[9866,9873],\\\"valid\\\",[],\\\"NV8\\\"],[[9874,9884],\\\"valid\\\",[],\\\"NV8\\\"],[[9885,9885],\\\"valid\\\",[],\\\"NV8\\\"],[[9886,9887],\\\"valid\\\",[],\\\"NV8\\\"],[[9888,9889],\\\"valid\\\",[],\\\"NV8\\\"],[[9890,9905],\\\"valid\\\",[],\\\"NV8\\\"],[[9906,9906],\\\"valid\\\",[],\\\"NV8\\\"],[[9907,9916],\\\"valid\\\",[],\\\"NV8\\\"],[[9917,9919],\\\"valid\\\",[],\\\"NV8\\\"],[[9920,9923],\\\"valid\\\",[],\\\"NV8\\\"],[[9924,9933],\\\"valid\\\",[],\\\"NV8\\\"],[[9934,9934],\\\"valid\\\",[],\\\"NV8\\\"],[[9935,9953],\\\"valid\\\",[],\\\"NV8\\\"],[[9954,9954],\\\"valid\\\",[],\\\"NV8\\\"],[[9955,9955],\\\"valid\\\",[],\\\"NV8\\\"],[[9956,9959],\\\"valid\\\",[],\\\"NV8\\\"],[[9960,9983],\\\"valid\\\",[],\\\"NV8\\\"],[[9984,9984],\\\"valid\\\",[],\\\"NV8\\\"],[[9985,9988],\\\"valid\\\",[],\\\"NV8\\\"],[[9989,9989],\\\"valid\\\",[],\\\"NV8\\\"],[[9990,9993],\\\"valid\\\",[],\\\"NV8\\\"],[[9994,9995],\\\"valid\\\",[],\\\"NV8\\\"],[[9996,10023],\\\"valid\\\",[],\\\"NV8\\\"],[[10024,10024],\\\"valid\\\",[],\\\"NV8\\\"],[[10025,10059],\\\"valid\\\",[],\\\"NV8\\\"],[[10060,10060],\\\"valid\\\",[],\\\"NV8\\\"],[[10061,10061],\\\"valid\\\",[],\\\"NV8\\\"],[[10062,10062],\\\"valid\\\",[],\\\"NV8\\\"],[[10063,10066],\\\"valid\\\",[],\\\"NV8\\\"],[[10067,10069],\\\"valid\\\",[],\\\"NV8\\\"],[[10070,10070],\\\"valid\\\",[],\\\"NV8\\\"],[[10071,10071],\\\"valid\\\",[],\\\"NV8\\\"],[[10072,10078],\\\"valid\\\",[],\\\"NV8\\\"],[[10079,10080],\\\"valid\\\",[],\\\"NV8\\\"],[[10081,10087],\\\"valid\\\",[],\\\"NV8\\\"],[[10088,10101],\\\"valid\\\",[],\\\"NV8\\\"],[[10102,10132],\\\"valid\\\",[],\\\"NV8\\\"],[[10133,10135],\\\"valid\\\",[],\\\"NV8\\\"],[[10136,10159],\\\"valid\\\",[],\\\"NV8\\\"],[[10160,10160],\\\"valid\\\",[],\\\"NV8\\\"],[[10161,10174],\\\"valid\\\",[],\\\"NV8\\\"],[[10175,10175],\\\"valid\\\",[],\\\"NV8\\\"],[[10176,10182],\\\"valid\\\",[],\\\"NV8\\\"],[[10183,10186],\\\"valid\\\",[],\\\"NV8\\\"],[[10187,10187],\\\"valid\\\",[],\\\"NV8\\\"],[[10188,10188],\\\"valid\\\",[],\\\"NV8\\\"],[[10189,10189],\\\"valid\\\",[],\\\"NV8\\\"],[[10190,10191],\\\"valid\\\",[],\\\"NV8\\\"],[[10192,10219],\\\"valid\\\",[],\\\"NV8\\\"],[[10220,10223],\\\"valid\\\",[],\\\"NV8\\\"],[[10224,10239],\\\"valid\\\",[],\\\"NV8\\\"],[[10240,10495],\\\"valid\\\",[],\\\"NV8\\\"],[[10496,10763],\\\"valid\\\",[],\\\"NV8\\\"],[[10764,10764],\\\"mapped\\\",[8747,8747,8747,8747]],[[10765,10867],\\\"valid\\\",[],\\\"NV8\\\"],[[10868,10868],\\\"disallowed_STD3_mapped\\\",[58,58,61]],[[10869,10869],\\\"disallowed_STD3_mapped\\\",[61,61]],[[10870,10870],\\\"disallowed_STD3_mapped\\\",[61,61,61]],[[10871,10971],\\\"valid\\\",[],\\\"NV8\\\"],[[10972,10972],\\\"mapped\\\",[10973,824]],[[10973,11007],\\\"valid\\\",[],\\\"NV8\\\"],[[11008,11021],\\\"valid\\\",[],\\\"NV8\\\"],[[11022,11027],\\\"valid\\\",[],\\\"NV8\\\"],[[11028,11034],\\\"valid\\\",[],\\\"NV8\\\"],[[11035,11039],\\\"valid\\\",[],\\\"NV8\\\"],[[11040,11043],\\\"valid\\\",[],\\\"NV8\\\"],[[11044,11084],\\\"valid\\\",[],\\\"NV8\\\"],[[11085,11087],\\\"valid\\\",[],\\\"NV8\\\"],[[11088,11092],\\\"valid\\\",[],\\\"NV8\\\"],[[11093,11097],\\\"valid\\\",[],\\\"NV8\\\"],[[11098,11123],\\\"valid\\\",[],\\\"NV8\\\"],[[11124,11125],\\\"disallowed\\\"],[[11126,11157],\\\"valid\\\",[],\\\"NV8\\\"],[[11158,11159],\\\"disallowed\\\"],[[11160,11193],\\\"valid\\\",[],\\\"NV8\\\"],[[11194,11196],\\\"disallowed\\\"],[[11197,11208],\\\"valid\\\",[],\\\"NV8\\\"],[[11209,11209],\\\"disallowed\\\"],[[11210,11217],\\\"valid\\\",[],\\\"NV8\\\"],[[11218,11243],\\\"disallowed\\\"],[[11244,11247],\\\"valid\\\",[],\\\"NV8\\\"],[[11248,11263],\\\"disallowed\\\"],[[11264,11264],\\\"mapped\\\",[11312]],[[11265,11265],\\\"mapped\\\",[11313]],[[11266,11266],\\\"mapped\\\",[11314]],[[11267,11267],\\\"mapped\\\",[11315]],[[11268,11268],\\\"mapped\\\",[11316]],[[11269,11269],\\\"mapped\\\",[11317]],[[11270,11270],\\\"mapped\\\",[11318]],[[11271,11271],\\\"mapped\\\",[11319]],[[11272,11272],\\\"mapped\\\",[11320]],[[11273,11273],\\\"mapped\\\",[11321]],[[11274,11274],\\\"mapped\\\",[11322]],[[11275,11275],\\\"mapped\\\",[11323]],[[11276,11276],\\\"mapped\\\",[11324]],[[11277,11277],\\\"mapped\\\",[11325]],[[11278,11278],\\\"mapped\\\",[11326]],[[11279,11279],\\\"mapped\\\",[11327]],[[11280,11280],\\\"mapped\\\",[11328]],[[11281,11281],\\\"mapped\\\",[11329]],[[11282,11282],\\\"mapped\\\",[11330]],[[11283,11283],\\\"mapped\\\",[11331]],[[11284,11284],\\\"mapped\\\",[11332]],[[11285,11285],\\\"mapped\\\",[11333]],[[11286,11286],\\\"mapped\\\",[11334]],[[11287,11287],\\\"mapped\\\",[11335]],[[11288,11288],\\\"mapped\\\",[11336]],[[11289,11289],\\\"mapped\\\",[11337]],[[11290,11290],\\\"mapped\\\",[11338]],[[11291,11291],\\\"mapped\\\",[11339]],[[11292,11292],\\\"mapped\\\",[11340]],[[11293,11293],\\\"mapped\\\",[11341]],[[11294,11294],\\\"mapped\\\",[11342]],[[11295,11295],\\\"mapped\\\",[11343]],[[11296,11296],\\\"mapped\\\",[11344]],[[11297,11297],\\\"mapped\\\",[11345]],[[11298,11298],\\\"mapped\\\",[11346]],[[11299,11299],\\\"mapped\\\",[11347]],[[11300,11300],\\\"mapped\\\",[11348]],[[11301,11301],\\\"mapped\\\",[11349]],[[11302,11302],\\\"mapped\\\",[11350]],[[11303,11303],\\\"mapped\\\",[11351]],[[11304,11304],\\\"mapped\\\",[11352]],[[11305,11305],\\\"mapped\\\",[11353]],[[11306,11306],\\\"mapped\\\",[11354]],[[11307,11307],\\\"mapped\\\",[11355]],[[11308,11308],\\\"mapped\\\",[11356]],[[11309,11309],\\\"mapped\\\",[11357]],[[11310,11310],\\\"mapped\\\",[11358]],[[11311,11311],\\\"disallowed\\\"],[[11312,11358],\\\"valid\\\"],[[11359,11359],\\\"disallowed\\\"],[[11360,11360],\\\"mapped\\\",[11361]],[[11361,11361],\\\"valid\\\"],[[11362,11362],\\\"mapped\\\",[619]],[[11363,11363],\\\"mapped\\\",[7549]],[[11364,11364],\\\"mapped\\\",[637]],[[11365,11366],\\\"valid\\\"],[[11367,11367],\\\"mapped\\\",[11368]],[[11368,11368],\\\"valid\\\"],[[11369,11369],\\\"mapped\\\",[11370]],[[11370,11370],\\\"valid\\\"],[[11371,11371],\\\"mapped\\\",[11372]],[[11372,11372],\\\"valid\\\"],[[11373,11373],\\\"mapped\\\",[593]],[[11374,11374],\\\"mapped\\\",[625]],[[11375,11375],\\\"mapped\\\",[592]],[[11376,11376],\\\"mapped\\\",[594]],[[11377,11377],\\\"valid\\\"],[[11378,11378],\\\"mapped\\\",[11379]],[[11379,11379],\\\"valid\\\"],[[11380,11380],\\\"valid\\\"],[[11381,11381],\\\"mapped\\\",[11382]],[[11382,11383],\\\"valid\\\"],[[11384,11387],\\\"valid\\\"],[[11388,11388],\\\"mapped\\\",[106]],[[11389,11389],\\\"mapped\\\",[118]],[[11390,11390],\\\"mapped\\\",[575]],[[11391,11391],\\\"mapped\\\",[576]],[[11392,11392],\\\"mapped\\\",[11393]],[[11393,11393],\\\"valid\\\"],[[11394,11394],\\\"mapped\\\",[11395]],[[11395,11395],\\\"valid\\\"],[[11396,11396],\\\"mapped\\\",[11397]],[[11397,11397],\\\"valid\\\"],[[11398,11398],\\\"mapped\\\",[11399]],[[11399,11399],\\\"valid\\\"],[[11400,11400],\\\"mapped\\\",[11401]],[[11401,11401],\\\"valid\\\"],[[11402,11402],\\\"mapped\\\",[11403]],[[11403,11403],\\\"valid\\\"],[[11404,11404],\\\"mapped\\\",[11405]],[[11405,11405],\\\"valid\\\"],[[11406,11406],\\\"mapped\\\",[11407]],[[11407,11407],\\\"valid\\\"],[[11408,11408],\\\"mapped\\\",[11409]],[[11409,11409],\\\"valid\\\"],[[11410,11410],\\\"mapped\\\",[11411]],[[11411,11411],\\\"valid\\\"],[[11412,11412],\\\"mapped\\\",[11413]],[[11413,11413],\\\"valid\\\"],[[11414,11414],\\\"mapped\\\",[11415]],[[11415,11415],\\\"valid\\\"],[[11416,11416],\\\"mapped\\\",[11417]],[[11417,11417],\\\"valid\\\"],[[11418,11418],\\\"mapped\\\",[11419]],[[11419,11419],\\\"valid\\\"],[[11420,11420],\\\"mapped\\\",[11421]],[[11421,11421],\\\"valid\\\"],[[11422,11422],\\\"mapped\\\",[11423]],[[11423,11423],\\\"valid\\\"],[[11424,11424],\\\"mapped\\\",[11425]],[[11425,11425],\\\"valid\\\"],[[11426,11426],\\\"mapped\\\",[11427]],[[11427,11427],\\\"valid\\\"],[[11428,11428],\\\"mapped\\\",[11429]],[[11429,11429],\\\"valid\\\"],[[11430,11430],\\\"mapped\\\",[11431]],[[11431,11431],\\\"valid\\\"],[[11432,11432],\\\"mapped\\\",[11433]],[[11433,11433],\\\"valid\\\"],[[11434,11434],\\\"mapped\\\",[11435]],[[11435,11435],\\\"valid\\\"],[[11436,11436],\\\"mapped\\\",[11437]],[[11437,11437],\\\"valid\\\"],[[11438,11438],\\\"mapped\\\",[11439]],[[11439,11439],\\\"valid\\\"],[[11440,11440],\\\"mapped\\\",[11441]],[[11441,11441],\\\"valid\\\"],[[11442,11442],\\\"mapped\\\",[11443]],[[11443,11443],\\\"valid\\\"],[[11444,11444],\\\"mapped\\\",[11445]],[[11445,11445],\\\"valid\\\"],[[11446,11446],\\\"mapped\\\",[11447]],[[11447,11447],\\\"valid\\\"],[[11448,11448],\\\"mapped\\\",[11449]],[[11449,11449],\\\"valid\\\"],[[11450,11450],\\\"mapped\\\",[11451]],[[11451,11451],\\\"valid\\\"],[[11452,11452],\\\"mapped\\\",[11453]],[[11453,11453],\\\"valid\\\"],[[11454,11454],\\\"mapped\\\",[11455]],[[11455,11455],\\\"valid\\\"],[[11456,11456],\\\"mapped\\\",[11457]],[[11457,11457],\\\"valid\\\"],[[11458,11458],\\\"mapped\\\",[11459]],[[11459,11459],\\\"valid\\\"],[[11460,11460],\\\"mapped\\\",[11461]],[[11461,11461],\\\"valid\\\"],[[11462,11462],\\\"mapped\\\",[11463]],[[11463,11463],\\\"valid\\\"],[[11464,11464],\\\"mapped\\\",[11465]],[[11465,11465],\\\"valid\\\"],[[11466,11466],\\\"mapped\\\",[11467]],[[11467,11467],\\\"valid\\\"],[[11468,11468],\\\"mapped\\\",[11469]],[[11469,11469],\\\"valid\\\"],[[11470,11470],\\\"mapped\\\",[11471]],[[11471,11471],\\\"valid\\\"],[[11472,11472],\\\"mapped\\\",[11473]],[[11473,11473],\\\"valid\\\"],[[11474,11474],\\\"mapped\\\",[11475]],[[11475,11475],\\\"valid\\\"],[[11476,11476],\\\"mapped\\\",[11477]],[[11477,11477],\\\"valid\\\"],[[11478,11478],\\\"mapped\\\",[11479]],[[11479,11479],\\\"valid\\\"],[[11480,11480],\\\"mapped\\\",[11481]],[[11481,11481],\\\"valid\\\"],[[11482,11482],\\\"mapped\\\",[11483]],[[11483,11483],\\\"valid\\\"],[[11484,11484],\\\"mapped\\\",[11485]],[[11485,11485],\\\"valid\\\"],[[11486,11486],\\\"mapped\\\",[11487]],[[11487,11487],\\\"valid\\\"],[[11488,11488],\\\"mapped\\\",[11489]],[[11489,11489],\\\"valid\\\"],[[11490,11490],\\\"mapped\\\",[11491]],[[11491,11492],\\\"valid\\\"],[[11493,11498],\\\"valid\\\",[],\\\"NV8\\\"],[[11499,11499],\\\"mapped\\\",[11500]],[[11500,11500],\\\"valid\\\"],[[11501,11501],\\\"mapped\\\",[11502]],[[11502,11505],\\\"valid\\\"],[[11506,11506],\\\"mapped\\\",[11507]],[[11507,11507],\\\"valid\\\"],[[11508,11512],\\\"disallowed\\\"],[[11513,11519],\\\"valid\\\",[],\\\"NV8\\\"],[[11520,11557],\\\"valid\\\"],[[11558,11558],\\\"disallowed\\\"],[[11559,11559],\\\"valid\\\"],[[11560,11564],\\\"disallowed\\\"],[[11565,11565],\\\"valid\\\"],[[11566,11567],\\\"disallowed\\\"],[[11568,11621],\\\"valid\\\"],[[11622,11623],\\\"valid\\\"],[[11624,11630],\\\"disallowed\\\"],[[11631,11631],\\\"mapped\\\",[11617]],[[11632,11632],\\\"valid\\\",[],\\\"NV8\\\"],[[11633,11646],\\\"disallowed\\\"],[[11647,11647],\\\"valid\\\"],[[11648,11670],\\\"valid\\\"],[[11671,11679],\\\"disallowed\\\"],[[11680,11686],\\\"valid\\\"],[[11687,11687],\\\"disallowed\\\"],[[11688,11694],\\\"valid\\\"],[[11695,11695],\\\"disallowed\\\"],[[11696,11702],\\\"valid\\\"],[[11703,11703],\\\"disallowed\\\"],[[11704,11710],\\\"valid\\\"],[[11711,11711],\\\"disallowed\\\"],[[11712,11718],\\\"valid\\\"],[[11719,11719],\\\"disallowed\\\"],[[11720,11726],\\\"valid\\\"],[[11727,11727],\\\"disallowed\\\"],[[11728,11734],\\\"valid\\\"],[[11735,11735],\\\"disallowed\\\"],[[11736,11742],\\\"valid\\\"],[[11743,11743],\\\"disallowed\\\"],[[11744,11775],\\\"valid\\\"],[[11776,11799],\\\"valid\\\",[],\\\"NV8\\\"],[[11800,11803],\\\"valid\\\",[],\\\"NV8\\\"],[[11804,11805],\\\"valid\\\",[],\\\"NV8\\\"],[[11806,11822],\\\"valid\\\",[],\\\"NV8\\\"],[[11823,11823],\\\"valid\\\"],[[11824,11824],\\\"valid\\\",[],\\\"NV8\\\"],[[11825,11825],\\\"valid\\\",[],\\\"NV8\\\"],[[11826,11835],\\\"valid\\\",[],\\\"NV8\\\"],[[11836,11842],\\\"valid\\\",[],\\\"NV8\\\"],[[11843,11903],\\\"disallowed\\\"],[[11904,11929],\\\"valid\\\",[],\\\"NV8\\\"],[[11930,11930],\\\"disallowed\\\"],[[11931,11934],\\\"valid\\\",[],\\\"NV8\\\"],[[11935,11935],\\\"mapped\\\",[27597]],[[11936,12018],\\\"valid\\\",[],\\\"NV8\\\"],[[12019,12019],\\\"mapped\\\",[40863]],[[12020,12031],\\\"disallowed\\\"],[[12032,12032],\\\"mapped\\\",[19968]],[[12033,12033],\\\"mapped\\\",[20008]],[[12034,12034],\\\"mapped\\\",[20022]],[[12035,12035],\\\"mapped\\\",[20031]],[[12036,12036],\\\"mapped\\\",[20057]],[[12037,12037],\\\"mapped\\\",[20101]],[[12038,12038],\\\"mapped\\\",[20108]],[[12039,12039],\\\"mapped\\\",[20128]],[[12040,12040],\\\"mapped\\\",[20154]],[[12041,12041],\\\"mapped\\\",[20799]],[[12042,12042],\\\"mapped\\\",[20837]],[[12043,12043],\\\"mapped\\\",[20843]],[[12044,12044],\\\"mapped\\\",[20866]],[[12045,12045],\\\"mapped\\\",[20886]],[[12046,12046],\\\"mapped\\\",[20907]],[[12047,12047],\\\"mapped\\\",[20960]],[[12048,12048],\\\"mapped\\\",[20981]],[[12049,12049],\\\"mapped\\\",[20992]],[[12050,12050],\\\"mapped\\\",[21147]],[[12051,12051],\\\"mapped\\\",[21241]],[[12052,12052],\\\"mapped\\\",[21269]],[[12053,12053],\\\"mapped\\\",[21274]],[[12054,12054],\\\"mapped\\\",[21304]],[[12055,12055],\\\"mapped\\\",[21313]],[[12056,12056],\\\"mapped\\\",[21340]],[[12057,12057],\\\"mapped\\\",[21353]],[[12058,12058],\\\"mapped\\\",[21378]],[[12059,12059],\\\"mapped\\\",[21430]],[[12060,12060],\\\"mapped\\\",[21448]],[[12061,12061],\\\"mapped\\\",[21475]],[[12062,12062],\\\"mapped\\\",[22231]],[[12063,12063],\\\"mapped\\\",[22303]],[[12064,12064],\\\"mapped\\\",[22763]],[[12065,12065],\\\"mapped\\\",[22786]],[[12066,12066],\\\"mapped\\\",[22794]],[[12067,12067],\\\"mapped\\\",[22805]],[[12068,12068],\\\"mapped\\\",[22823]],[[12069,12069],\\\"mapped\\\",[22899]],[[12070,12070],\\\"mapped\\\",[23376]],[[12071,12071],\\\"mapped\\\",[23424]],[[12072,12072],\\\"mapped\\\",[23544]],[[12073,12073],\\\"mapped\\\",[23567]],[[12074,12074],\\\"mapped\\\",[23586]],[[12075,12075],\\\"mapped\\\",[23608]],[[12076,12076],\\\"mapped\\\",[23662]],[[12077,12077],\\\"mapped\\\",[23665]],[[12078,12078],\\\"mapped\\\",[24027]],[[12079,12079],\\\"mapped\\\",[24037]],[[12080,12080],\\\"mapped\\\",[24049]],[[12081,12081],\\\"mapped\\\",[24062]],[[12082,12082],\\\"mapped\\\",[24178]],[[12083,12083],\\\"mapped\\\",[24186]],[[12084,12084],\\\"mapped\\\",[24191]],[[12085,12085],\\\"mapped\\\",[24308]],[[12086,12086],\\\"mapped\\\",[24318]],[[12087,12087],\\\"mapped\\\",[24331]],[[12088,12088],\\\"mapped\\\",[24339]],[[12089,12089],\\\"mapped\\\",[24400]],[[12090,12090],\\\"mapped\\\",[24417]],[[12091,12091],\\\"mapped\\\",[24435]],[[12092,12092],\\\"mapped\\\",[24515]],[[12093,12093],\\\"mapped\\\",[25096]],[[12094,12094],\\\"mapped\\\",[25142]],[[12095,12095],\\\"mapped\\\",[25163]],[[12096,12096],\\\"mapped\\\",[25903]],[[12097,12097],\\\"mapped\\\",[25908]],[[12098,12098],\\\"mapped\\\",[25991]],[[12099,12099],\\\"mapped\\\",[26007]],[[12100,12100],\\\"mapped\\\",[26020]],[[12101,12101],\\\"mapped\\\",[26041]],[[12102,12102],\\\"mapped\\\",[26080]],[[12103,12103],\\\"mapped\\\",[26085]],[[12104,12104],\\\"mapped\\\",[26352]],[[12105,12105],\\\"mapped\\\",[26376]],[[12106,12106],\\\"mapped\\\",[26408]],[[12107,12107],\\\"mapped\\\",[27424]],[[12108,12108],\\\"mapped\\\",[27490]],[[12109,12109],\\\"mapped\\\",[27513]],[[12110,12110],\\\"mapped\\\",[27571]],[[12111,12111],\\\"mapped\\\",[27595]],[[12112,12112],\\\"mapped\\\",[27604]],[[12113,12113],\\\"mapped\\\",[27611]],[[12114,12114],\\\"mapped\\\",[27663]],[[12115,12115],\\\"mapped\\\",[27668]],[[12116,12116],\\\"mapped\\\",[27700]],[[12117,12117],\\\"mapped\\\",[28779]],[[12118,12118],\\\"mapped\\\",[29226]],[[12119,12119],\\\"mapped\\\",[29238]],[[12120,12120],\\\"mapped\\\",[29243]],[[12121,12121],\\\"mapped\\\",[29247]],[[12122,12122],\\\"mapped\\\",[29255]],[[12123,12123],\\\"mapped\\\",[29273]],[[12124,12124],\\\"mapped\\\",[29275]],[[12125,12125],\\\"mapped\\\",[29356]],[[12126,12126],\\\"mapped\\\",[29572]],[[12127,12127],\\\"mapped\\\",[29577]],[[12128,12128],\\\"mapped\\\",[29916]],[[12129,12129],\\\"mapped\\\",[29926]],[[12130,12130],\\\"mapped\\\",[29976]],[[12131,12131],\\\"mapped\\\",[29983]],[[12132,12132],\\\"mapped\\\",[29992]],[[12133,12133],\\\"mapped\\\",[30000]],[[12134,12134],\\\"mapped\\\",[30091]],[[12135,12135],\\\"mapped\\\",[30098]],[[12136,12136],\\\"mapped\\\",[30326]],[[12137,12137],\\\"mapped\\\",[30333]],[[12138,12138],\\\"mapped\\\",[30382]],[[12139,12139],\\\"mapped\\\",[30399]],[[12140,12140],\\\"mapped\\\",[30446]],[[12141,12141],\\\"mapped\\\",[30683]],[[12142,12142],\\\"mapped\\\",[30690]],[[12143,12143],\\\"mapped\\\",[30707]],[[12144,12144],\\\"mapped\\\",[31034]],[[12145,12145],\\\"mapped\\\",[31160]],[[12146,12146],\\\"mapped\\\",[31166]],[[12147,12147],\\\"mapped\\\",[31348]],[[12148,12148],\\\"mapped\\\",[31435]],[[12149,12149],\\\"mapped\\\",[31481]],[[12150,12150],\\\"mapped\\\",[31859]],[[12151,12151],\\\"mapped\\\",[31992]],[[12152,12152],\\\"mapped\\\",[32566]],[[12153,12153],\\\"mapped\\\",[32593]],[[12154,12154],\\\"mapped\\\",[32650]],[[12155,12155],\\\"mapped\\\",[32701]],[[12156,12156],\\\"mapped\\\",[32769]],[[12157,12157],\\\"mapped\\\",[32780]],[[12158,12158],\\\"mapped\\\",[32786]],[[12159,12159],\\\"mapped\\\",[32819]],[[12160,12160],\\\"mapped\\\",[32895]],[[12161,12161],\\\"mapped\\\",[32905]],[[12162,12162],\\\"mapped\\\",[33251]],[[12163,12163],\\\"mapped\\\",[33258]],[[12164,12164],\\\"mapped\\\",[33267]],[[12165,12165],\\\"mapped\\\",[33276]],[[12166,12166],\\\"mapped\\\",[33292]],[[12167,12167],\\\"mapped\\\",[33307]],[[12168,12168],\\\"mapped\\\",[33311]],[[12169,12169],\\\"mapped\\\",[33390]],[[12170,12170],\\\"mapped\\\",[33394]],[[12171,12171],\\\"mapped\\\",[33400]],[[12172,12172],\\\"mapped\\\",[34381]],[[12173,12173],\\\"mapped\\\",[34411]],[[12174,12174],\\\"mapped\\\",[34880]],[[12175,12175],\\\"mapped\\\",[34892]],[[12176,12176],\\\"mapped\\\",[34915]],[[12177,12177],\\\"mapped\\\",[35198]],[[12178,12178],\\\"mapped\\\",[35211]],[[12179,12179],\\\"mapped\\\",[35282]],[[12180,12180],\\\"mapped\\\",[35328]],[[12181,12181],\\\"mapped\\\",[35895]],[[12182,12182],\\\"mapped\\\",[35910]],[[12183,12183],\\\"mapped\\\",[35925]],[[12184,12184],\\\"mapped\\\",[35960]],[[12185,12185],\\\"mapped\\\",[35997]],[[12186,12186],\\\"mapped\\\",[36196]],[[12187,12187],\\\"mapped\\\",[36208]],[[12188,12188],\\\"mapped\\\",[36275]],[[12189,12189],\\\"mapped\\\",[36523]],[[12190,12190],\\\"mapped\\\",[36554]],[[12191,12191],\\\"mapped\\\",[36763]],[[12192,12192],\\\"mapped\\\",[36784]],[[12193,12193],\\\"mapped\\\",[36789]],[[12194,12194],\\\"mapped\\\",[37009]],[[12195,12195],\\\"mapped\\\",[37193]],[[12196,12196],\\\"mapped\\\",[37318]],[[12197,12197],\\\"mapped\\\",[37324]],[[12198,12198],\\\"mapped\\\",[37329]],[[12199,12199],\\\"mapped\\\",[38263]],[[12200,12200],\\\"mapped\\\",[38272]],[[12201,12201],\\\"mapped\\\",[38428]],[[12202,12202],\\\"mapped\\\",[38582]],[[12203,12203],\\\"mapped\\\",[38585]],[[12204,12204],\\\"mapped\\\",[38632]],[[12205,12205],\\\"mapped\\\",[38737]],[[12206,12206],\\\"mapped\\\",[38750]],[[12207,12207],\\\"mapped\\\",[38754]],[[12208,12208],\\\"mapped\\\",[38761]],[[12209,12209],\\\"mapped\\\",[38859]],[[12210,12210],\\\"mapped\\\",[38893]],[[12211,12211],\\\"mapped\\\",[38899]],[[12212,12212],\\\"mapped\\\",[38913]],[[12213,12213],\\\"mapped\\\",[39080]],[[12214,12214],\\\"mapped\\\",[39131]],[[12215,12215],\\\"mapped\\\",[39135]],[[12216,12216],\\\"mapped\\\",[39318]],[[12217,12217],\\\"mapped\\\",[39321]],[[12218,12218],\\\"mapped\\\",[39340]],[[12219,12219],\\\"mapped\\\",[39592]],[[12220,12220],\\\"mapped\\\",[39640]],[[12221,12221],\\\"mapped\\\",[39647]],[[12222,12222],\\\"mapped\\\",[39717]],[[12223,12223],\\\"mapped\\\",[39727]],[[12224,12224],\\\"mapped\\\",[39730]],[[12225,12225],\\\"mapped\\\",[39740]],[[12226,12226],\\\"mapped\\\",[39770]],[[12227,12227],\\\"mapped\\\",[40165]],[[12228,12228],\\\"mapped\\\",[40565]],[[12229,12229],\\\"mapped\\\",[40575]],[[12230,12230],\\\"mapped\\\",[40613]],[[12231,12231],\\\"mapped\\\",[40635]],[[12232,12232],\\\"mapped\\\",[40643]],[[12233,12233],\\\"mapped\\\",[40653]],[[12234,12234],\\\"mapped\\\",[40657]],[[12235,12235],\\\"mapped\\\",[40697]],[[12236,12236],\\\"mapped\\\",[40701]],[[12237,12237],\\\"mapped\\\",[40718]],[[12238,12238],\\\"mapped\\\",[40723]],[[12239,12239],\\\"mapped\\\",[40736]],[[12240,12240],\\\"mapped\\\",[40763]],[[12241,12241],\\\"mapped\\\",[40778]],[[12242,12242],\\\"mapped\\\",[40786]],[[12243,12243],\\\"mapped\\\",[40845]],[[12244,12244],\\\"mapped\\\",[40860]],[[12245,12245],\\\"mapped\\\",[40864]],[[12246,12271],\\\"disallowed\\\"],[[12272,12283],\\\"disallowed\\\"],[[12284,12287],\\\"disallowed\\\"],[[12288,12288],\\\"disallowed_STD3_mapped\\\",[32]],[[12289,12289],\\\"valid\\\",[],\\\"NV8\\\"],[[12290,12290],\\\"mapped\\\",[46]],[[12291,12292],\\\"valid\\\",[],\\\"NV8\\\"],[[12293,12295],\\\"valid\\\"],[[12296,12329],\\\"valid\\\",[],\\\"NV8\\\"],[[12330,12333],\\\"valid\\\"],[[12334,12341],\\\"valid\\\",[],\\\"NV8\\\"],[[12342,12342],\\\"mapped\\\",[12306]],[[12343,12343],\\\"valid\\\",[],\\\"NV8\\\"],[[12344,12344],\\\"mapped\\\",[21313]],[[12345,12345],\\\"mapped\\\",[21316]],[[12346,12346],\\\"mapped\\\",[21317]],[[12347,12347],\\\"valid\\\",[],\\\"NV8\\\"],[[12348,12348],\\\"valid\\\"],[[12349,12349],\\\"valid\\\",[],\\\"NV8\\\"],[[12350,12350],\\\"valid\\\",[],\\\"NV8\\\"],[[12351,12351],\\\"valid\\\",[],\\\"NV8\\\"],[[12352,12352],\\\"disallowed\\\"],[[12353,12436],\\\"valid\\\"],[[12437,12438],\\\"valid\\\"],[[12439,12440],\\\"disallowed\\\"],[[12441,12442],\\\"valid\\\"],[[12443,12443],\\\"disallowed_STD3_mapped\\\",[32,12441]],[[12444,12444],\\\"disallowed_STD3_mapped\\\",[32,12442]],[[12445,12446],\\\"valid\\\"],[[12447,12447],\\\"mapped\\\",[12424,12426]],[[12448,12448],\\\"valid\\\",[],\\\"NV8\\\"],[[12449,12542],\\\"valid\\\"],[[12543,12543],\\\"mapped\\\",[12467,12488]],[[12544,12548],\\\"disallowed\\\"],[[12549,12588],\\\"valid\\\"],[[12589,12589],\\\"valid\\\"],[[12590,12592],\\\"disallowed\\\"],[[12593,12593],\\\"mapped\\\",[4352]],[[12594,12594],\\\"mapped\\\",[4353]],[[12595,12595],\\\"mapped\\\",[4522]],[[12596,12596],\\\"mapped\\\",[4354]],[[12597,12597],\\\"mapped\\\",[4524]],[[12598,12598],\\\"mapped\\\",[4525]],[[12599,12599],\\\"mapped\\\",[4355]],[[12600,12600],\\\"mapped\\\",[4356]],[[12601,12601],\\\"mapped\\\",[4357]],[[12602,12602],\\\"mapped\\\",[4528]],[[12603,12603],\\\"mapped\\\",[4529]],[[12604,12604],\\\"mapped\\\",[4530]],[[12605,12605],\\\"mapped\\\",[4531]],[[12606,12606],\\\"mapped\\\",[4532]],[[12607,12607],\\\"mapped\\\",[4533]],[[12608,12608],\\\"mapped\\\",[4378]],[[12609,12609],\\\"mapped\\\",[4358]],[[12610,12610],\\\"mapped\\\",[4359]],[[12611,12611],\\\"mapped\\\",[4360]],[[12612,12612],\\\"mapped\\\",[4385]],[[12613,12613],\\\"mapped\\\",[4361]],[[12614,12614],\\\"mapped\\\",[4362]],[[12615,12615],\\\"mapped\\\",[4363]],[[12616,12616],\\\"mapped\\\",[4364]],[[12617,12617],\\\"mapped\\\",[4365]],[[12618,12618],\\\"mapped\\\",[4366]],[[12619,12619],\\\"mapped\\\",[4367]],[[12620,12620],\\\"mapped\\\",[4368]],[[12621,12621],\\\"mapped\\\",[4369]],[[12622,12622],\\\"mapped\\\",[4370]],[[12623,12623],\\\"mapped\\\",[4449]],[[12624,12624],\\\"mapped\\\",[4450]],[[12625,12625],\\\"mapped\\\",[4451]],[[12626,12626],\\\"mapped\\\",[4452]],[[12627,12627],\\\"mapped\\\",[4453]],[[12628,12628],\\\"mapped\\\",[4454]],[[12629,12629],\\\"mapped\\\",[4455]],[[12630,12630],\\\"mapped\\\",[4456]],[[12631,12631],\\\"mapped\\\",[4457]],[[12632,12632],\\\"mapped\\\",[4458]],[[12633,12633],\\\"mapped\\\",[4459]],[[12634,12634],\\\"mapped\\\",[4460]],[[12635,12635],\\\"mapped\\\",[4461]],[[12636,12636],\\\"mapped\\\",[4462]],[[12637,12637],\\\"mapped\\\",[4463]],[[12638,12638],\\\"mapped\\\",[4464]],[[12639,12639],\\\"mapped\\\",[4465]],[[12640,12640],\\\"mapped\\\",[4466]],[[12641,12641],\\\"mapped\\\",[4467]],[[12642,12642],\\\"mapped\\\",[4468]],[[12643,12643],\\\"mapped\\\",[4469]],[[12644,12644],\\\"disallowed\\\"],[[12645,12645],\\\"mapped\\\",[4372]],[[12646,12646],\\\"mapped\\\",[4373]],[[12647,12647],\\\"mapped\\\",[4551]],[[12648,12648],\\\"mapped\\\",[4552]],[[12649,12649],\\\"mapped\\\",[4556]],[[12650,12650],\\\"mapped\\\",[4558]],[[12651,12651],\\\"mapped\\\",[4563]],[[12652,12652],\\\"mapped\\\",[4567]],[[12653,12653],\\\"mapped\\\",[4569]],[[12654,12654],\\\"mapped\\\",[4380]],[[12655,12655],\\\"mapped\\\",[4573]],[[12656,12656],\\\"mapped\\\",[4575]],[[12657,12657],\\\"mapped\\\",[4381]],[[12658,12658],\\\"mapped\\\",[4382]],[[12659,12659],\\\"mapped\\\",[4384]],[[12660,12660],\\\"mapped\\\",[4386]],[[12661,12661],\\\"mapped\\\",[4387]],[[12662,12662],\\\"mapped\\\",[4391]],[[12663,12663],\\\"mapped\\\",[4393]],[[12664,12664],\\\"mapped\\\",[4395]],[[12665,12665],\\\"mapped\\\",[4396]],[[12666,12666],\\\"mapped\\\",[4397]],[[12667,12667],\\\"mapped\\\",[4398]],[[12668,12668],\\\"mapped\\\",[4399]],[[12669,12669],\\\"mapped\\\",[4402]],[[12670,12670],\\\"mapped\\\",[4406]],[[12671,12671],\\\"mapped\\\",[4416]],[[12672,12672],\\\"mapped\\\",[4423]],[[12673,12673],\\\"mapped\\\",[4428]],[[12674,12674],\\\"mapped\\\",[4593]],[[12675,12675],\\\"mapped\\\",[4594]],[[12676,12676],\\\"mapped\\\",[4439]],[[12677,12677],\\\"mapped\\\",[4440]],[[12678,12678],\\\"mapped\\\",[4441]],[[12679,12679],\\\"mapped\\\",[4484]],[[12680,12680],\\\"mapped\\\",[4485]],[[12681,12681],\\\"mapped\\\",[4488]],[[12682,12682],\\\"mapped\\\",[4497]],[[12683,12683],\\\"mapped\\\",[4498]],[[12684,12684],\\\"mapped\\\",[4500]],[[12685,12685],\\\"mapped\\\",[4510]],[[12686,12686],\\\"mapped\\\",[4513]],[[12687,12687],\\\"disallowed\\\"],[[12688,12689],\\\"valid\\\",[],\\\"NV8\\\"],[[12690,12690],\\\"mapped\\\",[19968]],[[12691,12691],\\\"mapped\\\",[20108]],[[12692,12692],\\\"mapped\\\",[19977]],[[12693,12693],\\\"mapped\\\",[22235]],[[12694,12694],\\\"mapped\\\",[19978]],[[12695,12695],\\\"mapped\\\",[20013]],[[12696,12696],\\\"mapped\\\",[19979]],[[12697,12697],\\\"mapped\\\",[30002]],[[12698,12698],\\\"mapped\\\",[20057]],[[12699,12699],\\\"mapped\\\",[19993]],[[12700,12700],\\\"mapped\\\",[19969]],[[12701,12701],\\\"mapped\\\",[22825]],[[12702,12702],\\\"mapped\\\",[22320]],[[12703,12703],\\\"mapped\\\",[20154]],[[12704,12727],\\\"valid\\\"],[[12728,12730],\\\"valid\\\"],[[12731,12735],\\\"disallowed\\\"],[[12736,12751],\\\"valid\\\",[],\\\"NV8\\\"],[[12752,12771],\\\"valid\\\",[],\\\"NV8\\\"],[[12772,12783],\\\"disallowed\\\"],[[12784,12799],\\\"valid\\\"],[[12800,12800],\\\"disallowed_STD3_mapped\\\",[40,4352,41]],[[12801,12801],\\\"disallowed_STD3_mapped\\\",[40,4354,41]],[[12802,12802],\\\"disallowed_STD3_mapped\\\",[40,4355,41]],[[12803,12803],\\\"disallowed_STD3_mapped\\\",[40,4357,41]],[[12804,12804],\\\"disallowed_STD3_mapped\\\",[40,4358,41]],[[12805,12805],\\\"disallowed_STD3_mapped\\\",[40,4359,41]],[[12806,12806],\\\"disallowed_STD3_mapped\\\",[40,4361,41]],[[12807,12807],\\\"disallowed_STD3_mapped\\\",[40,4363,41]],[[12808,12808],\\\"disallowed_STD3_mapped\\\",[40,4364,41]],[[12809,12809],\\\"disallowed_STD3_mapped\\\",[40,4366,41]],[[12810,12810],\\\"disallowed_STD3_mapped\\\",[40,4367,41]],[[12811,12811],\\\"disallowed_STD3_mapped\\\",[40,4368,41]],[[12812,12812],\\\"disallowed_STD3_mapped\\\",[40,4369,41]],[[12813,12813],\\\"disallowed_STD3_mapped\\\",[40,4370,41]],[[12814,12814],\\\"disallowed_STD3_mapped\\\",[40,44032,41]],[[12815,12815],\\\"disallowed_STD3_mapped\\\",[40,45208,41]],[[12816,12816],\\\"disallowed_STD3_mapped\\\",[40,45796,41]],[[12817,12817],\\\"disallowed_STD3_mapped\\\",[40,46972,41]],[[12818,12818],\\\"disallowed_STD3_mapped\\\",[40,47560,41]],[[12819,12819],\\\"disallowed_STD3_mapped\\\",[40,48148,41]],[[12820,12820],\\\"disallowed_STD3_mapped\\\",[40,49324,41]],[[12821,12821],\\\"disallowed_STD3_mapped\\\",[40,50500,41]],[[12822,12822],\\\"disallowed_STD3_mapped\\\",[40,51088,41]],[[12823,12823],\\\"disallowed_STD3_mapped\\\",[40,52264,41]],[[12824,12824],\\\"disallowed_STD3_mapped\\\",[40,52852,41]],[[12825,12825],\\\"disallowed_STD3_mapped\\\",[40,53440,41]],[[12826,12826],\\\"disallowed_STD3_mapped\\\",[40,54028,41]],[[12827,12827],\\\"disallowed_STD3_mapped\\\",[40,54616,41]],[[12828,12828],\\\"disallowed_STD3_mapped\\\",[40,51452,41]],[[12829,12829],\\\"disallowed_STD3_mapped\\\",[40,50724,51204,41]],[[12830,12830],\\\"disallowed_STD3_mapped\\\",[40,50724,54980,41]],[[12831,12831],\\\"disallowed\\\"],[[12832,12832],\\\"disallowed_STD3_mapped\\\",[40,19968,41]],[[12833,12833],\\\"disallowed_STD3_mapped\\\",[40,20108,41]],[[12834,12834],\\\"disallowed_STD3_mapped\\\",[40,19977,41]],[[12835,12835],\\\"disallowed_STD3_mapped\\\",[40,22235,41]],[[12836,12836],\\\"disallowed_STD3_mapped\\\",[40,20116,41]],[[12837,12837],\\\"disallowed_STD3_mapped\\\",[40,20845,41]],[[12838,12838],\\\"disallowed_STD3_mapped\\\",[40,19971,41]],[[12839,12839],\\\"disallowed_STD3_mapped\\\",[40,20843,41]],[[12840,12840],\\\"disallowed_STD3_mapped\\\",[40,20061,41]],[[12841,12841],\\\"disallowed_STD3_mapped\\\",[40,21313,41]],[[12842,12842],\\\"disallowed_STD3_mapped\\\",[40,26376,41]],[[12843,12843],\\\"disallowed_STD3_mapped\\\",[40,28779,41]],[[12844,12844],\\\"disallowed_STD3_mapped\\\",[40,27700,41]],[[12845,12845],\\\"disallowed_STD3_mapped\\\",[40,26408,41]],[[12846,12846],\\\"disallowed_STD3_mapped\\\",[40,37329,41]],[[12847,12847],\\\"disallowed_STD3_mapped\\\",[40,22303,41]],[[12848,12848],\\\"disallowed_STD3_mapped\\\",[40,26085,41]],[[12849,12849],\\\"disallowed_STD3_mapped\\\",[40,26666,41]],[[12850,12850],\\\"disallowed_STD3_mapped\\\",[40,26377,41]],[[12851,12851],\\\"disallowed_STD3_mapped\\\",[40,31038,41]],[[12852,12852],\\\"disallowed_STD3_mapped\\\",[40,21517,41]],[[12853,12853],\\\"disallowed_STD3_mapped\\\",[40,29305,41]],[[12854,12854],\\\"disallowed_STD3_mapped\\\",[40,36001,41]],[[12855,12855],\\\"disallowed_STD3_mapped\\\",[40,31069,41]],[[12856,12856],\\\"disallowed_STD3_mapped\\\",[40,21172,41]],[[12857,12857],\\\"disallowed_STD3_mapped\\\",[40,20195,41]],[[12858,12858],\\\"disallowed_STD3_mapped\\\",[40,21628,41]],[[12859,12859],\\\"disallowed_STD3_mapped\\\",[40,23398,41]],[[12860,12860],\\\"disallowed_STD3_mapped\\\",[40,30435,41]],[[12861,12861],\\\"disallowed_STD3_mapped\\\",[40,20225,41]],[[12862,12862],\\\"disallowed_STD3_mapped\\\",[40,36039,41]],[[12863,12863],\\\"disallowed_STD3_mapped\\\",[40,21332,41]],[[12864,12864],\\\"disallowed_STD3_mapped\\\",[40,31085,41]],[[12865,12865],\\\"disallowed_STD3_mapped\\\",[40,20241,41]],[[12866,12866],\\\"disallowed_STD3_mapped\\\",[40,33258,41]],[[12867,12867],\\\"disallowed_STD3_mapped\\\",[40,33267,41]],[[12868,12868],\\\"mapped\\\",[21839]],[[12869,12869],\\\"mapped\\\",[24188]],[[12870,12870],\\\"mapped\\\",[25991]],[[12871,12871],\\\"mapped\\\",[31631]],[[12872,12879],\\\"valid\\\",[],\\\"NV8\\\"],[[12880,12880],\\\"mapped\\\",[112,116,101]],[[12881,12881],\\\"mapped\\\",[50,49]],[[12882,12882],\\\"mapped\\\",[50,50]],[[12883,12883],\\\"mapped\\\",[50,51]],[[12884,12884],\\\"mapped\\\",[50,52]],[[12885,12885],\\\"mapped\\\",[50,53]],[[12886,12886],\\\"mapped\\\",[50,54]],[[12887,12887],\\\"mapped\\\",[50,55]],[[12888,12888],\\\"mapped\\\",[50,56]],[[12889,12889],\\\"mapped\\\",[50,57]],[[12890,12890],\\\"mapped\\\",[51,48]],[[12891,12891],\\\"mapped\\\",[51,49]],[[12892,12892],\\\"mapped\\\",[51,50]],[[12893,12893],\\\"mapped\\\",[51,51]],[[12894,12894],\\\"mapped\\\",[51,52]],[[12895,12895],\\\"mapped\\\",[51,53]],[[12896,12896],\\\"mapped\\\",[4352]],[[12897,12897],\\\"mapped\\\",[4354]],[[12898,12898],\\\"mapped\\\",[4355]],[[12899,12899],\\\"mapped\\\",[4357]],[[12900,12900],\\\"mapped\\\",[4358]],[[12901,12901],\\\"mapped\\\",[4359]],[[12902,12902],\\\"mapped\\\",[4361]],[[12903,12903],\\\"mapped\\\",[4363]],[[12904,12904],\\\"mapped\\\",[4364]],[[12905,12905],\\\"mapped\\\",[4366]],[[12906,12906],\\\"mapped\\\",[4367]],[[12907,12907],\\\"mapped\\\",[4368]],[[12908,12908],\\\"mapped\\\",[4369]],[[12909,12909],\\\"mapped\\\",[4370]],[[12910,12910],\\\"mapped\\\",[44032]],[[12911,12911],\\\"mapped\\\",[45208]],[[12912,12912],\\\"mapped\\\",[45796]],[[12913,12913],\\\"mapped\\\",[46972]],[[12914,12914],\\\"mapped\\\",[47560]],[[12915,12915],\\\"mapped\\\",[48148]],[[12916,12916],\\\"mapped\\\",[49324]],[[12917,12917],\\\"mapped\\\",[50500]],[[12918,12918],\\\"mapped\\\",[51088]],[[12919,12919],\\\"mapped\\\",[52264]],[[12920,12920],\\\"mapped\\\",[52852]],[[12921,12921],\\\"mapped\\\",[53440]],[[12922,12922],\\\"mapped\\\",[54028]],[[12923,12923],\\\"mapped\\\",[54616]],[[12924,12924],\\\"mapped\\\",[52280,44256]],[[12925,12925],\\\"mapped\\\",[51452,51032]],[[12926,12926],\\\"mapped\\\",[50864]],[[12927,12927],\\\"valid\\\",[],\\\"NV8\\\"],[[12928,12928],\\\"mapped\\\",[19968]],[[12929,12929],\\\"mapped\\\",[20108]],[[12930,12930],\\\"mapped\\\",[19977]],[[12931,12931],\\\"mapped\\\",[22235]],[[12932,12932],\\\"mapped\\\",[20116]],[[12933,12933],\\\"mapped\\\",[20845]],[[12934,12934],\\\"mapped\\\",[19971]],[[12935,12935],\\\"mapped\\\",[20843]],[[12936,12936],\\\"mapped\\\",[20061]],[[12937,12937],\\\"mapped\\\",[21313]],[[12938,12938],\\\"mapped\\\",[26376]],[[12939,12939],\\\"mapped\\\",[28779]],[[12940,12940],\\\"mapped\\\",[27700]],[[12941,12941],\\\"mapped\\\",[26408]],[[12942,12942],\\\"mapped\\\",[37329]],[[12943,12943],\\\"mapped\\\",[22303]],[[12944,12944],\\\"mapped\\\",[26085]],[[12945,12945],\\\"mapped\\\",[26666]],[[12946,12946],\\\"mapped\\\",[26377]],[[12947,12947],\\\"mapped\\\",[31038]],[[12948,12948],\\\"mapped\\\",[21517]],[[12949,12949],\\\"mapped\\\",[29305]],[[12950,12950],\\\"mapped\\\",[36001]],[[12951,12951],\\\"mapped\\\",[31069]],[[12952,12952],\\\"mapped\\\",[21172]],[[12953,12953],\\\"mapped\\\",[31192]],[[12954,12954],\\\"mapped\\\",[30007]],[[12955,12955],\\\"mapped\\\",[22899]],[[12956,12956],\\\"mapped\\\",[36969]],[[12957,12957],\\\"mapped\\\",[20778]],[[12958,12958],\\\"mapped\\\",[21360]],[[12959,12959],\\\"mapped\\\",[27880]],[[12960,12960],\\\"mapped\\\",[38917]],[[12961,12961],\\\"mapped\\\",[20241]],[[12962,12962],\\\"mapped\\\",[20889]],[[12963,12963],\\\"mapped\\\",[27491]],[[12964,12964],\\\"mapped\\\",[19978]],[[12965,12965],\\\"mapped\\\",[20013]],[[12966,12966],\\\"mapped\\\",[19979]],[[12967,12967],\\\"mapped\\\",[24038]],[[12968,12968],\\\"mapped\\\",[21491]],[[12969,12969],\\\"mapped\\\",[21307]],[[12970,12970],\\\"mapped\\\",[23447]],[[12971,12971],\\\"mapped\\\",[23398]],[[12972,12972],\\\"mapped\\\",[30435]],[[12973,12973],\\\"mapped\\\",[20225]],[[12974,12974],\\\"mapped\\\",[36039]],[[12975,12975],\\\"mapped\\\",[21332]],[[12976,12976],\\\"mapped\\\",[22812]],[[12977,12977],\\\"mapped\\\",[51,54]],[[12978,12978],\\\"mapped\\\",[51,55]],[[12979,12979],\\\"mapped\\\",[51,56]],[[12980,12980],\\\"mapped\\\",[51,57]],[[12981,12981],\\\"mapped\\\",[52,48]],[[12982,12982],\\\"mapped\\\",[52,49]],[[12983,12983],\\\"mapped\\\",[52,50]],[[12984,12984],\\\"mapped\\\",[52,51]],[[12985,12985],\\\"mapped\\\",[52,52]],[[12986,12986],\\\"mapped\\\",[52,53]],[[12987,12987],\\\"mapped\\\",[52,54]],[[12988,12988],\\\"mapped\\\",[52,55]],[[12989,12989],\\\"mapped\\\",[52,56]],[[12990,12990],\\\"mapped\\\",[52,57]],[[12991,12991],\\\"mapped\\\",[53,48]],[[12992,12992],\\\"mapped\\\",[49,26376]],[[12993,12993],\\\"mapped\\\",[50,26376]],[[12994,12994],\\\"mapped\\\",[51,26376]],[[12995,12995],\\\"mapped\\\",[52,26376]],[[12996,12996],\\\"mapped\\\",[53,26376]],[[12997,12997],\\\"mapped\\\",[54,26376]],[[12998,12998],\\\"mapped\\\",[55,26376]],[[12999,12999],\\\"mapped\\\",[56,26376]],[[13000,13000],\\\"mapped\\\",[57,26376]],[[13001,13001],\\\"mapped\\\",[49,48,26376]],[[13002,13002],\\\"mapped\\\",[49,49,26376]],[[13003,13003],\\\"mapped\\\",[49,50,26376]],[[13004,13004],\\\"mapped\\\",[104,103]],[[13005,13005],\\\"mapped\\\",[101,114,103]],[[13006,13006],\\\"mapped\\\",[101,118]],[[13007,13007],\\\"mapped\\\",[108,116,100]],[[13008,13008],\\\"mapped\\\",[12450]],[[13009,13009],\\\"mapped\\\",[12452]],[[13010,13010],\\\"mapped\\\",[12454]],[[13011,13011],\\\"mapped\\\",[12456]],[[13012,13012],\\\"mapped\\\",[12458]],[[13013,13013],\\\"mapped\\\",[12459]],[[13014,13014],\\\"mapped\\\",[12461]],[[13015,13015],\\\"mapped\\\",[12463]],[[13016,13016],\\\"mapped\\\",[12465]],[[13017,13017],\\\"mapped\\\",[12467]],[[13018,13018],\\\"mapped\\\",[12469]],[[13019,13019],\\\"mapped\\\",[12471]],[[13020,13020],\\\"mapped\\\",[12473]],[[13021,13021],\\\"mapped\\\",[12475]],[[13022,13022],\\\"mapped\\\",[12477]],[[13023,13023],\\\"mapped\\\",[12479]],[[13024,13024],\\\"mapped\\\",[12481]],[[13025,13025],\\\"mapped\\\",[12484]],[[13026,13026],\\\"mapped\\\",[12486]],[[13027,13027],\\\"mapped\\\",[12488]],[[13028,13028],\\\"mapped\\\",[12490]],[[13029,13029],\\\"mapped\\\",[12491]],[[13030,13030],\\\"mapped\\\",[12492]],[[13031,13031],\\\"mapped\\\",[12493]],[[13032,13032],\\\"mapped\\\",[12494]],[[13033,13033],\\\"mapped\\\",[12495]],[[13034,13034],\\\"mapped\\\",[12498]],[[13035,13035],\\\"mapped\\\",[12501]],[[13036,13036],\\\"mapped\\\",[12504]],[[13037,13037],\\\"mapped\\\",[12507]],[[13038,13038],\\\"mapped\\\",[12510]],[[13039,13039],\\\"mapped\\\",[12511]],[[13040,13040],\\\"mapped\\\",[12512]],[[13041,13041],\\\"mapped\\\",[12513]],[[13042,13042],\\\"mapped\\\",[12514]],[[13043,13043],\\\"mapped\\\",[12516]],[[13044,13044],\\\"mapped\\\",[12518]],[[13045,13045],\\\"mapped\\\",[12520]],[[13046,13046],\\\"mapped\\\",[12521]],[[13047,13047],\\\"mapped\\\",[12522]],[[13048,13048],\\\"mapped\\\",[12523]],[[13049,13049],\\\"mapped\\\",[12524]],[[13050,13050],\\\"mapped\\\",[12525]],[[13051,13051],\\\"mapped\\\",[12527]],[[13052,13052],\\\"mapped\\\",[12528]],[[13053,13053],\\\"mapped\\\",[12529]],[[13054,13054],\\\"mapped\\\",[12530]],[[13055,13055],\\\"disallowed\\\"],[[13056,13056],\\\"mapped\\\",[12450,12497,12540,12488]],[[13057,13057],\\\"mapped\\\",[12450,12523,12501,12449]],[[13058,13058],\\\"mapped\\\",[12450,12531,12506,12450]],[[13059,13059],\\\"mapped\\\",[12450,12540,12523]],[[13060,13060],\\\"mapped\\\",[12452,12491,12531,12464]],[[13061,13061],\\\"mapped\\\",[12452,12531,12481]],[[13062,13062],\\\"mapped\\\",[12454,12457,12531]],[[13063,13063],\\\"mapped\\\",[12456,12473,12463,12540,12489]],[[13064,13064],\\\"mapped\\\",[12456,12540,12459,12540]],[[13065,13065],\\\"mapped\\\",[12458,12531,12473]],[[13066,13066],\\\"mapped\\\",[12458,12540,12512]],[[13067,13067],\\\"mapped\\\",[12459,12452,12522]],[[13068,13068],\\\"mapped\\\",[12459,12521,12483,12488]],[[13069,13069],\\\"mapped\\\",[12459,12525,12522,12540]],[[13070,13070],\\\"mapped\\\",[12460,12525,12531]],[[13071,13071],\\\"mapped\\\",[12460,12531,12510]],[[13072,13072],\\\"mapped\\\",[12462,12460]],[[13073,13073],\\\"mapped\\\",[12462,12491,12540]],[[13074,13074],\\\"mapped\\\",[12461,12517,12522,12540]],[[13075,13075],\\\"mapped\\\",[12462,12523,12480,12540]],[[13076,13076],\\\"mapped\\\",[12461,12525]],[[13077,13077],\\\"mapped\\\",[12461,12525,12464,12521,12512]],[[13078,13078],\\\"mapped\\\",[12461,12525,12513,12540,12488,12523]],[[13079,13079],\\\"mapped\\\",[12461,12525,12527,12483,12488]],[[13080,13080],\\\"mapped\\\",[12464,12521,12512]],[[13081,13081],\\\"mapped\\\",[12464,12521,12512,12488,12531]],[[13082,13082],\\\"mapped\\\",[12463,12523,12476,12452,12525]],[[13083,13083],\\\"mapped\\\",[12463,12525,12540,12493]],[[13084,13084],\\\"mapped\\\",[12465,12540,12473]],[[13085,13085],\\\"mapped\\\",[12467,12523,12490]],[[13086,13086],\\\"mapped\\\",[12467,12540,12509]],[[13087,13087],\\\"mapped\\\",[12469,12452,12463,12523]],[[13088,13088],\\\"mapped\\\",[12469,12531,12481,12540,12512]],[[13089,13089],\\\"mapped\\\",[12471,12522,12531,12464]],[[13090,13090],\\\"mapped\\\",[12475,12531,12481]],[[13091,13091],\\\"mapped\\\",[12475,12531,12488]],[[13092,13092],\\\"mapped\\\",[12480,12540,12473]],[[13093,13093],\\\"mapped\\\",[12487,12471]],[[13094,13094],\\\"mapped\\\",[12489,12523]],[[13095,13095],\\\"mapped\\\",[12488,12531]],[[13096,13096],\\\"mapped\\\",[12490,12494]],[[13097,13097],\\\"mapped\\\",[12494,12483,12488]],[[13098,13098],\\\"mapped\\\",[12495,12452,12484]],[[13099,13099],\\\"mapped\\\",[12497,12540,12475,12531,12488]],[[13100,13100],\\\"mapped\\\",[12497,12540,12484]],[[13101,13101],\\\"mapped\\\",[12496,12540,12524,12523]],[[13102,13102],\\\"mapped\\\",[12500,12450,12473,12488,12523]],[[13103,13103],\\\"mapped\\\",[12500,12463,12523]],[[13104,13104],\\\"mapped\\\",[12500,12467]],[[13105,13105],\\\"mapped\\\",[12499,12523]],[[13106,13106],\\\"mapped\\\",[12501,12449,12521,12483,12489]],[[13107,13107],\\\"mapped\\\",[12501,12451,12540,12488]],[[13108,13108],\\\"mapped\\\",[12502,12483,12471,12455,12523]],[[13109,13109],\\\"mapped\\\",[12501,12521,12531]],[[13110,13110],\\\"mapped\\\",[12504,12463,12479,12540,12523]],[[13111,13111],\\\"mapped\\\",[12506,12477]],[[13112,13112],\\\"mapped\\\",[12506,12491,12498]],[[13113,13113],\\\"mapped\\\",[12504,12523,12484]],[[13114,13114],\\\"mapped\\\",[12506,12531,12473]],[[13115,13115],\\\"mapped\\\",[12506,12540,12472]],[[13116,13116],\\\"mapped\\\",[12505,12540,12479]],[[13117,13117],\\\"mapped\\\",[12509,12452,12531,12488]],[[13118,13118],\\\"mapped\\\",[12508,12523,12488]],[[13119,13119],\\\"mapped\\\",[12507,12531]],[[13120,13120],\\\"mapped\\\",[12509,12531,12489]],[[13121,13121],\\\"mapped\\\",[12507,12540,12523]],[[13122,13122],\\\"mapped\\\",[12507,12540,12531]],[[13123,13123],\\\"mapped\\\",[12510,12452,12463,12525]],[[13124,13124],\\\"mapped\\\",[12510,12452,12523]],[[13125,13125],\\\"mapped\\\",[12510,12483,12495]],[[13126,13126],\\\"mapped\\\",[12510,12523,12463]],[[13127,13127],\\\"mapped\\\",[12510,12531,12471,12519,12531]],[[13128,13128],\\\"mapped\\\",[12511,12463,12525,12531]],[[13129,13129],\\\"mapped\\\",[12511,12522]],[[13130,13130],\\\"mapped\\\",[12511,12522,12496,12540,12523]],[[13131,13131],\\\"mapped\\\",[12513,12460]],[[13132,13132],\\\"mapped\\\",[12513,12460,12488,12531]],[[13133,13133],\\\"mapped\\\",[12513,12540,12488,12523]],[[13134,13134],\\\"mapped\\\",[12516,12540,12489]],[[13135,13135],\\\"mapped\\\",[12516,12540,12523]],[[13136,13136],\\\"mapped\\\",[12518,12450,12531]],[[13137,13137],\\\"mapped\\\",[12522,12483,12488,12523]],[[13138,13138],\\\"mapped\\\",[12522,12521]],[[13139,13139],\\\"mapped\\\",[12523,12500,12540]],[[13140,13140],\\\"mapped\\\",[12523,12540,12502,12523]],[[13141,13141],\\\"mapped\\\",[12524,12512]],[[13142,13142],\\\"mapped\\\",[12524,12531,12488,12466,12531]],[[13143,13143],\\\"mapped\\\",[12527,12483,12488]],[[13144,13144],\\\"mapped\\\",[48,28857]],[[13145,13145],\\\"mapped\\\",[49,28857]],[[13146,13146],\\\"mapped\\\",[50,28857]],[[13147,13147],\\\"mapped\\\",[51,28857]],[[13148,13148],\\\"mapped\\\",[52,28857]],[[13149,13149],\\\"mapped\\\",[53,28857]],[[13150,13150],\\\"mapped\\\",[54,28857]],[[13151,13151],\\\"mapped\\\",[55,28857]],[[13152,13152],\\\"mapped\\\",[56,28857]],[[13153,13153],\\\"mapped\\\",[57,28857]],[[13154,13154],\\\"mapped\\\",[49,48,28857]],[[13155,13155],\\\"mapped\\\",[49,49,28857]],[[13156,13156],\\\"mapped\\\",[49,50,28857]],[[13157,13157],\\\"mapped\\\",[49,51,28857]],[[13158,13158],\\\"mapped\\\",[49,52,28857]],[[13159,13159],\\\"mapped\\\",[49,53,28857]],[[13160,13160],\\\"mapped\\\",[49,54,28857]],[[13161,13161],\\\"mapped\\\",[49,55,28857]],[[13162,13162],\\\"mapped\\\",[49,56,28857]],[[13163,13163],\\\"mapped\\\",[49,57,28857]],[[13164,13164],\\\"mapped\\\",[50,48,28857]],[[13165,13165],\\\"mapped\\\",[50,49,28857]],[[13166,13166],\\\"mapped\\\",[50,50,28857]],[[13167,13167],\\\"mapped\\\",[50,51,28857]],[[13168,13168],\\\"mapped\\\",[50,52,28857]],[[13169,13169],\\\"mapped\\\",[104,112,97]],[[13170,13170],\\\"mapped\\\",[100,97]],[[13171,13171],\\\"mapped\\\",[97,117]],[[13172,13172],\\\"mapped\\\",[98,97,114]],[[13173,13173],\\\"mapped\\\",[111,118]],[[13174,13174],\\\"mapped\\\",[112,99]],[[13175,13175],\\\"mapped\\\",[100,109]],[[13176,13176],\\\"mapped\\\",[100,109,50]],[[13177,13177],\\\"mapped\\\",[100,109,51]],[[13178,13178],\\\"mapped\\\",[105,117]],[[13179,13179],\\\"mapped\\\",[24179,25104]],[[13180,13180],\\\"mapped\\\",[26157,21644]],[[13181,13181],\\\"mapped\\\",[22823,27491]],[[13182,13182],\\\"mapped\\\",[26126,27835]],[[13183,13183],\\\"mapped\\\",[26666,24335,20250,31038]],[[13184,13184],\\\"mapped\\\",[112,97]],[[13185,13185],\\\"mapped\\\",[110,97]],[[13186,13186],\\\"mapped\\\",[956,97]],[[13187,13187],\\\"mapped\\\",[109,97]],[[13188,13188],\\\"mapped\\\",[107,97]],[[13189,13189],\\\"mapped\\\",[107,98]],[[13190,13190],\\\"mapped\\\",[109,98]],[[13191,13191],\\\"mapped\\\",[103,98]],[[13192,13192],\\\"mapped\\\",[99,97,108]],[[13193,13193],\\\"mapped\\\",[107,99,97,108]],[[13194,13194],\\\"mapped\\\",[112,102]],[[13195,13195],\\\"mapped\\\",[110,102]],[[13196,13196],\\\"mapped\\\",[956,102]],[[13197,13197],\\\"mapped\\\",[956,103]],[[13198,13198],\\\"mapped\\\",[109,103]],[[13199,13199],\\\"mapped\\\",[107,103]],[[13200,13200],\\\"mapped\\\",[104,122]],[[13201,13201],\\\"mapped\\\",[107,104,122]],[[13202,13202],\\\"mapped\\\",[109,104,122]],[[13203,13203],\\\"mapped\\\",[103,104,122]],[[13204,13204],\\\"mapped\\\",[116,104,122]],[[13205,13205],\\\"mapped\\\",[956,108]],[[13206,13206],\\\"mapped\\\",[109,108]],[[13207,13207],\\\"mapped\\\",[100,108]],[[13208,13208],\\\"mapped\\\",[107,108]],[[13209,13209],\\\"mapped\\\",[102,109]],[[13210,13210],\\\"mapped\\\",[110,109]],[[13211,13211],\\\"mapped\\\",[956,109]],[[13212,13212],\\\"mapped\\\",[109,109]],[[13213,13213],\\\"mapped\\\",[99,109]],[[13214,13214],\\\"mapped\\\",[107,109]],[[13215,13215],\\\"mapped\\\",[109,109,50]],[[13216,13216],\\\"mapped\\\",[99,109,50]],[[13217,13217],\\\"mapped\\\",[109,50]],[[13218,13218],\\\"mapped\\\",[107,109,50]],[[13219,13219],\\\"mapped\\\",[109,109,51]],[[13220,13220],\\\"mapped\\\",[99,109,51]],[[13221,13221],\\\"mapped\\\",[109,51]],[[13222,13222],\\\"mapped\\\",[107,109,51]],[[13223,13223],\\\"mapped\\\",[109,8725,115]],[[13224,13224],\\\"mapped\\\",[109,8725,115,50]],[[13225,13225],\\\"mapped\\\",[112,97]],[[13226,13226],\\\"mapped\\\",[107,112,97]],[[13227,13227],\\\"mapped\\\",[109,112,97]],[[13228,13228],\\\"mapped\\\",[103,112,97]],[[13229,13229],\\\"mapped\\\",[114,97,100]],[[13230,13230],\\\"mapped\\\",[114,97,100,8725,115]],[[13231,13231],\\\"mapped\\\",[114,97,100,8725,115,50]],[[13232,13232],\\\"mapped\\\",[112,115]],[[13233,13233],\\\"mapped\\\",[110,115]],[[13234,13234],\\\"mapped\\\",[956,115]],[[13235,13235],\\\"mapped\\\",[109,115]],[[13236,13236],\\\"mapped\\\",[112,118]],[[13237,13237],\\\"mapped\\\",[110,118]],[[13238,13238],\\\"mapped\\\",[956,118]],[[13239,13239],\\\"mapped\\\",[109,118]],[[13240,13240],\\\"mapped\\\",[107,118]],[[13241,13241],\\\"mapped\\\",[109,118]],[[13242,13242],\\\"mapped\\\",[112,119]],[[13243,13243],\\\"mapped\\\",[110,119]],[[13244,13244],\\\"mapped\\\",[956,119]],[[13245,13245],\\\"mapped\\\",[109,119]],[[13246,13246],\\\"mapped\\\",[107,119]],[[13247,13247],\\\"mapped\\\",[109,119]],[[13248,13248],\\\"mapped\\\",[107,969]],[[13249,13249],\\\"mapped\\\",[109,969]],[[13250,13250],\\\"disallowed\\\"],[[13251,13251],\\\"mapped\\\",[98,113]],[[13252,13252],\\\"mapped\\\",[99,99]],[[13253,13253],\\\"mapped\\\",[99,100]],[[13254,13254],\\\"mapped\\\",[99,8725,107,103]],[[13255,13255],\\\"disallowed\\\"],[[13256,13256],\\\"mapped\\\",[100,98]],[[13257,13257],\\\"mapped\\\",[103,121]],[[13258,13258],\\\"mapped\\\",[104,97]],[[13259,13259],\\\"mapped\\\",[104,112]],[[13260,13260],\\\"mapped\\\",[105,110]],[[13261,13261],\\\"mapped\\\",[107,107]],[[13262,13262],\\\"mapped\\\",[107,109]],[[13263,13263],\\\"mapped\\\",[107,116]],[[13264,13264],\\\"mapped\\\",[108,109]],[[13265,13265],\\\"mapped\\\",[108,110]],[[13266,13266],\\\"mapped\\\",[108,111,103]],[[13267,13267],\\\"mapped\\\",[108,120]],[[13268,13268],\\\"mapped\\\",[109,98]],[[13269,13269],\\\"mapped\\\",[109,105,108]],[[13270,13270],\\\"mapped\\\",[109,111,108]],[[13271,13271],\\\"mapped\\\",[112,104]],[[13272,13272],\\\"disallowed\\\"],[[13273,13273],\\\"mapped\\\",[112,112,109]],[[13274,13274],\\\"mapped\\\",[112,114]],[[13275,13275],\\\"mapped\\\",[115,114]],[[13276,13276],\\\"mapped\\\",[115,118]],[[13277,13277],\\\"mapped\\\",[119,98]],[[13278,13278],\\\"mapped\\\",[118,8725,109]],[[13279,13279],\\\"mapped\\\",[97,8725,109]],[[13280,13280],\\\"mapped\\\",[49,26085]],[[13281,13281],\\\"mapped\\\",[50,26085]],[[13282,13282],\\\"mapped\\\",[51,26085]],[[13283,13283],\\\"mapped\\\",[52,26085]],[[13284,13284],\\\"mapped\\\",[53,26085]],[[13285,13285],\\\"mapped\\\",[54,26085]],[[13286,13286],\\\"mapped\\\",[55,26085]],[[13287,13287],\\\"mapped\\\",[56,26085]],[[13288,13288],\\\"mapped\\\",[57,26085]],[[13289,13289],\\\"mapped\\\",[49,48,26085]],[[13290,13290],\\\"mapped\\\",[49,49,26085]],[[13291,13291],\\\"mapped\\\",[49,50,26085]],[[13292,13292],\\\"mapped\\\",[49,51,26085]],[[13293,13293],\\\"mapped\\\",[49,52,26085]],[[13294,13294],\\\"mapped\\\",[49,53,26085]],[[13295,13295],\\\"mapped\\\",[49,54,26085]],[[13296,13296],\\\"mapped\\\",[49,55,26085]],[[13297,13297],\\\"mapped\\\",[49,56,26085]],[[13298,13298],\\\"mapped\\\",[49,57,26085]],[[13299,13299],\\\"mapped\\\",[50,48,26085]],[[13300,13300],\\\"mapped\\\",[50,49,26085]],[[13301,13301],\\\"mapped\\\",[50,50,26085]],[[13302,13302],\\\"mapped\\\",[50,51,26085]],[[13303,13303],\\\"mapped\\\",[50,52,26085]],[[13304,13304],\\\"mapped\\\",[50,53,26085]],[[13305,13305],\\\"mapped\\\",[50,54,26085]],[[13306,13306],\\\"mapped\\\",[50,55,26085]],[[13307,13307],\\\"mapped\\\",[50,56,26085]],[[13308,13308],\\\"mapped\\\",[50,57,26085]],[[13309,13309],\\\"mapped\\\",[51,48,26085]],[[13310,13310],\\\"mapped\\\",[51,49,26085]],[[13311,13311],\\\"mapped\\\",[103,97,108]],[[13312,19893],\\\"valid\\\"],[[19894,19903],\\\"disallowed\\\"],[[19904,19967],\\\"valid\\\",[],\\\"NV8\\\"],[[19968,40869],\\\"valid\\\"],[[40870,40891],\\\"valid\\\"],[[40892,40899],\\\"valid\\\"],[[40900,40907],\\\"valid\\\"],[[40908,40908],\\\"valid\\\"],[[40909,40917],\\\"valid\\\"],[[40918,40959],\\\"disallowed\\\"],[[40960,42124],\\\"valid\\\"],[[42125,42127],\\\"disallowed\\\"],[[42128,42145],\\\"valid\\\",[],\\\"NV8\\\"],[[42146,42147],\\\"valid\\\",[],\\\"NV8\\\"],[[42148,42163],\\\"valid\\\",[],\\\"NV8\\\"],[[42164,42164],\\\"valid\\\",[],\\\"NV8\\\"],[[42165,42176],\\\"valid\\\",[],\\\"NV8\\\"],[[42177,42177],\\\"valid\\\",[],\\\"NV8\\\"],[[42178,42180],\\\"valid\\\",[],\\\"NV8\\\"],[[42181,42181],\\\"valid\\\",[],\\\"NV8\\\"],[[42182,42182],\\\"valid\\\",[],\\\"NV8\\\"],[[42183,42191],\\\"disallowed\\\"],[[42192,42237],\\\"valid\\\"],[[42238,42239],\\\"valid\\\",[],\\\"NV8\\\"],[[42240,42508],\\\"valid\\\"],[[42509,42511],\\\"valid\\\",[],\\\"NV8\\\"],[[42512,42539],\\\"valid\\\"],[[42540,42559],\\\"disallowed\\\"],[[42560,42560],\\\"mapped\\\",[42561]],[[42561,42561],\\\"valid\\\"],[[42562,42562],\\\"mapped\\\",[42563]],[[42563,42563],\\\"valid\\\"],[[42564,42564],\\\"mapped\\\",[42565]],[[42565,42565],\\\"valid\\\"],[[42566,42566],\\\"mapped\\\",[42567]],[[42567,42567],\\\"valid\\\"],[[42568,42568],\\\"mapped\\\",[42569]],[[42569,42569],\\\"valid\\\"],[[42570,42570],\\\"mapped\\\",[42571]],[[42571,42571],\\\"valid\\\"],[[42572,42572],\\\"mapped\\\",[42573]],[[42573,42573],\\\"valid\\\"],[[42574,42574],\\\"mapped\\\",[42575]],[[42575,42575],\\\"valid\\\"],[[42576,42576],\\\"mapped\\\",[42577]],[[42577,42577],\\\"valid\\\"],[[42578,42578],\\\"mapped\\\",[42579]],[[42579,42579],\\\"valid\\\"],[[42580,42580],\\\"mapped\\\",[42581]],[[42581,42581],\\\"valid\\\"],[[42582,42582],\\\"mapped\\\",[42583]],[[42583,42583],\\\"valid\\\"],[[42584,42584],\\\"mapped\\\",[42585]],[[42585,42585],\\\"valid\\\"],[[42586,42586],\\\"mapped\\\",[42587]],[[42587,42587],\\\"valid\\\"],[[42588,42588],\\\"mapped\\\",[42589]],[[42589,42589],\\\"valid\\\"],[[42590,42590],\\\"mapped\\\",[42591]],[[42591,42591],\\\"valid\\\"],[[42592,42592],\\\"mapped\\\",[42593]],[[42593,42593],\\\"valid\\\"],[[42594,42594],\\\"mapped\\\",[42595]],[[42595,42595],\\\"valid\\\"],[[42596,42596],\\\"mapped\\\",[42597]],[[42597,42597],\\\"valid\\\"],[[42598,42598],\\\"mapped\\\",[42599]],[[42599,42599],\\\"valid\\\"],[[42600,42600],\\\"mapped\\\",[42601]],[[42601,42601],\\\"valid\\\"],[[42602,42602],\\\"mapped\\\",[42603]],[[42603,42603],\\\"valid\\\"],[[42604,42604],\\\"mapped\\\",[42605]],[[42605,42607],\\\"valid\\\"],[[42608,42611],\\\"valid\\\",[],\\\"NV8\\\"],[[42612,42619],\\\"valid\\\"],[[42620,42621],\\\"valid\\\"],[[42622,42622],\\\"valid\\\",[],\\\"NV8\\\"],[[42623,42623],\\\"valid\\\"],[[42624,42624],\\\"mapped\\\",[42625]],[[42625,42625],\\\"valid\\\"],[[42626,42626],\\\"mapped\\\",[42627]],[[42627,42627],\\\"valid\\\"],[[42628,42628],\\\"mapped\\\",[42629]],[[42629,42629],\\\"valid\\\"],[[42630,42630],\\\"mapped\\\",[42631]],[[42631,42631],\\\"valid\\\"],[[42632,42632],\\\"mapped\\\",[42633]],[[42633,42633],\\\"valid\\\"],[[42634,42634],\\\"mapped\\\",[42635]],[[42635,42635],\\\"valid\\\"],[[42636,42636],\\\"mapped\\\",[42637]],[[42637,42637],\\\"valid\\\"],[[42638,42638],\\\"mapped\\\",[42639]],[[42639,42639],\\\"valid\\\"],[[42640,42640],\\\"mapped\\\",[42641]],[[42641,42641],\\\"valid\\\"],[[42642,42642],\\\"mapped\\\",[42643]],[[42643,42643],\\\"valid\\\"],[[42644,42644],\\\"mapped\\\",[42645]],[[42645,42645],\\\"valid\\\"],[[42646,42646],\\\"mapped\\\",[42647]],[[42647,42647],\\\"valid\\\"],[[42648,42648],\\\"mapped\\\",[42649]],[[42649,42649],\\\"valid\\\"],[[42650,42650],\\\"mapped\\\",[42651]],[[42651,42651],\\\"valid\\\"],[[42652,42652],\\\"mapped\\\",[1098]],[[42653,42653],\\\"mapped\\\",[1100]],[[42654,42654],\\\"valid\\\"],[[42655,42655],\\\"valid\\\"],[[42656,42725],\\\"valid\\\"],[[42726,42735],\\\"valid\\\",[],\\\"NV8\\\"],[[42736,42737],\\\"valid\\\"],[[42738,42743],\\\"valid\\\",[],\\\"NV8\\\"],[[42744,42751],\\\"disallowed\\\"],[[42752,42774],\\\"valid\\\",[],\\\"NV8\\\"],[[42775,42778],\\\"valid\\\"],[[42779,42783],\\\"valid\\\"],[[42784,42785],\\\"valid\\\",[],\\\"NV8\\\"],[[42786,42786],\\\"mapped\\\",[42787]],[[42787,42787],\\\"valid\\\"],[[42788,42788],\\\"mapped\\\",[42789]],[[42789,42789],\\\"valid\\\"],[[42790,42790],\\\"mapped\\\",[42791]],[[42791,42791],\\\"valid\\\"],[[42792,42792],\\\"mapped\\\",[42793]],[[42793,42793],\\\"valid\\\"],[[42794,42794],\\\"mapped\\\",[42795]],[[42795,42795],\\\"valid\\\"],[[42796,42796],\\\"mapped\\\",[42797]],[[42797,42797],\\\"valid\\\"],[[42798,42798],\\\"mapped\\\",[42799]],[[42799,42801],\\\"valid\\\"],[[42802,42802],\\\"mapped\\\",[42803]],[[42803,42803],\\\"valid\\\"],[[42804,42804],\\\"mapped\\\",[42805]],[[42805,42805],\\\"valid\\\"],[[42806,42806],\\\"mapped\\\",[42807]],[[42807,42807],\\\"valid\\\"],[[42808,42808],\\\"mapped\\\",[42809]],[[42809,42809],\\\"valid\\\"],[[42810,42810],\\\"mapped\\\",[42811]],[[42811,42811],\\\"valid\\\"],[[42812,42812],\\\"mapped\\\",[42813]],[[42813,42813],\\\"valid\\\"],[[42814,42814],\\\"mapped\\\",[42815]],[[42815,42815],\\\"valid\\\"],[[42816,42816],\\\"mapped\\\",[42817]],[[42817,42817],\\\"valid\\\"],[[42818,42818],\\\"mapped\\\",[42819]],[[42819,42819],\\\"valid\\\"],[[42820,42820],\\\"mapped\\\",[42821]],[[42821,42821],\\\"valid\\\"],[[42822,42822],\\\"mapped\\\",[42823]],[[42823,42823],\\\"valid\\\"],[[42824,42824],\\\"mapped\\\",[42825]],[[42825,42825],\\\"valid\\\"],[[42826,42826],\\\"mapped\\\",[42827]],[[42827,42827],\\\"valid\\\"],[[42828,42828],\\\"mapped\\\",[42829]],[[42829,42829],\\\"valid\\\"],[[42830,42830],\\\"mapped\\\",[42831]],[[42831,42831],\\\"valid\\\"],[[42832,42832],\\\"mapped\\\",[42833]],[[42833,42833],\\\"valid\\\"],[[42834,42834],\\\"mapped\\\",[42835]],[[42835,42835],\\\"valid\\\"],[[42836,42836],\\\"mapped\\\",[42837]],[[42837,42837],\\\"valid\\\"],[[42838,42838],\\\"mapped\\\",[42839]],[[42839,42839],\\\"valid\\\"],[[42840,42840],\\\"mapped\\\",[42841]],[[42841,42841],\\\"valid\\\"],[[42842,42842],\\\"mapped\\\",[42843]],[[42843,42843],\\\"valid\\\"],[[42844,42844],\\\"mapped\\\",[42845]],[[42845,42845],\\\"valid\\\"],[[42846,42846],\\\"mapped\\\",[42847]],[[42847,42847],\\\"valid\\\"],[[42848,42848],\\\"mapped\\\",[42849]],[[42849,42849],\\\"valid\\\"],[[42850,42850],\\\"mapped\\\",[42851]],[[42851,42851],\\\"valid\\\"],[[42852,42852],\\\"mapped\\\",[42853]],[[42853,42853],\\\"valid\\\"],[[42854,42854],\\\"mapped\\\",[42855]],[[42855,42855],\\\"valid\\\"],[[42856,42856],\\\"mapped\\\",[42857]],[[42857,42857],\\\"valid\\\"],[[42858,42858],\\\"mapped\\\",[42859]],[[42859,42859],\\\"valid\\\"],[[42860,42860],\\\"mapped\\\",[42861]],[[42861,42861],\\\"valid\\\"],[[42862,42862],\\\"mapped\\\",[42863]],[[42863,42863],\\\"valid\\\"],[[42864,42864],\\\"mapped\\\",[42863]],[[42865,42872],\\\"valid\\\"],[[42873,42873],\\\"mapped\\\",[42874]],[[42874,42874],\\\"valid\\\"],[[42875,42875],\\\"mapped\\\",[42876]],[[42876,42876],\\\"valid\\\"],[[42877,42877],\\\"mapped\\\",[7545]],[[42878,42878],\\\"mapped\\\",[42879]],[[42879,42879],\\\"valid\\\"],[[42880,42880],\\\"mapped\\\",[42881]],[[42881,42881],\\\"valid\\\"],[[42882,42882],\\\"mapped\\\",[42883]],[[42883,42883],\\\"valid\\\"],[[42884,42884],\\\"mapped\\\",[42885]],[[42885,42885],\\\"valid\\\"],[[42886,42886],\\\"mapped\\\",[42887]],[[42887,42888],\\\"valid\\\"],[[42889,42890],\\\"valid\\\",[],\\\"NV8\\\"],[[42891,42891],\\\"mapped\\\",[42892]],[[42892,42892],\\\"valid\\\"],[[42893,42893],\\\"mapped\\\",[613]],[[42894,42894],\\\"valid\\\"],[[42895,42895],\\\"valid\\\"],[[42896,42896],\\\"mapped\\\",[42897]],[[42897,42897],\\\"valid\\\"],[[42898,42898],\\\"mapped\\\",[42899]],[[42899,42899],\\\"valid\\\"],[[42900,42901],\\\"valid\\\"],[[42902,42902],\\\"mapped\\\",[42903]],[[42903,42903],\\\"valid\\\"],[[42904,42904],\\\"mapped\\\",[42905]],[[42905,42905],\\\"valid\\\"],[[42906,42906],\\\"mapped\\\",[42907]],[[42907,42907],\\\"valid\\\"],[[42908,42908],\\\"mapped\\\",[42909]],[[42909,42909],\\\"valid\\\"],[[42910,42910],\\\"mapped\\\",[42911]],[[42911,42911],\\\"valid\\\"],[[42912,42912],\\\"mapped\\\",[42913]],[[42913,42913],\\\"valid\\\"],[[42914,42914],\\\"mapped\\\",[42915]],[[42915,42915],\\\"valid\\\"],[[42916,42916],\\\"mapped\\\",[42917]],[[42917,42917],\\\"valid\\\"],[[42918,42918],\\\"mapped\\\",[42919]],[[42919,42919],\\\"valid\\\"],[[42920,42920],\\\"mapped\\\",[42921]],[[42921,42921],\\\"valid\\\"],[[42922,42922],\\\"mapped\\\",[614]],[[42923,42923],\\\"mapped\\\",[604]],[[42924,42924],\\\"mapped\\\",[609]],[[42925,42925],\\\"mapped\\\",[620]],[[42926,42927],\\\"disallowed\\\"],[[42928,42928],\\\"mapped\\\",[670]],[[42929,42929],\\\"mapped\\\",[647]],[[42930,42930],\\\"mapped\\\",[669]],[[42931,42931],\\\"mapped\\\",[43859]],[[42932,42932],\\\"mapped\\\",[42933]],[[42933,42933],\\\"valid\\\"],[[42934,42934],\\\"mapped\\\",[42935]],[[42935,42935],\\\"valid\\\"],[[42936,42998],\\\"disallowed\\\"],[[42999,42999],\\\"valid\\\"],[[43000,43000],\\\"mapped\\\",[295]],[[43001,43001],\\\"mapped\\\",[339]],[[43002,43002],\\\"valid\\\"],[[43003,43007],\\\"valid\\\"],[[43008,43047],\\\"valid\\\"],[[43048,43051],\\\"valid\\\",[],\\\"NV8\\\"],[[43052,43055],\\\"disallowed\\\"],[[43056,43065],\\\"valid\\\",[],\\\"NV8\\\"],[[43066,43071],\\\"disallowed\\\"],[[43072,43123],\\\"valid\\\"],[[43124,43127],\\\"valid\\\",[],\\\"NV8\\\"],[[43128,43135],\\\"disallowed\\\"],[[43136,43204],\\\"valid\\\"],[[43205,43213],\\\"disallowed\\\"],[[43214,43215],\\\"valid\\\",[],\\\"NV8\\\"],[[43216,43225],\\\"valid\\\"],[[43226,43231],\\\"disallowed\\\"],[[43232,43255],\\\"valid\\\"],[[43256,43258],\\\"valid\\\",[],\\\"NV8\\\"],[[43259,43259],\\\"valid\\\"],[[43260,43260],\\\"valid\\\",[],\\\"NV8\\\"],[[43261,43261],\\\"valid\\\"],[[43262,43263],\\\"disallowed\\\"],[[43264,43309],\\\"valid\\\"],[[43310,43311],\\\"valid\\\",[],\\\"NV8\\\"],[[43312,43347],\\\"valid\\\"],[[43348,43358],\\\"disallowed\\\"],[[43359,43359],\\\"valid\\\",[],\\\"NV8\\\"],[[43360,43388],\\\"valid\\\",[],\\\"NV8\\\"],[[43389,43391],\\\"disallowed\\\"],[[43392,43456],\\\"valid\\\"],[[43457,43469],\\\"valid\\\",[],\\\"NV8\\\"],[[43470,43470],\\\"disallowed\\\"],[[43471,43481],\\\"valid\\\"],[[43482,43485],\\\"disallowed\\\"],[[43486,43487],\\\"valid\\\",[],\\\"NV8\\\"],[[43488,43518],\\\"valid\\\"],[[43519,43519],\\\"disallowed\\\"],[[43520,43574],\\\"valid\\\"],[[43575,43583],\\\"disallowed\\\"],[[43584,43597],\\\"valid\\\"],[[43598,43599],\\\"disallowed\\\"],[[43600,43609],\\\"valid\\\"],[[43610,43611],\\\"disallowed\\\"],[[43612,43615],\\\"valid\\\",[],\\\"NV8\\\"],[[43616,43638],\\\"valid\\\"],[[43639,43641],\\\"valid\\\",[],\\\"NV8\\\"],[[43642,43643],\\\"valid\\\"],[[43644,43647],\\\"valid\\\"],[[43648,43714],\\\"valid\\\"],[[43715,43738],\\\"disallowed\\\"],[[43739,43741],\\\"valid\\\"],[[43742,43743],\\\"valid\\\",[],\\\"NV8\\\"],[[43744,43759],\\\"valid\\\"],[[43760,43761],\\\"valid\\\",[],\\\"NV8\\\"],[[43762,43766],\\\"valid\\\"],[[43767,43776],\\\"disallowed\\\"],[[43777,43782],\\\"valid\\\"],[[43783,43784],\\\"disallowed\\\"],[[43785,43790],\\\"valid\\\"],[[43791,43792],\\\"disallowed\\\"],[[43793,43798],\\\"valid\\\"],[[43799,43807],\\\"disallowed\\\"],[[43808,43814],\\\"valid\\\"],[[43815,43815],\\\"disallowed\\\"],[[43816,43822],\\\"valid\\\"],[[43823,43823],\\\"disallowed\\\"],[[43824,43866],\\\"valid\\\"],[[43867,43867],\\\"valid\\\",[],\\\"NV8\\\"],[[43868,43868],\\\"mapped\\\",[42791]],[[43869,43869],\\\"mapped\\\",[43831]],[[43870,43870],\\\"mapped\\\",[619]],[[43871,43871],\\\"mapped\\\",[43858]],[[43872,43875],\\\"valid\\\"],[[43876,43877],\\\"valid\\\"],[[43878,43887],\\\"disallowed\\\"],[[43888,43888],\\\"mapped\\\",[5024]],[[43889,43889],\\\"mapped\\\",[5025]],[[43890,43890],\\\"mapped\\\",[5026]],[[43891,43891],\\\"mapped\\\",[5027]],[[43892,43892],\\\"mapped\\\",[5028]],[[43893,43893],\\\"mapped\\\",[5029]],[[43894,43894],\\\"mapped\\\",[5030]],[[43895,43895],\\\"mapped\\\",[5031]],[[43896,43896],\\\"mapped\\\",[5032]],[[43897,43897],\\\"mapped\\\",[5033]],[[43898,43898],\\\"mapped\\\",[5034]],[[43899,43899],\\\"mapped\\\",[5035]],[[43900,43900],\\\"mapped\\\",[5036]],[[43901,43901],\\\"mapped\\\",[5037]],[[43902,43902],\\\"mapped\\\",[5038]],[[43903,43903],\\\"mapped\\\",[5039]],[[43904,43904],\\\"mapped\\\",[5040]],[[43905,43905],\\\"mapped\\\",[5041]],[[43906,43906],\\\"mapped\\\",[5042]],[[43907,43907],\\\"mapped\\\",[5043]],[[43908,43908],\\\"mapped\\\",[5044]],[[43909,43909],\\\"mapped\\\",[5045]],[[43910,43910],\\\"mapped\\\",[5046]],[[43911,43911],\\\"mapped\\\",[5047]],[[43912,43912],\\\"mapped\\\",[5048]],[[43913,43913],\\\"mapped\\\",[5049]],[[43914,43914],\\\"mapped\\\",[5050]],[[43915,43915],\\\"mapped\\\",[5051]],[[43916,43916],\\\"mapped\\\",[5052]],[[43917,43917],\\\"mapped\\\",[5053]],[[43918,43918],\\\"mapped\\\",[5054]],[[43919,43919],\\\"mapped\\\",[5055]],[[43920,43920],\\\"mapped\\\",[5056]],[[43921,43921],\\\"mapped\\\",[5057]],[[43922,43922],\\\"mapped\\\",[5058]],[[43923,43923],\\\"mapped\\\",[5059]],[[43924,43924],\\\"mapped\\\",[5060]],[[43925,43925],\\\"mapped\\\",[5061]],[[43926,43926],\\\"mapped\\\",[5062]],[[43927,43927],\\\"mapped\\\",[5063]],[[43928,43928],\\\"mapped\\\",[5064]],[[43929,43929],\\\"mapped\\\",[5065]],[[43930,43930],\\\"mapped\\\",[5066]],[[43931,43931],\\\"mapped\\\",[5067]],[[43932,43932],\\\"mapped\\\",[5068]],[[43933,43933],\\\"mapped\\\",[5069]],[[43934,43934],\\\"mapped\\\",[5070]],[[43935,43935],\\\"mapped\\\",[5071]],[[43936,43936],\\\"mapped\\\",[5072]],[[43937,43937],\\\"mapped\\\",[5073]],[[43938,43938],\\\"mapped\\\",[5074]],[[43939,43939],\\\"mapped\\\",[5075]],[[43940,43940],\\\"mapped\\\",[5076]],[[43941,43941],\\\"mapped\\\",[5077]],[[43942,43942],\\\"mapped\\\",[5078]],[[43943,43943],\\\"mapped\\\",[5079]],[[43944,43944],\\\"mapped\\\",[5080]],[[43945,43945],\\\"mapped\\\",[5081]],[[43946,43946],\\\"mapped\\\",[5082]],[[43947,43947],\\\"mapped\\\",[5083]],[[43948,43948],\\\"mapped\\\",[5084]],[[43949,43949],\\\"mapped\\\",[5085]],[[43950,43950],\\\"mapped\\\",[5086]],[[43951,43951],\\\"mapped\\\",[5087]],[[43952,43952],\\\"mapped\\\",[5088]],[[43953,43953],\\\"mapped\\\",[5089]],[[43954,43954],\\\"mapped\\\",[5090]],[[43955,43955],\\\"mapped\\\",[5091]],[[43956,43956],\\\"mapped\\\",[5092]],[[43957,43957],\\\"mapped\\\",[5093]],[[43958,43958],\\\"mapped\\\",[5094]],[[43959,43959],\\\"mapped\\\",[5095]],[[43960,43960],\\\"mapped\\\",[5096]],[[43961,43961],\\\"mapped\\\",[5097]],[[43962,43962],\\\"mapped\\\",[5098]],[[43963,43963],\\\"mapped\\\",[5099]],[[43964,43964],\\\"mapped\\\",[5100]],[[43965,43965],\\\"mapped\\\",[5101]],[[43966,43966],\\\"mapped\\\",[5102]],[[43967,43967],\\\"mapped\\\",[5103]],[[43968,44010],\\\"valid\\\"],[[44011,44011],\\\"valid\\\",[],\\\"NV8\\\"],[[44012,44013],\\\"valid\\\"],[[44014,44015],\\\"disallowed\\\"],[[44016,44025],\\\"valid\\\"],[[44026,44031],\\\"disallowed\\\"],[[44032,55203],\\\"valid\\\"],[[55204,55215],\\\"disallowed\\\"],[[55216,55238],\\\"valid\\\",[],\\\"NV8\\\"],[[55239,55242],\\\"disallowed\\\"],[[55243,55291],\\\"valid\\\",[],\\\"NV8\\\"],[[55292,55295],\\\"disallowed\\\"],[[55296,57343],\\\"disallowed\\\"],[[57344,63743],\\\"disallowed\\\"],[[63744,63744],\\\"mapped\\\",[35912]],[[63745,63745],\\\"mapped\\\",[26356]],[[63746,63746],\\\"mapped\\\",[36554]],[[63747,63747],\\\"mapped\\\",[36040]],[[63748,63748],\\\"mapped\\\",[28369]],[[63749,63749],\\\"mapped\\\",[20018]],[[63750,63750],\\\"mapped\\\",[21477]],[[63751,63752],\\\"mapped\\\",[40860]],[[63753,63753],\\\"mapped\\\",[22865]],[[63754,63754],\\\"mapped\\\",[37329]],[[63755,63755],\\\"mapped\\\",[21895]],[[63756,63756],\\\"mapped\\\",[22856]],[[63757,63757],\\\"mapped\\\",[25078]],[[63758,63758],\\\"mapped\\\",[30313]],[[63759,63759],\\\"mapped\\\",[32645]],[[63760,63760],\\\"mapped\\\",[34367]],[[63761,63761],\\\"mapped\\\",[34746]],[[63762,63762],\\\"mapped\\\",[35064]],[[63763,63763],\\\"mapped\\\",[37007]],[[63764,63764],\\\"mapped\\\",[27138]],[[63765,63765],\\\"mapped\\\",[27931]],[[63766,63766],\\\"mapped\\\",[28889]],[[63767,63767],\\\"mapped\\\",[29662]],[[63768,63768],\\\"mapped\\\",[33853]],[[63769,63769],\\\"mapped\\\",[37226]],[[63770,63770],\\\"mapped\\\",[39409]],[[63771,63771],\\\"mapped\\\",[20098]],[[63772,63772],\\\"mapped\\\",[21365]],[[63773,63773],\\\"mapped\\\",[27396]],[[63774,63774],\\\"mapped\\\",[29211]],[[63775,63775],\\\"mapped\\\",[34349]],[[63776,63776],\\\"mapped\\\",[40478]],[[63777,63777],\\\"mapped\\\",[23888]],[[63778,63778],\\\"mapped\\\",[28651]],[[63779,63779],\\\"mapped\\\",[34253]],[[63780,63780],\\\"mapped\\\",[35172]],[[63781,63781],\\\"mapped\\\",[25289]],[[63782,63782],\\\"mapped\\\",[33240]],[[63783,63783],\\\"mapped\\\",[34847]],[[63784,63784],\\\"mapped\\\",[24266]],[[63785,63785],\\\"mapped\\\",[26391]],[[63786,63786],\\\"mapped\\\",[28010]],[[63787,63787],\\\"mapped\\\",[29436]],[[63788,63788],\\\"mapped\\\",[37070]],[[63789,63789],\\\"mapped\\\",[20358]],[[63790,63790],\\\"mapped\\\",[20919]],[[63791,63791],\\\"mapped\\\",[21214]],[[63792,63792],\\\"mapped\\\",[25796]],[[63793,63793],\\\"mapped\\\",[27347]],[[63794,63794],\\\"mapped\\\",[29200]],[[63795,63795],\\\"mapped\\\",[30439]],[[63796,63796],\\\"mapped\\\",[32769]],[[63797,63797],\\\"mapped\\\",[34310]],[[63798,63798],\\\"mapped\\\",[34396]],[[63799,63799],\\\"mapped\\\",[36335]],[[63800,63800],\\\"mapped\\\",[38706]],[[63801,63801],\\\"mapped\\\",[39791]],[[63802,63802],\\\"mapped\\\",[40442]],[[63803,63803],\\\"mapped\\\",[30860]],[[63804,63804],\\\"mapped\\\",[31103]],[[63805,63805],\\\"mapped\\\",[32160]],[[63806,63806],\\\"mapped\\\",[33737]],[[63807,63807],\\\"mapped\\\",[37636]],[[63808,63808],\\\"mapped\\\",[40575]],[[63809,63809],\\\"mapped\\\",[35542]],[[63810,63810],\\\"mapped\\\",[22751]],[[63811,63811],\\\"mapped\\\",[24324]],[[63812,63812],\\\"mapped\\\",[31840]],[[63813,63813],\\\"mapped\\\",[32894]],[[63814,63814],\\\"mapped\\\",[29282]],[[63815,63815],\\\"mapped\\\",[30922]],[[63816,63816],\\\"mapped\\\",[36034]],[[63817,63817],\\\"mapped\\\",[38647]],[[63818,63818],\\\"mapped\\\",[22744]],[[63819,63819],\\\"mapped\\\",[23650]],[[63820,63820],\\\"mapped\\\",[27155]],[[63821,63821],\\\"mapped\\\",[28122]],[[63822,63822],\\\"mapped\\\",[28431]],[[63823,63823],\\\"mapped\\\",[32047]],[[63824,63824],\\\"mapped\\\",[32311]],[[63825,63825],\\\"mapped\\\",[38475]],[[63826,63826],\\\"mapped\\\",[21202]],[[63827,63827],\\\"mapped\\\",[32907]],[[63828,63828],\\\"mapped\\\",[20956]],[[63829,63829],\\\"mapped\\\",[20940]],[[63830,63830],\\\"mapped\\\",[31260]],[[63831,63831],\\\"mapped\\\",[32190]],[[63832,63832],\\\"mapped\\\",[33777]],[[63833,63833],\\\"mapped\\\",[38517]],[[63834,63834],\\\"mapped\\\",[35712]],[[63835,63835],\\\"mapped\\\",[25295]],[[63836,63836],\\\"mapped\\\",[27138]],[[63837,63837],\\\"mapped\\\",[35582]],[[63838,63838],\\\"mapped\\\",[20025]],[[63839,63839],\\\"mapped\\\",[23527]],[[63840,63840],\\\"mapped\\\",[24594]],[[63841,63841],\\\"mapped\\\",[29575]],[[63842,63842],\\\"mapped\\\",[30064]],[[63843,63843],\\\"mapped\\\",[21271]],[[63844,63844],\\\"mapped\\\",[30971]],[[63845,63845],\\\"mapped\\\",[20415]],[[63846,63846],\\\"mapped\\\",[24489]],[[63847,63847],\\\"mapped\\\",[19981]],[[63848,63848],\\\"mapped\\\",[27852]],[[63849,63849],\\\"mapped\\\",[25976]],[[63850,63850],\\\"mapped\\\",[32034]],[[63851,63851],\\\"mapped\\\",[21443]],[[63852,63852],\\\"mapped\\\",[22622]],[[63853,63853],\\\"mapped\\\",[30465]],[[63854,63854],\\\"mapped\\\",[33865]],[[63855,63855],\\\"mapped\\\",[35498]],[[63856,63856],\\\"mapped\\\",[27578]],[[63857,63857],\\\"mapped\\\",[36784]],[[63858,63858],\\\"mapped\\\",[27784]],[[63859,63859],\\\"mapped\\\",[25342]],[[63860,63860],\\\"mapped\\\",[33509]],[[63861,63861],\\\"mapped\\\",[25504]],[[63862,63862],\\\"mapped\\\",[30053]],[[63863,63863],\\\"mapped\\\",[20142]],[[63864,63864],\\\"mapped\\\",[20841]],[[63865,63865],\\\"mapped\\\",[20937]],[[63866,63866],\\\"mapped\\\",[26753]],[[63867,63867],\\\"mapped\\\",[31975]],[[63868,63868],\\\"mapped\\\",[33391]],[[63869,63869],\\\"mapped\\\",[35538]],[[63870,63870],\\\"mapped\\\",[37327]],[[63871,63871],\\\"mapped\\\",[21237]],[[63872,63872],\\\"mapped\\\",[21570]],[[63873,63873],\\\"mapped\\\",[22899]],[[63874,63874],\\\"mapped\\\",[24300]],[[63875,63875],\\\"mapped\\\",[26053]],[[63876,63876],\\\"mapped\\\",[28670]],[[63877,63877],\\\"mapped\\\",[31018]],[[63878,63878],\\\"mapped\\\",[38317]],[[63879,63879],\\\"mapped\\\",[39530]],[[63880,63880],\\\"mapped\\\",[40599]],[[63881,63881],\\\"mapped\\\",[40654]],[[63882,63882],\\\"mapped\\\",[21147]],[[63883,63883],\\\"mapped\\\",[26310]],[[63884,63884],\\\"mapped\\\",[27511]],[[63885,63885],\\\"mapped\\\",[36706]],[[63886,63886],\\\"mapped\\\",[24180]],[[63887,63887],\\\"mapped\\\",[24976]],[[63888,63888],\\\"mapped\\\",[25088]],[[63889,63889],\\\"mapped\\\",[25754]],[[63890,63890],\\\"mapped\\\",[28451]],[[63891,63891],\\\"mapped\\\",[29001]],[[63892,63892],\\\"mapped\\\",[29833]],[[63893,63893],\\\"mapped\\\",[31178]],[[63894,63894],\\\"mapped\\\",[32244]],[[63895,63895],\\\"mapped\\\",[32879]],[[63896,63896],\\\"mapped\\\",[36646]],[[63897,63897],\\\"mapped\\\",[34030]],[[63898,63898],\\\"mapped\\\",[36899]],[[63899,63899],\\\"mapped\\\",[37706]],[[63900,63900],\\\"mapped\\\",[21015]],[[63901,63901],\\\"mapped\\\",[21155]],[[63902,63902],\\\"mapped\\\",[21693]],[[63903,63903],\\\"mapped\\\",[28872]],[[63904,63904],\\\"mapped\\\",[35010]],[[63905,63905],\\\"mapped\\\",[35498]],[[63906,63906],\\\"mapped\\\",[24265]],[[63907,63907],\\\"mapped\\\",[24565]],[[63908,63908],\\\"mapped\\\",[25467]],[[63909,63909],\\\"mapped\\\",[27566]],[[63910,63910],\\\"mapped\\\",[31806]],[[63911,63911],\\\"mapped\\\",[29557]],[[63912,63912],\\\"mapped\\\",[20196]],[[63913,63913],\\\"mapped\\\",[22265]],[[63914,63914],\\\"mapped\\\",[23527]],[[63915,63915],\\\"mapped\\\",[23994]],[[63916,63916],\\\"mapped\\\",[24604]],[[63917,63917],\\\"mapped\\\",[29618]],[[63918,63918],\\\"mapped\\\",[29801]],[[63919,63919],\\\"mapped\\\",[32666]],[[63920,63920],\\\"mapped\\\",[32838]],[[63921,63921],\\\"mapped\\\",[37428]],[[63922,63922],\\\"mapped\\\",[38646]],[[63923,63923],\\\"mapped\\\",[38728]],[[63924,63924],\\\"mapped\\\",[38936]],[[63925,63925],\\\"mapped\\\",[20363]],[[63926,63926],\\\"mapped\\\",[31150]],[[63927,63927],\\\"mapped\\\",[37300]],[[63928,63928],\\\"mapped\\\",[38584]],[[63929,63929],\\\"mapped\\\",[24801]],[[63930,63930],\\\"mapped\\\",[20102]],[[63931,63931],\\\"mapped\\\",[20698]],[[63932,63932],\\\"mapped\\\",[23534]],[[63933,63933],\\\"mapped\\\",[23615]],[[63934,63934],\\\"mapped\\\",[26009]],[[63935,63935],\\\"mapped\\\",[27138]],[[63936,63936],\\\"mapped\\\",[29134]],[[63937,63937],\\\"mapped\\\",[30274]],[[63938,63938],\\\"mapped\\\",[34044]],[[63939,63939],\\\"mapped\\\",[36988]],[[63940,63940],\\\"mapped\\\",[40845]],[[63941,63941],\\\"mapped\\\",[26248]],[[63942,63942],\\\"mapped\\\",[38446]],[[63943,63943],\\\"mapped\\\",[21129]],[[63944,63944],\\\"mapped\\\",[26491]],[[63945,63945],\\\"mapped\\\",[26611]],[[63946,63946],\\\"mapped\\\",[27969]],[[63947,63947],\\\"mapped\\\",[28316]],[[63948,63948],\\\"mapped\\\",[29705]],[[63949,63949],\\\"mapped\\\",[30041]],[[63950,63950],\\\"mapped\\\",[30827]],[[63951,63951],\\\"mapped\\\",[32016]],[[63952,63952],\\\"mapped\\\",[39006]],[[63953,63953],\\\"mapped\\\",[20845]],[[63954,63954],\\\"mapped\\\",[25134]],[[63955,63955],\\\"mapped\\\",[38520]],[[63956,63956],\\\"mapped\\\",[20523]],[[63957,63957],\\\"mapped\\\",[23833]],[[63958,63958],\\\"mapped\\\",[28138]],[[63959,63959],\\\"mapped\\\",[36650]],[[63960,63960],\\\"mapped\\\",[24459]],[[63961,63961],\\\"mapped\\\",[24900]],[[63962,63962],\\\"mapped\\\",[26647]],[[63963,63963],\\\"mapped\\\",[29575]],[[63964,63964],\\\"mapped\\\",[38534]],[[63965,63965],\\\"mapped\\\",[21033]],[[63966,63966],\\\"mapped\\\",[21519]],[[63967,63967],\\\"mapped\\\",[23653]],[[63968,63968],\\\"mapped\\\",[26131]],[[63969,63969],\\\"mapped\\\",[26446]],[[63970,63970],\\\"mapped\\\",[26792]],[[63971,63971],\\\"mapped\\\",[27877]],[[63972,63972],\\\"mapped\\\",[29702]],[[63973,63973],\\\"mapped\\\",[30178]],[[63974,63974],\\\"mapped\\\",[32633]],[[63975,63975],\\\"mapped\\\",[35023]],[[63976,63976],\\\"mapped\\\",[35041]],[[63977,63977],\\\"mapped\\\",[37324]],[[63978,63978],\\\"mapped\\\",[38626]],[[63979,63979],\\\"mapped\\\",[21311]],[[63980,63980],\\\"mapped\\\",[28346]],[[63981,63981],\\\"mapped\\\",[21533]],[[63982,63982],\\\"mapped\\\",[29136]],[[63983,63983],\\\"mapped\\\",[29848]],[[63984,63984],\\\"mapped\\\",[34298]],[[63985,63985],\\\"mapped\\\",[38563]],[[63986,63986],\\\"mapped\\\",[40023]],[[63987,63987],\\\"mapped\\\",[40607]],[[63988,63988],\\\"mapped\\\",[26519]],[[63989,63989],\\\"mapped\\\",[28107]],[[63990,63990],\\\"mapped\\\",[33256]],[[63991,63991],\\\"mapped\\\",[31435]],[[63992,63992],\\\"mapped\\\",[31520]],[[63993,63993],\\\"mapped\\\",[31890]],[[63994,63994],\\\"mapped\\\",[29376]],[[63995,63995],\\\"mapped\\\",[28825]],[[63996,63996],\\\"mapped\\\",[35672]],[[63997,63997],\\\"mapped\\\",[20160]],[[63998,63998],\\\"mapped\\\",[33590]],[[63999,63999],\\\"mapped\\\",[21050]],[[64000,64000],\\\"mapped\\\",[20999]],[[64001,64001],\\\"mapped\\\",[24230]],[[64002,64002],\\\"mapped\\\",[25299]],[[64003,64003],\\\"mapped\\\",[31958]],[[64004,64004],\\\"mapped\\\",[23429]],[[64005,64005],\\\"mapped\\\",[27934]],[[64006,64006],\\\"mapped\\\",[26292]],[[64007,64007],\\\"mapped\\\",[36667]],[[64008,64008],\\\"mapped\\\",[34892]],[[64009,64009],\\\"mapped\\\",[38477]],[[64010,64010],\\\"mapped\\\",[35211]],[[64011,64011],\\\"mapped\\\",[24275]],[[64012,64012],\\\"mapped\\\",[20800]],[[64013,64013],\\\"mapped\\\",[21952]],[[64014,64015],\\\"valid\\\"],[[64016,64016],\\\"mapped\\\",[22618]],[[64017,64017],\\\"valid\\\"],[[64018,64018],\\\"mapped\\\",[26228]],[[64019,64020],\\\"valid\\\"],[[64021,64021],\\\"mapped\\\",[20958]],[[64022,64022],\\\"mapped\\\",[29482]],[[64023,64023],\\\"mapped\\\",[30410]],[[64024,64024],\\\"mapped\\\",[31036]],[[64025,64025],\\\"mapped\\\",[31070]],[[64026,64026],\\\"mapped\\\",[31077]],[[64027,64027],\\\"mapped\\\",[31119]],[[64028,64028],\\\"mapped\\\",[38742]],[[64029,64029],\\\"mapped\\\",[31934]],[[64030,64030],\\\"mapped\\\",[32701]],[[64031,64031],\\\"valid\\\"],[[64032,64032],\\\"mapped\\\",[34322]],[[64033,64033],\\\"valid\\\"],[[64034,64034],\\\"mapped\\\",[35576]],[[64035,64036],\\\"valid\\\"],[[64037,64037],\\\"mapped\\\",[36920]],[[64038,64038],\\\"mapped\\\",[37117]],[[64039,64041],\\\"valid\\\"],[[64042,64042],\\\"mapped\\\",[39151]],[[64043,64043],\\\"mapped\\\",[39164]],[[64044,64044],\\\"mapped\\\",[39208]],[[64045,64045],\\\"mapped\\\",[40372]],[[64046,64046],\\\"mapped\\\",[37086]],[[64047,64047],\\\"mapped\\\",[38583]],[[64048,64048],\\\"mapped\\\",[20398]],[[64049,64049],\\\"mapped\\\",[20711]],[[64050,64050],\\\"mapped\\\",[20813]],[[64051,64051],\\\"mapped\\\",[21193]],[[64052,64052],\\\"mapped\\\",[21220]],[[64053,64053],\\\"mapped\\\",[21329]],[[64054,64054],\\\"mapped\\\",[21917]],[[64055,64055],\\\"mapped\\\",[22022]],[[64056,64056],\\\"mapped\\\",[22120]],[[64057,64057],\\\"mapped\\\",[22592]],[[64058,64058],\\\"mapped\\\",[22696]],[[64059,64059],\\\"mapped\\\",[23652]],[[64060,64060],\\\"mapped\\\",[23662]],[[64061,64061],\\\"mapped\\\",[24724]],[[64062,64062],\\\"mapped\\\",[24936]],[[64063,64063],\\\"mapped\\\",[24974]],[[64064,64064],\\\"mapped\\\",[25074]],[[64065,64065],\\\"mapped\\\",[25935]],[[64066,64066],\\\"mapped\\\",[26082]],[[64067,64067],\\\"mapped\\\",[26257]],[[64068,64068],\\\"mapped\\\",[26757]],[[64069,64069],\\\"mapped\\\",[28023]],[[64070,64070],\\\"mapped\\\",[28186]],[[64071,64071],\\\"mapped\\\",[28450]],[[64072,64072],\\\"mapped\\\",[29038]],[[64073,64073],\\\"mapped\\\",[29227]],[[64074,64074],\\\"mapped\\\",[29730]],[[64075,64075],\\\"mapped\\\",[30865]],[[64076,64076],\\\"mapped\\\",[31038]],[[64077,64077],\\\"mapped\\\",[31049]],[[64078,64078],\\\"mapped\\\",[31048]],[[64079,64079],\\\"mapped\\\",[31056]],[[64080,64080],\\\"mapped\\\",[31062]],[[64081,64081],\\\"mapped\\\",[31069]],[[64082,64082],\\\"mapped\\\",[31117]],[[64083,64083],\\\"mapped\\\",[31118]],[[64084,64084],\\\"mapped\\\",[31296]],[[64085,64085],\\\"mapped\\\",[31361]],[[64086,64086],\\\"mapped\\\",[31680]],[[64087,64087],\\\"mapped\\\",[32244]],[[64088,64088],\\\"mapped\\\",[32265]],[[64089,64089],\\\"mapped\\\",[32321]],[[64090,64090],\\\"mapped\\\",[32626]],[[64091,64091],\\\"mapped\\\",[32773]],[[64092,64092],\\\"mapped\\\",[33261]],[[64093,64094],\\\"mapped\\\",[33401]],[[64095,64095],\\\"mapped\\\",[33879]],[[64096,64096],\\\"mapped\\\",[35088]],[[64097,64097],\\\"mapped\\\",[35222]],[[64098,64098],\\\"mapped\\\",[35585]],[[64099,64099],\\\"mapped\\\",[35641]],[[64100,64100],\\\"mapped\\\",[36051]],[[64101,64101],\\\"mapped\\\",[36104]],[[64102,64102],\\\"mapped\\\",[36790]],[[64103,64103],\\\"mapped\\\",[36920]],[[64104,64104],\\\"mapped\\\",[38627]],[[64105,64105],\\\"mapped\\\",[38911]],[[64106,64106],\\\"mapped\\\",[38971]],[[64107,64107],\\\"mapped\\\",[24693]],[[64108,64108],\\\"mapped\\\",[148206]],[[64109,64109],\\\"mapped\\\",[33304]],[[64110,64111],\\\"disallowed\\\"],[[64112,64112],\\\"mapped\\\",[20006]],[[64113,64113],\\\"mapped\\\",[20917]],[[64114,64114],\\\"mapped\\\",[20840]],[[64115,64115],\\\"mapped\\\",[20352]],[[64116,64116],\\\"mapped\\\",[20805]],[[64117,64117],\\\"mapped\\\",[20864]],[[64118,64118],\\\"mapped\\\",[21191]],[[64119,64119],\\\"mapped\\\",[21242]],[[64120,64120],\\\"mapped\\\",[21917]],[[64121,64121],\\\"mapped\\\",[21845]],[[64122,64122],\\\"mapped\\\",[21913]],[[64123,64123],\\\"mapped\\\",[21986]],[[64124,64124],\\\"mapped\\\",[22618]],[[64125,64125],\\\"mapped\\\",[22707]],[[64126,64126],\\\"mapped\\\",[22852]],[[64127,64127],\\\"mapped\\\",[22868]],[[64128,64128],\\\"mapped\\\",[23138]],[[64129,64129],\\\"mapped\\\",[23336]],[[64130,64130],\\\"mapped\\\",[24274]],[[64131,64131],\\\"mapped\\\",[24281]],[[64132,64132],\\\"mapped\\\",[24425]],[[64133,64133],\\\"mapped\\\",[24493]],[[64134,64134],\\\"mapped\\\",[24792]],[[64135,64135],\\\"mapped\\\",[24910]],[[64136,64136],\\\"mapped\\\",[24840]],[[64137,64137],\\\"mapped\\\",[24974]],[[64138,64138],\\\"mapped\\\",[24928]],[[64139,64139],\\\"mapped\\\",[25074]],[[64140,64140],\\\"mapped\\\",[25140]],[[64141,64141],\\\"mapped\\\",[25540]],[[64142,64142],\\\"mapped\\\",[25628]],[[64143,64143],\\\"mapped\\\",[25682]],[[64144,64144],\\\"mapped\\\",[25942]],[[64145,64145],\\\"mapped\\\",[26228]],[[64146,64146],\\\"mapped\\\",[26391]],[[64147,64147],\\\"mapped\\\",[26395]],[[64148,64148],\\\"mapped\\\",[26454]],[[64149,64149],\\\"mapped\\\",[27513]],[[64150,64150],\\\"mapped\\\",[27578]],[[64151,64151],\\\"mapped\\\",[27969]],[[64152,64152],\\\"mapped\\\",[28379]],[[64153,64153],\\\"mapped\\\",[28363]],[[64154,64154],\\\"mapped\\\",[28450]],[[64155,64155],\\\"mapped\\\",[28702]],[[64156,64156],\\\"mapped\\\",[29038]],[[64157,64157],\\\"mapped\\\",[30631]],[[64158,64158],\\\"mapped\\\",[29237]],[[64159,64159],\\\"mapped\\\",[29359]],[[64160,64160],\\\"mapped\\\",[29482]],[[64161,64161],\\\"mapped\\\",[29809]],[[64162,64162],\\\"mapped\\\",[29958]],[[64163,64163],\\\"mapped\\\",[30011]],[[64164,64164],\\\"mapped\\\",[30237]],[[64165,64165],\\\"mapped\\\",[30239]],[[64166,64166],\\\"mapped\\\",[30410]],[[64167,64167],\\\"mapped\\\",[30427]],[[64168,64168],\\\"mapped\\\",[30452]],[[64169,64169],\\\"mapped\\\",[30538]],[[64170,64170],\\\"mapped\\\",[30528]],[[64171,64171],\\\"mapped\\\",[30924]],[[64172,64172],\\\"mapped\\\",[31409]],[[64173,64173],\\\"mapped\\\",[31680]],[[64174,64174],\\\"mapped\\\",[31867]],[[64175,64175],\\\"mapped\\\",[32091]],[[64176,64176],\\\"mapped\\\",[32244]],[[64177,64177],\\\"mapped\\\",[32574]],[[64178,64178],\\\"mapped\\\",[32773]],[[64179,64179],\\\"mapped\\\",[33618]],[[64180,64180],\\\"mapped\\\",[33775]],[[64181,64181],\\\"mapped\\\",[34681]],[[64182,64182],\\\"mapped\\\",[35137]],[[64183,64183],\\\"mapped\\\",[35206]],[[64184,64184],\\\"mapped\\\",[35222]],[[64185,64185],\\\"mapped\\\",[35519]],[[64186,64186],\\\"mapped\\\",[35576]],[[64187,64187],\\\"mapped\\\",[35531]],[[64188,64188],\\\"mapped\\\",[35585]],[[64189,64189],\\\"mapped\\\",[35582]],[[64190,64190],\\\"mapped\\\",[35565]],[[64191,64191],\\\"mapped\\\",[35641]],[[64192,64192],\\\"mapped\\\",[35722]],[[64193,64193],\\\"mapped\\\",[36104]],[[64194,64194],\\\"mapped\\\",[36664]],[[64195,64195],\\\"mapped\\\",[36978]],[[64196,64196],\\\"mapped\\\",[37273]],[[64197,64197],\\\"mapped\\\",[37494]],[[64198,64198],\\\"mapped\\\",[38524]],[[64199,64199],\\\"mapped\\\",[38627]],[[64200,64200],\\\"mapped\\\",[38742]],[[64201,64201],\\\"mapped\\\",[38875]],[[64202,64202],\\\"mapped\\\",[38911]],[[64203,64203],\\\"mapped\\\",[38923]],[[64204,64204],\\\"mapped\\\",[38971]],[[64205,64205],\\\"mapped\\\",[39698]],[[64206,64206],\\\"mapped\\\",[40860]],[[64207,64207],\\\"mapped\\\",[141386]],[[64208,64208],\\\"mapped\\\",[141380]],[[64209,64209],\\\"mapped\\\",[144341]],[[64210,64210],\\\"mapped\\\",[15261]],[[64211,64211],\\\"mapped\\\",[16408]],[[64212,64212],\\\"mapped\\\",[16441]],[[64213,64213],\\\"mapped\\\",[152137]],[[64214,64214],\\\"mapped\\\",[154832]],[[64215,64215],\\\"mapped\\\",[163539]],[[64216,64216],\\\"mapped\\\",[40771]],[[64217,64217],\\\"mapped\\\",[40846]],[[64218,64255],\\\"disallowed\\\"],[[64256,64256],\\\"mapped\\\",[102,102]],[[64257,64257],\\\"mapped\\\",[102,105]],[[64258,64258],\\\"mapped\\\",[102,108]],[[64259,64259],\\\"mapped\\\",[102,102,105]],[[64260,64260],\\\"mapped\\\",[102,102,108]],[[64261,64262],\\\"mapped\\\",[115,116]],[[64263,64274],\\\"disallowed\\\"],[[64275,64275],\\\"mapped\\\",[1396,1398]],[[64276,64276],\\\"mapped\\\",[1396,1381]],[[64277,64277],\\\"mapped\\\",[1396,1387]],[[64278,64278],\\\"mapped\\\",[1406,1398]],[[64279,64279],\\\"mapped\\\",[1396,1389]],[[64280,64284],\\\"disallowed\\\"],[[64285,64285],\\\"mapped\\\",[1497,1460]],[[64286,64286],\\\"valid\\\"],[[64287,64287],\\\"mapped\\\",[1522,1463]],[[64288,64288],\\\"mapped\\\",[1506]],[[64289,64289],\\\"mapped\\\",[1488]],[[64290,64290],\\\"mapped\\\",[1491]],[[64291,64291],\\\"mapped\\\",[1492]],[[64292,64292],\\\"mapped\\\",[1499]],[[64293,64293],\\\"mapped\\\",[1500]],[[64294,64294],\\\"mapped\\\",[1501]],[[64295,64295],\\\"mapped\\\",[1512]],[[64296,64296],\\\"mapped\\\",[1514]],[[64297,64297],\\\"disallowed_STD3_mapped\\\",[43]],[[64298,64298],\\\"mapped\\\",[1513,1473]],[[64299,64299],\\\"mapped\\\",[1513,1474]],[[64300,64300],\\\"mapped\\\",[1513,1468,1473]],[[64301,64301],\\\"mapped\\\",[1513,1468,1474]],[[64302,64302],\\\"mapped\\\",[1488,1463]],[[64303,64303],\\\"mapped\\\",[1488,1464]],[[64304,64304],\\\"mapped\\\",[1488,1468]],[[64305,64305],\\\"mapped\\\",[1489,1468]],[[64306,64306],\\\"mapped\\\",[1490,1468]],[[64307,64307],\\\"mapped\\\",[1491,1468]],[[64308,64308],\\\"mapped\\\",[1492,1468]],[[64309,64309],\\\"mapped\\\",[1493,1468]],[[64310,64310],\\\"mapped\\\",[1494,1468]],[[64311,64311],\\\"disallowed\\\"],[[64312,64312],\\\"mapped\\\",[1496,1468]],[[64313,64313],\\\"mapped\\\",[1497,1468]],[[64314,64314],\\\"mapped\\\",[1498,1468]],[[64315,64315],\\\"mapped\\\",[1499,1468]],[[64316,64316],\\\"mapped\\\",[1500,1468]],[[64317,64317],\\\"disallowed\\\"],[[64318,64318],\\\"mapped\\\",[1502,1468]],[[64319,64319],\\\"disallowed\\\"],[[64320,64320],\\\"mapped\\\",[1504,1468]],[[64321,64321],\\\"mapped\\\",[1505,1468]],[[64322,64322],\\\"disallowed\\\"],[[64323,64323],\\\"mapped\\\",[1507,1468]],[[64324,64324],\\\"mapped\\\",[1508,1468]],[[64325,64325],\\\"disallowed\\\"],[[64326,64326],\\\"mapped\\\",[1510,1468]],[[64327,64327],\\\"mapped\\\",[1511,1468]],[[64328,64328],\\\"mapped\\\",[1512,1468]],[[64329,64329],\\\"mapped\\\",[1513,1468]],[[64330,64330],\\\"mapped\\\",[1514,1468]],[[64331,64331],\\\"mapped\\\",[1493,1465]],[[64332,64332],\\\"mapped\\\",[1489,1471]],[[64333,64333],\\\"mapped\\\",[1499,1471]],[[64334,64334],\\\"mapped\\\",[1508,1471]],[[64335,64335],\\\"mapped\\\",[1488,1500]],[[64336,64337],\\\"mapped\\\",[1649]],[[64338,64341],\\\"mapped\\\",[1659]],[[64342,64345],\\\"mapped\\\",[1662]],[[64346,64349],\\\"mapped\\\",[1664]],[[64350,64353],\\\"mapped\\\",[1658]],[[64354,64357],\\\"mapped\\\",[1663]],[[64358,64361],\\\"mapped\\\",[1657]],[[64362,64365],\\\"mapped\\\",[1700]],[[64366,64369],\\\"mapped\\\",[1702]],[[64370,64373],\\\"mapped\\\",[1668]],[[64374,64377],\\\"mapped\\\",[1667]],[[64378,64381],\\\"mapped\\\",[1670]],[[64382,64385],\\\"mapped\\\",[1671]],[[64386,64387],\\\"mapped\\\",[1677]],[[64388,64389],\\\"mapped\\\",[1676]],[[64390,64391],\\\"mapped\\\",[1678]],[[64392,64393],\\\"mapped\\\",[1672]],[[64394,64395],\\\"mapped\\\",[1688]],[[64396,64397],\\\"mapped\\\",[1681]],[[64398,64401],\\\"mapped\\\",[1705]],[[64402,64405],\\\"mapped\\\",[1711]],[[64406,64409],\\\"mapped\\\",[1715]],[[64410,64413],\\\"mapped\\\",[1713]],[[64414,64415],\\\"mapped\\\",[1722]],[[64416,64419],\\\"mapped\\\",[1723]],[[64420,64421],\\\"mapped\\\",[1728]],[[64422,64425],\\\"mapped\\\",[1729]],[[64426,64429],\\\"mapped\\\",[1726]],[[64430,64431],\\\"mapped\\\",[1746]],[[64432,64433],\\\"mapped\\\",[1747]],[[64434,64449],\\\"valid\\\",[],\\\"NV8\\\"],[[64450,64466],\\\"disallowed\\\"],[[64467,64470],\\\"mapped\\\",[1709]],[[64471,64472],\\\"mapped\\\",[1735]],[[64473,64474],\\\"mapped\\\",[1734]],[[64475,64476],\\\"mapped\\\",[1736]],[[64477,64477],\\\"mapped\\\",[1735,1652]],[[64478,64479],\\\"mapped\\\",[1739]],[[64480,64481],\\\"mapped\\\",[1733]],[[64482,64483],\\\"mapped\\\",[1737]],[[64484,64487],\\\"mapped\\\",[1744]],[[64488,64489],\\\"mapped\\\",[1609]],[[64490,64491],\\\"mapped\\\",[1574,1575]],[[64492,64493],\\\"mapped\\\",[1574,1749]],[[64494,64495],\\\"mapped\\\",[1574,1608]],[[64496,64497],\\\"mapped\\\",[1574,1735]],[[64498,64499],\\\"mapped\\\",[1574,1734]],[[64500,64501],\\\"mapped\\\",[1574,1736]],[[64502,64504],\\\"mapped\\\",[1574,1744]],[[64505,64507],\\\"mapped\\\",[1574,1609]],[[64508,64511],\\\"mapped\\\",[1740]],[[64512,64512],\\\"mapped\\\",[1574,1580]],[[64513,64513],\\\"mapped\\\",[1574,1581]],[[64514,64514],\\\"mapped\\\",[1574,1605]],[[64515,64515],\\\"mapped\\\",[1574,1609]],[[64516,64516],\\\"mapped\\\",[1574,1610]],[[64517,64517],\\\"mapped\\\",[1576,1580]],[[64518,64518],\\\"mapped\\\",[1576,1581]],[[64519,64519],\\\"mapped\\\",[1576,1582]],[[64520,64520],\\\"mapped\\\",[1576,1605]],[[64521,64521],\\\"mapped\\\",[1576,1609]],[[64522,64522],\\\"mapped\\\",[1576,1610]],[[64523,64523],\\\"mapped\\\",[1578,1580]],[[64524,64524],\\\"mapped\\\",[1578,1581]],[[64525,64525],\\\"mapped\\\",[1578,1582]],[[64526,64526],\\\"mapped\\\",[1578,1605]],[[64527,64527],\\\"mapped\\\",[1578,1609]],[[64528,64528],\\\"mapped\\\",[1578,1610]],[[64529,64529],\\\"mapped\\\",[1579,1580]],[[64530,64530],\\\"mapped\\\",[1579,1605]],[[64531,64531],\\\"mapped\\\",[1579,1609]],[[64532,64532],\\\"mapped\\\",[1579,1610]],[[64533,64533],\\\"mapped\\\",[1580,1581]],[[64534,64534],\\\"mapped\\\",[1580,1605]],[[64535,64535],\\\"mapped\\\",[1581,1580]],[[64536,64536],\\\"mapped\\\",[1581,1605]],[[64537,64537],\\\"mapped\\\",[1582,1580]],[[64538,64538],\\\"mapped\\\",[1582,1581]],[[64539,64539],\\\"mapped\\\",[1582,1605]],[[64540,64540],\\\"mapped\\\",[1587,1580]],[[64541,64541],\\\"mapped\\\",[1587,1581]],[[64542,64542],\\\"mapped\\\",[1587,1582]],[[64543,64543],\\\"mapped\\\",[1587,1605]],[[64544,64544],\\\"mapped\\\",[1589,1581]],[[64545,64545],\\\"mapped\\\",[1589,1605]],[[64546,64546],\\\"mapped\\\",[1590,1580]],[[64547,64547],\\\"mapped\\\",[1590,1581]],[[64548,64548],\\\"mapped\\\",[1590,1582]],[[64549,64549],\\\"mapped\\\",[1590,1605]],[[64550,64550],\\\"mapped\\\",[1591,1581]],[[64551,64551],\\\"mapped\\\",[1591,1605]],[[64552,64552],\\\"mapped\\\",[1592,1605]],[[64553,64553],\\\"mapped\\\",[1593,1580]],[[64554,64554],\\\"mapped\\\",[1593,1605]],[[64555,64555],\\\"mapped\\\",[1594,1580]],[[64556,64556],\\\"mapped\\\",[1594,1605]],[[64557,64557],\\\"mapped\\\",[1601,1580]],[[64558,64558],\\\"mapped\\\",[1601,1581]],[[64559,64559],\\\"mapped\\\",[1601,1582]],[[64560,64560],\\\"mapped\\\",[1601,1605]],[[64561,64561],\\\"mapped\\\",[1601,1609]],[[64562,64562],\\\"mapped\\\",[1601,1610]],[[64563,64563],\\\"mapped\\\",[1602,1581]],[[64564,64564],\\\"mapped\\\",[1602,1605]],[[64565,64565],\\\"mapped\\\",[1602,1609]],[[64566,64566],\\\"mapped\\\",[1602,1610]],[[64567,64567],\\\"mapped\\\",[1603,1575]],[[64568,64568],\\\"mapped\\\",[1603,1580]],[[64569,64569],\\\"mapped\\\",[1603,1581]],[[64570,64570],\\\"mapped\\\",[1603,1582]],[[64571,64571],\\\"mapped\\\",[1603,1604]],[[64572,64572],\\\"mapped\\\",[1603,1605]],[[64573,64573],\\\"mapped\\\",[1603,1609]],[[64574,64574],\\\"mapped\\\",[1603,1610]],[[64575,64575],\\\"mapped\\\",[1604,1580]],[[64576,64576],\\\"mapped\\\",[1604,1581]],[[64577,64577],\\\"mapped\\\",[1604,1582]],[[64578,64578],\\\"mapped\\\",[1604,1605]],[[64579,64579],\\\"mapped\\\",[1604,1609]],[[64580,64580],\\\"mapped\\\",[1604,1610]],[[64581,64581],\\\"mapped\\\",[1605,1580]],[[64582,64582],\\\"mapped\\\",[1605,1581]],[[64583,64583],\\\"mapped\\\",[1605,1582]],[[64584,64584],\\\"mapped\\\",[1605,1605]],[[64585,64585],\\\"mapped\\\",[1605,1609]],[[64586,64586],\\\"mapped\\\",[1605,1610]],[[64587,64587],\\\"mapped\\\",[1606,1580]],[[64588,64588],\\\"mapped\\\",[1606,1581]],[[64589,64589],\\\"mapped\\\",[1606,1582]],[[64590,64590],\\\"mapped\\\",[1606,1605]],[[64591,64591],\\\"mapped\\\",[1606,1609]],[[64592,64592],\\\"mapped\\\",[1606,1610]],[[64593,64593],\\\"mapped\\\",[1607,1580]],[[64594,64594],\\\"mapped\\\",[1607,1605]],[[64595,64595],\\\"mapped\\\",[1607,1609]],[[64596,64596],\\\"mapped\\\",[1607,1610]],[[64597,64597],\\\"mapped\\\",[1610,1580]],[[64598,64598],\\\"mapped\\\",[1610,1581]],[[64599,64599],\\\"mapped\\\",[1610,1582]],[[64600,64600],\\\"mapped\\\",[1610,1605]],[[64601,64601],\\\"mapped\\\",[1610,1609]],[[64602,64602],\\\"mapped\\\",[1610,1610]],[[64603,64603],\\\"mapped\\\",[1584,1648]],[[64604,64604],\\\"mapped\\\",[1585,1648]],[[64605,64605],\\\"mapped\\\",[1609,1648]],[[64606,64606],\\\"disallowed_STD3_mapped\\\",[32,1612,1617]],[[64607,64607],\\\"disallowed_STD3_mapped\\\",[32,1613,1617]],[[64608,64608],\\\"disallowed_STD3_mapped\\\",[32,1614,1617]],[[64609,64609],\\\"disallowed_STD3_mapped\\\",[32,1615,1617]],[[64610,64610],\\\"disallowed_STD3_mapped\\\",[32,1616,1617]],[[64611,64611],\\\"disallowed_STD3_mapped\\\",[32,1617,1648]],[[64612,64612],\\\"mapped\\\",[1574,1585]],[[64613,64613],\\\"mapped\\\",[1574,1586]],[[64614,64614],\\\"mapped\\\",[1574,1605]],[[64615,64615],\\\"mapped\\\",[1574,1606]],[[64616,64616],\\\"mapped\\\",[1574,1609]],[[64617,64617],\\\"mapped\\\",[1574,1610]],[[64618,64618],\\\"mapped\\\",[1576,1585]],[[64619,64619],\\\"mapped\\\",[1576,1586]],[[64620,64620],\\\"mapped\\\",[1576,1605]],[[64621,64621],\\\"mapped\\\",[1576,1606]],[[64622,64622],\\\"mapped\\\",[1576,1609]],[[64623,64623],\\\"mapped\\\",[1576,1610]],[[64624,64624],\\\"mapped\\\",[1578,1585]],[[64625,64625],\\\"mapped\\\",[1578,1586]],[[64626,64626],\\\"mapped\\\",[1578,1605]],[[64627,64627],\\\"mapped\\\",[1578,1606]],[[64628,64628],\\\"mapped\\\",[1578,1609]],[[64629,64629],\\\"mapped\\\",[1578,1610]],[[64630,64630],\\\"mapped\\\",[1579,1585]],[[64631,64631],\\\"mapped\\\",[1579,1586]],[[64632,64632],\\\"mapped\\\",[1579,1605]],[[64633,64633],\\\"mapped\\\",[1579,1606]],[[64634,64634],\\\"mapped\\\",[1579,1609]],[[64635,64635],\\\"mapped\\\",[1579,1610]],[[64636,64636],\\\"mapped\\\",[1601,1609]],[[64637,64637],\\\"mapped\\\",[1601,1610]],[[64638,64638],\\\"mapped\\\",[1602,1609]],[[64639,64639],\\\"mapped\\\",[1602,1610]],[[64640,64640],\\\"mapped\\\",[1603,1575]],[[64641,64641],\\\"mapped\\\",[1603,1604]],[[64642,64642],\\\"mapped\\\",[1603,1605]],[[64643,64643],\\\"mapped\\\",[1603,1609]],[[64644,64644],\\\"mapped\\\",[1603,1610]],[[64645,64645],\\\"mapped\\\",[1604,1605]],[[64646,64646],\\\"mapped\\\",[1604,1609]],[[64647,64647],\\\"mapped\\\",[1604,1610]],[[64648,64648],\\\"mapped\\\",[1605,1575]],[[64649,64649],\\\"mapped\\\",[1605,1605]],[[64650,64650],\\\"mapped\\\",[1606,1585]],[[64651,64651],\\\"mapped\\\",[1606,1586]],[[64652,64652],\\\"mapped\\\",[1606,1605]],[[64653,64653],\\\"mapped\\\",[1606,1606]],[[64654,64654],\\\"mapped\\\",[1606,1609]],[[64655,64655],\\\"mapped\\\",[1606,1610]],[[64656,64656],\\\"mapped\\\",[1609,1648]],[[64657,64657],\\\"mapped\\\",[1610,1585]],[[64658,64658],\\\"mapped\\\",[1610,1586]],[[64659,64659],\\\"mapped\\\",[1610,1605]],[[64660,64660],\\\"mapped\\\",[1610,1606]],[[64661,64661],\\\"mapped\\\",[1610,1609]],[[64662,64662],\\\"mapped\\\",[1610,1610]],[[64663,64663],\\\"mapped\\\",[1574,1580]],[[64664,64664],\\\"mapped\\\",[1574,1581]],[[64665,64665],\\\"mapped\\\",[1574,1582]],[[64666,64666],\\\"mapped\\\",[1574,1605]],[[64667,64667],\\\"mapped\\\",[1574,1607]],[[64668,64668],\\\"mapped\\\",[1576,1580]],[[64669,64669],\\\"mapped\\\",[1576,1581]],[[64670,64670],\\\"mapped\\\",[1576,1582]],[[64671,64671],\\\"mapped\\\",[1576,1605]],[[64672,64672],\\\"mapped\\\",[1576,1607]],[[64673,64673],\\\"mapped\\\",[1578,1580]],[[64674,64674],\\\"mapped\\\",[1578,1581]],[[64675,64675],\\\"mapped\\\",[1578,1582]],[[64676,64676],\\\"mapped\\\",[1578,1605]],[[64677,64677],\\\"mapped\\\",[1578,1607]],[[64678,64678],\\\"mapped\\\",[1579,1605]],[[64679,64679],\\\"mapped\\\",[1580,1581]],[[64680,64680],\\\"mapped\\\",[1580,1605]],[[64681,64681],\\\"mapped\\\",[1581,1580]],[[64682,64682],\\\"mapped\\\",[1581,1605]],[[64683,64683],\\\"mapped\\\",[1582,1580]],[[64684,64684],\\\"mapped\\\",[1582,1605]],[[64685,64685],\\\"mapped\\\",[1587,1580]],[[64686,64686],\\\"mapped\\\",[1587,1581]],[[64687,64687],\\\"mapped\\\",[1587,1582]],[[64688,64688],\\\"mapped\\\",[1587,1605]],[[64689,64689],\\\"mapped\\\",[1589,1581]],[[64690,64690],\\\"mapped\\\",[1589,1582]],[[64691,64691],\\\"mapped\\\",[1589,1605]],[[64692,64692],\\\"mapped\\\",[1590,1580]],[[64693,64693],\\\"mapped\\\",[1590,1581]],[[64694,64694],\\\"mapped\\\",[1590,1582]],[[64695,64695],\\\"mapped\\\",[1590,1605]],[[64696,64696],\\\"mapped\\\",[1591,1581]],[[64697,64697],\\\"mapped\\\",[1592,1605]],[[64698,64698],\\\"mapped\\\",[1593,1580]],[[64699,64699],\\\"mapped\\\",[1593,1605]],[[64700,64700],\\\"mapped\\\",[1594,1580]],[[64701,64701],\\\"mapped\\\",[1594,1605]],[[64702,64702],\\\"mapped\\\",[1601,1580]],[[64703,64703],\\\"mapped\\\",[1601,1581]],[[64704,64704],\\\"mapped\\\",[1601,1582]],[[64705,64705],\\\"mapped\\\",[1601,1605]],[[64706,64706],\\\"mapped\\\",[1602,1581]],[[64707,64707],\\\"mapped\\\",[1602,1605]],[[64708,64708],\\\"mapped\\\",[1603,1580]],[[64709,64709],\\\"mapped\\\",[1603,1581]],[[64710,64710],\\\"mapped\\\",[1603,1582]],[[64711,64711],\\\"mapped\\\",[1603,1604]],[[64712,64712],\\\"mapped\\\",[1603,1605]],[[64713,64713],\\\"mapped\\\",[1604,1580]],[[64714,64714],\\\"mapped\\\",[1604,1581]],[[64715,64715],\\\"mapped\\\",[1604,1582]],[[64716,64716],\\\"mapped\\\",[1604,1605]],[[64717,64717],\\\"mapped\\\",[1604,1607]],[[64718,64718],\\\"mapped\\\",[1605,1580]],[[64719,64719],\\\"mapped\\\",[1605,1581]],[[64720,64720],\\\"mapped\\\",[1605,1582]],[[64721,64721],\\\"mapped\\\",[1605,1605]],[[64722,64722],\\\"mapped\\\",[1606,1580]],[[64723,64723],\\\"mapped\\\",[1606,1581]],[[64724,64724],\\\"mapped\\\",[1606,1582]],[[64725,64725],\\\"mapped\\\",[1606,1605]],[[64726,64726],\\\"mapped\\\",[1606,1607]],[[64727,64727],\\\"mapped\\\",[1607,1580]],[[64728,64728],\\\"mapped\\\",[1607,1605]],[[64729,64729],\\\"mapped\\\",[1607,1648]],[[64730,64730],\\\"mapped\\\",[1610,1580]],[[64731,64731],\\\"mapped\\\",[1610,1581]],[[64732,64732],\\\"mapped\\\",[1610,1582]],[[64733,64733],\\\"mapped\\\",[1610,1605]],[[64734,64734],\\\"mapped\\\",[1610,1607]],[[64735,64735],\\\"mapped\\\",[1574,1605]],[[64736,64736],\\\"mapped\\\",[1574,1607]],[[64737,64737],\\\"mapped\\\",[1576,1605]],[[64738,64738],\\\"mapped\\\",[1576,1607]],[[64739,64739],\\\"mapped\\\",[1578,1605]],[[64740,64740],\\\"mapped\\\",[1578,1607]],[[64741,64741],\\\"mapped\\\",[1579,1605]],[[64742,64742],\\\"mapped\\\",[1579,1607]],[[64743,64743],\\\"mapped\\\",[1587,1605]],[[64744,64744],\\\"mapped\\\",[1587,1607]],[[64745,64745],\\\"mapped\\\",[1588,1605]],[[64746,64746],\\\"mapped\\\",[1588,1607]],[[64747,64747],\\\"mapped\\\",[1603,1604]],[[64748,64748],\\\"mapped\\\",[1603,1605]],[[64749,64749],\\\"mapped\\\",[1604,1605]],[[64750,64750],\\\"mapped\\\",[1606,1605]],[[64751,64751],\\\"mapped\\\",[1606,1607]],[[64752,64752],\\\"mapped\\\",[1610,1605]],[[64753,64753],\\\"mapped\\\",[1610,1607]],[[64754,64754],\\\"mapped\\\",[1600,1614,1617]],[[64755,64755],\\\"mapped\\\",[1600,1615,1617]],[[64756,64756],\\\"mapped\\\",[1600,1616,1617]],[[64757,64757],\\\"mapped\\\",[1591,1609]],[[64758,64758],\\\"mapped\\\",[1591,1610]],[[64759,64759],\\\"mapped\\\",[1593,1609]],[[64760,64760],\\\"mapped\\\",[1593,1610]],[[64761,64761],\\\"mapped\\\",[1594,1609]],[[64762,64762],\\\"mapped\\\",[1594,1610]],[[64763,64763],\\\"mapped\\\",[1587,1609]],[[64764,64764],\\\"mapped\\\",[1587,1610]],[[64765,64765],\\\"mapped\\\",[1588,1609]],[[64766,64766],\\\"mapped\\\",[1588,1610]],[[64767,64767],\\\"mapped\\\",[1581,1609]],[[64768,64768],\\\"mapped\\\",[1581,1610]],[[64769,64769],\\\"mapped\\\",[1580,1609]],[[64770,64770],\\\"mapped\\\",[1580,1610]],[[64771,64771],\\\"mapped\\\",[1582,1609]],[[64772,64772],\\\"mapped\\\",[1582,1610]],[[64773,64773],\\\"mapped\\\",[1589,1609]],[[64774,64774],\\\"mapped\\\",[1589,1610]],[[64775,64775],\\\"mapped\\\",[1590,1609]],[[64776,64776],\\\"mapped\\\",[1590,1610]],[[64777,64777],\\\"mapped\\\",[1588,1580]],[[64778,64778],\\\"mapped\\\",[1588,1581]],[[64779,64779],\\\"mapped\\\",[1588,1582]],[[64780,64780],\\\"mapped\\\",[1588,1605]],[[64781,64781],\\\"mapped\\\",[1588,1585]],[[64782,64782],\\\"mapped\\\",[1587,1585]],[[64783,64783],\\\"mapped\\\",[1589,1585]],[[64784,64784],\\\"mapped\\\",[1590,1585]],[[64785,64785],\\\"mapped\\\",[1591,1609]],[[64786,64786],\\\"mapped\\\",[1591,1610]],[[64787,64787],\\\"mapped\\\",[1593,1609]],[[64788,64788],\\\"mapped\\\",[1593,1610]],[[64789,64789],\\\"mapped\\\",[1594,1609]],[[64790,64790],\\\"mapped\\\",[1594,1610]],[[64791,64791],\\\"mapped\\\",[1587,1609]],[[64792,64792],\\\"mapped\\\",[1587,1610]],[[64793,64793],\\\"mapped\\\",[1588,1609]],[[64794,64794],\\\"mapped\\\",[1588,1610]],[[64795,64795],\\\"mapped\\\",[1581,1609]],[[64796,64796],\\\"mapped\\\",[1581,1610]],[[64797,64797],\\\"mapped\\\",[1580,1609]],[[64798,64798],\\\"mapped\\\",[1580,1610]],[[64799,64799],\\\"mapped\\\",[1582,1609]],[[64800,64800],\\\"mapped\\\",[1582,1610]],[[64801,64801],\\\"mapped\\\",[1589,1609]],[[64802,64802],\\\"mapped\\\",[1589,1610]],[[64803,64803],\\\"mapped\\\",[1590,1609]],[[64804,64804],\\\"mapped\\\",[1590,1610]],[[64805,64805],\\\"mapped\\\",[1588,1580]],[[64806,64806],\\\"mapped\\\",[1588,1581]],[[64807,64807],\\\"mapped\\\",[1588,1582]],[[64808,64808],\\\"mapped\\\",[1588,1605]],[[64809,64809],\\\"mapped\\\",[1588,1585]],[[64810,64810],\\\"mapped\\\",[1587,1585]],[[64811,64811],\\\"mapped\\\",[1589,1585]],[[64812,64812],\\\"mapped\\\",[1590,1585]],[[64813,64813],\\\"mapped\\\",[1588,1580]],[[64814,64814],\\\"mapped\\\",[1588,1581]],[[64815,64815],\\\"mapped\\\",[1588,1582]],[[64816,64816],\\\"mapped\\\",[1588,1605]],[[64817,64817],\\\"mapped\\\",[1587,1607]],[[64818,64818],\\\"mapped\\\",[1588,1607]],[[64819,64819],\\\"mapped\\\",[1591,1605]],[[64820,64820],\\\"mapped\\\",[1587,1580]],[[64821,64821],\\\"mapped\\\",[1587,1581]],[[64822,64822],\\\"mapped\\\",[1587,1582]],[[64823,64823],\\\"mapped\\\",[1588,1580]],[[64824,64824],\\\"mapped\\\",[1588,1581]],[[64825,64825],\\\"mapped\\\",[1588,1582]],[[64826,64826],\\\"mapped\\\",[1591,1605]],[[64827,64827],\\\"mapped\\\",[1592,1605]],[[64828,64829],\\\"mapped\\\",[1575,1611]],[[64830,64831],\\\"valid\\\",[],\\\"NV8\\\"],[[64832,64847],\\\"disallowed\\\"],[[64848,64848],\\\"mapped\\\",[1578,1580,1605]],[[64849,64850],\\\"mapped\\\",[1578,1581,1580]],[[64851,64851],\\\"mapped\\\",[1578,1581,1605]],[[64852,64852],\\\"mapped\\\",[1578,1582,1605]],[[64853,64853],\\\"mapped\\\",[1578,1605,1580]],[[64854,64854],\\\"mapped\\\",[1578,1605,1581]],[[64855,64855],\\\"mapped\\\",[1578,1605,1582]],[[64856,64857],\\\"mapped\\\",[1580,1605,1581]],[[64858,64858],\\\"mapped\\\",[1581,1605,1610]],[[64859,64859],\\\"mapped\\\",[1581,1605,1609]],[[64860,64860],\\\"mapped\\\",[1587,1581,1580]],[[64861,64861],\\\"mapped\\\",[1587,1580,1581]],[[64862,64862],\\\"mapped\\\",[1587,1580,1609]],[[64863,64864],\\\"mapped\\\",[1587,1605,1581]],[[64865,64865],\\\"mapped\\\",[1587,1605,1580]],[[64866,64867],\\\"mapped\\\",[1587,1605,1605]],[[64868,64869],\\\"mapped\\\",[1589,1581,1581]],[[64870,64870],\\\"mapped\\\",[1589,1605,1605]],[[64871,64872],\\\"mapped\\\",[1588,1581,1605]],[[64873,64873],\\\"mapped\\\",[1588,1580,1610]],[[64874,64875],\\\"mapped\\\",[1588,1605,1582]],[[64876,64877],\\\"mapped\\\",[1588,1605,1605]],[[64878,64878],\\\"mapped\\\",[1590,1581,1609]],[[64879,64880],\\\"mapped\\\",[1590,1582,1605]],[[64881,64882],\\\"mapped\\\",[1591,1605,1581]],[[64883,64883],\\\"mapped\\\",[1591,1605,1605]],[[64884,64884],\\\"mapped\\\",[1591,1605,1610]],[[64885,64885],\\\"mapped\\\",[1593,1580,1605]],[[64886,64887],\\\"mapped\\\",[1593,1605,1605]],[[64888,64888],\\\"mapped\\\",[1593,1605,1609]],[[64889,64889],\\\"mapped\\\",[1594,1605,1605]],[[64890,64890],\\\"mapped\\\",[1594,1605,1610]],[[64891,64891],\\\"mapped\\\",[1594,1605,1609]],[[64892,64893],\\\"mapped\\\",[1601,1582,1605]],[[64894,64894],\\\"mapped\\\",[1602,1605,1581]],[[64895,64895],\\\"mapped\\\",[1602,1605,1605]],[[64896,64896],\\\"mapped\\\",[1604,1581,1605]],[[64897,64897],\\\"mapped\\\",[1604,1581,1610]],[[64898,64898],\\\"mapped\\\",[1604,1581,1609]],[[64899,64900],\\\"mapped\\\",[1604,1580,1580]],[[64901,64902],\\\"mapped\\\",[1604,1582,1605]],[[64903,64904],\\\"mapped\\\",[1604,1605,1581]],[[64905,64905],\\\"mapped\\\",[1605,1581,1580]],[[64906,64906],\\\"mapped\\\",[1605,1581,1605]],[[64907,64907],\\\"mapped\\\",[1605,1581,1610]],[[64908,64908],\\\"mapped\\\",[1605,1580,1581]],[[64909,64909],\\\"mapped\\\",[1605,1580,1605]],[[64910,64910],\\\"mapped\\\",[1605,1582,1580]],[[64911,64911],\\\"mapped\\\",[1605,1582,1605]],[[64912,64913],\\\"disallowed\\\"],[[64914,64914],\\\"mapped\\\",[1605,1580,1582]],[[64915,64915],\\\"mapped\\\",[1607,1605,1580]],[[64916,64916],\\\"mapped\\\",[1607,1605,1605]],[[64917,64917],\\\"mapped\\\",[1606,1581,1605]],[[64918,64918],\\\"mapped\\\",[1606,1581,1609]],[[64919,64920],\\\"mapped\\\",[1606,1580,1605]],[[64921,64921],\\\"mapped\\\",[1606,1580,1609]],[[64922,64922],\\\"mapped\\\",[1606,1605,1610]],[[64923,64923],\\\"mapped\\\",[1606,1605,1609]],[[64924,64925],\\\"mapped\\\",[1610,1605,1605]],[[64926,64926],\\\"mapped\\\",[1576,1582,1610]],[[64927,64927],\\\"mapped\\\",[1578,1580,1610]],[[64928,64928],\\\"mapped\\\",[1578,1580,1609]],[[64929,64929],\\\"mapped\\\",[1578,1582,1610]],[[64930,64930],\\\"mapped\\\",[1578,1582,1609]],[[64931,64931],\\\"mapped\\\",[1578,1605,1610]],[[64932,64932],\\\"mapped\\\",[1578,1605,1609]],[[64933,64933],\\\"mapped\\\",[1580,1605,1610]],[[64934,64934],\\\"mapped\\\",[1580,1581,1609]],[[64935,64935],\\\"mapped\\\",[1580,1605,1609]],[[64936,64936],\\\"mapped\\\",[1587,1582,1609]],[[64937,64937],\\\"mapped\\\",[1589,1581,1610]],[[64938,64938],\\\"mapped\\\",[1588,1581,1610]],[[64939,64939],\\\"mapped\\\",[1590,1581,1610]],[[64940,64940],\\\"mapped\\\",[1604,1580,1610]],[[64941,64941],\\\"mapped\\\",[1604,1605,1610]],[[64942,64942],\\\"mapped\\\",[1610,1581,1610]],[[64943,64943],\\\"mapped\\\",[1610,1580,1610]],[[64944,64944],\\\"mapped\\\",[1610,1605,1610]],[[64945,64945],\\\"mapped\\\",[1605,1605,1610]],[[64946,64946],\\\"mapped\\\",[1602,1605,1610]],[[64947,64947],\\\"mapped\\\",[1606,1581,1610]],[[64948,64948],\\\"mapped\\\",[1602,1605,1581]],[[64949,64949],\\\"mapped\\\",[1604,1581,1605]],[[64950,64950],\\\"mapped\\\",[1593,1605,1610]],[[64951,64951],\\\"mapped\\\",[1603,1605,1610]],[[64952,64952],\\\"mapped\\\",[1606,1580,1581]],[[64953,64953],\\\"mapped\\\",[1605,1582,1610]],[[64954,64954],\\\"mapped\\\",[1604,1580,1605]],[[64955,64955],\\\"mapped\\\",[1603,1605,1605]],[[64956,64956],\\\"mapped\\\",[1604,1580,1605]],[[64957,64957],\\\"mapped\\\",[1606,1580,1581]],[[64958,64958],\\\"mapped\\\",[1580,1581,1610]],[[64959,64959],\\\"mapped\\\",[1581,1580,1610]],[[64960,64960],\\\"mapped\\\",[1605,1580,1610]],[[64961,64961],\\\"mapped\\\",[1601,1605,1610]],[[64962,64962],\\\"mapped\\\",[1576,1581,1610]],[[64963,64963],\\\"mapped\\\",[1603,1605,1605]],[[64964,64964],\\\"mapped\\\",[1593,1580,1605]],[[64965,64965],\\\"mapped\\\",[1589,1605,1605]],[[64966,64966],\\\"mapped\\\",[1587,1582,1610]],[[64967,64967],\\\"mapped\\\",[1606,1580,1610]],[[64968,64975],\\\"disallowed\\\"],[[64976,65007],\\\"disallowed\\\"],[[65008,65008],\\\"mapped\\\",[1589,1604,1746]],[[65009,65009],\\\"mapped\\\",[1602,1604,1746]],[[65010,65010],\\\"mapped\\\",[1575,1604,1604,1607]],[[65011,65011],\\\"mapped\\\",[1575,1603,1576,1585]],[[65012,65012],\\\"mapped\\\",[1605,1581,1605,1583]],[[65013,65013],\\\"mapped\\\",[1589,1604,1593,1605]],[[65014,65014],\\\"mapped\\\",[1585,1587,1608,1604]],[[65015,65015],\\\"mapped\\\",[1593,1604,1610,1607]],[[65016,65016],\\\"mapped\\\",[1608,1587,1604,1605]],[[65017,65017],\\\"mapped\\\",[1589,1604,1609]],[[65018,65018],\\\"disallowed_STD3_mapped\\\",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],\\\"disallowed_STD3_mapped\\\",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],\\\"mapped\\\",[1585,1740,1575,1604]],[[65021,65021],\\\"valid\\\",[],\\\"NV8\\\"],[[65022,65023],\\\"disallowed\\\"],[[65024,65039],\\\"ignored\\\"],[[65040,65040],\\\"disallowed_STD3_mapped\\\",[44]],[[65041,65041],\\\"mapped\\\",[12289]],[[65042,65042],\\\"disallowed\\\"],[[65043,65043],\\\"disallowed_STD3_mapped\\\",[58]],[[65044,65044],\\\"disallowed_STD3_mapped\\\",[59]],[[65045,65045],\\\"disallowed_STD3_mapped\\\",[33]],[[65046,65046],\\\"disallowed_STD3_mapped\\\",[63]],[[65047,65047],\\\"mapped\\\",[12310]],[[65048,65048],\\\"mapped\\\",[12311]],[[65049,65049],\\\"disallowed\\\"],[[65050,65055],\\\"disallowed\\\"],[[65056,65059],\\\"valid\\\"],[[65060,65062],\\\"valid\\\"],[[65063,65069],\\\"valid\\\"],[[65070,65071],\\\"valid\\\"],[[65072,65072],\\\"disallowed\\\"],[[65073,65073],\\\"mapped\\\",[8212]],[[65074,65074],\\\"mapped\\\",[8211]],[[65075,65076],\\\"disallowed_STD3_mapped\\\",[95]],[[65077,65077],\\\"disallowed_STD3_mapped\\\",[40]],[[65078,65078],\\\"disallowed_STD3_mapped\\\",[41]],[[65079,65079],\\\"disallowed_STD3_mapped\\\",[123]],[[65080,65080],\\\"disallowed_STD3_mapped\\\",[125]],[[65081,65081],\\\"mapped\\\",[12308]],[[65082,65082],\\\"mapped\\\",[12309]],[[65083,65083],\\\"mapped\\\",[12304]],[[65084,65084],\\\"mapped\\\",[12305]],[[65085,65085],\\\"mapped\\\",[12298]],[[65086,65086],\\\"mapped\\\",[12299]],[[65087,65087],\\\"mapped\\\",[12296]],[[65088,65088],\\\"mapped\\\",[12297]],[[65089,65089],\\\"mapped\\\",[12300]],[[65090,65090],\\\"mapped\\\",[12301]],[[65091,65091],\\\"mapped\\\",[12302]],[[65092,65092],\\\"mapped\\\",[12303]],[[65093,65094],\\\"valid\\\",[],\\\"NV8\\\"],[[65095,65095],\\\"disallowed_STD3_mapped\\\",[91]],[[65096,65096],\\\"disallowed_STD3_mapped\\\",[93]],[[65097,65100],\\\"disallowed_STD3_mapped\\\",[32,773]],[[65101,65103],\\\"disallowed_STD3_mapped\\\",[95]],[[65104,65104],\\\"disallowed_STD3_mapped\\\",[44]],[[65105,65105],\\\"mapped\\\",[12289]],[[65106,65106],\\\"disallowed\\\"],[[65107,65107],\\\"disallowed\\\"],[[65108,65108],\\\"disallowed_STD3_mapped\\\",[59]],[[65109,65109],\\\"disallowed_STD3_mapped\\\",[58]],[[65110,65110],\\\"disallowed_STD3_mapped\\\",[63]],[[65111,65111],\\\"disallowed_STD3_mapped\\\",[33]],[[65112,65112],\\\"mapped\\\",[8212]],[[65113,65113],\\\"disallowed_STD3_mapped\\\",[40]],[[65114,65114],\\\"disallowed_STD3_mapped\\\",[41]],[[65115,65115],\\\"disallowed_STD3_mapped\\\",[123]],[[65116,65116],\\\"disallowed_STD3_mapped\\\",[125]],[[65117,65117],\\\"mapped\\\",[12308]],[[65118,65118],\\\"mapped\\\",[12309]],[[65119,65119],\\\"disallowed_STD3_mapped\\\",[35]],[[65120,65120],\\\"disallowed_STD3_mapped\\\",[38]],[[65121,65121],\\\"disallowed_STD3_mapped\\\",[42]],[[65122,65122],\\\"disallowed_STD3_mapped\\\",[43]],[[65123,65123],\\\"mapped\\\",[45]],[[65124,65124],\\\"disallowed_STD3_mapped\\\",[60]],[[65125,65125],\\\"disallowed_STD3_mapped\\\",[62]],[[65126,65126],\\\"disallowed_STD3_mapped\\\",[61]],[[65127,65127],\\\"disallowed\\\"],[[65128,65128],\\\"disallowed_STD3_mapped\\\",[92]],[[65129,65129],\\\"disallowed_STD3_mapped\\\",[36]],[[65130,65130],\\\"disallowed_STD3_mapped\\\",[37]],[[65131,65131],\\\"disallowed_STD3_mapped\\\",[64]],[[65132,65135],\\\"disallowed\\\"],[[65136,65136],\\\"disallowed_STD3_mapped\\\",[32,1611]],[[65137,65137],\\\"mapped\\\",[1600,1611]],[[65138,65138],\\\"disallowed_STD3_mapped\\\",[32,1612]],[[65139,65139],\\\"valid\\\"],[[65140,65140],\\\"disallowed_STD3_mapped\\\",[32,1613]],[[65141,65141],\\\"disallowed\\\"],[[65142,65142],\\\"disallowed_STD3_mapped\\\",[32,1614]],[[65143,65143],\\\"mapped\\\",[1600,1614]],[[65144,65144],\\\"disallowed_STD3_mapped\\\",[32,1615]],[[65145,65145],\\\"mapped\\\",[1600,1615]],[[65146,65146],\\\"disallowed_STD3_mapped\\\",[32,1616]],[[65147,65147],\\\"mapped\\\",[1600,1616]],[[65148,65148],\\\"disallowed_STD3_mapped\\\",[32,1617]],[[65149,65149],\\\"mapped\\\",[1600,1617]],[[65150,65150],\\\"disallowed_STD3_mapped\\\",[32,1618]],[[65151,65151],\\\"mapped\\\",[1600,1618]],[[65152,65152],\\\"mapped\\\",[1569]],[[65153,65154],\\\"mapped\\\",[1570]],[[65155,65156],\\\"mapped\\\",[1571]],[[65157,65158],\\\"mapped\\\",[1572]],[[65159,65160],\\\"mapped\\\",[1573]],[[65161,65164],\\\"mapped\\\",[1574]],[[65165,65166],\\\"mapped\\\",[1575]],[[65167,65170],\\\"mapped\\\",[1576]],[[65171,65172],\\\"mapped\\\",[1577]],[[65173,65176],\\\"mapped\\\",[1578]],[[65177,65180],\\\"mapped\\\",[1579]],[[65181,65184],\\\"mapped\\\",[1580]],[[65185,65188],\\\"mapped\\\",[1581]],[[65189,65192],\\\"mapped\\\",[1582]],[[65193,65194],\\\"mapped\\\",[1583]],[[65195,65196],\\\"mapped\\\",[1584]],[[65197,65198],\\\"mapped\\\",[1585]],[[65199,65200],\\\"mapped\\\",[1586]],[[65201,65204],\\\"mapped\\\",[1587]],[[65205,65208],\\\"mapped\\\",[1588]],[[65209,65212],\\\"mapped\\\",[1589]],[[65213,65216],\\\"mapped\\\",[1590]],[[65217,65220],\\\"mapped\\\",[1591]],[[65221,65224],\\\"mapped\\\",[1592]],[[65225,65228],\\\"mapped\\\",[1593]],[[65229,65232],\\\"mapped\\\",[1594]],[[65233,65236],\\\"mapped\\\",[1601]],[[65237,65240],\\\"mapped\\\",[1602]],[[65241,65244],\\\"mapped\\\",[1603]],[[65245,65248],\\\"mapped\\\",[1604]],[[65249,65252],\\\"mapped\\\",[1605]],[[65253,65256],\\\"mapped\\\",[1606]],[[65257,65260],\\\"mapped\\\",[1607]],[[65261,65262],\\\"mapped\\\",[1608]],[[65263,65264],\\\"mapped\\\",[1609]],[[65265,65268],\\\"mapped\\\",[1610]],[[65269,65270],\\\"mapped\\\",[1604,1570]],[[65271,65272],\\\"mapped\\\",[1604,1571]],[[65273,65274],\\\"mapped\\\",[1604,1573]],[[65275,65276],\\\"mapped\\\",[1604,1575]],[[65277,65278],\\\"disallowed\\\"],[[65279,65279],\\\"ignored\\\"],[[65280,65280],\\\"disallowed\\\"],[[65281,65281],\\\"disallowed_STD3_mapped\\\",[33]],[[65282,65282],\\\"disallowed_STD3_mapped\\\",[34]],[[65283,65283],\\\"disallowed_STD3_mapped\\\",[35]],[[65284,65284],\\\"disallowed_STD3_mapped\\\",[36]],[[65285,65285],\\\"disallowed_STD3_mapped\\\",[37]],[[65286,65286],\\\"disallowed_STD3_mapped\\\",[38]],[[65287,65287],\\\"disallowed_STD3_mapped\\\",[39]],[[65288,65288],\\\"disallowed_STD3_mapped\\\",[40]],[[65289,65289],\\\"disallowed_STD3_mapped\\\",[41]],[[65290,65290],\\\"disallowed_STD3_mapped\\\",[42]],[[65291,65291],\\\"disallowed_STD3_mapped\\\",[43]],[[65292,65292],\\\"disallowed_STD3_mapped\\\",[44]],[[65293,65293],\\\"mapped\\\",[45]],[[65294,65294],\\\"mapped\\\",[46]],[[65295,65295],\\\"disallowed_STD3_mapped\\\",[47]],[[65296,65296],\\\"mapped\\\",[48]],[[65297,65297],\\\"mapped\\\",[49]],[[65298,65298],\\\"mapped\\\",[50]],[[65299,65299],\\\"mapped\\\",[51]],[[65300,65300],\\\"mapped\\\",[52]],[[65301,65301],\\\"mapped\\\",[53]],[[65302,65302],\\\"mapped\\\",[54]],[[65303,65303],\\\"mapped\\\",[55]],[[65304,65304],\\\"mapped\\\",[56]],[[65305,65305],\\\"mapped\\\",[57]],[[65306,65306],\\\"disallowed_STD3_mapped\\\",[58]],[[65307,65307],\\\"disallowed_STD3_mapped\\\",[59]],[[65308,65308],\\\"disallowed_STD3_mapped\\\",[60]],[[65309,65309],\\\"disallowed_STD3_mapped\\\",[61]],[[65310,65310],\\\"disallowed_STD3_mapped\\\",[62]],[[65311,65311],\\\"disallowed_STD3_mapped\\\",[63]],[[65312,65312],\\\"disallowed_STD3_mapped\\\",[64]],[[65313,65313],\\\"mapped\\\",[97]],[[65314,65314],\\\"mapped\\\",[98]],[[65315,65315],\\\"mapped\\\",[99]],[[65316,65316],\\\"mapped\\\",[100]],[[65317,65317],\\\"mapped\\\",[101]],[[65318,65318],\\\"mapped\\\",[102]],[[65319,65319],\\\"mapped\\\",[103]],[[65320,65320],\\\"mapped\\\",[104]],[[65321,65321],\\\"mapped\\\",[105]],[[65322,65322],\\\"mapped\\\",[106]],[[65323,65323],\\\"mapped\\\",[107]],[[65324,65324],\\\"mapped\\\",[108]],[[65325,65325],\\\"mapped\\\",[109]],[[65326,65326],\\\"mapped\\\",[110]],[[65327,65327],\\\"mapped\\\",[111]],[[65328,65328],\\\"mapped\\\",[112]],[[65329,65329],\\\"mapped\\\",[113]],[[65330,65330],\\\"mapped\\\",[114]],[[65331,65331],\\\"mapped\\\",[115]],[[65332,65332],\\\"mapped\\\",[116]],[[65333,65333],\\\"mapped\\\",[117]],[[65334,65334],\\\"mapped\\\",[118]],[[65335,65335],\\\"mapped\\\",[119]],[[65336,65336],\\\"mapped\\\",[120]],[[65337,65337],\\\"mapped\\\",[121]],[[65338,65338],\\\"mapped\\\",[122]],[[65339,65339],\\\"disallowed_STD3_mapped\\\",[91]],[[65340,65340],\\\"disallowed_STD3_mapped\\\",[92]],[[65341,65341],\\\"disallowed_STD3_mapped\\\",[93]],[[65342,65342],\\\"disallowed_STD3_mapped\\\",[94]],[[65343,65343],\\\"disallowed_STD3_mapped\\\",[95]],[[65344,65344],\\\"disallowed_STD3_mapped\\\",[96]],[[65345,65345],\\\"mapped\\\",[97]],[[65346,65346],\\\"mapped\\\",[98]],[[65347,65347],\\\"mapped\\\",[99]],[[65348,65348],\\\"mapped\\\",[100]],[[65349,65349],\\\"mapped\\\",[101]],[[65350,65350],\\\"mapped\\\",[102]],[[65351,65351],\\\"mapped\\\",[103]],[[65352,65352],\\\"mapped\\\",[104]],[[65353,65353],\\\"mapped\\\",[105]],[[65354,65354],\\\"mapped\\\",[106]],[[65355,65355],\\\"mapped\\\",[107]],[[65356,65356],\\\"mapped\\\",[108]],[[65357,65357],\\\"mapped\\\",[109]],[[65358,65358],\\\"mapped\\\",[110]],[[65359,65359],\\\"mapped\\\",[111]],[[65360,65360],\\\"mapped\\\",[112]],[[65361,65361],\\\"mapped\\\",[113]],[[65362,65362],\\\"mapped\\\",[114]],[[65363,65363],\\\"mapped\\\",[115]],[[65364,65364],\\\"mapped\\\",[116]],[[65365,65365],\\\"mapped\\\",[117]],[[65366,65366],\\\"mapped\\\",[118]],[[65367,65367],\\\"mapped\\\",[119]],[[65368,65368],\\\"mapped\\\",[120]],[[65369,65369],\\\"mapped\\\",[121]],[[65370,65370],\\\"mapped\\\",[122]],[[65371,65371],\\\"disallowed_STD3_mapped\\\",[123]],[[65372,65372],\\\"disallowed_STD3_mapped\\\",[124]],[[65373,65373],\\\"disallowed_STD3_mapped\\\",[125]],[[65374,65374],\\\"disallowed_STD3_mapped\\\",[126]],[[65375,65375],\\\"mapped\\\",[10629]],[[65376,65376],\\\"mapped\\\",[10630]],[[65377,65377],\\\"mapped\\\",[46]],[[65378,65378],\\\"mapped\\\",[12300]],[[65379,65379],\\\"mapped\\\",[12301]],[[65380,65380],\\\"mapped\\\",[12289]],[[65381,65381],\\\"mapped\\\",[12539]],[[65382,65382],\\\"mapped\\\",[12530]],[[65383,65383],\\\"mapped\\\",[12449]],[[65384,65384],\\\"mapped\\\",[12451]],[[65385,65385],\\\"mapped\\\",[12453]],[[65386,65386],\\\"mapped\\\",[12455]],[[65387,65387],\\\"mapped\\\",[12457]],[[65388,65388],\\\"mapped\\\",[12515]],[[65389,65389],\\\"mapped\\\",[12517]],[[65390,65390],\\\"mapped\\\",[12519]],[[65391,65391],\\\"mapped\\\",[12483]],[[65392,65392],\\\"mapped\\\",[12540]],[[65393,65393],\\\"mapped\\\",[12450]],[[65394,65394],\\\"mapped\\\",[12452]],[[65395,65395],\\\"mapped\\\",[12454]],[[65396,65396],\\\"mapped\\\",[12456]],[[65397,65397],\\\"mapped\\\",[12458]],[[65398,65398],\\\"mapped\\\",[12459]],[[65399,65399],\\\"mapped\\\",[12461]],[[65400,65400],\\\"mapped\\\",[12463]],[[65401,65401],\\\"mapped\\\",[12465]],[[65402,65402],\\\"mapped\\\",[12467]],[[65403,65403],\\\"mapped\\\",[12469]],[[65404,65404],\\\"mapped\\\",[12471]],[[65405,65405],\\\"mapped\\\",[12473]],[[65406,65406],\\\"mapped\\\",[12475]],[[65407,65407],\\\"mapped\\\",[12477]],[[65408,65408],\\\"mapped\\\",[12479]],[[65409,65409],\\\"mapped\\\",[12481]],[[65410,65410],\\\"mapped\\\",[12484]],[[65411,65411],\\\"mapped\\\",[12486]],[[65412,65412],\\\"mapped\\\",[12488]],[[65413,65413],\\\"mapped\\\",[12490]],[[65414,65414],\\\"mapped\\\",[12491]],[[65415,65415],\\\"mapped\\\",[12492]],[[65416,65416],\\\"mapped\\\",[12493]],[[65417,65417],\\\"mapped\\\",[12494]],[[65418,65418],\\\"mapped\\\",[12495]],[[65419,65419],\\\"mapped\\\",[12498]],[[65420,65420],\\\"mapped\\\",[12501]],[[65421,65421],\\\"mapped\\\",[12504]],[[65422,65422],\\\"mapped\\\",[12507]],[[65423,65423],\\\"mapped\\\",[12510]],[[65424,65424],\\\"mapped\\\",[12511]],[[65425,65425],\\\"mapped\\\",[12512]],[[65426,65426],\\\"mapped\\\",[12513]],[[65427,65427],\\\"mapped\\\",[12514]],[[65428,65428],\\\"mapped\\\",[12516]],[[65429,65429],\\\"mapped\\\",[12518]],[[65430,65430],\\\"mapped\\\",[12520]],[[65431,65431],\\\"mapped\\\",[12521]],[[65432,65432],\\\"mapped\\\",[12522]],[[65433,65433],\\\"mapped\\\",[12523]],[[65434,65434],\\\"mapped\\\",[12524]],[[65435,65435],\\\"mapped\\\",[12525]],[[65436,65436],\\\"mapped\\\",[12527]],[[65437,65437],\\\"mapped\\\",[12531]],[[65438,65438],\\\"mapped\\\",[12441]],[[65439,65439],\\\"mapped\\\",[12442]],[[65440,65440],\\\"disallowed\\\"],[[65441,65441],\\\"mapped\\\",[4352]],[[65442,65442],\\\"mapped\\\",[4353]],[[65443,65443],\\\"mapped\\\",[4522]],[[65444,65444],\\\"mapped\\\",[4354]],[[65445,65445],\\\"mapped\\\",[4524]],[[65446,65446],\\\"mapped\\\",[4525]],[[65447,65447],\\\"mapped\\\",[4355]],[[65448,65448],\\\"mapped\\\",[4356]],[[65449,65449],\\\"mapped\\\",[4357]],[[65450,65450],\\\"mapped\\\",[4528]],[[65451,65451],\\\"mapped\\\",[4529]],[[65452,65452],\\\"mapped\\\",[4530]],[[65453,65453],\\\"mapped\\\",[4531]],[[65454,65454],\\\"mapped\\\",[4532]],[[65455,65455],\\\"mapped\\\",[4533]],[[65456,65456],\\\"mapped\\\",[4378]],[[65457,65457],\\\"mapped\\\",[4358]],[[65458,65458],\\\"mapped\\\",[4359]],[[65459,65459],\\\"mapped\\\",[4360]],[[65460,65460],\\\"mapped\\\",[4385]],[[65461,65461],\\\"mapped\\\",[4361]],[[65462,65462],\\\"mapped\\\",[4362]],[[65463,65463],\\\"mapped\\\",[4363]],[[65464,65464],\\\"mapped\\\",[4364]],[[65465,65465],\\\"mapped\\\",[4365]],[[65466,65466],\\\"mapped\\\",[4366]],[[65467,65467],\\\"mapped\\\",[4367]],[[65468,65468],\\\"mapped\\\",[4368]],[[65469,65469],\\\"mapped\\\",[4369]],[[65470,65470],\\\"mapped\\\",[4370]],[[65471,65473],\\\"disallowed\\\"],[[65474,65474],\\\"mapped\\\",[4449]],[[65475,65475],\\\"mapped\\\",[4450]],[[65476,65476],\\\"mapped\\\",[4451]],[[65477,65477],\\\"mapped\\\",[4452]],[[65478,65478],\\\"mapped\\\",[4453]],[[65479,65479],\\\"mapped\\\",[4454]],[[65480,65481],\\\"disallowed\\\"],[[65482,65482],\\\"mapped\\\",[4455]],[[65483,65483],\\\"mapped\\\",[4456]],[[65484,65484],\\\"mapped\\\",[4457]],[[65485,65485],\\\"mapped\\\",[4458]],[[65486,65486],\\\"mapped\\\",[4459]],[[65487,65487],\\\"mapped\\\",[4460]],[[65488,65489],\\\"disallowed\\\"],[[65490,65490],\\\"mapped\\\",[4461]],[[65491,65491],\\\"mapped\\\",[4462]],[[65492,65492],\\\"mapped\\\",[4463]],[[65493,65493],\\\"mapped\\\",[4464]],[[65494,65494],\\\"mapped\\\",[4465]],[[65495,65495],\\\"mapped\\\",[4466]],[[65496,65497],\\\"disallowed\\\"],[[65498,65498],\\\"mapped\\\",[4467]],[[65499,65499],\\\"mapped\\\",[4468]],[[65500,65500],\\\"mapped\\\",[4469]],[[65501,65503],\\\"disallowed\\\"],[[65504,65504],\\\"mapped\\\",[162]],[[65505,65505],\\\"mapped\\\",[163]],[[65506,65506],\\\"mapped\\\",[172]],[[65507,65507],\\\"disallowed_STD3_mapped\\\",[32,772]],[[65508,65508],\\\"mapped\\\",[166]],[[65509,65509],\\\"mapped\\\",[165]],[[65510,65510],\\\"mapped\\\",[8361]],[[65511,65511],\\\"disallowed\\\"],[[65512,65512],\\\"mapped\\\",[9474]],[[65513,65513],\\\"mapped\\\",[8592]],[[65514,65514],\\\"mapped\\\",[8593]],[[65515,65515],\\\"mapped\\\",[8594]],[[65516,65516],\\\"mapped\\\",[8595]],[[65517,65517],\\\"mapped\\\",[9632]],[[65518,65518],\\\"mapped\\\",[9675]],[[65519,65528],\\\"disallowed\\\"],[[65529,65531],\\\"disallowed\\\"],[[65532,65532],\\\"disallowed\\\"],[[65533,65533],\\\"disallowed\\\"],[[65534,65535],\\\"disallowed\\\"],[[65536,65547],\\\"valid\\\"],[[65548,65548],\\\"disallowed\\\"],[[65549,65574],\\\"valid\\\"],[[65575,65575],\\\"disallowed\\\"],[[65576,65594],\\\"valid\\\"],[[65595,65595],\\\"disallowed\\\"],[[65596,65597],\\\"valid\\\"],[[65598,65598],\\\"disallowed\\\"],[[65599,65613],\\\"valid\\\"],[[65614,65615],\\\"disallowed\\\"],[[65616,65629],\\\"valid\\\"],[[65630,65663],\\\"disallowed\\\"],[[65664,65786],\\\"valid\\\"],[[65787,65791],\\\"disallowed\\\"],[[65792,65794],\\\"valid\\\",[],\\\"NV8\\\"],[[65795,65798],\\\"disallowed\\\"],[[65799,65843],\\\"valid\\\",[],\\\"NV8\\\"],[[65844,65846],\\\"disallowed\\\"],[[65847,65855],\\\"valid\\\",[],\\\"NV8\\\"],[[65856,65930],\\\"valid\\\",[],\\\"NV8\\\"],[[65931,65932],\\\"valid\\\",[],\\\"NV8\\\"],[[65933,65935],\\\"disallowed\\\"],[[65936,65947],\\\"valid\\\",[],\\\"NV8\\\"],[[65948,65951],\\\"disallowed\\\"],[[65952,65952],\\\"valid\\\",[],\\\"NV8\\\"],[[65953,65999],\\\"disallowed\\\"],[[66000,66044],\\\"valid\\\",[],\\\"NV8\\\"],[[66045,66045],\\\"valid\\\"],[[66046,66175],\\\"disallowed\\\"],[[66176,66204],\\\"valid\\\"],[[66205,66207],\\\"disallowed\\\"],[[66208,66256],\\\"valid\\\"],[[66257,66271],\\\"disallowed\\\"],[[66272,66272],\\\"valid\\\"],[[66273,66299],\\\"valid\\\",[],\\\"NV8\\\"],[[66300,66303],\\\"disallowed\\\"],[[66304,66334],\\\"valid\\\"],[[66335,66335],\\\"valid\\\"],[[66336,66339],\\\"valid\\\",[],\\\"NV8\\\"],[[66340,66351],\\\"disallowed\\\"],[[66352,66368],\\\"valid\\\"],[[66369,66369],\\\"valid\\\",[],\\\"NV8\\\"],[[66370,66377],\\\"valid\\\"],[[66378,66378],\\\"valid\\\",[],\\\"NV8\\\"],[[66379,66383],\\\"disallowed\\\"],[[66384,66426],\\\"valid\\\"],[[66427,66431],\\\"disallowed\\\"],[[66432,66461],\\\"valid\\\"],[[66462,66462],\\\"disallowed\\\"],[[66463,66463],\\\"valid\\\",[],\\\"NV8\\\"],[[66464,66499],\\\"valid\\\"],[[66500,66503],\\\"disallowed\\\"],[[66504,66511],\\\"valid\\\"],[[66512,66517],\\\"valid\\\",[],\\\"NV8\\\"],[[66518,66559],\\\"disallowed\\\"],[[66560,66560],\\\"mapped\\\",[66600]],[[66561,66561],\\\"mapped\\\",[66601]],[[66562,66562],\\\"mapped\\\",[66602]],[[66563,66563],\\\"mapped\\\",[66603]],[[66564,66564],\\\"mapped\\\",[66604]],[[66565,66565],\\\"mapped\\\",[66605]],[[66566,66566],\\\"mapped\\\",[66606]],[[66567,66567],\\\"mapped\\\",[66607]],[[66568,66568],\\\"mapped\\\",[66608]],[[66569,66569],\\\"mapped\\\",[66609]],[[66570,66570],\\\"mapped\\\",[66610]],[[66571,66571],\\\"mapped\\\",[66611]],[[66572,66572],\\\"mapped\\\",[66612]],[[66573,66573],\\\"mapped\\\",[66613]],[[66574,66574],\\\"mapped\\\",[66614]],[[66575,66575],\\\"mapped\\\",[66615]],[[66576,66576],\\\"mapped\\\",[66616]],[[66577,66577],\\\"mapped\\\",[66617]],[[66578,66578],\\\"mapped\\\",[66618]],[[66579,66579],\\\"mapped\\\",[66619]],[[66580,66580],\\\"mapped\\\",[66620]],[[66581,66581],\\\"mapped\\\",[66621]],[[66582,66582],\\\"mapped\\\",[66622]],[[66583,66583],\\\"mapped\\\",[66623]],[[66584,66584],\\\"mapped\\\",[66624]],[[66585,66585],\\\"mapped\\\",[66625]],[[66586,66586],\\\"mapped\\\",[66626]],[[66587,66587],\\\"mapped\\\",[66627]],[[66588,66588],\\\"mapped\\\",[66628]],[[66589,66589],\\\"mapped\\\",[66629]],[[66590,66590],\\\"mapped\\\",[66630]],[[66591,66591],\\\"mapped\\\",[66631]],[[66592,66592],\\\"mapped\\\",[66632]],[[66593,66593],\\\"mapped\\\",[66633]],[[66594,66594],\\\"mapped\\\",[66634]],[[66595,66595],\\\"mapped\\\",[66635]],[[66596,66596],\\\"mapped\\\",[66636]],[[66597,66597],\\\"mapped\\\",[66637]],[[66598,66598],\\\"mapped\\\",[66638]],[[66599,66599],\\\"mapped\\\",[66639]],[[66600,66637],\\\"valid\\\"],[[66638,66717],\\\"valid\\\"],[[66718,66719],\\\"disallowed\\\"],[[66720,66729],\\\"valid\\\"],[[66730,66815],\\\"disallowed\\\"],[[66816,66855],\\\"valid\\\"],[[66856,66863],\\\"disallowed\\\"],[[66864,66915],\\\"valid\\\"],[[66916,66926],\\\"disallowed\\\"],[[66927,66927],\\\"valid\\\",[],\\\"NV8\\\"],[[66928,67071],\\\"disallowed\\\"],[[67072,67382],\\\"valid\\\"],[[67383,67391],\\\"disallowed\\\"],[[67392,67413],\\\"valid\\\"],[[67414,67423],\\\"disallowed\\\"],[[67424,67431],\\\"valid\\\"],[[67432,67583],\\\"disallowed\\\"],[[67584,67589],\\\"valid\\\"],[[67590,67591],\\\"disallowed\\\"],[[67592,67592],\\\"valid\\\"],[[67593,67593],\\\"disallowed\\\"],[[67594,67637],\\\"valid\\\"],[[67638,67638],\\\"disallowed\\\"],[[67639,67640],\\\"valid\\\"],[[67641,67643],\\\"disallowed\\\"],[[67644,67644],\\\"valid\\\"],[[67645,67646],\\\"disallowed\\\"],[[67647,67647],\\\"valid\\\"],[[67648,67669],\\\"valid\\\"],[[67670,67670],\\\"disallowed\\\"],[[67671,67679],\\\"valid\\\",[],\\\"NV8\\\"],[[67680,67702],\\\"valid\\\"],[[67703,67711],\\\"valid\\\",[],\\\"NV8\\\"],[[67712,67742],\\\"valid\\\"],[[67743,67750],\\\"disallowed\\\"],[[67751,67759],\\\"valid\\\",[],\\\"NV8\\\"],[[67760,67807],\\\"disallowed\\\"],[[67808,67826],\\\"valid\\\"],[[67827,67827],\\\"disallowed\\\"],[[67828,67829],\\\"valid\\\"],[[67830,67834],\\\"disallowed\\\"],[[67835,67839],\\\"valid\\\",[],\\\"NV8\\\"],[[67840,67861],\\\"valid\\\"],[[67862,67865],\\\"valid\\\",[],\\\"NV8\\\"],[[67866,67867],\\\"valid\\\",[],\\\"NV8\\\"],[[67868,67870],\\\"disallowed\\\"],[[67871,67871],\\\"valid\\\",[],\\\"NV8\\\"],[[67872,67897],\\\"valid\\\"],[[67898,67902],\\\"disallowed\\\"],[[67903,67903],\\\"valid\\\",[],\\\"NV8\\\"],[[67904,67967],\\\"disallowed\\\"],[[67968,68023],\\\"valid\\\"],[[68024,68027],\\\"disallowed\\\"],[[68028,68029],\\\"valid\\\",[],\\\"NV8\\\"],[[68030,68031],\\\"valid\\\"],[[68032,68047],\\\"valid\\\",[],\\\"NV8\\\"],[[68048,68049],\\\"disallowed\\\"],[[68050,68095],\\\"valid\\\",[],\\\"NV8\\\"],[[68096,68099],\\\"valid\\\"],[[68100,68100],\\\"disallowed\\\"],[[68101,68102],\\\"valid\\\"],[[68103,68107],\\\"disallowed\\\"],[[68108,68115],\\\"valid\\\"],[[68116,68116],\\\"disallowed\\\"],[[68117,68119],\\\"valid\\\"],[[68120,68120],\\\"disallowed\\\"],[[68121,68147],\\\"valid\\\"],[[68148,68151],\\\"disallowed\\\"],[[68152,68154],\\\"valid\\\"],[[68155,68158],\\\"disallowed\\\"],[[68159,68159],\\\"valid\\\"],[[68160,68167],\\\"valid\\\",[],\\\"NV8\\\"],[[68168,68175],\\\"disallowed\\\"],[[68176,68184],\\\"valid\\\",[],\\\"NV8\\\"],[[68185,68191],\\\"disallowed\\\"],[[68192,68220],\\\"valid\\\"],[[68221,68223],\\\"valid\\\",[],\\\"NV8\\\"],[[68224,68252],\\\"valid\\\"],[[68253,68255],\\\"valid\\\",[],\\\"NV8\\\"],[[68256,68287],\\\"disallowed\\\"],[[68288,68295],\\\"valid\\\"],[[68296,68296],\\\"valid\\\",[],\\\"NV8\\\"],[[68297,68326],\\\"valid\\\"],[[68327,68330],\\\"disallowed\\\"],[[68331,68342],\\\"valid\\\",[],\\\"NV8\\\"],[[68343,68351],\\\"disallowed\\\"],[[68352,68405],\\\"valid\\\"],[[68406,68408],\\\"disallowed\\\"],[[68409,68415],\\\"valid\\\",[],\\\"NV8\\\"],[[68416,68437],\\\"valid\\\"],[[68438,68439],\\\"disallowed\\\"],[[68440,68447],\\\"valid\\\",[],\\\"NV8\\\"],[[68448,68466],\\\"valid\\\"],[[68467,68471],\\\"disallowed\\\"],[[68472,68479],\\\"valid\\\",[],\\\"NV8\\\"],[[68480,68497],\\\"valid\\\"],[[68498,68504],\\\"disallowed\\\"],[[68505,68508],\\\"valid\\\",[],\\\"NV8\\\"],[[68509,68520],\\\"disallowed\\\"],[[68521,68527],\\\"valid\\\",[],\\\"NV8\\\"],[[68528,68607],\\\"disallowed\\\"],[[68608,68680],\\\"valid\\\"],[[68681,68735],\\\"disallowed\\\"],[[68736,68736],\\\"mapped\\\",[68800]],[[68737,68737],\\\"mapped\\\",[68801]],[[68738,68738],\\\"mapped\\\",[68802]],[[68739,68739],\\\"mapped\\\",[68803]],[[68740,68740],\\\"mapped\\\",[68804]],[[68741,68741],\\\"mapped\\\",[68805]],[[68742,68742],\\\"mapped\\\",[68806]],[[68743,68743],\\\"mapped\\\",[68807]],[[68744,68744],\\\"mapped\\\",[68808]],[[68745,68745],\\\"mapped\\\",[68809]],[[68746,68746],\\\"mapped\\\",[68810]],[[68747,68747],\\\"mapped\\\",[68811]],[[68748,68748],\\\"mapped\\\",[68812]],[[68749,68749],\\\"mapped\\\",[68813]],[[68750,68750],\\\"mapped\\\",[68814]],[[68751,68751],\\\"mapped\\\",[68815]],[[68752,68752],\\\"mapped\\\",[68816]],[[68753,68753],\\\"mapped\\\",[68817]],[[68754,68754],\\\"mapped\\\",[68818]],[[68755,68755],\\\"mapped\\\",[68819]],[[68756,68756],\\\"mapped\\\",[68820]],[[68757,68757],\\\"mapped\\\",[68821]],[[68758,68758],\\\"mapped\\\",[68822]],[[68759,68759],\\\"mapped\\\",[68823]],[[68760,68760],\\\"mapped\\\",[68824]],[[68761,68761],\\\"mapped\\\",[68825]],[[68762,68762],\\\"mapped\\\",[68826]],[[68763,68763],\\\"mapped\\\",[68827]],[[68764,68764],\\\"mapped\\\",[68828]],[[68765,68765],\\\"mapped\\\",[68829]],[[68766,68766],\\\"mapped\\\",[68830]],[[68767,68767],\\\"mapped\\\",[68831]],[[68768,68768],\\\"mapped\\\",[68832]],[[68769,68769],\\\"mapped\\\",[68833]],[[68770,68770],\\\"mapped\\\",[68834]],[[68771,68771],\\\"mapped\\\",[68835]],[[68772,68772],\\\"mapped\\\",[68836]],[[68773,68773],\\\"mapped\\\",[68837]],[[68774,68774],\\\"mapped\\\",[68838]],[[68775,68775],\\\"mapped\\\",[68839]],[[68776,68776],\\\"mapped\\\",[68840]],[[68777,68777],\\\"mapped\\\",[68841]],[[68778,68778],\\\"mapped\\\",[68842]],[[68779,68779],\\\"mapped\\\",[68843]],[[68780,68780],\\\"mapped\\\",[68844]],[[68781,68781],\\\"mapped\\\",[68845]],[[68782,68782],\\\"mapped\\\",[68846]],[[68783,68783],\\\"mapped\\\",[68847]],[[68784,68784],\\\"mapped\\\",[68848]],[[68785,68785],\\\"mapped\\\",[68849]],[[68786,68786],\\\"mapped\\\",[68850]],[[68787,68799],\\\"disallowed\\\"],[[68800,68850],\\\"valid\\\"],[[68851,68857],\\\"disallowed\\\"],[[68858,68863],\\\"valid\\\",[],\\\"NV8\\\"],[[68864,69215],\\\"disallowed\\\"],[[69216,69246],\\\"valid\\\",[],\\\"NV8\\\"],[[69247,69631],\\\"disallowed\\\"],[[69632,69702],\\\"valid\\\"],[[69703,69709],\\\"valid\\\",[],\\\"NV8\\\"],[[69710,69713],\\\"disallowed\\\"],[[69714,69733],\\\"valid\\\",[],\\\"NV8\\\"],[[69734,69743],\\\"valid\\\"],[[69744,69758],\\\"disallowed\\\"],[[69759,69759],\\\"valid\\\"],[[69760,69818],\\\"valid\\\"],[[69819,69820],\\\"valid\\\",[],\\\"NV8\\\"],[[69821,69821],\\\"disallowed\\\"],[[69822,69825],\\\"valid\\\",[],\\\"NV8\\\"],[[69826,69839],\\\"disallowed\\\"],[[69840,69864],\\\"valid\\\"],[[69865,69871],\\\"disallowed\\\"],[[69872,69881],\\\"valid\\\"],[[69882,69887],\\\"disallowed\\\"],[[69888,69940],\\\"valid\\\"],[[69941,69941],\\\"disallowed\\\"],[[69942,69951],\\\"valid\\\"],[[69952,69955],\\\"valid\\\",[],\\\"NV8\\\"],[[69956,69967],\\\"disallowed\\\"],[[69968,70003],\\\"valid\\\"],[[70004,70005],\\\"valid\\\",[],\\\"NV8\\\"],[[70006,70006],\\\"valid\\\"],[[70007,70015],\\\"disallowed\\\"],[[70016,70084],\\\"valid\\\"],[[70085,70088],\\\"valid\\\",[],\\\"NV8\\\"],[[70089,70089],\\\"valid\\\",[],\\\"NV8\\\"],[[70090,70092],\\\"valid\\\"],[[70093,70093],\\\"valid\\\",[],\\\"NV8\\\"],[[70094,70095],\\\"disallowed\\\"],[[70096,70105],\\\"valid\\\"],[[70106,70106],\\\"valid\\\"],[[70107,70107],\\\"valid\\\",[],\\\"NV8\\\"],[[70108,70108],\\\"valid\\\"],[[70109,70111],\\\"valid\\\",[],\\\"NV8\\\"],[[70112,70112],\\\"disallowed\\\"],[[70113,70132],\\\"valid\\\",[],\\\"NV8\\\"],[[70133,70143],\\\"disallowed\\\"],[[70144,70161],\\\"valid\\\"],[[70162,70162],\\\"disallowed\\\"],[[70163,70199],\\\"valid\\\"],[[70200,70205],\\\"valid\\\",[],\\\"NV8\\\"],[[70206,70271],\\\"disallowed\\\"],[[70272,70278],\\\"valid\\\"],[[70279,70279],\\\"disallowed\\\"],[[70280,70280],\\\"valid\\\"],[[70281,70281],\\\"disallowed\\\"],[[70282,70285],\\\"valid\\\"],[[70286,70286],\\\"disallowed\\\"],[[70287,70301],\\\"valid\\\"],[[70302,70302],\\\"disallowed\\\"],[[70303,70312],\\\"valid\\\"],[[70313,70313],\\\"valid\\\",[],\\\"NV8\\\"],[[70314,70319],\\\"disallowed\\\"],[[70320,70378],\\\"valid\\\"],[[70379,70383],\\\"disallowed\\\"],[[70384,70393],\\\"valid\\\"],[[70394,70399],\\\"disallowed\\\"],[[70400,70400],\\\"valid\\\"],[[70401,70403],\\\"valid\\\"],[[70404,70404],\\\"disallowed\\\"],[[70405,70412],\\\"valid\\\"],[[70413,70414],\\\"disallowed\\\"],[[70415,70416],\\\"valid\\\"],[[70417,70418],\\\"disallowed\\\"],[[70419,70440],\\\"valid\\\"],[[70441,70441],\\\"disallowed\\\"],[[70442,70448],\\\"valid\\\"],[[70449,70449],\\\"disallowed\\\"],[[70450,70451],\\\"valid\\\"],[[70452,70452],\\\"disallowed\\\"],[[70453,70457],\\\"valid\\\"],[[70458,70459],\\\"disallowed\\\"],[[70460,70468],\\\"valid\\\"],[[70469,70470],\\\"disallowed\\\"],[[70471,70472],\\\"valid\\\"],[[70473,70474],\\\"disallowed\\\"],[[70475,70477],\\\"valid\\\"],[[70478,70479],\\\"disallowed\\\"],[[70480,70480],\\\"valid\\\"],[[70481,70486],\\\"disallowed\\\"],[[70487,70487],\\\"valid\\\"],[[70488,70492],\\\"disallowed\\\"],[[70493,70499],\\\"valid\\\"],[[70500,70501],\\\"disallowed\\\"],[[70502,70508],\\\"valid\\\"],[[70509,70511],\\\"disallowed\\\"],[[70512,70516],\\\"valid\\\"],[[70517,70783],\\\"disallowed\\\"],[[70784,70853],\\\"valid\\\"],[[70854,70854],\\\"valid\\\",[],\\\"NV8\\\"],[[70855,70855],\\\"valid\\\"],[[70856,70863],\\\"disallowed\\\"],[[70864,70873],\\\"valid\\\"],[[70874,71039],\\\"disallowed\\\"],[[71040,71093],\\\"valid\\\"],[[71094,71095],\\\"disallowed\\\"],[[71096,71104],\\\"valid\\\"],[[71105,71113],\\\"valid\\\",[],\\\"NV8\\\"],[[71114,71127],\\\"valid\\\",[],\\\"NV8\\\"],[[71128,71133],\\\"valid\\\"],[[71134,71167],\\\"disallowed\\\"],[[71168,71232],\\\"valid\\\"],[[71233,71235],\\\"valid\\\",[],\\\"NV8\\\"],[[71236,71236],\\\"valid\\\"],[[71237,71247],\\\"disallowed\\\"],[[71248,71257],\\\"valid\\\"],[[71258,71295],\\\"disallowed\\\"],[[71296,71351],\\\"valid\\\"],[[71352,71359],\\\"disallowed\\\"],[[71360,71369],\\\"valid\\\"],[[71370,71423],\\\"disallowed\\\"],[[71424,71449],\\\"valid\\\"],[[71450,71452],\\\"disallowed\\\"],[[71453,71467],\\\"valid\\\"],[[71468,71471],\\\"disallowed\\\"],[[71472,71481],\\\"valid\\\"],[[71482,71487],\\\"valid\\\",[],\\\"NV8\\\"],[[71488,71839],\\\"disallowed\\\"],[[71840,71840],\\\"mapped\\\",[71872]],[[71841,71841],\\\"mapped\\\",[71873]],[[71842,71842],\\\"mapped\\\",[71874]],[[71843,71843],\\\"mapped\\\",[71875]],[[71844,71844],\\\"mapped\\\",[71876]],[[71845,71845],\\\"mapped\\\",[71877]],[[71846,71846],\\\"mapped\\\",[71878]],[[71847,71847],\\\"mapped\\\",[71879]],[[71848,71848],\\\"mapped\\\",[71880]],[[71849,71849],\\\"mapped\\\",[71881]],[[71850,71850],\\\"mapped\\\",[71882]],[[71851,71851],\\\"mapped\\\",[71883]],[[71852,71852],\\\"mapped\\\",[71884]],[[71853,71853],\\\"mapped\\\",[71885]],[[71854,71854],\\\"mapped\\\",[71886]],[[71855,71855],\\\"mapped\\\",[71887]],[[71856,71856],\\\"mapped\\\",[71888]],[[71857,71857],\\\"mapped\\\",[71889]],[[71858,71858],\\\"mapped\\\",[71890]],[[71859,71859],\\\"mapped\\\",[71891]],[[71860,71860],\\\"mapped\\\",[71892]],[[71861,71861],\\\"mapped\\\",[71893]],[[71862,71862],\\\"mapped\\\",[71894]],[[71863,71863],\\\"mapped\\\",[71895]],[[71864,71864],\\\"mapped\\\",[71896]],[[71865,71865],\\\"mapped\\\",[71897]],[[71866,71866],\\\"mapped\\\",[71898]],[[71867,71867],\\\"mapped\\\",[71899]],[[71868,71868],\\\"mapped\\\",[71900]],[[71869,71869],\\\"mapped\\\",[71901]],[[71870,71870],\\\"mapped\\\",[71902]],[[71871,71871],\\\"mapped\\\",[71903]],[[71872,71913],\\\"valid\\\"],[[71914,71922],\\\"valid\\\",[],\\\"NV8\\\"],[[71923,71934],\\\"disallowed\\\"],[[71935,71935],\\\"valid\\\"],[[71936,72383],\\\"disallowed\\\"],[[72384,72440],\\\"valid\\\"],[[72441,73727],\\\"disallowed\\\"],[[73728,74606],\\\"valid\\\"],[[74607,74648],\\\"valid\\\"],[[74649,74649],\\\"valid\\\"],[[74650,74751],\\\"disallowed\\\"],[[74752,74850],\\\"valid\\\",[],\\\"NV8\\\"],[[74851,74862],\\\"valid\\\",[],\\\"NV8\\\"],[[74863,74863],\\\"disallowed\\\"],[[74864,74867],\\\"valid\\\",[],\\\"NV8\\\"],[[74868,74868],\\\"valid\\\",[],\\\"NV8\\\"],[[74869,74879],\\\"disallowed\\\"],[[74880,75075],\\\"valid\\\"],[[75076,77823],\\\"disallowed\\\"],[[77824,78894],\\\"valid\\\"],[[78895,82943],\\\"disallowed\\\"],[[82944,83526],\\\"valid\\\"],[[83527,92159],\\\"disallowed\\\"],[[92160,92728],\\\"valid\\\"],[[92729,92735],\\\"disallowed\\\"],[[92736,92766],\\\"valid\\\"],[[92767,92767],\\\"disallowed\\\"],[[92768,92777],\\\"valid\\\"],[[92778,92781],\\\"disallowed\\\"],[[92782,92783],\\\"valid\\\",[],\\\"NV8\\\"],[[92784,92879],\\\"disallowed\\\"],[[92880,92909],\\\"valid\\\"],[[92910,92911],\\\"disallowed\\\"],[[92912,92916],\\\"valid\\\"],[[92917,92917],\\\"valid\\\",[],\\\"NV8\\\"],[[92918,92927],\\\"disallowed\\\"],[[92928,92982],\\\"valid\\\"],[[92983,92991],\\\"valid\\\",[],\\\"NV8\\\"],[[92992,92995],\\\"valid\\\"],[[92996,92997],\\\"valid\\\",[],\\\"NV8\\\"],[[92998,93007],\\\"disallowed\\\"],[[93008,93017],\\\"valid\\\"],[[93018,93018],\\\"disallowed\\\"],[[93019,93025],\\\"valid\\\",[],\\\"NV8\\\"],[[93026,93026],\\\"disallowed\\\"],[[93027,93047],\\\"valid\\\"],[[93048,93052],\\\"disallowed\\\"],[[93053,93071],\\\"valid\\\"],[[93072,93951],\\\"disallowed\\\"],[[93952,94020],\\\"valid\\\"],[[94021,94031],\\\"disallowed\\\"],[[94032,94078],\\\"valid\\\"],[[94079,94094],\\\"disallowed\\\"],[[94095,94111],\\\"valid\\\"],[[94112,110591],\\\"disallowed\\\"],[[110592,110593],\\\"valid\\\"],[[110594,113663],\\\"disallowed\\\"],[[113664,113770],\\\"valid\\\"],[[113771,113775],\\\"disallowed\\\"],[[113776,113788],\\\"valid\\\"],[[113789,113791],\\\"disallowed\\\"],[[113792,113800],\\\"valid\\\"],[[113801,113807],\\\"disallowed\\\"],[[113808,113817],\\\"valid\\\"],[[113818,113819],\\\"disallowed\\\"],[[113820,113820],\\\"valid\\\",[],\\\"NV8\\\"],[[113821,113822],\\\"valid\\\"],[[113823,113823],\\\"valid\\\",[],\\\"NV8\\\"],[[113824,113827],\\\"ignored\\\"],[[113828,118783],\\\"disallowed\\\"],[[118784,119029],\\\"valid\\\",[],\\\"NV8\\\"],[[119030,119039],\\\"disallowed\\\"],[[119040,119078],\\\"valid\\\",[],\\\"NV8\\\"],[[119079,119080],\\\"disallowed\\\"],[[119081,119081],\\\"valid\\\",[],\\\"NV8\\\"],[[119082,119133],\\\"valid\\\",[],\\\"NV8\\\"],[[119134,119134],\\\"mapped\\\",[119127,119141]],[[119135,119135],\\\"mapped\\\",[119128,119141]],[[119136,119136],\\\"mapped\\\",[119128,119141,119150]],[[119137,119137],\\\"mapped\\\",[119128,119141,119151]],[[119138,119138],\\\"mapped\\\",[119128,119141,119152]],[[119139,119139],\\\"mapped\\\",[119128,119141,119153]],[[119140,119140],\\\"mapped\\\",[119128,119141,119154]],[[119141,119154],\\\"valid\\\",[],\\\"NV8\\\"],[[119155,119162],\\\"disallowed\\\"],[[119163,119226],\\\"valid\\\",[],\\\"NV8\\\"],[[119227,119227],\\\"mapped\\\",[119225,119141]],[[119228,119228],\\\"mapped\\\",[119226,119141]],[[119229,119229],\\\"mapped\\\",[119225,119141,119150]],[[119230,119230],\\\"mapped\\\",[119226,119141,119150]],[[119231,119231],\\\"mapped\\\",[119225,119141,119151]],[[119232,119232],\\\"mapped\\\",[119226,119141,119151]],[[119233,119261],\\\"valid\\\",[],\\\"NV8\\\"],[[119262,119272],\\\"valid\\\",[],\\\"NV8\\\"],[[119273,119295],\\\"disallowed\\\"],[[119296,119365],\\\"valid\\\",[],\\\"NV8\\\"],[[119366,119551],\\\"disallowed\\\"],[[119552,119638],\\\"valid\\\",[],\\\"NV8\\\"],[[119639,119647],\\\"disallowed\\\"],[[119648,119665],\\\"valid\\\",[],\\\"NV8\\\"],[[119666,119807],\\\"disallowed\\\"],[[119808,119808],\\\"mapped\\\",[97]],[[119809,119809],\\\"mapped\\\",[98]],[[119810,119810],\\\"mapped\\\",[99]],[[119811,119811],\\\"mapped\\\",[100]],[[119812,119812],\\\"mapped\\\",[101]],[[119813,119813],\\\"mapped\\\",[102]],[[119814,119814],\\\"mapped\\\",[103]],[[119815,119815],\\\"mapped\\\",[104]],[[119816,119816],\\\"mapped\\\",[105]],[[119817,119817],\\\"mapped\\\",[106]],[[119818,119818],\\\"mapped\\\",[107]],[[119819,119819],\\\"mapped\\\",[108]],[[119820,119820],\\\"mapped\\\",[109]],[[119821,119821],\\\"mapped\\\",[110]],[[119822,119822],\\\"mapped\\\",[111]],[[119823,119823],\\\"mapped\\\",[112]],[[119824,119824],\\\"mapped\\\",[113]],[[119825,119825],\\\"mapped\\\",[114]],[[119826,119826],\\\"mapped\\\",[115]],[[119827,119827],\\\"mapped\\\",[116]],[[119828,119828],\\\"mapped\\\",[117]],[[119829,119829],\\\"mapped\\\",[118]],[[119830,119830],\\\"mapped\\\",[119]],[[119831,119831],\\\"mapped\\\",[120]],[[119832,119832],\\\"mapped\\\",[121]],[[119833,119833],\\\"mapped\\\",[122]],[[119834,119834],\\\"mapped\\\",[97]],[[119835,119835],\\\"mapped\\\",[98]],[[119836,119836],\\\"mapped\\\",[99]],[[119837,119837],\\\"mapped\\\",[100]],[[119838,119838],\\\"mapped\\\",[101]],[[119839,119839],\\\"mapped\\\",[102]],[[119840,119840],\\\"mapped\\\",[103]],[[119841,119841],\\\"mapped\\\",[104]],[[119842,119842],\\\"mapped\\\",[105]],[[119843,119843],\\\"mapped\\\",[106]],[[119844,119844],\\\"mapped\\\",[107]],[[119845,119845],\\\"mapped\\\",[108]],[[119846,119846],\\\"mapped\\\",[109]],[[119847,119847],\\\"mapped\\\",[110]],[[119848,119848],\\\"mapped\\\",[111]],[[119849,119849],\\\"mapped\\\",[112]],[[119850,119850],\\\"mapped\\\",[113]],[[119851,119851],\\\"mapped\\\",[114]],[[119852,119852],\\\"mapped\\\",[115]],[[119853,119853],\\\"mapped\\\",[116]],[[119854,119854],\\\"mapped\\\",[117]],[[119855,119855],\\\"mapped\\\",[118]],[[119856,119856],\\\"mapped\\\",[119]],[[119857,119857],\\\"mapped\\\",[120]],[[119858,119858],\\\"mapped\\\",[121]],[[119859,119859],\\\"mapped\\\",[122]],[[119860,119860],\\\"mapped\\\",[97]],[[119861,119861],\\\"mapped\\\",[98]],[[119862,119862],\\\"mapped\\\",[99]],[[119863,119863],\\\"mapped\\\",[100]],[[119864,119864],\\\"mapped\\\",[101]],[[119865,119865],\\\"mapped\\\",[102]],[[119866,119866],\\\"mapped\\\",[103]],[[119867,119867],\\\"mapped\\\",[104]],[[119868,119868],\\\"mapped\\\",[105]],[[119869,119869],\\\"mapped\\\",[106]],[[119870,119870],\\\"mapped\\\",[107]],[[119871,119871],\\\"mapped\\\",[108]],[[119872,119872],\\\"mapped\\\",[109]],[[119873,119873],\\\"mapped\\\",[110]],[[119874,119874],\\\"mapped\\\",[111]],[[119875,119875],\\\"mapped\\\",[112]],[[119876,119876],\\\"mapped\\\",[113]],[[119877,119877],\\\"mapped\\\",[114]],[[119878,119878],\\\"mapped\\\",[115]],[[119879,119879],\\\"mapped\\\",[116]],[[119880,119880],\\\"mapped\\\",[117]],[[119881,119881],\\\"mapped\\\",[118]],[[119882,119882],\\\"mapped\\\",[119]],[[119883,119883],\\\"mapped\\\",[120]],[[119884,119884],\\\"mapped\\\",[121]],[[119885,119885],\\\"mapped\\\",[122]],[[119886,119886],\\\"mapped\\\",[97]],[[119887,119887],\\\"mapped\\\",[98]],[[119888,119888],\\\"mapped\\\",[99]],[[119889,119889],\\\"mapped\\\",[100]],[[119890,119890],\\\"mapped\\\",[101]],[[119891,119891],\\\"mapped\\\",[102]],[[119892,119892],\\\"mapped\\\",[103]],[[119893,119893],\\\"disallowed\\\"],[[119894,119894],\\\"mapped\\\",[105]],[[119895,119895],\\\"mapped\\\",[106]],[[119896,119896],\\\"mapped\\\",[107]],[[119897,119897],\\\"mapped\\\",[108]],[[119898,119898],\\\"mapped\\\",[109]],[[119899,119899],\\\"mapped\\\",[110]],[[119900,119900],\\\"mapped\\\",[111]],[[119901,119901],\\\"mapped\\\",[112]],[[119902,119902],\\\"mapped\\\",[113]],[[119903,119903],\\\"mapped\\\",[114]],[[119904,119904],\\\"mapped\\\",[115]],[[119905,119905],\\\"mapped\\\",[116]],[[119906,119906],\\\"mapped\\\",[117]],[[119907,119907],\\\"mapped\\\",[118]],[[119908,119908],\\\"mapped\\\",[119]],[[119909,119909],\\\"mapped\\\",[120]],[[119910,119910],\\\"mapped\\\",[121]],[[119911,119911],\\\"mapped\\\",[122]],[[119912,119912],\\\"mapped\\\",[97]],[[119913,119913],\\\"mapped\\\",[98]],[[119914,119914],\\\"mapped\\\",[99]],[[119915,119915],\\\"mapped\\\",[100]],[[119916,119916],\\\"mapped\\\",[101]],[[119917,119917],\\\"mapped\\\",[102]],[[119918,119918],\\\"mapped\\\",[103]],[[119919,119919],\\\"mapped\\\",[104]],[[119920,119920],\\\"mapped\\\",[105]],[[119921,119921],\\\"mapped\\\",[106]],[[119922,119922],\\\"mapped\\\",[107]],[[119923,119923],\\\"mapped\\\",[108]],[[119924,119924],\\\"mapped\\\",[109]],[[119925,119925],\\\"mapped\\\",[110]],[[119926,119926],\\\"mapped\\\",[111]],[[119927,119927],\\\"mapped\\\",[112]],[[119928,119928],\\\"mapped\\\",[113]],[[119929,119929],\\\"mapped\\\",[114]],[[119930,119930],\\\"mapped\\\",[115]],[[119931,119931],\\\"mapped\\\",[116]],[[119932,119932],\\\"mapped\\\",[117]],[[119933,119933],\\\"mapped\\\",[118]],[[119934,119934],\\\"mapped\\\",[119]],[[119935,119935],\\\"mapped\\\",[120]],[[119936,119936],\\\"mapped\\\",[121]],[[119937,119937],\\\"mapped\\\",[122]],[[119938,119938],\\\"mapped\\\",[97]],[[119939,119939],\\\"mapped\\\",[98]],[[119940,119940],\\\"mapped\\\",[99]],[[119941,119941],\\\"mapped\\\",[100]],[[119942,119942],\\\"mapped\\\",[101]],[[119943,119943],\\\"mapped\\\",[102]],[[119944,119944],\\\"mapped\\\",[103]],[[119945,119945],\\\"mapped\\\",[104]],[[119946,119946],\\\"mapped\\\",[105]],[[119947,119947],\\\"mapped\\\",[106]],[[119948,119948],\\\"mapped\\\",[107]],[[119949,119949],\\\"mapped\\\",[108]],[[119950,119950],\\\"mapped\\\",[109]],[[119951,119951],\\\"mapped\\\",[110]],[[119952,119952],\\\"mapped\\\",[111]],[[119953,119953],\\\"mapped\\\",[112]],[[119954,119954],\\\"mapped\\\",[113]],[[119955,119955],\\\"mapped\\\",[114]],[[119956,119956],\\\"mapped\\\",[115]],[[119957,119957],\\\"mapped\\\",[116]],[[119958,119958],\\\"mapped\\\",[117]],[[119959,119959],\\\"mapped\\\",[118]],[[119960,119960],\\\"mapped\\\",[119]],[[119961,119961],\\\"mapped\\\",[120]],[[119962,119962],\\\"mapped\\\",[121]],[[119963,119963],\\\"mapped\\\",[122]],[[119964,119964],\\\"mapped\\\",[97]],[[119965,119965],\\\"disallowed\\\"],[[119966,119966],\\\"mapped\\\",[99]],[[119967,119967],\\\"mapped\\\",[100]],[[119968,119969],\\\"disallowed\\\"],[[119970,119970],\\\"mapped\\\",[103]],[[119971,119972],\\\"disallowed\\\"],[[119973,119973],\\\"mapped\\\",[106]],[[119974,119974],\\\"mapped\\\",[107]],[[119975,119976],\\\"disallowed\\\"],[[119977,119977],\\\"mapped\\\",[110]],[[119978,119978],\\\"mapped\\\",[111]],[[119979,119979],\\\"mapped\\\",[112]],[[119980,119980],\\\"mapped\\\",[113]],[[119981,119981],\\\"disallowed\\\"],[[119982,119982],\\\"mapped\\\",[115]],[[119983,119983],\\\"mapped\\\",[116]],[[119984,119984],\\\"mapped\\\",[117]],[[119985,119985],\\\"mapped\\\",[118]],[[119986,119986],\\\"mapped\\\",[119]],[[119987,119987],\\\"mapped\\\",[120]],[[119988,119988],\\\"mapped\\\",[121]],[[119989,119989],\\\"mapped\\\",[122]],[[119990,119990],\\\"mapped\\\",[97]],[[119991,119991],\\\"mapped\\\",[98]],[[119992,119992],\\\"mapped\\\",[99]],[[119993,119993],\\\"mapped\\\",[100]],[[119994,119994],\\\"disallowed\\\"],[[119995,119995],\\\"mapped\\\",[102]],[[119996,119996],\\\"disallowed\\\"],[[119997,119997],\\\"mapped\\\",[104]],[[119998,119998],\\\"mapped\\\",[105]],[[119999,119999],\\\"mapped\\\",[106]],[[120000,120000],\\\"mapped\\\",[107]],[[120001,120001],\\\"mapped\\\",[108]],[[120002,120002],\\\"mapped\\\",[109]],[[120003,120003],\\\"mapped\\\",[110]],[[120004,120004],\\\"disallowed\\\"],[[120005,120005],\\\"mapped\\\",[112]],[[120006,120006],\\\"mapped\\\",[113]],[[120007,120007],\\\"mapped\\\",[114]],[[120008,120008],\\\"mapped\\\",[115]],[[120009,120009],\\\"mapped\\\",[116]],[[120010,120010],\\\"mapped\\\",[117]],[[120011,120011],\\\"mapped\\\",[118]],[[120012,120012],\\\"mapped\\\",[119]],[[120013,120013],\\\"mapped\\\",[120]],[[120014,120014],\\\"mapped\\\",[121]],[[120015,120015],\\\"mapped\\\",[122]],[[120016,120016],\\\"mapped\\\",[97]],[[120017,120017],\\\"mapped\\\",[98]],[[120018,120018],\\\"mapped\\\",[99]],[[120019,120019],\\\"mapped\\\",[100]],[[120020,120020],\\\"mapped\\\",[101]],[[120021,120021],\\\"mapped\\\",[102]],[[120022,120022],\\\"mapped\\\",[103]],[[120023,120023],\\\"mapped\\\",[104]],[[120024,120024],\\\"mapped\\\",[105]],[[120025,120025],\\\"mapped\\\",[106]],[[120026,120026],\\\"mapped\\\",[107]],[[120027,120027],\\\"mapped\\\",[108]],[[120028,120028],\\\"mapped\\\",[109]],[[120029,120029],\\\"mapped\\\",[110]],[[120030,120030],\\\"mapped\\\",[111]],[[120031,120031],\\\"mapped\\\",[112]],[[120032,120032],\\\"mapped\\\",[113]],[[120033,120033],\\\"mapped\\\",[114]],[[120034,120034],\\\"mapped\\\",[115]],[[120035,120035],\\\"mapped\\\",[116]],[[120036,120036],\\\"mapped\\\",[117]],[[120037,120037],\\\"mapped\\\",[118]],[[120038,120038],\\\"mapped\\\",[119]],[[120039,120039],\\\"mapped\\\",[120]],[[120040,120040],\\\"mapped\\\",[121]],[[120041,120041],\\\"mapped\\\",[122]],[[120042,120042],\\\"mapped\\\",[97]],[[120043,120043],\\\"mapped\\\",[98]],[[120044,120044],\\\"mapped\\\",[99]],[[120045,120045],\\\"mapped\\\",[100]],[[120046,120046],\\\"mapped\\\",[101]],[[120047,120047],\\\"mapped\\\",[102]],[[120048,120048],\\\"mapped\\\",[103]],[[120049,120049],\\\"mapped\\\",[104]],[[120050,120050],\\\"mapped\\\",[105]],[[120051,120051],\\\"mapped\\\",[106]],[[120052,120052],\\\"mapped\\\",[107]],[[120053,120053],\\\"mapped\\\",[108]],[[120054,120054],\\\"mapped\\\",[109]],[[120055,120055],\\\"mapped\\\",[110]],[[120056,120056],\\\"mapped\\\",[111]],[[120057,120057],\\\"mapped\\\",[112]],[[120058,120058],\\\"mapped\\\",[113]],[[120059,120059],\\\"mapped\\\",[114]],[[120060,120060],\\\"mapped\\\",[115]],[[120061,120061],\\\"mapped\\\",[116]],[[120062,120062],\\\"mapped\\\",[117]],[[120063,120063],\\\"mapped\\\",[118]],[[120064,120064],\\\"mapped\\\",[119]],[[120065,120065],\\\"mapped\\\",[120]],[[120066,120066],\\\"mapped\\\",[121]],[[120067,120067],\\\"mapped\\\",[122]],[[120068,120068],\\\"mapped\\\",[97]],[[120069,120069],\\\"mapped\\\",[98]],[[120070,120070],\\\"disallowed\\\"],[[120071,120071],\\\"mapped\\\",[100]],[[120072,120072],\\\"mapped\\\",[101]],[[120073,120073],\\\"mapped\\\",[102]],[[120074,120074],\\\"mapped\\\",[103]],[[120075,120076],\\\"disallowed\\\"],[[120077,120077],\\\"mapped\\\",[106]],[[120078,120078],\\\"mapped\\\",[107]],[[120079,120079],\\\"mapped\\\",[108]],[[120080,120080],\\\"mapped\\\",[109]],[[120081,120081],\\\"mapped\\\",[110]],[[120082,120082],\\\"mapped\\\",[111]],[[120083,120083],\\\"mapped\\\",[112]],[[120084,120084],\\\"mapped\\\",[113]],[[120085,120085],\\\"disallowed\\\"],[[120086,120086],\\\"mapped\\\",[115]],[[120087,120087],\\\"mapped\\\",[116]],[[120088,120088],\\\"mapped\\\",[117]],[[120089,120089],\\\"mapped\\\",[118]],[[120090,120090],\\\"mapped\\\",[119]],[[120091,120091],\\\"mapped\\\",[120]],[[120092,120092],\\\"mapped\\\",[121]],[[120093,120093],\\\"disallowed\\\"],[[120094,120094],\\\"mapped\\\",[97]],[[120095,120095],\\\"mapped\\\",[98]],[[120096,120096],\\\"mapped\\\",[99]],[[120097,120097],\\\"mapped\\\",[100]],[[120098,120098],\\\"mapped\\\",[101]],[[120099,120099],\\\"mapped\\\",[102]],[[120100,120100],\\\"mapped\\\",[103]],[[120101,120101],\\\"mapped\\\",[104]],[[120102,120102],\\\"mapped\\\",[105]],[[120103,120103],\\\"mapped\\\",[106]],[[120104,120104],\\\"mapped\\\",[107]],[[120105,120105],\\\"mapped\\\",[108]],[[120106,120106],\\\"mapped\\\",[109]],[[120107,120107],\\\"mapped\\\",[110]],[[120108,120108],\\\"mapped\\\",[111]],[[120109,120109],\\\"mapped\\\",[112]],[[120110,120110],\\\"mapped\\\",[113]],[[120111,120111],\\\"mapped\\\",[114]],[[120112,120112],\\\"mapped\\\",[115]],[[120113,120113],\\\"mapped\\\",[116]],[[120114,120114],\\\"mapped\\\",[117]],[[120115,120115],\\\"mapped\\\",[118]],[[120116,120116],\\\"mapped\\\",[119]],[[120117,120117],\\\"mapped\\\",[120]],[[120118,120118],\\\"mapped\\\",[121]],[[120119,120119],\\\"mapped\\\",[122]],[[120120,120120],\\\"mapped\\\",[97]],[[120121,120121],\\\"mapped\\\",[98]],[[120122,120122],\\\"disallowed\\\"],[[120123,120123],\\\"mapped\\\",[100]],[[120124,120124],\\\"mapped\\\",[101]],[[120125,120125],\\\"mapped\\\",[102]],[[120126,120126],\\\"mapped\\\",[103]],[[120127,120127],\\\"disallowed\\\"],[[120128,120128],\\\"mapped\\\",[105]],[[120129,120129],\\\"mapped\\\",[106]],[[120130,120130],\\\"mapped\\\",[107]],[[120131,120131],\\\"mapped\\\",[108]],[[120132,120132],\\\"mapped\\\",[109]],[[120133,120133],\\\"disallowed\\\"],[[120134,120134],\\\"mapped\\\",[111]],[[120135,120137],\\\"disallowed\\\"],[[120138,120138],\\\"mapped\\\",[115]],[[120139,120139],\\\"mapped\\\",[116]],[[120140,120140],\\\"mapped\\\",[117]],[[120141,120141],\\\"mapped\\\",[118]],[[120142,120142],\\\"mapped\\\",[119]],[[120143,120143],\\\"mapped\\\",[120]],[[120144,120144],\\\"mapped\\\",[121]],[[120145,120145],\\\"disallowed\\\"],[[120146,120146],\\\"mapped\\\",[97]],[[120147,120147],\\\"mapped\\\",[98]],[[120148,120148],\\\"mapped\\\",[99]],[[120149,120149],\\\"mapped\\\",[100]],[[120150,120150],\\\"mapped\\\",[101]],[[120151,120151],\\\"mapped\\\",[102]],[[120152,120152],\\\"mapped\\\",[103]],[[120153,120153],\\\"mapped\\\",[104]],[[120154,120154],\\\"mapped\\\",[105]],[[120155,120155],\\\"mapped\\\",[106]],[[120156,120156],\\\"mapped\\\",[107]],[[120157,120157],\\\"mapped\\\",[108]],[[120158,120158],\\\"mapped\\\",[109]],[[120159,120159],\\\"mapped\\\",[110]],[[120160,120160],\\\"mapped\\\",[111]],[[120161,120161],\\\"mapped\\\",[112]],[[120162,120162],\\\"mapped\\\",[113]],[[120163,120163],\\\"mapped\\\",[114]],[[120164,120164],\\\"mapped\\\",[115]],[[120165,120165],\\\"mapped\\\",[116]],[[120166,120166],\\\"mapped\\\",[117]],[[120167,120167],\\\"mapped\\\",[118]],[[120168,120168],\\\"mapped\\\",[119]],[[120169,120169],\\\"mapped\\\",[120]],[[120170,120170],\\\"mapped\\\",[121]],[[120171,120171],\\\"mapped\\\",[122]],[[120172,120172],\\\"mapped\\\",[97]],[[120173,120173],\\\"mapped\\\",[98]],[[120174,120174],\\\"mapped\\\",[99]],[[120175,120175],\\\"mapped\\\",[100]],[[120176,120176],\\\"mapped\\\",[101]],[[120177,120177],\\\"mapped\\\",[102]],[[120178,120178],\\\"mapped\\\",[103]],[[120179,120179],\\\"mapped\\\",[104]],[[120180,120180],\\\"mapped\\\",[105]],[[120181,120181],\\\"mapped\\\",[106]],[[120182,120182],\\\"mapped\\\",[107]],[[120183,120183],\\\"mapped\\\",[108]],[[120184,120184],\\\"mapped\\\",[109]],[[120185,120185],\\\"mapped\\\",[110]],[[120186,120186],\\\"mapped\\\",[111]],[[120187,120187],\\\"mapped\\\",[112]],[[120188,120188],\\\"mapped\\\",[113]],[[120189,120189],\\\"mapped\\\",[114]],[[120190,120190],\\\"mapped\\\",[115]],[[120191,120191],\\\"mapped\\\",[116]],[[120192,120192],\\\"mapped\\\",[117]],[[120193,120193],\\\"mapped\\\",[118]],[[120194,120194],\\\"mapped\\\",[119]],[[120195,120195],\\\"mapped\\\",[120]],[[120196,120196],\\\"mapped\\\",[121]],[[120197,120197],\\\"mapped\\\",[122]],[[120198,120198],\\\"mapped\\\",[97]],[[120199,120199],\\\"mapped\\\",[98]],[[120200,120200],\\\"mapped\\\",[99]],[[120201,120201],\\\"mapped\\\",[100]],[[120202,120202],\\\"mapped\\\",[101]],[[120203,120203],\\\"mapped\\\",[102]],[[120204,120204],\\\"mapped\\\",[103]],[[120205,120205],\\\"mapped\\\",[104]],[[120206,120206],\\\"mapped\\\",[105]],[[120207,120207],\\\"mapped\\\",[106]],[[120208,120208],\\\"mapped\\\",[107]],[[120209,120209],\\\"mapped\\\",[108]],[[120210,120210],\\\"mapped\\\",[109]],[[120211,120211],\\\"mapped\\\",[110]],[[120212,120212],\\\"mapped\\\",[111]],[[120213,120213],\\\"mapped\\\",[112]],[[120214,120214],\\\"mapped\\\",[113]],[[120215,120215],\\\"mapped\\\",[114]],[[120216,120216],\\\"mapped\\\",[115]],[[120217,120217],\\\"mapped\\\",[116]],[[120218,120218],\\\"mapped\\\",[117]],[[120219,120219],\\\"mapped\\\",[118]],[[120220,120220],\\\"mapped\\\",[119]],[[120221,120221],\\\"mapped\\\",[120]],[[120222,120222],\\\"mapped\\\",[121]],[[120223,120223],\\\"mapped\\\",[122]],[[120224,120224],\\\"mapped\\\",[97]],[[120225,120225],\\\"mapped\\\",[98]],[[120226,120226],\\\"mapped\\\",[99]],[[120227,120227],\\\"mapped\\\",[100]],[[120228,120228],\\\"mapped\\\",[101]],[[120229,120229],\\\"mapped\\\",[102]],[[120230,120230],\\\"mapped\\\",[103]],[[120231,120231],\\\"mapped\\\",[104]],[[120232,120232],\\\"mapped\\\",[105]],[[120233,120233],\\\"mapped\\\",[106]],[[120234,120234],\\\"mapped\\\",[107]],[[120235,120235],\\\"mapped\\\",[108]],[[120236,120236],\\\"mapped\\\",[109]],[[120237,120237],\\\"mapped\\\",[110]],[[120238,120238],\\\"mapped\\\",[111]],[[120239,120239],\\\"mapped\\\",[112]],[[120240,120240],\\\"mapped\\\",[113]],[[120241,120241],\\\"mapped\\\",[114]],[[120242,120242],\\\"mapped\\\",[115]],[[120243,120243],\\\"mapped\\\",[116]],[[120244,120244],\\\"mapped\\\",[117]],[[120245,120245],\\\"mapped\\\",[118]],[[120246,120246],\\\"mapped\\\",[119]],[[120247,120247],\\\"mapped\\\",[120]],[[120248,120248],\\\"mapped\\\",[121]],[[120249,120249],\\\"mapped\\\",[122]],[[120250,120250],\\\"mapped\\\",[97]],[[120251,120251],\\\"mapped\\\",[98]],[[120252,120252],\\\"mapped\\\",[99]],[[120253,120253],\\\"mapped\\\",[100]],[[120254,120254],\\\"mapped\\\",[101]],[[120255,120255],\\\"mapped\\\",[102]],[[120256,120256],\\\"mapped\\\",[103]],[[120257,120257],\\\"mapped\\\",[104]],[[120258,120258],\\\"mapped\\\",[105]],[[120259,120259],\\\"mapped\\\",[106]],[[120260,120260],\\\"mapped\\\",[107]],[[120261,120261],\\\"mapped\\\",[108]],[[120262,120262],\\\"mapped\\\",[109]],[[120263,120263],\\\"mapped\\\",[110]],[[120264,120264],\\\"mapped\\\",[111]],[[120265,120265],\\\"mapped\\\",[112]],[[120266,120266],\\\"mapped\\\",[113]],[[120267,120267],\\\"mapped\\\",[114]],[[120268,120268],\\\"mapped\\\",[115]],[[120269,120269],\\\"mapped\\\",[116]],[[120270,120270],\\\"mapped\\\",[117]],[[120271,120271],\\\"mapped\\\",[118]],[[120272,120272],\\\"mapped\\\",[119]],[[120273,120273],\\\"mapped\\\",[120]],[[120274,120274],\\\"mapped\\\",[121]],[[120275,120275],\\\"mapped\\\",[122]],[[120276,120276],\\\"mapped\\\",[97]],[[120277,120277],\\\"mapped\\\",[98]],[[120278,120278],\\\"mapped\\\",[99]],[[120279,120279],\\\"mapped\\\",[100]],[[120280,120280],\\\"mapped\\\",[101]],[[120281,120281],\\\"mapped\\\",[102]],[[120282,120282],\\\"mapped\\\",[103]],[[120283,120283],\\\"mapped\\\",[104]],[[120284,120284],\\\"mapped\\\",[105]],[[120285,120285],\\\"mapped\\\",[106]],[[120286,120286],\\\"mapped\\\",[107]],[[120287,120287],\\\"mapped\\\",[108]],[[120288,120288],\\\"mapped\\\",[109]],[[120289,120289],\\\"mapped\\\",[110]],[[120290,120290],\\\"mapped\\\",[111]],[[120291,120291],\\\"mapped\\\",[112]],[[120292,120292],\\\"mapped\\\",[113]],[[120293,120293],\\\"mapped\\\",[114]],[[120294,120294],\\\"mapped\\\",[115]],[[120295,120295],\\\"mapped\\\",[116]],[[120296,120296],\\\"mapped\\\",[117]],[[120297,120297],\\\"mapped\\\",[118]],[[120298,120298],\\\"mapped\\\",[119]],[[120299,120299],\\\"mapped\\\",[120]],[[120300,120300],\\\"mapped\\\",[121]],[[120301,120301],\\\"mapped\\\",[122]],[[120302,120302],\\\"mapped\\\",[97]],[[120303,120303],\\\"mapped\\\",[98]],[[120304,120304],\\\"mapped\\\",[99]],[[120305,120305],\\\"mapped\\\",[100]],[[120306,120306],\\\"mapped\\\",[101]],[[120307,120307],\\\"mapped\\\",[102]],[[120308,120308],\\\"mapped\\\",[103]],[[120309,120309],\\\"mapped\\\",[104]],[[120310,120310],\\\"mapped\\\",[105]],[[120311,120311],\\\"mapped\\\",[106]],[[120312,120312],\\\"mapped\\\",[107]],[[120313,120313],\\\"mapped\\\",[108]],[[120314,120314],\\\"mapped\\\",[109]],[[120315,120315],\\\"mapped\\\",[110]],[[120316,120316],\\\"mapped\\\",[111]],[[120317,120317],\\\"mapped\\\",[112]],[[120318,120318],\\\"mapped\\\",[113]],[[120319,120319],\\\"mapped\\\",[114]],[[120320,120320],\\\"mapped\\\",[115]],[[120321,120321],\\\"mapped\\\",[116]],[[120322,120322],\\\"mapped\\\",[117]],[[120323,120323],\\\"mapped\\\",[118]],[[120324,120324],\\\"mapped\\\",[119]],[[120325,120325],\\\"mapped\\\",[120]],[[120326,120326],\\\"mapped\\\",[121]],[[120327,120327],\\\"mapped\\\",[122]],[[120328,120328],\\\"mapped\\\",[97]],[[120329,120329],\\\"mapped\\\",[98]],[[120330,120330],\\\"mapped\\\",[99]],[[120331,120331],\\\"mapped\\\",[100]],[[120332,120332],\\\"mapped\\\",[101]],[[120333,120333],\\\"mapped\\\",[102]],[[120334,120334],\\\"mapped\\\",[103]],[[120335,120335],\\\"mapped\\\",[104]],[[120336,120336],\\\"mapped\\\",[105]],[[120337,120337],\\\"mapped\\\",[106]],[[120338,120338],\\\"mapped\\\",[107]],[[120339,120339],\\\"mapped\\\",[108]],[[120340,120340],\\\"mapped\\\",[109]],[[120341,120341],\\\"mapped\\\",[110]],[[120342,120342],\\\"mapped\\\",[111]],[[120343,120343],\\\"mapped\\\",[112]],[[120344,120344],\\\"mapped\\\",[113]],[[120345,120345],\\\"mapped\\\",[114]],[[120346,120346],\\\"mapped\\\",[115]],[[120347,120347],\\\"mapped\\\",[116]],[[120348,120348],\\\"mapped\\\",[117]],[[120349,120349],\\\"mapped\\\",[118]],[[120350,120350],\\\"mapped\\\",[119]],[[120351,120351],\\\"mapped\\\",[120]],[[120352,120352],\\\"mapped\\\",[121]],[[120353,120353],\\\"mapped\\\",[122]],[[120354,120354],\\\"mapped\\\",[97]],[[120355,120355],\\\"mapped\\\",[98]],[[120356,120356],\\\"mapped\\\",[99]],[[120357,120357],\\\"mapped\\\",[100]],[[120358,120358],\\\"mapped\\\",[101]],[[120359,120359],\\\"mapped\\\",[102]],[[120360,120360],\\\"mapped\\\",[103]],[[120361,120361],\\\"mapped\\\",[104]],[[120362,120362],\\\"mapped\\\",[105]],[[120363,120363],\\\"mapped\\\",[106]],[[120364,120364],\\\"mapped\\\",[107]],[[120365,120365],\\\"mapped\\\",[108]],[[120366,120366],\\\"mapped\\\",[109]],[[120367,120367],\\\"mapped\\\",[110]],[[120368,120368],\\\"mapped\\\",[111]],[[120369,120369],\\\"mapped\\\",[112]],[[120370,120370],\\\"mapped\\\",[113]],[[120371,120371],\\\"mapped\\\",[114]],[[120372,120372],\\\"mapped\\\",[115]],[[120373,120373],\\\"mapped\\\",[116]],[[120374,120374],\\\"mapped\\\",[117]],[[120375,120375],\\\"mapped\\\",[118]],[[120376,120376],\\\"mapped\\\",[119]],[[120377,120377],\\\"mapped\\\",[120]],[[120378,120378],\\\"mapped\\\",[121]],[[120379,120379],\\\"mapped\\\",[122]],[[120380,120380],\\\"mapped\\\",[97]],[[120381,120381],\\\"mapped\\\",[98]],[[120382,120382],\\\"mapped\\\",[99]],[[120383,120383],\\\"mapped\\\",[100]],[[120384,120384],\\\"mapped\\\",[101]],[[120385,120385],\\\"mapped\\\",[102]],[[120386,120386],\\\"mapped\\\",[103]],[[120387,120387],\\\"mapped\\\",[104]],[[120388,120388],\\\"mapped\\\",[105]],[[120389,120389],\\\"mapped\\\",[106]],[[120390,120390],\\\"mapped\\\",[107]],[[120391,120391],\\\"mapped\\\",[108]],[[120392,120392],\\\"mapped\\\",[109]],[[120393,120393],\\\"mapped\\\",[110]],[[120394,120394],\\\"mapped\\\",[111]],[[120395,120395],\\\"mapped\\\",[112]],[[120396,120396],\\\"mapped\\\",[113]],[[120397,120397],\\\"mapped\\\",[114]],[[120398,120398],\\\"mapped\\\",[115]],[[120399,120399],\\\"mapped\\\",[116]],[[120400,120400],\\\"mapped\\\",[117]],[[120401,120401],\\\"mapped\\\",[118]],[[120402,120402],\\\"mapped\\\",[119]],[[120403,120403],\\\"mapped\\\",[120]],[[120404,120404],\\\"mapped\\\",[121]],[[120405,120405],\\\"mapped\\\",[122]],[[120406,120406],\\\"mapped\\\",[97]],[[120407,120407],\\\"mapped\\\",[98]],[[120408,120408],\\\"mapped\\\",[99]],[[120409,120409],\\\"mapped\\\",[100]],[[120410,120410],\\\"mapped\\\",[101]],[[120411,120411],\\\"mapped\\\",[102]],[[120412,120412],\\\"mapped\\\",[103]],[[120413,120413],\\\"mapped\\\",[104]],[[120414,120414],\\\"mapped\\\",[105]],[[120415,120415],\\\"mapped\\\",[106]],[[120416,120416],\\\"mapped\\\",[107]],[[120417,120417],\\\"mapped\\\",[108]],[[120418,120418],\\\"mapped\\\",[109]],[[120419,120419],\\\"mapped\\\",[110]],[[120420,120420],\\\"mapped\\\",[111]],[[120421,120421],\\\"mapped\\\",[112]],[[120422,120422],\\\"mapped\\\",[113]],[[120423,120423],\\\"mapped\\\",[114]],[[120424,120424],\\\"mapped\\\",[115]],[[120425,120425],\\\"mapped\\\",[116]],[[120426,120426],\\\"mapped\\\",[117]],[[120427,120427],\\\"mapped\\\",[118]],[[120428,120428],\\\"mapped\\\",[119]],[[120429,120429],\\\"mapped\\\",[120]],[[120430,120430],\\\"mapped\\\",[121]],[[120431,120431],\\\"mapped\\\",[122]],[[120432,120432],\\\"mapped\\\",[97]],[[120433,120433],\\\"mapped\\\",[98]],[[120434,120434],\\\"mapped\\\",[99]],[[120435,120435],\\\"mapped\\\",[100]],[[120436,120436],\\\"mapped\\\",[101]],[[120437,120437],\\\"mapped\\\",[102]],[[120438,120438],\\\"mapped\\\",[103]],[[120439,120439],\\\"mapped\\\",[104]],[[120440,120440],\\\"mapped\\\",[105]],[[120441,120441],\\\"mapped\\\",[106]],[[120442,120442],\\\"mapped\\\",[107]],[[120443,120443],\\\"mapped\\\",[108]],[[120444,120444],\\\"mapped\\\",[109]],[[120445,120445],\\\"mapped\\\",[110]],[[120446,120446],\\\"mapped\\\",[111]],[[120447,120447],\\\"mapped\\\",[112]],[[120448,120448],\\\"mapped\\\",[113]],[[120449,120449],\\\"mapped\\\",[114]],[[120450,120450],\\\"mapped\\\",[115]],[[120451,120451],\\\"mapped\\\",[116]],[[120452,120452],\\\"mapped\\\",[117]],[[120453,120453],\\\"mapped\\\",[118]],[[120454,120454],\\\"mapped\\\",[119]],[[120455,120455],\\\"mapped\\\",[120]],[[120456,120456],\\\"mapped\\\",[121]],[[120457,120457],\\\"mapped\\\",[122]],[[120458,120458],\\\"mapped\\\",[97]],[[120459,120459],\\\"mapped\\\",[98]],[[120460,120460],\\\"mapped\\\",[99]],[[120461,120461],\\\"mapped\\\",[100]],[[120462,120462],\\\"mapped\\\",[101]],[[120463,120463],\\\"mapped\\\",[102]],[[120464,120464],\\\"mapped\\\",[103]],[[120465,120465],\\\"mapped\\\",[104]],[[120466,120466],\\\"mapped\\\",[105]],[[120467,120467],\\\"mapped\\\",[106]],[[120468,120468],\\\"mapped\\\",[107]],[[120469,120469],\\\"mapped\\\",[108]],[[120470,120470],\\\"mapped\\\",[109]],[[120471,120471],\\\"mapped\\\",[110]],[[120472,120472],\\\"mapped\\\",[111]],[[120473,120473],\\\"mapped\\\",[112]],[[120474,120474],\\\"mapped\\\",[113]],[[120475,120475],\\\"mapped\\\",[114]],[[120476,120476],\\\"mapped\\\",[115]],[[120477,120477],\\\"mapped\\\",[116]],[[120478,120478],\\\"mapped\\\",[117]],[[120479,120479],\\\"mapped\\\",[118]],[[120480,120480],\\\"mapped\\\",[119]],[[120481,120481],\\\"mapped\\\",[120]],[[120482,120482],\\\"mapped\\\",[121]],[[120483,120483],\\\"mapped\\\",[122]],[[120484,120484],\\\"mapped\\\",[305]],[[120485,120485],\\\"mapped\\\",[567]],[[120486,120487],\\\"disallowed\\\"],[[120488,120488],\\\"mapped\\\",[945]],[[120489,120489],\\\"mapped\\\",[946]],[[120490,120490],\\\"mapped\\\",[947]],[[120491,120491],\\\"mapped\\\",[948]],[[120492,120492],\\\"mapped\\\",[949]],[[120493,120493],\\\"mapped\\\",[950]],[[120494,120494],\\\"mapped\\\",[951]],[[120495,120495],\\\"mapped\\\",[952]],[[120496,120496],\\\"mapped\\\",[953]],[[120497,120497],\\\"mapped\\\",[954]],[[120498,120498],\\\"mapped\\\",[955]],[[120499,120499],\\\"mapped\\\",[956]],[[120500,120500],\\\"mapped\\\",[957]],[[120501,120501],\\\"mapped\\\",[958]],[[120502,120502],\\\"mapped\\\",[959]],[[120503,120503],\\\"mapped\\\",[960]],[[120504,120504],\\\"mapped\\\",[961]],[[120505,120505],\\\"mapped\\\",[952]],[[120506,120506],\\\"mapped\\\",[963]],[[120507,120507],\\\"mapped\\\",[964]],[[120508,120508],\\\"mapped\\\",[965]],[[120509,120509],\\\"mapped\\\",[966]],[[120510,120510],\\\"mapped\\\",[967]],[[120511,120511],\\\"mapped\\\",[968]],[[120512,120512],\\\"mapped\\\",[969]],[[120513,120513],\\\"mapped\\\",[8711]],[[120514,120514],\\\"mapped\\\",[945]],[[120515,120515],\\\"mapped\\\",[946]],[[120516,120516],\\\"mapped\\\",[947]],[[120517,120517],\\\"mapped\\\",[948]],[[120518,120518],\\\"mapped\\\",[949]],[[120519,120519],\\\"mapped\\\",[950]],[[120520,120520],\\\"mapped\\\",[951]],[[120521,120521],\\\"mapped\\\",[952]],[[120522,120522],\\\"mapped\\\",[953]],[[120523,120523],\\\"mapped\\\",[954]],[[120524,120524],\\\"mapped\\\",[955]],[[120525,120525],\\\"mapped\\\",[956]],[[120526,120526],\\\"mapped\\\",[957]],[[120527,120527],\\\"mapped\\\",[958]],[[120528,120528],\\\"mapped\\\",[959]],[[120529,120529],\\\"mapped\\\",[960]],[[120530,120530],\\\"mapped\\\",[961]],[[120531,120532],\\\"mapped\\\",[963]],[[120533,120533],\\\"mapped\\\",[964]],[[120534,120534],\\\"mapped\\\",[965]],[[120535,120535],\\\"mapped\\\",[966]],[[120536,120536],\\\"mapped\\\",[967]],[[120537,120537],\\\"mapped\\\",[968]],[[120538,120538],\\\"mapped\\\",[969]],[[120539,120539],\\\"mapped\\\",[8706]],[[120540,120540],\\\"mapped\\\",[949]],[[120541,120541],\\\"mapped\\\",[952]],[[120542,120542],\\\"mapped\\\",[954]],[[120543,120543],\\\"mapped\\\",[966]],[[120544,120544],\\\"mapped\\\",[961]],[[120545,120545],\\\"mapped\\\",[960]],[[120546,120546],\\\"mapped\\\",[945]],[[120547,120547],\\\"mapped\\\",[946]],[[120548,120548],\\\"mapped\\\",[947]],[[120549,120549],\\\"mapped\\\",[948]],[[120550,120550],\\\"mapped\\\",[949]],[[120551,120551],\\\"mapped\\\",[950]],[[120552,120552],\\\"mapped\\\",[951]],[[120553,120553],\\\"mapped\\\",[952]],[[120554,120554],\\\"mapped\\\",[953]],[[120555,120555],\\\"mapped\\\",[954]],[[120556,120556],\\\"mapped\\\",[955]],[[120557,120557],\\\"mapped\\\",[956]],[[120558,120558],\\\"mapped\\\",[957]],[[120559,120559],\\\"mapped\\\",[958]],[[120560,120560],\\\"mapped\\\",[959]],[[120561,120561],\\\"mapped\\\",[960]],[[120562,120562],\\\"mapped\\\",[961]],[[120563,120563],\\\"mapped\\\",[952]],[[120564,120564],\\\"mapped\\\",[963]],[[120565,120565],\\\"mapped\\\",[964]],[[120566,120566],\\\"mapped\\\",[965]],[[120567,120567],\\\"mapped\\\",[966]],[[120568,120568],\\\"mapped\\\",[967]],[[120569,120569],\\\"mapped\\\",[968]],[[120570,120570],\\\"mapped\\\",[969]],[[120571,120571],\\\"mapped\\\",[8711]],[[120572,120572],\\\"mapped\\\",[945]],[[120573,120573],\\\"mapped\\\",[946]],[[120574,120574],\\\"mapped\\\",[947]],[[120575,120575],\\\"mapped\\\",[948]],[[120576,120576],\\\"mapped\\\",[949]],[[120577,120577],\\\"mapped\\\",[950]],[[120578,120578],\\\"mapped\\\",[951]],[[120579,120579],\\\"mapped\\\",[952]],[[120580,120580],\\\"mapped\\\",[953]],[[120581,120581],\\\"mapped\\\",[954]],[[120582,120582],\\\"mapped\\\",[955]],[[120583,120583],\\\"mapped\\\",[956]],[[120584,120584],\\\"mapped\\\",[957]],[[120585,120585],\\\"mapped\\\",[958]],[[120586,120586],\\\"mapped\\\",[959]],[[120587,120587],\\\"mapped\\\",[960]],[[120588,120588],\\\"mapped\\\",[961]],[[120589,120590],\\\"mapped\\\",[963]],[[120591,120591],\\\"mapped\\\",[964]],[[120592,120592],\\\"mapped\\\",[965]],[[120593,120593],\\\"mapped\\\",[966]],[[120594,120594],\\\"mapped\\\",[967]],[[120595,120595],\\\"mapped\\\",[968]],[[120596,120596],\\\"mapped\\\",[969]],[[120597,120597],\\\"mapped\\\",[8706]],[[120598,120598],\\\"mapped\\\",[949]],[[120599,120599],\\\"mapped\\\",[952]],[[120600,120600],\\\"mapped\\\",[954]],[[120601,120601],\\\"mapped\\\",[966]],[[120602,120602],\\\"mapped\\\",[961]],[[120603,120603],\\\"mapped\\\",[960]],[[120604,120604],\\\"mapped\\\",[945]],[[120605,120605],\\\"mapped\\\",[946]],[[120606,120606],\\\"mapped\\\",[947]],[[120607,120607],\\\"mapped\\\",[948]],[[120608,120608],\\\"mapped\\\",[949]],[[120609,120609],\\\"mapped\\\",[950]],[[120610,120610],\\\"mapped\\\",[951]],[[120611,120611],\\\"mapped\\\",[952]],[[120612,120612],\\\"mapped\\\",[953]],[[120613,120613],\\\"mapped\\\",[954]],[[120614,120614],\\\"mapped\\\",[955]],[[120615,120615],\\\"mapped\\\",[956]],[[120616,120616],\\\"mapped\\\",[957]],[[120617,120617],\\\"mapped\\\",[958]],[[120618,120618],\\\"mapped\\\",[959]],[[120619,120619],\\\"mapped\\\",[960]],[[120620,120620],\\\"mapped\\\",[961]],[[120621,120621],\\\"mapped\\\",[952]],[[120622,120622],\\\"mapped\\\",[963]],[[120623,120623],\\\"mapped\\\",[964]],[[120624,120624],\\\"mapped\\\",[965]],[[120625,120625],\\\"mapped\\\",[966]],[[120626,120626],\\\"mapped\\\",[967]],[[120627,120627],\\\"mapped\\\",[968]],[[120628,120628],\\\"mapped\\\",[969]],[[120629,120629],\\\"mapped\\\",[8711]],[[120630,120630],\\\"mapped\\\",[945]],[[120631,120631],\\\"mapped\\\",[946]],[[120632,120632],\\\"mapped\\\",[947]],[[120633,120633],\\\"mapped\\\",[948]],[[120634,120634],\\\"mapped\\\",[949]],[[120635,120635],\\\"mapped\\\",[950]],[[120636,120636],\\\"mapped\\\",[951]],[[120637,120637],\\\"mapped\\\",[952]],[[120638,120638],\\\"mapped\\\",[953]],[[120639,120639],\\\"mapped\\\",[954]],[[120640,120640],\\\"mapped\\\",[955]],[[120641,120641],\\\"mapped\\\",[956]],[[120642,120642],\\\"mapped\\\",[957]],[[120643,120643],\\\"mapped\\\",[958]],[[120644,120644],\\\"mapped\\\",[959]],[[120645,120645],\\\"mapped\\\",[960]],[[120646,120646],\\\"mapped\\\",[961]],[[120647,120648],\\\"mapped\\\",[963]],[[120649,120649],\\\"mapped\\\",[964]],[[120650,120650],\\\"mapped\\\",[965]],[[120651,120651],\\\"mapped\\\",[966]],[[120652,120652],\\\"mapped\\\",[967]],[[120653,120653],\\\"mapped\\\",[968]],[[120654,120654],\\\"mapped\\\",[969]],[[120655,120655],\\\"mapped\\\",[8706]],[[120656,120656],\\\"mapped\\\",[949]],[[120657,120657],\\\"mapped\\\",[952]],[[120658,120658],\\\"mapped\\\",[954]],[[120659,120659],\\\"mapped\\\",[966]],[[120660,120660],\\\"mapped\\\",[961]],[[120661,120661],\\\"mapped\\\",[960]],[[120662,120662],\\\"mapped\\\",[945]],[[120663,120663],\\\"mapped\\\",[946]],[[120664,120664],\\\"mapped\\\",[947]],[[120665,120665],\\\"mapped\\\",[948]],[[120666,120666],\\\"mapped\\\",[949]],[[120667,120667],\\\"mapped\\\",[950]],[[120668,120668],\\\"mapped\\\",[951]],[[120669,120669],\\\"mapped\\\",[952]],[[120670,120670],\\\"mapped\\\",[953]],[[120671,120671],\\\"mapped\\\",[954]],[[120672,120672],\\\"mapped\\\",[955]],[[120673,120673],\\\"mapped\\\",[956]],[[120674,120674],\\\"mapped\\\",[957]],[[120675,120675],\\\"mapped\\\",[958]],[[120676,120676],\\\"mapped\\\",[959]],[[120677,120677],\\\"mapped\\\",[960]],[[120678,120678],\\\"mapped\\\",[961]],[[120679,120679],\\\"mapped\\\",[952]],[[120680,120680],\\\"mapped\\\",[963]],[[120681,120681],\\\"mapped\\\",[964]],[[120682,120682],\\\"mapped\\\",[965]],[[120683,120683],\\\"mapped\\\",[966]],[[120684,120684],\\\"mapped\\\",[967]],[[120685,120685],\\\"mapped\\\",[968]],[[120686,120686],\\\"mapped\\\",[969]],[[120687,120687],\\\"mapped\\\",[8711]],[[120688,120688],\\\"mapped\\\",[945]],[[120689,120689],\\\"mapped\\\",[946]],[[120690,120690],\\\"mapped\\\",[947]],[[120691,120691],\\\"mapped\\\",[948]],[[120692,120692],\\\"mapped\\\",[949]],[[120693,120693],\\\"mapped\\\",[950]],[[120694,120694],\\\"mapped\\\",[951]],[[120695,120695],\\\"mapped\\\",[952]],[[120696,120696],\\\"mapped\\\",[953]],[[120697,120697],\\\"mapped\\\",[954]],[[120698,120698],\\\"mapped\\\",[955]],[[120699,120699],\\\"mapped\\\",[956]],[[120700,120700],\\\"mapped\\\",[957]],[[120701,120701],\\\"mapped\\\",[958]],[[120702,120702],\\\"mapped\\\",[959]],[[120703,120703],\\\"mapped\\\",[960]],[[120704,120704],\\\"mapped\\\",[961]],[[120705,120706],\\\"mapped\\\",[963]],[[120707,120707],\\\"mapped\\\",[964]],[[120708,120708],\\\"mapped\\\",[965]],[[120709,120709],\\\"mapped\\\",[966]],[[120710,120710],\\\"mapped\\\",[967]],[[120711,120711],\\\"mapped\\\",[968]],[[120712,120712],\\\"mapped\\\",[969]],[[120713,120713],\\\"mapped\\\",[8706]],[[120714,120714],\\\"mapped\\\",[949]],[[120715,120715],\\\"mapped\\\",[952]],[[120716,120716],\\\"mapped\\\",[954]],[[120717,120717],\\\"mapped\\\",[966]],[[120718,120718],\\\"mapped\\\",[961]],[[120719,120719],\\\"mapped\\\",[960]],[[120720,120720],\\\"mapped\\\",[945]],[[120721,120721],\\\"mapped\\\",[946]],[[120722,120722],\\\"mapped\\\",[947]],[[120723,120723],\\\"mapped\\\",[948]],[[120724,120724],\\\"mapped\\\",[949]],[[120725,120725],\\\"mapped\\\",[950]],[[120726,120726],\\\"mapped\\\",[951]],[[120727,120727],\\\"mapped\\\",[952]],[[120728,120728],\\\"mapped\\\",[953]],[[120729,120729],\\\"mapped\\\",[954]],[[120730,120730],\\\"mapped\\\",[955]],[[120731,120731],\\\"mapped\\\",[956]],[[120732,120732],\\\"mapped\\\",[957]],[[120733,120733],\\\"mapped\\\",[958]],[[120734,120734],\\\"mapped\\\",[959]],[[120735,120735],\\\"mapped\\\",[960]],[[120736,120736],\\\"mapped\\\",[961]],[[120737,120737],\\\"mapped\\\",[952]],[[120738,120738],\\\"mapped\\\",[963]],[[120739,120739],\\\"mapped\\\",[964]],[[120740,120740],\\\"mapped\\\",[965]],[[120741,120741],\\\"mapped\\\",[966]],[[120742,120742],\\\"mapped\\\",[967]],[[120743,120743],\\\"mapped\\\",[968]],[[120744,120744],\\\"mapped\\\",[969]],[[120745,120745],\\\"mapped\\\",[8711]],[[120746,120746],\\\"mapped\\\",[945]],[[120747,120747],\\\"mapped\\\",[946]],[[120748,120748],\\\"mapped\\\",[947]],[[120749,120749],\\\"mapped\\\",[948]],[[120750,120750],\\\"mapped\\\",[949]],[[120751,120751],\\\"mapped\\\",[950]],[[120752,120752],\\\"mapped\\\",[951]],[[120753,120753],\\\"mapped\\\",[952]],[[120754,120754],\\\"mapped\\\",[953]],[[120755,120755],\\\"mapped\\\",[954]],[[120756,120756],\\\"mapped\\\",[955]],[[120757,120757],\\\"mapped\\\",[956]],[[120758,120758],\\\"mapped\\\",[957]],[[120759,120759],\\\"mapped\\\",[958]],[[120760,120760],\\\"mapped\\\",[959]],[[120761,120761],\\\"mapped\\\",[960]],[[120762,120762],\\\"mapped\\\",[961]],[[120763,120764],\\\"mapped\\\",[963]],[[120765,120765],\\\"mapped\\\",[964]],[[120766,120766],\\\"mapped\\\",[965]],[[120767,120767],\\\"mapped\\\",[966]],[[120768,120768],\\\"mapped\\\",[967]],[[120769,120769],\\\"mapped\\\",[968]],[[120770,120770],\\\"mapped\\\",[969]],[[120771,120771],\\\"mapped\\\",[8706]],[[120772,120772],\\\"mapped\\\",[949]],[[120773,120773],\\\"mapped\\\",[952]],[[120774,120774],\\\"mapped\\\",[954]],[[120775,120775],\\\"mapped\\\",[966]],[[120776,120776],\\\"mapped\\\",[961]],[[120777,120777],\\\"mapped\\\",[960]],[[120778,120779],\\\"mapped\\\",[989]],[[120780,120781],\\\"disallowed\\\"],[[120782,120782],\\\"mapped\\\",[48]],[[120783,120783],\\\"mapped\\\",[49]],[[120784,120784],\\\"mapped\\\",[50]],[[120785,120785],\\\"mapped\\\",[51]],[[120786,120786],\\\"mapped\\\",[52]],[[120787,120787],\\\"mapped\\\",[53]],[[120788,120788],\\\"mapped\\\",[54]],[[120789,120789],\\\"mapped\\\",[55]],[[120790,120790],\\\"mapped\\\",[56]],[[120791,120791],\\\"mapped\\\",[57]],[[120792,120792],\\\"mapped\\\",[48]],[[120793,120793],\\\"mapped\\\",[49]],[[120794,120794],\\\"mapped\\\",[50]],[[120795,120795],\\\"mapped\\\",[51]],[[120796,120796],\\\"mapped\\\",[52]],[[120797,120797],\\\"mapped\\\",[53]],[[120798,120798],\\\"mapped\\\",[54]],[[120799,120799],\\\"mapped\\\",[55]],[[120800,120800],\\\"mapped\\\",[56]],[[120801,120801],\\\"mapped\\\",[57]],[[120802,120802],\\\"mapped\\\",[48]],[[120803,120803],\\\"mapped\\\",[49]],[[120804,120804],\\\"mapped\\\",[50]],[[120805,120805],\\\"mapped\\\",[51]],[[120806,120806],\\\"mapped\\\",[52]],[[120807,120807],\\\"mapped\\\",[53]],[[120808,120808],\\\"mapped\\\",[54]],[[120809,120809],\\\"mapped\\\",[55]],[[120810,120810],\\\"mapped\\\",[56]],[[120811,120811],\\\"mapped\\\",[57]],[[120812,120812],\\\"mapped\\\",[48]],[[120813,120813],\\\"mapped\\\",[49]],[[120814,120814],\\\"mapped\\\",[50]],[[120815,120815],\\\"mapped\\\",[51]],[[120816,120816],\\\"mapped\\\",[52]],[[120817,120817],\\\"mapped\\\",[53]],[[120818,120818],\\\"mapped\\\",[54]],[[120819,120819],\\\"mapped\\\",[55]],[[120820,120820],\\\"mapped\\\",[56]],[[120821,120821],\\\"mapped\\\",[57]],[[120822,120822],\\\"mapped\\\",[48]],[[120823,120823],\\\"mapped\\\",[49]],[[120824,120824],\\\"mapped\\\",[50]],[[120825,120825],\\\"mapped\\\",[51]],[[120826,120826],\\\"mapped\\\",[52]],[[120827,120827],\\\"mapped\\\",[53]],[[120828,120828],\\\"mapped\\\",[54]],[[120829,120829],\\\"mapped\\\",[55]],[[120830,120830],\\\"mapped\\\",[56]],[[120831,120831],\\\"mapped\\\",[57]],[[120832,121343],\\\"valid\\\",[],\\\"NV8\\\"],[[121344,121398],\\\"valid\\\"],[[121399,121402],\\\"valid\\\",[],\\\"NV8\\\"],[[121403,121452],\\\"valid\\\"],[[121453,121460],\\\"valid\\\",[],\\\"NV8\\\"],[[121461,121461],\\\"valid\\\"],[[121462,121475],\\\"valid\\\",[],\\\"NV8\\\"],[[121476,121476],\\\"valid\\\"],[[121477,121483],\\\"valid\\\",[],\\\"NV8\\\"],[[121484,121498],\\\"disallowed\\\"],[[121499,121503],\\\"valid\\\"],[[121504,121504],\\\"disallowed\\\"],[[121505,121519],\\\"valid\\\"],[[121520,124927],\\\"disallowed\\\"],[[124928,125124],\\\"valid\\\"],[[125125,125126],\\\"disallowed\\\"],[[125127,125135],\\\"valid\\\",[],\\\"NV8\\\"],[[125136,125142],\\\"valid\\\"],[[125143,126463],\\\"disallowed\\\"],[[126464,126464],\\\"mapped\\\",[1575]],[[126465,126465],\\\"mapped\\\",[1576]],[[126466,126466],\\\"mapped\\\",[1580]],[[126467,126467],\\\"mapped\\\",[1583]],[[126468,126468],\\\"disallowed\\\"],[[126469,126469],\\\"mapped\\\",[1608]],[[126470,126470],\\\"mapped\\\",[1586]],[[126471,126471],\\\"mapped\\\",[1581]],[[126472,126472],\\\"mapped\\\",[1591]],[[126473,126473],\\\"mapped\\\",[1610]],[[126474,126474],\\\"mapped\\\",[1603]],[[126475,126475],\\\"mapped\\\",[1604]],[[126476,126476],\\\"mapped\\\",[1605]],[[126477,126477],\\\"mapped\\\",[1606]],[[126478,126478],\\\"mapped\\\",[1587]],[[126479,126479],\\\"mapped\\\",[1593]],[[126480,126480],\\\"mapped\\\",[1601]],[[126481,126481],\\\"mapped\\\",[1589]],[[126482,126482],\\\"mapped\\\",[1602]],[[126483,126483],\\\"mapped\\\",[1585]],[[126484,126484],\\\"mapped\\\",[1588]],[[126485,126485],\\\"mapped\\\",[1578]],[[126486,126486],\\\"mapped\\\",[1579]],[[126487,126487],\\\"mapped\\\",[1582]],[[126488,126488],\\\"mapped\\\",[1584]],[[126489,126489],\\\"mapped\\\",[1590]],[[126490,126490],\\\"mapped\\\",[1592]],[[126491,126491],\\\"mapped\\\",[1594]],[[126492,126492],\\\"mapped\\\",[1646]],[[126493,126493],\\\"mapped\\\",[1722]],[[126494,126494],\\\"mapped\\\",[1697]],[[126495,126495],\\\"mapped\\\",[1647]],[[126496,126496],\\\"disallowed\\\"],[[126497,126497],\\\"mapped\\\",[1576]],[[126498,126498],\\\"mapped\\\",[1580]],[[126499,126499],\\\"disallowed\\\"],[[126500,126500],\\\"mapped\\\",[1607]],[[126501,126502],\\\"disallowed\\\"],[[126503,126503],\\\"mapped\\\",[1581]],[[126504,126504],\\\"disallowed\\\"],[[126505,126505],\\\"mapped\\\",[1610]],[[126506,126506],\\\"mapped\\\",[1603]],[[126507,126507],\\\"mapped\\\",[1604]],[[126508,126508],\\\"mapped\\\",[1605]],[[126509,126509],\\\"mapped\\\",[1606]],[[126510,126510],\\\"mapped\\\",[1587]],[[126511,126511],\\\"mapped\\\",[1593]],[[126512,126512],\\\"mapped\\\",[1601]],[[126513,126513],\\\"mapped\\\",[1589]],[[126514,126514],\\\"mapped\\\",[1602]],[[126515,126515],\\\"disallowed\\\"],[[126516,126516],\\\"mapped\\\",[1588]],[[126517,126517],\\\"mapped\\\",[1578]],[[126518,126518],\\\"mapped\\\",[1579]],[[126519,126519],\\\"mapped\\\",[1582]],[[126520,126520],\\\"disallowed\\\"],[[126521,126521],\\\"mapped\\\",[1590]],[[126522,126522],\\\"disallowed\\\"],[[126523,126523],\\\"mapped\\\",[1594]],[[126524,126529],\\\"disallowed\\\"],[[126530,126530],\\\"mapped\\\",[1580]],[[126531,126534],\\\"disallowed\\\"],[[126535,126535],\\\"mapped\\\",[1581]],[[126536,126536],\\\"disallowed\\\"],[[126537,126537],\\\"mapped\\\",[1610]],[[126538,126538],\\\"disallowed\\\"],[[126539,126539],\\\"mapped\\\",[1604]],[[126540,126540],\\\"disallowed\\\"],[[126541,126541],\\\"mapped\\\",[1606]],[[126542,126542],\\\"mapped\\\",[1587]],[[126543,126543],\\\"mapped\\\",[1593]],[[126544,126544],\\\"disallowed\\\"],[[126545,126545],\\\"mapped\\\",[1589]],[[126546,126546],\\\"mapped\\\",[1602]],[[126547,126547],\\\"disallowed\\\"],[[126548,126548],\\\"mapped\\\",[1588]],[[126549,126550],\\\"disallowed\\\"],[[126551,126551],\\\"mapped\\\",[1582]],[[126552,126552],\\\"disallowed\\\"],[[126553,126553],\\\"mapped\\\",[1590]],[[126554,126554],\\\"disallowed\\\"],[[126555,126555],\\\"mapped\\\",[1594]],[[126556,126556],\\\"disallowed\\\"],[[126557,126557],\\\"mapped\\\",[1722]],[[126558,126558],\\\"disallowed\\\"],[[126559,126559],\\\"mapped\\\",[1647]],[[126560,126560],\\\"disallowed\\\"],[[126561,126561],\\\"mapped\\\",[1576]],[[126562,126562],\\\"mapped\\\",[1580]],[[126563,126563],\\\"disallowed\\\"],[[126564,126564],\\\"mapped\\\",[1607]],[[126565,126566],\\\"disallowed\\\"],[[126567,126567],\\\"mapped\\\",[1581]],[[126568,126568],\\\"mapped\\\",[1591]],[[126569,126569],\\\"mapped\\\",[1610]],[[126570,126570],\\\"mapped\\\",[1603]],[[126571,126571],\\\"disallowed\\\"],[[126572,126572],\\\"mapped\\\",[1605]],[[126573,126573],\\\"mapped\\\",[1606]],[[126574,126574],\\\"mapped\\\",[1587]],[[126575,126575],\\\"mapped\\\",[1593]],[[126576,126576],\\\"mapped\\\",[1601]],[[126577,126577],\\\"mapped\\\",[1589]],[[126578,126578],\\\"mapped\\\",[1602]],[[126579,126579],\\\"disallowed\\\"],[[126580,126580],\\\"mapped\\\",[1588]],[[126581,126581],\\\"mapped\\\",[1578]],[[126582,126582],\\\"mapped\\\",[1579]],[[126583,126583],\\\"mapped\\\",[1582]],[[126584,126584],\\\"disallowed\\\"],[[126585,126585],\\\"mapped\\\",[1590]],[[126586,126586],\\\"mapped\\\",[1592]],[[126587,126587],\\\"mapped\\\",[1594]],[[126588,126588],\\\"mapped\\\",[1646]],[[126589,126589],\\\"disallowed\\\"],[[126590,126590],\\\"mapped\\\",[1697]],[[126591,126591],\\\"disallowed\\\"],[[126592,126592],\\\"mapped\\\",[1575]],[[126593,126593],\\\"mapped\\\",[1576]],[[126594,126594],\\\"mapped\\\",[1580]],[[126595,126595],\\\"mapped\\\",[1583]],[[126596,126596],\\\"mapped\\\",[1607]],[[126597,126597],\\\"mapped\\\",[1608]],[[126598,126598],\\\"mapped\\\",[1586]],[[126599,126599],\\\"mapped\\\",[1581]],[[126600,126600],\\\"mapped\\\",[1591]],[[126601,126601],\\\"mapped\\\",[1610]],[[126602,126602],\\\"disallowed\\\"],[[126603,126603],\\\"mapped\\\",[1604]],[[126604,126604],\\\"mapped\\\",[1605]],[[126605,126605],\\\"mapped\\\",[1606]],[[126606,126606],\\\"mapped\\\",[1587]],[[126607,126607],\\\"mapped\\\",[1593]],[[126608,126608],\\\"mapped\\\",[1601]],[[126609,126609],\\\"mapped\\\",[1589]],[[126610,126610],\\\"mapped\\\",[1602]],[[126611,126611],\\\"mapped\\\",[1585]],[[126612,126612],\\\"mapped\\\",[1588]],[[126613,126613],\\\"mapped\\\",[1578]],[[126614,126614],\\\"mapped\\\",[1579]],[[126615,126615],\\\"mapped\\\",[1582]],[[126616,126616],\\\"mapped\\\",[1584]],[[126617,126617],\\\"mapped\\\",[1590]],[[126618,126618],\\\"mapped\\\",[1592]],[[126619,126619],\\\"mapped\\\",[1594]],[[126620,126624],\\\"disallowed\\\"],[[126625,126625],\\\"mapped\\\",[1576]],[[126626,126626],\\\"mapped\\\",[1580]],[[126627,126627],\\\"mapped\\\",[1583]],[[126628,126628],\\\"disallowed\\\"],[[126629,126629],\\\"mapped\\\",[1608]],[[126630,126630],\\\"mapped\\\",[1586]],[[126631,126631],\\\"mapped\\\",[1581]],[[126632,126632],\\\"mapped\\\",[1591]],[[126633,126633],\\\"mapped\\\",[1610]],[[126634,126634],\\\"disallowed\\\"],[[126635,126635],\\\"mapped\\\",[1604]],[[126636,126636],\\\"mapped\\\",[1605]],[[126637,126637],\\\"mapped\\\",[1606]],[[126638,126638],\\\"mapped\\\",[1587]],[[126639,126639],\\\"mapped\\\",[1593]],[[126640,126640],\\\"mapped\\\",[1601]],[[126641,126641],\\\"mapped\\\",[1589]],[[126642,126642],\\\"mapped\\\",[1602]],[[126643,126643],\\\"mapped\\\",[1585]],[[126644,126644],\\\"mapped\\\",[1588]],[[126645,126645],\\\"mapped\\\",[1578]],[[126646,126646],\\\"mapped\\\",[1579]],[[126647,126647],\\\"mapped\\\",[1582]],[[126648,126648],\\\"mapped\\\",[1584]],[[126649,126649],\\\"mapped\\\",[1590]],[[126650,126650],\\\"mapped\\\",[1592]],[[126651,126651],\\\"mapped\\\",[1594]],[[126652,126703],\\\"disallowed\\\"],[[126704,126705],\\\"valid\\\",[],\\\"NV8\\\"],[[126706,126975],\\\"disallowed\\\"],[[126976,127019],\\\"valid\\\",[],\\\"NV8\\\"],[[127020,127023],\\\"disallowed\\\"],[[127024,127123],\\\"valid\\\",[],\\\"NV8\\\"],[[127124,127135],\\\"disallowed\\\"],[[127136,127150],\\\"valid\\\",[],\\\"NV8\\\"],[[127151,127152],\\\"disallowed\\\"],[[127153,127166],\\\"valid\\\",[],\\\"NV8\\\"],[[127167,127167],\\\"valid\\\",[],\\\"NV8\\\"],[[127168,127168],\\\"disallowed\\\"],[[127169,127183],\\\"valid\\\",[],\\\"NV8\\\"],[[127184,127184],\\\"disallowed\\\"],[[127185,127199],\\\"valid\\\",[],\\\"NV8\\\"],[[127200,127221],\\\"valid\\\",[],\\\"NV8\\\"],[[127222,127231],\\\"disallowed\\\"],[[127232,127232],\\\"disallowed\\\"],[[127233,127233],\\\"disallowed_STD3_mapped\\\",[48,44]],[[127234,127234],\\\"disallowed_STD3_mapped\\\",[49,44]],[[127235,127235],\\\"disallowed_STD3_mapped\\\",[50,44]],[[127236,127236],\\\"disallowed_STD3_mapped\\\",[51,44]],[[127237,127237],\\\"disallowed_STD3_mapped\\\",[52,44]],[[127238,127238],\\\"disallowed_STD3_mapped\\\",[53,44]],[[127239,127239],\\\"disallowed_STD3_mapped\\\",[54,44]],[[127240,127240],\\\"disallowed_STD3_mapped\\\",[55,44]],[[127241,127241],\\\"disallowed_STD3_mapped\\\",[56,44]],[[127242,127242],\\\"disallowed_STD3_mapped\\\",[57,44]],[[127243,127244],\\\"valid\\\",[],\\\"NV8\\\"],[[127245,127247],\\\"disallowed\\\"],[[127248,127248],\\\"disallowed_STD3_mapped\\\",[40,97,41]],[[127249,127249],\\\"disallowed_STD3_mapped\\\",[40,98,41]],[[127250,127250],\\\"disallowed_STD3_mapped\\\",[40,99,41]],[[127251,127251],\\\"disallowed_STD3_mapped\\\",[40,100,41]],[[127252,127252],\\\"disallowed_STD3_mapped\\\",[40,101,41]],[[127253,127253],\\\"disallowed_STD3_mapped\\\",[40,102,41]],[[127254,127254],\\\"disallowed_STD3_mapped\\\",[40,103,41]],[[127255,127255],\\\"disallowed_STD3_mapped\\\",[40,104,41]],[[127256,127256],\\\"disallowed_STD3_mapped\\\",[40,105,41]],[[127257,127257],\\\"disallowed_STD3_mapped\\\",[40,106,41]],[[127258,127258],\\\"disallowed_STD3_mapped\\\",[40,107,41]],[[127259,127259],\\\"disallowed_STD3_mapped\\\",[40,108,41]],[[127260,127260],\\\"disallowed_STD3_mapped\\\",[40,109,41]],[[127261,127261],\\\"disallowed_STD3_mapped\\\",[40,110,41]],[[127262,127262],\\\"disallowed_STD3_mapped\\\",[40,111,41]],[[127263,127263],\\\"disallowed_STD3_mapped\\\",[40,112,41]],[[127264,127264],\\\"disallowed_STD3_mapped\\\",[40,113,41]],[[127265,127265],\\\"disallowed_STD3_mapped\\\",[40,114,41]],[[127266,127266],\\\"disallowed_STD3_mapped\\\",[40,115,41]],[[127267,127267],\\\"disallowed_STD3_mapped\\\",[40,116,41]],[[127268,127268],\\\"disallowed_STD3_mapped\\\",[40,117,41]],[[127269,127269],\\\"disallowed_STD3_mapped\\\",[40,118,41]],[[127270,127270],\\\"disallowed_STD3_mapped\\\",[40,119,41]],[[127271,127271],\\\"disallowed_STD3_mapped\\\",[40,120,41]],[[127272,127272],\\\"disallowed_STD3_mapped\\\",[40,121,41]],[[127273,127273],\\\"disallowed_STD3_mapped\\\",[40,122,41]],[[127274,127274],\\\"mapped\\\",[12308,115,12309]],[[127275,127275],\\\"mapped\\\",[99]],[[127276,127276],\\\"mapped\\\",[114]],[[127277,127277],\\\"mapped\\\",[99,100]],[[127278,127278],\\\"mapped\\\",[119,122]],[[127279,127279],\\\"disallowed\\\"],[[127280,127280],\\\"mapped\\\",[97]],[[127281,127281],\\\"mapped\\\",[98]],[[127282,127282],\\\"mapped\\\",[99]],[[127283,127283],\\\"mapped\\\",[100]],[[127284,127284],\\\"mapped\\\",[101]],[[127285,127285],\\\"mapped\\\",[102]],[[127286,127286],\\\"mapped\\\",[103]],[[127287,127287],\\\"mapped\\\",[104]],[[127288,127288],\\\"mapped\\\",[105]],[[127289,127289],\\\"mapped\\\",[106]],[[127290,127290],\\\"mapped\\\",[107]],[[127291,127291],\\\"mapped\\\",[108]],[[127292,127292],\\\"mapped\\\",[109]],[[127293,127293],\\\"mapped\\\",[110]],[[127294,127294],\\\"mapped\\\",[111]],[[127295,127295],\\\"mapped\\\",[112]],[[127296,127296],\\\"mapped\\\",[113]],[[127297,127297],\\\"mapped\\\",[114]],[[127298,127298],\\\"mapped\\\",[115]],[[127299,127299],\\\"mapped\\\",[116]],[[127300,127300],\\\"mapped\\\",[117]],[[127301,127301],\\\"mapped\\\",[118]],[[127302,127302],\\\"mapped\\\",[119]],[[127303,127303],\\\"mapped\\\",[120]],[[127304,127304],\\\"mapped\\\",[121]],[[127305,127305],\\\"mapped\\\",[122]],[[127306,127306],\\\"mapped\\\",[104,118]],[[127307,127307],\\\"mapped\\\",[109,118]],[[127308,127308],\\\"mapped\\\",[115,100]],[[127309,127309],\\\"mapped\\\",[115,115]],[[127310,127310],\\\"mapped\\\",[112,112,118]],[[127311,127311],\\\"mapped\\\",[119,99]],[[127312,127318],\\\"valid\\\",[],\\\"NV8\\\"],[[127319,127319],\\\"valid\\\",[],\\\"NV8\\\"],[[127320,127326],\\\"valid\\\",[],\\\"NV8\\\"],[[127327,127327],\\\"valid\\\",[],\\\"NV8\\\"],[[127328,127337],\\\"valid\\\",[],\\\"NV8\\\"],[[127338,127338],\\\"mapped\\\",[109,99]],[[127339,127339],\\\"mapped\\\",[109,100]],[[127340,127343],\\\"disallowed\\\"],[[127344,127352],\\\"valid\\\",[],\\\"NV8\\\"],[[127353,127353],\\\"valid\\\",[],\\\"NV8\\\"],[[127354,127354],\\\"valid\\\",[],\\\"NV8\\\"],[[127355,127356],\\\"valid\\\",[],\\\"NV8\\\"],[[127357,127358],\\\"valid\\\",[],\\\"NV8\\\"],[[127359,127359],\\\"valid\\\",[],\\\"NV8\\\"],[[127360,127369],\\\"valid\\\",[],\\\"NV8\\\"],[[127370,127373],\\\"valid\\\",[],\\\"NV8\\\"],[[127374,127375],\\\"valid\\\",[],\\\"NV8\\\"],[[127376,127376],\\\"mapped\\\",[100,106]],[[127377,127386],\\\"valid\\\",[],\\\"NV8\\\"],[[127387,127461],\\\"disallowed\\\"],[[127462,127487],\\\"valid\\\",[],\\\"NV8\\\"],[[127488,127488],\\\"mapped\\\",[12411,12363]],[[127489,127489],\\\"mapped\\\",[12467,12467]],[[127490,127490],\\\"mapped\\\",[12469]],[[127491,127503],\\\"disallowed\\\"],[[127504,127504],\\\"mapped\\\",[25163]],[[127505,127505],\\\"mapped\\\",[23383]],[[127506,127506],\\\"mapped\\\",[21452]],[[127507,127507],\\\"mapped\\\",[12487]],[[127508,127508],\\\"mapped\\\",[20108]],[[127509,127509],\\\"mapped\\\",[22810]],[[127510,127510],\\\"mapped\\\",[35299]],[[127511,127511],\\\"mapped\\\",[22825]],[[127512,127512],\\\"mapped\\\",[20132]],[[127513,127513],\\\"mapped\\\",[26144]],[[127514,127514],\\\"mapped\\\",[28961]],[[127515,127515],\\\"mapped\\\",[26009]],[[127516,127516],\\\"mapped\\\",[21069]],[[127517,127517],\\\"mapped\\\",[24460]],[[127518,127518],\\\"mapped\\\",[20877]],[[127519,127519],\\\"mapped\\\",[26032]],[[127520,127520],\\\"mapped\\\",[21021]],[[127521,127521],\\\"mapped\\\",[32066]],[[127522,127522],\\\"mapped\\\",[29983]],[[127523,127523],\\\"mapped\\\",[36009]],[[127524,127524],\\\"mapped\\\",[22768]],[[127525,127525],\\\"mapped\\\",[21561]],[[127526,127526],\\\"mapped\\\",[28436]],[[127527,127527],\\\"mapped\\\",[25237]],[[127528,127528],\\\"mapped\\\",[25429]],[[127529,127529],\\\"mapped\\\",[19968]],[[127530,127530],\\\"mapped\\\",[19977]],[[127531,127531],\\\"mapped\\\",[36938]],[[127532,127532],\\\"mapped\\\",[24038]],[[127533,127533],\\\"mapped\\\",[20013]],[[127534,127534],\\\"mapped\\\",[21491]],[[127535,127535],\\\"mapped\\\",[25351]],[[127536,127536],\\\"mapped\\\",[36208]],[[127537,127537],\\\"mapped\\\",[25171]],[[127538,127538],\\\"mapped\\\",[31105]],[[127539,127539],\\\"mapped\\\",[31354]],[[127540,127540],\\\"mapped\\\",[21512]],[[127541,127541],\\\"mapped\\\",[28288]],[[127542,127542],\\\"mapped\\\",[26377]],[[127543,127543],\\\"mapped\\\",[26376]],[[127544,127544],\\\"mapped\\\",[30003]],[[127545,127545],\\\"mapped\\\",[21106]],[[127546,127546],\\\"mapped\\\",[21942]],[[127547,127551],\\\"disallowed\\\"],[[127552,127552],\\\"mapped\\\",[12308,26412,12309]],[[127553,127553],\\\"mapped\\\",[12308,19977,12309]],[[127554,127554],\\\"mapped\\\",[12308,20108,12309]],[[127555,127555],\\\"mapped\\\",[12308,23433,12309]],[[127556,127556],\\\"mapped\\\",[12308,28857,12309]],[[127557,127557],\\\"mapped\\\",[12308,25171,12309]],[[127558,127558],\\\"mapped\\\",[12308,30423,12309]],[[127559,127559],\\\"mapped\\\",[12308,21213,12309]],[[127560,127560],\\\"mapped\\\",[12308,25943,12309]],[[127561,127567],\\\"disallowed\\\"],[[127568,127568],\\\"mapped\\\",[24471]],[[127569,127569],\\\"mapped\\\",[21487]],[[127570,127743],\\\"disallowed\\\"],[[127744,127776],\\\"valid\\\",[],\\\"NV8\\\"],[[127777,127788],\\\"valid\\\",[],\\\"NV8\\\"],[[127789,127791],\\\"valid\\\",[],\\\"NV8\\\"],[[127792,127797],\\\"valid\\\",[],\\\"NV8\\\"],[[127798,127798],\\\"valid\\\",[],\\\"NV8\\\"],[[127799,127868],\\\"valid\\\",[],\\\"NV8\\\"],[[127869,127869],\\\"valid\\\",[],\\\"NV8\\\"],[[127870,127871],\\\"valid\\\",[],\\\"NV8\\\"],[[127872,127891],\\\"valid\\\",[],\\\"NV8\\\"],[[127892,127903],\\\"valid\\\",[],\\\"NV8\\\"],[[127904,127940],\\\"valid\\\",[],\\\"NV8\\\"],[[127941,127941],\\\"valid\\\",[],\\\"NV8\\\"],[[127942,127946],\\\"valid\\\",[],\\\"NV8\\\"],[[127947,127950],\\\"valid\\\",[],\\\"NV8\\\"],[[127951,127955],\\\"valid\\\",[],\\\"NV8\\\"],[[127956,127967],\\\"valid\\\",[],\\\"NV8\\\"],[[127968,127984],\\\"valid\\\",[],\\\"NV8\\\"],[[127985,127991],\\\"valid\\\",[],\\\"NV8\\\"],[[127992,127999],\\\"valid\\\",[],\\\"NV8\\\"],[[128000,128062],\\\"valid\\\",[],\\\"NV8\\\"],[[128063,128063],\\\"valid\\\",[],\\\"NV8\\\"],[[128064,128064],\\\"valid\\\",[],\\\"NV8\\\"],[[128065,128065],\\\"valid\\\",[],\\\"NV8\\\"],[[128066,128247],\\\"valid\\\",[],\\\"NV8\\\"],[[128248,128248],\\\"valid\\\",[],\\\"NV8\\\"],[[128249,128252],\\\"valid\\\",[],\\\"NV8\\\"],[[128253,128254],\\\"valid\\\",[],\\\"NV8\\\"],[[128255,128255],\\\"valid\\\",[],\\\"NV8\\\"],[[128256,128317],\\\"valid\\\",[],\\\"NV8\\\"],[[128318,128319],\\\"valid\\\",[],\\\"NV8\\\"],[[128320,128323],\\\"valid\\\",[],\\\"NV8\\\"],[[128324,128330],\\\"valid\\\",[],\\\"NV8\\\"],[[128331,128335],\\\"valid\\\",[],\\\"NV8\\\"],[[128336,128359],\\\"valid\\\",[],\\\"NV8\\\"],[[128360,128377],\\\"valid\\\",[],\\\"NV8\\\"],[[128378,128378],\\\"disallowed\\\"],[[128379,128419],\\\"valid\\\",[],\\\"NV8\\\"],[[128420,128420],\\\"disallowed\\\"],[[128421,128506],\\\"valid\\\",[],\\\"NV8\\\"],[[128507,128511],\\\"valid\\\",[],\\\"NV8\\\"],[[128512,128512],\\\"valid\\\",[],\\\"NV8\\\"],[[128513,128528],\\\"valid\\\",[],\\\"NV8\\\"],[[128529,128529],\\\"valid\\\",[],\\\"NV8\\\"],[[128530,128532],\\\"valid\\\",[],\\\"NV8\\\"],[[128533,128533],\\\"valid\\\",[],\\\"NV8\\\"],[[128534,128534],\\\"valid\\\",[],\\\"NV8\\\"],[[128535,128535],\\\"valid\\\",[],\\\"NV8\\\"],[[128536,128536],\\\"valid\\\",[],\\\"NV8\\\"],[[128537,128537],\\\"valid\\\",[],\\\"NV8\\\"],[[128538,128538],\\\"valid\\\",[],\\\"NV8\\\"],[[128539,128539],\\\"valid\\\",[],\\\"NV8\\\"],[[128540,128542],\\\"valid\\\",[],\\\"NV8\\\"],[[128543,128543],\\\"valid\\\",[],\\\"NV8\\\"],[[128544,128549],\\\"valid\\\",[],\\\"NV8\\\"],[[128550,128551],\\\"valid\\\",[],\\\"NV8\\\"],[[128552,128555],\\\"valid\\\",[],\\\"NV8\\\"],[[128556,128556],\\\"valid\\\",[],\\\"NV8\\\"],[[128557,128557],\\\"valid\\\",[],\\\"NV8\\\"],[[128558,128559],\\\"valid\\\",[],\\\"NV8\\\"],[[128560,128563],\\\"valid\\\",[],\\\"NV8\\\"],[[128564,128564],\\\"valid\\\",[],\\\"NV8\\\"],[[128565,128576],\\\"valid\\\",[],\\\"NV8\\\"],[[128577,128578],\\\"valid\\\",[],\\\"NV8\\\"],[[128579,128580],\\\"valid\\\",[],\\\"NV8\\\"],[[128581,128591],\\\"valid\\\",[],\\\"NV8\\\"],[[128592,128639],\\\"valid\\\",[],\\\"NV8\\\"],[[128640,128709],\\\"valid\\\",[],\\\"NV8\\\"],[[128710,128719],\\\"valid\\\",[],\\\"NV8\\\"],[[128720,128720],\\\"valid\\\",[],\\\"NV8\\\"],[[128721,128735],\\\"disallowed\\\"],[[128736,128748],\\\"valid\\\",[],\\\"NV8\\\"],[[128749,128751],\\\"disallowed\\\"],[[128752,128755],\\\"valid\\\",[],\\\"NV8\\\"],[[128756,128767],\\\"disallowed\\\"],[[128768,128883],\\\"valid\\\",[],\\\"NV8\\\"],[[128884,128895],\\\"disallowed\\\"],[[128896,128980],\\\"valid\\\",[],\\\"NV8\\\"],[[128981,129023],\\\"disallowed\\\"],[[129024,129035],\\\"valid\\\",[],\\\"NV8\\\"],[[129036,129039],\\\"disallowed\\\"],[[129040,129095],\\\"valid\\\",[],\\\"NV8\\\"],[[129096,129103],\\\"disallowed\\\"],[[129104,129113],\\\"valid\\\",[],\\\"NV8\\\"],[[129114,129119],\\\"disallowed\\\"],[[129120,129159],\\\"valid\\\",[],\\\"NV8\\\"],[[129160,129167],\\\"disallowed\\\"],[[129168,129197],\\\"valid\\\",[],\\\"NV8\\\"],[[129198,129295],\\\"disallowed\\\"],[[129296,129304],\\\"valid\\\",[],\\\"NV8\\\"],[[129305,129407],\\\"disallowed\\\"],[[129408,129412],\\\"valid\\\",[],\\\"NV8\\\"],[[129413,129471],\\\"disallowed\\\"],[[129472,129472],\\\"valid\\\",[],\\\"NV8\\\"],[[129473,131069],\\\"disallowed\\\"],[[131070,131071],\\\"disallowed\\\"],[[131072,173782],\\\"valid\\\"],[[173783,173823],\\\"disallowed\\\"],[[173824,177972],\\\"valid\\\"],[[177973,177983],\\\"disallowed\\\"],[[177984,178205],\\\"valid\\\"],[[178206,178207],\\\"disallowed\\\"],[[178208,183969],\\\"valid\\\"],[[183970,194559],\\\"disallowed\\\"],[[194560,194560],\\\"mapped\\\",[20029]],[[194561,194561],\\\"mapped\\\",[20024]],[[194562,194562],\\\"mapped\\\",[20033]],[[194563,194563],\\\"mapped\\\",[131362]],[[194564,194564],\\\"mapped\\\",[20320]],[[194565,194565],\\\"mapped\\\",[20398]],[[194566,194566],\\\"mapped\\\",[20411]],[[194567,194567],\\\"mapped\\\",[20482]],[[194568,194568],\\\"mapped\\\",[20602]],[[194569,194569],\\\"mapped\\\",[20633]],[[194570,194570],\\\"mapped\\\",[20711]],[[194571,194571],\\\"mapped\\\",[20687]],[[194572,194572],\\\"mapped\\\",[13470]],[[194573,194573],\\\"mapped\\\",[132666]],[[194574,194574],\\\"mapped\\\",[20813]],[[194575,194575],\\\"mapped\\\",[20820]],[[194576,194576],\\\"mapped\\\",[20836]],[[194577,194577],\\\"mapped\\\",[20855]],[[194578,194578],\\\"mapped\\\",[132380]],[[194579,194579],\\\"mapped\\\",[13497]],[[194580,194580],\\\"mapped\\\",[20839]],[[194581,194581],\\\"mapped\\\",[20877]],[[194582,194582],\\\"mapped\\\",[132427]],[[194583,194583],\\\"mapped\\\",[20887]],[[194584,194584],\\\"mapped\\\",[20900]],[[194585,194585],\\\"mapped\\\",[20172]],[[194586,194586],\\\"mapped\\\",[20908]],[[194587,194587],\\\"mapped\\\",[20917]],[[194588,194588],\\\"mapped\\\",[168415]],[[194589,194589],\\\"mapped\\\",[20981]],[[194590,194590],\\\"mapped\\\",[20995]],[[194591,194591],\\\"mapped\\\",[13535]],[[194592,194592],\\\"mapped\\\",[21051]],[[194593,194593],\\\"mapped\\\",[21062]],[[194594,194594],\\\"mapped\\\",[21106]],[[194595,194595],\\\"mapped\\\",[21111]],[[194596,194596],\\\"mapped\\\",[13589]],[[194597,194597],\\\"mapped\\\",[21191]],[[194598,194598],\\\"mapped\\\",[21193]],[[194599,194599],\\\"mapped\\\",[21220]],[[194600,194600],\\\"mapped\\\",[21242]],[[194601,194601],\\\"mapped\\\",[21253]],[[194602,194602],\\\"mapped\\\",[21254]],[[194603,194603],\\\"mapped\\\",[21271]],[[194604,194604],\\\"mapped\\\",[21321]],[[194605,194605],\\\"mapped\\\",[21329]],[[194606,194606],\\\"mapped\\\",[21338]],[[194607,194607],\\\"mapped\\\",[21363]],[[194608,194608],\\\"mapped\\\",[21373]],[[194609,194611],\\\"mapped\\\",[21375]],[[194612,194612],\\\"mapped\\\",[133676]],[[194613,194613],\\\"mapped\\\",[28784]],[[194614,194614],\\\"mapped\\\",[21450]],[[194615,194615],\\\"mapped\\\",[21471]],[[194616,194616],\\\"mapped\\\",[133987]],[[194617,194617],\\\"mapped\\\",[21483]],[[194618,194618],\\\"mapped\\\",[21489]],[[194619,194619],\\\"mapped\\\",[21510]],[[194620,194620],\\\"mapped\\\",[21662]],[[194621,194621],\\\"mapped\\\",[21560]],[[194622,194622],\\\"mapped\\\",[21576]],[[194623,194623],\\\"mapped\\\",[21608]],[[194624,194624],\\\"mapped\\\",[21666]],[[194625,194625],\\\"mapped\\\",[21750]],[[194626,194626],\\\"mapped\\\",[21776]],[[194627,194627],\\\"mapped\\\",[21843]],[[194628,194628],\\\"mapped\\\",[21859]],[[194629,194630],\\\"mapped\\\",[21892]],[[194631,194631],\\\"mapped\\\",[21913]],[[194632,194632],\\\"mapped\\\",[21931]],[[194633,194633],\\\"mapped\\\",[21939]],[[194634,194634],\\\"mapped\\\",[21954]],[[194635,194635],\\\"mapped\\\",[22294]],[[194636,194636],\\\"mapped\\\",[22022]],[[194637,194637],\\\"mapped\\\",[22295]],[[194638,194638],\\\"mapped\\\",[22097]],[[194639,194639],\\\"mapped\\\",[22132]],[[194640,194640],\\\"mapped\\\",[20999]],[[194641,194641],\\\"mapped\\\",[22766]],[[194642,194642],\\\"mapped\\\",[22478]],[[194643,194643],\\\"mapped\\\",[22516]],[[194644,194644],\\\"mapped\\\",[22541]],[[194645,194645],\\\"mapped\\\",[22411]],[[194646,194646],\\\"mapped\\\",[22578]],[[194647,194647],\\\"mapped\\\",[22577]],[[194648,194648],\\\"mapped\\\",[22700]],[[194649,194649],\\\"mapped\\\",[136420]],[[194650,194650],\\\"mapped\\\",[22770]],[[194651,194651],\\\"mapped\\\",[22775]],[[194652,194652],\\\"mapped\\\",[22790]],[[194653,194653],\\\"mapped\\\",[22810]],[[194654,194654],\\\"mapped\\\",[22818]],[[194655,194655],\\\"mapped\\\",[22882]],[[194656,194656],\\\"mapped\\\",[136872]],[[194657,194657],\\\"mapped\\\",[136938]],[[194658,194658],\\\"mapped\\\",[23020]],[[194659,194659],\\\"mapped\\\",[23067]],[[194660,194660],\\\"mapped\\\",[23079]],[[194661,194661],\\\"mapped\\\",[23000]],[[194662,194662],\\\"mapped\\\",[23142]],[[194663,194663],\\\"mapped\\\",[14062]],[[194664,194664],\\\"disallowed\\\"],[[194665,194665],\\\"mapped\\\",[23304]],[[194666,194667],\\\"mapped\\\",[23358]],[[194668,194668],\\\"mapped\\\",[137672]],[[194669,194669],\\\"mapped\\\",[23491]],[[194670,194670],\\\"mapped\\\",[23512]],[[194671,194671],\\\"mapped\\\",[23527]],[[194672,194672],\\\"mapped\\\",[23539]],[[194673,194673],\\\"mapped\\\",[138008]],[[194674,194674],\\\"mapped\\\",[23551]],[[194675,194675],\\\"mapped\\\",[23558]],[[194676,194676],\\\"disallowed\\\"],[[194677,194677],\\\"mapped\\\",[23586]],[[194678,194678],\\\"mapped\\\",[14209]],[[194679,194679],\\\"mapped\\\",[23648]],[[194680,194680],\\\"mapped\\\",[23662]],[[194681,194681],\\\"mapped\\\",[23744]],[[194682,194682],\\\"mapped\\\",[23693]],[[194683,194683],\\\"mapped\\\",[138724]],[[194684,194684],\\\"mapped\\\",[23875]],[[194685,194685],\\\"mapped\\\",[138726]],[[194686,194686],\\\"mapped\\\",[23918]],[[194687,194687],\\\"mapped\\\",[23915]],[[194688,194688],\\\"mapped\\\",[23932]],[[194689,194689],\\\"mapped\\\",[24033]],[[194690,194690],\\\"mapped\\\",[24034]],[[194691,194691],\\\"mapped\\\",[14383]],[[194692,194692],\\\"mapped\\\",[24061]],[[194693,194693],\\\"mapped\\\",[24104]],[[194694,194694],\\\"mapped\\\",[24125]],[[194695,194695],\\\"mapped\\\",[24169]],[[194696,194696],\\\"mapped\\\",[14434]],[[194697,194697],\\\"mapped\\\",[139651]],[[194698,194698],\\\"mapped\\\",[14460]],[[194699,194699],\\\"mapped\\\",[24240]],[[194700,194700],\\\"mapped\\\",[24243]],[[194701,194701],\\\"mapped\\\",[24246]],[[194702,194702],\\\"mapped\\\",[24266]],[[194703,194703],\\\"mapped\\\",[172946]],[[194704,194704],\\\"mapped\\\",[24318]],[[194705,194706],\\\"mapped\\\",[140081]],[[194707,194707],\\\"mapped\\\",[33281]],[[194708,194709],\\\"mapped\\\",[24354]],[[194710,194710],\\\"mapped\\\",[14535]],[[194711,194711],\\\"mapped\\\",[144056]],[[194712,194712],\\\"mapped\\\",[156122]],[[194713,194713],\\\"mapped\\\",[24418]],[[194714,194714],\\\"mapped\\\",[24427]],[[194715,194715],\\\"mapped\\\",[14563]],[[194716,194716],\\\"mapped\\\",[24474]],[[194717,194717],\\\"mapped\\\",[24525]],[[194718,194718],\\\"mapped\\\",[24535]],[[194719,194719],\\\"mapped\\\",[24569]],[[194720,194720],\\\"mapped\\\",[24705]],[[194721,194721],\\\"mapped\\\",[14650]],[[194722,194722],\\\"mapped\\\",[14620]],[[194723,194723],\\\"mapped\\\",[24724]],[[194724,194724],\\\"mapped\\\",[141012]],[[194725,194725],\\\"mapped\\\",[24775]],[[194726,194726],\\\"mapped\\\",[24904]],[[194727,194727],\\\"mapped\\\",[24908]],[[194728,194728],\\\"mapped\\\",[24910]],[[194729,194729],\\\"mapped\\\",[24908]],[[194730,194730],\\\"mapped\\\",[24954]],[[194731,194731],\\\"mapped\\\",[24974]],[[194732,194732],\\\"mapped\\\",[25010]],[[194733,194733],\\\"mapped\\\",[24996]],[[194734,194734],\\\"mapped\\\",[25007]],[[194735,194735],\\\"mapped\\\",[25054]],[[194736,194736],\\\"mapped\\\",[25074]],[[194737,194737],\\\"mapped\\\",[25078]],[[194738,194738],\\\"mapped\\\",[25104]],[[194739,194739],\\\"mapped\\\",[25115]],[[194740,194740],\\\"mapped\\\",[25181]],[[194741,194741],\\\"mapped\\\",[25265]],[[194742,194742],\\\"mapped\\\",[25300]],[[194743,194743],\\\"mapped\\\",[25424]],[[194744,194744],\\\"mapped\\\",[142092]],[[194745,194745],\\\"mapped\\\",[25405]],[[194746,194746],\\\"mapped\\\",[25340]],[[194747,194747],\\\"mapped\\\",[25448]],[[194748,194748],\\\"mapped\\\",[25475]],[[194749,194749],\\\"mapped\\\",[25572]],[[194750,194750],\\\"mapped\\\",[142321]],[[194751,194751],\\\"mapped\\\",[25634]],[[194752,194752],\\\"mapped\\\",[25541]],[[194753,194753],\\\"mapped\\\",[25513]],[[194754,194754],\\\"mapped\\\",[14894]],[[194755,194755],\\\"mapped\\\",[25705]],[[194756,194756],\\\"mapped\\\",[25726]],[[194757,194757],\\\"mapped\\\",[25757]],[[194758,194758],\\\"mapped\\\",[25719]],[[194759,194759],\\\"mapped\\\",[14956]],[[194760,194760],\\\"mapped\\\",[25935]],[[194761,194761],\\\"mapped\\\",[25964]],[[194762,194762],\\\"mapped\\\",[143370]],[[194763,194763],\\\"mapped\\\",[26083]],[[194764,194764],\\\"mapped\\\",[26360]],[[194765,194765],\\\"mapped\\\",[26185]],[[194766,194766],\\\"mapped\\\",[15129]],[[194767,194767],\\\"mapped\\\",[26257]],[[194768,194768],\\\"mapped\\\",[15112]],[[194769,194769],\\\"mapped\\\",[15076]],[[194770,194770],\\\"mapped\\\",[20882]],[[194771,194771],\\\"mapped\\\",[20885]],[[194772,194772],\\\"mapped\\\",[26368]],[[194773,194773],\\\"mapped\\\",[26268]],[[194774,194774],\\\"mapped\\\",[32941]],[[194775,194775],\\\"mapped\\\",[17369]],[[194776,194776],\\\"mapped\\\",[26391]],[[194777,194777],\\\"mapped\\\",[26395]],[[194778,194778],\\\"mapped\\\",[26401]],[[194779,194779],\\\"mapped\\\",[26462]],[[194780,194780],\\\"mapped\\\",[26451]],[[194781,194781],\\\"mapped\\\",[144323]],[[194782,194782],\\\"mapped\\\",[15177]],[[194783,194783],\\\"mapped\\\",[26618]],[[194784,194784],\\\"mapped\\\",[26501]],[[194785,194785],\\\"mapped\\\",[26706]],[[194786,194786],\\\"mapped\\\",[26757]],[[194787,194787],\\\"mapped\\\",[144493]],[[194788,194788],\\\"mapped\\\",[26766]],[[194789,194789],\\\"mapped\\\",[26655]],[[194790,194790],\\\"mapped\\\",[26900]],[[194791,194791],\\\"mapped\\\",[15261]],[[194792,194792],\\\"mapped\\\",[26946]],[[194793,194793],\\\"mapped\\\",[27043]],[[194794,194794],\\\"mapped\\\",[27114]],[[194795,194795],\\\"mapped\\\",[27304]],[[194796,194796],\\\"mapped\\\",[145059]],[[194797,194797],\\\"mapped\\\",[27355]],[[194798,194798],\\\"mapped\\\",[15384]],[[194799,194799],\\\"mapped\\\",[27425]],[[194800,194800],\\\"mapped\\\",[145575]],[[194801,194801],\\\"mapped\\\",[27476]],[[194802,194802],\\\"mapped\\\",[15438]],[[194803,194803],\\\"mapped\\\",[27506]],[[194804,194804],\\\"mapped\\\",[27551]],[[194805,194805],\\\"mapped\\\",[27578]],[[194806,194806],\\\"mapped\\\",[27579]],[[194807,194807],\\\"mapped\\\",[146061]],[[194808,194808],\\\"mapped\\\",[138507]],[[194809,194809],\\\"mapped\\\",[146170]],[[194810,194810],\\\"mapped\\\",[27726]],[[194811,194811],\\\"mapped\\\",[146620]],[[194812,194812],\\\"mapped\\\",[27839]],[[194813,194813],\\\"mapped\\\",[27853]],[[194814,194814],\\\"mapped\\\",[27751]],[[194815,194815],\\\"mapped\\\",[27926]],[[194816,194816],\\\"mapped\\\",[27966]],[[194817,194817],\\\"mapped\\\",[28023]],[[194818,194818],\\\"mapped\\\",[27969]],[[194819,194819],\\\"mapped\\\",[28009]],[[194820,194820],\\\"mapped\\\",[28024]],[[194821,194821],\\\"mapped\\\",[28037]],[[194822,194822],\\\"mapped\\\",[146718]],[[194823,194823],\\\"mapped\\\",[27956]],[[194824,194824],\\\"mapped\\\",[28207]],[[194825,194825],\\\"mapped\\\",[28270]],[[194826,194826],\\\"mapped\\\",[15667]],[[194827,194827],\\\"mapped\\\",[28363]],[[194828,194828],\\\"mapped\\\",[28359]],[[194829,194829],\\\"mapped\\\",[147153]],[[194830,194830],\\\"mapped\\\",[28153]],[[194831,194831],\\\"mapped\\\",[28526]],[[194832,194832],\\\"mapped\\\",[147294]],[[194833,194833],\\\"mapped\\\",[147342]],[[194834,194834],\\\"mapped\\\",[28614]],[[194835,194835],\\\"mapped\\\",[28729]],[[194836,194836],\\\"mapped\\\",[28702]],[[194837,194837],\\\"mapped\\\",[28699]],[[194838,194838],\\\"mapped\\\",[15766]],[[194839,194839],\\\"mapped\\\",[28746]],[[194840,194840],\\\"mapped\\\",[28797]],[[194841,194841],\\\"mapped\\\",[28791]],[[194842,194842],\\\"mapped\\\",[28845]],[[194843,194843],\\\"mapped\\\",[132389]],[[194844,194844],\\\"mapped\\\",[28997]],[[194845,194845],\\\"mapped\\\",[148067]],[[194846,194846],\\\"mapped\\\",[29084]],[[194847,194847],\\\"disallowed\\\"],[[194848,194848],\\\"mapped\\\",[29224]],[[194849,194849],\\\"mapped\\\",[29237]],[[194850,194850],\\\"mapped\\\",[29264]],[[194851,194851],\\\"mapped\\\",[149000]],[[194852,194852],\\\"mapped\\\",[29312]],[[194853,194853],\\\"mapped\\\",[29333]],[[194854,194854],\\\"mapped\\\",[149301]],[[194855,194855],\\\"mapped\\\",[149524]],[[194856,194856],\\\"mapped\\\",[29562]],[[194857,194857],\\\"mapped\\\",[29579]],[[194858,194858],\\\"mapped\\\",[16044]],[[194859,194859],\\\"mapped\\\",[29605]],[[194860,194861],\\\"mapped\\\",[16056]],[[194862,194862],\\\"mapped\\\",[29767]],[[194863,194863],\\\"mapped\\\",[29788]],[[194864,194864],\\\"mapped\\\",[29809]],[[194865,194865],\\\"mapped\\\",[29829]],[[194866,194866],\\\"mapped\\\",[29898]],[[194867,194867],\\\"mapped\\\",[16155]],[[194868,194868],\\\"mapped\\\",[29988]],[[194869,194869],\\\"mapped\\\",[150582]],[[194870,194870],\\\"mapped\\\",[30014]],[[194871,194871],\\\"mapped\\\",[150674]],[[194872,194872],\\\"mapped\\\",[30064]],[[194873,194873],\\\"mapped\\\",[139679]],[[194874,194874],\\\"mapped\\\",[30224]],[[194875,194875],\\\"mapped\\\",[151457]],[[194876,194876],\\\"mapped\\\",[151480]],[[194877,194877],\\\"mapped\\\",[151620]],[[194878,194878],\\\"mapped\\\",[16380]],[[194879,194879],\\\"mapped\\\",[16392]],[[194880,194880],\\\"mapped\\\",[30452]],[[194881,194881],\\\"mapped\\\",[151795]],[[194882,194882],\\\"mapped\\\",[151794]],[[194883,194883],\\\"mapped\\\",[151833]],[[194884,194884],\\\"mapped\\\",[151859]],[[194885,194885],\\\"mapped\\\",[30494]],[[194886,194887],\\\"mapped\\\",[30495]],[[194888,194888],\\\"mapped\\\",[30538]],[[194889,194889],\\\"mapped\\\",[16441]],[[194890,194890],\\\"mapped\\\",[30603]],[[194891,194891],\\\"mapped\\\",[16454]],[[194892,194892],\\\"mapped\\\",[16534]],[[194893,194893],\\\"mapped\\\",[152605]],[[194894,194894],\\\"mapped\\\",[30798]],[[194895,194895],\\\"mapped\\\",[30860]],[[194896,194896],\\\"mapped\\\",[30924]],[[194897,194897],\\\"mapped\\\",[16611]],[[194898,194898],\\\"mapped\\\",[153126]],[[194899,194899],\\\"mapped\\\",[31062]],[[194900,194900],\\\"mapped\\\",[153242]],[[194901,194901],\\\"mapped\\\",[153285]],[[194902,194902],\\\"mapped\\\",[31119]],[[194903,194903],\\\"mapped\\\",[31211]],[[194904,194904],\\\"mapped\\\",[16687]],[[194905,194905],\\\"mapped\\\",[31296]],[[194906,194906],\\\"mapped\\\",[31306]],[[194907,194907],\\\"mapped\\\",[31311]],[[194908,194908],\\\"mapped\\\",[153980]],[[194909,194910],\\\"mapped\\\",[154279]],[[194911,194911],\\\"disallowed\\\"],[[194912,194912],\\\"mapped\\\",[16898]],[[194913,194913],\\\"mapped\\\",[154539]],[[194914,194914],\\\"mapped\\\",[31686]],[[194915,194915],\\\"mapped\\\",[31689]],[[194916,194916],\\\"mapped\\\",[16935]],[[194917,194917],\\\"mapped\\\",[154752]],[[194918,194918],\\\"mapped\\\",[31954]],[[194919,194919],\\\"mapped\\\",[17056]],[[194920,194920],\\\"mapped\\\",[31976]],[[194921,194921],\\\"mapped\\\",[31971]],[[194922,194922],\\\"mapped\\\",[32000]],[[194923,194923],\\\"mapped\\\",[155526]],[[194924,194924],\\\"mapped\\\",[32099]],[[194925,194925],\\\"mapped\\\",[17153]],[[194926,194926],\\\"mapped\\\",[32199]],[[194927,194927],\\\"mapped\\\",[32258]],[[194928,194928],\\\"mapped\\\",[32325]],[[194929,194929],\\\"mapped\\\",[17204]],[[194930,194930],\\\"mapped\\\",[156200]],[[194931,194931],\\\"mapped\\\",[156231]],[[194932,194932],\\\"mapped\\\",[17241]],[[194933,194933],\\\"mapped\\\",[156377]],[[194934,194934],\\\"mapped\\\",[32634]],[[194935,194935],\\\"mapped\\\",[156478]],[[194936,194936],\\\"mapped\\\",[32661]],[[194937,194937],\\\"mapped\\\",[32762]],[[194938,194938],\\\"mapped\\\",[32773]],[[194939,194939],\\\"mapped\\\",[156890]],[[194940,194940],\\\"mapped\\\",[156963]],[[194941,194941],\\\"mapped\\\",[32864]],[[194942,194942],\\\"mapped\\\",[157096]],[[194943,194943],\\\"mapped\\\",[32880]],[[194944,194944],\\\"mapped\\\",[144223]],[[194945,194945],\\\"mapped\\\",[17365]],[[194946,194946],\\\"mapped\\\",[32946]],[[194947,194947],\\\"mapped\\\",[33027]],[[194948,194948],\\\"mapped\\\",[17419]],[[194949,194949],\\\"mapped\\\",[33086]],[[194950,194950],\\\"mapped\\\",[23221]],[[194951,194951],\\\"mapped\\\",[157607]],[[194952,194952],\\\"mapped\\\",[157621]],[[194953,194953],\\\"mapped\\\",[144275]],[[194954,194954],\\\"mapped\\\",[144284]],[[194955,194955],\\\"mapped\\\",[33281]],[[194956,194956],\\\"mapped\\\",[33284]],[[194957,194957],\\\"mapped\\\",[36766]],[[194958,194958],\\\"mapped\\\",[17515]],[[194959,194959],\\\"mapped\\\",[33425]],[[194960,194960],\\\"mapped\\\",[33419]],[[194961,194961],\\\"mapped\\\",[33437]],[[194962,194962],\\\"mapped\\\",[21171]],[[194963,194963],\\\"mapped\\\",[33457]],[[194964,194964],\\\"mapped\\\",[33459]],[[194965,194965],\\\"mapped\\\",[33469]],[[194966,194966],\\\"mapped\\\",[33510]],[[194967,194967],\\\"mapped\\\",[158524]],[[194968,194968],\\\"mapped\\\",[33509]],[[194969,194969],\\\"mapped\\\",[33565]],[[194970,194970],\\\"mapped\\\",[33635]],[[194971,194971],\\\"mapped\\\",[33709]],[[194972,194972],\\\"mapped\\\",[33571]],[[194973,194973],\\\"mapped\\\",[33725]],[[194974,194974],\\\"mapped\\\",[33767]],[[194975,194975],\\\"mapped\\\",[33879]],[[194976,194976],\\\"mapped\\\",[33619]],[[194977,194977],\\\"mapped\\\",[33738]],[[194978,194978],\\\"mapped\\\",[33740]],[[194979,194979],\\\"mapped\\\",[33756]],[[194980,194980],\\\"mapped\\\",[158774]],[[194981,194981],\\\"mapped\\\",[159083]],[[194982,194982],\\\"mapped\\\",[158933]],[[194983,194983],\\\"mapped\\\",[17707]],[[194984,194984],\\\"mapped\\\",[34033]],[[194985,194985],\\\"mapped\\\",[34035]],[[194986,194986],\\\"mapped\\\",[34070]],[[194987,194987],\\\"mapped\\\",[160714]],[[194988,194988],\\\"mapped\\\",[34148]],[[194989,194989],\\\"mapped\\\",[159532]],[[194990,194990],\\\"mapped\\\",[17757]],[[194991,194991],\\\"mapped\\\",[17761]],[[194992,194992],\\\"mapped\\\",[159665]],[[194993,194993],\\\"mapped\\\",[159954]],[[194994,194994],\\\"mapped\\\",[17771]],[[194995,194995],\\\"mapped\\\",[34384]],[[194996,194996],\\\"mapped\\\",[34396]],[[194997,194997],\\\"mapped\\\",[34407]],[[194998,194998],\\\"mapped\\\",[34409]],[[194999,194999],\\\"mapped\\\",[34473]],[[195000,195000],\\\"mapped\\\",[34440]],[[195001,195001],\\\"mapped\\\",[34574]],[[195002,195002],\\\"mapped\\\",[34530]],[[195003,195003],\\\"mapped\\\",[34681]],[[195004,195004],\\\"mapped\\\",[34600]],[[195005,195005],\\\"mapped\\\",[34667]],[[195006,195006],\\\"mapped\\\",[34694]],[[195007,195007],\\\"disallowed\\\"],[[195008,195008],\\\"mapped\\\",[34785]],[[195009,195009],\\\"mapped\\\",[34817]],[[195010,195010],\\\"mapped\\\",[17913]],[[195011,195011],\\\"mapped\\\",[34912]],[[195012,195012],\\\"mapped\\\",[34915]],[[195013,195013],\\\"mapped\\\",[161383]],[[195014,195014],\\\"mapped\\\",[35031]],[[195015,195015],\\\"mapped\\\",[35038]],[[195016,195016],\\\"mapped\\\",[17973]],[[195017,195017],\\\"mapped\\\",[35066]],[[195018,195018],\\\"mapped\\\",[13499]],[[195019,195019],\\\"mapped\\\",[161966]],[[195020,195020],\\\"mapped\\\",[162150]],[[195021,195021],\\\"mapped\\\",[18110]],[[195022,195022],\\\"mapped\\\",[18119]],[[195023,195023],\\\"mapped\\\",[35488]],[[195024,195024],\\\"mapped\\\",[35565]],[[195025,195025],\\\"mapped\\\",[35722]],[[195026,195026],\\\"mapped\\\",[35925]],[[195027,195027],\\\"mapped\\\",[162984]],[[195028,195028],\\\"mapped\\\",[36011]],[[195029,195029],\\\"mapped\\\",[36033]],[[195030,195030],\\\"mapped\\\",[36123]],[[195031,195031],\\\"mapped\\\",[36215]],[[195032,195032],\\\"mapped\\\",[163631]],[[195033,195033],\\\"mapped\\\",[133124]],[[195034,195034],\\\"mapped\\\",[36299]],[[195035,195035],\\\"mapped\\\",[36284]],[[195036,195036],\\\"mapped\\\",[36336]],[[195037,195037],\\\"mapped\\\",[133342]],[[195038,195038],\\\"mapped\\\",[36564]],[[195039,195039],\\\"mapped\\\",[36664]],[[195040,195040],\\\"mapped\\\",[165330]],[[195041,195041],\\\"mapped\\\",[165357]],[[195042,195042],\\\"mapped\\\",[37012]],[[195043,195043],\\\"mapped\\\",[37105]],[[195044,195044],\\\"mapped\\\",[37137]],[[195045,195045],\\\"mapped\\\",[165678]],[[195046,195046],\\\"mapped\\\",[37147]],[[195047,195047],\\\"mapped\\\",[37432]],[[195048,195048],\\\"mapped\\\",[37591]],[[195049,195049],\\\"mapped\\\",[37592]],[[195050,195050],\\\"mapped\\\",[37500]],[[195051,195051],\\\"mapped\\\",[37881]],[[195052,195052],\\\"mapped\\\",[37909]],[[195053,195053],\\\"mapped\\\",[166906]],[[195054,195054],\\\"mapped\\\",[38283]],[[195055,195055],\\\"mapped\\\",[18837]],[[195056,195056],\\\"mapped\\\",[38327]],[[195057,195057],\\\"mapped\\\",[167287]],[[195058,195058],\\\"mapped\\\",[18918]],[[195059,195059],\\\"mapped\\\",[38595]],[[195060,195060],\\\"mapped\\\",[23986]],[[195061,195061],\\\"mapped\\\",[38691]],[[195062,195062],\\\"mapped\\\",[168261]],[[195063,195063],\\\"mapped\\\",[168474]],[[195064,195064],\\\"mapped\\\",[19054]],[[195065,195065],\\\"mapped\\\",[19062]],[[195066,195066],\\\"mapped\\\",[38880]],[[195067,195067],\\\"mapped\\\",[168970]],[[195068,195068],\\\"mapped\\\",[19122]],[[195069,195069],\\\"mapped\\\",[169110]],[[195070,195071],\\\"mapped\\\",[38923]],[[195072,195072],\\\"mapped\\\",[38953]],[[195073,195073],\\\"mapped\\\",[169398]],[[195074,195074],\\\"mapped\\\",[39138]],[[195075,195075],\\\"mapped\\\",[19251]],[[195076,195076],\\\"mapped\\\",[39209]],[[195077,195077],\\\"mapped\\\",[39335]],[[195078,195078],\\\"mapped\\\",[39362]],[[195079,195079],\\\"mapped\\\",[39422]],[[195080,195080],\\\"mapped\\\",[19406]],[[195081,195081],\\\"mapped\\\",[170800]],[[195082,195082],\\\"mapped\\\",[39698]],[[195083,195083],\\\"mapped\\\",[40000]],[[195084,195084],\\\"mapped\\\",[40189]],[[195085,195085],\\\"mapped\\\",[19662]],[[195086,195086],\\\"mapped\\\",[19693]],[[195087,195087],\\\"mapped\\\",[40295]],[[195088,195088],\\\"mapped\\\",[172238]],[[195089,195089],\\\"mapped\\\",[19704]],[[195090,195090],\\\"mapped\\\",[172293]],[[195091,195091],\\\"mapped\\\",[172558]],[[195092,195092],\\\"mapped\\\",[172689]],[[195093,195093],\\\"mapped\\\",[40635]],[[195094,195094],\\\"mapped\\\",[19798]],[[195095,195095],\\\"mapped\\\",[40697]],[[195096,195096],\\\"mapped\\\",[40702]],[[195097,195097],\\\"mapped\\\",[40709]],[[195098,195098],\\\"mapped\\\",[40719]],[[195099,195099],\\\"mapped\\\",[40726]],[[195100,195100],\\\"mapped\\\",[40763]],[[195101,195101],\\\"mapped\\\",[173568]],[[195102,196605],\\\"disallowed\\\"],[[196606,196607],\\\"disallowed\\\"],[[196608,262141],\\\"disallowed\\\"],[[262142,262143],\\\"disallowed\\\"],[[262144,327677],\\\"disallowed\\\"],[[327678,327679],\\\"disallowed\\\"],[[327680,393213],\\\"disallowed\\\"],[[393214,393215],\\\"disallowed\\\"],[[393216,458749],\\\"disallowed\\\"],[[458750,458751],\\\"disallowed\\\"],[[458752,524285],\\\"disallowed\\\"],[[524286,524287],\\\"disallowed\\\"],[[524288,589821],\\\"disallowed\\\"],[[589822,589823],\\\"disallowed\\\"],[[589824,655357],\\\"disallowed\\\"],[[655358,655359],\\\"disallowed\\\"],[[655360,720893],\\\"disallowed\\\"],[[720894,720895],\\\"disallowed\\\"],[[720896,786429],\\\"disallowed\\\"],[[786430,786431],\\\"disallowed\\\"],[[786432,851965],\\\"disallowed\\\"],[[851966,851967],\\\"disallowed\\\"],[[851968,917501],\\\"disallowed\\\"],[[917502,917503],\\\"disallowed\\\"],[[917504,917504],\\\"disallowed\\\"],[[917505,917505],\\\"disallowed\\\"],[[917506,917535],\\\"disallowed\\\"],[[917536,917631],\\\"disallowed\\\"],[[917632,917759],\\\"disallowed\\\"],[[917760,917999],\\\"ignored\\\"],[[918000,983037],\\\"disallowed\\\"],[[983038,983039],\\\"disallowed\\\"],[[983040,1048573],\\\"disallowed\\\"],[[1048574,1048575],\\\"disallowed\\\"],[[1048576,1114109],\\\"disallowed\\\"],[[1114110,1114111],\\\"disallowed\\\"]]\");\n\n//# sourceURL=webpack://GeoRaster/./node_modules/tr46/lib/mappingTable.json?"); + +/***/ }), + +/***/ "./node_modules/txml/tXml.js": +/*!***********************************!*\ + !*** ./node_modules/txml/tXml.js ***! + \***********************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("/**\n * Module dependencies.\n */\n\nconst tty = __webpack_require__(/*! tty */ \"tty\");\nconst util = __webpack_require__(/*! util */ \"util\");\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = __webpack_require__(/*! supports-color */ \"./node_modules/supports-color/index.js\");\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = __webpack_require__(/*! ./common */ \"./node_modules/threads/node_modules/debug/src/common.js\")(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/node.js?"); +eval("// ==ClosureCompiler==\n// @output_file_name default.js\n// @compilation_level SIMPLE_OPTIMIZATIONS\n// ==/ClosureCompiler==\n\n/**\n * @author: Tobias Nickel\n * @created: 06.04.2015\n * I needed a small xmlparser chat can be used in a worker.\n */\n\n/**\n * @typedef tNode \n * @property {string} tagName \n * @property {object} [attributes] \n * @property {tNode|string|number[]} children \n **/\n\n/**\n * parseXML / html into a DOM Object. with no validation and some failur tolerance\n * @param {string} S your XML to parse\n * @param options {object} all other options:\n * searchId {string} the id of a single element, that should be returned. using this will increase the speed rapidly\n * filter {function} filter method, as you know it from Array.filter. but is goes throw the DOM.\n\n * @return {tNode[]}\n */\nfunction tXml(S, options) {\n \"use strict\";\n options = options || {};\n\n var pos = options.pos || 0;\n\n var openBracket = \"<\";\n var openBracketCC = \"<\".charCodeAt(0);\n var closeBracket = \">\";\n var closeBracketCC = \">\".charCodeAt(0);\n var minus = \"-\";\n var minusCC = \"-\".charCodeAt(0);\n var slash = \"/\";\n var slashCC = \"/\".charCodeAt(0);\n var exclamation = '!';\n var exclamationCC = '!'.charCodeAt(0);\n var singleQuote = \"'\";\n var singleQuoteCC = \"'\".charCodeAt(0);\n var doubleQuote = '\"';\n var doubleQuoteCC = '\"'.charCodeAt(0);\n\n /**\n * parsing a list of entries\n */\n function parseChildren() {\n var children = [];\n while (S[pos]) {\n if (S.charCodeAt(pos) == openBracketCC) {\n if (S.charCodeAt(pos + 1) === slashCC) {\n pos = S.indexOf(closeBracket, pos);\n if (pos + 1) pos += 1\n return children;\n } else if (S.charCodeAt(pos + 1) === exclamationCC) {\n if (S.charCodeAt(pos + 2) == minusCC) {\n //comment support\n while (pos !== -1 && !(S.charCodeAt(pos) === closeBracketCC && S.charCodeAt(pos - 1) == minusCC && S.charCodeAt(pos - 2) == minusCC && pos != -1)) {\n pos = S.indexOf(closeBracket, pos + 1);\n }\n if (pos === -1) {\n pos = S.length\n }\n } else {\n // doctypesupport\n pos += 2;\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n pos++;\n }\n }\n pos++;\n continue;\n }\n var node = parseNode();\n children.push(node);\n } else {\n var text = parseText()\n if (text.trim().length > 0)\n children.push(text);\n pos++;\n }\n }\n return children;\n }\n\n /**\n * returns the text outside of texts until the first '<'\n */\n function parseText() {\n var start = pos;\n pos = S.indexOf(openBracket, pos) - 1;\n if (pos === -2)\n pos = S.length;\n return S.slice(start, pos + 1);\n }\n /**\n * returns text until the first nonAlphebetic letter\n */\n var nameSpacer = '\\n\\t>/= ';\n\n function parseName() {\n var start = pos;\n while (nameSpacer.indexOf(S[pos]) === -1 && S[pos]) {\n pos++;\n }\n return S.slice(start, pos);\n }\n /**\n * is parsing a node, including tagName, Attributes and its children,\n * to parse children it uses the parseChildren again, that makes the parsing recursive\n */\n var NoChildNodes = options.noChildNodes || ['img', 'br', 'input', 'meta', 'link'];\n\n function parseNode() {\n pos++;\n const tagName = parseName();\n const attributes = {};\n let children = [];\n\n // parsing attributes\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n var c = S.charCodeAt(pos);\n if ((c > 64 && c < 91) || (c > 96 && c < 123)) {\n //if('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.indexOf(S[pos])!==-1 ){\n var name = parseName();\n // search beginning of the string\n var code = S.charCodeAt(pos);\n while (code && code !== singleQuoteCC && code !== doubleQuoteCC && !((code > 64 && code < 91) || (code > 96 && code < 123)) && code !== closeBracketCC) {\n pos++;\n code = S.charCodeAt(pos);\n }\n if (code === singleQuoteCC || code === doubleQuoteCC) {\n var value = parseString();\n if (pos === -1) {\n return {\n tagName,\n attributes,\n children,\n };\n }\n } else {\n value = null;\n pos--;\n }\n attributes[name] = value;\n }\n pos++;\n }\n // optional parsing of children\n if (S.charCodeAt(pos - 1) !== slashCC) {\n if (tagName == \"script\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 9;\n } else if (tagName == \"style\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 8;\n } else if (NoChildNodes.indexOf(tagName) == -1) {\n pos++;\n children = parseChildren(name);\n }\n } else {\n pos++;\n }\n return {\n tagName,\n attributes,\n children,\n };\n }\n\n /**\n * is parsing a string, that starts with a char and with the same usually ' or \"\n */\n\n function parseString() {\n var startChar = S[pos];\n var startpos = ++pos;\n pos = S.indexOf(startChar, startpos)\n return S.slice(startpos, pos);\n }\n\n /**\n *\n */\n function findElements() {\n var r = new RegExp('\\\\s' + options.attrName + '\\\\s*=[\\'\"]' + options.attrValue + '[\\'\"]').exec(S)\n if (r) {\n return r.index;\n } else {\n return -1;\n }\n }\n\n var out = null;\n if (options.attrValue !== undefined) {\n options.attrName = options.attrName || 'id';\n var out = [];\n\n while ((pos = findElements()) !== -1) {\n pos = S.lastIndexOf('<', pos);\n if (pos !== -1) {\n out.push(parseNode());\n }\n S = S.substr(pos);\n pos = 0;\n }\n } else if (options.parseNode) {\n out = parseNode()\n } else {\n out = parseChildren();\n }\n\n if (options.filter) {\n out = tXml.filter(out, options.filter);\n }\n\n if (options.setPos) {\n out.pos = pos;\n }\n\n return out;\n}\n\n/**\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\n * therefore your programm will be more flexible and easyer to read.\n *\n * @param {tNode[]} children the childrenList\n */\ntXml.simplify = function simplify(children) {\n var out = {};\n if (!children.length) {\n return '';\n }\n\n if (children.length === 1 && typeof children[0] == 'string') {\n return children[0];\n }\n // map each object\n children.forEach(function(child) {\n if (typeof child !== 'object') {\n return;\n }\n if (!out[child.tagName])\n out[child.tagName] = [];\n var kids = tXml.simplify(child.children||[]);\n out[child.tagName].push(kids);\n if (child.attributes) {\n kids._attributes = child.attributes;\n }\n });\n\n for (var i in out) {\n if (out[i].length == 1) {\n out[i] = out[i][0];\n }\n }\n\n return out;\n};\n\n/**\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\n * @params children{Array} the children of a node\n * @param f{function} the filter method\n */\ntXml.filter = function(children, f) {\n var out = [];\n children.forEach(function(child) {\n if (typeof(child) === 'object' && f(child)) out.push(child);\n if (child.children) {\n var kids = tXml.filter(child.children, f);\n out = out.concat(kids);\n }\n });\n return out;\n};\n\n/**\n * stringify a previously parsed string object.\n * this is useful,\n * 1. to remove whitespaces\n * 2. to recreate xml data, with some changed data.\n * @param {tNode} O the object to Stringify\n */\ntXml.stringify = function TOMObjToXML(O) {\n var out = '';\n\n function writeChildren(O) {\n if (O)\n for (var i = 0; i < O.length; i++) {\n if (typeof O[i] == 'string') {\n out += O[i].trim();\n } else {\n writeNode(O[i]);\n }\n }\n }\n\n function writeNode(N) {\n out += \"<\" + N.tagName;\n for (var i in N.attributes) {\n if (N.attributes[i] === null) {\n out += ' ' + i;\n } else if (N.attributes[i].indexOf('\"') === -1) {\n out += ' ' + i + '=\"' + N.attributes[i].trim() + '\"';\n } else {\n out += ' ' + i + \"='\" + N.attributes[i].trim() + \"'\";\n }\n }\n out += '>';\n writeChildren(N.children);\n out += '';\n }\n writeChildren(O);\n\n return out;\n};\n\n\n/**\n * use this method to read the textcontent, of some node.\n * It is great if you have mixed content like:\n * this text has some big text and a link\n * @return {string}\n */\ntXml.toContentString = function(tDom) {\n if (Array.isArray(tDom)) {\n var out = '';\n tDom.forEach(function(e) {\n out += ' ' + tXml.toContentString(e);\n out = out.trim();\n });\n return out;\n } else if (typeof tDom === 'object') {\n return tXml.toContentString(tDom.children)\n } else {\n return ' ' + tDom;\n }\n};\n\ntXml.getElementById = function(S, id, simplified) {\n var out = tXml(S, {\n attrValue: id\n });\n return simplified ? tXml.simplify(out) : out[0];\n};\n/**\n * A fast parsing method, that not realy finds by classname,\n * more: the class attribute contains XXX\n * @param\n */\ntXml.getElementsByClassName = function(S, classname, simplified) {\n const out = tXml(S, {\n attrName: 'class',\n attrValue: '[a-zA-Z0-9\\-\\s ]*' + classname + '[a-zA-Z0-9\\-\\s ]*'\n });\n return simplified ? tXml.simplify(out) : out;\n};\n\ntXml.parseStream = function(stream, offset) {\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n if (typeof stream === 'string') {\n var fs = __webpack_require__(/*! fs */ \"fs\");\n stream = fs.createReadStream(stream, { start: offset });\n offset = 0;\n }\n\n var position = offset;\n var data = '';\n stream.on('data', function(chunk) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if(!position) {\n position = lastPos;\n return;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return;\n } else {\n stream.emit('xml', res);\n lastPos = position;\n }\n } while (1);\n });\n stream.on('end', function() {\n console.log('end')\n });\n return stream;\n}\n\ntXml.transformStream = function (offset) {\n // require through here, so it will not get added to webpack/browserify\n const through2 = __webpack_require__(/*! through2 */ \"./node_modules/through2/through2.js\");\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n\n var position = offset || 0;\n var data = '';\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if (!position) {\n position = lastPos;\n return callback();;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return callback();;\n } else {\n this.push(res);\n lastPos = position;\n }\n } while (1);\n callback();\n });\n\n return stream;\n}\n\nif (true) {\n module.exports = tXml;\n tXml.xml = tXml;\n}\n//console.clear();\n//console.log('here:',tXml.getElementById('dadavalue','test'));\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\n\n/*\nconsole.clear();\ntXml(d,'content');\n //some testCode\nvar s = document.body.innerHTML.toLowerCase();\nvar start = new Date().getTime();\nvar o = tXml(s,'content');\nvar end = new Date().getTime();\n//console.log(JSON.stringify(o,undefined,'\\t'));\nconsole.log(\"MILLISECONDS\",end-start);\nvar nodeCount=document.querySelectorAll('*').length;\nconsole.log('node count',nodeCount);\nconsole.log(\"speed:\",(1000/(end-start))*nodeCount,'Nodes / second')\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\t'));\nvar p = new DOMParser();\nvar s2=''+s+''\nvar start2= new Date().getTime();\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\nvar end2=new Date().getTime();\nconsole.log(\"MILLISECONDS\",end2-start2);\n// */\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?"); /***/ }), -/***/ "./node_modules/threads/node_modules/ms/index.js": -/*!*******************************************************!*\ - !*** ./node_modules/threads/node_modules/ms/index.js ***! - \*******************************************************/ +/***/ "./node_modules/util-deprecate/node.js": +/*!*********************************************!*\ + !*** ./node_modules/util-deprecate/node.js ***! + \*********************************************/ /*! no static exports found */ -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { -eval("/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/ms/index.js?"); +eval("\n/**\n * For Node.js, simply re-export the core `util.deprecate` function.\n */\n\nmodule.exports = __webpack_require__(/*! util */ \"util\").deprecate;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/util-deprecate/node.js?"); /***/ }), -/***/ "./node_modules/tiny-worker/lib/index.js": -/*!***********************************************!*\ - !*** ./node_modules/tiny-worker/lib/index.js ***! - \***********************************************/ +/***/ "./node_modules/webidl-conversions/lib/index.js": +/*!******************************************************!*\ + !*** ./node_modules/webidl-conversions/lib/index.js ***! + \******************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("/* WEBPACK VAR INJECTION */(function(__dirname) {\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar path = __webpack_require__(/*! path */ \"path\"),\n fork = __webpack_require__(/*! child_process */ \"child_process\").fork,\n worker = path.join(__dirname, \"worker.js\"),\n events = /^(error|message)$/,\n defaultPorts = { inspect: 9229, debug: 5858 };\nvar range = { min: 1, max: 300 };\n\nvar Worker = function () {\n\tfunction Worker(arg) {\n\t\tvar _this = this;\n\n\t\tvar args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\t\tvar options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { cwd: process.cwd() };\n\n\t\t_classCallCheck(this, Worker);\n\n\t\tvar isfn = typeof arg === \"function\",\n\t\t input = isfn ? arg.toString() : arg;\n\n\t\tif (!options.cwd) {\n\t\t\toptions.cwd = process.cwd();\n\t\t}\n\n\t\t//get all debug related parameters\n\t\tvar debugVars = process.execArgv.filter(function (execArg) {\n\t\t\treturn (/(debug|inspect)/.test(execArg)\n\t\t\t);\n\t\t});\n\t\tif (debugVars.length > 0 && !options.noDebugRedirection) {\n\t\t\tif (!options.execArgv) {\n\t\t\t\t//if no execArgs are given copy all arguments\n\t\t\t\tdebugVars = Array.from(process.execArgv);\n\t\t\t\toptions.execArgv = [];\n\t\t\t}\n\n\t\t\tvar inspectIndex = debugVars.findIndex(function (debugArg) {\n\t\t\t\t//get index of inspect parameter\n\t\t\t\treturn (/^--inspect(-brk)?(=\\d+)?$/.test(debugArg)\n\t\t\t\t);\n\t\t\t});\n\n\t\t\tvar debugIndex = debugVars.findIndex(function (debugArg) {\n\t\t\t\t//get index of debug parameter\n\t\t\t\treturn (/^--debug(-brk)?(=\\d+)?$/.test(debugArg)\n\t\t\t\t);\n\t\t\t});\n\n\t\t\tvar portIndex = inspectIndex >= 0 ? inspectIndex : debugIndex; //get index of port, inspect has higher priority\n\n\t\t\tif (portIndex >= 0) {\n\t\t\t\tvar match = /^--(debug|inspect)(?:-brk)?(?:=(\\d+))?$/.exec(debugVars[portIndex]); //get port\n\t\t\t\tvar port = defaultPorts[match[1]];\n\t\t\t\tif (match[2]) {\n\t\t\t\t\tport = parseInt(match[2]);\n\t\t\t\t}\n\t\t\t\tdebugVars[portIndex] = \"--\" + match[1] + \"=\" + (port + range.min + Math.floor(Math.random() * (range.max - range.min))); //new parameter\n\n\t\t\t\tif (debugIndex >= 0 && debugIndex !== portIndex) {\n\t\t\t\t\t//remove \"-brk\" from debug if there\n\t\t\t\t\tmatch = /^(--debug)(?:-brk)?(.*)/.exec(debugVars[debugIndex]);\n\t\t\t\t\tdebugVars[debugIndex] = match[1] + (match[2] ? match[2] : \"\");\n\t\t\t\t}\n\t\t\t}\n\t\t\toptions.execArgv = options.execArgv.concat(debugVars);\n\t\t}\n\n\t\tdelete options.noDebugRedirection;\n\n\t\tthis.child = fork(worker, args, options);\n\t\tthis.onerror = undefined;\n\t\tthis.onmessage = undefined;\n\n\t\tthis.child.on(\"error\", function (e) {\n\t\t\tif (_this.onerror) {\n\t\t\t\t_this.onerror.call(_this, e);\n\t\t\t}\n\t\t});\n\n\t\tthis.child.on(\"message\", function (msg) {\n\t\t\tvar message = JSON.parse(msg);\n\t\t\tvar error = void 0;\n\n\t\t\tif (!message.error && _this.onmessage) {\n\t\t\t\t_this.onmessage.call(_this, message);\n\t\t\t}\n\n\t\t\tif (message.error && _this.onerror) {\n\t\t\t\terror = new Error(message.error);\n\t\t\t\terror.stack = message.stack;\n\n\t\t\t\t_this.onerror.call(_this, error);\n\t\t\t}\n\t\t});\n\n\t\tthis.child.send({ input: input, isfn: isfn, cwd: options.cwd, esm: options.esm });\n\t}\n\n\t_createClass(Worker, [{\n\t\tkey: \"addEventListener\",\n\t\tvalue: function addEventListener(event, fn) {\n\t\t\tif (events.test(event)) {\n\t\t\t\tthis[\"on\" + event] = fn;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"postMessage\",\n\t\tvalue: function postMessage(msg) {\n\t\t\tthis.child.send(JSON.stringify({ data: msg }, null, 0));\n\t\t}\n\t}, {\n\t\tkey: \"terminate\",\n\t\tvalue: function terminate() {\n\t\t\tthis.child.kill(\"SIGINT\");\n\t\t}\n\t}], [{\n\t\tkey: \"setRange\",\n\t\tvalue: function setRange(min, max) {\n\t\t\tif (min >= max) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\trange.min = min;\n\t\t\trange.max = max;\n\n\t\t\treturn true;\n\t\t}\n\t}]);\n\n\treturn Worker;\n}();\n\nmodule.exports = Worker;\n\n/* WEBPACK VAR INJECTION */}.call(this, \"/\"))\n\n//# sourceURL=webpack://GeoRaster/./node_modules/tiny-worker/lib/index.js?"); +eval("\n\nvar conversions = {};\nmodule.exports = conversions;\n\nfunction sign(x) {\n return x < 0 ? -1 : 1;\n}\n\nfunction evenRound(x) {\n // Round x to the nearest integer, choosing the even integer if it lies halfway between two.\n if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor)\n return Math.floor(x);\n } else {\n return Math.round(x);\n }\n}\n\nfunction createNumberConversion(bitLength, typeOpts) {\n if (!typeOpts.unsigned) {\n --bitLength;\n }\n const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength);\n const upperBound = Math.pow(2, bitLength) - 1;\n\n const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength);\n const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1);\n\n return function(V, opts) {\n if (!opts) opts = {};\n\n let x = +V;\n\n if (opts.enforceRange) {\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite number\");\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(\"Argument is not in byte range\");\n }\n\n return x;\n }\n\n if (!isNaN(x) && opts.clamp) {\n x = evenRound(x);\n\n if (x < lowerBound) x = lowerBound;\n if (x > upperBound) x = upperBound;\n return x;\n }\n\n if (!Number.isFinite(x) || x === 0) {\n return 0;\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n x = x % moduloVal;\n\n if (!typeOpts.unsigned && x >= moduloBound) {\n return x - moduloVal;\n } else if (typeOpts.unsigned) {\n if (x < 0) {\n x += moduloVal;\n } else if (x === -0) { // don't return negative zero\n return 0;\n }\n }\n\n return x;\n }\n}\n\nconversions[\"void\"] = function () {\n return undefined;\n};\n\nconversions[\"boolean\"] = function (val) {\n return !!val;\n};\n\nconversions[\"byte\"] = createNumberConversion(8, { unsigned: false });\nconversions[\"octet\"] = createNumberConversion(8, { unsigned: true });\n\nconversions[\"short\"] = createNumberConversion(16, { unsigned: false });\nconversions[\"unsigned short\"] = createNumberConversion(16, { unsigned: true });\n\nconversions[\"long\"] = createNumberConversion(32, { unsigned: false });\nconversions[\"unsigned long\"] = createNumberConversion(32, { unsigned: true });\n\nconversions[\"long long\"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 });\nconversions[\"unsigned long long\"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 });\n\nconversions[\"double\"] = function (V) {\n const x = +V;\n\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite floating-point value\");\n }\n\n return x;\n};\n\nconversions[\"unrestricted double\"] = function (V) {\n const x = +V;\n\n if (isNaN(x)) {\n throw new TypeError(\"Argument is NaN\");\n }\n\n return x;\n};\n\n// not quite valid, but good enough for JS\nconversions[\"float\"] = conversions[\"double\"];\nconversions[\"unrestricted float\"] = conversions[\"unrestricted double\"];\n\nconversions[\"DOMString\"] = function (V, opts) {\n if (!opts) opts = {};\n\n if (opts.treatNullAsEmptyString && V === null) {\n return \"\";\n }\n\n return String(V);\n};\n\nconversions[\"ByteString\"] = function (V, opts) {\n const x = String(V);\n let c = undefined;\n for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) {\n if (c > 255) {\n throw new TypeError(\"Argument is not a valid bytestring\");\n }\n }\n\n return x;\n};\n\nconversions[\"USVString\"] = function (V) {\n const S = String(V);\n const n = S.length;\n const U = [];\n for (let i = 0; i < n; ++i) {\n const c = S.charCodeAt(i);\n if (c < 0xD800 || c > 0xDFFF) {\n U.push(String.fromCodePoint(c));\n } else if (0xDC00 <= c && c <= 0xDFFF) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n if (i === n - 1) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n const d = S.charCodeAt(i + 1);\n if (0xDC00 <= d && d <= 0xDFFF) {\n const a = c & 0x3FF;\n const b = d & 0x3FF;\n U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b));\n ++i;\n } else {\n U.push(String.fromCodePoint(0xFFFD));\n }\n }\n }\n }\n\n return U.join('');\n};\n\nconversions[\"Date\"] = function (V, opts) {\n if (!(V instanceof Date)) {\n throw new TypeError(\"Argument is not a Date object\");\n }\n if (isNaN(V)) {\n return undefined;\n }\n\n return V;\n};\n\nconversions[\"RegExp\"] = function (V, opts) {\n if (!(V instanceof RegExp)) {\n V = new RegExp(V);\n }\n\n return V;\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/webidl-conversions/lib/index.js?"); /***/ }), -/***/ "./node_modules/txml/node_modules/through2/through2.js": -/*!*************************************************************!*\ - !*** ./node_modules/txml/node_modules/through2/through2.js ***! - \*************************************************************/ +/***/ "./node_modules/whatwg-url/lib/URL-impl.js": +/*!*************************************************!*\ + !*** ./node_modules/whatwg-url/lib/URL-impl.js ***! + \*************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("var Transform = __webpack_require__(/*! readable-stream */ \"./node_modules/readable-stream/readable.js\").Transform\n , inherits = __webpack_require__(/*! inherits */ \"./node_modules/inherits/inherits.js\")\n\nfunction DestroyableTransform(opts) {\n Transform.call(this, opts)\n this._destroyed = false\n}\n\ninherits(DestroyableTransform, Transform)\n\nDestroyableTransform.prototype.destroy = function(err) {\n if (this._destroyed) return\n this._destroyed = true\n \n var self = this\n process.nextTick(function() {\n if (err)\n self.emit('error', err)\n self.emit('close')\n })\n}\n\n// a noop _transform function\nfunction noop (chunk, enc, callback) {\n callback(null, chunk)\n}\n\n\n// create a new export function, used by both the main export and\n// the .ctor export, contains common logic for dealing with arguments\nfunction through2 (construct) {\n return function (options, transform, flush) {\n if (typeof options == 'function') {\n flush = transform\n transform = options\n options = {}\n }\n\n if (typeof transform != 'function')\n transform = noop\n\n if (typeof flush != 'function')\n flush = null\n\n return construct(options, transform, flush)\n }\n}\n\n\n// main export, just make me a transform stream!\nmodule.exports = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(options)\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n\n// make me a reusable prototype that I can `new`, or implicitly `new`\n// with a constructor call\nmodule.exports.ctor = through2(function (options, transform, flush) {\n function Through2 (override) {\n if (!(this instanceof Through2))\n return new Through2(override)\n\n this.options = Object.assign({}, options, override)\n\n DestroyableTransform.call(this, this.options)\n }\n\n inherits(Through2, DestroyableTransform)\n\n Through2.prototype._transform = transform\n\n if (flush)\n Through2.prototype._flush = flush\n\n return Through2\n})\n\n\nmodule.exports.obj = through2(function (options, transform, flush) {\n var t2 = new DestroyableTransform(Object.assign({ objectMode: true, highWaterMark: 16 }, options))\n\n t2._transform = transform\n\n if (flush)\n t2._flush = flush\n\n return t2\n})\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/node_modules/through2/through2.js?"); +"use strict"; +eval("\nconst usm = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\");\n\nexports.implementation = class URLImpl {\n constructor(constructorArgs) {\n const url = constructorArgs[0];\n const base = constructorArgs[1];\n\n let parsedBase = null;\n if (base !== undefined) {\n parsedBase = usm.basicURLParse(base);\n if (parsedBase === \"failure\") {\n throw new TypeError(\"Invalid base URL\");\n }\n }\n\n const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase });\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n\n // TODO: query stuff\n }\n\n get href() {\n return usm.serializeURL(this._url);\n }\n\n set href(v) {\n const parsedURL = usm.basicURLParse(v);\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n }\n\n get origin() {\n return usm.serializeURLOrigin(this._url);\n }\n\n get protocol() {\n return this._url.scheme + \":\";\n }\n\n set protocol(v) {\n usm.basicURLParse(v + \":\", { url: this._url, stateOverride: \"scheme start\" });\n }\n\n get username() {\n return this._url.username;\n }\n\n set username(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setTheUsername(this._url, v);\n }\n\n get password() {\n return this._url.password;\n }\n\n set password(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setThePassword(this._url, v);\n }\n\n get host() {\n const url = this._url;\n\n if (url.host === null) {\n return \"\";\n }\n\n if (url.port === null) {\n return usm.serializeHost(url.host);\n }\n\n return usm.serializeHost(url.host) + \":\" + usm.serializeInteger(url.port);\n }\n\n set host(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"host\" });\n }\n\n get hostname() {\n if (this._url.host === null) {\n return \"\";\n }\n\n return usm.serializeHost(this._url.host);\n }\n\n set hostname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"hostname\" });\n }\n\n get port() {\n if (this._url.port === null) {\n return \"\";\n }\n\n return usm.serializeInteger(this._url.port);\n }\n\n set port(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n if (v === \"\") {\n this._url.port = null;\n } else {\n usm.basicURLParse(v, { url: this._url, stateOverride: \"port\" });\n }\n }\n\n get pathname() {\n if (this._url.cannotBeABaseURL) {\n return this._url.path[0];\n }\n\n if (this._url.path.length === 0) {\n return \"\";\n }\n\n return \"/\" + this._url.path.join(\"/\");\n }\n\n set pathname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n this._url.path = [];\n usm.basicURLParse(v, { url: this._url, stateOverride: \"path start\" });\n }\n\n get search() {\n if (this._url.query === null || this._url.query === \"\") {\n return \"\";\n }\n\n return \"?\" + this._url.query;\n }\n\n set search(v) {\n // TODO: query stuff\n\n const url = this._url;\n\n if (v === \"\") {\n url.query = null;\n return;\n }\n\n const input = v[0] === \"?\" ? v.substring(1) : v;\n url.query = \"\";\n usm.basicURLParse(input, { url, stateOverride: \"query\" });\n }\n\n get hash() {\n if (this._url.fragment === null || this._url.fragment === \"\") {\n return \"\";\n }\n\n return \"#\" + this._url.fragment;\n }\n\n set hash(v) {\n if (v === \"\") {\n this._url.fragment = null;\n return;\n }\n\n const input = v[0] === \"#\" ? v.substring(1) : v;\n this._url.fragment = \"\";\n usm.basicURLParse(input, { url: this._url, stateOverride: \"fragment\" });\n }\n\n toJSON() {\n return this.href;\n }\n};\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/whatwg-url/lib/URL-impl.js?"); /***/ }), -/***/ "./node_modules/txml/tXml.js": -/*!***********************************!*\ - !*** ./node_modules/txml/tXml.js ***! - \***********************************/ +/***/ "./node_modules/whatwg-url/lib/URL.js": +/*!********************************************!*\ + !*** ./node_modules/whatwg-url/lib/URL.js ***! + \********************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("// ==ClosureCompiler==\n// @output_file_name default.js\n// @compilation_level SIMPLE_OPTIMIZATIONS\n// ==/ClosureCompiler==\n\n/**\n * @author: Tobias Nickel\n * @created: 06.04.2015\n * I needed a small xmlparser chat can be used in a worker.\n */\n\n/**\n * @typedef tNode \n * @property {string} tagName \n * @property {object} [attributes] \n * @property {tNode|string|number[]} children \n **/\n\n/**\n * parseXML / html into a DOM Object. with no validation and some failur tolerance\n * @param {string} S your XML to parse\n * @param options {object} all other options:\n * searchId {string} the id of a single element, that should be returned. using this will increase the speed rapidly\n * filter {function} filter method, as you know it from Array.filter. but is goes throw the DOM.\n\n * @return {tNode[]}\n */\nfunction tXml(S, options) {\n \"use strict\";\n options = options || {};\n\n var pos = options.pos || 0;\n\n var openBracket = \"<\";\n var openBracketCC = \"<\".charCodeAt(0);\n var closeBracket = \">\";\n var closeBracketCC = \">\".charCodeAt(0);\n var minus = \"-\";\n var minusCC = \"-\".charCodeAt(0);\n var slash = \"/\";\n var slashCC = \"/\".charCodeAt(0);\n var exclamation = '!';\n var exclamationCC = '!'.charCodeAt(0);\n var singleQuote = \"'\";\n var singleQuoteCC = \"'\".charCodeAt(0);\n var doubleQuote = '\"';\n var doubleQuoteCC = '\"'.charCodeAt(0);\n\n /**\n * parsing a list of entries\n */\n function parseChildren() {\n var children = [];\n while (S[pos]) {\n if (S.charCodeAt(pos) == openBracketCC) {\n if (S.charCodeAt(pos + 1) === slashCC) {\n pos = S.indexOf(closeBracket, pos);\n if (pos + 1) pos += 1\n return children;\n } else if (S.charCodeAt(pos + 1) === exclamationCC) {\n if (S.charCodeAt(pos + 2) == minusCC) {\n //comment support\n while (pos !== -1 && !(S.charCodeAt(pos) === closeBracketCC && S.charCodeAt(pos - 1) == minusCC && S.charCodeAt(pos - 2) == minusCC && pos != -1)) {\n pos = S.indexOf(closeBracket, pos + 1);\n }\n if (pos === -1) {\n pos = S.length\n }\n } else {\n // doctypesupport\n pos += 2;\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n pos++;\n }\n }\n pos++;\n continue;\n }\n var node = parseNode();\n children.push(node);\n } else {\n var text = parseText()\n if (text.trim().length > 0)\n children.push(text);\n pos++;\n }\n }\n return children;\n }\n\n /**\n * returns the text outside of texts until the first '<'\n */\n function parseText() {\n var start = pos;\n pos = S.indexOf(openBracket, pos) - 1;\n if (pos === -2)\n pos = S.length;\n return S.slice(start, pos + 1);\n }\n /**\n * returns text until the first nonAlphebetic letter\n */\n var nameSpacer = '\\n\\t>/= ';\n\n function parseName() {\n var start = pos;\n while (nameSpacer.indexOf(S[pos]) === -1 && S[pos]) {\n pos++;\n }\n return S.slice(start, pos);\n }\n /**\n * is parsing a node, including tagName, Attributes and its children,\n * to parse children it uses the parseChildren again, that makes the parsing recursive\n */\n var NoChildNodes = options.noChildNodes || ['img', 'br', 'input', 'meta', 'link'];\n\n function parseNode() {\n pos++;\n const tagName = parseName();\n const attributes = {};\n let children = [];\n\n // parsing attributes\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\n var c = S.charCodeAt(pos);\n if ((c > 64 && c < 91) || (c > 96 && c < 123)) {\n //if('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.indexOf(S[pos])!==-1 ){\n var name = parseName();\n // search beginning of the string\n var code = S.charCodeAt(pos);\n while (code && code !== singleQuoteCC && code !== doubleQuoteCC && !((code > 64 && code < 91) || (code > 96 && code < 123)) && code !== closeBracketCC) {\n pos++;\n code = S.charCodeAt(pos);\n }\n if (code === singleQuoteCC || code === doubleQuoteCC) {\n var value = parseString();\n if (pos === -1) {\n return {\n tagName,\n attributes,\n children,\n };\n }\n } else {\n value = null;\n pos--;\n }\n attributes[name] = value;\n }\n pos++;\n }\n // optional parsing of children\n if (S.charCodeAt(pos - 1) !== slashCC) {\n if (tagName == \"script\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 9;\n } else if (tagName == \"style\") {\n var start = pos + 1;\n pos = S.indexOf('', pos);\n children = [S.slice(start, pos - 1)];\n pos += 8;\n } else if (NoChildNodes.indexOf(tagName) == -1) {\n pos++;\n children = parseChildren(name);\n }\n } else {\n pos++;\n }\n return {\n tagName,\n attributes,\n children,\n };\n }\n\n /**\n * is parsing a string, that starts with a char and with the same usually ' or \"\n */\n\n function parseString() {\n var startChar = S[pos];\n var startpos = ++pos;\n pos = S.indexOf(startChar, startpos)\n return S.slice(startpos, pos);\n }\n\n /**\n *\n */\n function findElements() {\n var r = new RegExp('\\\\s' + options.attrName + '\\\\s*=[\\'\"]' + options.attrValue + '[\\'\"]').exec(S)\n if (r) {\n return r.index;\n } else {\n return -1;\n }\n }\n\n var out = null;\n if (options.attrValue !== undefined) {\n options.attrName = options.attrName || 'id';\n var out = [];\n\n while ((pos = findElements()) !== -1) {\n pos = S.lastIndexOf('<', pos);\n if (pos !== -1) {\n out.push(parseNode());\n }\n S = S.substr(pos);\n pos = 0;\n }\n } else if (options.parseNode) {\n out = parseNode()\n } else {\n out = parseChildren();\n }\n\n if (options.filter) {\n out = tXml.filter(out, options.filter);\n }\n\n if (options.setPos) {\n out.pos = pos;\n }\n\n return out;\n}\n\n/**\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\n * therefore your programm will be more flexible and easyer to read.\n *\n * @param {tNode[]} children the childrenList\n */\ntXml.simplify = function simplify(children) {\n var out = {};\n if (!children.length) {\n return '';\n }\n\n if (children.length === 1 && typeof children[0] == 'string') {\n return children[0];\n }\n // map each object\n children.forEach(function(child) {\n if (typeof child !== 'object') {\n return;\n }\n if (!out[child.tagName])\n out[child.tagName] = [];\n var kids = tXml.simplify(child.children||[]);\n out[child.tagName].push(kids);\n if (child.attributes) {\n kids._attributes = child.attributes;\n }\n });\n\n for (var i in out) {\n if (out[i].length == 1) {\n out[i] = out[i][0];\n }\n }\n\n return out;\n};\n\n/**\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\n * @params children{Array} the children of a node\n * @param f{function} the filter method\n */\ntXml.filter = function(children, f) {\n var out = [];\n children.forEach(function(child) {\n if (typeof(child) === 'object' && f(child)) out.push(child);\n if (child.children) {\n var kids = tXml.filter(child.children, f);\n out = out.concat(kids);\n }\n });\n return out;\n};\n\n/**\n * stringify a previously parsed string object.\n * this is useful,\n * 1. to remove whitespaces\n * 2. to recreate xml data, with some changed data.\n * @param {tNode} O the object to Stringify\n */\ntXml.stringify = function TOMObjToXML(O) {\n var out = '';\n\n function writeChildren(O) {\n if (O)\n for (var i = 0; i < O.length; i++) {\n if (typeof O[i] == 'string') {\n out += O[i].trim();\n } else {\n writeNode(O[i]);\n }\n }\n }\n\n function writeNode(N) {\n out += \"<\" + N.tagName;\n for (var i in N.attributes) {\n if (N.attributes[i] === null) {\n out += ' ' + i;\n } else if (N.attributes[i].indexOf('\"') === -1) {\n out += ' ' + i + '=\"' + N.attributes[i].trim() + '\"';\n } else {\n out += ' ' + i + \"='\" + N.attributes[i].trim() + \"'\";\n }\n }\n out += '>';\n writeChildren(N.children);\n out += '';\n }\n writeChildren(O);\n\n return out;\n};\n\n\n/**\n * use this method to read the textcontent, of some node.\n * It is great if you have mixed content like:\n * this text has some big text and a link\n * @return {string}\n */\ntXml.toContentString = function(tDom) {\n if (Array.isArray(tDom)) {\n var out = '';\n tDom.forEach(function(e) {\n out += ' ' + tXml.toContentString(e);\n out = out.trim();\n });\n return out;\n } else if (typeof tDom === 'object') {\n return tXml.toContentString(tDom.children)\n } else {\n return ' ' + tDom;\n }\n};\n\ntXml.getElementById = function(S, id, simplified) {\n var out = tXml(S, {\n attrValue: id\n });\n return simplified ? tXml.simplify(out) : out[0];\n};\n/**\n * A fast parsing method, that not realy finds by classname,\n * more: the class attribute contains XXX\n * @param\n */\ntXml.getElementsByClassName = function(S, classname, simplified) {\n const out = tXml(S, {\n attrName: 'class',\n attrValue: '[a-zA-Z0-9\\-\\s ]*' + classname + '[a-zA-Z0-9\\-\\s ]*'\n });\n return simplified ? tXml.simplify(out) : out;\n};\n\ntXml.parseStream = function(stream, offset) {\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n if (typeof stream === 'string') {\n var fs = __webpack_require__(/*! fs */ \"fs\");\n stream = fs.createReadStream(stream, { start: offset });\n offset = 0;\n }\n\n var position = offset;\n var data = '';\n stream.on('data', function(chunk) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if(!position) {\n position = lastPos;\n return;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return;\n } else {\n stream.emit('xml', res);\n lastPos = position;\n }\n } while (1);\n });\n stream.on('end', function() {\n console.log('end')\n });\n return stream;\n}\n\ntXml.transformStream = function (offset) {\n // require through here, so it will not get added to webpack/browserify\n const through2 = __webpack_require__(/*! through2 */ \"./node_modules/txml/node_modules/through2/through2.js\");\n if (typeof offset === 'string') {\n offset = offset.length + 2;\n }\n\n var position = offset || 0;\n var data = '';\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\n data += chunk;\n var lastPos = 0;\n do {\n position = data.indexOf('<', position) + 1;\n if (!position) {\n position = lastPos;\n return callback();;\n }\n if (data[position + 1] === '/') {\n position = position + 1;\n lastPos = pos;\n continue;\n }\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\n position = res.pos;\n if (position > (data.length - 1) || position < lastPos) {\n data = data.slice(lastPos);\n position = 0;\n lastPos = 0;\n return callback();;\n } else {\n this.push(res);\n lastPos = position;\n }\n } while (1);\n callback();\n });\n\n return stream;\n}\n\nif (true) {\n module.exports = tXml;\n tXml.xml = tXml;\n}\n//console.clear();\n//console.log('here:',tXml.getElementById('dadavalue','test'));\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\n\n/*\nconsole.clear();\ntXml(d,'content');\n //some testCode\nvar s = document.body.innerHTML.toLowerCase();\nvar start = new Date().getTime();\nvar o = tXml(s,'content');\nvar end = new Date().getTime();\n//console.log(JSON.stringify(o,undefined,'\\t'));\nconsole.log(\"MILLISECONDS\",end-start);\nvar nodeCount=document.querySelectorAll('*').length;\nconsole.log('node count',nodeCount);\nconsole.log(\"speed:\",(1000/(end-start))*nodeCount,'Nodes / second')\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\t'));\nvar p = new DOMParser();\nvar s2=''+s+''\nvar start2= new Date().getTime();\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\nvar end2=new Date().getTime();\nconsole.log(\"MILLISECONDS\",end2-start2);\n// */\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?"); +"use strict"; +eval("\n\nconst conversions = __webpack_require__(/*! webidl-conversions */ \"./node_modules/webidl-conversions/lib/index.js\");\nconst utils = __webpack_require__(/*! ./utils.js */ \"./node_modules/whatwg-url/lib/utils.js\");\nconst Impl = __webpack_require__(/*! .//URL-impl.js */ \"./node_modules/whatwg-url/lib/URL-impl.js\");\n\nconst impl = utils.implSymbol;\n\nfunction URL(url) {\n if (!this || this[impl] || !(this instanceof URL)) {\n throw new TypeError(\"Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.\");\n }\n if (arguments.length < 1) {\n throw new TypeError(\"Failed to construct 'URL': 1 argument required, but only \" + arguments.length + \" present.\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 2; ++i) {\n args[i] = arguments[i];\n }\n args[0] = conversions[\"USVString\"](args[0]);\n if (args[1] !== undefined) {\n args[1] = conversions[\"USVString\"](args[1]);\n }\n\n module.exports.setup(this, args);\n}\n\nURL.prototype.toJSON = function toJSON() {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 0; ++i) {\n args[i] = arguments[i];\n }\n return this[impl].toJSON.apply(this[impl], args);\n};\nObject.defineProperty(URL.prototype, \"href\", {\n get() {\n return this[impl].href;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].href = V;\n },\n enumerable: true,\n configurable: true\n});\n\nURL.prototype.toString = function () {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n return this.href;\n};\n\nObject.defineProperty(URL.prototype, \"origin\", {\n get() {\n return this[impl].origin;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"protocol\", {\n get() {\n return this[impl].protocol;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].protocol = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"username\", {\n get() {\n return this[impl].username;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].username = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"password\", {\n get() {\n return this[impl].password;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].password = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"host\", {\n get() {\n return this[impl].host;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].host = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hostname\", {\n get() {\n return this[impl].hostname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hostname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"port\", {\n get() {\n return this[impl].port;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].port = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"pathname\", {\n get() {\n return this[impl].pathname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].pathname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"search\", {\n get() {\n return this[impl].search;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].search = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hash\", {\n get() {\n return this[impl].hash;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hash = V;\n },\n enumerable: true,\n configurable: true\n});\n\n\nmodule.exports = {\n is(obj) {\n return !!obj && obj[impl] instanceof Impl.implementation;\n },\n create(constructorArgs, privateData) {\n let obj = Object.create(URL.prototype);\n this.setup(obj, constructorArgs, privateData);\n return obj;\n },\n setup(obj, constructorArgs, privateData) {\n if (!privateData) privateData = {};\n privateData.wrapper = obj;\n\n obj[impl] = new Impl.implementation(constructorArgs, privateData);\n obj[impl][utils.wrapperSymbol] = obj;\n },\n interface: URL,\n expose: {\n Window: { URL: URL },\n Worker: { URL: URL }\n }\n};\n\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/whatwg-url/lib/URL.js?"); /***/ }), -/***/ "./node_modules/util-deprecate/node.js": -/*!*********************************************!*\ - !*** ./node_modules/util-deprecate/node.js ***! - \*********************************************/ +/***/ "./node_modules/whatwg-url/lib/public-api.js": +/*!***************************************************!*\ + !*** ./node_modules/whatwg-url/lib/public-api.js ***! + \***************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("\n/**\n * For Node.js, simply re-export the core `util.deprecate` function.\n */\n\nmodule.exports = __webpack_require__(/*! util */ \"util\").deprecate;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/util-deprecate/node.js?"); +"use strict"; +eval("\n\nexports.URL = __webpack_require__(/*! ./URL */ \"./node_modules/whatwg-url/lib/URL.js\").interface;\nexports.serializeURL = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").serializeURL;\nexports.serializeURLOrigin = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").serializeURLOrigin;\nexports.basicURLParse = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").basicURLParse;\nexports.setTheUsername = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").setTheUsername;\nexports.setThePassword = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").setThePassword;\nexports.serializeHost = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").serializeHost;\nexports.serializeInteger = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").serializeInteger;\nexports.parseURL = __webpack_require__(/*! ./url-state-machine */ \"./node_modules/whatwg-url/lib/url-state-machine.js\").parseURL;\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/whatwg-url/lib/public-api.js?"); + +/***/ }), + +/***/ "./node_modules/whatwg-url/lib/url-state-machine.js": +/*!**********************************************************!*\ + !*** ./node_modules/whatwg-url/lib/url-state-machine.js ***! + \**********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\r\nconst punycode = __webpack_require__(/*! punycode */ \"punycode\");\r\nconst tr46 = __webpack_require__(/*! tr46 */ \"./node_modules/tr46/index.js\");\r\n\r\nconst specialSchemes = {\r\n ftp: 21,\r\n file: null,\r\n gopher: 70,\r\n http: 80,\r\n https: 443,\r\n ws: 80,\r\n wss: 443\r\n};\r\n\r\nconst failure = Symbol(\"failure\");\r\n\r\nfunction countSymbols(str) {\r\n return punycode.ucs2.decode(str).length;\r\n}\r\n\r\nfunction at(input, idx) {\r\n const c = input[idx];\r\n return isNaN(c) ? undefined : String.fromCodePoint(c);\r\n}\r\n\r\nfunction isASCIIDigit(c) {\r\n return c >= 0x30 && c <= 0x39;\r\n}\r\n\r\nfunction isASCIIAlpha(c) {\r\n return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);\r\n}\r\n\r\nfunction isASCIIAlphanumeric(c) {\r\n return isASCIIAlpha(c) || isASCIIDigit(c);\r\n}\r\n\r\nfunction isASCIIHex(c) {\r\n return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);\r\n}\r\n\r\nfunction isSingleDot(buffer) {\r\n return buffer === \".\" || buffer.toLowerCase() === \"%2e\";\r\n}\r\n\r\nfunction isDoubleDot(buffer) {\r\n buffer = buffer.toLowerCase();\r\n return buffer === \"..\" || buffer === \"%2e.\" || buffer === \".%2e\" || buffer === \"%2e%2e\";\r\n}\r\n\r\nfunction isWindowsDriveLetterCodePoints(cp1, cp2) {\r\n return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124);\r\n}\r\n\r\nfunction isWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === \":\" || string[1] === \"|\");\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === \":\";\r\n}\r\n\r\nfunction containsForbiddenHostCodePoint(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|%|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction containsForbiddenHostCodePointExcludingPercent(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction isSpecialScheme(scheme) {\r\n return specialSchemes[scheme] !== undefined;\r\n}\r\n\r\nfunction isSpecial(url) {\r\n return isSpecialScheme(url.scheme);\r\n}\r\n\r\nfunction defaultPort(scheme) {\r\n return specialSchemes[scheme];\r\n}\r\n\r\nfunction percentEncode(c) {\r\n let hex = c.toString(16).toUpperCase();\r\n if (hex.length === 1) {\r\n hex = \"0\" + hex;\r\n }\r\n\r\n return \"%\" + hex;\r\n}\r\n\r\nfunction utf8PercentEncode(c) {\r\n const buf = new Buffer(c);\r\n\r\n let str = \"\";\r\n\r\n for (let i = 0; i < buf.length; ++i) {\r\n str += percentEncode(buf[i]);\r\n }\r\n\r\n return str;\r\n}\r\n\r\nfunction utf8PercentDecode(str) {\r\n const input = new Buffer(str);\r\n const output = [];\r\n for (let i = 0; i < input.length; ++i) {\r\n if (input[i] !== 37) {\r\n output.push(input[i]);\r\n } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) {\r\n output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16));\r\n i += 2;\r\n } else {\r\n output.push(input[i]);\r\n }\r\n }\r\n return new Buffer(output).toString();\r\n}\r\n\r\nfunction isC0ControlPercentEncode(c) {\r\n return c <= 0x1F || c > 0x7E;\r\n}\r\n\r\nconst extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]);\r\nfunction isPathPercentEncode(c) {\r\n return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);\r\n}\r\n\r\nconst extraUserinfoPercentEncodeSet =\r\n new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);\r\nfunction isUserinfoPercentEncode(c) {\r\n return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);\r\n}\r\n\r\nfunction percentEncodeChar(c, encodeSetPredicate) {\r\n const cStr = String.fromCodePoint(c);\r\n\r\n if (encodeSetPredicate(c)) {\r\n return utf8PercentEncode(cStr);\r\n }\r\n\r\n return cStr;\r\n}\r\n\r\nfunction parseIPv4Number(input) {\r\n let R = 10;\r\n\r\n if (input.length >= 2 && input.charAt(0) === \"0\" && input.charAt(1).toLowerCase() === \"x\") {\r\n input = input.substring(2);\r\n R = 16;\r\n } else if (input.length >= 2 && input.charAt(0) === \"0\") {\r\n input = input.substring(1);\r\n R = 8;\r\n }\r\n\r\n if (input === \"\") {\r\n return 0;\r\n }\r\n\r\n const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/);\r\n if (regex.test(input)) {\r\n return failure;\r\n }\r\n\r\n return parseInt(input, R);\r\n}\r\n\r\nfunction parseIPv4(input) {\r\n const parts = input.split(\".\");\r\n if (parts[parts.length - 1] === \"\") {\r\n if (parts.length > 1) {\r\n parts.pop();\r\n }\r\n }\r\n\r\n if (parts.length > 4) {\r\n return input;\r\n }\r\n\r\n const numbers = [];\r\n for (const part of parts) {\r\n if (part === \"\") {\r\n return input;\r\n }\r\n const n = parseIPv4Number(part);\r\n if (n === failure) {\r\n return input;\r\n }\r\n\r\n numbers.push(n);\r\n }\r\n\r\n for (let i = 0; i < numbers.length - 1; ++i) {\r\n if (numbers[i] > 255) {\r\n return failure;\r\n }\r\n }\r\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\r\n return failure;\r\n }\r\n\r\n let ipv4 = numbers.pop();\r\n let counter = 0;\r\n\r\n for (const n of numbers) {\r\n ipv4 += n * Math.pow(256, 3 - counter);\r\n ++counter;\r\n }\r\n\r\n return ipv4;\r\n}\r\n\r\nfunction serializeIPv4(address) {\r\n let output = \"\";\r\n let n = address;\r\n\r\n for (let i = 1; i <= 4; ++i) {\r\n output = String(n % 256) + output;\r\n if (i !== 4) {\r\n output = \".\" + output;\r\n }\r\n n = Math.floor(n / 256);\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseIPv6(input) {\r\n const address = [0, 0, 0, 0, 0, 0, 0, 0];\r\n let pieceIndex = 0;\r\n let compress = null;\r\n let pointer = 0;\r\n\r\n input = punycode.ucs2.decode(input);\r\n\r\n if (input[pointer] === 58) {\r\n if (input[pointer + 1] !== 58) {\r\n return failure;\r\n }\r\n\r\n pointer += 2;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n }\r\n\r\n while (pointer < input.length) {\r\n if (pieceIndex === 8) {\r\n return failure;\r\n }\r\n\r\n if (input[pointer] === 58) {\r\n if (compress !== null) {\r\n return failure;\r\n }\r\n ++pointer;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n continue;\r\n }\r\n\r\n let value = 0;\r\n let length = 0;\r\n\r\n while (length < 4 && isASCIIHex(input[pointer])) {\r\n value = value * 0x10 + parseInt(at(input, pointer), 16);\r\n ++pointer;\r\n ++length;\r\n }\r\n\r\n if (input[pointer] === 46) {\r\n if (length === 0) {\r\n return failure;\r\n }\r\n\r\n pointer -= length;\r\n\r\n if (pieceIndex > 6) {\r\n return failure;\r\n }\r\n\r\n let numbersSeen = 0;\r\n\r\n while (input[pointer] !== undefined) {\r\n let ipv4Piece = null;\r\n\r\n if (numbersSeen > 0) {\r\n if (input[pointer] === 46 && numbersSeen < 4) {\r\n ++pointer;\r\n } else {\r\n return failure;\r\n }\r\n }\r\n\r\n if (!isASCIIDigit(input[pointer])) {\r\n return failure;\r\n }\r\n\r\n while (isASCIIDigit(input[pointer])) {\r\n const number = parseInt(at(input, pointer));\r\n if (ipv4Piece === null) {\r\n ipv4Piece = number;\r\n } else if (ipv4Piece === 0) {\r\n return failure;\r\n } else {\r\n ipv4Piece = ipv4Piece * 10 + number;\r\n }\r\n if (ipv4Piece > 255) {\r\n return failure;\r\n }\r\n ++pointer;\r\n }\r\n\r\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\r\n\r\n ++numbersSeen;\r\n\r\n if (numbersSeen === 2 || numbersSeen === 4) {\r\n ++pieceIndex;\r\n }\r\n }\r\n\r\n if (numbersSeen !== 4) {\r\n return failure;\r\n }\r\n\r\n break;\r\n } else if (input[pointer] === 58) {\r\n ++pointer;\r\n if (input[pointer] === undefined) {\r\n return failure;\r\n }\r\n } else if (input[pointer] !== undefined) {\r\n return failure;\r\n }\r\n\r\n address[pieceIndex] = value;\r\n ++pieceIndex;\r\n }\r\n\r\n if (compress !== null) {\r\n let swaps = pieceIndex - compress;\r\n pieceIndex = 7;\r\n while (pieceIndex !== 0 && swaps > 0) {\r\n const temp = address[compress + swaps - 1];\r\n address[compress + swaps - 1] = address[pieceIndex];\r\n address[pieceIndex] = temp;\r\n --pieceIndex;\r\n --swaps;\r\n }\r\n } else if (compress === null && pieceIndex !== 8) {\r\n return failure;\r\n }\r\n\r\n return address;\r\n}\r\n\r\nfunction serializeIPv6(address) {\r\n let output = \"\";\r\n const seqResult = findLongestZeroSequence(address);\r\n const compress = seqResult.idx;\r\n let ignore0 = false;\r\n\r\n for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {\r\n if (ignore0 && address[pieceIndex] === 0) {\r\n continue;\r\n } else if (ignore0) {\r\n ignore0 = false;\r\n }\r\n\r\n if (compress === pieceIndex) {\r\n const separator = pieceIndex === 0 ? \"::\" : \":\";\r\n output += separator;\r\n ignore0 = true;\r\n continue;\r\n }\r\n\r\n output += address[pieceIndex].toString(16);\r\n\r\n if (pieceIndex !== 7) {\r\n output += \":\";\r\n }\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseHost(input, isSpecialArg) {\r\n if (input[0] === \"[\") {\r\n if (input[input.length - 1] !== \"]\") {\r\n return failure;\r\n }\r\n\r\n return parseIPv6(input.substring(1, input.length - 1));\r\n }\r\n\r\n if (!isSpecialArg) {\r\n return parseOpaqueHost(input);\r\n }\r\n\r\n const domain = utf8PercentDecode(input);\r\n const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false);\r\n if (asciiDomain === null) {\r\n return failure;\r\n }\r\n\r\n if (containsForbiddenHostCodePoint(asciiDomain)) {\r\n return failure;\r\n }\r\n\r\n const ipv4Host = parseIPv4(asciiDomain);\r\n if (typeof ipv4Host === \"number\" || ipv4Host === failure) {\r\n return ipv4Host;\r\n }\r\n\r\n return asciiDomain;\r\n}\r\n\r\nfunction parseOpaqueHost(input) {\r\n if (containsForbiddenHostCodePointExcludingPercent(input)) {\r\n return failure;\r\n }\r\n\r\n let output = \"\";\r\n const decoded = punycode.ucs2.decode(input);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n output += percentEncodeChar(decoded[i], isC0ControlPercentEncode);\r\n }\r\n return output;\r\n}\r\n\r\nfunction findLongestZeroSequence(arr) {\r\n let maxIdx = null;\r\n let maxLen = 1; // only find elements > 1\r\n let currStart = null;\r\n let currLen = 0;\r\n\r\n for (let i = 0; i < arr.length; ++i) {\r\n if (arr[i] !== 0) {\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n currStart = null;\r\n currLen = 0;\r\n } else {\r\n if (currStart === null) {\r\n currStart = i;\r\n }\r\n ++currLen;\r\n }\r\n }\r\n\r\n // if trailing zeros\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n return {\r\n idx: maxIdx,\r\n len: maxLen\r\n };\r\n}\r\n\r\nfunction serializeHost(host) {\r\n if (typeof host === \"number\") {\r\n return serializeIPv4(host);\r\n }\r\n\r\n // IPv6 serializer\r\n if (host instanceof Array) {\r\n return \"[\" + serializeIPv6(host) + \"]\";\r\n }\r\n\r\n return host;\r\n}\r\n\r\nfunction trimControlChars(url) {\r\n return url.replace(/^[\\u0000-\\u001F\\u0020]+|[\\u0000-\\u001F\\u0020]+$/g, \"\");\r\n}\r\n\r\nfunction trimTabAndNewline(url) {\r\n return url.replace(/\\u0009|\\u000A|\\u000D/g, \"\");\r\n}\r\n\r\nfunction shortenPath(url) {\r\n const path = url.path;\r\n if (path.length === 0) {\r\n return;\r\n }\r\n if (url.scheme === \"file\" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) {\r\n return;\r\n }\r\n\r\n path.pop();\r\n}\r\n\r\nfunction includesCredentials(url) {\r\n return url.username !== \"\" || url.password !== \"\";\r\n}\r\n\r\nfunction cannotHaveAUsernamePasswordPort(url) {\r\n return url.host === null || url.host === \"\" || url.cannotBeABaseURL || url.scheme === \"file\";\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetter(string) {\r\n return /^[A-Za-z]:$/.test(string);\r\n}\r\n\r\nfunction URLStateMachine(input, base, encodingOverride, url, stateOverride) {\r\n this.pointer = 0;\r\n this.input = input;\r\n this.base = base || null;\r\n this.encodingOverride = encodingOverride || \"utf-8\";\r\n this.stateOverride = stateOverride;\r\n this.url = url;\r\n this.failure = false;\r\n this.parseError = false;\r\n\r\n if (!this.url) {\r\n this.url = {\r\n scheme: \"\",\r\n username: \"\",\r\n password: \"\",\r\n host: null,\r\n port: null,\r\n path: [],\r\n query: null,\r\n fragment: null,\r\n\r\n cannotBeABaseURL: false\r\n };\r\n\r\n const res = trimControlChars(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n }\r\n\r\n const res = trimTabAndNewline(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n\r\n this.state = stateOverride || \"scheme start\";\r\n\r\n this.buffer = \"\";\r\n this.atFlag = false;\r\n this.arrFlag = false;\r\n this.passwordTokenSeenFlag = false;\r\n\r\n this.input = punycode.ucs2.decode(this.input);\r\n\r\n for (; this.pointer <= this.input.length; ++this.pointer) {\r\n const c = this.input[this.pointer];\r\n const cStr = isNaN(c) ? undefined : String.fromCodePoint(c);\r\n\r\n // exec state machine\r\n const ret = this[\"parse \" + this.state](c, cStr);\r\n if (!ret) {\r\n break; // terminate algorithm\r\n } else if (ret === failure) {\r\n this.failure = true;\r\n break;\r\n }\r\n }\r\n}\r\n\r\nURLStateMachine.prototype[\"parse scheme start\"] = function parseSchemeStart(c, cStr) {\r\n if (isASCIIAlpha(c)) {\r\n this.buffer += cStr.toLowerCase();\r\n this.state = \"scheme\";\r\n } else if (!this.stateOverride) {\r\n this.state = \"no scheme\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse scheme\"] = function parseScheme(c, cStr) {\r\n if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) {\r\n this.buffer += cStr.toLowerCase();\r\n } else if (c === 58) {\r\n if (this.stateOverride) {\r\n if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === \"file\") {\r\n return false;\r\n }\r\n\r\n if (this.url.scheme === \"file\" && (this.url.host === \"\" || this.url.host === null)) {\r\n return false;\r\n }\r\n }\r\n this.url.scheme = this.buffer;\r\n this.buffer = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n if (this.url.scheme === \"file\") {\r\n if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file\";\r\n } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) {\r\n this.state = \"special relative or authority\";\r\n } else if (isSpecial(this.url)) {\r\n this.state = \"special authority slashes\";\r\n } else if (this.input[this.pointer + 1] === 47) {\r\n this.state = \"path or authority\";\r\n ++this.pointer;\r\n } else {\r\n this.url.cannotBeABaseURL = true;\r\n this.url.path.push(\"\");\r\n this.state = \"cannot-be-a-base-URL path\";\r\n }\r\n } else if (!this.stateOverride) {\r\n this.buffer = \"\";\r\n this.state = \"no scheme\";\r\n this.pointer = -1;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse no scheme\"] = function parseNoScheme(c) {\r\n if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) {\r\n return failure;\r\n } else if (this.base.cannotBeABaseURL && c === 35) {\r\n this.url.scheme = this.base.scheme;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.url.cannotBeABaseURL = true;\r\n this.state = \"fragment\";\r\n } else if (this.base.scheme === \"file\") {\r\n this.state = \"file\";\r\n --this.pointer;\r\n } else {\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special relative or authority\"] = function parseSpecialRelativeOrAuthority(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path or authority\"] = function parsePathOrAuthority(c) {\r\n if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative\"] = function parseRelative(c) {\r\n this.url.scheme = this.base.scheme;\r\n if (isNaN(c)) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 47) {\r\n this.state = \"relative slash\";\r\n } else if (c === 63) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n this.state = \"relative slash\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice(0, this.base.path.length - 1);\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative slash\"] = function parseRelativeSlash(c) {\r\n if (isSpecial(this.url) && (c === 47 || c === 92)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"special authority ignore slashes\";\r\n } else if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority slashes\"] = function parseSpecialAuthoritySlashes(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"special authority ignore slashes\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority ignore slashes\"] = function parseSpecialAuthorityIgnoreSlashes(c) {\r\n if (c !== 47 && c !== 92) {\r\n this.state = \"authority\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse authority\"] = function parseAuthority(c, cStr) {\r\n if (c === 64) {\r\n this.parseError = true;\r\n if (this.atFlag) {\r\n this.buffer = \"%40\" + this.buffer;\r\n }\r\n this.atFlag = true;\r\n\r\n // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars\r\n const len = countSymbols(this.buffer);\r\n for (let pointer = 0; pointer < len; ++pointer) {\r\n const codePoint = this.buffer.codePointAt(pointer);\r\n\r\n if (codePoint === 58 && !this.passwordTokenSeenFlag) {\r\n this.passwordTokenSeenFlag = true;\r\n continue;\r\n }\r\n const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode);\r\n if (this.passwordTokenSeenFlag) {\r\n this.url.password += encodedCodePoints;\r\n } else {\r\n this.url.username += encodedCodePoints;\r\n }\r\n }\r\n this.buffer = \"\";\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n if (this.atFlag && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.pointer -= countSymbols(this.buffer) + 1;\r\n this.buffer = \"\";\r\n this.state = \"host\";\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse hostname\"] =\r\nURLStateMachine.prototype[\"parse host\"] = function parseHostName(c, cStr) {\r\n if (this.stateOverride && this.url.scheme === \"file\") {\r\n --this.pointer;\r\n this.state = \"file host\";\r\n } else if (c === 58 && !this.arrFlag) {\r\n if (this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"port\";\r\n if (this.stateOverride === \"hostname\") {\r\n return false;\r\n }\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n --this.pointer;\r\n if (isSpecial(this.url) && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n } else if (this.stateOverride && this.buffer === \"\" &&\r\n (includesCredentials(this.url) || this.url.port !== null)) {\r\n this.parseError = true;\r\n return false;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n } else {\r\n if (c === 91) {\r\n this.arrFlag = true;\r\n } else if (c === 93) {\r\n this.arrFlag = false;\r\n }\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse port\"] = function parsePort(c, cStr) {\r\n if (isASCIIDigit(c)) {\r\n this.buffer += cStr;\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92) ||\r\n this.stateOverride) {\r\n if (this.buffer !== \"\") {\r\n const port = parseInt(this.buffer);\r\n if (port > Math.pow(2, 16) - 1) {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.url.port = port === defaultPort(this.url.scheme) ? null : port;\r\n this.buffer = \"\";\r\n }\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nconst fileOtherwiseCodePoints = new Set([47, 92, 63, 35]);\r\n\r\nURLStateMachine.prototype[\"parse file\"] = function parseFile(c) {\r\n this.url.scheme = \"file\";\r\n\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file slash\";\r\n } else if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNaN(c)) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 63) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points\r\n !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) ||\r\n (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points\r\n !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n shortenPath(this.url);\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file slash\"] = function parseFileSlash(c) {\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file host\";\r\n } else {\r\n if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNormalizedWindowsDriveLetterString(this.base.path[0])) {\r\n this.url.path.push(this.base.path[0]);\r\n } else {\r\n this.url.host = this.base.host;\r\n }\r\n }\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file host\"] = function parseFileHost(c, cStr) {\r\n if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) {\r\n --this.pointer;\r\n if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {\r\n this.parseError = true;\r\n this.state = \"path\";\r\n } else if (this.buffer === \"\") {\r\n this.url.host = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n } else {\r\n let host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n if (host === \"localhost\") {\r\n host = \"\";\r\n }\r\n this.url.host = host;\r\n\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n }\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path start\"] = function parsePathStart(c) {\r\n if (isSpecial(this.url)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"path\";\r\n\r\n if (c !== 47 && c !== 92) {\r\n --this.pointer;\r\n }\r\n } else if (!this.stateOverride && c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (!this.stateOverride && c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (c !== undefined) {\r\n this.state = \"path\";\r\n if (c !== 47) {\r\n --this.pointer;\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path\"] = function parsePath(c) {\r\n if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) ||\r\n (!this.stateOverride && (c === 63 || c === 35))) {\r\n if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n }\r\n\r\n if (isDoubleDot(this.buffer)) {\r\n shortenPath(this.url);\r\n if (c !== 47 && !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n }\r\n } else if (isSingleDot(this.buffer) && c !== 47 &&\r\n !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n } else if (!isSingleDot(this.buffer)) {\r\n if (this.url.scheme === \"file\" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) {\r\n if (this.url.host !== \"\" && this.url.host !== null) {\r\n this.parseError = true;\r\n this.url.host = \"\";\r\n }\r\n this.buffer = this.buffer[0] + \":\";\r\n }\r\n this.url.path.push(this.buffer);\r\n }\r\n this.buffer = \"\";\r\n if (this.url.scheme === \"file\" && (c === undefined || c === 63 || c === 35)) {\r\n while (this.url.path.length > 1 && this.url.path[0] === \"\") {\r\n this.parseError = true;\r\n this.url.path.shift();\r\n }\r\n }\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n }\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += percentEncodeChar(c, isPathPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse cannot-be-a-base-URL path\"] = function parseCannotBeABaseURLPath(c) {\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n // TODO: Add: not a URL code point\r\n if (!isNaN(c) && c !== 37) {\r\n this.parseError = true;\r\n }\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n if (!isNaN(c)) {\r\n this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse query\"] = function parseQuery(c, cStr) {\r\n if (isNaN(c) || (!this.stateOverride && c === 35)) {\r\n if (!isSpecial(this.url) || this.url.scheme === \"ws\" || this.url.scheme === \"wss\") {\r\n this.encodingOverride = \"utf-8\";\r\n }\r\n\r\n const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead\r\n for (let i = 0; i < buffer.length; ++i) {\r\n if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 ||\r\n buffer[i] === 0x3C || buffer[i] === 0x3E) {\r\n this.url.query += percentEncode(buffer[i]);\r\n } else {\r\n this.url.query += String.fromCodePoint(buffer[i]);\r\n }\r\n }\r\n\r\n this.buffer = \"\";\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse fragment\"] = function parseFragment(c) {\r\n if (isNaN(c)) { // do nothing\r\n } else if (c === 0x0) {\r\n this.parseError = true;\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nfunction serializeURL(url, excludeFragment) {\r\n let output = url.scheme + \":\";\r\n if (url.host !== null) {\r\n output += \"//\";\r\n\r\n if (url.username !== \"\" || url.password !== \"\") {\r\n output += url.username;\r\n if (url.password !== \"\") {\r\n output += \":\" + url.password;\r\n }\r\n output += \"@\";\r\n }\r\n\r\n output += serializeHost(url.host);\r\n\r\n if (url.port !== null) {\r\n output += \":\" + url.port;\r\n }\r\n } else if (url.host === null && url.scheme === \"file\") {\r\n output += \"//\";\r\n }\r\n\r\n if (url.cannotBeABaseURL) {\r\n output += url.path[0];\r\n } else {\r\n for (const string of url.path) {\r\n output += \"/\" + string;\r\n }\r\n }\r\n\r\n if (url.query !== null) {\r\n output += \"?\" + url.query;\r\n }\r\n\r\n if (!excludeFragment && url.fragment !== null) {\r\n output += \"#\" + url.fragment;\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction serializeOrigin(tuple) {\r\n let result = tuple.scheme + \"://\";\r\n result += serializeHost(tuple.host);\r\n\r\n if (tuple.port !== null) {\r\n result += \":\" + tuple.port;\r\n }\r\n\r\n return result;\r\n}\r\n\r\nmodule.exports.serializeURL = serializeURL;\r\n\r\nmodule.exports.serializeURLOrigin = function (url) {\r\n // https://url.spec.whatwg.org/#concept-url-origin\r\n switch (url.scheme) {\r\n case \"blob\":\r\n try {\r\n return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]));\r\n } catch (e) {\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n case \"ftp\":\r\n case \"gopher\":\r\n case \"http\":\r\n case \"https\":\r\n case \"ws\":\r\n case \"wss\":\r\n return serializeOrigin({\r\n scheme: url.scheme,\r\n host: url.host,\r\n port: url.port\r\n });\r\n case \"file\":\r\n // spec says \"exercise to the reader\", chrome says \"file://\"\r\n return \"file://\";\r\n default:\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n};\r\n\r\nmodule.exports.basicURLParse = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride);\r\n if (usm.failure) {\r\n return \"failure\";\r\n }\r\n\r\n return usm.url;\r\n};\r\n\r\nmodule.exports.setTheUsername = function (url, username) {\r\n url.username = \"\";\r\n const decoded = punycode.ucs2.decode(username);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.setThePassword = function (url, password) {\r\n url.password = \"\";\r\n const decoded = punycode.ucs2.decode(password);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.serializeHost = serializeHost;\r\n\r\nmodule.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\r\n\r\nmodule.exports.serializeInteger = function (integer) {\r\n return String(integer);\r\n};\r\n\r\nmodule.exports.parseURL = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n // We don't handle blobs, so this just delegates:\r\n return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride });\r\n};\r\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/whatwg-url/lib/url-state-machine.js?"); + +/***/ }), + +/***/ "./node_modules/whatwg-url/lib/utils.js": +/*!**********************************************!*\ + !*** ./node_modules/whatwg-url/lib/utils.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nmodule.exports.mixin = function mixin(target, source) {\n const keys = Object.getOwnPropertyNames(source);\n for (let i = 0; i < keys.length; ++i) {\n Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i]));\n }\n};\n\nmodule.exports.wrapperSymbol = Symbol(\"wrapper\");\nmodule.exports.implSymbol = Symbol(\"impl\");\n\nmodule.exports.wrapperForImpl = function (impl) {\n return impl[module.exports.wrapperSymbol];\n};\n\nmodule.exports.implForWrapper = function (wrapper) {\n return wrapper[module.exports.implSymbol];\n};\n\n\n\n//# sourceURL=webpack://GeoRaster/./node_modules/whatwg-url/lib/utils.js?"); /***/ }), @@ -1369,7 +1502,7 @@ eval("\n\n// http://stackoverflow.com/questions/10343913/how-to-create-a-web-wor /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n/* global Blob */\n/* global URL */\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _crossFetch = __webpack_require__(/*! cross-fetch */ \"./node_modules/cross-fetch/dist/node-ponyfill.js\");\n\nvar _crossFetch2 = _interopRequireDefault(_crossFetch);\n\nvar _worker = __webpack_require__(/*! ./worker.js */ \"./src/worker.js\");\n\nvar _worker2 = _interopRequireDefault(_worker);\n\nvar _parseData = __webpack_require__(/*! ./parseData.js */ \"./src/parseData.js\");\n\nvar _parseData2 = _interopRequireDefault(_parseData);\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _georasterToCanvas = __webpack_require__(/*! georaster-to-canvas */ \"./node_modules/georaster-to-canvas/index.js\");\n\nvar _georasterToCanvas2 = _interopRequireDefault(_georasterToCanvas);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction urlExists(url) {\n try {\n return (0, _crossFetch2.default)(url, { method: 'HEAD' }).then(function (response) {\n return response.status === 200;\n }).catch(function (error) {\n return false;\n });\n } catch (error) {\n return Promise.resolve(false);\n }\n}\n\nfunction getValues(geotiff, options) {\n var left = options.left,\n top = options.top,\n right = options.right,\n bottom = options.bottom,\n width = options.width,\n height = options.height,\n resampleMethod = options.resampleMethod;\n // note this.image and this.geotiff both have a readRasters method;\n // they are not the same thing. use this.geotiff for experimental version\n // that reads from best overview\n\n return geotiff.readRasters({\n window: [left, top, right, bottom],\n width: width,\n height: height,\n resampleMethod: resampleMethod || 'bilinear'\n }).then(function (rasters) {\n /*\n The result appears to be an array with a width and height property set.\n We only need the values, assuming the user remembers the width and height.\n Ex: [[0,27723,...11025,12924], width: 10, height: 10]\n */\n return rasters.map(function (raster) {\n return (0, _utils.unflatten)(raster, { height: height, width: width });\n });\n });\n};\n\nvar GeoRaster = function () {\n function GeoRaster(data, metadata, debug) {\n _classCallCheck(this, GeoRaster);\n\n if (debug) console.log('starting GeoRaster.constructor with', data, metadata);\n\n this._web_worker_is_available = typeof window !== 'undefined' && window.Worker !== 'undefined';\n this._blob_is_available = typeof Blob !== 'undefined';\n this._url_is_available = typeof URL !== 'undefined';\n\n // check if should convert to buffer\n if ((typeof data === 'undefined' ? 'undefined' : _typeof(data)) === 'object' && data.constructor && data.constructor.name === 'Buffer' && Buffer.isBuffer(data) === false) {\n data = new Buffer(data);\n }\n\n if (typeof data === 'string') {\n if (debug) console.log('data is a url');\n this._data = data;\n this._url = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'url';\n } else if (typeof Buffer !== 'undefined' && Buffer.isBuffer(data)) {\n // this is node\n if (debug) console.log('data is a buffer');\n this._data = data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength);\n this.rasterType = 'geotiff';\n this.sourceType = 'Buffer';\n } else if (data instanceof ArrayBuffer) {\n // this is browser\n this._data = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'ArrayBuffer';\n } else if (Array.isArray(data) && metadata) {\n this._data = data;\n this.rasterType = 'object';\n this._metadata = metadata;\n }\n\n if (debug) console.log('this after construction:', this);\n }\n\n _createClass(GeoRaster, [{\n key: 'preinitialize',\n value: function preinitialize(debug) {\n var _this = this;\n\n if (debug) console.log('starting preinitialize');\n if (this._url) {\n // initialize these outside worker to avoid weird worker error\n // I don't see how cache option is passed through with fromUrl,\n // though constantinius says it should work: https://github.com/geotiffjs/geotiff.js/issues/61\n var ovrURL = this._url + '.ovr';\n return urlExists(ovrURL).then(function (ovrExists) {\n if (debug) console.log('overview exists:', ovrExists);\n if (ovrExists) {\n return (0, _geotiff.fromUrls)(_this._url, [ovrURL], { cache: true, forceXHR: false });\n } else {\n return (0, _geotiff.fromUrl)(_this._url, { cache: true, forceXHR: false });\n }\n });\n } else {\n // no pre-initialization steps required if not using a Cloud Optimized GeoTIFF\n return Promise.resolve();\n }\n }\n }, {\n key: 'initialize',\n value: function initialize(debug) {\n var _this2 = this;\n\n return this.preinitialize(debug).then(function (geotiff) {\n return new Promise(function (resolve, reject) {\n if (debug) console.log('starting GeoRaster.initialize');\n if (debug) console.log('this', _this2);\n\n if (_this2.rasterType === 'object' || _this2.rasterType === 'geotiff' || _this2.rasterType === 'tiff') {\n if (_this2._web_worker_is_available) {\n var worker = new _worker2.default();\n worker.onmessage = function (e) {\n if (debug) console.log('main thread received message:', e);\n var data = e.data;\n for (var key in data) {\n _this2[key] = data[key];\n }\n if (_this2._url) {\n _this2._geotiff = geotiff;\n _this2.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n _this2.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(_this2);\n };\n if (debug) console.log('about to postMessage');\n if (_this2._data instanceof ArrayBuffer) {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, [_this2._data]);\n } else {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n });\n }\n } else {\n if (debug) console.log('web worker is not available');\n (0, _parseData2.default)({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, debug).then(function (result) {\n if (debug) console.log('result:', result);\n if (_this2._url) {\n result._geotiff = geotiff;\n result.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n result.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(result);\n }).catch(reject);\n }\n } else {\n reject('couldn\\'t find a way to parse');\n }\n });\n });\n }\n }]);\n\n return GeoRaster;\n}();\n\nvar parseGeoraster = function parseGeoraster(input, metadata, debug) {\n if (debug) console.log('starting parseGeoraster with ', input, metadata);\n\n if (input === undefined) {\n var errorMessage = '[Georaster.parseGeoraster] Error. You passed in undefined to parseGeoraster. We can\\'t make a raster out of nothing!';\n throw Error(errorMessage);\n }\n\n return new GeoRaster(input, metadata, debug).initialize(debug);\n};\n\nif ( true && typeof module.exports !== 'undefined') {\n module.exports = parseGeoraster;\n}\n\n/*\n The following code allows you to use GeoRaster without requiring\n*/\nif (typeof window !== 'undefined') {\n window['parseGeoraster'] = parseGeoraster;\n} else if (typeof self !== 'undefined') {\n self['parseGeoraster'] = parseGeoraster; // jshint ignore:line\n}\n\n//# sourceURL=webpack://GeoRaster/./src/index.js?"); +eval("\n/* global Blob */\n/* global URL */\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _crossFetch = __webpack_require__(/*! cross-fetch */ \"./node_modules/cross-fetch/dist/node-ponyfill.js\");\n\nvar _crossFetch2 = _interopRequireDefault(_crossFetch);\n\nvar _worker = __webpack_require__(/*! ./worker.js */ \"./src/worker.js\");\n\nvar _worker2 = _interopRequireDefault(_worker);\n\nvar _parseData = __webpack_require__(/*! ./parseData.js */ \"./src/parseData.js\");\n\nvar _parseData2 = _interopRequireDefault(_parseData);\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _georasterToCanvas = __webpack_require__(/*! georaster-to-canvas */ \"./node_modules/georaster-to-canvas/index.js\");\n\nvar _georasterToCanvas2 = _interopRequireDefault(_georasterToCanvas);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction urlExists(url) {\n try {\n return (0, _crossFetch2.default)(url, { method: 'HEAD' }).then(function (response) {\n return response.status === 200;\n }).catch(function (error) {\n return false;\n });\n } catch (error) {\n return Promise.resolve(false);\n }\n}\n\nfunction getValues(geotiff, options) {\n var left = options.left,\n top = options.top,\n right = options.right,\n bottom = options.bottom,\n width = options.width,\n height = options.height,\n resampleMethod = options.resampleMethod;\n // note this.image and this.geotiff both have a readRasters method;\n // they are not the same thing. use this.geotiff for experimental version\n // that reads from best overview\n\n return geotiff.readRasters({\n window: [left, top, right, bottom],\n width: width,\n height: height,\n resampleMethod: resampleMethod || 'bilinear'\n }).then(function (rasters) {\n /*\n The result appears to be an array with a width and height property set.\n We only need the values, assuming the user remembers the width and height.\n Ex: [[0,27723,...11025,12924], width: 10, height: 10]\n */\n return rasters.map(function (raster) {\n return (0, _utils.unflatten)(raster, { height: height, width: width });\n });\n });\n};\n\nvar GeoRaster = function () {\n function GeoRaster(data, metadata, debug) {\n _classCallCheck(this, GeoRaster);\n\n if (debug) console.log('starting GeoRaster.constructor with', data, metadata);\n\n this._web_worker_is_available = typeof window !== 'undefined' && window.Worker !== 'undefined';\n this._blob_is_available = typeof Blob !== 'undefined';\n this._url_is_available = typeof URL !== 'undefined';\n\n // check if should convert to buffer\n if ((typeof data === 'undefined' ? 'undefined' : _typeof(data)) === 'object' && data.constructor && data.constructor.name === 'Buffer' && Buffer.isBuffer(data) === false) {\n data = new Buffer(data);\n }\n\n if (typeof data === 'string') {\n if (debug) console.log('data is a url');\n this._data = data;\n this._url = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'url';\n } else if (typeof Blob !== 'undefined' && data instanceof Blob) {\n this._data = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'Blob';\n } else if (typeof Buffer !== 'undefined' && Buffer.isBuffer(data)) {\n // this is node\n if (debug) console.log('data is a buffer');\n this._data = data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength);\n this.rasterType = 'geotiff';\n this.sourceType = 'Buffer';\n } else if (data instanceof ArrayBuffer) {\n // this is browser\n this._data = data;\n this.rasterType = 'geotiff';\n this.sourceType = 'ArrayBuffer';\n this._metadata = metadata;\n } else if (Array.isArray(data) && metadata) {\n this._data = data;\n this.rasterType = 'object';\n this._metadata = metadata;\n }\n\n if (debug) console.log('this after construction:', this);\n }\n\n _createClass(GeoRaster, [{\n key: 'preinitialize',\n value: function preinitialize(debug) {\n var _this = this;\n\n if (debug) console.log('starting preinitialize');\n if (this._url) {\n // initialize these outside worker to avoid weird worker error\n // I don't see how cache option is passed through with fromUrl,\n // though constantinius says it should work: https://github.com/geotiffjs/geotiff.js/issues/61\n var ovrURL = this._url + '.ovr';\n return urlExists(ovrURL).then(function (ovrExists) {\n if (debug) console.log('overview exists:', ovrExists);\n if (ovrExists) {\n return (0, _geotiff.fromUrls)(_this._url, [ovrURL], { cache: true, forceXHR: false });\n } else {\n return (0, _geotiff.fromUrl)(_this._url, { cache: true, forceXHR: false });\n }\n });\n } else {\n // no pre-initialization steps required if not using a Cloud Optimized GeoTIFF\n return Promise.resolve();\n }\n }\n }, {\n key: 'initialize',\n value: function initialize(debug) {\n var _this2 = this;\n\n return this.preinitialize(debug).then(function (geotiff) {\n return new Promise(function (resolve, reject) {\n if (debug) console.log('starting GeoRaster.initialize');\n if (debug) console.log('this', _this2);\n\n if (_this2.rasterType === 'object' || _this2.rasterType === 'geotiff' || _this2.rasterType === 'tiff') {\n if (_this2._web_worker_is_available) {\n var worker = new _worker2.default();\n worker.onmessage = function (e) {\n if (debug) console.log('main thread received message:', e);\n var data = e.data;\n for (var key in data) {\n _this2[key] = data[key];\n }\n if (_this2._url) {\n _this2._geotiff = geotiff;\n _this2.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n _this2.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(_this2);\n };\n if (debug) console.log('about to postMessage');\n if (_this2._data instanceof ArrayBuffer) {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, [_this2._data]);\n } else {\n worker.postMessage({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n });\n }\n } else {\n if (debug) console.log('web worker is not available');\n (0, _parseData2.default)({\n data: _this2._data,\n rasterType: _this2.rasterType,\n sourceType: _this2.sourceType,\n metadata: _this2._metadata\n }, debug).then(function (result) {\n if (debug) console.log('result:', result);\n if (_this2._url) {\n result._geotiff = geotiff;\n result.getValues = function (options) {\n return getValues(this._geotiff, options);\n };\n }\n result.toCanvas = function (options) {\n return (0, _georasterToCanvas2.default)(this, options);\n };\n resolve(result);\n }).catch(reject);\n }\n } else {\n reject('couldn\\'t find a way to parse');\n }\n });\n });\n }\n }]);\n\n return GeoRaster;\n}();\n\nvar parseGeoraster = function parseGeoraster(input, metadata, debug) {\n if (debug) console.log('starting parseGeoraster with ', input, metadata);\n\n if (input === undefined) {\n var errorMessage = '[Georaster.parseGeoraster] Error. You passed in undefined to parseGeoraster. We can\\'t make a raster out of nothing!';\n throw Error(errorMessage);\n }\n\n return new GeoRaster(input, metadata, debug).initialize(debug);\n};\n\nif ( true && typeof module.exports !== 'undefined') {\n module.exports = parseGeoraster;\n}\n\n/*\n The following code allows you to use GeoRaster without requiring\n*/\nif (typeof window !== 'undefined') {\n window['parseGeoraster'] = parseGeoraster;\n} else if (typeof self !== 'undefined') {\n self['parseGeoraster'] = parseGeoraster; // jshint ignore:line\n}\n\n//# sourceURL=webpack://GeoRaster/./src/index.js?"); /***/ }), @@ -1381,7 +1514,7 @@ eval("\n/* global Blob */\n/* global URL */\n\nvar _typeof = typeof Symbol === \ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.default = parseData;\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \"./node_modules/geotiff-palette/index.js\");\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nfunction processResult(result, debug) {\n var noDataValue = result.noDataValue;\n var height = result.height;\n var width = result.width;\n\n return new Promise(function (resolve, reject) {\n result.maxs = [];\n result.mins = [];\n result.ranges = [];\n\n var max = void 0;var min = void 0;\n\n // console.log(\"starting to get min, max and ranges\");\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\n var rows = result.values[rasterIndex];\n if (debug) console.log('[georaster] rows:', rows);\n\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\n var row = rows[rowIndex];\n\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\n var value = row[columnIndex];\n if (value != noDataValue && !isNaN(value)) {\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\n }\n }\n }\n\n result.maxs.push(max);\n result.mins.push(min);\n result.ranges.push(max - min);\n }\n\n resolve(result);\n });\n}\n\n/* We're not using async because trying to avoid dependency on babel's polyfill\nThere can be conflicts when GeoRaster is used in another project that is also\nusing @babel/polyfill */\nfunction parseData(data, debug) {\n return new Promise(function (resolve, reject) {\n try {\n if (debug) console.log('starting parseData with', data);\n if (debug) console.log('\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\n\n var result = {};\n\n var height = void 0,\n width = void 0;\n\n if (data.rasterType === 'object') {\n result.values = data.data;\n result.height = height = data.metadata.height || result.values[0].length;\n result.width = width = data.metadata.width || result.values[0][0].length;\n result.pixelHeight = data.metadata.pixelHeight;\n result.pixelWidth = data.metadata.pixelWidth;\n result.projection = data.metadata.projection;\n result.xmin = data.metadata.xmin;\n result.ymax = data.metadata.ymax;\n result.noDataValue = data.metadata.noDataValue;\n result.numberOfRasters = result.values.length;\n result.xmax = result.xmin + result.width * result.pixelWidth;\n result.ymin = result.ymax - result.height * result.pixelHeight;\n result._data = null;\n resolve(processResult(result));\n } else if (data.rasterType === 'geotiff') {\n result._data = data.data;\n\n var initFunction = _geotiff.fromArrayBuffer;\n if (data.sourceType === 'url') {\n initFunction = _geotiff.fromUrl;\n }\n\n if (debug) console.log('data.rasterType is geotiff');\n resolve(initFunction(data.data).then(function (geotiff) {\n if (debug) console.log('geotiff:', geotiff);\n return geotiff.getImage().then(function (image) {\n try {\n if (debug) console.log('image:', image);\n\n var fileDirectory = image.fileDirectory;\n\n var _image$getGeoKeys = image.getGeoKeys(),\n GeographicTypeGeoKey = _image$getGeoKeys.GeographicTypeGeoKey,\n ProjectedCSTypeGeoKey = _image$getGeoKeys.ProjectedCSTypeGeoKey;\n\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey;\n if (debug) console.log('projection:', result.projection);\n\n result.height = height = image.getHeight();\n if (debug) console.log('result.height:', result.height);\n result.width = width = image.getWidth();\n if (debug) console.log('result.width:', result.width);\n\n var _image$getResolution = image.getResolution(),\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\n resolutionX = _image$getResolution2[0],\n resolutionY = _image$getResolution2[1];\n\n result.pixelHeight = Math.abs(resolutionY);\n result.pixelWidth = Math.abs(resolutionX);\n\n var _image$getOrigin = image.getOrigin(),\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\n originX = _image$getOrigin2[0],\n originY = _image$getOrigin2[1];\n\n result.xmin = originX;\n result.xmax = result.xmin + width * result.pixelWidth;\n result.ymax = originY;\n result.ymin = result.ymax - height * result.pixelHeight;\n\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\n\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\n\n if (fileDirectory.ColorMap) {\n result.palette = (0, _geotiffPalette.getPalette)(image);\n }\n\n if (data.sourceType !== 'url') {\n return image.readRasters().then(function (rasters) {\n result.values = rasters.map(function (valuesInOneDimension) {\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\n });\n return processResult(result);\n });\n } else {\n return result;\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n }));\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n}\n\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.default = parseData;\n\nvar _geotiff = __webpack_require__(/*! geotiff */ \"./node_modules/geotiff/src/geotiff.js\");\n\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \"./node_modules/geotiff-palette/index.js\");\n\nvar _utils = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\");\n\nfunction processResult(result, debug) {\n var noDataValue = result.noDataValue;\n var height = result.height;\n var width = result.width;\n\n return new Promise(function (resolve, reject) {\n result.maxs = [];\n result.mins = [];\n result.ranges = [];\n\n var max = void 0;var min = void 0;\n\n // console.log(\"starting to get min, max and ranges\");\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\n var rows = result.values[rasterIndex];\n if (debug) console.log('[georaster] rows:', rows);\n\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\n var row = rows[rowIndex];\n\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\n var value = row[columnIndex];\n if (value != noDataValue && !isNaN(value)) {\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\n }\n }\n }\n\n result.maxs.push(max);\n result.mins.push(min);\n result.ranges.push(max - min);\n }\n\n resolve(result);\n });\n}\n\n/* We're not using async because trying to avoid dependency on babel's polyfill\nThere can be conflicts when GeoRaster is used in another project that is also\nusing @babel/polyfill */\nfunction parseData(data, debug) {\n return new Promise(function (resolve, reject) {\n try {\n if (debug) console.log('starting parseData with', data);\n if (debug) console.log('\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\n\n var result = {};\n\n var height = void 0,\n width = void 0;\n\n if (data.rasterType === 'object') {\n result.values = data.data;\n result.height = height = data.metadata.height || result.values[0].length;\n result.width = width = data.metadata.width || result.values[0][0].length;\n result.pixelHeight = data.metadata.pixelHeight;\n result.pixelWidth = data.metadata.pixelWidth;\n result.projection = data.metadata.projection;\n result.xmin = data.metadata.xmin;\n result.ymax = data.metadata.ymax;\n result.noDataValue = data.metadata.noDataValue;\n result.numberOfRasters = result.values.length;\n result.xmax = result.xmin + result.width * result.pixelWidth;\n result.ymin = result.ymax - result.height * result.pixelHeight;\n result._data = null;\n resolve(processResult(result));\n } else if (data.rasterType === 'geotiff') {\n result._data = data.data;\n\n var initFunction = _geotiff.fromArrayBuffer;\n if (data.sourceType === 'url') {\n initFunction = _geotiff.fromUrl;\n } else if (data.sourceType === 'Blob') {\n initFunction = _geotiff.fromBlob;\n }\n\n if (debug) console.log('data.rasterType is geotiff');\n resolve(initFunction(data.data).then(function (geotiff) {\n if (debug) console.log('geotiff:', geotiff);\n return geotiff.getImage().then(function (image) {\n try {\n if (debug) console.log('image:', image);\n\n var fileDirectory = image.fileDirectory;\n\n var _ref = image.getGeoKeys() || {},\n GeographicTypeGeoKey = _ref.GeographicTypeGeoKey,\n ProjectedCSTypeGeoKey = _ref.ProjectedCSTypeGeoKey;\n\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey || data.metadata.projection;\n if (debug) console.log('projection:', result.projection);\n\n result.height = height = image.getHeight();\n if (debug) console.log('result.height:', result.height);\n result.width = width = image.getWidth();\n if (debug) console.log('result.width:', result.width);\n\n var _image$getResolution = image.getResolution(),\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\n resolutionX = _image$getResolution2[0],\n resolutionY = _image$getResolution2[1];\n\n result.pixelHeight = Math.abs(resolutionY);\n result.pixelWidth = Math.abs(resolutionX);\n\n var _image$getOrigin = image.getOrigin(),\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\n originX = _image$getOrigin2[0],\n originY = _image$getOrigin2[1];\n\n result.xmin = originX;\n result.xmax = result.xmin + width * result.pixelWidth;\n result.ymax = originY;\n result.ymin = result.ymax - height * result.pixelHeight;\n\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\n\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\n\n if (fileDirectory.ColorMap) {\n result.palette = (0, _geotiffPalette.getPalette)(image);\n }\n\n if (data.sourceType !== 'url') {\n return image.readRasters().then(function (rasters) {\n result.values = rasters.map(function (valuesInOneDimension) {\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\n });\n return processResult(result);\n });\n } else {\n return result;\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n }));\n }\n } catch (error) {\n reject(error);\n console.error('[georaster] error parsing georaster:', error);\n }\n });\n}\n\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?"); /***/ }), @@ -1405,7 +1538,7 @@ eval("\n\nfunction countIn1D(array) {\n return array.reduce(function (counts, v /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("module.exports=function(){return __webpack_require__(/*! !./node_modules/worker-loader/dist/workers/InlineWorker.js */ \"./node_modules/worker-loader/dist/workers/InlineWorker.js\")(\"/******/ (function(modules) { // webpackBootstrap\\n/******/ \\t// The module cache\\n/******/ \\tvar installedModules = {};\\n/******/\\n/******/ \\t// The require function\\n/******/ \\tfunction __webpack_require__(moduleId) {\\n/******/\\n/******/ \\t\\t// Check if module is in cache\\n/******/ \\t\\tif(installedModules[moduleId]) {\\n/******/ \\t\\t\\treturn installedModules[moduleId].exports;\\n/******/ \\t\\t}\\n/******/ \\t\\t// Create a new module (and put it into the cache)\\n/******/ \\t\\tvar module = installedModules[moduleId] = {\\n/******/ \\t\\t\\ti: moduleId,\\n/******/ \\t\\t\\tl: false,\\n/******/ \\t\\t\\texports: {}\\n/******/ \\t\\t};\\n/******/\\n/******/ \\t\\t// Execute the module function\\n/******/ \\t\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\n/******/\\n/******/ \\t\\t// Flag the module as loaded\\n/******/ \\t\\tmodule.l = true;\\n/******/\\n/******/ \\t\\t// Return the exports of the module\\n/******/ \\t\\treturn module.exports;\\n/******/ \\t}\\n/******/\\n/******/\\n/******/ \\t// expose the modules object (__webpack_modules__)\\n/******/ \\t__webpack_require__.m = modules;\\n/******/\\n/******/ \\t// expose the module cache\\n/******/ \\t__webpack_require__.c = installedModules;\\n/******/\\n/******/ \\t// define getter function for harmony exports\\n/******/ \\t__webpack_require__.d = function(exports, name, getter) {\\n/******/ \\t\\tif(!__webpack_require__.o(exports, name)) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\n/******/ \\t\\t}\\n/******/ \\t};\\n/******/\\n/******/ \\t// define __esModule on exports\\n/******/ \\t__webpack_require__.r = function(exports) {\\n/******/ \\t\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\n/******/ \\t\\t}\\n/******/ \\t\\tObject.defineProperty(exports, '__esModule', { value: true });\\n/******/ \\t};\\n/******/\\n/******/ \\t// create a fake namespace object\\n/******/ \\t// mode & 1: value is a module id, require it\\n/******/ \\t// mode & 2: merge all properties of value into the ns\\n/******/ \\t// mode & 4: return value when already ns object\\n/******/ \\t// mode & 8|1: behave like require\\n/******/ \\t__webpack_require__.t = function(value, mode) {\\n/******/ \\t\\tif(mode & 1) value = __webpack_require__(value);\\n/******/ \\t\\tif(mode & 8) return value;\\n/******/ \\t\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\n/******/ \\t\\tvar ns = Object.create(null);\\n/******/ \\t\\t__webpack_require__.r(ns);\\n/******/ \\t\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\n/******/ \\t\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\n/******/ \\t\\treturn ns;\\n/******/ \\t};\\n/******/\\n/******/ \\t// getDefaultExport function for compatibility with non-harmony modules\\n/******/ \\t__webpack_require__.n = function(module) {\\n/******/ \\t\\tvar getter = module && module.__esModule ?\\n/******/ \\t\\t\\tfunction getDefault() { return module['default']; } :\\n/******/ \\t\\t\\tfunction getModuleExports() { return module; };\\n/******/ \\t\\t__webpack_require__.d(getter, 'a', getter);\\n/******/ \\t\\treturn getter;\\n/******/ \\t};\\n/******/\\n/******/ \\t// Object.prototype.hasOwnProperty.call\\n/******/ \\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\n/******/\\n/******/ \\t// __webpack_public_path__\\n/******/ \\t__webpack_require__.p = \\\"\\\";\\n/******/\\n/******/\\n/******/ \\t// Load entry module and return exports\\n/******/ \\treturn __webpack_require__(__webpack_require__.s = \\\"./src/worker.js\\\");\\n/******/ })\\n/************************************************************************/\\n/******/ ({\\n\\n/***/ \\\"./node_modules/callsites/index.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/callsites/index.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nconst callsites = () => {\\\\n\\\\tconst _prepareStackTrace = Error.prepareStackTrace;\\\\n\\\\tError.prepareStackTrace = (_, stack) => stack;\\\\n\\\\tconst stack = new Error().stack.slice(1);\\\\n\\\\tError.prepareStackTrace = _prepareStackTrace;\\\\n\\\\treturn stack;\\\\n};\\\\n\\\\nmodule.exports = callsites;\\\\n// TODO: Remove this for the next major release\\\\nmodule.exports.default = callsites;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/callsites/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/core-util-is/lib/util.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/core-util-is/lib/util.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// NOTE: These type checking functions intentionally don't use `instanceof`\\\\n// because it is fragile and can be easily faked with `Object.create()`.\\\\n\\\\nfunction isArray(arg) {\\\\n if (Array.isArray) {\\\\n return Array.isArray(arg);\\\\n }\\\\n return objectToString(arg) === '[object Array]';\\\\n}\\\\nexports.isArray = isArray;\\\\n\\\\nfunction isBoolean(arg) {\\\\n return typeof arg === 'boolean';\\\\n}\\\\nexports.isBoolean = isBoolean;\\\\n\\\\nfunction isNull(arg) {\\\\n return arg === null;\\\\n}\\\\nexports.isNull = isNull;\\\\n\\\\nfunction isNullOrUndefined(arg) {\\\\n return arg == null;\\\\n}\\\\nexports.isNullOrUndefined = isNullOrUndefined;\\\\n\\\\nfunction isNumber(arg) {\\\\n return typeof arg === 'number';\\\\n}\\\\nexports.isNumber = isNumber;\\\\n\\\\nfunction isString(arg) {\\\\n return typeof arg === 'string';\\\\n}\\\\nexports.isString = isString;\\\\n\\\\nfunction isSymbol(arg) {\\\\n return typeof arg === 'symbol';\\\\n}\\\\nexports.isSymbol = isSymbol;\\\\n\\\\nfunction isUndefined(arg) {\\\\n return arg === void 0;\\\\n}\\\\nexports.isUndefined = isUndefined;\\\\n\\\\nfunction isRegExp(re) {\\\\n return objectToString(re) === '[object RegExp]';\\\\n}\\\\nexports.isRegExp = isRegExp;\\\\n\\\\nfunction isObject(arg) {\\\\n return typeof arg === 'object' && arg !== null;\\\\n}\\\\nexports.isObject = isObject;\\\\n\\\\nfunction isDate(d) {\\\\n return objectToString(d) === '[object Date]';\\\\n}\\\\nexports.isDate = isDate;\\\\n\\\\nfunction isError(e) {\\\\n return (objectToString(e) === '[object Error]' || e instanceof Error);\\\\n}\\\\nexports.isError = isError;\\\\n\\\\nfunction isFunction(arg) {\\\\n return typeof arg === 'function';\\\\n}\\\\nexports.isFunction = isFunction;\\\\n\\\\nfunction isPrimitive(arg) {\\\\n return arg === null ||\\\\n typeof arg === 'boolean' ||\\\\n typeof arg === 'number' ||\\\\n typeof arg === 'string' ||\\\\n typeof arg === 'symbol' || // ES6 symbol\\\\n typeof arg === 'undefined';\\\\n}\\\\nexports.isPrimitive = isPrimitive;\\\\n\\\\nexports.isBuffer = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\").Buffer.isBuffer;\\\\n\\\\nfunction objectToString(o) {\\\\n return Object.prototype.toString.call(o);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/core-util-is/lib/util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff-palette/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff-palette/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"const getPalette = (image, { debug = false } = { debug: false }) => {\\\\n if (debug) console.log(\\\\\\\"starting getPalette with image\\\\\\\", image);\\\\n const { fileDirectory } = image;\\\\n const {\\\\n BitsPerSample,\\\\n ColorMap,\\\\n ImageLength,\\\\n ImageWidth,\\\\n PhotometricInterpretation,\\\\n SampleFormat,\\\\n SamplesPerPixel\\\\n } = fileDirectory;\\\\n\\\\n if (!ColorMap) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: the image does not contain a color map, so we can't make a palette.\\\\\\\");\\\\n }\\\\n\\\\n const count = Math.pow(2, BitsPerSample);\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: count:\\\\\\\", count);\\\\n\\\\n const bandSize = ColorMap.length / 3;\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: bandSize:\\\\\\\", bandSize);\\\\n\\\\n if (bandSize !== count) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster\\\\\\\");\\\\n }\\\\n\\\\n const greenOffset = bandSize;\\\\n const redOffset = greenOffset + bandSize;\\\\n\\\\n const result = [];\\\\n for (let i = 0; i < count; i++) {\\\\n // colorMap[mapIndex] / 65536 * 256 equals colorMap[mapIndex] / 256\\\\n // because (1 / 2^16) * (2^8) equals 1 / 2^8\\\\n result.push([\\\\n Math.floor(ColorMap[i] / 256), // red\\\\n Math.floor(ColorMap[greenOffset + i] / 256), // green\\\\n Math.floor(ColorMap[redOffset + i] / 256), // blue\\\\n 255 // alpha value is always 255\\\\n ]);\\\\n }\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: result is \\\\\\\", result);\\\\n return result;\\\\n}\\\\n\\\\nmodule.exports = { getPalette };\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff-palette/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/basedecoder.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/basedecoder.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return BaseDecoder; });\\\\n/* harmony import */ var _predictor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../predictor */ \\\\\\\"./node_modules/geotiff/src/predictor.js\\\\\\\");\\\\n\\\\n\\\\nclass BaseDecoder {\\\\n decode(fileDirectory, buffer) {\\\\n const decoded = this.decodeBlock(buffer);\\\\n const predictor = fileDirectory.Predictor || 1;\\\\n if (predictor !== 1) {\\\\n const isTiled = !fileDirectory.StripOffsets;\\\\n const tileWidth = isTiled ? fileDirectory.TileWidth : fileDirectory.ImageWidth;\\\\n const tileHeight = isTiled ? fileDirectory.TileLength : (\\\\n fileDirectory.RowsPerStrip || fileDirectory.ImageLength\\\\n );\\\\n return Object(_predictor__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"applyPredictor\\\\\\\"])(\\\\n decoded, predictor, tileWidth, tileHeight, fileDirectory.BitsPerSample,\\\\n fileDirectory.PlanarConfiguration,\\\\n );\\\\n }\\\\n return decoded;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/basedecoder.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/deflate.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/deflate.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DeflateDecoder; });\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pako/lib/inflate */ \\\\\\\"./node_modules/pako/lib/inflate.js\\\\\\\");\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass DeflateDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return Object(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"inflate\\\\\\\"])(new Uint8Array(buffer)).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/deflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: getDecoder */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return getDecoder; });\\\\n/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ \\\\\\\"./node_modules/geotiff/src/compression/raw.js\\\\\\\");\\\\n/* harmony import */ var _lzw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lzw */ \\\\\\\"./node_modules/geotiff/src/compression/lzw.js\\\\\\\");\\\\n/* harmony import */ var _jpeg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jpeg */ \\\\\\\"./node_modules/geotiff/src/compression/jpeg.js\\\\\\\");\\\\n/* harmony import */ var _deflate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./deflate */ \\\\\\\"./node_modules/geotiff/src/compression/deflate.js\\\\\\\");\\\\n/* harmony import */ var _packbits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./packbits */ \\\\\\\"./node_modules/geotiff/src/compression/packbits.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getDecoder(fileDirectory) {\\\\n switch (fileDirectory.Compression) {\\\\n case undefined:\\\\n case 1: // no compression\\\\n return new _raw__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]();\\\\n case 5: // LZW\\\\n return new _lzw__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n case 6: // JPEG\\\\n throw new Error('old style JPEG compression is not supported.');\\\\n case 7: // JPEG\\\\n return new _jpeg__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](fileDirectory);\\\\n case 8: // Deflate as recognized by Adobe\\\\n case 32946: // Deflate GDAL default\\\\n return new _deflate__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]();\\\\n case 32773: // packbits\\\\n return new _packbits__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]();\\\\n default:\\\\n throw new Error(`Unknown compression method identifier: ${fileDirectory.Compression}`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/jpeg.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/jpeg.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return JpegDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n/* -*- tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /\\\\n/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */\\\\n/*\\\\n Copyright 2011 notmasteryet\\\\n Licensed under the Apache License, Version 2.0 (the \\\\\\\"License\\\\\\\");\\\\n you may not use this file except in compliance with the License.\\\\n You may obtain a copy of the License at\\\\n http://www.apache.org/licenses/LICENSE-2.0\\\\n Unless required by applicable law or agreed to in writing, software\\\\n distributed under the License is distributed on an \\\\\\\"AS IS\\\\\\\" BASIS,\\\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\\\n See the License for the specific language governing permissions and\\\\n limitations under the License.\\\\n*/\\\\n\\\\n// - The JPEG specification can be found in the ITU CCITT Recommendation T.81\\\\n// (www.w3.org/Graphics/JPEG/itu-t81.pdf)\\\\n// - The JFIF specification can be found in the JPEG File Interchange Format\\\\n// (www.w3.org/Graphics/JPEG/jfif3.pdf)\\\\n// - The Adobe Application-Specific JPEG markers in the Supporting the DCT Filters\\\\n// in PostScript Level 2, Technical Note #5116\\\\n// (partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf)\\\\n\\\\n\\\\nconst dctZigZag = new Int32Array([\\\\n 0,\\\\n 1, 8,\\\\n 16, 9, 2,\\\\n 3, 10, 17, 24,\\\\n 32, 25, 18, 11, 4,\\\\n 5, 12, 19, 26, 33, 40,\\\\n 48, 41, 34, 27, 20, 13, 6,\\\\n 7, 14, 21, 28, 35, 42, 49, 56,\\\\n 57, 50, 43, 36, 29, 22, 15,\\\\n 23, 30, 37, 44, 51, 58,\\\\n 59, 52, 45, 38, 31,\\\\n 39, 46, 53, 60,\\\\n 61, 54, 47,\\\\n 55, 62,\\\\n 63,\\\\n]);\\\\n\\\\nconst dctCos1 = 4017; // cos(pi/16)\\\\nconst dctSin1 = 799; // sin(pi/16)\\\\nconst dctCos3 = 3406; // cos(3*pi/16)\\\\nconst dctSin3 = 2276; // sin(3*pi/16)\\\\nconst dctCos6 = 1567; // cos(6*pi/16)\\\\nconst dctSin6 = 3784; // sin(6*pi/16)\\\\nconst dctSqrt2 = 5793; // sqrt(2)\\\\nconst dctSqrt1d2 = 2896;// sqrt(2) / 2\\\\n\\\\nfunction buildHuffmanTable(codeLengths, values) {\\\\n let k = 0;\\\\n const code = [];\\\\n let length = 16;\\\\n while (length > 0 && !codeLengths[length - 1]) {\\\\n --length;\\\\n }\\\\n code.push({ children: [], index: 0 });\\\\n\\\\n let p = code[0];\\\\n let q;\\\\n for (let i = 0; i < length; i++) {\\\\n for (let j = 0; j < codeLengths[i]; j++) {\\\\n p = code.pop();\\\\n p.children[p.index] = values[k];\\\\n while (p.index > 0) {\\\\n p = code.pop();\\\\n }\\\\n p.index++;\\\\n code.push(p);\\\\n while (code.length <= i) {\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n k++;\\\\n }\\\\n if (i + 1 < length) {\\\\n // p here points to last code\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n }\\\\n return code[0].children;\\\\n}\\\\n\\\\nfunction decodeScan(data, initialOffset,\\\\n frame, components, resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successivePrev, successive) {\\\\n const { mcusPerLine, progressive } = frame;\\\\n\\\\n const startOffset = initialOffset;\\\\n let offset = initialOffset;\\\\n let bitsData = 0;\\\\n let bitsCount = 0;\\\\n function readBit() {\\\\n if (bitsCount > 0) {\\\\n bitsCount--;\\\\n return (bitsData >> bitsCount) & 1;\\\\n }\\\\n bitsData = data[offset++];\\\\n if (bitsData === 0xFF) {\\\\n const nextByte = data[offset++];\\\\n if (nextByte) {\\\\n throw new Error(`unexpected marker: ${((bitsData << 8) | nextByte).toString(16)}`);\\\\n }\\\\n // unstuff 0\\\\n }\\\\n bitsCount = 7;\\\\n return bitsData >>> 7;\\\\n }\\\\n function decodeHuffman(tree) {\\\\n let node = tree;\\\\n let bit;\\\\n while ((bit = readBit()) !== null) { // eslint-disable-line no-cond-assign\\\\n node = node[bit];\\\\n if (typeof node === 'number') {\\\\n return node;\\\\n }\\\\n if (typeof node !== 'object') {\\\\n throw new Error('invalid huffman sequence');\\\\n }\\\\n }\\\\n return null;\\\\n }\\\\n function receive(initialLength) {\\\\n let length = initialLength;\\\\n let n = 0;\\\\n while (length > 0) {\\\\n const bit = readBit();\\\\n if (bit === null) {\\\\n return undefined;\\\\n }\\\\n n = (n << 1) | bit;\\\\n --length;\\\\n }\\\\n return n;\\\\n }\\\\n function receiveAndExtend(length) {\\\\n const n = receive(length);\\\\n if (n >= 1 << (length - 1)) {\\\\n return n;\\\\n }\\\\n return n + (-1 << length) + 1;\\\\n }\\\\n function decodeBaseline(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : receiveAndExtend(t);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n let k = 1;\\\\n while (k < 64) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n function decodeDCFirst(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : (receiveAndExtend(t) << successive);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n }\\\\n function decodeDCSuccessive(component, zz) {\\\\n zz[0] |= readBit() << successive;\\\\n }\\\\n let eobrun = 0;\\\\n function decodeACFirst(component, zz) {\\\\n if (eobrun > 0) {\\\\n eobrun--;\\\\n return;\\\\n }\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n while (k <= e) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r) - 1;\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s) * (1 << successive);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n let successiveACState = 0;\\\\n let successiveACNextValue;\\\\n function decodeACSuccessive(component, zz) {\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n let r = 0;\\\\n while (k <= e) {\\\\n const z = dctZigZag[k];\\\\n const direction = zz[z] < 0 ? -1 : 1;\\\\n switch (successiveACState) {\\\\n case 0: { // initial state\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r);\\\\n successiveACState = 4;\\\\n } else {\\\\n r = 16;\\\\n successiveACState = 1;\\\\n }\\\\n } else {\\\\n if (s !== 1) {\\\\n throw new Error('invalid ACn encoding');\\\\n }\\\\n successiveACNextValue = receiveAndExtend(s);\\\\n successiveACState = r ? 2 : 3;\\\\n }\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n case 1: // skipping r zero items\\\\n case 2:\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n r--;\\\\n if (r === 0) {\\\\n successiveACState = successiveACState === 2 ? 3 : 0;\\\\n }\\\\n }\\\\n break;\\\\n case 3: // set value for a zero item\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n zz[z] = successiveACNextValue << successive;\\\\n successiveACState = 0;\\\\n }\\\\n break;\\\\n case 4: // eob\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n k++;\\\\n }\\\\n if (successiveACState === 4) {\\\\n eobrun--;\\\\n if (eobrun === 0) {\\\\n successiveACState = 0;\\\\n }\\\\n }\\\\n }\\\\n function decodeMcu(component, decodeFunction, mcu, row, col) {\\\\n const mcuRow = (mcu / mcusPerLine) | 0;\\\\n const mcuCol = mcu % mcusPerLine;\\\\n const blockRow = (mcuRow * component.v) + row;\\\\n const blockCol = (mcuCol * component.h) + col;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n function decodeBlock(component, decodeFunction, mcu) {\\\\n const blockRow = (mcu / component.blocksPerLine) | 0;\\\\n const blockCol = mcu % component.blocksPerLine;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n\\\\n const componentsLength = components.length;\\\\n let component;\\\\n let i;\\\\n let j;\\\\n let k;\\\\n let n;\\\\n let decodeFn;\\\\n if (progressive) {\\\\n if (spectralStart === 0) {\\\\n decodeFn = successivePrev === 0 ? decodeDCFirst : decodeDCSuccessive;\\\\n } else {\\\\n decodeFn = successivePrev === 0 ? decodeACFirst : decodeACSuccessive;\\\\n }\\\\n } else {\\\\n decodeFn = decodeBaseline;\\\\n }\\\\n\\\\n let mcu = 0;\\\\n let marker;\\\\n let mcuExpected;\\\\n if (componentsLength === 1) {\\\\n mcuExpected = components[0].blocksPerLine * components[0].blocksPerColumn;\\\\n } else {\\\\n mcuExpected = mcusPerLine * frame.mcusPerColumn;\\\\n }\\\\n\\\\n const usedResetInterval = resetInterval || mcuExpected;\\\\n\\\\n while (mcu < mcuExpected) {\\\\n // reset interval stuff\\\\n for (i = 0; i < componentsLength; i++) {\\\\n components[i].pred = 0;\\\\n }\\\\n eobrun = 0;\\\\n\\\\n if (componentsLength === 1) {\\\\n component = components[0];\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n decodeBlock(component, decodeFn, mcu);\\\\n mcu++;\\\\n }\\\\n } else {\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n for (i = 0; i < componentsLength; i++) {\\\\n component = components[i];\\\\n const { h, v } = component;\\\\n for (j = 0; j < v; j++) {\\\\n for (k = 0; k < h; k++) {\\\\n decodeMcu(component, decodeFn, mcu, j, k);\\\\n }\\\\n }\\\\n }\\\\n mcu++;\\\\n\\\\n // If we've reached our expected MCU's, stop decoding\\\\n if (mcu === mcuExpected) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n // find marker\\\\n bitsCount = 0;\\\\n marker = (data[offset] << 8) | data[offset + 1];\\\\n if (marker < 0xFF00) {\\\\n throw new Error('marker was not found');\\\\n }\\\\n\\\\n if (marker >= 0xFFD0 && marker <= 0xFFD7) { // RSTx\\\\n offset += 2;\\\\n } else {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n return offset - startOffset;\\\\n}\\\\n\\\\nfunction buildComponentData(frame, component) {\\\\n const lines = [];\\\\n const { blocksPerLine, blocksPerColumn } = component;\\\\n const samplesPerLine = blocksPerLine << 3;\\\\n const R = new Int32Array(64);\\\\n const r = new Uint8Array(64);\\\\n\\\\n // A port of poppler's IDCT method which in turn is taken from:\\\\n // Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz,\\\\n // \\\\\\\"Practical Fast 1-D DCT Algorithms with 11 Multiplications\\\\\\\",\\\\n // IEEE Intl. Conf. on Acoustics, Speech & Signal Processing, 1989,\\\\n // 988-991.\\\\n function quantizeAndInverse(zz, dataOut, dataIn) {\\\\n const qt = component.quantizationTable;\\\\n let v0;\\\\n let v1;\\\\n let v2;\\\\n let v3;\\\\n let v4;\\\\n let v5;\\\\n let v6;\\\\n let v7;\\\\n let t;\\\\n const p = dataIn;\\\\n let i;\\\\n\\\\n // dequant\\\\n for (i = 0; i < 64; i++) {\\\\n p[i] = zz[i] * qt[i];\\\\n }\\\\n\\\\n // inverse DCT on rows\\\\n for (i = 0; i < 8; ++i) {\\\\n const row = 8 * i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[1 + row] === 0 && p[2 + row] === 0 && p[3 + row] === 0\\\\n && p[4 + row] === 0 && p[5 + row] === 0 && p[6 + row] === 0\\\\n && p[7 + row] === 0) {\\\\n t = ((dctSqrt2 * p[0 + row]) + 512) >> 10;\\\\n p[0 + row] = t;\\\\n p[1 + row] = t;\\\\n p[2 + row] = t;\\\\n p[3 + row] = t;\\\\n p[4 + row] = t;\\\\n p[5 + row] = t;\\\\n p[6 + row] = t;\\\\n p[7 + row] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[0 + row]) + 128) >> 8;\\\\n v1 = ((dctSqrt2 * p[4 + row]) + 128) >> 8;\\\\n v2 = p[2 + row];\\\\n v3 = p[6 + row];\\\\n v4 = ((dctSqrt1d2 * (p[1 + row] - p[7 + row])) + 128) >> 8;\\\\n v7 = ((dctSqrt1d2 * (p[1 + row] + p[7 + row])) + 128) >> 8;\\\\n v5 = p[3 + row] << 4;\\\\n v6 = p[5 + row] << 4;\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 128) >> 8;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 128) >> 8;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[0 + row] = v0 + v7;\\\\n p[7 + row] = v0 - v7;\\\\n p[1 + row] = v1 + v6;\\\\n p[6 + row] = v1 - v6;\\\\n p[2 + row] = v2 + v5;\\\\n p[5 + row] = v2 - v5;\\\\n p[3 + row] = v3 + v4;\\\\n p[4 + row] = v3 - v4;\\\\n }\\\\n\\\\n // inverse DCT on columns\\\\n for (i = 0; i < 8; ++i) {\\\\n const col = i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[(1 * 8) + col] === 0 && p[(2 * 8) + col] === 0 && p[(3 * 8) + col] === 0\\\\n && p[(4 * 8) + col] === 0 && p[(5 * 8) + col] === 0 && p[(6 * 8) + col] === 0\\\\n && p[(7 * 8) + col] === 0) {\\\\n t = ((dctSqrt2 * dataIn[i + 0]) + 8192) >> 14;\\\\n p[(0 * 8) + col] = t;\\\\n p[(1 * 8) + col] = t;\\\\n p[(2 * 8) + col] = t;\\\\n p[(3 * 8) + col] = t;\\\\n p[(4 * 8) + col] = t;\\\\n p[(5 * 8) + col] = t;\\\\n p[(6 * 8) + col] = t;\\\\n p[(7 * 8) + col] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[(0 * 8) + col]) + 2048) >> 12;\\\\n v1 = ((dctSqrt2 * p[(4 * 8) + col]) + 2048) >> 12;\\\\n v2 = p[(2 * 8) + col];\\\\n v3 = p[(6 * 8) + col];\\\\n v4 = ((dctSqrt1d2 * (p[(1 * 8) + col] - p[(7 * 8) + col])) + 2048) >> 12;\\\\n v7 = ((dctSqrt1d2 * (p[(1 * 8) + col] + p[(7 * 8) + col])) + 2048) >> 12;\\\\n v5 = p[(3 * 8) + col];\\\\n v6 = p[(5 * 8) + col];\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 2048) >> 12;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 2048) >> 12;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[(0 * 8) + col] = v0 + v7;\\\\n p[(7 * 8) + col] = v0 - v7;\\\\n p[(1 * 8) + col] = v1 + v6;\\\\n p[(6 * 8) + col] = v1 - v6;\\\\n p[(2 * 8) + col] = v2 + v5;\\\\n p[(5 * 8) + col] = v2 - v5;\\\\n p[(3 * 8) + col] = v3 + v4;\\\\n p[(4 * 8) + col] = v3 - v4;\\\\n }\\\\n\\\\n // convert to 8-bit integers\\\\n for (i = 0; i < 64; ++i) {\\\\n const sample = 128 + ((p[i] + 8) >> 4);\\\\n if (sample < 0) {\\\\n dataOut[i] = 0;\\\\n } else if (sample > 0XFF) {\\\\n dataOut[i] = 0xFF;\\\\n } else {\\\\n dataOut[i] = sample;\\\\n }\\\\n }\\\\n }\\\\n\\\\n for (let blockRow = 0; blockRow < blocksPerColumn; blockRow++) {\\\\n const scanLine = blockRow << 3;\\\\n for (let i = 0; i < 8; i++) {\\\\n lines.push(new Uint8Array(samplesPerLine));\\\\n }\\\\n for (let blockCol = 0; blockCol < blocksPerLine; blockCol++) {\\\\n quantizeAndInverse(component.blocks[blockRow][blockCol], r, R);\\\\n\\\\n let offset = 0;\\\\n const sample = blockCol << 3;\\\\n for (let j = 0; j < 8; j++) {\\\\n const line = lines[scanLine + j];\\\\n for (let i = 0; i < 8; i++) {\\\\n line[sample + i] = r[offset++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return lines;\\\\n}\\\\n\\\\nclass JpegStreamReader {\\\\n constructor() {\\\\n this.jfif = null;\\\\n this.adobe = null;\\\\n\\\\n this.quantizationTables = [];\\\\n this.huffmanTablesAC = [];\\\\n this.huffmanTablesDC = [];\\\\n this.resetFrames();\\\\n }\\\\n\\\\n resetFrames() {\\\\n this.frames = [];\\\\n }\\\\n\\\\n parse(data) {\\\\n let offset = 0;\\\\n // const { length } = data;\\\\n function readUint16() {\\\\n const value = (data[offset] << 8) | data[offset + 1];\\\\n offset += 2;\\\\n return value;\\\\n }\\\\n function readDataBlock() {\\\\n const length = readUint16();\\\\n const array = data.subarray(offset, offset + length - 2);\\\\n offset += array.length;\\\\n return array;\\\\n }\\\\n function prepareComponents(frame) {\\\\n let maxH = 0;\\\\n let maxV = 0;\\\\n let component;\\\\n let componentId;\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n if (maxH < component.h) {\\\\n maxH = component.h;\\\\n }\\\\n if (maxV < component.v) {\\\\n maxV = component.v;\\\\n }\\\\n }\\\\n }\\\\n const mcusPerLine = Math.ceil(frame.samplesPerLine / 8 / maxH);\\\\n const mcusPerColumn = Math.ceil(frame.scanLines / 8 / maxV);\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n const blocksPerLine = Math.ceil(Math.ceil(frame.samplesPerLine / 8) * component.h / maxH);\\\\n const blocksPerColumn = Math.ceil(Math.ceil(frame.scanLines / 8) * component.v / maxV);\\\\n const blocksPerLineForMcu = mcusPerLine * component.h;\\\\n const blocksPerColumnForMcu = mcusPerColumn * component.v;\\\\n const blocks = [];\\\\n for (let i = 0; i < blocksPerColumnForMcu; i++) {\\\\n const row = [];\\\\n for (let j = 0; j < blocksPerLineForMcu; j++) {\\\\n row.push(new Int32Array(64));\\\\n }\\\\n blocks.push(row);\\\\n }\\\\n component.blocksPerLine = blocksPerLine;\\\\n component.blocksPerColumn = blocksPerColumn;\\\\n component.blocks = blocks;\\\\n }\\\\n }\\\\n frame.maxH = maxH;\\\\n frame.maxV = maxV;\\\\n frame.mcusPerLine = mcusPerLine;\\\\n frame.mcusPerColumn = mcusPerColumn;\\\\n }\\\\n\\\\n let fileMarker = readUint16();\\\\n if (fileMarker !== 0xFFD8) { // SOI (Start of Image)\\\\n throw new Error('SOI not found');\\\\n }\\\\n\\\\n fileMarker = readUint16();\\\\n while (fileMarker !== 0xFFD9) { // EOI (End of image)\\\\n switch (fileMarker) {\\\\n case 0xFF00: break;\\\\n case 0xFFE0: // APP0 (Application Specific)\\\\n case 0xFFE1: // APP1\\\\n case 0xFFE2: // APP2\\\\n case 0xFFE3: // APP3\\\\n case 0xFFE4: // APP4\\\\n case 0xFFE5: // APP5\\\\n case 0xFFE6: // APP6\\\\n case 0xFFE7: // APP7\\\\n case 0xFFE8: // APP8\\\\n case 0xFFE9: // APP9\\\\n case 0xFFEA: // APP10\\\\n case 0xFFEB: // APP11\\\\n case 0xFFEC: // APP12\\\\n case 0xFFED: // APP13\\\\n case 0xFFEE: // APP14\\\\n case 0xFFEF: // APP15\\\\n case 0xFFFE: { // COM (Comment)\\\\n const appData = readDataBlock();\\\\n\\\\n if (fileMarker === 0xFFE0) {\\\\n if (appData[0] === 0x4A && appData[1] === 0x46 && appData[2] === 0x49\\\\n && appData[3] === 0x46 && appData[4] === 0) { // 'JFIF\\\\\\\\x00'\\\\n this.jfif = {\\\\n version: { major: appData[5], minor: appData[6] },\\\\n densityUnits: appData[7],\\\\n xDensity: (appData[8] << 8) | appData[9],\\\\n yDensity: (appData[10] << 8) | appData[11],\\\\n thumbWidth: appData[12],\\\\n thumbHeight: appData[13],\\\\n thumbData: appData.subarray(14, 14 + (3 * appData[12] * appData[13])),\\\\n };\\\\n }\\\\n }\\\\n // TODO APP1 - Exif\\\\n if (fileMarker === 0xFFEE) {\\\\n if (appData[0] === 0x41 && appData[1] === 0x64 && appData[2] === 0x6F\\\\n && appData[3] === 0x62 && appData[4] === 0x65 && appData[5] === 0) { // 'Adobe\\\\\\\\x00'\\\\n this.adobe = {\\\\n version: appData[6],\\\\n flags0: (appData[7] << 8) | appData[8],\\\\n flags1: (appData[9] << 8) | appData[10],\\\\n transformCode: appData[11],\\\\n };\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDB: { // DQT (Define Quantization Tables)\\\\n const quantizationTablesLength = readUint16();\\\\n const quantizationTablesEnd = quantizationTablesLength + offset - 2;\\\\n while (offset < quantizationTablesEnd) {\\\\n const quantizationTableSpec = data[offset++];\\\\n const tableData = new Int32Array(64);\\\\n if ((quantizationTableSpec >> 4) === 0) { // 8 bit values\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = data[offset++];\\\\n }\\\\n } else if ((quantizationTableSpec >> 4) === 1) { // 16 bit\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = readUint16();\\\\n }\\\\n } else {\\\\n throw new Error('DQT: invalid table spec');\\\\n }\\\\n this.quantizationTables[quantizationTableSpec & 15] = tableData;\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC0: // SOF0 (Start of Frame, Baseline DCT)\\\\n case 0xFFC1: // SOF1 (Start of Frame, Extended DCT)\\\\n case 0xFFC2: { // SOF2 (Start of Frame, Progressive DCT)\\\\n readUint16(); // skip data length\\\\n const frame = {\\\\n extended: (fileMarker === 0xFFC1),\\\\n progressive: (fileMarker === 0xFFC2),\\\\n precision: data[offset++],\\\\n scanLines: readUint16(),\\\\n samplesPerLine: readUint16(),\\\\n components: {},\\\\n componentsOrder: [],\\\\n };\\\\n\\\\n const componentsCount = data[offset++];\\\\n let componentId;\\\\n // let maxH = 0;\\\\n // let maxV = 0;\\\\n for (let i = 0; i < componentsCount; i++) {\\\\n componentId = data[offset];\\\\n const h = data[offset + 1] >> 4;\\\\n const v = data[offset + 1] & 15;\\\\n const qId = data[offset + 2];\\\\n frame.componentsOrder.push(componentId);\\\\n frame.components[componentId] = {\\\\n h,\\\\n v,\\\\n quantizationIdx: qId,\\\\n };\\\\n offset += 3;\\\\n }\\\\n prepareComponents(frame);\\\\n this.frames.push(frame);\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC4: { // DHT (Define Huffman Tables)\\\\n const huffmanLength = readUint16();\\\\n for (let i = 2; i < huffmanLength;) {\\\\n const huffmanTableSpec = data[offset++];\\\\n const codeLengths = new Uint8Array(16);\\\\n let codeLengthSum = 0;\\\\n for (let j = 0; j < 16; j++, offset++) {\\\\n codeLengths[j] = data[offset];\\\\n codeLengthSum += codeLengths[j];\\\\n }\\\\n const huffmanValues = new Uint8Array(codeLengthSum);\\\\n for (let j = 0; j < codeLengthSum; j++, offset++) {\\\\n huffmanValues[j] = data[offset];\\\\n }\\\\n i += 17 + codeLengthSum;\\\\n\\\\n if ((huffmanTableSpec >> 4) === 0) {\\\\n this.huffmanTablesDC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n } else {\\\\n this.huffmanTablesAC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDD: // DRI (Define Restart Interval)\\\\n readUint16(); // skip data length\\\\n this.resetInterval = readUint16();\\\\n break;\\\\n\\\\n case 0xFFDA: { // SOS (Start of Scan)\\\\n readUint16(); // skip length\\\\n const selectorsCount = data[offset++];\\\\n const components = [];\\\\n const frame = this.frames[0];\\\\n for (let i = 0; i < selectorsCount; i++) {\\\\n const component = frame.components[data[offset++]];\\\\n const tableSpec = data[offset++];\\\\n component.huffmanTableDC = this.huffmanTablesDC[tableSpec >> 4];\\\\n component.huffmanTableAC = this.huffmanTablesAC[tableSpec & 15];\\\\n components.push(component);\\\\n }\\\\n const spectralStart = data[offset++];\\\\n const spectralEnd = data[offset++];\\\\n const successiveApproximation = data[offset++];\\\\n const processed = decodeScan(data, offset,\\\\n frame, components, this.resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successiveApproximation >> 4, successiveApproximation & 15);\\\\n offset += processed;\\\\n break;\\\\n }\\\\n\\\\n case 0xFFFF: // Fill bytes\\\\n if (data[offset] !== 0xFF) { // Avoid skipping a valid marker.\\\\n offset--;\\\\n }\\\\n break;\\\\n\\\\n default:\\\\n if (data[offset - 3] === 0xFF\\\\n && data[offset - 2] >= 0xC0 && data[offset - 2] <= 0xFE) {\\\\n // could be incorrect encoding -- last 0xFF byte of the previous\\\\n // block was eaten by the encoder\\\\n offset -= 3;\\\\n break;\\\\n }\\\\n throw new Error(`unknown JPEG marker ${fileMarker.toString(16)}`);\\\\n }\\\\n fileMarker = readUint16();\\\\n }\\\\n }\\\\n\\\\n getResult() {\\\\n const { frames } = this;\\\\n if (this.frames.length === 0) {\\\\n throw new Error('no frames were decoded');\\\\n } else if (this.frames.length > 1) {\\\\n console.warn('more than one frame is not supported');\\\\n }\\\\n\\\\n // set each frame's components quantization table\\\\n for (let i = 0; i < this.frames.length; i++) {\\\\n const cp = this.frames[i].components;\\\\n for (const j of Object.keys(cp)) {\\\\n cp[j].quantizationTable = this.quantizationTables[cp[j].quantizationIdx];\\\\n delete cp[j].quantizationIdx;\\\\n }\\\\n }\\\\n\\\\n const frame = frames[0];\\\\n const { components, componentsOrder } = frame;\\\\n const outComponents = [];\\\\n const width = frame.samplesPerLine;\\\\n const height = frame.scanLines;\\\\n\\\\n for (let i = 0; i < componentsOrder.length; i++) {\\\\n const component = components[componentsOrder[i]];\\\\n outComponents.push({\\\\n lines: buildComponentData(frame, component),\\\\n scaleX: component.h / frame.maxH,\\\\n scaleY: component.v / frame.maxV,\\\\n });\\\\n }\\\\n\\\\n const out = new Uint8Array(width * height * outComponents.length);\\\\n let oi = 0;\\\\n for (let y = 0; y < height; ++y) {\\\\n for (let x = 0; x < width; ++x) {\\\\n for (let i = 0; i < outComponents.length; ++i) {\\\\n const component = outComponents[i];\\\\n out[oi] = component.lines[0 | y * component.scaleY][0 | x * component.scaleX];\\\\n ++oi;\\\\n }\\\\n }\\\\n }\\\\n return out;\\\\n }\\\\n}\\\\n\\\\nclass JpegDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor(fileDirectory) {\\\\n super();\\\\n this.reader = new JpegStreamReader();\\\\n if (fileDirectory.JPEGTables) {\\\\n this.reader.parse(fileDirectory.JPEGTables);\\\\n }\\\\n }\\\\n\\\\n decodeBlock(buffer) {\\\\n this.reader.resetFrames();\\\\n this.reader.parse(new Uint8Array(buffer));\\\\n return this.reader.getResult().buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/jpeg.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/lzw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/lzw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return LZWDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nconst MIN_BITS = 9;\\\\nconst CLEAR_CODE = 256; // clear code\\\\nconst EOI_CODE = 257; // end of information\\\\nconst MAX_BYTELENGTH = 12;\\\\n\\\\nfunction getByte(array, position, length) {\\\\n const d = position % 8;\\\\n const a = Math.floor(position / 8);\\\\n const de = 8 - d;\\\\n const ef = (position + length) - ((a + 1) * 8);\\\\n let fg = (8 * (a + 2)) - (position + length);\\\\n const dg = ((a + 2) * 8) - position;\\\\n fg = Math.max(0, fg);\\\\n if (a >= array.length) {\\\\n console.warn('ran off the end of the buffer before finding EOI_CODE (end on input code)');\\\\n return EOI_CODE;\\\\n }\\\\n let chunk1 = array[a] & ((2 ** (8 - d)) - 1);\\\\n chunk1 <<= (length - de);\\\\n let chunks = chunk1;\\\\n if (a + 1 < array.length) {\\\\n let chunk2 = array[a + 1] >>> fg;\\\\n chunk2 <<= Math.max(0, (length - dg));\\\\n chunks += chunk2;\\\\n }\\\\n if (ef > 8 && a + 2 < array.length) {\\\\n const hi = ((a + 3) * 8) - (position + length);\\\\n const chunk3 = array[a + 2] >>> hi;\\\\n chunks += chunk3;\\\\n }\\\\n return chunks;\\\\n}\\\\n\\\\nfunction appendReversed(dest, source) {\\\\n for (let i = source.length - 1; i >= 0; i--) {\\\\n dest.push(source[i]);\\\\n }\\\\n return dest;\\\\n}\\\\n\\\\nfunction decompress(input) {\\\\n const dictionaryIndex = new Uint16Array(4093);\\\\n const dictionaryChar = new Uint8Array(4093);\\\\n for (let i = 0; i <= 257; i++) {\\\\n dictionaryIndex[i] = 4096;\\\\n dictionaryChar[i] = i;\\\\n }\\\\n let dictionaryLength = 258;\\\\n let byteLength = MIN_BITS;\\\\n let position = 0;\\\\n\\\\n function initDictionary() {\\\\n dictionaryLength = 258;\\\\n byteLength = MIN_BITS;\\\\n }\\\\n function getNext(array) {\\\\n const byte = getByte(array, position, byteLength);\\\\n position += byteLength;\\\\n return byte;\\\\n }\\\\n function addToDictionary(i, c) {\\\\n dictionaryChar[dictionaryLength] = c;\\\\n dictionaryIndex[dictionaryLength] = i;\\\\n dictionaryLength++;\\\\n return dictionaryLength - 1;\\\\n }\\\\n function getDictionaryReversed(n) {\\\\n const rev = [];\\\\n for (let i = n; i !== 4096; i = dictionaryIndex[i]) {\\\\n rev.push(dictionaryChar[i]);\\\\n }\\\\n return rev;\\\\n }\\\\n\\\\n const result = [];\\\\n initDictionary();\\\\n const array = new Uint8Array(input);\\\\n let code = getNext(array);\\\\n let oldCode;\\\\n while (code !== EOI_CODE) {\\\\n if (code === CLEAR_CODE) {\\\\n initDictionary();\\\\n code = getNext(array);\\\\n while (code === CLEAR_CODE) {\\\\n code = getNext(array);\\\\n }\\\\n\\\\n if (code === EOI_CODE) {\\\\n break;\\\\n } else if (code > CLEAR_CODE) {\\\\n throw new Error(`corrupted code at scanline ${code}`);\\\\n } else {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n oldCode = code;\\\\n }\\\\n } else if (code < dictionaryLength) {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n addToDictionary(oldCode, val[val.length - 1]);\\\\n oldCode = code;\\\\n } else {\\\\n const oldVal = getDictionaryReversed(oldCode);\\\\n if (!oldVal) {\\\\n throw new Error(`Bogus entry. Not in dictionary, ${oldCode} / ${dictionaryLength}, position: ${position}`);\\\\n }\\\\n appendReversed(result, oldVal);\\\\n result.push(oldVal[oldVal.length - 1]);\\\\n addToDictionary(oldCode, oldVal[oldVal.length - 1]);\\\\n oldCode = code;\\\\n }\\\\n\\\\n if (dictionaryLength + 1 >= (2 ** byteLength)) {\\\\n if (byteLength === MAX_BYTELENGTH) {\\\\n oldCode = undefined;\\\\n } else {\\\\n byteLength++;\\\\n }\\\\n }\\\\n code = getNext(array);\\\\n }\\\\n return new Uint8Array(result);\\\\n}\\\\n\\\\nclass LZWDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return decompress(buffer, false).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/lzw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/packbits.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/packbits.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return PackbitsDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass PackbitsDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n const dataView = new DataView(buffer);\\\\n const out = [];\\\\n\\\\n for (let i = 0; i < buffer.byteLength; ++i) {\\\\n let header = dataView.getInt8(i);\\\\n if (header < 0) {\\\\n const next = dataView.getUint8(i + 1);\\\\n header = -header;\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(next);\\\\n }\\\\n i += 1;\\\\n } else {\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(dataView.getUint8(i + j + 1));\\\\n }\\\\n i += header + 1;\\\\n }\\\\n }\\\\n return new Uint8Array(out).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/packbits.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/raw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/raw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return RawDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass RawDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/raw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataslice.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataslice.js ***!\\n \\\\***********************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataSlice; });\\\\nclass DataSlice {\\\\n constructor(arrayBuffer, sliceOffset, littleEndian, bigTiff) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n this._sliceOffset = sliceOffset;\\\\n this._littleEndian = littleEndian;\\\\n this._bigTiff = bigTiff;\\\\n }\\\\n\\\\n get sliceOffset() {\\\\n return this._sliceOffset;\\\\n }\\\\n\\\\n get sliceTop() {\\\\n return this._sliceOffset + this.buffer.byteLength;\\\\n }\\\\n\\\\n get littleEndian() {\\\\n return this._littleEndian;\\\\n }\\\\n\\\\n get bigTiff() {\\\\n return this._bigTiff;\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n covers(offset, length) {\\\\n return this.sliceOffset <= offset && this.sliceTop >= offset + length;\\\\n }\\\\n\\\\n readUint8(offset) {\\\\n return this._dataView.getUint8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt8(offset) {\\\\n return this._dataView.getInt8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint16(offset) {\\\\n return this._dataView.getUint16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt16(offset) {\\\\n return this._dataView.getInt16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint32(offset) {\\\\n return this._dataView.getUint32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt32(offset) {\\\\n return this._dataView.getInt32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat32(offset) {\\\\n return this._dataView.getFloat32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat64(offset) {\\\\n return this._dataView.getFloat64(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint64(offset) {\\\\n const left = this.readUint32(offset);\\\\n const right = this.readUint32(offset + 4);\\\\n let combined;\\\\n if (this._littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n readInt64(offset) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (this._littleEndian ? 7 : 0)) & 0x80) >\\\\n 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(\\\\n offset + (this._littleEndian ? i : 7 - i)\\\\n );\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value\\\\n }\\\\n\\\\n readOffset(offset) {\\\\n if (this._bigTiff) {\\\\n return this.readUint64(offset);\\\\n }\\\\n return this.readUint32(offset);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataslice.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataview64.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataview64.js ***!\\n \\\\************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataView64; });\\\\nclass DataView64 {\\\\n constructor(arrayBuffer) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n getUint64(offset, littleEndian) {\\\\n const left = this.getUint32(offset, littleEndian);\\\\n const right = this.getUint32(offset + 4, littleEndian);\\\\n let combined;\\\\n if (littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n getInt64(offset, littleEndian) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (littleEndian ? 7 : 0)) & 0x80) > 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(offset + (littleEndian ? i : 7 - i));\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value;\\\\n }\\\\n\\\\n getUint8(offset, littleEndian) {\\\\n return this._dataView.getUint8(offset, littleEndian);\\\\n }\\\\n\\\\n getInt8(offset, littleEndian) {\\\\n return this._dataView.getInt8(offset, littleEndian);\\\\n }\\\\n\\\\n getUint16(offset, littleEndian) {\\\\n return this._dataView.getUint16(offset, littleEndian);\\\\n }\\\\n\\\\n getInt16(offset, littleEndian) {\\\\n return this._dataView.getInt16(offset, littleEndian);\\\\n }\\\\n\\\\n getUint32(offset, littleEndian) {\\\\n return this._dataView.getUint32(offset, littleEndian);\\\\n }\\\\n\\\\n getInt32(offset, littleEndian) {\\\\n return this._dataView.getInt32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat32(offset, littleEndian) {\\\\n return this._dataView.getFloat32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat64(offset, littleEndian) {\\\\n return this._dataView.getFloat64(offset, littleEndian);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataview64.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiff.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiff.js ***!\\n \\\\*********************************************/\\n/*! exports provided: globals, rgb, getDecoder, setLogger, GeoTIFF, default, MultiGeoTIFF, fromUrl, fromArrayBuffer, fromFile, fromBlob, fromUrls, writeArrayBuffer, Pool */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"GeoTIFF\\\\\\\", function() { return GeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"MultiGeoTIFF\\\\\\\", function() { return MultiGeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrl\\\\\\\", function() { return fromUrl; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromArrayBuffer\\\\\\\", function() { return fromArrayBuffer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromFile\\\\\\\", function() { return fromFile; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlob\\\\\\\", function() { return fromBlob; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrls\\\\\\\", function() { return fromUrls; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeArrayBuffer\\\\\\\", function() { return writeArrayBuffer; });\\\\n/* harmony import */ var _geotiffimage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./geotiffimage */ \\\\\\\"./node_modules/geotiff/src/geotiffimage.js\\\\\\\");\\\\n/* harmony import */ var _dataview64__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dataview64 */ \\\\\\\"./node_modules/geotiff/src/dataview64.js\\\\\\\");\\\\n/* harmony import */ var _dataslice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dataslice */ \\\\\\\"./node_modules/geotiff/src/dataslice.js\\\\\\\");\\\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pool */ \\\\\\\"./node_modules/geotiff/src/pool.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _pool__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _source__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source */ \\\\\\\"./node_modules/geotiff/src/source.js\\\\\\\");\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _geotiffwriter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./geotiffwriter */ \\\\\\\"./node_modules/geotiff/src/geotiffwriter.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"globals\\\\\\\", function() { return _globals__WEBPACK_IMPORTED_MODULE_5__; });\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"rgb\\\\\\\", function() { return _rgb__WEBPACK_IMPORTED_MODULE_7__; });\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return _compression__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"getDecoder\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _logging__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./logging */ \\\\\\\"./node_modules/geotiff/src/logging.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return _logging__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"setLogger\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getFieldTypeLength(fieldType) {\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n return 1;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n return 2;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n return 4;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n return 8;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n}\\\\n\\\\nfunction parseGeoKeyDirectory(fileDirectory) {\\\\n const rawGeoKeyDirectory = fileDirectory.GeoKeyDirectory;\\\\n if (!rawGeoKeyDirectory) {\\\\n return null;\\\\n }\\\\n\\\\n const geoKeyDirectory = {};\\\\n for (let i = 4; i <= rawGeoKeyDirectory[3] * 4; i += 4) {\\\\n const key = _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"geoKeyNames\\\\\\\"][rawGeoKeyDirectory[i]];\\\\n const location = (rawGeoKeyDirectory[i + 1])\\\\n ? (_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][rawGeoKeyDirectory[i + 1]]) : null;\\\\n const count = rawGeoKeyDirectory[i + 2];\\\\n const offset = rawGeoKeyDirectory[i + 3];\\\\n\\\\n let value = null;\\\\n if (!location) {\\\\n value = offset;\\\\n } else {\\\\n value = fileDirectory[location];\\\\n if (typeof value === 'undefined' || value === null) {\\\\n throw new Error(`Could not get value of geoKey '${key}'.`);\\\\n } else if (typeof value === 'string') {\\\\n value = value.substring(offset, offset + count - 1);\\\\n } else if (value.subarray) {\\\\n value = value.subarray(offset, offset + count);\\\\n if (count === 1) {\\\\n value = value[0];\\\\n }\\\\n }\\\\n }\\\\n geoKeyDirectory[key] = value;\\\\n }\\\\n return geoKeyDirectory;\\\\n}\\\\n\\\\nfunction getValues(dataSlice, fieldType, count, offset) {\\\\n let values = null;\\\\n let readMethod = null;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n values = new Uint8Array(count); readMethod = dataSlice.readUint8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE:\\\\n values = new Int8Array(count); readMethod = dataSlice.readInt8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT:\\\\n values = new Uint16Array(count); readMethod = dataSlice.readUint16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n values = new Int16Array(count); readMethod = dataSlice.readInt16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n values = new Uint32Array(count); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG:\\\\n values = new Int32Array(count); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n values = new Array(count); readMethod = dataSlice.readUint64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8:\\\\n values = new Array(count); readMethod = dataSlice.readInt64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL:\\\\n values = new Uint32Array(count * 2); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL:\\\\n values = new Int32Array(count * 2); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT:\\\\n values = new Float32Array(count); readMethod = dataSlice.readFloat32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n values = new Float64Array(count); readMethod = dataSlice.readFloat64;\\\\n break;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n\\\\n // normal fields\\\\n if (!(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n for (let i = 0; i < count; ++i) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n }\\\\n } else { // RATIONAL or SRATIONAL\\\\n for (let i = 0; i < count; i += 2) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n values[i + 1] = readMethod.call(\\\\n dataSlice, offset + ((i * fieldTypeLength) + 4),\\\\n );\\\\n }\\\\n }\\\\n\\\\n if (fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII) {\\\\n return String.fromCharCode.apply(null, values);\\\\n }\\\\n return values;\\\\n}\\\\n\\\\n/**\\\\n * Data class to store the parsed file directory, geo key directory and\\\\n * offset to the next IFD\\\\n */\\\\nclass ImageFileDirectory {\\\\n constructor(fileDirectory, geoKeyDirectory, nextIFDByteOffset) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeyDirectory = geoKeyDirectory;\\\\n this.nextIFDByteOffset = nextIFDByteOffset;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Error class for cases when an IFD index was requested, that does not exist\\\\n * in the file.\\\\n */\\\\nclass GeoTIFFImageIndexError extends Error {\\\\n constructor(index) {\\\\n super(`No image at index ${index}`);\\\\n this.index = index;\\\\n }\\\\n}\\\\n\\\\n\\\\nclass GeoTIFFBase {\\\\n /**\\\\n * (experimental) Reads raster data from the best fitting image. This function uses\\\\n * the image with the lowest resolution that is still a higher resolution than the\\\\n * requested resolution.\\\\n * When specified, the `bbox` option is translated to the `window` option and the\\\\n * `resX` and `resY` to `width` and `height` respectively.\\\\n * Then, the [readRasters]{@link GeoTIFFImage#readRasters} method of the selected\\\\n * image is called and the result returned.\\\\n * @see GeoTIFFImage.readRasters\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.bbox=whole image] the subset to read data from in\\\\n * geographical coordinates.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {Number} [options.width] The desired width of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {Number} [options.height] The desired height of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {String} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {Number|Number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When multiple\\\\n * samples are requested, an array of fill values\\\\n * can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters(options = {}) {\\\\n const { window: imageWindow, width, height } = options;\\\\n let { resX, resY, bbox } = options;\\\\n\\\\n const firstImage = await this.getImage();\\\\n let usedImage = firstImage;\\\\n const imageCount = await this.getImageCount();\\\\n const imgBBox = firstImage.getBoundingBox();\\\\n\\\\n if (imageWindow && bbox) {\\\\n throw new Error('Both \\\\\\\"bbox\\\\\\\" and \\\\\\\"window\\\\\\\" passed.');\\\\n }\\\\n\\\\n // if width/height is passed, transform it to resolution\\\\n if (width || height) {\\\\n // if we have an image window (pixel coordinates), transform it to a BBox\\\\n // using the origin/resolution of the first image.\\\\n if (imageWindow) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [rX, rY] = firstImage.getResolution();\\\\n\\\\n bbox = [\\\\n oX + (imageWindow[0] * rX),\\\\n oY + (imageWindow[1] * rY),\\\\n oX + (imageWindow[2] * rX),\\\\n oY + (imageWindow[3] * rY),\\\\n ];\\\\n }\\\\n\\\\n // if we have a bbox (or calculated one)\\\\n\\\\n const usedBBox = bbox || imgBBox;\\\\n\\\\n if (width) {\\\\n if (resX) {\\\\n throw new Error('Both width and resX passed');\\\\n }\\\\n resX = (usedBBox[2] - usedBBox[0]) / width;\\\\n }\\\\n if (height) {\\\\n if (resY) {\\\\n throw new Error('Both width and resY passed');\\\\n }\\\\n resY = (usedBBox[3] - usedBBox[1]) / height;\\\\n }\\\\n }\\\\n\\\\n // if resolution is set or calculated, try to get the image with the worst acceptable resolution\\\\n if (resX || resY) {\\\\n const allImages = [];\\\\n for (let i = 0; i < imageCount; ++i) {\\\\n const image = await this.getImage(i);\\\\n const { SubfileType: subfileType, NewSubfileType: newSubfileType } = image.fileDirectory;\\\\n if (i === 0 || subfileType === 2 || newSubfileType & 1) {\\\\n allImages.push(image);\\\\n }\\\\n }\\\\n\\\\n allImages.sort((a, b) => a.getWidth() - b.getWidth());\\\\n for (let i = 0; i < allImages.length; ++i) {\\\\n const image = allImages[i];\\\\n const imgResX = (imgBBox[2] - imgBBox[0]) / image.getWidth();\\\\n const imgResY = (imgBBox[3] - imgBBox[1]) / image.getHeight();\\\\n\\\\n usedImage = image;\\\\n if ((resX && resX > imgResX) || (resY && resY > imgResY)) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n let wnd = imageWindow;\\\\n if (bbox) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [imageResX, imageResY] = usedImage.getResolution(firstImage);\\\\n\\\\n wnd = [\\\\n Math.round((bbox[0] - oX) / imageResX),\\\\n Math.round((bbox[1] - oY) / imageResY),\\\\n Math.round((bbox[2] - oX) / imageResX),\\\\n Math.round((bbox[3] - oY) / imageResY),\\\\n ];\\\\n wnd = [\\\\n Math.min(wnd[0], wnd[2]),\\\\n Math.min(wnd[1], wnd[3]),\\\\n Math.max(wnd[0], wnd[2]),\\\\n Math.max(wnd[1], wnd[3]),\\\\n ];\\\\n }\\\\n\\\\n return usedImage.readRasters({ ...options, window: wnd });\\\\n }\\\\n}\\\\n\\\\n\\\\n/**\\\\n * The abstraction for a whole GeoTIFF file.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass GeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * @constructor\\\\n * @param {Source} source The datasource to read from.\\\\n * @param {Boolean} littleEndian Whether the image uses little endian.\\\\n * @param {Boolean} bigTiff Whether the image uses bigTIFF conventions.\\\\n * @param {Number} firstIFDOffset The numeric byte-offset from the start of the image\\\\n * to the first IFD.\\\\n * @param {Object} [options] further options.\\\\n * @param {Boolean} [options.cache=false] whether or not decoded tiles shall be cached.\\\\n */\\\\n constructor(source, littleEndian, bigTiff, firstIFDOffset, options = {}) {\\\\n super();\\\\n this.source = source;\\\\n this.littleEndian = littleEndian;\\\\n this.bigTiff = bigTiff;\\\\n this.firstIFDOffset = firstIFDOffset;\\\\n this.cache = options.cache || false;\\\\n this.ifdRequests = [];\\\\n this.ghostValues = null;\\\\n }\\\\n\\\\n async getSlice(offset, size) {\\\\n const fallbackSize = this.bigTiff ? 4048 : 1024;\\\\n return new _dataslice__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](\\\\n await this.source.fetch(\\\\n offset, typeof size !== 'undefined' ? size : fallbackSize,\\\\n ), offset, this.littleEndian, this.bigTiff,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Instructs to parse an image file directory at the given file offset.\\\\n * As there is no way to ensure that a location is indeed the start of an IFD,\\\\n * this function must be called with caution (e.g only using the IFD offsets from\\\\n * the headers or other IFDs).\\\\n * @param {number} offset the offset to parse the IFD at\\\\n * @returns {ImageFileDirectory} the parsed IFD\\\\n */\\\\n async parseFileDirectoryAt(offset) {\\\\n const entrySize = this.bigTiff ? 20 : 12;\\\\n const offsetSize = this.bigTiff ? 8 : 2;\\\\n\\\\n let dataSlice = await this.getSlice(offset);\\\\n const numDirEntries = this.bigTiff ?\\\\n dataSlice.readUint64(offset) :\\\\n dataSlice.readUint16(offset);\\\\n\\\\n // if the slice does not cover the whole IFD, request a bigger slice, where the\\\\n // whole IFD fits: num of entries + n x tag length + offset to next IFD\\\\n const byteSize = (numDirEntries * entrySize) + (this.bigTiff ? 16 : 6);\\\\n if (!dataSlice.covers(offset, byteSize)) {\\\\n dataSlice = await this.getSlice(offset, byteSize);\\\\n }\\\\n\\\\n const fileDirectory = {};\\\\n\\\\n // loop over the IFD and create a file directory object\\\\n let i = offset + (this.bigTiff ? 8 : 2);\\\\n for (let entryCount = 0; entryCount < numDirEntries; i += entrySize, ++entryCount) {\\\\n const fieldTag = dataSlice.readUint16(i);\\\\n const fieldType = dataSlice.readUint16(i + 2);\\\\n const typeCount = this.bigTiff ?\\\\n dataSlice.readUint64(i + 4) :\\\\n dataSlice.readUint32(i + 4);\\\\n\\\\n let fieldValues;\\\\n let value;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n const valueOffset = i + (this.bigTiff ? 12 : 8);\\\\n\\\\n // check whether the value is directly encoded in the tag or refers to a\\\\n // different external byte range\\\\n if (fieldTypeLength * typeCount <= (this.bigTiff ? 8 : 4)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, valueOffset);\\\\n } else {\\\\n // resolve the reference to the actual byte range\\\\n const actualOffset = dataSlice.readOffset(valueOffset);\\\\n const length = getFieldTypeLength(fieldType) * typeCount;\\\\n\\\\n // check, whether we actually cover the referenced byte range; if not,\\\\n // request a new slice of bytes to read from it\\\\n if (dataSlice.covers(actualOffset, length)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, actualOffset);\\\\n } else {\\\\n const fieldDataSlice = await this.getSlice(actualOffset, length);\\\\n fieldValues = getValues(fieldDataSlice, fieldType, typeCount, actualOffset);\\\\n }\\\\n }\\\\n\\\\n // unpack single values from the array\\\\n if (typeCount === 1 && _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"arrayFields\\\\\\\"].indexOf(fieldTag) === -1 &&\\\\n !(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n value = fieldValues[0];\\\\n } else {\\\\n value = fieldValues;\\\\n }\\\\n\\\\n // write the tags value to the file directly\\\\n fileDirectory[_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][fieldTag]] = value;\\\\n }\\\\n const geoKeyDirectory = parseGeoKeyDirectory(fileDirectory);\\\\n const nextIFDByteOffset = dataSlice.readOffset(\\\\n offset + offsetSize + (entrySize * numDirEntries),\\\\n );\\\\n\\\\n return new ImageFileDirectory(\\\\n fileDirectory,\\\\n geoKeyDirectory,\\\\n nextIFDByteOffset,\\\\n );\\\\n }\\\\n\\\\n async requestIFD(index) {\\\\n // see if we already have that IFD index requested.\\\\n if (this.ifdRequests[index]) {\\\\n // attach to an already requested IFD\\\\n return this.ifdRequests[index];\\\\n } else if (index === 0) {\\\\n // special case for index 0\\\\n this.ifdRequests[index] = this.parseFileDirectoryAt(this.firstIFDOffset);\\\\n return this.ifdRequests[index];\\\\n } else if (!this.ifdRequests[index - 1]) {\\\\n // if the previous IFD was not yet loaded, load that one first\\\\n // this is the recursive call.\\\\n try {\\\\n this.ifdRequests[index - 1] = this.requestIFD(index - 1);\\\\n } catch (e) {\\\\n // if the previous one already was an index error, rethrow\\\\n // with the current index\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n // rethrow anything else\\\\n throw e;\\\\n }\\\\n }\\\\n // if the previous IFD was loaded, we can finally fetch the one we are interested in.\\\\n // we need to wrap this in an IIFE, otherwise this.ifdRequests[index] would be delayed\\\\n this.ifdRequests[index] = (async () => {\\\\n const previousIfd = await this.ifdRequests[index - 1];\\\\n if (previousIfd.nextIFDByteOffset === 0) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n return this.parseFileDirectoryAt(previousIfd.nextIFDByteOffset);\\\\n })();\\\\n return this.ifdRequests[index];\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n const ifd = await this.requestIFD(index);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, ifd.geoKeyDirectory,\\\\n this.dataView, this.littleEndian, this.cache, this.source,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n let index = 0;\\\\n // loop until we run out of IFDs\\\\n let hasNext = true;\\\\n while (hasNext) {\\\\n try {\\\\n await this.requestIFD(index);\\\\n ++index;\\\\n } catch (e) {\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n hasNext = false;\\\\n } else {\\\\n throw e;\\\\n }\\\\n }\\\\n }\\\\n return index;\\\\n }\\\\n\\\\n /**\\\\n * Get the values of the COG ghost area as a parsed map.\\\\n * See https://gdal.org/drivers/raster/cog.html#header-ghost-area for reference\\\\n * @returns {Object} the parsed ghost area or null, if no such area was found\\\\n */\\\\n async getGhostValues() {\\\\n const offset = this.bigTiff ? 16 : 8;\\\\n if (this.ghostValues) {\\\\n return this.ghostValues;\\\\n }\\\\n const detectionString = 'GDAL_STRUCTURAL_METADATA_SIZE=';\\\\n const heuristicAreaSize = detectionString.length + 100;\\\\n let slice = await this.getSlice(offset, heuristicAreaSize);\\\\n if (detectionString === getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, detectionString.length, offset)) {\\\\n const valuesString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, heuristicAreaSize, offset);\\\\n const firstLine = valuesString.split('\\\\\\\\n')[0];\\\\n const metadataSize = Number(firstLine.split('=')[1].split(' ')[0]) + firstLine.length;\\\\n if (metadataSize > heuristicAreaSize) {\\\\n slice = await this.getSlice(offset, metadataSize);\\\\n }\\\\n const fullString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, metadataSize, offset);\\\\n this.ghostValues = {};\\\\n fullString\\\\n .split('\\\\\\\\n')\\\\n .filter(line => line.length > 0)\\\\n .map(line => line.split('='))\\\\n .forEach(([key, value]) => {\\\\n this.ghostValues[key] = value;\\\\n });\\\\n }\\\\n return this.ghostValues;\\\\n }\\\\n\\\\n /**\\\\n * Parse a (Geo)TIFF file from the given source.\\\\n *\\\\n * @param {source~Source} source The source of data to parse from.\\\\n * @param {object} options Additional options.\\\\n */\\\\n static async fromSource(source, options) {\\\\n const headerData = await source.fetch(0, 1024);\\\\n const dataView = new _dataview64__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](headerData);\\\\n\\\\n const BOM = dataView.getUint16(0, 0);\\\\n let littleEndian;\\\\n if (BOM === 0x4949) {\\\\n littleEndian = true;\\\\n } else if (BOM === 0x4D4D) {\\\\n littleEndian = false;\\\\n } else {\\\\n throw new TypeError('Invalid byte order value.');\\\\n }\\\\n\\\\n const magicNumber = dataView.getUint16(2, littleEndian);\\\\n let bigTiff;\\\\n if (magicNumber === 42) {\\\\n bigTiff = false;\\\\n } else if (magicNumber === 43) {\\\\n bigTiff = true;\\\\n const offsetByteSize = dataView.getUint16(4, littleEndian);\\\\n if (offsetByteSize !== 8) {\\\\n throw new Error('Unsupported offset byte-size.');\\\\n }\\\\n } else {\\\\n throw new TypeError('Invalid magic number.');\\\\n }\\\\n\\\\n const firstIFDOffset = bigTiff\\\\n ? dataView.getUint64(8, littleEndian)\\\\n : dataView.getUint32(4, littleEndian);\\\\n return new GeoTIFF(source, littleEndian, bigTiff, firstIFDOffset, options);\\\\n }\\\\n\\\\n /**\\\\n * Closes the underlying file buffer\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n */\\\\n close() {\\\\n if (typeof this.source.close === 'function') {\\\\n return this.source.close();\\\\n }\\\\n return false;\\\\n }\\\\n}\\\\n\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFF);\\\\n\\\\n/**\\\\n * Wrapper for GeoTIFF files that have external overviews.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass MultiGeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * Construct a new MultiGeoTIFF from a main and several overview files.\\\\n * @param {GeoTIFF} mainFile The main GeoTIFF file.\\\\n * @param {GeoTIFF[]} overviewFiles An array of overview files.\\\\n */\\\\n constructor(mainFile, overviewFiles) {\\\\n super();\\\\n this.mainFile = mainFile;\\\\n this.overviewFiles = overviewFiles;\\\\n this.imageFiles = [mainFile].concat(overviewFiles);\\\\n\\\\n this.fileDirectoriesPerFile = null;\\\\n this.fileDirectoriesPerFileParsing = null;\\\\n this.imageCount = null;\\\\n }\\\\n\\\\n async parseFileDirectoriesPerFile() {\\\\n const requests = [this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)]\\\\n .concat(this.overviewFiles.map((file) => file.parseFileDirectoryAt(file.firstIFDOffset)));\\\\n\\\\n this.fileDirectoriesPerFile = await Promise.all(requests);\\\\n return this.fileDirectoriesPerFile;\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n await this.getImageCount();\\\\n await this.parseFileDirectoriesPerFile();\\\\n let visited = 0;\\\\n let relativeIndex = 0;\\\\n for (let i = 0; i < this.imageFiles.length; i++) {\\\\n const imageFile = this.imageFiles[i];\\\\n for (let ii = 0; ii < this.imageCounts[i]; ii++) {\\\\n if (index === visited) {\\\\n const ifd = await imageFile.requestIFD(relativeIndex);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, imageFile.geoKeyDirectory,\\\\n imageFile.dataView, imageFile.littleEndian, imageFile.cache, imageFile.source,\\\\n );\\\\n }\\\\n visited++;\\\\n relativeIndex++;\\\\n }\\\\n relativeIndex = 0;\\\\n }\\\\n\\\\n throw new RangeError('Invalid image index');\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n if (this.imageCount !== null) {\\\\n return this.imageCount;\\\\n }\\\\n const requests = [this.mainFile.getImageCount()]\\\\n .concat(this.overviewFiles.map((file) => file.getImageCount()));\\\\n this.imageCounts = await Promise.all(requests);\\\\n this.imageCount = this.imageCounts.reduce((count, ifds) => count + ifds, 0);\\\\n return this.imageCount;\\\\n }\\\\n}\\\\n\\\\n\\\\n\\\\n/**\\\\n * Creates a new GeoTIFF from a remote URL.\\\\n * @param {string} url The URL to access the image from\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See {@link makeRemoteSource} for details.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromUrl(url, options = {}) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options));\\\\n}\\\\n\\\\n/**\\\\n * Construct a new GeoTIFF from an\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The data to read the file from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromArrayBuffer(arrayBuffer) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeBufferSource\\\\\\\"])(arrayBuffer));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from a local file path. This uses the node\\\\n * [filesystem API]{@link https://nodejs.org/api/fs.html} and is\\\\n * not available on browsers.\\\\n *\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n * @param {string} path The file path to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromFile(path) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileSource\\\\\\\"])(path));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from an HTML\\\\n * [Blob]{@link https://developer.mozilla.org/en-US/docs/Web/API/Blob} or\\\\n * [File]{@link https://developer.mozilla.org/en-US/docs/Web/API/File}\\\\n * object.\\\\n * @param {Blob|File} blob The Blob or File object to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromBlob(blob) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileReaderSource\\\\\\\"])(blob));\\\\n}\\\\n\\\\n/**\\\\n * Construct a MultiGeoTIFF from the given URLs.\\\\n * @param {string} mainUrl The URL for the main file.\\\\n * @param {string[]} overviewUrls An array of URLs for the overview images.\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See [makeRemoteSource]{@link module:source.makeRemoteSource}\\\\n * for details.\\\\n * @returns {Promise.} The resulting MultiGeoTIFF file.\\\\n */\\\\nasync function fromUrls(mainUrl, overviewUrls = [], options = {}) {\\\\n const mainFile = await GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(mainUrl, options));\\\\n const overviewFiles = await Promise.all(\\\\n overviewUrls.map((url) => GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options))),\\\\n );\\\\n\\\\n return new MultiGeoTIFF(mainFile, overviewFiles);\\\\n}\\\\n\\\\n/**\\\\n * Main creating function for GeoTIFF files.\\\\n * @param {(Array)} array of pixel values\\\\n * @returns {metadata} metadata\\\\n */\\\\nasync function writeArrayBuffer(values, metadata) {\\\\n return Object(_geotiffwriter__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"writeGeotiff\\\\\\\"])(values, metadata);\\\\n}\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiff.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffimage.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffimage.js ***!\\n \\\\**************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! txml */ \\\\\\\"./node_modules/txml/tXml.js\\\\\\\");\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(txml__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony import */ var _resample__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./resample */ \\\\\\\"./node_modules/geotiff/src/resample.js\\\\\\\");\\\\n/* eslint max-len: [\\\\\\\"error\\\\\\\", { \\\\\\\"code\\\\\\\": 120 }] */\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction sum(array, start, end) {\\\\n let s = 0;\\\\n for (let i = start; i < end; ++i) {\\\\n s += array[i];\\\\n }\\\\n return s;\\\\n}\\\\n\\\\nfunction arrayForType(format, bitsPerSample, size) {\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Uint8Array(size);\\\\n case 16:\\\\n return new Uint16Array(size);\\\\n case 32:\\\\n return new Uint32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Int8Array(size);\\\\n case 16:\\\\n return new Int16Array(size);\\\\n case 32:\\\\n return new Int32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3: // floating point data\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return new Float32Array(size);\\\\n case 64:\\\\n return new Float64Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n}\\\\n\\\\n/**\\\\n * GeoTIFF sub-file image.\\\\n */\\\\nclass GeoTIFFImage {\\\\n /**\\\\n * @constructor\\\\n * @param {Object} fileDirectory The parsed file directory\\\\n * @param {Object} geoKeys The parsed geo-keys\\\\n * @param {DataView} dataView The DataView for the underlying file.\\\\n * @param {Boolean} littleEndian Whether the file is encoded in little or big endian\\\\n * @param {Boolean} cache Whether or not decoded tiles shall be cached\\\\n * @param {Source} source The datasource to read from\\\\n */\\\\n constructor(fileDirectory, geoKeys, dataView, littleEndian, cache, source) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeys = geoKeys;\\\\n this.dataView = dataView;\\\\n this.littleEndian = littleEndian;\\\\n this.tiles = cache ? {} : null;\\\\n this.isTiled = !fileDirectory.StripOffsets;\\\\n const planarConfiguration = fileDirectory.PlanarConfiguration;\\\\n this.planarConfiguration = (typeof planarConfiguration === 'undefined') ? 1 : planarConfiguration;\\\\n if (this.planarConfiguration !== 1 && this.planarConfiguration !== 2) {\\\\n throw new Error('Invalid planar configuration.');\\\\n }\\\\n\\\\n this.source = source;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed file directory.\\\\n * @returns {Object} the parsed file directory\\\\n */\\\\n getFileDirectory() {\\\\n return this.fileDirectory;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed geo keys.\\\\n * @returns {Object} the parsed geo keys\\\\n */\\\\n getGeoKeys() {\\\\n return this.geoKeys;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of the image.\\\\n * @returns {Number} the width of the image\\\\n */\\\\n getWidth() {\\\\n return this.fileDirectory.ImageWidth;\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of the image.\\\\n * @returns {Number} the height of the image\\\\n */\\\\n getHeight() {\\\\n return this.fileDirectory.ImageLength;\\\\n }\\\\n\\\\n /**\\\\n * Returns the number of samples per pixel.\\\\n * @returns {Number} the number of samples per pixel\\\\n */\\\\n getSamplesPerPixel() {\\\\n return this.fileDirectory.SamplesPerPixel;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of each tile.\\\\n * @returns {Number} the width of each tile\\\\n */\\\\n getTileWidth() {\\\\n return this.isTiled ? this.fileDirectory.TileWidth : this.getWidth();\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of each tile.\\\\n * @returns {Number} the height of each tile\\\\n */\\\\n getTileHeight() {\\\\n if (this.isTiled) {\\\\n return this.fileDirectory.TileLength;\\\\n }\\\\n if (typeof this.fileDirectory.RowsPerStrip !== 'undefined') {\\\\n return Math.min(this.fileDirectory.RowsPerStrip, this.getHeight());\\\\n }\\\\n return this.getHeight();\\\\n }\\\\n\\\\n /**\\\\n * Calculates the number of bytes for each pixel across all samples. Only full\\\\n * bytes are supported, an exception is thrown when this is not the case.\\\\n * @returns {Number} the bytes per pixel\\\\n */\\\\n getBytesPerPixel() {\\\\n let bitsPerSample = 0;\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; ++i) {\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n } else if (bits !== this.fileDirectory.BitsPerSample[0]) {\\\\n throw new Error('Differing size of samples in a pixel are not supported.');\\\\n }\\\\n bitsPerSample += bits;\\\\n }\\\\n return bitsPerSample / 8;\\\\n }\\\\n\\\\n getSampleByteSize(i) {\\\\n if (i >= this.fileDirectory.BitsPerSample.length) {\\\\n throw new RangeError(`Sample index ${i} is out of range.`);\\\\n }\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n }\\\\n return (bits / 8);\\\\n }\\\\n\\\\n getReaderForSample(sampleIndex) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getUint8;\\\\n case 16:\\\\n return DataView.prototype.getUint16;\\\\n case 32:\\\\n return DataView.prototype.getUint32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getInt8;\\\\n case 16:\\\\n return DataView.prototype.getInt16;\\\\n case 32:\\\\n return DataView.prototype.getInt32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3:\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return DataView.prototype.getFloat32;\\\\n case 64:\\\\n return DataView.prototype.getFloat64;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n }\\\\n\\\\n getArrayForSample(sampleIndex, size) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n return arrayForType(format, bitsPerSample, size);\\\\n }\\\\n\\\\n /**\\\\n * Returns the decoded strip or tile.\\\\n * @param {Number} x the strip or tile x-offset\\\\n * @param {Number} y the tile y-offset (0 for stripped images)\\\\n * @param {Number} sample the sample to get for separated samples\\\\n * @param {Pool|AbstractDecoder} poolOrDecoder the decoder or decoder pool\\\\n * @returns {Promise.}\\\\n */\\\\n async getTileOrStrip(x, y, sample, poolOrDecoder) {\\\\n const numTilesPerRow = Math.ceil(this.getWidth() / this.getTileWidth());\\\\n const numTilesPerCol = Math.ceil(this.getHeight() / this.getTileHeight());\\\\n let index;\\\\n const { tiles } = this;\\\\n if (this.planarConfiguration === 1) {\\\\n index = (y * numTilesPerRow) + x;\\\\n } else if (this.planarConfiguration === 2) {\\\\n index = (sample * numTilesPerRow * numTilesPerCol) + (y * numTilesPerRow) + x;\\\\n }\\\\n\\\\n let offset;\\\\n let byteCount;\\\\n if (this.isTiled) {\\\\n offset = this.fileDirectory.TileOffsets[index];\\\\n byteCount = this.fileDirectory.TileByteCounts[index];\\\\n } else {\\\\n offset = this.fileDirectory.StripOffsets[index];\\\\n byteCount = this.fileDirectory.StripByteCounts[index];\\\\n }\\\\n const slice = await this.source.fetch(offset, byteCount);\\\\n\\\\n // either use the provided pool or decoder to decode the data\\\\n let request;\\\\n if (tiles === null) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n } else if (!tiles[index]) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n tiles[index] = request;\\\\n }\\\\n return { x, y, sample, data: await request };\\\\n }\\\\n\\\\n /**\\\\n * Internal read function.\\\\n * @private\\\\n * @param {Array} imageWindow The image window in pixel coordinates\\\\n * @param {Array} samples The selected samples (0-based indices)\\\\n * @param {TypedArray[]|TypedArray} valueArrays The array(s) to write into\\\\n * @param {Boolean} interleave Whether or not to write in an interleaved manner\\\\n * @param {Pool} pool The decoder pool\\\\n * @returns {Promise|Promise}\\\\n */\\\\n async _readRaster(imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod) {\\\\n const tileWidth = this.getTileWidth();\\\\n const tileHeight = this.getTileHeight();\\\\n\\\\n const minXTile = Math.max(Math.floor(imageWindow[0] / tileWidth), 0);\\\\n const maxXTile = Math.min(\\\\n Math.ceil(imageWindow[2] / tileWidth),\\\\n Math.ceil(this.getWidth() / this.getTileWidth()),\\\\n );\\\\n const minYTile = Math.max(Math.floor(imageWindow[1] / tileHeight), 0);\\\\n const maxYTile = Math.min(\\\\n Math.ceil(imageWindow[3] / tileHeight),\\\\n Math.ceil(this.getHeight() / this.getTileHeight()),\\\\n );\\\\n const windowWidth = imageWindow[2] - imageWindow[0];\\\\n\\\\n let bytesPerPixel = this.getBytesPerPixel();\\\\n\\\\n const srcSampleOffsets = [];\\\\n const sampleReaders = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (this.planarConfiguration === 1) {\\\\n srcSampleOffsets.push(sum(this.fileDirectory.BitsPerSample, 0, samples[i]) / 8);\\\\n } else {\\\\n srcSampleOffsets.push(0);\\\\n }\\\\n sampleReaders.push(this.getReaderForSample(samples[i]));\\\\n }\\\\n\\\\n const promises = [];\\\\n const { littleEndian } = this;\\\\n\\\\n for (let yTile = minYTile; yTile < maxYTile; ++yTile) {\\\\n for (let xTile = minXTile; xTile < maxXTile; ++xTile) {\\\\n for (let sampleIndex = 0; sampleIndex < samples.length; ++sampleIndex) {\\\\n const si = sampleIndex;\\\\n const sample = samples[sampleIndex];\\\\n if (this.planarConfiguration === 2) {\\\\n bytesPerPixel = this.getSampleByteSize(sample);\\\\n }\\\\n const promise = this.getTileOrStrip(xTile, yTile, sample, poolOrDecoder);\\\\n promises.push(promise);\\\\n promise.then((tile) => {\\\\n const buffer = tile.data;\\\\n const dataView = new DataView(buffer);\\\\n const firstLine = tile.y * tileHeight;\\\\n const firstCol = tile.x * tileWidth;\\\\n const lastLine = (tile.y + 1) * tileHeight;\\\\n const lastCol = (tile.x + 1) * tileWidth;\\\\n const reader = sampleReaders[si];\\\\n\\\\n const ymax = Math.min(tileHeight, tileHeight - (lastLine - imageWindow[3]));\\\\n const xmax = Math.min(tileWidth, tileWidth - (lastCol - imageWindow[2]));\\\\n\\\\n for (let y = Math.max(0, imageWindow[1] - firstLine); y < ymax; ++y) {\\\\n for (let x = Math.max(0, imageWindow[0] - firstCol); x < xmax; ++x) {\\\\n const pixelOffset = ((y * tileWidth) + x) * bytesPerPixel;\\\\n const value = reader.call(\\\\n dataView, pixelOffset + srcSampleOffsets[si], littleEndian,\\\\n );\\\\n let windowCoordinate;\\\\n if (interleave) {\\\\n windowCoordinate = ((y + firstLine - imageWindow[1]) * windowWidth * samples.length)\\\\n + ((x + firstCol - imageWindow[0]) * samples.length)\\\\n + si;\\\\n valueArrays[windowCoordinate] = value;\\\\n } else {\\\\n windowCoordinate = (\\\\n (y + firstLine - imageWindow[1]) * windowWidth\\\\n ) + x + firstCol - imageWindow[0];\\\\n valueArrays[si][windowCoordinate] = value;\\\\n }\\\\n }\\\\n }\\\\n });\\\\n }\\\\n }\\\\n }\\\\n await Promise.all(promises);\\\\n\\\\n if ((width && (imageWindow[2] - imageWindow[0]) !== width)\\\\n || (height && (imageWindow[3] - imageWindow[1]) !== height)) {\\\\n let resampled;\\\\n if (interleave) {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resampleInterleaved\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n samples.length,\\\\n resampleMethod,\\\\n );\\\\n } else {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resample\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n resampleMethod,\\\\n );\\\\n }\\\\n resampled.width = width;\\\\n resampled.height = height;\\\\n return resampled;\\\\n }\\\\n\\\\n valueArrays.width = width || imageWindow[2] - imageWindow[0];\\\\n valueArrays.height = height || imageWindow[3] - imageWindow[1];\\\\n\\\\n return valueArrays;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image. This function reads all selected samples\\\\n * into separate arrays of the correct type for that sample or into a single\\\\n * combined array when `interleave` is set. When provided, only a subset\\\\n * of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {number} [options.width] The desired width of the output. When the width is\\\\n * not the same as the images, resampling will be\\\\n * performed.\\\\n * @param {number} [options.height] The desired height of the output. When the width\\\\n * is not the same as the images, resampling will\\\\n * be performed.\\\\n * @param {string} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {number|number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When\\\\n * multiple samples are requested, an\\\\n * array of fill values can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters({\\\\n window: wnd, samples = [], interleave, pool = null,\\\\n width, height, resampleMethod, fillValue,\\\\n } = {}) {\\\\n const imageWindow = wnd || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const imageWindowWidth = imageWindow[2] - imageWindow[0];\\\\n const imageWindowHeight = imageWindow[3] - imageWindow[1];\\\\n const numPixels = imageWindowWidth * imageWindowHeight;\\\\n\\\\n if (!samples || !samples.length) {\\\\n for (let i = 0; i < this.fileDirectory.SamplesPerPixel; ++i) {\\\\n samples.push(i);\\\\n }\\\\n } else {\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (samples[i] >= this.fileDirectory.SamplesPerPixel) {\\\\n return Promise.reject(new RangeError(`Invalid sample index '${samples[i]}'.`));\\\\n }\\\\n }\\\\n }\\\\n let valueArrays;\\\\n if (interleave) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? Math.max.apply(null, this.fileDirectory.SampleFormat) : 1;\\\\n const bitsPerSample = Math.max.apply(null, this.fileDirectory.BitsPerSample);\\\\n valueArrays = arrayForType(format, bitsPerSample, numPixels * samples.length);\\\\n if (fillValue) {\\\\n valueArrays.fill(fillValue);\\\\n }\\\\n } else {\\\\n valueArrays = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n const valueArray = this.getArrayForSample(samples[i], numPixels);\\\\n if (Array.isArray(fillValue) && i < fillValue.length) {\\\\n valueArray.fill(fillValue[i]);\\\\n } else if (fillValue && !Array.isArray(fillValue)) {\\\\n valueArray.fill(fillValue);\\\\n }\\\\n valueArrays.push(valueArray);\\\\n }\\\\n }\\\\n\\\\n const poolOrDecoder = pool || Object(_compression__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"getDecoder\\\\\\\"])(this.fileDirectory);\\\\n\\\\n const result = await this._readRaster(\\\\n imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod,\\\\n );\\\\n return result;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image as RGB. The result is always an\\\\n * interleaved typed array.\\\\n * Colorspaces other than RGB will be transformed to RGB, color maps expanded.\\\\n * When no other method is applicable, the first sample is used to produce a\\\\n * greayscale image.\\\\n * When provided, only a subset of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Number} [pool=null] The optional decoder pool to use.\\\\n * @param {number} [width] The desired width of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {number} [height] The desired height of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {string} [resampleMethod='nearest'] The desired resampling method.\\\\n * @param {bool} [enableAlpha=false] Enable reading alpha channel if present.\\\\n * @returns {Promise.} the RGB array as a Promise\\\\n */\\\\n async readRGB({ window, pool = null, width, height, resampleMethod, enableAlpha = false } = {}) {\\\\n const imageWindow = window || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const pi = this.fileDirectory.PhotometricInterpretation;\\\\n\\\\n if (pi === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].RGB) {\\\\n let s = [0, 1, 2];\\\\n if ((!(this.fileDirectory.ExtraSamples === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"ExtraSamplesValues\\\\\\\"].Unspecified)) && enableAlpha) {\\\\n s = [];\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; i += 1) {\\\\n s.push(i);\\\\n }\\\\n }\\\\n return this.readRasters({\\\\n window,\\\\n interleave: true,\\\\n samples: s,\\\\n pool,\\\\n width,\\\\n height,\\\\n });\\\\n }\\\\n\\\\n let samples;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n samples = [0];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n samples = [0, 1, 2, 3];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n samples = [0, 1, 2];\\\\n break;\\\\n default:\\\\n throw new Error('Invalid or unsupported photometric interpretation.');\\\\n }\\\\n\\\\n const subOptions = {\\\\n window: imageWindow,\\\\n interleave: true,\\\\n samples,\\\\n pool,\\\\n width,\\\\n height,\\\\n resampleMethod,\\\\n };\\\\n const { fileDirectory } = this;\\\\n const raster = await this.readRasters(subOptions);\\\\n\\\\n const max = 2 ** this.fileDirectory.BitsPerSample[0];\\\\n let data;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromWhiteIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromBlackIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromPalette\\\\\\\"])(raster, fileDirectory.ColorMap);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCMYK\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromYCbCr\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCIELab\\\\\\\"])(raster);\\\\n break;\\\\n default:\\\\n throw new Error('Unsupported photometric interpretation.');\\\\n }\\\\n data.width = raster.width;\\\\n data.height = raster.height;\\\\n return data;\\\\n }\\\\n\\\\n /**\\\\n * Returns an array of tiepoints.\\\\n * @returns {Object[]}\\\\n */\\\\n getTiePoints() {\\\\n if (!this.fileDirectory.ModelTiepoint) {\\\\n return [];\\\\n }\\\\n\\\\n const tiePoints = [];\\\\n for (let i = 0; i < this.fileDirectory.ModelTiepoint.length; i += 6) {\\\\n tiePoints.push({\\\\n i: this.fileDirectory.ModelTiepoint[i],\\\\n j: this.fileDirectory.ModelTiepoint[i + 1],\\\\n k: this.fileDirectory.ModelTiepoint[i + 2],\\\\n x: this.fileDirectory.ModelTiepoint[i + 3],\\\\n y: this.fileDirectory.ModelTiepoint[i + 4],\\\\n z: this.fileDirectory.ModelTiepoint[i + 5],\\\\n });\\\\n }\\\\n return tiePoints;\\\\n }\\\\n\\\\n /**\\\\n * Returns the parsed GDAL metadata items.\\\\n *\\\\n * If sample is passed to null, dataset-level metadata will be returned.\\\\n * Otherwise only metadata specific to the provided sample will be returned.\\\\n *\\\\n * @param {Number} [sample=null] The sample index.\\\\n * @returns {Object}\\\\n */\\\\n getGDALMetadata(sample = null) {\\\\n const metadata = {};\\\\n if (!this.fileDirectory.GDAL_METADATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_METADATA;\\\\n const xmlDom = txml__WEBPACK_IMPORTED_MODULE_0___default()(string.substring(0, string.length - 1));\\\\n\\\\n if (!xmlDom[0].tagName) {\\\\n throw new Error('Failed to parse GDAL metadata XML.');\\\\n }\\\\n\\\\n const root = xmlDom[0];\\\\n if (root.tagName !== 'GDALMetadata') {\\\\n throw new Error('Unexpected GDAL metadata XML tag.');\\\\n }\\\\n\\\\n let items = root.children\\\\n .filter((child) => child.tagName === 'Item');\\\\n\\\\n if (sample) {\\\\n items = items.filter((item) => Number(item.attributes.sample) === sample);\\\\n }\\\\n\\\\n for (let i = 0; i < items.length; ++i) {\\\\n const item = items[i];\\\\n metadata[item.attributes.name] = item.children[0];\\\\n }\\\\n return metadata;\\\\n }\\\\n\\\\n /**\\\\n * Returns the GDAL nodata value\\\\n * @returns {Number} or null\\\\n */\\\\n getGDALNoData() {\\\\n if (!this.fileDirectory.GDAL_NODATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_NODATA;\\\\n return Number(string.substring(0, string.length - 1));\\\\n }\\\\n\\\\n /**\\\\n * Returns the image origin as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @returns {Array} The origin as a vector\\\\n */\\\\n getOrigin() {\\\\n const tiePoints = this.fileDirectory.ModelTiepoint;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n if (tiePoints && tiePoints.length === 6) {\\\\n return [\\\\n tiePoints[3],\\\\n tiePoints[4],\\\\n tiePoints[5],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[3],\\\\n modelTransformation[7],\\\\n modelTransformation[11],\\\\n ];\\\\n }\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns the image resolution as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @param {GeoTIFFImage} [referenceImage=null] A reference image to calculate the resolution from\\\\n * in cases when the current image does not have the\\\\n * required tags on its own.\\\\n * @returns {Array} The resolution as a vector\\\\n */\\\\n getResolution(referenceImage = null) {\\\\n const modelPixelScale = this.fileDirectory.ModelPixelScale;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n\\\\n if (modelPixelScale) {\\\\n return [\\\\n modelPixelScale[0],\\\\n -modelPixelScale[1],\\\\n modelPixelScale[2],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[0],\\\\n modelTransformation[5],\\\\n modelTransformation[10],\\\\n ];\\\\n }\\\\n\\\\n if (referenceImage) {\\\\n const [refResX, refResY, refResZ] = referenceImage.getResolution();\\\\n return [\\\\n refResX * referenceImage.getWidth() / this.getWidth(),\\\\n refResY * referenceImage.getHeight() / this.getHeight(),\\\\n refResZ * referenceImage.getWidth() / this.getWidth(),\\\\n ];\\\\n }\\\\n\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns whether or not the pixels of the image depict an area (or point).\\\\n * @returns {Boolean} Whether the pixels are a point\\\\n */\\\\n pixelIsArea() {\\\\n return this.geoKeys.GTRasterTypeGeoKey === 1;\\\\n }\\\\n\\\\n /**\\\\n * Returns the image bounding box as an array of 4 values: min-x, min-y,\\\\n * max-x and max-y. When the image has no affine transformation, then an\\\\n * exception is thrown.\\\\n * @returns {Array} The bounding box\\\\n */\\\\n getBoundingBox() {\\\\n const origin = this.getOrigin();\\\\n const resolution = this.getResolution();\\\\n\\\\n const x1 = origin[0];\\\\n const y1 = origin[1];\\\\n\\\\n const x2 = x1 + (resolution[0] * this.getWidth());\\\\n const y2 = y1 + (resolution[1] * this.getHeight());\\\\n\\\\n return [\\\\n Math.min(x1, x2),\\\\n Math.min(y1, y2),\\\\n Math.max(x1, x2),\\\\n Math.max(y1, y2),\\\\n ];\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFFImage);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffimage.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffwriter.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffwriter.js ***!\\n \\\\***************************************************/\\n/*! exports provided: writeGeotiff */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeGeotiff\\\\\\\", function() { return writeGeotiff; });\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ \\\\\\\"./node_modules/geotiff/src/utils.js\\\\\\\");\\\\n/*\\\\n Some parts of this file are based on UTIF.js,\\\\n which was released under the MIT License.\\\\n You can view that here:\\\\n https://github.com/photopea/UTIF.js/blob/master/LICENSE\\\\n*/\\\\n\\\\n\\\\n\\\\nconst tagName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagNames\\\\\\\"]);\\\\nconst geoKeyName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"geoKeyNames\\\\\\\"]);\\\\nconst name2code = {};\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, tagName2Code);\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, geoKeyName2Code);\\\\nconst typeName2byte = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTypeNames\\\\\\\"]);\\\\n\\\\n// config variables\\\\nconst numBytesInIfd = 1000;\\\\n\\\\nconst _binBE = {\\\\n nextZero: (data, o) => {\\\\n let oincr = o;\\\\n while (data[oincr] !== 0) {\\\\n oincr++;\\\\n }\\\\n return oincr;\\\\n },\\\\n readUshort: (buff, p) => {\\\\n return (buff[p] << 8) | buff[p + 1];\\\\n },\\\\n readShort: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 1];\\\\n a[1] = buff[p + 0];\\\\n return _binBE.i16[0];\\\\n },\\\\n readInt: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.i32[0];\\\\n },\\\\n readUint: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.ui32[0];\\\\n },\\\\n readASCII: (buff, p, l) => {\\\\n return l.map((i) => String.fromCharCode(buff[p + i])).join('');\\\\n },\\\\n readFloat: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(4, (i) => {\\\\n a[i] = buff[p + 3 - i];\\\\n });\\\\n return _binBE.fl32[0];\\\\n },\\\\n readDouble: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n a[i] = buff[p + 7 - i];\\\\n });\\\\n return _binBE.fl64[0];\\\\n },\\\\n writeUshort: (buff, p, n) => {\\\\n buff[p] = (n >> 8) & 255;\\\\n buff[p + 1] = n & 255;\\\\n },\\\\n writeUint: (buff, p, n) => {\\\\n buff[p] = (n >> 24) & 255;\\\\n buff[p + 1] = (n >> 16) & 255;\\\\n buff[p + 2] = (n >> 8) & 255;\\\\n buff[p + 3] = (n >> 0) & 255;\\\\n },\\\\n writeASCII: (buff, p, s) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(s.length, (i) => {\\\\n buff[p + i] = s.charCodeAt(i);\\\\n });\\\\n },\\\\n ui8: new Uint8Array(8),\\\\n};\\\\n\\\\n_binBE.fl64 = new Float64Array(_binBE.ui8.buffer);\\\\n\\\\n_binBE.writeDouble = (buff, p, n) => {\\\\n _binBE.fl64[0] = n;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n buff[p + i] = _binBE.ui8[7 - i];\\\\n });\\\\n};\\\\n\\\\n\\\\nconst _writeIFD = (bin, data, _offset, ifd) => {\\\\n let offset = _offset;\\\\n\\\\n const keys = Object.keys(ifd).filter((key) => {\\\\n return key !== undefined && key !== null && key !== 'undefined';\\\\n });\\\\n\\\\n bin.writeUshort(data, offset, keys.length);\\\\n offset += 2;\\\\n\\\\n let eoff = offset + (12 * keys.length) + 4;\\\\n\\\\n for (const key of keys) {\\\\n let tag = null;\\\\n if (typeof key === 'number') {\\\\n tag = key;\\\\n } else if (typeof key === 'string') {\\\\n tag = parseInt(key, 10);\\\\n }\\\\n\\\\n const typeName = _globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][tag];\\\\n const typeNum = typeName2byte[typeName];\\\\n\\\\n if (typeName == null || typeName === undefined || typeof typeName === 'undefined') {\\\\n throw new Error(`unknown type of tag: ${tag}`);\\\\n }\\\\n\\\\n let val = ifd[key];\\\\n\\\\n if (typeof val === 'undefined') {\\\\n throw new Error(`failed to get value for key ${key}`);\\\\n }\\\\n\\\\n // ASCIIZ format with trailing 0 character\\\\n // http://www.fileformat.info/format/tiff/corion.htm\\\\n // https://stackoverflow.com/questions/7783044/whats-the-difference-between-asciiz-vs-ascii\\\\n if (typeName === 'ASCII' && typeof val === 'string' && Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(val, '\\\\\\\\u0000') === false) {\\\\n val += '\\\\\\\\u0000';\\\\n }\\\\n\\\\n const num = val.length;\\\\n\\\\n bin.writeUshort(data, offset, tag);\\\\n offset += 2;\\\\n\\\\n bin.writeUshort(data, offset, typeNum);\\\\n offset += 2;\\\\n\\\\n bin.writeUint(data, offset, num);\\\\n offset += 4;\\\\n\\\\n let dlen = [-1, 1, 1, 2, 4, 8, 0, 0, 0, 0, 0, 0, 8][typeNum] * num;\\\\n let toff = offset;\\\\n\\\\n if (dlen > 4) {\\\\n bin.writeUint(data, offset, eoff);\\\\n toff = eoff;\\\\n }\\\\n\\\\n if (typeName === 'ASCII') {\\\\n bin.writeASCII(data, toff, val);\\\\n } else if (typeName === 'SHORT') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUshort(data, toff + (2 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'LONG') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (4 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'RATIONAL') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (8 * i), Math.round(val[i] * 10000));\\\\n bin.writeUint(data, toff + (8 * i) + 4, 10000);\\\\n });\\\\n } else if (typeName === 'DOUBLE') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeDouble(data, toff + (8 * i), val[i]);\\\\n });\\\\n }\\\\n\\\\n if (dlen > 4) {\\\\n dlen += (dlen & 1);\\\\n eoff += dlen;\\\\n }\\\\n\\\\n offset += 4;\\\\n }\\\\n\\\\n return [offset, eoff];\\\\n};\\\\n\\\\nconst encodeIfds = (ifds) => {\\\\n const data = new Uint8Array(numBytesInIfd);\\\\n let offset = 4;\\\\n const bin = _binBE;\\\\n\\\\n // set big-endian byte-order\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[0] = 77;\\\\n data[1] = 77;\\\\n\\\\n // set format-version number\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[3] = 42;\\\\n\\\\n let ifdo = 8;\\\\n\\\\n bin.writeUint(data, offset, ifdo);\\\\n\\\\n offset += 4;\\\\n\\\\n ifds.forEach((ifd, i) => {\\\\n const noffs = _writeIFD(bin, data, ifdo, ifd);\\\\n ifdo = noffs[1];\\\\n if (i < ifds.length - 1) {\\\\n bin.writeUint(data, noffs[0], ifdo);\\\\n }\\\\n });\\\\n\\\\n if (data.slice) {\\\\n return data.slice(0, ifdo).buffer;\\\\n }\\\\n\\\\n // node hasn't implemented slice on Uint8Array yet\\\\n const result = new Uint8Array(ifdo);\\\\n for (let i = 0; i < ifdo; i++) {\\\\n result[i] = data[i];\\\\n }\\\\n return result.buffer;\\\\n};\\\\n\\\\nconst encodeImage = (values, width, height, metadata) => {\\\\n if (height === undefined || height === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${height}`);\\\\n }\\\\n\\\\n if (width === undefined || width === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${width}`);\\\\n }\\\\n\\\\n const ifd = {\\\\n 256: [width], // ImageWidth\\\\n 257: [height], // ImageLength\\\\n 273: [numBytesInIfd], // strips offset\\\\n 278: [height], // RowsPerStrip\\\\n 305: 'geotiff.js', // no array for ASCII(Z)\\\\n };\\\\n\\\\n if (metadata) {\\\\n for (const i in metadata) {\\\\n if (metadata.hasOwnProperty(i)) {\\\\n ifd[i] = metadata[i];\\\\n }\\\\n }\\\\n }\\\\n\\\\n const prfx = new Uint8Array(encodeIfds([ifd]));\\\\n\\\\n const img = new Uint8Array(values);\\\\n\\\\n const samplesPerPixel = ifd[277];\\\\n\\\\n const data = new Uint8Array(numBytesInIfd + (width * height * samplesPerPixel));\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(prfx.length, (i) => {\\\\n data[i] = prfx[i];\\\\n });\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"forEach\\\\\\\"])(img, (value, i) => {\\\\n data[numBytesInIfd + i] = value;\\\\n });\\\\n\\\\n return data.buffer;\\\\n};\\\\n\\\\nconst convertToTids = (input) => {\\\\n const result = {};\\\\n for (const key in input) {\\\\n if (key !== 'StripOffsets') {\\\\n if (!name2code[key]) {\\\\n console.error(key, 'not in name2code:', Object.keys(name2code));\\\\n }\\\\n result[name2code[key]] = input[key];\\\\n }\\\\n }\\\\n return result;\\\\n};\\\\n\\\\nconst toArray = (input) => {\\\\n if (Array.isArray(input)) {\\\\n return input;\\\\n }\\\\n return [input];\\\\n};\\\\n\\\\nconst metadataDefaults = [\\\\n ['Compression', 1], // no compression\\\\n ['PlanarConfiguration', 1],\\\\n ['XPosition', 0],\\\\n ['YPosition', 0],\\\\n ['ResolutionUnit', 1], // Code 1 for actual pixel count or 2 for pixels per inch.\\\\n ['ExtraSamples', 0], // should this be an array??\\\\n ['GeoAsciiParams', 'WGS 84\\\\\\\\u0000'],\\\\n ['ModelTiepoint', [0, 0, 0, -180, 90, 0]], // raster fits whole globe\\\\n ['GTModelTypeGeoKey', 2],\\\\n ['GTRasterTypeGeoKey', 1],\\\\n ['GeographicTypeGeoKey', 4326],\\\\n ['GeogCitationGeoKey', 'WGS 84'],\\\\n];\\\\n\\\\nfunction writeGeotiff(data, metadata) {\\\\n const isFlattened = typeof data[0] === 'number';\\\\n\\\\n let height;\\\\n let numBands;\\\\n let width;\\\\n let flattenedValues;\\\\n\\\\n if (isFlattened) {\\\\n height = metadata.height || metadata.ImageLength;\\\\n width = metadata.width || metadata.ImageWidth;\\\\n numBands = data.length / (height * width);\\\\n flattenedValues = data;\\\\n } else {\\\\n numBands = data.length;\\\\n height = data[0].length;\\\\n width = data[0][0].length;\\\\n flattenedValues = [];\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(height, (rowIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(width, (columnIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, (bandIndex) => {\\\\n flattenedValues.push(data[bandIndex][rowIndex][columnIndex]);\\\\n });\\\\n });\\\\n });\\\\n }\\\\n\\\\n metadata.ImageLength = height;\\\\n delete metadata.height;\\\\n metadata.ImageWidth = width;\\\\n delete metadata.width;\\\\n\\\\n // consult https://www.loc.gov/preservation/digital/formats/content/tiff_tags.shtml\\\\n\\\\n if (!metadata.BitsPerSample) {\\\\n metadata.BitsPerSample = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 8);\\\\n }\\\\n\\\\n metadataDefaults.forEach((tag) => {\\\\n const key = tag[0];\\\\n if (!metadata[key]) {\\\\n const value = tag[1];\\\\n metadata[key] = value;\\\\n }\\\\n });\\\\n\\\\n // The color space of the image data.\\\\n // 1=black is zero and 2=RGB.\\\\n if (!metadata.PhotometricInterpretation) {\\\\n metadata.PhotometricInterpretation = metadata.BitsPerSample.length === 3 ? 2 : 1;\\\\n }\\\\n\\\\n // The number of components per pixel.\\\\n if (!metadata.SamplesPerPixel) {\\\\n metadata.SamplesPerPixel = [numBands];\\\\n }\\\\n\\\\n if (!metadata.StripByteCounts) {\\\\n // we are only writing one strip\\\\n metadata.StripByteCounts = [numBands * height * width];\\\\n }\\\\n\\\\n if (!metadata.ModelPixelScale) {\\\\n // assumes raster takes up exactly the whole globe\\\\n metadata.ModelPixelScale = [360 / width, 180 / height, 0];\\\\n }\\\\n\\\\n if (!metadata.SampleFormat) {\\\\n metadata.SampleFormat = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 1);\\\\n }\\\\n\\\\n\\\\n const geoKeys = Object.keys(metadata)\\\\n .filter((key) => Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(key, 'GeoKey'))\\\\n .sort((a, b) => name2code[a] - name2code[b]);\\\\n\\\\n if (!metadata.GeoKeyDirectory) {\\\\n const NumberOfKeys = geoKeys.length;\\\\n\\\\n const GeoKeyDirectory = [1, 1, 0, NumberOfKeys];\\\\n geoKeys.forEach((geoKey) => {\\\\n const KeyID = Number(name2code[geoKey]);\\\\n GeoKeyDirectory.push(KeyID);\\\\n\\\\n let Count;\\\\n let TIFFTagLocation;\\\\n let valueOffset;\\\\n if (_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][KeyID] === 'SHORT') {\\\\n Count = 1;\\\\n TIFFTagLocation = 0;\\\\n valueOffset = metadata[geoKey];\\\\n } else if (geoKey === 'GeogCitationGeoKey') {\\\\n Count = metadata.GeoAsciiParams.length;\\\\n TIFFTagLocation = Number(name2code.GeoAsciiParams);\\\\n valueOffset = 0;\\\\n } else {\\\\n console.log(`[geotiff.js] couldn't get TIFFTagLocation for ${geoKey}`);\\\\n }\\\\n GeoKeyDirectory.push(TIFFTagLocation);\\\\n GeoKeyDirectory.push(Count);\\\\n GeoKeyDirectory.push(valueOffset);\\\\n });\\\\n metadata.GeoKeyDirectory = GeoKeyDirectory;\\\\n }\\\\n\\\\n // delete GeoKeys from metadata, because stored in GeoKeyDirectory tag\\\\n for (const geoKey in geoKeys) {\\\\n if (geoKeys.hasOwnProperty(geoKey)) {\\\\n delete metadata[geoKey];\\\\n }\\\\n }\\\\n\\\\n [\\\\n 'Compression',\\\\n 'ExtraSamples',\\\\n 'GeographicTypeGeoKey',\\\\n 'GTModelTypeGeoKey',\\\\n 'GTRasterTypeGeoKey',\\\\n 'ImageLength', // synonym of ImageHeight\\\\n 'ImageWidth',\\\\n 'PhotometricInterpretation',\\\\n 'PlanarConfiguration',\\\\n 'ResolutionUnit',\\\\n 'SamplesPerPixel',\\\\n 'XPosition',\\\\n 'YPosition',\\\\n ].forEach((name) => {\\\\n if (metadata[name]) {\\\\n metadata[name] = toArray(metadata[name]);\\\\n }\\\\n });\\\\n\\\\n\\\\n const encodedMetadata = convertToTids(metadata);\\\\n\\\\n const outputImage = encodeImage(flattenedValues, width, height, encodedMetadata);\\\\n\\\\n return outputImage;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffwriter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/globals.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/globals.js ***!\\n \\\\*********************************************/\\n/*! exports provided: fieldTagNames, fieldTags, fieldTagTypes, arrayFields, fieldTypeNames, fieldTypes, photometricInterpretations, ExtraSamplesValues, geoKeyNames, geoKeys */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagNames\\\\\\\", function() { return fieldTagNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTags\\\\\\\", function() { return fieldTags; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagTypes\\\\\\\", function() { return fieldTagTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"arrayFields\\\\\\\", function() { return arrayFields; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypeNames\\\\\\\", function() { return fieldTypeNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypes\\\\\\\", function() { return fieldTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"photometricInterpretations\\\\\\\", function() { return photometricInterpretations; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"ExtraSamplesValues\\\\\\\", function() { return ExtraSamplesValues; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeyNames\\\\\\\", function() { return geoKeyNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeys\\\\\\\", function() { return geoKeys; });\\\\nconst fieldTagNames = {\\\\n // TIFF Baseline\\\\n 0x013B: 'Artist',\\\\n 0x0102: 'BitsPerSample',\\\\n 0x0109: 'CellLength',\\\\n 0x0108: 'CellWidth',\\\\n 0x0140: 'ColorMap',\\\\n 0x0103: 'Compression',\\\\n 0x8298: 'Copyright',\\\\n 0x0132: 'DateTime',\\\\n 0x0152: 'ExtraSamples',\\\\n 0x010A: 'FillOrder',\\\\n 0x0121: 'FreeByteCounts',\\\\n 0x0120: 'FreeOffsets',\\\\n 0x0123: 'GrayResponseCurve',\\\\n 0x0122: 'GrayResponseUnit',\\\\n 0x013C: 'HostComputer',\\\\n 0x010E: 'ImageDescription',\\\\n 0x0101: 'ImageLength',\\\\n 0x0100: 'ImageWidth',\\\\n 0x010F: 'Make',\\\\n 0x0119: 'MaxSampleValue',\\\\n 0x0118: 'MinSampleValue',\\\\n 0x0110: 'Model',\\\\n 0x00FE: 'NewSubfileType',\\\\n 0x0112: 'Orientation',\\\\n 0x0106: 'PhotometricInterpretation',\\\\n 0x011C: 'PlanarConfiguration',\\\\n 0x0128: 'ResolutionUnit',\\\\n 0x0116: 'RowsPerStrip',\\\\n 0x0115: 'SamplesPerPixel',\\\\n 0x0131: 'Software',\\\\n 0x0117: 'StripByteCounts',\\\\n 0x0111: 'StripOffsets',\\\\n 0x00FF: 'SubfileType',\\\\n 0x0107: 'Threshholding',\\\\n 0x011A: 'XResolution',\\\\n 0x011B: 'YResolution',\\\\n\\\\n // TIFF Extended\\\\n 0x0146: 'BadFaxLines',\\\\n 0x0147: 'CleanFaxData',\\\\n 0x0157: 'ClipPath',\\\\n 0x0148: 'ConsecutiveBadFaxLines',\\\\n 0x01B1: 'Decode',\\\\n 0x01B2: 'DefaultImageColor',\\\\n 0x010D: 'DocumentName',\\\\n 0x0150: 'DotRange',\\\\n 0x0141: 'HalftoneHints',\\\\n 0x015A: 'Indexed',\\\\n 0x015B: 'JPEGTables',\\\\n 0x011D: 'PageName',\\\\n 0x0129: 'PageNumber',\\\\n 0x013D: 'Predictor',\\\\n 0x013F: 'PrimaryChromaticities',\\\\n 0x0214: 'ReferenceBlackWhite',\\\\n 0x0153: 'SampleFormat',\\\\n 0x0154: 'SMinSampleValue',\\\\n 0x0155: 'SMaxSampleValue',\\\\n 0x022F: 'StripRowCounts',\\\\n 0x014A: 'SubIFDs',\\\\n 0x0124: 'T4Options',\\\\n 0x0125: 'T6Options',\\\\n 0x0145: 'TileByteCounts',\\\\n 0x0143: 'TileLength',\\\\n 0x0144: 'TileOffsets',\\\\n 0x0142: 'TileWidth',\\\\n 0x012D: 'TransferFunction',\\\\n 0x013E: 'WhitePoint',\\\\n 0x0158: 'XClipPathUnits',\\\\n 0x011E: 'XPosition',\\\\n 0x0211: 'YCbCrCoefficients',\\\\n 0x0213: 'YCbCrPositioning',\\\\n 0x0212: 'YCbCrSubSampling',\\\\n 0x0159: 'YClipPathUnits',\\\\n 0x011F: 'YPosition',\\\\n\\\\n // EXIF\\\\n 0x9202: 'ApertureValue',\\\\n 0xA001: 'ColorSpace',\\\\n 0x9004: 'DateTimeDigitized',\\\\n 0x9003: 'DateTimeOriginal',\\\\n 0x8769: 'Exif IFD',\\\\n 0x9000: 'ExifVersion',\\\\n 0x829A: 'ExposureTime',\\\\n 0xA300: 'FileSource',\\\\n 0x9209: 'Flash',\\\\n 0xA000: 'FlashpixVersion',\\\\n 0x829D: 'FNumber',\\\\n 0xA420: 'ImageUniqueID',\\\\n 0x9208: 'LightSource',\\\\n 0x927C: 'MakerNote',\\\\n 0x9201: 'ShutterSpeedValue',\\\\n 0x9286: 'UserComment',\\\\n\\\\n // IPTC\\\\n 0x83BB: 'IPTC',\\\\n\\\\n // ICC\\\\n 0x8773: 'ICC Profile',\\\\n\\\\n // XMP\\\\n 0x02BC: 'XMP',\\\\n\\\\n // GDAL\\\\n 0xA480: 'GDAL_METADATA',\\\\n 0xA481: 'GDAL_NODATA',\\\\n\\\\n // Photoshop\\\\n 0x8649: 'Photoshop',\\\\n\\\\n // GeoTiff\\\\n 0x830E: 'ModelPixelScale',\\\\n 0x8482: 'ModelTiepoint',\\\\n 0x85D8: 'ModelTransformation',\\\\n 0x87AF: 'GeoKeyDirectory',\\\\n 0x87B0: 'GeoDoubleParams',\\\\n 0x87B1: 'GeoAsciiParams',\\\\n};\\\\n\\\\nconst fieldTags = {};\\\\nfor (const key in fieldTagNames) {\\\\n if (fieldTagNames.hasOwnProperty(key)) {\\\\n fieldTags[fieldTagNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst fieldTagTypes = {\\\\n 256: 'SHORT',\\\\n 257: 'SHORT',\\\\n 258: 'SHORT',\\\\n 259: 'SHORT',\\\\n 262: 'SHORT',\\\\n 273: 'LONG',\\\\n 274: 'SHORT',\\\\n 277: 'SHORT',\\\\n 278: 'LONG',\\\\n 279: 'LONG',\\\\n 282: 'RATIONAL',\\\\n 283: 'RATIONAL',\\\\n 284: 'SHORT',\\\\n 286: 'SHORT',\\\\n 287: 'RATIONAL',\\\\n 296: 'SHORT',\\\\n 305: 'ASCII',\\\\n 306: 'ASCII',\\\\n 338: 'SHORT',\\\\n 339: 'SHORT',\\\\n 513: 'LONG',\\\\n 514: 'LONG',\\\\n 1024: 'SHORT',\\\\n 1025: 'SHORT',\\\\n 2048: 'SHORT',\\\\n 2049: 'ASCII',\\\\n 33550: 'DOUBLE',\\\\n 33922: 'DOUBLE',\\\\n 34665: 'LONG',\\\\n 34735: 'SHORT',\\\\n 34737: 'ASCII',\\\\n 42113: 'ASCII',\\\\n};\\\\n\\\\nconst arrayFields = [\\\\n fieldTags.BitsPerSample,\\\\n fieldTags.ExtraSamples,\\\\n fieldTags.SampleFormat,\\\\n fieldTags.StripByteCounts,\\\\n fieldTags.StripOffsets,\\\\n fieldTags.StripRowCounts,\\\\n fieldTags.TileByteCounts,\\\\n fieldTags.TileOffsets,\\\\n];\\\\n\\\\nconst fieldTypeNames = {\\\\n 0x0001: 'BYTE',\\\\n 0x0002: 'ASCII',\\\\n 0x0003: 'SHORT',\\\\n 0x0004: 'LONG',\\\\n 0x0005: 'RATIONAL',\\\\n 0x0006: 'SBYTE',\\\\n 0x0007: 'UNDEFINED',\\\\n 0x0008: 'SSHORT',\\\\n 0x0009: 'SLONG',\\\\n 0x000A: 'SRATIONAL',\\\\n 0x000B: 'FLOAT',\\\\n 0x000C: 'DOUBLE',\\\\n // IFD offset, suggested by https://owl.phy.queensu.ca/~phil/exiftool/standards.html\\\\n 0x000D: 'IFD',\\\\n // introduced by BigTIFF\\\\n 0x0010: 'LONG8',\\\\n 0x0011: 'SLONG8',\\\\n 0x0012: 'IFD8',\\\\n};\\\\n\\\\nconst fieldTypes = {};\\\\nfor (const key in fieldTypeNames) {\\\\n if (fieldTypeNames.hasOwnProperty(key)) {\\\\n fieldTypes[fieldTypeNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst photometricInterpretations = {\\\\n WhiteIsZero: 0,\\\\n BlackIsZero: 1,\\\\n RGB: 2,\\\\n Palette: 3,\\\\n TransparencyMask: 4,\\\\n CMYK: 5,\\\\n YCbCr: 6,\\\\n\\\\n CIELab: 8,\\\\n ICCLab: 9,\\\\n};\\\\n\\\\nconst ExtraSamplesValues = {\\\\n Unspecified: 0,\\\\n Assocalpha: 1,\\\\n Unassalpha: 2,\\\\n};\\\\n\\\\n\\\\nconst geoKeyNames = {\\\\n 1024: 'GTModelTypeGeoKey',\\\\n 1025: 'GTRasterTypeGeoKey',\\\\n 1026: 'GTCitationGeoKey',\\\\n 2048: 'GeographicTypeGeoKey',\\\\n 2049: 'GeogCitationGeoKey',\\\\n 2050: 'GeogGeodeticDatumGeoKey',\\\\n 2051: 'GeogPrimeMeridianGeoKey',\\\\n 2052: 'GeogLinearUnitsGeoKey',\\\\n 2053: 'GeogLinearUnitSizeGeoKey',\\\\n 2054: 'GeogAngularUnitsGeoKey',\\\\n 2055: 'GeogAngularUnitSizeGeoKey',\\\\n 2056: 'GeogEllipsoidGeoKey',\\\\n 2057: 'GeogSemiMajorAxisGeoKey',\\\\n 2058: 'GeogSemiMinorAxisGeoKey',\\\\n 2059: 'GeogInvFlatteningGeoKey',\\\\n 2060: 'GeogAzimuthUnitsGeoKey',\\\\n 2061: 'GeogPrimeMeridianLongGeoKey',\\\\n 2062: 'GeogTOWGS84GeoKey',\\\\n 3072: 'ProjectedCSTypeGeoKey',\\\\n 3073: 'PCSCitationGeoKey',\\\\n 3074: 'ProjectionGeoKey',\\\\n 3075: 'ProjCoordTransGeoKey',\\\\n 3076: 'ProjLinearUnitsGeoKey',\\\\n 3077: 'ProjLinearUnitSizeGeoKey',\\\\n 3078: 'ProjStdParallel1GeoKey',\\\\n 3079: 'ProjStdParallel2GeoKey',\\\\n 3080: 'ProjNatOriginLongGeoKey',\\\\n 3081: 'ProjNatOriginLatGeoKey',\\\\n 3082: 'ProjFalseEastingGeoKey',\\\\n 3083: 'ProjFalseNorthingGeoKey',\\\\n 3084: 'ProjFalseOriginLongGeoKey',\\\\n 3085: 'ProjFalseOriginLatGeoKey',\\\\n 3086: 'ProjFalseOriginEastingGeoKey',\\\\n 3087: 'ProjFalseOriginNorthingGeoKey',\\\\n 3088: 'ProjCenterLongGeoKey',\\\\n 3089: 'ProjCenterLatGeoKey',\\\\n 3090: 'ProjCenterEastingGeoKey',\\\\n 3091: 'ProjCenterNorthingGeoKey',\\\\n 3092: 'ProjScaleAtNatOriginGeoKey',\\\\n 3093: 'ProjScaleAtCenterGeoKey',\\\\n 3094: 'ProjAzimuthAngleGeoKey',\\\\n 3095: 'ProjStraightVertPoleLongGeoKey',\\\\n 3096: 'ProjRectifiedGridAngleGeoKey',\\\\n 4096: 'VerticalCSTypeGeoKey',\\\\n 4097: 'VerticalCitationGeoKey',\\\\n 4098: 'VerticalDatumGeoKey',\\\\n 4099: 'VerticalUnitsGeoKey',\\\\n};\\\\n\\\\nconst geoKeys = {};\\\\nfor (const key in geoKeyNames) {\\\\n if (geoKeyNames.hasOwnProperty(key)) {\\\\n geoKeys[geoKeyNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/globals.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/logging.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/logging.js ***!\\n \\\\*********************************************/\\n/*! exports provided: setLogger, log, info, warn, error, time, timeEnd */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return setLogger; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"log\\\\\\\", function() { return log; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"info\\\\\\\", function() { return info; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"warn\\\\\\\", function() { return warn; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"error\\\\\\\", function() { return error; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"time\\\\\\\", function() { return time; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"timeEnd\\\\\\\", function() { return timeEnd; });\\\\n\\\\n/**\\\\n * A no-op logger\\\\n */\\\\nclass DummyLogger {\\\\n log() {}\\\\n\\\\n info() {}\\\\n\\\\n warn() {}\\\\n\\\\n error() {}\\\\n\\\\n time() {}\\\\n\\\\n timeEnd() {}\\\\n}\\\\n\\\\nlet LOGGER = new DummyLogger();\\\\n\\\\n/**\\\\n *\\\\n * @param {object} logger the new logger. e.g `console`\\\\n */\\\\nfunction setLogger(logger = new DummyLogger()) {\\\\n LOGGER = logger;\\\\n}\\\\n\\\\nfunction log(...args) {\\\\n return LOGGER.log(...args);\\\\n}\\\\n\\\\nfunction info(...args) {\\\\n return LOGGER.info(...args);\\\\n}\\\\n\\\\nfunction warn(...args) {\\\\n return LOGGER.warn(...args);\\\\n}\\\\n\\\\nfunction error(...args) {\\\\n return LOGGER.error(...args);\\\\n}\\\\n\\\\nfunction time(...args) {\\\\n return LOGGER.time(...args);\\\\n}\\\\n\\\\nfunction timeEnd(...args) {\\\\n return LOGGER.timeEnd(...args);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/logging.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/pool.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/pool.js ***!\\n \\\\******************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* WEBPACK VAR INJECTION */(function(__webpack__worker__1) {/* harmony import */ var threads__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! threads */ \\\\\\\"./node_modules/threads/dist-esm/index.js\\\\\\\");\\\\n\\\\n\\\\nconst defaultPoolSize = typeof navigator !== 'undefined' ? navigator.hardwareConcurrency : null;\\\\n\\\\n/**\\\\n * @module pool\\\\n */\\\\n\\\\n/**\\\\n * Pool for workers to decode chunks of the images.\\\\n */\\\\nclass Pool {\\\\n /**\\\\n * @constructor\\\\n * @param {Number} size The size of the pool. Defaults to the number of CPUs\\\\n * available. When this parameter is `null` or 0, then the\\\\n * decoding will be done in the main thread.\\\\n */\\\\n constructor(size = defaultPoolSize) {\\\\n const worker = new threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Worker\\\\\\\"](__webpack__worker__1);\\\\n this.pool = Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Pool\\\\\\\"])(() => Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"spawn\\\\\\\"])(worker), size);\\\\n }\\\\n\\\\n /**\\\\n * Decode the given block of bytes with the set compression method.\\\\n * @param {ArrayBuffer} buffer the array buffer of bytes to decode.\\\\n * @returns {Promise.} the decoded result as a `Promise`\\\\n */\\\\n async decode(fileDirectory, buffer) {\\\\n return new Promise((resolve, reject) => {\\\\n this.pool.queue(async (decode) => {\\\\n try {\\\\n const data = await decode(fileDirectory, buffer);\\\\n resolve(data);\\\\n } catch (err) {\\\\n reject(err);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n\\\\n destroy() {\\\\n this.pool.terminate(true);\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Pool);\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/threads-plugin/dist/loader.js?{\\\\\\\"name\\\\\\\":\\\\\\\"1\\\\\\\"}!./decoder.worker.js */ \\\\\\\"./node_modules/threads-plugin/dist/loader.js?{\\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\"}!./node_modules/geotiff/src/decoder.worker.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/pool.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/predictor.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/predictor.js ***!\\n \\\\***********************************************/\\n/*! exports provided: applyPredictor */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"applyPredictor\\\\\\\", function() { return applyPredictor; });\\\\n\\\\nfunction decodeRowAcc(row, stride) {\\\\n let length = row.length - stride;\\\\n let offset = 0;\\\\n do {\\\\n for (let i = stride; i > 0; i--) {\\\\n row[offset + stride] += row[offset];\\\\n offset++;\\\\n }\\\\n\\\\n length -= stride;\\\\n } while (length > 0);\\\\n}\\\\n\\\\nfunction decodeRowFloatingPoint(row, stride, bytesPerSample) {\\\\n let index = 0;\\\\n let count = row.length;\\\\n const wc = count / bytesPerSample;\\\\n\\\\n while (count > stride) {\\\\n for (let i = stride; i > 0; --i) {\\\\n row[index + stride] += row[index];\\\\n ++index;\\\\n }\\\\n count -= stride;\\\\n }\\\\n\\\\n const copy = row.slice();\\\\n for (let i = 0; i < wc; ++i) {\\\\n for (let b = 0; b < bytesPerSample; ++b) {\\\\n row[(bytesPerSample * i) + b] = copy[((bytesPerSample - b - 1) * wc) + i];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction applyPredictor(block, predictor, width, height, bitsPerSample,\\\\n planarConfiguration) {\\\\n if (!predictor || predictor === 1) {\\\\n return block;\\\\n }\\\\n\\\\n for (let i = 0; i < bitsPerSample.length; ++i) {\\\\n if (bitsPerSample[i] % 8 !== 0) {\\\\n throw new Error('When decoding with predictor, only multiple of 8 bits are supported.');\\\\n }\\\\n if (bitsPerSample[i] !== bitsPerSample[0]) {\\\\n throw new Error('When decoding with predictor, all samples must have the same size.');\\\\n }\\\\n }\\\\n\\\\n const bytesPerSample = bitsPerSample[0] / 8;\\\\n const stride = planarConfiguration === 2 ? 1 : bitsPerSample.length;\\\\n\\\\n for (let i = 0; i < height; ++i) {\\\\n // Last strip will be truncated if height % stripHeight != 0\\\\n if (i * stride * width * bytesPerSample >= block.byteLength) {\\\\n break;\\\\n }\\\\n let row;\\\\n if (predictor === 2) { // horizontal prediction\\\\n switch (bitsPerSample[0]) {\\\\n case 8:\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n break;\\\\n case 16:\\\\n row = new Uint16Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 2,\\\\n );\\\\n break;\\\\n case 32:\\\\n row = new Uint32Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 4,\\\\n );\\\\n break;\\\\n default:\\\\n throw new Error(`Predictor 2 not allowed with ${bitsPerSample[0]} bits per sample.`);\\\\n }\\\\n decodeRowAcc(row, stride, bytesPerSample);\\\\n } else if (predictor === 3) { // horizontal floating point\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n decodeRowFloatingPoint(row, stride, bytesPerSample);\\\\n }\\\\n }\\\\n return block;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/predictor.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/resample.js\\\":\\n/*!**********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/resample.js ***!\\n \\\\**********************************************/\\n/*! exports provided: resampleNearest, resampleBilinear, resample, resampleNearestInterleaved, resampleBilinearInterleaved, resampleInterleaved */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearest\\\\\\\", function() { return resampleNearest; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinear\\\\\\\", function() { return resampleBilinear; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resample\\\\\\\", function() { return resample; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearestInterleaved\\\\\\\", function() { return resampleNearestInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinearInterleaved\\\\\\\", function() { return resampleBilinearInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleInterleaved\\\\\\\", function() { return resampleInterleaved; });\\\\n/**\\\\n * @module resample\\\\n */\\\\n\\\\nfunction copyNewSize(array, width, height, samplesPerPixel = 1) {\\\\n return new (Object.getPrototypeOf(array).constructor)(width * height * samplesPerPixel);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using nearest neighbor value selection.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n const value = array[(cy * inWidth) + cx];\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n// simple linear interpolation, code from:\\\\n// https://en.wikipedia.org/wiki/Linear_interpolation#Programming_language_support\\\\nfunction lerp(v0, v1, t) {\\\\n return ((1 - t) * v0) + (t * v1);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using bilinear interpolation.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n const ll = array[(yl * inWidth) + xl];\\\\n const hl = array[(yl * inWidth) + xh];\\\\n const lh = array[(yh * inWidth) + xl];\\\\n const hh = array[(yh * inWidth) + xh];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using the selected resampling method.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resample(valueArrays, inWidth, inHeight, outWidth, outHeight, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using nearest neighbor value selection.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n for (let i = 0; i < samples; ++i) {\\\\n const value = valueArray[(cy * inWidth * samples) + (cx * samples) + i];\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using bilinear interpolation.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n for (let i = 0; i < samples; ++i) {\\\\n const ll = valueArray[(yl * inWidth * samples) + (xl * samples) + i];\\\\n const hl = valueArray[(yl * inWidth * samples) + (xh * samples) + i];\\\\n const lh = valueArray[(yh * inWidth * samples) + (xl * samples) + i];\\\\n const hh = valueArray[(yh * inWidth * samples) + (xh * samples) + i];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using the selected resampling method.\\\\n * @param {TypedArray} valueArray The input array to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray} The resampled rasters\\\\n */\\\\nfunction resampleInterleaved(valueArray, inWidth, inHeight, outWidth, outHeight, samples, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/resample.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/rgb.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/geotiff/src/rgb.js ***!\\n \\\\*****************************************/\\n/*! exports provided: fromWhiteIsZero, fromBlackIsZero, fromPalette, fromCMYK, fromYCbCr, fromCIELab */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromWhiteIsZero\\\\\\\", function() { return fromWhiteIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlackIsZero\\\\\\\", function() { return fromBlackIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromPalette\\\\\\\", function() { return fromPalette; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCMYK\\\\\\\", function() { return fromCMYK; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromYCbCr\\\\\\\", function() { return fromYCbCr; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCIELab\\\\\\\", function() { return fromCIELab; });\\\\nfunction fromWhiteIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = 256 - (raster[i] / max * 256);\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromBlackIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = raster[i] / max * 256;\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromPalette(raster, colorMap) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n const greenOffset = colorMap.length / 3;\\\\n const blueOffset = colorMap.length / 3 * 2;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n const mapIndex = raster[i];\\\\n rgbRaster[j] = colorMap[mapIndex] / 65536 * 256;\\\\n rgbRaster[j + 1] = colorMap[mapIndex + greenOffset] / 65536 * 256;\\\\n rgbRaster[j + 2] = colorMap[mapIndex + blueOffset] / 65536 * 256;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromCMYK(cmykRaster) {\\\\n const { width, height } = cmykRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n for (let i = 0, j = 0; i < cmykRaster.length; i += 4, j += 3) {\\\\n const c = cmykRaster[i];\\\\n const m = cmykRaster[i + 1];\\\\n const y = cmykRaster[i + 2];\\\\n const k = cmykRaster[i + 3];\\\\n\\\\n rgbRaster[j] = 255 * ((255 - c) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 1] = 255 * ((255 - m) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 2] = 255 * ((255 - y) / 256) * ((255 - k) / 256);\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromYCbCr(yCbCrRaster) {\\\\n const { width, height } = yCbCrRaster;\\\\n const rgbRaster = new Uint8ClampedArray(width * height * 3);\\\\n for (let i = 0, j = 0; i < yCbCrRaster.length; i += 3, j += 3) {\\\\n const y = yCbCrRaster[i];\\\\n const cb = yCbCrRaster[i + 1];\\\\n const cr = yCbCrRaster[i + 2];\\\\n\\\\n rgbRaster[j] = (y + (1.40200 * (cr - 0x80)));\\\\n rgbRaster[j + 1] = (y - (0.34414 * (cb - 0x80)) - (0.71414 * (cr - 0x80)));\\\\n rgbRaster[j + 2] = (y + (1.77200 * (cb - 0x80)));\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nconst Xn = 0.95047;\\\\nconst Yn = 1.00000;\\\\nconst Zn = 1.08883;\\\\n\\\\n// from https://github.com/antimatter15/rgb-lab/blob/master/color.js\\\\n\\\\nfunction fromCIELab(cieLabRaster) {\\\\n const { width, height } = cieLabRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n\\\\n for (let i = 0, j = 0; i < cieLabRaster.length; i += 3, j += 3) {\\\\n const L = cieLabRaster[i + 0];\\\\n const a_ = cieLabRaster[i + 1] << 24 >> 24; // conversion from uint8 to int8\\\\n const b_ = cieLabRaster[i + 2] << 24 >> 24; // same\\\\n\\\\n let y = (L + 16) / 116;\\\\n let x = (a_ / 500) + y;\\\\n let z = y - (b_ / 200);\\\\n let r;\\\\n let g;\\\\n let b;\\\\n\\\\n x = Xn * ((x * x * x > 0.008856) ? x * x * x : (x - (16 / 116)) / 7.787);\\\\n y = Yn * ((y * y * y > 0.008856) ? y * y * y : (y - (16 / 116)) / 7.787);\\\\n z = Zn * ((z * z * z > 0.008856) ? z * z * z : (z - (16 / 116)) / 7.787);\\\\n\\\\n r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\\\\n g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\\\\n b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\\\\n\\\\n r = (r > 0.0031308) ? ((1.055 * (r ** (1 / 2.4))) - 0.055) : 12.92 * r;\\\\n g = (g > 0.0031308) ? ((1.055 * (g ** (1 / 2.4))) - 0.055) : 12.92 * g;\\\\n b = (b > 0.0031308) ? ((1.055 * (b ** (1 / 2.4))) - 0.055) : 12.92 * b;\\\\n\\\\n rgbRaster[j] = Math.max(0, Math.min(1, r)) * 255;\\\\n rgbRaster[j + 1] = Math.max(0, Math.min(1, g)) * 255;\\\\n rgbRaster[j + 2] = Math.max(0, Math.min(1, b)) * 255;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/rgb.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/source.js\\\":\\n/*!********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/source.js ***!\\n \\\\********************************************/\\n/*! exports provided: makeFetchSource, makeXHRSource, makeHttpSource, makeRemoteSource, makeBufferSource, makeFileSource, makeFileReaderSource */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFetchSource\\\\\\\", function() { return makeFetchSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeXHRSource\\\\\\\", function() { return makeXHRSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeHttpSource\\\\\\\", function() { return makeHttpSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeRemoteSource\\\\\\\", function() { return makeRemoteSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeBufferSource\\\\\\\", function() { return makeBufferSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileSource\\\\\\\", function() { return makeFileSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileReaderSource\\\\\\\", function() { return makeFileReaderSource; });\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\");\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(buffer__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fs */ \\\\\\\"fs\\\\\\\");\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! http */ \\\\\\\"http\\\\\\\");\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_2__);\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! https */ \\\\\\\"https\\\\\\\");\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(https__WEBPACK_IMPORTED_MODULE_3__);\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! url */ \\\\\\\"url\\\\\\\");\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction readRangeFromBlocks(blocks, rangeOffset, rangeLength) {\\\\n const rangeTop = rangeOffset + rangeLength;\\\\n const rangeData = new ArrayBuffer(rangeLength);\\\\n const rangeView = new Uint8Array(rangeData);\\\\n\\\\n for (const block of blocks) {\\\\n const delta = block.offset - rangeOffset;\\\\n const topDelta = block.top - rangeTop;\\\\n let blockInnerOffset = 0;\\\\n let rangeInnerOffset = 0;\\\\n let usedBlockLength;\\\\n\\\\n if (delta < 0) {\\\\n blockInnerOffset = -delta;\\\\n } else if (delta > 0) {\\\\n rangeInnerOffset = delta;\\\\n }\\\\n\\\\n if (topDelta < 0) {\\\\n usedBlockLength = block.length - blockInnerOffset;\\\\n } else {\\\\n usedBlockLength = rangeTop - block.offset - blockInnerOffset;\\\\n }\\\\n\\\\n const blockView = new Uint8Array(block.data, blockInnerOffset, usedBlockLength);\\\\n rangeView.set(blockView, rangeInnerOffset);\\\\n }\\\\n\\\\n return rangeData;\\\\n}\\\\n\\\\n/**\\\\n * Interface for Source objects.\\\\n * @interface Source\\\\n */\\\\n\\\\n/**\\\\n * @function Source#fetch\\\\n * @summary The main method to retrieve the data from the source.\\\\n * @param {number} offset The offset to read from in the source\\\\n * @param {number} length The requested number of bytes\\\\n */\\\\n\\\\n/**\\\\n * @typedef {object} Block\\\\n * @property {ArrayBuffer} data The actual data of the block.\\\\n * @property {number} offset The actual offset of the block within the file.\\\\n * @property {number} length The actual size of the block in bytes.\\\\n */\\\\n\\\\n/**\\\\n * Callback type for sources to request patches of data.\\\\n * @callback requestCallback\\\\n * @async\\\\n * @param {number} offset The offset within the file.\\\\n * @param {number} length The desired length of data to be read.\\\\n * @returns {Promise} The block of data.\\\\n */\\\\n\\\\n/**\\\\n * @module source\\\\n */\\\\n\\\\n/*\\\\n * Split a list of identifiers to form groups of coherent ones\\\\n */\\\\nfunction getCoherentBlockGroups(blockIds) {\\\\n if (blockIds.length === 0) {\\\\n return [];\\\\n }\\\\n\\\\n const groups = [];\\\\n let current = [];\\\\n groups.push(current);\\\\n\\\\n for (let i = 0; i < blockIds.length; ++i) {\\\\n if (i === 0 || blockIds[i] === blockIds[i - 1] + 1) {\\\\n current.push(blockIds[i]);\\\\n } else {\\\\n current = [blockIds[i]];\\\\n groups.push(current);\\\\n }\\\\n }\\\\n return groups;\\\\n}\\\\n\\\\n\\\\n/*\\\\n * Promisified wrapper around 'setTimeout' to allow 'await'\\\\n */\\\\nasync function wait(milliseconds) {\\\\n return new Promise((resolve) => setTimeout(resolve, milliseconds));\\\\n}\\\\n\\\\n/**\\\\n * BlockedSource - an abstraction of (remote) files.\\\\n * @implements Source\\\\n */\\\\nclass BlockedSource {\\\\n /**\\\\n * @param {requestCallback} retrievalFunction Callback function to request data\\\\n * @param {object} options Additional options\\\\n * @param {object} options.blockSize Size of blocks to be fetched\\\\n */\\\\n constructor(retrievalFunction, { blockSize = 65536 } = {}) {\\\\n this.retrievalFunction = retrievalFunction;\\\\n this.blockSize = blockSize;\\\\n\\\\n // currently running block requests\\\\n this.blockRequests = new Map();\\\\n\\\\n // already retrieved blocks\\\\n this.blocks = new Map();\\\\n\\\\n // block ids waiting for a batched request. Either a Set or null\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n /**\\\\n * Fetch a subset of the file.\\\\n * @param {number} offset The offset within the file to read from.\\\\n * @param {number} length The length in bytes to read from.\\\\n * @returns {ArrayBuffer} The subset of the file.\\\\n */\\\\n async fetch(offset, length, immediate = false) {\\\\n const top = offset + length;\\\\n\\\\n // calculate what blocks intersect the specified range (offset + length)\\\\n // determine what blocks are already stored or beeing requested\\\\n const firstBlockOffset = Math.floor(offset / this.blockSize) * this.blockSize;\\\\n const allBlockIds = [];\\\\n const missingBlockIds = [];\\\\n const blockRequests = [];\\\\n\\\\n for (let current = firstBlockOffset; current < top; current += this.blockSize) {\\\\n const blockId = Math.floor(current / this.blockSize);\\\\n if (!this.blocks.has(blockId) && !this.blockRequests.has(blockId)) {\\\\n missingBlockIds.push(blockId);\\\\n }\\\\n if (this.blockRequests.has(blockId)) {\\\\n blockRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n allBlockIds.push(blockId);\\\\n }\\\\n\\\\n // determine whether there are already blocks in the queue to be requested\\\\n // if so, add the missing blocks to this list\\\\n if (!this.blockIdsAwaitingRequest) {\\\\n this.blockIdsAwaitingRequest = new Set(missingBlockIds);\\\\n } else {\\\\n for (let i = 0; i < missingBlockIds.length; ++i) {\\\\n const id = missingBlockIds[i];\\\\n this.blockIdsAwaitingRequest.add(id);\\\\n }\\\\n }\\\\n\\\\n // in immediate mode, we don't want to wait for possible additional requests coming in\\\\n if (!immediate) {\\\\n await wait();\\\\n }\\\\n\\\\n // determine if we are the thread to start the requests.\\\\n if (this.blockIdsAwaitingRequest) {\\\\n // get all coherent blocks as groups to be requested in a single request\\\\n const groups = getCoherentBlockGroups(\\\\n Array.from(this.blockIdsAwaitingRequest).sort(),\\\\n );\\\\n\\\\n // iterate over all blocks\\\\n for (const group of groups) {\\\\n // fetch a group as in a single request\\\\n const request = this.requestData(\\\\n group[0] * this.blockSize, group.length * this.blockSize,\\\\n );\\\\n\\\\n // for each block in the request, make a small 'splitter',\\\\n // i.e: wait for the request to finish, then cut out the bytes for\\\\n // that block and store it there.\\\\n // we keep that as a promise in 'blockRequests' to allow waiting on\\\\n // a single block.\\\\n for (let i = 0; i < group.length; ++i) {\\\\n const id = group[i];\\\\n this.blockRequests.set(id, (async () => {\\\\n const response = await request;\\\\n const o = i * this.blockSize;\\\\n const t = Math.min(o + this.blockSize, response.data.byteLength);\\\\n const data = response.data.slice(o, t);\\\\n this.blockRequests.delete(id);\\\\n this.blocks.set(id, {\\\\n data,\\\\n offset: response.offset + o,\\\\n length: data.byteLength,\\\\n top: response.offset + t,\\\\n });\\\\n })());\\\\n }\\\\n }\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n // get a list of currently running requests for the blocks still missing\\\\n const missingRequests = [];\\\\n for (const blockId of missingBlockIds) {\\\\n if (this.blockRequests.has(blockId)) {\\\\n missingRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n }\\\\n\\\\n // wait for all missing requests to finish\\\\n await Promise.all(missingRequests);\\\\n await Promise.all(blockRequests);\\\\n\\\\n // now get all blocks for the request and return a summary buffer\\\\n const blocks = allBlockIds.map((id) => this.blocks.get(id));\\\\n return readRangeFromBlocks(blocks, offset, length);\\\\n }\\\\n\\\\n async requestData(requestedOffset, requestedLength) {\\\\n const response = await this.retrievalFunction(requestedOffset, requestedLength);\\\\n if (!response.length) {\\\\n response.length = response.data.byteLength;\\\\n } else if (response.length !== response.data.byteLength) {\\\\n response.data = response.data.slice(0, response.length);\\\\n }\\\\n response.top = response.offset + response.length;\\\\n return response;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [fetch]{@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFetchSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n const response = await fetch(url, {\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n },\\\\n });\\\\n\\\\n // check the response was okay and if the server actually understands range requests\\\\n if (!response.ok) {\\\\n throw new Error('Error fetching data.');\\\\n } else if (response.status === 206) {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset,\\\\n length,\\\\n };\\\\n } else {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n };\\\\n }\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [XHR]{@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeXHRSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n return new Promise((resolve, reject) => {\\\\n const request = new XMLHttpRequest();\\\\n request.open('GET', url);\\\\n request.responseType = 'arraybuffer';\\\\n const requestHeaders = { ...headers, Range: `bytes=${offset}-${offset + length - 1}` };\\\\n for (const [key, value] of Object.entries(requestHeaders)) {\\\\n request.setRequestHeader(key, value);\\\\n }\\\\n\\\\n request.onload = () => {\\\\n const data = request.response;\\\\n if (request.status === 206) {\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length,\\\\n });\\\\n } else {\\\\n resolve({\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n });\\\\n }\\\\n };\\\\n request.onerror = reject;\\\\n request.send();\\\\n });\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the node\\\\n * [http]{@link https://nodejs.org/api/http.html} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n */\\\\nfunction makeHttpSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => new Promise((resolve, reject) => {\\\\n const parsed = url__WEBPACK_IMPORTED_MODULE_4___default.a.parse(url);\\\\n const request = (parsed.protocol === 'http:' ? http__WEBPACK_IMPORTED_MODULE_2___default.a : https__WEBPACK_IMPORTED_MODULE_3___default.a).get(\\\\n { ...parsed,\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n } }, (result) => {\\\\n const chunks = [];\\\\n // collect chunks\\\\n result.on('data', (chunk) => {\\\\n chunks.push(chunk);\\\\n });\\\\n\\\\n // concatenate all chunks and resolve the promise with the resulting buffer\\\\n result.on('end', () => {\\\\n const data = buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].concat(chunks).buffer;\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length: data.byteLength,\\\\n });\\\\n });\\\\n },\\\\n );\\\\n request.on('error', reject);\\\\n }), { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file. Uses either XHR, fetch or nodes http API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Boolean} [options.forceXHR] Force the usage of XMLHttpRequest.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeRemoteSource(url, options) {\\\\n const { forceXHR } = options;\\\\n if (typeof fetch === 'function' && !forceXHR) {\\\\n return makeFetchSource(url, options);\\\\n }\\\\n if (typeof XMLHttpRequest !== 'undefined') {\\\\n return makeXHRSource(url, options);\\\\n }\\\\n if (http__WEBPACK_IMPORTED_MODULE_2___default.a.get) {\\\\n return makeHttpSource(url, options);\\\\n }\\\\n throw new Error('No remote source available');\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a local\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The ArrayBuffer to parse the GeoTIFF from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeBufferSource(arrayBuffer) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return arrayBuffer.slice(offset, offset + length);\\\\n },\\\\n };\\\\n}\\\\n\\\\nfunction closeAsync(fd) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"close\\\\\\\"])(fd, err => {\\\\n if (err) {\\\\n reject(err)\\\\n } else {\\\\n resolve()\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction openAsync(path, flags, mode = undefined) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"open\\\\\\\"])(path, flags, mode, (err, fd) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve(fd);\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction readAsync(...args) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"read\\\\\\\"])(...args, (err, bytesRead, buffer) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve({ bytesRead, buffer });\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Creates a new source using the node filesystem API.\\\\n * @param {string} path The path to the file in the local filesystem.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileSource(path) {\\\\n const fileOpen = openAsync(path, 'r');\\\\n\\\\n return {\\\\n async fetch(offset, length) {\\\\n const fd = await fileOpen;\\\\n const { buffer } = await readAsync(fd, buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].alloc(length), 0, length, offset);\\\\n return buffer.buffer;\\\\n },\\\\n async close() {\\\\n const fd = await fileOpen;\\\\n return await closeAsync(fd);\\\\n },\\\\n };\\\\n}\\\\n\\\\n/**\\\\n * Create a new source from a given file/blob.\\\\n * @param {Blob} file The file or blob to read from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileReaderSource(file) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return new Promise((resolve, reject) => {\\\\n const blob = file.slice(offset, offset + length);\\\\n const reader = new FileReader();\\\\n reader.onload = (event) => resolve(event.target.result);\\\\n reader.onerror = reject;\\\\n reader.readAsArrayBuffer(blob);\\\\n });\\\\n },\\\\n };\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/source.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/utils.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/utils.js ***!\\n \\\\*******************************************/\\n/*! exports provided: assign, chunk, endsWith, forEach, invert, range, times, toArray, toArrayRecursively */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"assign\\\\\\\", function() { return assign; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"chunk\\\\\\\", function() { return chunk; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"endsWith\\\\\\\", function() { return endsWith; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"forEach\\\\\\\", function() { return forEach; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"invert\\\\\\\", function() { return invert; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"range\\\\\\\", function() { return range; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"times\\\\\\\", function() { return times; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArray\\\\\\\", function() { return toArray; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArrayRecursively\\\\\\\", function() { return toArrayRecursively; });\\\\nfunction assign(target, source) {\\\\n for (const key in source) {\\\\n if (source.hasOwnProperty(key)) {\\\\n target[key] = source[key];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction chunk(iterable, length) {\\\\n const results = [];\\\\n const lengthOfIterable = iterable.length;\\\\n for (let i = 0; i < lengthOfIterable; i += length) {\\\\n const chunked = [];\\\\n for (let ci = i; ci < i + length; ci++) {\\\\n chunked.push(iterable[ci]);\\\\n }\\\\n results.push(chunked);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction endsWith(string, expectedEnding) {\\\\n if (string.length < expectedEnding.length) {\\\\n return false;\\\\n }\\\\n const actualEnding = string.substr(string.length - expectedEnding.length);\\\\n return actualEnding === expectedEnding;\\\\n}\\\\n\\\\nfunction forEach(iterable, func) {\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n func(iterable[i], i);\\\\n }\\\\n}\\\\n\\\\nfunction invert(oldObj) {\\\\n const newObj = {};\\\\n for (const key in oldObj) {\\\\n if (oldObj.hasOwnProperty(key)) {\\\\n const value = oldObj[key];\\\\n newObj[value] = key;\\\\n }\\\\n }\\\\n return newObj;\\\\n}\\\\n\\\\nfunction range(n) {\\\\n const results = [];\\\\n for (let i = 0; i < n; i++) {\\\\n results.push(i);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction times(numTimes, func) {\\\\n const results = [];\\\\n for (let i = 0; i < numTimes; i++) {\\\\n results.push(func(i));\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArray(iterable) {\\\\n const results = [];\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n results.push(iterable[i]);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArrayRecursively(input) {\\\\n if (input.length) {\\\\n return toArray(input).map(toArrayRecursively);\\\\n }\\\\n return input;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/inherits/inherits.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/inherits/inherits.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"try {\\\\n var util = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\");\\\\n /* istanbul ignore next */\\\\n if (typeof util.inherits !== 'function') throw '';\\\\n module.exports = util.inherits;\\\\n} catch (e) {\\\\n /* istanbul ignore next */\\\\n module.exports = __webpack_require__(/*! ./inherits_browser.js */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/inherits/inherits.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/inherits/inherits_browser.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/inherits/inherits_browser.js ***!\\n \\\\***************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"if (typeof Object.create === 'function') {\\\\n // implementation from standard node.js 'util' module\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n ctor.prototype = Object.create(superCtor.prototype, {\\\\n constructor: {\\\\n value: ctor,\\\\n enumerable: false,\\\\n writable: true,\\\\n configurable: true\\\\n }\\\\n })\\\\n }\\\\n };\\\\n} else {\\\\n // old school shim for old browsers\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n var TempCtor = function () {}\\\\n TempCtor.prototype = superCtor.prototype\\\\n ctor.prototype = new TempCtor()\\\\n ctor.prototype.constructor = ctor\\\\n }\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/inherits/inherits_browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/is-observable/index.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/is-observable/index.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nmodule.exports = value => {\\\\n\\\\tif (!value) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\tif (typeof Symbol.observable === 'symbol' && typeof value[Symbol.observable] === 'function') {\\\\n\\\\t\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\t\\\\treturn value === value[Symbol.observable]();\\\\n\\\\t}\\\\n\\\\n\\\\tif (typeof value['@@observable'] === 'function') {\\\\n\\\\t\\\\treturn value === value['@@observable']();\\\\n\\\\t}\\\\n\\\\n\\\\treturn false;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/is-observable/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/isarray/index.js\\\":\\n/*!***************************************!*\\\\\\n !*** ./node_modules/isarray/index.js ***!\\n \\\\***************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"var toString = {}.toString;\\\\n\\\\nmodule.exports = Array.isArray || function (arr) {\\\\n return toString.call(arr) == '[object Array]';\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/isarray/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_scheduler.js ***!\\n \\\\************************************************************/\\n/*! exports provided: AsyncSerialScheduler */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"AsyncSerialScheduler\\\\\\\", function() { return AsyncSerialScheduler; });\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nclass AsyncSerialScheduler {\\\\n constructor(observer) {\\\\n this._baseObserver = observer;\\\\n this._pendingPromises = new Set();\\\\n }\\\\n complete() {\\\\n Promise.all(this._pendingPromises)\\\\n .then(() => this._baseObserver.complete())\\\\n .catch(error => this._baseObserver.error(error));\\\\n }\\\\n error(error) {\\\\n this._baseObserver.error(error);\\\\n }\\\\n schedule(task) {\\\\n const prevPromisesCompletion = Promise.all(this._pendingPromises);\\\\n const values = [];\\\\n const next = (value) => values.push(value);\\\\n const promise = Promise.resolve()\\\\n .then(() => __awaiter(this, void 0, void 0, function* () {\\\\n yield prevPromisesCompletion;\\\\n yield task(next);\\\\n this._pendingPromises.delete(promise);\\\\n for (const value of values) {\\\\n this._baseObserver.next(value);\\\\n }\\\\n }))\\\\n .catch(error => {\\\\n this._pendingPromises.delete(promise);\\\\n this._baseObserver.error(error);\\\\n });\\\\n this._pendingPromises.add(promise);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_scheduler.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_symbols.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: hasSymbols, hasSymbol, getSymbol, registerObservableSymbol */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbols\\\\\\\", function() { return hasSymbols; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbol\\\\\\\", function() { return hasSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getSymbol\\\\\\\", function() { return getSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerObservableSymbol\\\\\\\", function() { return registerObservableSymbol; });\\\\nconst hasSymbols = () => typeof Symbol === \\\\\\\"function\\\\\\\";\\\\nconst hasSymbol = (name) => hasSymbols() && Boolean(Symbol[name]);\\\\nconst getSymbol = (name) => hasSymbol(name) ? Symbol[name] : \\\\\\\"@@\\\\\\\" + name;\\\\nfunction registerObservableSymbol() {\\\\n if (hasSymbols() && !hasSymbol(\\\\\\\"observable\\\\\\\")) {\\\\n Symbol.observable = Symbol(\\\\\\\"observable\\\\\\\");\\\\n }\\\\n}\\\\nif (!hasSymbol(\\\\\\\"asyncIterator\\\\\\\")) {\\\\n Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for(\\\\\\\"Symbol.asyncIterator\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_util.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_util.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: isAsyncIterator, isIterator */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isAsyncIterator\\\\\\\", function() { return isAsyncIterator; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isIterator\\\\\\\", function() { return isIterator; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/// \\\\n\\\\nfunction isAsyncIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"asyncIterator\\\\\\\") && thing[Symbol.asyncIterator];\\\\n}\\\\nfunction isIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\") && thing[Symbol.iterator];\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/filter.js\\\":\\n/*!********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/filter.js ***!\\n \\\\********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Filters the values emitted by another observable.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction filter(test) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n if (yield test(input)) {\\\\n next(input);\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (filter);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/filter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/flatMap.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_util */ \\\\\\\"./node_modules/observable-fns/dist.esm/_util.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nvar __asyncValues = (undefined && undefined.__asyncValues) || function (o) {\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\\"Symbol.asyncIterator is not defined.\\\\\\\");\\\\n var m = o[Symbol.asyncIterator], i;\\\\n return m ? m.call(o) : (o = typeof __values === \\\\\\\"function\\\\\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\\\\\"next\\\\\\\"), verb(\\\\\\\"throw\\\\\\\"), verb(\\\\\\\"return\\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable. In contrast to `map()`\\\\n * the `mapper` function returns an array of values that will be emitted\\\\n * separately.\\\\n * Use `flatMap()` to map input values to zero, one or multiple output\\\\n * values. To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction flatMap(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n var e_1, _a;\\\\n const mapped = yield mapper(input);\\\\n if (Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isIterator\\\\\\\"])(mapped) || Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isAsyncIterator\\\\\\\"])(mapped)) {\\\\n try {\\\\n for (var mapped_1 = __asyncValues(mapped), mapped_1_1; mapped_1_1 = yield mapped_1.next(), !mapped_1_1.done;) {\\\\n const element = mapped_1_1.value;\\\\n next(element);\\\\n }\\\\n }\\\\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\\\\n finally {\\\\n try {\\\\n if (mapped_1_1 && !mapped_1_1.done && (_a = mapped_1.return)) yield _a.call(mapped_1);\\\\n }\\\\n finally { if (e_1) throw e_1.error; }\\\\n }\\\\n }\\\\n else {\\\\n mapped.map(output => next(output));\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (flatMap);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/flatMap.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: filter, flatMap, interval, map, merge, multicast, Observable, scan, Subject, unsubscribe */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ \\\\\\\"./node_modules/observable-fns/dist.esm/filter.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"filter\\\\\\\", function() { return _filter__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _flatMap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./flatMap */ \\\\\\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"flatMap\\\\\\\", function() { return _flatMap__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _interval__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./interval */ \\\\\\\"./node_modules/observable-fns/dist.esm/interval.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"interval\\\\\\\", function() { return _interval__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \\\\\\\"./node_modules/observable-fns/dist.esm/map.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"map\\\\\\\", function() { return _map__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./merge */ \\\\\\\"./node_modules/observable-fns/dist.esm/merge.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"merge\\\\\\\", function() { return _merge__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./multicast */ \\\\\\\"./node_modules/observable-fns/dist.esm/multicast.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"multicast\\\\\\\", function() { return _multicast__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return _observable__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scan */ \\\\\\\"./node_modules/observable-fns/dist.esm/scan.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"scan\\\\\\\", function() { return _scan__WEBPACK_IMPORTED_MODULE_7__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subject\\\\\\\", function() { return _subject__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"unsubscribe\\\\\\\", function() { return _unsubscribe__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/interval.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/interval.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return interval; });\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n/**\\\\n * Creates an observable that yields a new value every `period` milliseconds.\\\\n * The first value emitted is 0, then 1, 2, etc. The first value is not emitted\\\\n * immediately, but after the first interval.\\\\n */\\\\nfunction interval(period) {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let counter = 0;\\\\n const handle = setInterval(() => {\\\\n observer.next(counter++);\\\\n }, period);\\\\n return () => clearInterval(handle);\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/interval.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/map.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/map.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable to different values.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction map(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const mapped = yield mapper(input);\\\\n next(mapped);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (map);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/map.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/merge.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/merge.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\nfunction merge(...observables) {\\\\n if (observables.length === 0) {\\\\n return _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"].from([]);\\\\n }\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let completed = 0;\\\\n const subscriptions = observables.map(input => {\\\\n return input.subscribe({\\\\n error(error) {\\\\n observer.error(error);\\\\n unsubscribeAll();\\\\n },\\\\n next(value) {\\\\n observer.next(value);\\\\n },\\\\n complete() {\\\\n if (++completed === observables.length) {\\\\n observer.complete();\\\\n unsubscribeAll();\\\\n }\\\\n }\\\\n });\\\\n });\\\\n const unsubscribeAll = () => {\\\\n subscriptions.forEach(subscription => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"])(subscription));\\\\n };\\\\n return unsubscribeAll;\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (merge);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/merge.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/multicast.js\\\":\\n/*!***********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/multicast.js ***!\\n \\\\***********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n// TODO: Subject already creates additional observables \\\\\\\"under the hood\\\\\\\",\\\\n// now we introduce even more. A true native MulticastObservable\\\\n// would be preferable.\\\\n/**\\\\n * Takes a \\\\\\\"cold\\\\\\\" observable and returns a wrapping \\\\\\\"hot\\\\\\\" observable that\\\\n * proxies the input observable's values and errors.\\\\n *\\\\n * An observable is called \\\\\\\"cold\\\\\\\" when its initialization function is run\\\\n * for each new subscriber. This is how observable-fns's `Observable`\\\\n * implementation works.\\\\n *\\\\n * A hot observable is an observable where new subscribers subscribe to\\\\n * the upcoming values of an already-initialiazed observable.\\\\n *\\\\n * The multicast observable will lazily subscribe to the source observable\\\\n * once it has its first own subscriber and will unsubscribe from the\\\\n * source observable when its last own subscriber unsubscribed.\\\\n */\\\\nfunction multicast(coldObservable) {\\\\n const subject = new _subject__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n let sourceSubscription;\\\\n let subscriberCount = 0;\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](observer => {\\\\n // Init source subscription lazily\\\\n if (!sourceSubscription) {\\\\n sourceSubscription = coldObservable.subscribe(subject);\\\\n }\\\\n // Pipe all events from `subject` into this observable\\\\n const subscription = subject.subscribe(observer);\\\\n subscriberCount++;\\\\n return () => {\\\\n subscriberCount--;\\\\n subscription.unsubscribe();\\\\n // Close source subscription once last subscriber has unsubscribed\\\\n if (subscriberCount === 0) {\\\\n Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(sourceSubscription);\\\\n sourceSubscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (multicast);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/multicast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/observable.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/observable.js ***!\\n \\\\************************************************************/\\n/*! exports provided: Subscription, SubscriptionObserver, Observable, default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subscription\\\\\\\", function() { return Subscription; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"SubscriptionObserver\\\\\\\", function() { return SubscriptionObserver; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return Observable; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/symbols.js\\\\\\\");\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/**\\\\n * Based on \\\\n * At commit: f63849a8c60af5d514efc8e9d6138d8273c49ad6\\\\n */\\\\n\\\\n\\\\nconst SymbolIterator = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\");\\\\nconst SymbolObservable = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"observable\\\\\\\");\\\\nconst SymbolSpecies = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"species\\\\\\\");\\\\n// === Abstract Operations ===\\\\nfunction getMethod(obj, key) {\\\\n const value = obj[key];\\\\n if (value == null) {\\\\n return undefined;\\\\n }\\\\n if (typeof value !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(value + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n return value;\\\\n}\\\\nfunction getSpecies(obj) {\\\\n let ctor = obj.constructor;\\\\n if (ctor !== undefined) {\\\\n ctor = ctor[SymbolSpecies];\\\\n if (ctor === null) {\\\\n ctor = undefined;\\\\n }\\\\n }\\\\n return ctor !== undefined ? ctor : Observable;\\\\n}\\\\nfunction isObservable(x) {\\\\n return x instanceof Observable; // SPEC: Brand check\\\\n}\\\\nfunction hostReportError(error) {\\\\n if (hostReportError.log) {\\\\n hostReportError.log(error);\\\\n }\\\\n else {\\\\n setTimeout(() => { throw error; }, 0);\\\\n }\\\\n}\\\\nfunction enqueue(fn) {\\\\n Promise.resolve().then(() => {\\\\n try {\\\\n fn();\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n });\\\\n}\\\\nfunction cleanupSubscription(subscription) {\\\\n const cleanup = subscription._cleanup;\\\\n if (cleanup === undefined) {\\\\n return;\\\\n }\\\\n subscription._cleanup = undefined;\\\\n if (!cleanup) {\\\\n return;\\\\n }\\\\n try {\\\\n if (typeof cleanup === \\\\\\\"function\\\\\\\") {\\\\n cleanup();\\\\n }\\\\n else {\\\\n const unsubscribe = getMethod(cleanup, \\\\\\\"unsubscribe\\\\\\\");\\\\n if (unsubscribe) {\\\\n unsubscribe.call(cleanup);\\\\n }\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n}\\\\nfunction closeSubscription(subscription) {\\\\n subscription._observer = undefined;\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"closed\\\\\\\";\\\\n}\\\\nfunction flushSubscription(subscription) {\\\\n const queue = subscription._queue;\\\\n if (!queue) {\\\\n return;\\\\n }\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n for (const item of queue) {\\\\n notifySubscription(subscription, item.type, item.value);\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n break;\\\\n }\\\\n }\\\\n}\\\\nfunction notifySubscription(subscription, type, value) {\\\\n subscription._state = \\\\\\\"running\\\\\\\";\\\\n const observer = subscription._observer;\\\\n try {\\\\n const m = observer ? getMethod(observer, type) : undefined;\\\\n switch (type) {\\\\n case \\\\\\\"next\\\\\\\":\\\\n if (m)\\\\n m.call(observer, value);\\\\n break;\\\\n case \\\\\\\"error\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer, value);\\\\n else\\\\n throw value;\\\\n break;\\\\n case \\\\\\\"complete\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer);\\\\n break;\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n cleanupSubscription(subscription);\\\\n }\\\\n else if (subscription._state === \\\\\\\"running\\\\\\\") {\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n}\\\\nfunction onNotify(subscription, type, value) {\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n return;\\\\n }\\\\n if (subscription._state === \\\\\\\"buffering\\\\\\\") {\\\\n subscription._queue = subscription._queue || [];\\\\n subscription._queue.push({ type, value });\\\\n return;\\\\n }\\\\n if (subscription._state !== \\\\\\\"ready\\\\\\\") {\\\\n subscription._state = \\\\\\\"buffering\\\\\\\";\\\\n subscription._queue = [{ type, value }];\\\\n enqueue(() => flushSubscription(subscription));\\\\n return;\\\\n }\\\\n notifySubscription(subscription, type, value);\\\\n}\\\\nclass Subscription {\\\\n constructor(observer, subscriber) {\\\\n // ASSERT: observer is an object\\\\n // ASSERT: subscriber is callable\\\\n this._cleanup = undefined;\\\\n this._observer = observer;\\\\n this._queue = undefined;\\\\n this._state = \\\\\\\"initializing\\\\\\\";\\\\n const subscriptionObserver = new SubscriptionObserver(this);\\\\n try {\\\\n this._cleanup = subscriber.call(undefined, subscriptionObserver);\\\\n }\\\\n catch (e) {\\\\n subscriptionObserver.error(e);\\\\n }\\\\n if (this._state === \\\\\\\"initializing\\\\\\\") {\\\\n this._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n }\\\\n get closed() {\\\\n return this._state === \\\\\\\"closed\\\\\\\";\\\\n }\\\\n unsubscribe() {\\\\n if (this._state !== \\\\\\\"closed\\\\\\\") {\\\\n closeSubscription(this);\\\\n cleanupSubscription(this);\\\\n }\\\\n }\\\\n}\\\\nclass SubscriptionObserver {\\\\n constructor(subscription) { this._subscription = subscription; }\\\\n get closed() { return this._subscription._state === \\\\\\\"closed\\\\\\\"; }\\\\n next(value) { onNotify(this._subscription, \\\\\\\"next\\\\\\\", value); }\\\\n error(value) { onNotify(this._subscription, \\\\\\\"error\\\\\\\", value); }\\\\n complete() { onNotify(this._subscription, \\\\\\\"complete\\\\\\\"); }\\\\n}\\\\n/**\\\\n * The basic Observable class. This primitive is used to wrap asynchronous\\\\n * data streams in a common standardized data type that is interoperable\\\\n * between libraries and can be composed to represent more complex processes.\\\\n */\\\\nclass Observable {\\\\n constructor(subscriber) {\\\\n if (!(this instanceof Observable)) {\\\\n throw new TypeError(\\\\\\\"Observable cannot be called as a function\\\\\\\");\\\\n }\\\\n if (typeof subscriber !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(\\\\\\\"Observable initializer must be a function\\\\\\\");\\\\n }\\\\n this._subscriber = subscriber;\\\\n }\\\\n subscribe(nextOrObserver, onError, onComplete) {\\\\n if (typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null) {\\\\n nextOrObserver = {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n };\\\\n }\\\\n return new Subscription(nextOrObserver, this._subscriber);\\\\n }\\\\n pipe(first, ...mappers) {\\\\n // tslint:disable-next-line no-this-assignment\\\\n let intermediate = this;\\\\n for (const mapper of [first, ...mappers]) {\\\\n intermediate = mapper(intermediate);\\\\n }\\\\n return intermediate;\\\\n }\\\\n tap(nextOrObserver, onError, onComplete) {\\\\n const tapObserver = typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null\\\\n ? {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n }\\\\n : nextOrObserver;\\\\n return new Observable(observer => {\\\\n return this.subscribe({\\\\n next(value) {\\\\n tapObserver.next && tapObserver.next(value);\\\\n observer.next(value);\\\\n },\\\\n error(error) {\\\\n tapObserver.error && tapObserver.error(error);\\\\n observer.error(error);\\\\n },\\\\n complete() {\\\\n tapObserver.complete && tapObserver.complete();\\\\n observer.complete();\\\\n },\\\\n start(subscription) {\\\\n tapObserver.start && tapObserver.start(subscription);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n forEach(fn) {\\\\n return new Promise((resolve, reject) => {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n reject(new TypeError(fn + \\\\\\\" is not a function\\\\\\\"));\\\\n return;\\\\n }\\\\n function done() {\\\\n subscription.unsubscribe();\\\\n resolve(undefined);\\\\n }\\\\n const subscription = this.subscribe({\\\\n next(value) {\\\\n try {\\\\n fn(value, done);\\\\n }\\\\n catch (e) {\\\\n reject(e);\\\\n subscription.unsubscribe();\\\\n }\\\\n },\\\\n error(error) {\\\\n reject(error);\\\\n },\\\\n complete() {\\\\n resolve(undefined);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n map(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n let propagatedValue = value;\\\\n try {\\\\n propagatedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(propagatedValue);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n filter(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n try {\\\\n if (!fn(value))\\\\n return;\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(value);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n reduce(fn, seed) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n const hasSeed = arguments.length > 1;\\\\n let hasValue = false;\\\\n let acc = seed;\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n const first = !hasValue;\\\\n hasValue = true;\\\\n if (!first || hasSeed) {\\\\n try {\\\\n acc = fn(acc, value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n acc = value;\\\\n }\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (!hasValue && !hasSeed) {\\\\n return observer.error(new TypeError(\\\\\\\"Cannot reduce an empty sequence\\\\\\\"));\\\\n }\\\\n observer.next(acc);\\\\n observer.complete();\\\\n },\\\\n }));\\\\n }\\\\n concat(...sources) {\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n let subscription;\\\\n let index = 0;\\\\n function startNext(next) {\\\\n subscription = next.subscribe({\\\\n next(v) { observer.next(v); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (index === sources.length) {\\\\n subscription = undefined;\\\\n observer.complete();\\\\n }\\\\n else {\\\\n startNext(C.from(sources[index++]));\\\\n }\\\\n },\\\\n });\\\\n }\\\\n startNext(this);\\\\n return () => {\\\\n if (subscription) {\\\\n subscription.unsubscribe();\\\\n subscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n }\\\\n flatMap(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n const subscriptions = [];\\\\n const outer = this.subscribe({\\\\n next(value) {\\\\n let normalizedValue;\\\\n if (fn) {\\\\n try {\\\\n normalizedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n normalizedValue = value;\\\\n }\\\\n const inner = C.from(normalizedValue).subscribe({\\\\n next(innerValue) { observer.next(innerValue); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n const i = subscriptions.indexOf(inner);\\\\n if (i >= 0)\\\\n subscriptions.splice(i, 1);\\\\n completeIfDone();\\\\n },\\\\n });\\\\n subscriptions.push(inner);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { completeIfDone(); },\\\\n });\\\\n function completeIfDone() {\\\\n if (outer.closed && subscriptions.length === 0) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n return () => {\\\\n subscriptions.forEach(s => s.unsubscribe());\\\\n outer.unsubscribe();\\\\n };\\\\n });\\\\n }\\\\n [(Symbol.observable, SymbolObservable)]() { return this; }\\\\n static from(x) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n if (x == null) {\\\\n throw new TypeError(x + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n const observableMethod = getMethod(x, SymbolObservable);\\\\n if (observableMethod) {\\\\n const observable = observableMethod.call(x);\\\\n if (Object(observable) !== observable) {\\\\n throw new TypeError(observable + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n if (isObservable(observable) && observable.constructor === C) {\\\\n return observable;\\\\n }\\\\n return new C(observer => observable.subscribe(observer));\\\\n }\\\\n if (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\")) {\\\\n const iteratorMethod = getMethod(x, SymbolIterator);\\\\n if (iteratorMethod) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of iteratorMethod.call(x)) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n }\\\\n if (Array.isArray(x)) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of x) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n throw new TypeError(x + \\\\\\\" is not observable\\\\\\\");\\\\n }\\\\n static of(...items) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of items) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n static get [SymbolSpecies]() { return this; }\\\\n}\\\\nif (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbols\\\\\\\"])()) {\\\\n Object.defineProperty(Observable, Symbol(\\\\\\\"extensions\\\\\\\"), {\\\\n value: {\\\\n symbol: SymbolObservable,\\\\n hostReportError,\\\\n },\\\\n configurable: true,\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Observable);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/observable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/scan.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/scan.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\nfunction scan(accumulator, seed) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n let accumulated;\\\\n let index = 0;\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(value) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const prevAcc = index === 0\\\\n ? (typeof seed === \\\\\\\"undefined\\\\\\\" ? value : seed)\\\\n : accumulated;\\\\n accumulated = yield accumulator(prevAcc, value, index++);\\\\n next(accumulated);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (scan);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/scan.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/subject.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/subject.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n// TODO: This observer iteration approach looks inelegant and expensive\\\\n// Idea: Come up with super class for Subscription that contains the\\\\n// notify*, ... methods and use it here\\\\n/**\\\\n * A subject is a \\\\\\\"hot\\\\\\\" observable (see `multicast`) that has its observer\\\\n * methods (`.next(value)`, `.error(error)`, `.complete()`) exposed.\\\\n *\\\\n * Be careful, though! With great power comes great responsibility. Only use\\\\n * the `Subject` when you really need to trigger updates \\\\\\\"from the outside\\\\\\\" and\\\\n * try to keep the code that can access it to a minimum. Return\\\\n * `Observable.from(mySubject)` to not allow other code to mutate.\\\\n */\\\\nclass MulticastSubject extends _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor() {\\\\n super(observer => {\\\\n this._observers.add(observer);\\\\n return () => this._observers.delete(observer);\\\\n });\\\\n this._observers = new Set();\\\\n }\\\\n next(value) {\\\\n for (const observer of this._observers) {\\\\n observer.next(value);\\\\n }\\\\n }\\\\n error(error) {\\\\n for (const observer of this._observers) {\\\\n observer.error(error);\\\\n }\\\\n }\\\\n complete() {\\\\n for (const observer of this._observers) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (MulticastSubject);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/subject.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/symbols.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/symbols.js ***!\\n \\\\*********************************************************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/unsubscribe.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/**\\\\n * Unsubscribe from a subscription returned by something that looks like an observable,\\\\n * but is not necessarily our observable implementation.\\\\n */\\\\nfunction unsubscribe(subscription) {\\\\n if (typeof subscription === \\\\\\\"function\\\\\\\") {\\\\n subscription();\\\\n }\\\\n else if (subscription && typeof subscription.unsubscribe === \\\\\\\"function\\\\\\\") {\\\\n subscription.unsubscribe();\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (unsubscribe);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/unsubscribe.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/inflate.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/pako/lib/inflate.js ***!\\n \\\\******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar zlib_inflate = __webpack_require__(/*! ./zlib/inflate */ \\\\\\\"./node_modules/pako/lib/zlib/inflate.js\\\\\\\");\\\\nvar utils = __webpack_require__(/*! ./utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar strings = __webpack_require__(/*! ./utils/strings */ \\\\\\\"./node_modules/pako/lib/utils/strings.js\\\\\\\");\\\\nvar c = __webpack_require__(/*! ./zlib/constants */ \\\\\\\"./node_modules/pako/lib/zlib/constants.js\\\\\\\");\\\\nvar msg = __webpack_require__(/*! ./zlib/messages */ \\\\\\\"./node_modules/pako/lib/zlib/messages.js\\\\\\\");\\\\nvar ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\\\\\"./node_modules/pako/lib/zlib/zstream.js\\\\\\\");\\\\nvar GZheader = __webpack_require__(/*! ./zlib/gzheader */ \\\\\\\"./node_modules/pako/lib/zlib/gzheader.js\\\\\\\");\\\\n\\\\nvar toString = Object.prototype.toString;\\\\n\\\\n/**\\\\n * class Inflate\\\\n *\\\\n * Generic JS-style wrapper for zlib calls. If you don't need\\\\n * streaming behaviour - use more simple functions: [[inflate]]\\\\n * and [[inflateRaw]].\\\\n **/\\\\n\\\\n/* internal\\\\n * inflate.chunks -> Array\\\\n *\\\\n * Chunks of output data, if [[Inflate#onData]] not overridden.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.result -> Uint8Array|Array|String\\\\n *\\\\n * Uncompressed result, generated by default [[Inflate#onData]]\\\\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\\\\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param) or if you\\\\n * push a chunk with explicit flush (call [[Inflate#push]] with\\\\n * `Z_SYNC_FLUSH` param).\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.err -> Number\\\\n *\\\\n * Error code after inflate finished. 0 (Z_OK) on success.\\\\n * Should be checked if broken data possible.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.msg -> String\\\\n *\\\\n * Error message, if [[Inflate.err]] != 0\\\\n **/\\\\n\\\\n\\\\n/**\\\\n * new Inflate(options)\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Creates new inflator instance with specified params. Throws exception\\\\n * on bad params. Supported options:\\\\n *\\\\n * - `windowBits`\\\\n * - `dictionary`\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information on these.\\\\n *\\\\n * Additional options, for internal needs:\\\\n *\\\\n * - `chunkSize` - size of generated data chunks (16K by default)\\\\n * - `raw` (Boolean) - do raw inflate\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n * By default, when no options set, autodetect deflate/gzip data format via\\\\n * wrapper header.\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9])\\\\n * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\\\n *\\\\n * var inflate = new pako.Inflate({ level: 3});\\\\n *\\\\n * inflate.push(chunk1, false);\\\\n * inflate.push(chunk2, true); // true -> last chunk\\\\n *\\\\n * if (inflate.err) { throw new Error(inflate.err); }\\\\n *\\\\n * console.log(inflate.result);\\\\n * ```\\\\n **/\\\\nfunction Inflate(options) {\\\\n if (!(this instanceof Inflate)) return new Inflate(options);\\\\n\\\\n this.options = utils.assign({\\\\n chunkSize: 16384,\\\\n windowBits: 0,\\\\n to: ''\\\\n }, options || {});\\\\n\\\\n var opt = this.options;\\\\n\\\\n // Force window size for `raw` data, if not set directly,\\\\n // because we have no header for autodetect.\\\\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\\\\n opt.windowBits = -opt.windowBits;\\\\n if (opt.windowBits === 0) { opt.windowBits = -15; }\\\\n }\\\\n\\\\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\\\\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\\\\n !(options && options.windowBits)) {\\\\n opt.windowBits += 32;\\\\n }\\\\n\\\\n // Gzip header has no info about windows size, we can do autodetect only\\\\n // for deflate. So, if window size not set, force it to max when gzip possible\\\\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\\\\n // bit 3 (16) -> gzipped data\\\\n // bit 4 (32) -> autodetect gzip/deflate\\\\n if ((opt.windowBits & 15) === 0) {\\\\n opt.windowBits |= 15;\\\\n }\\\\n }\\\\n\\\\n this.err = 0; // error code, if happens (0 = Z_OK)\\\\n this.msg = ''; // error message\\\\n this.ended = false; // used to avoid multiple onEnd() calls\\\\n this.chunks = []; // chunks of compressed data\\\\n\\\\n this.strm = new ZStream();\\\\n this.strm.avail_out = 0;\\\\n\\\\n var status = zlib_inflate.inflateInit2(\\\\n this.strm,\\\\n opt.windowBits\\\\n );\\\\n\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n\\\\n this.header = new GZheader();\\\\n\\\\n zlib_inflate.inflateGetHeader(this.strm, this.header);\\\\n\\\\n // Setup dictionary\\\\n if (opt.dictionary) {\\\\n // Convert data if needed\\\\n if (typeof opt.dictionary === 'string') {\\\\n opt.dictionary = strings.string2buf(opt.dictionary);\\\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\\\n opt.dictionary = new Uint8Array(opt.dictionary);\\\\n }\\\\n if (opt.raw) { //In raw mode we need to set the dictionary early\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary);\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Inflate#push(data[, mode]) -> Boolean\\\\n * - data (Uint8Array|Array|ArrayBuffer|String): input data\\\\n * - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\\\\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\\\\n *\\\\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\\\\n * new output chunks. Returns `true` on success. The last data block must have\\\\n * mode Z_FINISH (or `true`). That will flush internal pending buffers and call\\\\n * [[Inflate#onEnd]]. For interim explicit flushes (without ending the stream) you\\\\n * can use mode Z_SYNC_FLUSH, keeping the decompression context.\\\\n *\\\\n * On fail call [[Inflate#onEnd]] with error code and return false.\\\\n *\\\\n * We strongly recommend to use `Uint8Array` on input for best speed (output\\\\n * format is detected automatically). Also, don't skip last param and always\\\\n * use the same type in your code (boolean or number). That will improve JS speed.\\\\n *\\\\n * For regular `Array`-s make sure all elements are [0..255].\\\\n *\\\\n * ##### Example\\\\n *\\\\n * ```javascript\\\\n * push(chunk, false); // push one of data chunks\\\\n * ...\\\\n * push(chunk, true); // push last chunk\\\\n * ```\\\\n **/\\\\nInflate.prototype.push = function (data, mode) {\\\\n var strm = this.strm;\\\\n var chunkSize = this.options.chunkSize;\\\\n var dictionary = this.options.dictionary;\\\\n var status, _mode;\\\\n var next_out_utf8, tail, utf8str;\\\\n\\\\n // Flag to properly process Z_BUF_ERROR on testing inflate call\\\\n // when we check that all output data was flushed.\\\\n var allowBufError = false;\\\\n\\\\n if (this.ended) { return false; }\\\\n _mode = (mode === ~~mode) ? mode : ((mode === true) ? c.Z_FINISH : c.Z_NO_FLUSH);\\\\n\\\\n // Convert data if needed\\\\n if (typeof data === 'string') {\\\\n // Only binary strings can be decompressed on practice\\\\n strm.input = strings.binstring2buf(data);\\\\n } else if (toString.call(data) === '[object ArrayBuffer]') {\\\\n strm.input = new Uint8Array(data);\\\\n } else {\\\\n strm.input = data;\\\\n }\\\\n\\\\n strm.next_in = 0;\\\\n strm.avail_in = strm.input.length;\\\\n\\\\n do {\\\\n if (strm.avail_out === 0) {\\\\n strm.output = new utils.Buf8(chunkSize);\\\\n strm.next_out = 0;\\\\n strm.avail_out = chunkSize;\\\\n }\\\\n\\\\n status = zlib_inflate.inflate(strm, c.Z_NO_FLUSH); /* no bad return value */\\\\n\\\\n if (status === c.Z_NEED_DICT && dictionary) {\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, dictionary);\\\\n }\\\\n\\\\n if (status === c.Z_BUF_ERROR && allowBufError === true) {\\\\n status = c.Z_OK;\\\\n allowBufError = false;\\\\n }\\\\n\\\\n if (status !== c.Z_STREAM_END && status !== c.Z_OK) {\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return false;\\\\n }\\\\n\\\\n if (strm.next_out) {\\\\n if (strm.avail_out === 0 || status === c.Z_STREAM_END || (strm.avail_in === 0 && (_mode === c.Z_FINISH || _mode === c.Z_SYNC_FLUSH))) {\\\\n\\\\n if (this.options.to === 'string') {\\\\n\\\\n next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\\\\n\\\\n tail = strm.next_out - next_out_utf8;\\\\n utf8str = strings.buf2string(strm.output, next_out_utf8);\\\\n\\\\n // move tail\\\\n strm.next_out = tail;\\\\n strm.avail_out = chunkSize - tail;\\\\n if (tail) { utils.arraySet(strm.output, strm.output, next_out_utf8, tail, 0); }\\\\n\\\\n this.onData(utf8str);\\\\n\\\\n } else {\\\\n this.onData(utils.shrinkBuf(strm.output, strm.next_out));\\\\n }\\\\n }\\\\n }\\\\n\\\\n // When no more input data, we should check that internal inflate buffers\\\\n // are flushed. The only way to do it when avail_out = 0 - run one more\\\\n // inflate pass. But if output data not exists, inflate return Z_BUF_ERROR.\\\\n // Here we set flag to process this error properly.\\\\n //\\\\n // NOTE. Deflate does not return error in this case and does not needs such\\\\n // logic.\\\\n if (strm.avail_in === 0 && strm.avail_out === 0) {\\\\n allowBufError = true;\\\\n }\\\\n\\\\n } while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== c.Z_STREAM_END);\\\\n\\\\n if (status === c.Z_STREAM_END) {\\\\n _mode = c.Z_FINISH;\\\\n }\\\\n\\\\n // Finalize on the last chunk.\\\\n if (_mode === c.Z_FINISH) {\\\\n status = zlib_inflate.inflateEnd(this.strm);\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return status === c.Z_OK;\\\\n }\\\\n\\\\n // callback interim results if Z_SYNC_FLUSH.\\\\n if (_mode === c.Z_SYNC_FLUSH) {\\\\n this.onEnd(c.Z_OK);\\\\n strm.avail_out = 0;\\\\n return true;\\\\n }\\\\n\\\\n return true;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onData(chunk) -> Void\\\\n * - chunk (Uint8Array|Array|String): output data. Type of array depends\\\\n * on js engine support. When string output requested, each chunk\\\\n * will be string.\\\\n *\\\\n * By default, stores data blocks in `chunks[]` property and glue\\\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\\\n **/\\\\nInflate.prototype.onData = function (chunk) {\\\\n this.chunks.push(chunk);\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onEnd(status) -> Void\\\\n * - status (Number): inflate status. 0 (Z_OK) on success,\\\\n * other if not.\\\\n *\\\\n * Called either after you tell inflate that the input stream is\\\\n * complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH)\\\\n * or if an error happened. By default - join collected chunks,\\\\n * free memory and fill `results` / `err` properties.\\\\n **/\\\\nInflate.prototype.onEnd = function (status) {\\\\n // On success - join\\\\n if (status === c.Z_OK) {\\\\n if (this.options.to === 'string') {\\\\n // Glue & convert here, until we teach pako to send\\\\n // utf8 aligned strings to onData\\\\n this.result = this.chunks.join('');\\\\n } else {\\\\n this.result = utils.flattenChunks(this.chunks);\\\\n }\\\\n }\\\\n this.chunks = [];\\\\n this.err = status;\\\\n this.msg = this.strm.msg;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * inflate(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\\\\n * format via wrapper header by default. That's why we don't provide\\\\n * separate `ungzip` method.\\\\n *\\\\n * Supported options are:\\\\n *\\\\n * - windowBits\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information.\\\\n *\\\\n * Sugar (options):\\\\n *\\\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\\\n * negative windowBits implicitly.\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , input = pako.deflate([1,2,3,4,5,6,7,8,9])\\\\n * , output;\\\\n *\\\\n * try {\\\\n * output = pako.inflate(input);\\\\n * } catch (err)\\\\n * console.log(err);\\\\n * }\\\\n * ```\\\\n **/\\\\nfunction inflate(input, options) {\\\\n var inflator = new Inflate(options);\\\\n\\\\n inflator.push(input, true);\\\\n\\\\n // That will never happens, if you don't cheat with options :)\\\\n if (inflator.err) { throw inflator.msg || msg[inflator.err]; }\\\\n\\\\n return inflator.result;\\\\n}\\\\n\\\\n\\\\n/**\\\\n * inflateRaw(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * The same as [[inflate]], but creates raw data, without wrapper\\\\n * (header and adler32 crc).\\\\n **/\\\\nfunction inflateRaw(input, options) {\\\\n options = options || {};\\\\n options.raw = true;\\\\n return inflate(input, options);\\\\n}\\\\n\\\\n\\\\n/**\\\\n * ungzip(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Just shortcut to [[inflate]], because it autodetects format\\\\n * by header.content. Done for convenience.\\\\n **/\\\\n\\\\n\\\\nexports.Inflate = Inflate;\\\\nexports.inflate = inflate;\\\\nexports.inflateRaw = inflateRaw;\\\\nexports.ungzip = inflate;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/common.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/common.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar TYPED_OK = (typeof Uint8Array !== 'undefined') &&\\\\n (typeof Uint16Array !== 'undefined') &&\\\\n (typeof Int32Array !== 'undefined');\\\\n\\\\nfunction _has(obj, key) {\\\\n return Object.prototype.hasOwnProperty.call(obj, key);\\\\n}\\\\n\\\\nexports.assign = function (obj /*from1, from2, from3, ...*/) {\\\\n var sources = Array.prototype.slice.call(arguments, 1);\\\\n while (sources.length) {\\\\n var source = sources.shift();\\\\n if (!source) { continue; }\\\\n\\\\n if (typeof source !== 'object') {\\\\n throw new TypeError(source + 'must be non-object');\\\\n }\\\\n\\\\n for (var p in source) {\\\\n if (_has(source, p)) {\\\\n obj[p] = source[p];\\\\n }\\\\n }\\\\n }\\\\n\\\\n return obj;\\\\n};\\\\n\\\\n\\\\n// reduce buffer size, avoiding mem copy\\\\nexports.shrinkBuf = function (buf, size) {\\\\n if (buf.length === size) { return buf; }\\\\n if (buf.subarray) { return buf.subarray(0, size); }\\\\n buf.length = size;\\\\n return buf;\\\\n};\\\\n\\\\n\\\\nvar fnTyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n if (src.subarray && dest.subarray) {\\\\n dest.set(src.subarray(src_offs, src_offs + len), dest_offs);\\\\n return;\\\\n }\\\\n // Fallback to ordinary array\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n var i, l, len, pos, chunk, result;\\\\n\\\\n // calculate data length\\\\n len = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n len += chunks[i].length;\\\\n }\\\\n\\\\n // join chunks\\\\n result = new Uint8Array(len);\\\\n pos = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n chunk = chunks[i];\\\\n result.set(chunk, pos);\\\\n pos += chunk.length;\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n};\\\\n\\\\nvar fnUntyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n return [].concat.apply([], chunks);\\\\n }\\\\n};\\\\n\\\\n\\\\n// Enable/Disable typed arrays use, for testing\\\\n//\\\\nexports.setTyped = function (on) {\\\\n if (on) {\\\\n exports.Buf8 = Uint8Array;\\\\n exports.Buf16 = Uint16Array;\\\\n exports.Buf32 = Int32Array;\\\\n exports.assign(exports, fnTyped);\\\\n } else {\\\\n exports.Buf8 = Array;\\\\n exports.Buf16 = Array;\\\\n exports.Buf32 = Array;\\\\n exports.assign(exports, fnUntyped);\\\\n }\\\\n};\\\\n\\\\nexports.setTyped(TYPED_OK);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/strings.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/strings.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// String encode/decode helpers\\\\n\\\\n\\\\n\\\\nvar utils = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\n\\\\n// Quick check if we can use fast array to bin string conversion\\\\n//\\\\n// - apply(Array) can fail on Android 2.2\\\\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\\\\n//\\\\nvar STR_APPLY_OK = true;\\\\nvar STR_APPLY_UIA_OK = true;\\\\n\\\\ntry { String.fromCharCode.apply(null, [ 0 ]); } catch (__) { STR_APPLY_OK = false; }\\\\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\\\\n\\\\n\\\\n// Table with utf8 lengths (calculated by first byte of sequence)\\\\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\\\\n// because max possible codepoint is 0x10ffff\\\\nvar _utf8len = new utils.Buf8(256);\\\\nfor (var q = 0; q < 256; q++) {\\\\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\\\\n}\\\\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\\\\n\\\\n\\\\n// convert string to array (typed, when possible)\\\\nexports.string2buf = function (str) {\\\\n var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\\\\n\\\\n // count binary size\\\\n for (m_pos = 0; m_pos < str_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\\\\n }\\\\n\\\\n // allocate buffer\\\\n buf = new utils.Buf8(buf_len);\\\\n\\\\n // convert\\\\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n if (c < 0x80) {\\\\n /* one byte */\\\\n buf[i++] = c;\\\\n } else if (c < 0x800) {\\\\n /* two bytes */\\\\n buf[i++] = 0xC0 | (c >>> 6);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else if (c < 0x10000) {\\\\n /* three bytes */\\\\n buf[i++] = 0xE0 | (c >>> 12);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else {\\\\n /* four bytes */\\\\n buf[i++] = 0xf0 | (c >>> 18);\\\\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n }\\\\n }\\\\n\\\\n return buf;\\\\n};\\\\n\\\\n// Helper (used in 2 places)\\\\nfunction buf2binstring(buf, len) {\\\\n // On Chrome, the arguments in a function call that are allowed is `65534`.\\\\n // If the length of the buffer is smaller than that, we can use this optimization,\\\\n // otherwise we will take a slower path.\\\\n if (len < 65534) {\\\\n if ((buf.subarray && STR_APPLY_UIA_OK) || (!buf.subarray && STR_APPLY_OK)) {\\\\n return String.fromCharCode.apply(null, utils.shrinkBuf(buf, len));\\\\n }\\\\n }\\\\n\\\\n var result = '';\\\\n for (var i = 0; i < len; i++) {\\\\n result += String.fromCharCode(buf[i]);\\\\n }\\\\n return result;\\\\n}\\\\n\\\\n\\\\n// Convert byte array to binary string\\\\nexports.buf2binstring = function (buf) {\\\\n return buf2binstring(buf, buf.length);\\\\n};\\\\n\\\\n\\\\n// Convert binary string (typed, when possible)\\\\nexports.binstring2buf = function (str) {\\\\n var buf = new utils.Buf8(str.length);\\\\n for (var i = 0, len = buf.length; i < len; i++) {\\\\n buf[i] = str.charCodeAt(i);\\\\n }\\\\n return buf;\\\\n};\\\\n\\\\n\\\\n// convert array to string\\\\nexports.buf2string = function (buf, max) {\\\\n var i, out, c, c_len;\\\\n var len = max || buf.length;\\\\n\\\\n // Reserve max possible length (2 words per char)\\\\n // NB: by unknown reasons, Array is significantly faster for\\\\n // String.fromCharCode.apply than Uint16Array.\\\\n var utf16buf = new Array(len * 2);\\\\n\\\\n for (out = 0, i = 0; i < len;) {\\\\n c = buf[i++];\\\\n // quick process ascii\\\\n if (c < 0x80) { utf16buf[out++] = c; continue; }\\\\n\\\\n c_len = _utf8len[c];\\\\n // skip 5 & 6 byte codes\\\\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\\\\n\\\\n // apply mask on first byte\\\\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\\\\n // join the rest\\\\n while (c_len > 1 && i < len) {\\\\n c = (c << 6) | (buf[i++] & 0x3f);\\\\n c_len--;\\\\n }\\\\n\\\\n // terminated by end of string?\\\\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\\\\n\\\\n if (c < 0x10000) {\\\\n utf16buf[out++] = c;\\\\n } else {\\\\n c -= 0x10000;\\\\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\\\\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\\\\n }\\\\n }\\\\n\\\\n return buf2binstring(utf16buf, out);\\\\n};\\\\n\\\\n\\\\n// Calculate max possible position in utf8 buffer,\\\\n// that will not break sequence. If that's not possible\\\\n// - (very small limits) return max size as is.\\\\n//\\\\n// buf[] - utf8 bytes array\\\\n// max - length limit (mandatory);\\\\nexports.utf8border = function (buf, max) {\\\\n var pos;\\\\n\\\\n max = max || buf.length;\\\\n if (max > buf.length) { max = buf.length; }\\\\n\\\\n // go back from last position, until start of sequence found\\\\n pos = max - 1;\\\\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\\\\n\\\\n // Very small and broken sequence,\\\\n // return max, because we should return something anyway.\\\\n if (pos < 0) { return max; }\\\\n\\\\n // If we came to start of buffer - that means buffer is too small,\\\\n // return max too.\\\\n if (pos === 0) { return max; }\\\\n\\\\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/strings.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/adler32.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/adler32.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\\\\n// It isn't worth it to make additional optimizations as in original.\\\\n// Small size is preferable.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction adler32(adler, buf, len, pos) {\\\\n var s1 = (adler & 0xffff) |0,\\\\n s2 = ((adler >>> 16) & 0xffff) |0,\\\\n n = 0;\\\\n\\\\n while (len !== 0) {\\\\n // Set limit ~ twice less than 5552, to keep\\\\n // s2 in 31-bits, because we force signed ints.\\\\n // in other case %= will fail.\\\\n n = len > 2000 ? 2000 : len;\\\\n len -= n;\\\\n\\\\n do {\\\\n s1 = (s1 + buf[pos++]) |0;\\\\n s2 = (s2 + s1) |0;\\\\n } while (--n);\\\\n\\\\n s1 %= 65521;\\\\n s2 %= 65521;\\\\n }\\\\n\\\\n return (s1 | (s2 << 16)) |0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = adler32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/adler32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/constants.js\\\":\\n/*!*************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/constants.js ***!\\n \\\\*************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n\\\\n /* Allowed flush values; see deflate() and inflate() below for details */\\\\n Z_NO_FLUSH: 0,\\\\n Z_PARTIAL_FLUSH: 1,\\\\n Z_SYNC_FLUSH: 2,\\\\n Z_FULL_FLUSH: 3,\\\\n Z_FINISH: 4,\\\\n Z_BLOCK: 5,\\\\n Z_TREES: 6,\\\\n\\\\n /* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\n Z_OK: 0,\\\\n Z_STREAM_END: 1,\\\\n Z_NEED_DICT: 2,\\\\n Z_ERRNO: -1,\\\\n Z_STREAM_ERROR: -2,\\\\n Z_DATA_ERROR: -3,\\\\n //Z_MEM_ERROR: -4,\\\\n Z_BUF_ERROR: -5,\\\\n //Z_VERSION_ERROR: -6,\\\\n\\\\n /* compression levels */\\\\n Z_NO_COMPRESSION: 0,\\\\n Z_BEST_SPEED: 1,\\\\n Z_BEST_COMPRESSION: 9,\\\\n Z_DEFAULT_COMPRESSION: -1,\\\\n\\\\n\\\\n Z_FILTERED: 1,\\\\n Z_HUFFMAN_ONLY: 2,\\\\n Z_RLE: 3,\\\\n Z_FIXED: 4,\\\\n Z_DEFAULT_STRATEGY: 0,\\\\n\\\\n /* Possible values of the data_type field (though see inflate()) */\\\\n Z_BINARY: 0,\\\\n Z_TEXT: 1,\\\\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\\\\n Z_UNKNOWN: 2,\\\\n\\\\n /* The deflate compression method */\\\\n Z_DEFLATED: 8\\\\n //Z_NULL: null // Use -1 or null inline, depending on var type\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/constants.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/crc32.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/crc32.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: we can't get significant speed boost here.\\\\n// So write code to minimize size - no pregenerated tables\\\\n// and array tools dependencies.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// Use ordinary array, since untyped makes no boost here\\\\nfunction makeTable() {\\\\n var c, table = [];\\\\n\\\\n for (var n = 0; n < 256; n++) {\\\\n c = n;\\\\n for (var k = 0; k < 8; k++) {\\\\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\\\\n }\\\\n table[n] = c;\\\\n }\\\\n\\\\n return table;\\\\n}\\\\n\\\\n// Create table on load. Just 255 signed longs. Not a problem.\\\\nvar crcTable = makeTable();\\\\n\\\\n\\\\nfunction crc32(crc, buf, len, pos) {\\\\n var t = crcTable,\\\\n end = pos + len;\\\\n\\\\n crc ^= -1;\\\\n\\\\n for (var i = pos; i < end; i++) {\\\\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\\\\n }\\\\n\\\\n return (crc ^ (-1)); // >>> 0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = crc32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/crc32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/gzheader.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/gzheader.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction GZheader() {\\\\n /* true if compressed data believed to be text */\\\\n this.text = 0;\\\\n /* modification time */\\\\n this.time = 0;\\\\n /* extra flags (not used when writing a gzip file) */\\\\n this.xflags = 0;\\\\n /* operating system */\\\\n this.os = 0;\\\\n /* pointer to extra field or Z_NULL if none */\\\\n this.extra = null;\\\\n /* extra field length (valid if extra != Z_NULL) */\\\\n this.extra_len = 0; // Actually, we don't need it in JS,\\\\n // but leave for few code modifications\\\\n\\\\n //\\\\n // Setup limits is not necessary because in js we should not preallocate memory\\\\n // for inflate use constant limit in 65536 bytes\\\\n //\\\\n\\\\n /* space at extra (only when reading header) */\\\\n // this.extra_max = 0;\\\\n /* pointer to zero-terminated file name or Z_NULL */\\\\n this.name = '';\\\\n /* space at name (only when reading header) */\\\\n // this.name_max = 0;\\\\n /* pointer to zero-terminated comment or Z_NULL */\\\\n this.comment = '';\\\\n /* space at comment (only when reading header) */\\\\n // this.comm_max = 0;\\\\n /* true if there was or will be a header crc */\\\\n this.hcrc = 0;\\\\n /* true when done reading gzip header (not used when writing a gzip file) */\\\\n this.done = false;\\\\n}\\\\n\\\\nmodule.exports = GZheader;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/gzheader.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inffast.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inffast.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// See state defs from inflate.js\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\n\\\\n/*\\\\n Decode literal, length, and distance codes and write out the resulting\\\\n literal and match bytes until either not enough input or output is\\\\n available, an end-of-block is encountered, or a data error is encountered.\\\\n When large enough input and output buffers are supplied to inflate(), for\\\\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\\\\n inflate execution time is spent in this routine.\\\\n\\\\n Entry assumptions:\\\\n\\\\n state.mode === LEN\\\\n strm.avail_in >= 6\\\\n strm.avail_out >= 258\\\\n start >= strm.avail_out\\\\n state.bits < 8\\\\n\\\\n On return, state.mode is one of:\\\\n\\\\n LEN -- ran out of enough output space or enough available input\\\\n TYPE -- reached end of block code, inflate() to interpret next block\\\\n BAD -- error in block data\\\\n\\\\n Notes:\\\\n\\\\n - The maximum input bits used by a length/distance pair is 15 bits for the\\\\n length code, 5 bits for the length extra, 15 bits for the distance code,\\\\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\\\\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\\\\n checking for available input while decoding.\\\\n\\\\n - The maximum bytes that a single length/distance pair can output is 258\\\\n bytes, which is the maximum length that can be coded. inflate_fast()\\\\n requires strm.avail_out >= 258 for each loop to avoid checking for\\\\n output space.\\\\n */\\\\nmodule.exports = function inflate_fast(strm, start) {\\\\n var state;\\\\n var _in; /* local strm.input */\\\\n var last; /* have enough input while in < last */\\\\n var _out; /* local strm.output */\\\\n var beg; /* inflate()'s initial strm.output */\\\\n var end; /* while out < end, enough space available */\\\\n//#ifdef INFLATE_STRICT\\\\n var dmax; /* maximum distance from zlib header */\\\\n//#endif\\\\n var wsize; /* window size or zero if not using window */\\\\n var whave; /* valid bytes in the window */\\\\n var wnext; /* window write index */\\\\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\\\\n var s_window; /* allocated sliding window, if wsize != 0 */\\\\n var hold; /* local strm.hold */\\\\n var bits; /* local strm.bits */\\\\n var lcode; /* local strm.lencode */\\\\n var dcode; /* local strm.distcode */\\\\n var lmask; /* mask for first level of length codes */\\\\n var dmask; /* mask for first level of distance codes */\\\\n var here; /* retrieved table entry */\\\\n var op; /* code bits, operation, extra bits, or */\\\\n /* window position, window bytes to copy */\\\\n var len; /* match length, unused bytes */\\\\n var dist; /* match distance */\\\\n var from; /* where to copy match from */\\\\n var from_source;\\\\n\\\\n\\\\n var input, output; // JS specific, because we have no pointers\\\\n\\\\n /* copy state to local variables */\\\\n state = strm.state;\\\\n //here = state.here;\\\\n _in = strm.next_in;\\\\n input = strm.input;\\\\n last = _in + (strm.avail_in - 5);\\\\n _out = strm.next_out;\\\\n output = strm.output;\\\\n beg = _out - (start - strm.avail_out);\\\\n end = _out + (strm.avail_out - 257);\\\\n//#ifdef INFLATE_STRICT\\\\n dmax = state.dmax;\\\\n//#endif\\\\n wsize = state.wsize;\\\\n whave = state.whave;\\\\n wnext = state.wnext;\\\\n s_window = state.window;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n lcode = state.lencode;\\\\n dcode = state.distcode;\\\\n lmask = (1 << state.lenbits) - 1;\\\\n dmask = (1 << state.distbits) - 1;\\\\n\\\\n\\\\n /* decode literals and length/distances until end-of-block or not enough\\\\n input data or output space */\\\\n\\\\n top:\\\\n do {\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n\\\\n here = lcode[hold & lmask];\\\\n\\\\n dolen:\\\\n for (;;) { // Goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n if (op === 0) { /* literal */\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n output[_out++] = here & 0xffff/*here.val*/;\\\\n }\\\\n else if (op & 16) { /* length base */\\\\n len = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (op) {\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n len += hold & ((1 << op) - 1);\\\\n hold >>>= op;\\\\n bits -= op;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", len));\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n here = dcode[hold & dmask];\\\\n\\\\n dodist:\\\\n for (;;) { // goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n\\\\n if (op & 16) { /* distance base */\\\\n dist = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n }\\\\n dist += hold & ((1 << op) - 1);\\\\n//#ifdef INFLATE_STRICT\\\\n if (dist > dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n//#endif\\\\n hold >>>= op;\\\\n bits -= op;\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", dist));\\\\n op = _out - beg; /* max distance in output */\\\\n if (dist > op) { /* see if copy from window */\\\\n op = dist - op; /* distance back in window */\\\\n if (op > whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// if (len <= op - whave) {\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n// len -= op - whave;\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--op > whave);\\\\n// if (op === 0) {\\\\n// from = _out - dist;\\\\n// do {\\\\n// output[_out++] = output[from++];\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n//#endif\\\\n }\\\\n from = 0; // window index\\\\n from_source = s_window;\\\\n if (wnext === 0) { /* very common case */\\\\n from += wsize - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n else if (wnext < op) { /* wrap around window */\\\\n from += wsize + wnext - op;\\\\n op -= wnext;\\\\n if (op < len) { /* some from end of window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = 0;\\\\n if (wnext < len) { /* some from start of window */\\\\n op = wnext;\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n }\\\\n else { /* contiguous in window */\\\\n from += wnext - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n while (len > 2) {\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n len -= 3;\\\\n }\\\\n if (len) {\\\\n output[_out++] = from_source[from++];\\\\n if (len > 1) {\\\\n output[_out++] = from_source[from++];\\\\n }\\\\n }\\\\n }\\\\n else {\\\\n from = _out - dist; /* copy direct from output */\\\\n do { /* minimum length is three */\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n len -= 3;\\\\n } while (len > 2);\\\\n if (len) {\\\\n output[_out++] = output[from++];\\\\n if (len > 1) {\\\\n output[_out++] = output[from++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level distance code */\\\\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dodist;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level length code */\\\\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dolen;\\\\n }\\\\n else if (op & 32) { /* end-of-block */\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break top;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n } while (_in < last && _out < end);\\\\n\\\\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\\\\n len = bits >> 3;\\\\n _in -= len;\\\\n bits -= len << 3;\\\\n hold &= (1 << bits) - 1;\\\\n\\\\n /* update state and return */\\\\n strm.next_in = _in;\\\\n strm.next_out = _out;\\\\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\\\\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n return;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inffast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inflate.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inflate.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar adler32 = __webpack_require__(/*! ./adler32 */ \\\\\\\"./node_modules/pako/lib/zlib/adler32.js\\\\\\\");\\\\nvar crc32 = __webpack_require__(/*! ./crc32 */ \\\\\\\"./node_modules/pako/lib/zlib/crc32.js\\\\\\\");\\\\nvar inflate_fast = __webpack_require__(/*! ./inffast */ \\\\\\\"./node_modules/pako/lib/zlib/inffast.js\\\\\\\");\\\\nvar inflate_table = __webpack_require__(/*! ./inftrees */ \\\\\\\"./node_modules/pako/lib/zlib/inftrees.js\\\\\\\");\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\n/* Public constants ==========================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n/* Allowed flush values; see deflate() and inflate() below for details */\\\\n//var Z_NO_FLUSH = 0;\\\\n//var Z_PARTIAL_FLUSH = 1;\\\\n//var Z_SYNC_FLUSH = 2;\\\\n//var Z_FULL_FLUSH = 3;\\\\nvar Z_FINISH = 4;\\\\nvar Z_BLOCK = 5;\\\\nvar Z_TREES = 6;\\\\n\\\\n\\\\n/* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\nvar Z_OK = 0;\\\\nvar Z_STREAM_END = 1;\\\\nvar Z_NEED_DICT = 2;\\\\n//var Z_ERRNO = -1;\\\\nvar Z_STREAM_ERROR = -2;\\\\nvar Z_DATA_ERROR = -3;\\\\nvar Z_MEM_ERROR = -4;\\\\nvar Z_BUF_ERROR = -5;\\\\n//var Z_VERSION_ERROR = -6;\\\\n\\\\n/* The deflate compression method */\\\\nvar Z_DEFLATED = 8;\\\\n\\\\n\\\\n/* STATES ====================================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\nvar HEAD = 1; /* i: waiting for magic header */\\\\nvar FLAGS = 2; /* i: waiting for method and flags (gzip) */\\\\nvar TIME = 3; /* i: waiting for modification time (gzip) */\\\\nvar OS = 4; /* i: waiting for extra flags and operating system (gzip) */\\\\nvar EXLEN = 5; /* i: waiting for extra length (gzip) */\\\\nvar EXTRA = 6; /* i: waiting for extra bytes (gzip) */\\\\nvar NAME = 7; /* i: waiting for end of file name (gzip) */\\\\nvar COMMENT = 8; /* i: waiting for end of comment (gzip) */\\\\nvar HCRC = 9; /* i: waiting for header crc (gzip) */\\\\nvar DICTID = 10; /* i: waiting for dictionary check value */\\\\nvar DICT = 11; /* waiting for inflateSetDictionary() call */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\nvar TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */\\\\nvar STORED = 14; /* i: waiting for stored size (length and complement) */\\\\nvar COPY_ = 15; /* i/o: same as COPY below, but only first time in */\\\\nvar COPY = 16; /* i/o: waiting for input or output to copy stored block */\\\\nvar TABLE = 17; /* i: waiting for dynamic block table lengths */\\\\nvar LENLENS = 18; /* i: waiting for code length code lengths */\\\\nvar CODELENS = 19; /* i: waiting for length/lit and distance code lengths */\\\\nvar LEN_ = 20; /* i: same as LEN below, but only first time in */\\\\nvar LEN = 21; /* i: waiting for length/lit/eob code */\\\\nvar LENEXT = 22; /* i: waiting for length extra bits */\\\\nvar DIST = 23; /* i: waiting for distance code */\\\\nvar DISTEXT = 24; /* i: waiting for distance extra bits */\\\\nvar MATCH = 25; /* o: waiting for output space to copy string */\\\\nvar LIT = 26; /* o: waiting for output space to write literal */\\\\nvar CHECK = 27; /* i: waiting for 32-bit check value */\\\\nvar LENGTH = 28; /* i: waiting for 32-bit length (gzip) */\\\\nvar DONE = 29; /* finished check, done -- remain here until reset */\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar MEM = 31; /* got an inflate() memory error -- remain here until reset */\\\\nvar SYNC = 32; /* looking for synchronization bytes to restart inflate() */\\\\n\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar MAX_WBITS = 15;\\\\n/* 32K LZ77 window */\\\\nvar DEF_WBITS = MAX_WBITS;\\\\n\\\\n\\\\nfunction zswap32(q) {\\\\n return (((q >>> 24) & 0xff) +\\\\n ((q >>> 8) & 0xff00) +\\\\n ((q & 0xff00) << 8) +\\\\n ((q & 0xff) << 24));\\\\n}\\\\n\\\\n\\\\nfunction InflateState() {\\\\n this.mode = 0; /* current inflate mode */\\\\n this.last = false; /* true if processing last block */\\\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\\\\n this.havedict = false; /* true if dictionary provided */\\\\n this.flags = 0; /* gzip header method and flags (0 if zlib) */\\\\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\\\\n this.check = 0; /* protected copy of check value */\\\\n this.total = 0; /* protected copy of output count */\\\\n // TODO: may be {}\\\\n this.head = null; /* where to save gzip header information */\\\\n\\\\n /* sliding window */\\\\n this.wbits = 0; /* log base 2 of requested window size */\\\\n this.wsize = 0; /* window size or zero if not using window */\\\\n this.whave = 0; /* valid bytes in the window */\\\\n this.wnext = 0; /* window write index */\\\\n this.window = null; /* allocated sliding window, if needed */\\\\n\\\\n /* bit accumulator */\\\\n this.hold = 0; /* input bit accumulator */\\\\n this.bits = 0; /* number of bits in \\\\\\\"in\\\\\\\" */\\\\n\\\\n /* for string and stored block copying */\\\\n this.length = 0; /* literal or length of data to copy */\\\\n this.offset = 0; /* distance back to copy string from */\\\\n\\\\n /* for table and code decoding */\\\\n this.extra = 0; /* extra bits needed */\\\\n\\\\n /* fixed and dynamic code tables */\\\\n this.lencode = null; /* starting table for length/literal codes */\\\\n this.distcode = null; /* starting table for distance codes */\\\\n this.lenbits = 0; /* index bits for lencode */\\\\n this.distbits = 0; /* index bits for distcode */\\\\n\\\\n /* dynamic table building */\\\\n this.ncode = 0; /* number of code length code lengths */\\\\n this.nlen = 0; /* number of length code lengths */\\\\n this.ndist = 0; /* number of distance code lengths */\\\\n this.have = 0; /* number of code lengths in lens[] */\\\\n this.next = null; /* next available space in codes[] */\\\\n\\\\n this.lens = new utils.Buf16(320); /* temporary storage for code lengths */\\\\n this.work = new utils.Buf16(288); /* work area for code table building */\\\\n\\\\n /*\\\\n because we don't have pointers in js, we use lencode and distcode directly\\\\n as buffers so we don't need codes\\\\n */\\\\n //this.codes = new utils.Buf32(ENOUGH); /* space for code tables */\\\\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\\\\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\\\\n this.sane = 0; /* if false, allow invalid distance too far */\\\\n this.back = 0; /* bits back of last unprocessed length/lit */\\\\n this.was = 0; /* initial length of match */\\\\n}\\\\n\\\\nfunction inflateResetKeep(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n strm.total_in = strm.total_out = state.total = 0;\\\\n strm.msg = ''; /*Z_NULL*/\\\\n if (state.wrap) { /* to support ill-conceived Java test suite */\\\\n strm.adler = state.wrap & 1;\\\\n }\\\\n state.mode = HEAD;\\\\n state.last = 0;\\\\n state.havedict = 0;\\\\n state.dmax = 32768;\\\\n state.head = null/*Z_NULL*/;\\\\n state.hold = 0;\\\\n state.bits = 0;\\\\n //state.lencode = state.distcode = state.next = state.codes;\\\\n state.lencode = state.lendyn = new utils.Buf32(ENOUGH_LENS);\\\\n state.distcode = state.distdyn = new utils.Buf32(ENOUGH_DISTS);\\\\n\\\\n state.sane = 1;\\\\n state.back = -1;\\\\n //Tracev((stderr, \\\\\\\"inflate: reset\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateReset(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n state.wsize = 0;\\\\n state.whave = 0;\\\\n state.wnext = 0;\\\\n return inflateResetKeep(strm);\\\\n\\\\n}\\\\n\\\\nfunction inflateReset2(strm, windowBits) {\\\\n var wrap;\\\\n var state;\\\\n\\\\n /* get the state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n /* extract wrap request from windowBits parameter */\\\\n if (windowBits < 0) {\\\\n wrap = 0;\\\\n windowBits = -windowBits;\\\\n }\\\\n else {\\\\n wrap = (windowBits >> 4) + 1;\\\\n if (windowBits < 48) {\\\\n windowBits &= 15;\\\\n }\\\\n }\\\\n\\\\n /* set number of window bits, free window if different */\\\\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n if (state.window !== null && state.wbits !== windowBits) {\\\\n state.window = null;\\\\n }\\\\n\\\\n /* update state and reset the rest of it */\\\\n state.wrap = wrap;\\\\n state.wbits = windowBits;\\\\n return inflateReset(strm);\\\\n}\\\\n\\\\nfunction inflateInit2(strm, windowBits) {\\\\n var ret;\\\\n var state;\\\\n\\\\n if (!strm) { return Z_STREAM_ERROR; }\\\\n //strm.msg = Z_NULL; /* in case we return an error */\\\\n\\\\n state = new InflateState();\\\\n\\\\n //if (state === Z_NULL) return Z_MEM_ERROR;\\\\n //Tracev((stderr, \\\\\\\"inflate: allocated\\\\\\\\n\\\\\\\"));\\\\n strm.state = state;\\\\n state.window = null/*Z_NULL*/;\\\\n ret = inflateReset2(strm, windowBits);\\\\n if (ret !== Z_OK) {\\\\n strm.state = null/*Z_NULL*/;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateInit(strm) {\\\\n return inflateInit2(strm, DEF_WBITS);\\\\n}\\\\n\\\\n\\\\n/*\\\\n Return state with length and distance decoding tables and index sizes set to\\\\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\\\\n If BUILDFIXED is defined, then instead this routine builds the tables the\\\\n first time it's called, and returns those tables the first time and\\\\n thereafter. This reduces the size of the code by about 2K bytes, in\\\\n exchange for a little execution time. However, BUILDFIXED should not be\\\\n used for threaded applications, since the rewriting of the tables and virgin\\\\n may not be thread-safe.\\\\n */\\\\nvar virgin = true;\\\\n\\\\nvar lenfix, distfix; // We have no pointers in JS, so keep tables separate\\\\n\\\\nfunction fixedtables(state) {\\\\n /* build fixed huffman tables if first call (may not be thread safe) */\\\\n if (virgin) {\\\\n var sym;\\\\n\\\\n lenfix = new utils.Buf32(512);\\\\n distfix = new utils.Buf32(32);\\\\n\\\\n /* literal/length table */\\\\n sym = 0;\\\\n while (sym < 144) { state.lens[sym++] = 8; }\\\\n while (sym < 256) { state.lens[sym++] = 9; }\\\\n while (sym < 280) { state.lens[sym++] = 7; }\\\\n while (sym < 288) { state.lens[sym++] = 8; }\\\\n\\\\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\\\\n\\\\n /* distance table */\\\\n sym = 0;\\\\n while (sym < 32) { state.lens[sym++] = 5; }\\\\n\\\\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\\\\n\\\\n /* do this just once */\\\\n virgin = false;\\\\n }\\\\n\\\\n state.lencode = lenfix;\\\\n state.lenbits = 9;\\\\n state.distcode = distfix;\\\\n state.distbits = 5;\\\\n}\\\\n\\\\n\\\\n/*\\\\n Update the window with the last wsize (normally 32K) bytes written before\\\\n returning. If window does not exist yet, create it. This is only called\\\\n when a window is already in use, or when output has been written during this\\\\n inflate call, but the end of the deflate stream has not been reached yet.\\\\n It is also called to create a window for dictionary data when a dictionary\\\\n is loaded.\\\\n\\\\n Providing output buffers larger than 32K to inflate() should provide a speed\\\\n advantage, since only the last 32K of output is copied to the sliding window\\\\n upon return from inflate(), and since all distances after the first 32K of\\\\n output will fall in the output data, making match copies simpler and faster.\\\\n The advantage may be dependent on the size of the processor's data caches.\\\\n */\\\\nfunction updatewindow(strm, src, end, copy) {\\\\n var dist;\\\\n var state = strm.state;\\\\n\\\\n /* if it hasn't been done already, allocate space for the window */\\\\n if (state.window === null) {\\\\n state.wsize = 1 << state.wbits;\\\\n state.wnext = 0;\\\\n state.whave = 0;\\\\n\\\\n state.window = new utils.Buf8(state.wsize);\\\\n }\\\\n\\\\n /* copy state->wsize or less output bytes into the circular window */\\\\n if (copy >= state.wsize) {\\\\n utils.arraySet(state.window, src, end - state.wsize, state.wsize, 0);\\\\n state.wnext = 0;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n dist = state.wsize - state.wnext;\\\\n if (dist > copy) {\\\\n dist = copy;\\\\n }\\\\n //zmemcpy(state->window + state->wnext, end - copy, dist);\\\\n utils.arraySet(state.window, src, end - copy, dist, state.wnext);\\\\n copy -= dist;\\\\n if (copy) {\\\\n //zmemcpy(state->window, end - copy, copy);\\\\n utils.arraySet(state.window, src, end - copy, copy, 0);\\\\n state.wnext = copy;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n state.wnext += dist;\\\\n if (state.wnext === state.wsize) { state.wnext = 0; }\\\\n if (state.whave < state.wsize) { state.whave += dist; }\\\\n }\\\\n }\\\\n return 0;\\\\n}\\\\n\\\\nfunction inflate(strm, flush) {\\\\n var state;\\\\n var input, output; // input/output buffers\\\\n var next; /* next input INDEX */\\\\n var put; /* next output INDEX */\\\\n var have, left; /* available input and output */\\\\n var hold; /* bit buffer */\\\\n var bits; /* bits in bit buffer */\\\\n var _in, _out; /* save starting available input and output */\\\\n var copy; /* number of stored or match bytes to copy */\\\\n var from; /* where to copy match bytes from */\\\\n var from_source;\\\\n var here = 0; /* current decoding table entry */\\\\n var here_bits, here_op, here_val; // paked \\\\\\\"here\\\\\\\" denormalized (JS specific)\\\\n //var last; /* parent table entry */\\\\n var last_bits, last_op, last_val; // paked \\\\\\\"last\\\\\\\" denormalized (JS specific)\\\\n var len; /* length to copy for repeats, bits to drop */\\\\n var ret; /* return code */\\\\n var hbuf = new utils.Buf8(4); /* buffer for gzip header crc calculation */\\\\n var opts;\\\\n\\\\n var n; // temporary var for NEED_BITS\\\\n\\\\n var order = /* permutation of code lengths */\\\\n [ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ];\\\\n\\\\n\\\\n if (!strm || !strm.state || !strm.output ||\\\\n (!strm.input && strm.avail_in !== 0)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n state = strm.state;\\\\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\\\\n\\\\n\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n _in = have;\\\\n _out = left;\\\\n ret = Z_OK;\\\\n\\\\n inf_leave: // goto emulation\\\\n for (;;) {\\\\n switch (state.mode) {\\\\n case HEAD:\\\\n if (state.wrap === 0) {\\\\n state.mode = TYPEDO;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(16);\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\\\\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = FLAGS;\\\\n break;\\\\n }\\\\n state.flags = 0; /* expect zlib header */\\\\n if (state.head) {\\\\n state.head.done = false;\\\\n }\\\\n if (!(state.wrap & 1) || /* check if zlib header allowed */\\\\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\\\\n strm.msg = 'incorrect header check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\\\\n if (state.wbits === 0) {\\\\n state.wbits = len;\\\\n }\\\\n else if (len > state.wbits) {\\\\n strm.msg = 'invalid window size';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.dmax = 1 << len;\\\\n //Tracev((stderr, \\\\\\\"inflate: zlib header ok\\\\\\\\n\\\\\\\"));\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = hold & 0x200 ? DICTID : TYPE;\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n break;\\\\n case FLAGS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.flags = hold;\\\\n if ((state.flags & 0xff) !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.flags & 0xe000) {\\\\n strm.msg = 'unknown header flags set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.head) {\\\\n state.head.text = ((hold >> 8) & 1);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = TIME;\\\\n /* falls through */\\\\n case TIME:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.time = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC4(state.check, hold)\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n hbuf[2] = (hold >>> 16) & 0xff;\\\\n hbuf[3] = (hold >>> 24) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 4, 0);\\\\n //===\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = OS;\\\\n /* falls through */\\\\n case OS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.xflags = (hold & 0xff);\\\\n state.head.os = (hold >> 8);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = EXLEN;\\\\n /* falls through */\\\\n case EXLEN:\\\\n if (state.flags & 0x0400) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length = hold;\\\\n if (state.head) {\\\\n state.head.extra_len = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n else if (state.head) {\\\\n state.head.extra = null/*Z_NULL*/;\\\\n }\\\\n state.mode = EXTRA;\\\\n /* falls through */\\\\n case EXTRA:\\\\n if (state.flags & 0x0400) {\\\\n copy = state.length;\\\\n if (copy > have) { copy = have; }\\\\n if (copy) {\\\\n if (state.head) {\\\\n len = state.head.extra_len - state.length;\\\\n if (!state.head.extra) {\\\\n // Use untyped array for more convenient processing later\\\\n state.head.extra = new Array(state.head.extra_len);\\\\n }\\\\n utils.arraySet(\\\\n state.head.extra,\\\\n input,\\\\n next,\\\\n // extra field is limited to 65536 bytes\\\\n // - no need for additional size check\\\\n copy,\\\\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\\\\n len\\\\n );\\\\n //zmemcpy(state.head.extra + len, next,\\\\n // len + copy > state.head.extra_max ?\\\\n // state.head.extra_max - len : copy);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n state.length -= copy;\\\\n }\\\\n if (state.length) { break inf_leave; }\\\\n }\\\\n state.length = 0;\\\\n state.mode = NAME;\\\\n /* falls through */\\\\n case NAME:\\\\n if (state.flags & 0x0800) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n // TODO: 2 or 1 bytes?\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.name_max*/)) {\\\\n state.head.name += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.name = null;\\\\n }\\\\n state.length = 0;\\\\n state.mode = COMMENT;\\\\n /* falls through */\\\\n case COMMENT:\\\\n if (state.flags & 0x1000) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.comm_max*/)) {\\\\n state.head.comment += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.comment = null;\\\\n }\\\\n state.mode = HCRC;\\\\n /* falls through */\\\\n case HCRC:\\\\n if (state.flags & 0x0200) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.check & 0xffff)) {\\\\n strm.msg = 'header crc mismatch';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n if (state.head) {\\\\n state.head.hcrc = ((state.flags >> 9) & 1);\\\\n state.head.done = true;\\\\n }\\\\n strm.adler = state.check = 0;\\\\n state.mode = TYPE;\\\\n break;\\\\n case DICTID:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n strm.adler = state.check = zswap32(hold);\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = DICT;\\\\n /* falls through */\\\\n case DICT:\\\\n if (state.havedict === 0) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n return Z_NEED_DICT;\\\\n }\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = TYPE;\\\\n /* falls through */\\\\n case TYPE:\\\\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case TYPEDO:\\\\n if (state.last) {\\\\n //--- BYTEBITS() ---//\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n state.mode = CHECK;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(3); */\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.last = (hold & 0x01)/*BITS(1)*/;\\\\n //--- DROPBITS(1) ---//\\\\n hold >>>= 1;\\\\n bits -= 1;\\\\n //---//\\\\n\\\\n switch ((hold & 0x03)/*BITS(2)*/) {\\\\n case 0: /* stored block */\\\\n //Tracev((stderr, \\\\\\\"inflate: stored block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = STORED;\\\\n break;\\\\n case 1: /* fixed block */\\\\n fixedtables(state);\\\\n //Tracev((stderr, \\\\\\\"inflate: fixed codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = LEN_; /* decode codes */\\\\n if (flush === Z_TREES) {\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break inf_leave;\\\\n }\\\\n break;\\\\n case 2: /* dynamic block */\\\\n //Tracev((stderr, \\\\\\\"inflate: dynamic codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = TABLE;\\\\n break;\\\\n case 3:\\\\n strm.msg = 'invalid block type';\\\\n state.mode = BAD;\\\\n }\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break;\\\\n case STORED:\\\\n //--- BYTEBITS() ---// /* go to byte boundary */\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\\\\n strm.msg = 'invalid stored block lengths';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.length = hold & 0xffff;\\\\n //Tracev((stderr, \\\\\\\"inflate: stored length %u\\\\\\\\n\\\\\\\",\\\\n // state.length));\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = COPY_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case COPY_:\\\\n state.mode = COPY;\\\\n /* falls through */\\\\n case COPY:\\\\n copy = state.length;\\\\n if (copy) {\\\\n if (copy > have) { copy = have; }\\\\n if (copy > left) { copy = left; }\\\\n if (copy === 0) { break inf_leave; }\\\\n //--- zmemcpy(put, next, copy); ---\\\\n utils.arraySet(output, input, next, copy, put);\\\\n //---//\\\\n have -= copy;\\\\n next += copy;\\\\n left -= copy;\\\\n put += copy;\\\\n state.length -= copy;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: stored end\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break;\\\\n case TABLE:\\\\n //=== NEEDBITS(14); */\\\\n while (bits < 14) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n//#ifndef PKZIP_BUG_WORKAROUND\\\\n if (state.nlen > 286 || state.ndist > 30) {\\\\n strm.msg = 'too many length or distance symbols';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracev((stderr, \\\\\\\"inflate: table sizes ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = LENLENS;\\\\n /* falls through */\\\\n case LENLENS:\\\\n while (state.have < state.ncode) {\\\\n //=== NEEDBITS(3);\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n while (state.have < 19) {\\\\n state.lens[order[state.have++]] = 0;\\\\n }\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n //state.next = state.codes;\\\\n //state.lencode = state.next;\\\\n // Switch to use dynamic table\\\\n state.lencode = state.lendyn;\\\\n state.lenbits = 7;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\\\\n state.lenbits = opts.bits;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid code lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: code lengths ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = CODELENS;\\\\n /* falls through */\\\\n case CODELENS:\\\\n while (state.have < state.nlen + state.ndist) {\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_val < 16) {\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.lens[state.have++] = here_val;\\\\n }\\\\n else {\\\\n if (here_val === 16) {\\\\n //=== NEEDBITS(here.bits + 2);\\\\n n = here_bits + 2;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n if (state.have === 0) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n len = state.lens[state.have - 1];\\\\n copy = 3 + (hold & 0x03);//BITS(2);\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n }\\\\n else if (here_val === 17) {\\\\n //=== NEEDBITS(here.bits + 3);\\\\n n = here_bits + 3;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 3 + (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n else {\\\\n //=== NEEDBITS(here.bits + 7);\\\\n n = here_bits + 7;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 11 + (hold & 0x7f);//BITS(7);\\\\n //--- DROPBITS(7) ---//\\\\n hold >>>= 7;\\\\n bits -= 7;\\\\n //---//\\\\n }\\\\n if (state.have + copy > state.nlen + state.ndist) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n while (copy--) {\\\\n state.lens[state.have++] = len;\\\\n }\\\\n }\\\\n }\\\\n\\\\n /* handle error breaks in while */\\\\n if (state.mode === BAD) { break; }\\\\n\\\\n /* check for end-of-block code (better have one) */\\\\n if (state.lens[256] === 0) {\\\\n strm.msg = 'invalid code -- missing end-of-block';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n /* build code tables -- note: do not change the lenbits or distbits\\\\n values here (9 and 6) without reading the comments in inftrees.h\\\\n concerning the ENOUGH constants, which depend on those values */\\\\n state.lenbits = 9;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.lenbits = opts.bits;\\\\n // state.lencode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid literal/lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n state.distbits = 6;\\\\n //state.distcode.copy(state.codes);\\\\n // Switch to use dynamic table\\\\n state.distcode = state.distdyn;\\\\n opts = { bits: state.distbits };\\\\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.distbits = opts.bits;\\\\n // state.distcode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid distances set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, 'inflate: codes ok\\\\\\\\n'));\\\\n state.mode = LEN_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case LEN_:\\\\n state.mode = LEN;\\\\n /* falls through */\\\\n case LEN:\\\\n if (have >= 6 && left >= 258) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n inflate_fast(strm, _out);\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n if (state.mode === TYPE) {\\\\n state.back = -1;\\\\n }\\\\n break;\\\\n }\\\\n state.back = 0;\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if (here_bits <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_op && (here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.lencode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n state.length = here_val;\\\\n if (here_op === 0) {\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n state.mode = LIT;\\\\n break;\\\\n }\\\\n if (here_op & 32) {\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.back = -1;\\\\n state.mode = TYPE;\\\\n break;\\\\n }\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.extra = here_op & 15;\\\\n state.mode = LENEXT;\\\\n /* falls through */\\\\n case LENEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", state.length));\\\\n state.was = state.length;\\\\n state.mode = DIST;\\\\n /* falls through */\\\\n case DIST:\\\\n for (;;) {\\\\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if ((here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.distcode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.offset = here_val;\\\\n state.extra = (here_op) & 15;\\\\n state.mode = DISTEXT;\\\\n /* falls through */\\\\n case DISTEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n//#ifdef INFLATE_STRICT\\\\n if (state.offset > state.dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", state.offset));\\\\n state.mode = MATCH;\\\\n /* falls through */\\\\n case MATCH:\\\\n if (left === 0) { break inf_leave; }\\\\n copy = _out - left;\\\\n if (state.offset > copy) { /* copy from window */\\\\n copy = state.offset - copy;\\\\n if (copy > state.whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// Trace((stderr, \\\\\\\"inflate.c too far\\\\\\\\n\\\\\\\"));\\\\n// copy -= state.whave;\\\\n// if (copy > state.length) { copy = state.length; }\\\\n// if (copy > left) { copy = left; }\\\\n// left -= copy;\\\\n// state.length -= copy;\\\\n// do {\\\\n// output[put++] = 0;\\\\n// } while (--copy);\\\\n// if (state.length === 0) { state.mode = LEN; }\\\\n// break;\\\\n//#endif\\\\n }\\\\n if (copy > state.wnext) {\\\\n copy -= state.wnext;\\\\n from = state.wsize - copy;\\\\n }\\\\n else {\\\\n from = state.wnext - copy;\\\\n }\\\\n if (copy > state.length) { copy = state.length; }\\\\n from_source = state.window;\\\\n }\\\\n else { /* copy from output */\\\\n from_source = output;\\\\n from = put - state.offset;\\\\n copy = state.length;\\\\n }\\\\n if (copy > left) { copy = left; }\\\\n left -= copy;\\\\n state.length -= copy;\\\\n do {\\\\n output[put++] = from_source[from++];\\\\n } while (--copy);\\\\n if (state.length === 0) { state.mode = LEN; }\\\\n break;\\\\n case LIT:\\\\n if (left === 0) { break inf_leave; }\\\\n output[put++] = state.length;\\\\n left--;\\\\n state.mode = LEN;\\\\n break;\\\\n case CHECK:\\\\n if (state.wrap) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n // Use '|' instead of '+' to make sure that result is signed\\\\n hold |= input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n _out -= left;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (_out) {\\\\n strm.adler = state.check =\\\\n /*UPDATE(state.check, put - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\\\\n\\\\n }\\\\n _out = left;\\\\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\\\\n if ((state.flags ? hold : zswap32(hold)) !== state.check) {\\\\n strm.msg = 'incorrect data check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: check matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = LENGTH;\\\\n /* falls through */\\\\n case LENGTH:\\\\n if (state.wrap && state.flags) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.total & 0xffffffff)) {\\\\n strm.msg = 'incorrect length check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: length matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = DONE;\\\\n /* falls through */\\\\n case DONE:\\\\n ret = Z_STREAM_END;\\\\n break inf_leave;\\\\n case BAD:\\\\n ret = Z_DATA_ERROR;\\\\n break inf_leave;\\\\n case MEM:\\\\n return Z_MEM_ERROR;\\\\n case SYNC:\\\\n /* falls through */\\\\n default:\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n }\\\\n\\\\n // inf_leave <- here is real place for \\\\\\\"goto inf_leave\\\\\\\", emulated via \\\\\\\"break inf_leave\\\\\\\"\\\\n\\\\n /*\\\\n Return from inflate(), updating the total counts and the check value.\\\\n If there was no progress during the inflate() call, return a buffer\\\\n error. Call updatewindow() to create and/or update the window state.\\\\n Note: a memory error from inflate() is non-recoverable.\\\\n */\\\\n\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n\\\\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\\\\n (state.mode < CHECK || flush !== Z_FINISH))) {\\\\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n }\\\\n _in -= strm.avail_in;\\\\n _out -= strm.avail_out;\\\\n strm.total_in += _in;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (state.wrap && _out) {\\\\n strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\\\\n }\\\\n strm.data_type = state.bits + (state.last ? 64 : 0) +\\\\n (state.mode === TYPE ? 128 : 0) +\\\\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\\\\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\\\\n ret = Z_BUF_ERROR;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateEnd(strm) {\\\\n\\\\n if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n var state = strm.state;\\\\n if (state.window) {\\\\n state.window = null;\\\\n }\\\\n strm.state = null;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateGetHeader(strm, head) {\\\\n var state;\\\\n\\\\n /* check state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\\\\n\\\\n /* save header structure */\\\\n state.head = head;\\\\n head.done = false;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateSetDictionary(strm, dictionary) {\\\\n var dictLength = dictionary.length;\\\\n\\\\n var state;\\\\n var dictid;\\\\n var ret;\\\\n\\\\n /* check state */\\\\n if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n if (state.wrap !== 0 && state.mode !== DICT) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n /* check for correct dictionary identifier */\\\\n if (state.mode === DICT) {\\\\n dictid = 1; /* adler32(0, null, 0)*/\\\\n /* dictid = adler32(dictid, dictionary, dictLength); */\\\\n dictid = adler32(dictid, dictionary, dictLength, 0);\\\\n if (dictid !== state.check) {\\\\n return Z_DATA_ERROR;\\\\n }\\\\n }\\\\n /* copy dictionary to window using updatewindow(), which will amend the\\\\n existing dictionary if appropriate */\\\\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\\\\n if (ret) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n state.havedict = 1;\\\\n // Tracev((stderr, \\\\\\\"inflate: dictionary set\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nexports.inflateReset = inflateReset;\\\\nexports.inflateReset2 = inflateReset2;\\\\nexports.inflateResetKeep = inflateResetKeep;\\\\nexports.inflateInit = inflateInit;\\\\nexports.inflateInit2 = inflateInit2;\\\\nexports.inflate = inflate;\\\\nexports.inflateEnd = inflateEnd;\\\\nexports.inflateGetHeader = inflateGetHeader;\\\\nexports.inflateSetDictionary = inflateSetDictionary;\\\\nexports.inflateInfo = 'pako inflate (from Nodeca project)';\\\\n\\\\n/* Not implemented\\\\nexports.inflateCopy = inflateCopy;\\\\nexports.inflateGetDictionary = inflateGetDictionary;\\\\nexports.inflateMark = inflateMark;\\\\nexports.inflatePrime = inflatePrime;\\\\nexports.inflateSync = inflateSync;\\\\nexports.inflateSyncPoint = inflateSyncPoint;\\\\nexports.inflateUndermine = inflateUndermine;\\\\n*/\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inftrees.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inftrees.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\nvar MAXBITS = 15;\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\nvar lbase = [ /* Length codes 257..285 base */\\\\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\\\\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\\\\n];\\\\n\\\\nvar lext = [ /* Length codes 257..285 extra */\\\\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\\\\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\\\\n];\\\\n\\\\nvar dbase = [ /* Distance codes 0..29 base */\\\\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\\\\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\\\\n 8193, 12289, 16385, 24577, 0, 0\\\\n];\\\\n\\\\nvar dext = [ /* Distance codes 0..29 extra */\\\\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\\\\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\\\\n 28, 28, 29, 29, 64, 64\\\\n];\\\\n\\\\nmodule.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)\\\\n{\\\\n var bits = opts.bits;\\\\n //here = opts.here; /* table entry for duplication */\\\\n\\\\n var len = 0; /* a code's length in bits */\\\\n var sym = 0; /* index of code symbols */\\\\n var min = 0, max = 0; /* minimum and maximum code lengths */\\\\n var root = 0; /* number of index bits for root table */\\\\n var curr = 0; /* number of index bits for current table */\\\\n var drop = 0; /* code bits to drop for sub-table */\\\\n var left = 0; /* number of prefix codes available */\\\\n var used = 0; /* code entries in table used */\\\\n var huff = 0; /* Huffman code */\\\\n var incr; /* for incrementing code, index */\\\\n var fill; /* index for replicating entries */\\\\n var low; /* low bits for current root entry */\\\\n var mask; /* mask for low root bits */\\\\n var next; /* next available space in table */\\\\n var base = null; /* base value table to use */\\\\n var base_index = 0;\\\\n// var shoextra; /* extra bits table to use */\\\\n var end; /* use base and extra for symbol > end */\\\\n var count = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\\\\n var offs = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\\\\n var extra = null;\\\\n var extra_index = 0;\\\\n\\\\n var here_bits, here_op, here_val;\\\\n\\\\n /*\\\\n Process a set of code lengths to create a canonical Huffman code. The\\\\n code lengths are lens[0..codes-1]. Each length corresponds to the\\\\n symbols 0..codes-1. The Huffman code is generated by first sorting the\\\\n symbols by length from short to long, and retaining the symbol order\\\\n for codes with equal lengths. Then the code starts with all zero bits\\\\n for the first code of the shortest length, and the codes are integer\\\\n increments for the same length, and zeros are appended as the length\\\\n increases. For the deflate format, these bits are stored backwards\\\\n from their more natural integer increment ordering, and so when the\\\\n decoding tables are built in the large loop below, the integer codes\\\\n are incremented backwards.\\\\n\\\\n This routine assumes, but does not check, that all of the entries in\\\\n lens[] are in the range 0..MAXBITS. The caller must assure this.\\\\n 1..MAXBITS is interpreted as that code length. zero means that that\\\\n symbol does not occur in this code.\\\\n\\\\n The codes are sorted by computing a count of codes for each length,\\\\n creating from that a table of starting indices for each length in the\\\\n sorted table, and then entering the symbols in order in the sorted\\\\n table. The sorted table is work[], with that space being provided by\\\\n the caller.\\\\n\\\\n The length counts are used for other purposes as well, i.e. finding\\\\n the minimum and maximum length codes, determining if there are any\\\\n codes at all, checking for a valid set of lengths, and looking ahead\\\\n at length counts to determine sub-table sizes when building the\\\\n decoding tables.\\\\n */\\\\n\\\\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\\\\n for (len = 0; len <= MAXBITS; len++) {\\\\n count[len] = 0;\\\\n }\\\\n for (sym = 0; sym < codes; sym++) {\\\\n count[lens[lens_index + sym]]++;\\\\n }\\\\n\\\\n /* bound code lengths, force root to be within code lengths */\\\\n root = bits;\\\\n for (max = MAXBITS; max >= 1; max--) {\\\\n if (count[max] !== 0) { break; }\\\\n }\\\\n if (root > max) {\\\\n root = max;\\\\n }\\\\n if (max === 0) { /* no symbols to code at all */\\\\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\\\\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\\\\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n\\\\n //table.op[opts.table_index] = 64;\\\\n //table.bits[opts.table_index] = 1;\\\\n //table.val[opts.table_index++] = 0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n opts.bits = 1;\\\\n return 0; /* no symbols, but wait for decoding to report error */\\\\n }\\\\n for (min = 1; min < max; min++) {\\\\n if (count[min] !== 0) { break; }\\\\n }\\\\n if (root < min) {\\\\n root = min;\\\\n }\\\\n\\\\n /* check for an over-subscribed or incomplete set of lengths */\\\\n left = 1;\\\\n for (len = 1; len <= MAXBITS; len++) {\\\\n left <<= 1;\\\\n left -= count[len];\\\\n if (left < 0) {\\\\n return -1;\\\\n } /* over-subscribed */\\\\n }\\\\n if (left > 0 && (type === CODES || max !== 1)) {\\\\n return -1; /* incomplete set */\\\\n }\\\\n\\\\n /* generate offsets into symbol table for each length for sorting */\\\\n offs[1] = 0;\\\\n for (len = 1; len < MAXBITS; len++) {\\\\n offs[len + 1] = offs[len] + count[len];\\\\n }\\\\n\\\\n /* sort symbols by length, by symbol order within each length */\\\\n for (sym = 0; sym < codes; sym++) {\\\\n if (lens[lens_index + sym] !== 0) {\\\\n work[offs[lens[lens_index + sym]]++] = sym;\\\\n }\\\\n }\\\\n\\\\n /*\\\\n Create and fill in decoding tables. In this loop, the table being\\\\n filled is at next and has curr index bits. The code being used is huff\\\\n with length len. That code is converted to an index by dropping drop\\\\n bits off of the bottom. For codes where len is less than drop + curr,\\\\n those top drop + curr - len bits are incremented through all values to\\\\n fill the table with replicated entries.\\\\n\\\\n root is the number of index bits for the root table. When len exceeds\\\\n root, sub-tables are created pointed to by the root entry with an index\\\\n of the low root bits of huff. This is saved in low to check for when a\\\\n new sub-table should be started. drop is zero when the root table is\\\\n being filled, and drop is root when sub-tables are being filled.\\\\n\\\\n When a new sub-table is needed, it is necessary to look ahead in the\\\\n code lengths to determine what size sub-table is needed. The length\\\\n counts are used for this, and so count[] is decremented as codes are\\\\n entered in the tables.\\\\n\\\\n used keeps track of how many table entries have been allocated from the\\\\n provided *table space. It is checked for LENS and DIST tables against\\\\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\\\\n the initial root table size constants. See the comments in inftrees.h\\\\n for more information.\\\\n\\\\n sym increments through all symbols, and the loop terminates when\\\\n all codes of length max, i.e. all codes, have been processed. This\\\\n routine permits incomplete codes, so another loop after this one fills\\\\n in the rest of the decoding tables with invalid code markers.\\\\n */\\\\n\\\\n /* set up for code type */\\\\n // poor man optimization - use if-else instead of switch,\\\\n // to avoid deopts in old v8\\\\n if (type === CODES) {\\\\n base = extra = work; /* dummy value--not used */\\\\n end = 19;\\\\n\\\\n } else if (type === LENS) {\\\\n base = lbase;\\\\n base_index -= 257;\\\\n extra = lext;\\\\n extra_index -= 257;\\\\n end = 256;\\\\n\\\\n } else { /* DISTS */\\\\n base = dbase;\\\\n extra = dext;\\\\n end = -1;\\\\n }\\\\n\\\\n /* initialize opts for loop */\\\\n huff = 0; /* starting code */\\\\n sym = 0; /* starting code symbol */\\\\n len = min; /* starting code length */\\\\n next = table_index; /* current table to fill in */\\\\n curr = root; /* current table index bits */\\\\n drop = 0; /* current bits to drop from code for index */\\\\n low = -1; /* trigger new sub-table when len > root */\\\\n used = 1 << root; /* use root table entries */\\\\n mask = used - 1; /* mask for comparing low */\\\\n\\\\n /* check available table space */\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* process all codes and make table entries */\\\\n for (;;) {\\\\n /* create table entry */\\\\n here_bits = len - drop;\\\\n if (work[sym] < end) {\\\\n here_op = 0;\\\\n here_val = work[sym];\\\\n }\\\\n else if (work[sym] > end) {\\\\n here_op = extra[extra_index + work[sym]];\\\\n here_val = base[base_index + work[sym]];\\\\n }\\\\n else {\\\\n here_op = 32 + 64; /* end of block */\\\\n here_val = 0;\\\\n }\\\\n\\\\n /* replicate for those indices with low len bits equal to huff */\\\\n incr = 1 << (len - drop);\\\\n fill = 1 << curr;\\\\n min = fill; /* save offset to next table */\\\\n do {\\\\n fill -= incr;\\\\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\\\\n } while (fill !== 0);\\\\n\\\\n /* backwards increment the len-bit code huff */\\\\n incr = 1 << (len - 1);\\\\n while (huff & incr) {\\\\n incr >>= 1;\\\\n }\\\\n if (incr !== 0) {\\\\n huff &= incr - 1;\\\\n huff += incr;\\\\n } else {\\\\n huff = 0;\\\\n }\\\\n\\\\n /* go to next symbol, update count, len */\\\\n sym++;\\\\n if (--count[len] === 0) {\\\\n if (len === max) { break; }\\\\n len = lens[lens_index + work[sym]];\\\\n }\\\\n\\\\n /* create new sub-table if needed */\\\\n if (len > root && (huff & mask) !== low) {\\\\n /* if first time, transition to sub-tables */\\\\n if (drop === 0) {\\\\n drop = root;\\\\n }\\\\n\\\\n /* increment past last table */\\\\n next += min; /* here min is 1 << curr */\\\\n\\\\n /* determine length of next table */\\\\n curr = len - drop;\\\\n left = 1 << curr;\\\\n while (curr + drop < max) {\\\\n left -= count[curr + drop];\\\\n if (left <= 0) { break; }\\\\n curr++;\\\\n left <<= 1;\\\\n }\\\\n\\\\n /* check for enough space */\\\\n used += 1 << curr;\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* point entry in root table to sub-table */\\\\n low = huff & mask;\\\\n /*table.op[low] = curr;\\\\n table.bits[low] = root;\\\\n table.val[low] = next - opts.table_index;*/\\\\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\\\\n }\\\\n }\\\\n\\\\n /* fill in remaining table entry if code is incomplete (guaranteed to have\\\\n at most one remaining entry, since if the code is incomplete, the\\\\n maximum code length that was allowed to get this far is one bit) */\\\\n if (huff !== 0) {\\\\n //table.op[next + huff] = 64; /* invalid code marker */\\\\n //table.bits[next + huff] = len - drop;\\\\n //table.val[next + huff] = 0;\\\\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\\\\n }\\\\n\\\\n /* set return parameters */\\\\n //opts.table_index += used;\\\\n opts.bits = root;\\\\n return 0;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inftrees.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/messages.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/messages.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\\\\n 1: 'stream end', /* Z_STREAM_END 1 */\\\\n 0: '', /* Z_OK 0 */\\\\n '-1': 'file error', /* Z_ERRNO (-1) */\\\\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\\\\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\\\\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\\\\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\\\\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/messages.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/zstream.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/zstream.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction ZStream() {\\\\n /* next input byte */\\\\n this.input = null; // JS specific, because we have no pointers\\\\n this.next_in = 0;\\\\n /* number of bytes available at input */\\\\n this.avail_in = 0;\\\\n /* total number of input bytes read so far */\\\\n this.total_in = 0;\\\\n /* next output byte should be put there */\\\\n this.output = null; // JS specific, because we have no pointers\\\\n this.next_out = 0;\\\\n /* remaining free space at output */\\\\n this.avail_out = 0;\\\\n /* total number of bytes output so far */\\\\n this.total_out = 0;\\\\n /* last error message, NULL if no error */\\\\n this.msg = ''/*Z_NULL*/;\\\\n /* not visible by applications */\\\\n this.state = null;\\\\n /* best guess about the data type: binary or text */\\\\n this.data_type = 2/*Z_UNKNOWN*/;\\\\n /* adler32 value of the uncompressed data */\\\\n this.adler = 0;\\\\n}\\\\n\\\\nmodule.exports = ZStream;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/zstream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/process-nextick-args/index.js\\\":\\n/*!****************************************************!*\\\\\\n !*** ./node_modules/process-nextick-args/index.js ***!\\n \\\\****************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nif (typeof process === 'undefined' ||\\\\n !process.version ||\\\\n process.version.indexOf('v0.') === 0 ||\\\\n process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\\\\n module.exports = { nextTick: nextTick };\\\\n} else {\\\\n module.exports = process\\\\n}\\\\n\\\\nfunction nextTick(fn, arg1, arg2, arg3) {\\\\n if (typeof fn !== 'function') {\\\\n throw new TypeError('\\\\\\\"callback\\\\\\\" argument must be a function');\\\\n }\\\\n var len = arguments.length;\\\\n var args, i;\\\\n switch (len) {\\\\n case 0:\\\\n case 1:\\\\n return process.nextTick(fn);\\\\n case 2:\\\\n return process.nextTick(function afterTickOne() {\\\\n fn.call(null, arg1);\\\\n });\\\\n case 3:\\\\n return process.nextTick(function afterTickTwo() {\\\\n fn.call(null, arg1, arg2);\\\\n });\\\\n case 4:\\\\n return process.nextTick(function afterTickThree() {\\\\n fn.call(null, arg1, arg2, arg3);\\\\n });\\\\n default:\\\\n args = new Array(len - 1);\\\\n i = 0;\\\\n while (i < args.length) {\\\\n args[i++] = arguments[i];\\\\n }\\\\n return process.nextTick(function afterTick() {\\\\n fn.apply(null, args);\\\\n });\\\\n }\\\\n}\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/process-nextick-args/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_duplex.js ***!\\n \\\\************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// a duplex stream is just a stream that is both readable and writable.\\\\n// Since JS doesn't have multiple prototypal inheritance, this class\\\\n// prototypally inherits from Readable, and then parasitically from\\\\n// Writable.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar objectKeys = Object.keys || function (obj) {\\\\n var keys = [];\\\\n for (var key in obj) {\\\\n keys.push(key);\\\\n }return keys;\\\\n};\\\\n/**/\\\\n\\\\nmodule.exports = Duplex;\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\");\\\\n/**/\\\\n\\\\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\n\\\\nutil.inherits(Duplex, Readable);\\\\n\\\\n{\\\\n // avoid scope creep, the keys array can then be collected\\\\n var keys = objectKeys(Writable.prototype);\\\\n for (var v = 0; v < keys.length; v++) {\\\\n var method = keys[v];\\\\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\\\\n }\\\\n}\\\\n\\\\nfunction Duplex(options) {\\\\n if (!(this instanceof Duplex)) return new Duplex(options);\\\\n\\\\n Readable.call(this, options);\\\\n Writable.call(this, options);\\\\n\\\\n if (options && options.readable === false) this.readable = false;\\\\n\\\\n if (options && options.writable === false) this.writable = false;\\\\n\\\\n this.allowHalfOpen = true;\\\\n if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;\\\\n\\\\n this.once('end', onend);\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function () {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n});\\\\n\\\\n// the no-half-open enforcer\\\\nfunction onend() {\\\\n // if we allow half-open state, or if the writable side ended,\\\\n // then we're ok.\\\\n if (this.allowHalfOpen || this._writableState.ended) return;\\\\n\\\\n // no more data can be written.\\\\n // But allow more writes to happen in this tick.\\\\n pna.nextTick(onEndNT, this);\\\\n}\\\\n\\\\nfunction onEndNT(self) {\\\\n self.end();\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'destroyed', {\\\\n get: function () {\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n return this._readableState.destroyed && this._writableState.destroyed;\\\\n },\\\\n set: function (value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return;\\\\n }\\\\n\\\\n // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n this._readableState.destroyed = value;\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\n\\\\nDuplex.prototype._destroy = function (err, cb) {\\\\n this.push(null);\\\\n this.end();\\\\n\\\\n pna.nextTick(cb, err);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\":\\n/*!*****************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_passthrough.js ***!\\n \\\\*****************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// a passthrough stream.\\\\n// basically just the most minimal sort of Transform stream.\\\\n// Every written chunk gets output as-is.\\\\n\\\\n\\\\n\\\\nmodule.exports = PassThrough;\\\\n\\\\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\");\\\\n/**/\\\\n\\\\nutil.inherits(PassThrough, Transform);\\\\n\\\\nfunction PassThrough(options) {\\\\n if (!(this instanceof PassThrough)) return new PassThrough(options);\\\\n\\\\n Transform.call(this, options);\\\\n}\\\\n\\\\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\\\\n cb(null, chunk);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_readable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_readable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\nmodule.exports = Readable;\\\\n\\\\n/**/\\\\nvar isArray = __webpack_require__(/*! isarray */ \\\\\\\"./node_modules/isarray/index.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nReadable.ReadableState = ReadableState;\\\\n\\\\n/**/\\\\nvar EE = __webpack_require__(/*! events */ \\\\\\\"events\\\\\\\").EventEmitter;\\\\n\\\\nvar EElistenerCount = function (emitter, type) {\\\\n return emitter.listeners(type).length;\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n\\\\n/**/\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar debugUtil = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\");\\\\nvar debug = void 0;\\\\nif (debugUtil && debugUtil.debuglog) {\\\\n debug = debugUtil.debuglog('stream');\\\\n} else {\\\\n debug = function () {};\\\\n}\\\\n/**/\\\\n\\\\nvar BufferList = __webpack_require__(/*! ./internal/streams/BufferList */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/BufferList.js\\\\\\\");\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\nvar StringDecoder;\\\\n\\\\nutil.inherits(Readable, Stream);\\\\n\\\\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\\\\n\\\\nfunction prependListener(emitter, event, fn) {\\\\n // Sadly this is not cacheable as some libraries bundle their own\\\\n // event emitter implementation with them.\\\\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);\\\\n\\\\n // This is a hack to make sure that our error handler is attached before any\\\\n // userland ones. NEVER DO THIS. This is here only because this code needs\\\\n // to continue to work with older versions of Node.js that do not include\\\\n // the prependListener() method. The goal is to eventually remove this hack.\\\\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\\\\n}\\\\n\\\\nfunction ReadableState(options, stream) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n options = options || {};\\\\n\\\\n // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream.\\\\n // These options can be provided separately as readableXXX and writableXXX.\\\\n var isDuplex = stream instanceof Duplex;\\\\n\\\\n // object stream flag. Used to make read(n) ignore n and to\\\\n // make all the buffer merging and length checks go away\\\\n this.objectMode = !!options.objectMode;\\\\n\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;\\\\n\\\\n // the point at which it stops calling _read() to fill the buffer\\\\n // Note: 0 is a valid value, means \\\\\\\"don't call _read preemptively ever\\\\\\\"\\\\n var hwm = options.highWaterMark;\\\\n var readableHwm = options.readableHighWaterMark;\\\\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\\\\n\\\\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;\\\\n\\\\n // cast to ints.\\\\n this.highWaterMark = Math.floor(this.highWaterMark);\\\\n\\\\n // A linked list is used to store data chunks instead of an array because the\\\\n // linked list can remove elements from the beginning faster than\\\\n // array.shift()\\\\n this.buffer = new BufferList();\\\\n this.length = 0;\\\\n this.pipes = null;\\\\n this.pipesCount = 0;\\\\n this.flowing = null;\\\\n this.ended = false;\\\\n this.endEmitted = false;\\\\n this.reading = false;\\\\n\\\\n // a flag to be able to tell if the event 'readable'/'data' is emitted\\\\n // immediately, or on a later tick. We set this to true at first, because\\\\n // any actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first read call.\\\\n this.sync = true;\\\\n\\\\n // whenever we return null, then we set a flag to say\\\\n // that we're awaiting a 'readable' event emission.\\\\n this.needReadable = false;\\\\n this.emittedReadable = false;\\\\n this.readableListening = false;\\\\n this.resumeScheduled = false;\\\\n\\\\n // has it been destroyed\\\\n this.destroyed = false;\\\\n\\\\n // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8';\\\\n\\\\n // the number of writers that are awaiting a drain event in .pipe()s\\\\n this.awaitDrain = 0;\\\\n\\\\n // if true, a maybeReadMore has been scheduled\\\\n this.readingMore = false;\\\\n\\\\n this.decoder = null;\\\\n this.encoding = null;\\\\n if (options.encoding) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n this.decoder = new StringDecoder(options.encoding);\\\\n this.encoding = options.encoding;\\\\n }\\\\n}\\\\n\\\\nfunction Readable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n if (!(this instanceof Readable)) return new Readable(options);\\\\n\\\\n this._readableState = new ReadableState(options, this);\\\\n\\\\n // legacy\\\\n this.readable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.read === 'function') this._read = options.read;\\\\n\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n}\\\\n\\\\nObject.defineProperty(Readable.prototype, 'destroyed', {\\\\n get: function () {\\\\n if (this._readableState === undefined) {\\\\n return false;\\\\n }\\\\n return this._readableState.destroyed;\\\\n },\\\\n set: function (value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._readableState) {\\\\n return;\\\\n }\\\\n\\\\n // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n this._readableState.destroyed = value;\\\\n }\\\\n});\\\\n\\\\nReadable.prototype.destroy = destroyImpl.destroy;\\\\nReadable.prototype._undestroy = destroyImpl.undestroy;\\\\nReadable.prototype._destroy = function (err, cb) {\\\\n this.push(null);\\\\n cb(err);\\\\n};\\\\n\\\\n// Manually shove something into the read() buffer.\\\\n// This returns true if the highWaterMark has not been hit yet,\\\\n// similar to how Writable.write() returns true if you should\\\\n// write() some more.\\\\nReadable.prototype.push = function (chunk, encoding) {\\\\n var state = this._readableState;\\\\n var skipChunkCheck;\\\\n\\\\n if (!state.objectMode) {\\\\n if (typeof chunk === 'string') {\\\\n encoding = encoding || state.defaultEncoding;\\\\n if (encoding !== state.encoding) {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n encoding = '';\\\\n }\\\\n skipChunkCheck = true;\\\\n }\\\\n } else {\\\\n skipChunkCheck = true;\\\\n }\\\\n\\\\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\\\\n};\\\\n\\\\n// Unshift should *always* be something directly out of read()\\\\nReadable.prototype.unshift = function (chunk) {\\\\n return readableAddChunk(this, chunk, null, true, false);\\\\n};\\\\n\\\\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\\\\n var state = stream._readableState;\\\\n if (chunk === null) {\\\\n state.reading = false;\\\\n onEofChunk(stream, state);\\\\n } else {\\\\n var er;\\\\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\\\\n if (er) {\\\\n stream.emit('error', er);\\\\n } else if (state.objectMode || chunk && chunk.length > 0) {\\\\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (addToFront) {\\\\n if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);\\\\n } else if (state.ended) {\\\\n stream.emit('error', new Error('stream.push() after EOF'));\\\\n } else {\\\\n state.reading = false;\\\\n if (state.decoder && !encoding) {\\\\n chunk = state.decoder.write(chunk);\\\\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\\\\n } else {\\\\n addChunk(stream, state, chunk, false);\\\\n }\\\\n }\\\\n } else if (!addToFront) {\\\\n state.reading = false;\\\\n }\\\\n }\\\\n\\\\n return needMoreData(state);\\\\n}\\\\n\\\\nfunction addChunk(stream, state, chunk, addToFront) {\\\\n if (state.flowing && state.length === 0 && !state.sync) {\\\\n stream.emit('data', chunk);\\\\n stream.read(0);\\\\n } else {\\\\n // update the buffer info.\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\\\\n\\\\n if (state.needReadable) emitReadable(stream);\\\\n }\\\\n maybeReadMore(stream, state);\\\\n}\\\\n\\\\nfunction chunkInvalid(state, chunk) {\\\\n var er;\\\\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\\\\n er = new TypeError('Invalid non-string/buffer chunk');\\\\n }\\\\n return er;\\\\n}\\\\n\\\\n// if it's past the high water mark, we can push in some more.\\\\n// Also, if we have no data yet, we can stand some\\\\n// more bytes. This is to work around cases where hwm=0,\\\\n// such as the repl. Also, if the push() triggered a\\\\n// readable event, and the user called read(largeNumber) such that\\\\n// needReadable was set, then we ought to push more, so that another\\\\n// 'readable' event will be triggered.\\\\nfunction needMoreData(state) {\\\\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\\\\n}\\\\n\\\\nReadable.prototype.isPaused = function () {\\\\n return this._readableState.flowing === false;\\\\n};\\\\n\\\\n// backwards compatibility.\\\\nReadable.prototype.setEncoding = function (enc) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n this._readableState.decoder = new StringDecoder(enc);\\\\n this._readableState.encoding = enc;\\\\n return this;\\\\n};\\\\n\\\\n// Don't raise the hwm > 8MB\\\\nvar MAX_HWM = 0x800000;\\\\nfunction computeNewHighWaterMark(n) {\\\\n if (n >= MAX_HWM) {\\\\n n = MAX_HWM;\\\\n } else {\\\\n // Get the next highest power of 2 to prevent increasing hwm excessively in\\\\n // tiny amounts\\\\n n--;\\\\n n |= n >>> 1;\\\\n n |= n >>> 2;\\\\n n |= n >>> 4;\\\\n n |= n >>> 8;\\\\n n |= n >>> 16;\\\\n n++;\\\\n }\\\\n return n;\\\\n}\\\\n\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction howMuchToRead(n, state) {\\\\n if (n <= 0 || state.length === 0 && state.ended) return 0;\\\\n if (state.objectMode) return 1;\\\\n if (n !== n) {\\\\n // Only flow one buffer at a time\\\\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\\\\n }\\\\n // If we're asking for more than the current hwm, then raise the hwm.\\\\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\\\\n if (n <= state.length) return n;\\\\n // Don't have enough\\\\n if (!state.ended) {\\\\n state.needReadable = true;\\\\n return 0;\\\\n }\\\\n return state.length;\\\\n}\\\\n\\\\n// you can override either this method, or the async _read(n) below.\\\\nReadable.prototype.read = function (n) {\\\\n debug('read', n);\\\\n n = parseInt(n, 10);\\\\n var state = this._readableState;\\\\n var nOrig = n;\\\\n\\\\n if (n !== 0) state.emittedReadable = false;\\\\n\\\\n // if we're doing read(0) to trigger a readable event, but we\\\\n // already have a bunch of data in the buffer, then just trigger\\\\n // the 'readable' event and move on.\\\\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\\\\n debug('read: emitReadable', state.length, state.ended);\\\\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\\\\n return null;\\\\n }\\\\n\\\\n n = howMuchToRead(n, state);\\\\n\\\\n // if we've ended, and we're now clear, then finish it up.\\\\n if (n === 0 && state.ended) {\\\\n if (state.length === 0) endReadable(this);\\\\n return null;\\\\n }\\\\n\\\\n // All the actual chunk generation logic needs to be\\\\n // *below* the call to _read. The reason is that in certain\\\\n // synthetic stream cases, such as passthrough streams, _read\\\\n // may be a completely synchronous operation which may change\\\\n // the state of the read buffer, providing enough data when\\\\n // before there was *not* enough.\\\\n //\\\\n // So, the steps are:\\\\n // 1. Figure out what the state of things will be after we do\\\\n // a read from the buffer.\\\\n //\\\\n // 2. If that resulting state will trigger a _read, then call _read.\\\\n // Note that this may be asynchronous, or synchronous. Yes, it is\\\\n // deeply ugly to write APIs this way, but that still doesn't mean\\\\n // that the Readable class should behave improperly, as streams are\\\\n // designed to be sync/async agnostic.\\\\n // Take note if the _read call is sync or async (ie, if the read call\\\\n // has returned yet), so that we know whether or not it's safe to emit\\\\n // 'readable' etc.\\\\n //\\\\n // 3. Actually pull the requested chunks out of the buffer and return.\\\\n\\\\n // if we need a readable event, then we need to do some reading.\\\\n var doRead = state.needReadable;\\\\n debug('need readable', doRead);\\\\n\\\\n // if we currently have less than the highWaterMark, then also read some\\\\n if (state.length === 0 || state.length - n < state.highWaterMark) {\\\\n doRead = true;\\\\n debug('length less than watermark', doRead);\\\\n }\\\\n\\\\n // however, if we've ended, then there's no point, and if we're already\\\\n // reading, then it's unnecessary.\\\\n if (state.ended || state.reading) {\\\\n doRead = false;\\\\n debug('reading or ended', doRead);\\\\n } else if (doRead) {\\\\n debug('do read');\\\\n state.reading = true;\\\\n state.sync = true;\\\\n // if the length is currently zero, then we *need* a readable event.\\\\n if (state.length === 0) state.needReadable = true;\\\\n // call internal read method\\\\n this._read(state.highWaterMark);\\\\n state.sync = false;\\\\n // If _read pushed data synchronously, then `reading` will be false,\\\\n // and we need to re-evaluate how much data we can return to the user.\\\\n if (!state.reading) n = howMuchToRead(nOrig, state);\\\\n }\\\\n\\\\n var ret;\\\\n if (n > 0) ret = fromList(n, state);else ret = null;\\\\n\\\\n if (ret === null) {\\\\n state.needReadable = true;\\\\n n = 0;\\\\n } else {\\\\n state.length -= n;\\\\n }\\\\n\\\\n if (state.length === 0) {\\\\n // If we have nothing in the buffer, then we want to know\\\\n // as soon as we *do* get something into the buffer.\\\\n if (!state.ended) state.needReadable = true;\\\\n\\\\n // If we tried to read() past the EOF, then emit end on the next tick.\\\\n if (nOrig !== n && state.ended) endReadable(this);\\\\n }\\\\n\\\\n if (ret !== null) this.emit('data', ret);\\\\n\\\\n return ret;\\\\n};\\\\n\\\\nfunction onEofChunk(stream, state) {\\\\n if (state.ended) return;\\\\n if (state.decoder) {\\\\n var chunk = state.decoder.end();\\\\n if (chunk && chunk.length) {\\\\n state.buffer.push(chunk);\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n }\\\\n }\\\\n state.ended = true;\\\\n\\\\n // emit 'readable' now to make sure it gets picked up.\\\\n emitReadable(stream);\\\\n}\\\\n\\\\n// Don't emit readable right away in sync mode, because this can trigger\\\\n// another read() call => stack overflow. This way, it might trigger\\\\n// a nextTick recursion warning, but that's not so bad.\\\\nfunction emitReadable(stream) {\\\\n var state = stream._readableState;\\\\n state.needReadable = false;\\\\n if (!state.emittedReadable) {\\\\n debug('emitReadable', state.flowing);\\\\n state.emittedReadable = true;\\\\n if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);\\\\n }\\\\n}\\\\n\\\\nfunction emitReadable_(stream) {\\\\n debug('emit readable');\\\\n stream.emit('readable');\\\\n flow(stream);\\\\n}\\\\n\\\\n// at this point, the user has presumably seen the 'readable' event,\\\\n// and called read() to consume some data. that may have triggered\\\\n// in turn another _read(n) call, in which case reading = true if\\\\n// it's in progress.\\\\n// However, if we're not ended, or reading, and the length < hwm,\\\\n// then go ahead and try to read some more preemptively.\\\\nfunction maybeReadMore(stream, state) {\\\\n if (!state.readingMore) {\\\\n state.readingMore = true;\\\\n pna.nextTick(maybeReadMore_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction maybeReadMore_(stream, state) {\\\\n var len = state.length;\\\\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\\\\n debug('maybeReadMore read 0');\\\\n stream.read(0);\\\\n if (len === state.length)\\\\n // didn't get any data, stop spinning.\\\\n break;else len = state.length;\\\\n }\\\\n state.readingMore = false;\\\\n}\\\\n\\\\n// abstract method. to be overridden in specific implementation classes.\\\\n// call cb(er, data) where data is <= n in length.\\\\n// for virtual (non-string, non-buffer) streams, \\\\\\\"length\\\\\\\" is somewhat\\\\n// arbitrary, and perhaps not very meaningful.\\\\nReadable.prototype._read = function (n) {\\\\n this.emit('error', new Error('_read() is not implemented'));\\\\n};\\\\n\\\\nReadable.prototype.pipe = function (dest, pipeOpts) {\\\\n var src = this;\\\\n var state = this._readableState;\\\\n\\\\n switch (state.pipesCount) {\\\\n case 0:\\\\n state.pipes = dest;\\\\n break;\\\\n case 1:\\\\n state.pipes = [state.pipes, dest];\\\\n break;\\\\n default:\\\\n state.pipes.push(dest);\\\\n break;\\\\n }\\\\n state.pipesCount += 1;\\\\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\\\\n\\\\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\\\\n\\\\n var endFn = doEnd ? onend : unpipe;\\\\n if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);\\\\n\\\\n dest.on('unpipe', onunpipe);\\\\n function onunpipe(readable, unpipeInfo) {\\\\n debug('onunpipe');\\\\n if (readable === src) {\\\\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\\\\n unpipeInfo.hasUnpiped = true;\\\\n cleanup();\\\\n }\\\\n }\\\\n }\\\\n\\\\n function onend() {\\\\n debug('onend');\\\\n dest.end();\\\\n }\\\\n\\\\n // when the dest drains, it reduces the awaitDrain counter\\\\n // on the source. This would be more elegant with a .once()\\\\n // handler in flow(), but adding and removing repeatedly is\\\\n // too slow.\\\\n var ondrain = pipeOnDrain(src);\\\\n dest.on('drain', ondrain);\\\\n\\\\n var cleanedUp = false;\\\\n function cleanup() {\\\\n debug('cleanup');\\\\n // cleanup event handlers once the pipe is broken\\\\n dest.removeListener('close', onclose);\\\\n dest.removeListener('finish', onfinish);\\\\n dest.removeListener('drain', ondrain);\\\\n dest.removeListener('error', onerror);\\\\n dest.removeListener('unpipe', onunpipe);\\\\n src.removeListener('end', onend);\\\\n src.removeListener('end', unpipe);\\\\n src.removeListener('data', ondata);\\\\n\\\\n cleanedUp = true;\\\\n\\\\n // if the reader is waiting for a drain event from this\\\\n // specific writer, then it would cause it to never start\\\\n // flowing again.\\\\n // So, if this is awaiting a drain, then we just call it now.\\\\n // If we don't know, then assume that we are waiting for one.\\\\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\\\\n }\\\\n\\\\n // If the user pushes more data while we're writing to dest then we'll end up\\\\n // in ondata again. However, we only want to increase awaitDrain once because\\\\n // dest will only emit one 'drain' event for the multiple writes.\\\\n // => Introduce a guard on increasing awaitDrain.\\\\n var increasedAwaitDrain = false;\\\\n src.on('data', ondata);\\\\n function ondata(chunk) {\\\\n debug('ondata');\\\\n increasedAwaitDrain = false;\\\\n var ret = dest.write(chunk);\\\\n if (false === ret && !increasedAwaitDrain) {\\\\n // If the user unpiped during `dest.write()`, it is possible\\\\n // to get stuck in a permanently paused state if that write\\\\n // also returned false.\\\\n // => Check whether `dest` is still a piping destination.\\\\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\\\\n debug('false write response, pause', src._readableState.awaitDrain);\\\\n src._readableState.awaitDrain++;\\\\n increasedAwaitDrain = true;\\\\n }\\\\n src.pause();\\\\n }\\\\n }\\\\n\\\\n // if the dest has an error, then stop piping into it.\\\\n // however, don't suppress the throwing behavior for this.\\\\n function onerror(er) {\\\\n debug('onerror', er);\\\\n unpipe();\\\\n dest.removeListener('error', onerror);\\\\n if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);\\\\n }\\\\n\\\\n // Make sure our error handler is attached before userland ones.\\\\n prependListener(dest, 'error', onerror);\\\\n\\\\n // Both close and finish should trigger unpipe, but only once.\\\\n function onclose() {\\\\n dest.removeListener('finish', onfinish);\\\\n unpipe();\\\\n }\\\\n dest.once('close', onclose);\\\\n function onfinish() {\\\\n debug('onfinish');\\\\n dest.removeListener('close', onclose);\\\\n unpipe();\\\\n }\\\\n dest.once('finish', onfinish);\\\\n\\\\n function unpipe() {\\\\n debug('unpipe');\\\\n src.unpipe(dest);\\\\n }\\\\n\\\\n // tell the dest that it's being piped to\\\\n dest.emit('pipe', src);\\\\n\\\\n // start the flow if it hasn't been started already.\\\\n if (!state.flowing) {\\\\n debug('pipe resume');\\\\n src.resume();\\\\n }\\\\n\\\\n return dest;\\\\n};\\\\n\\\\nfunction pipeOnDrain(src) {\\\\n return function () {\\\\n var state = src._readableState;\\\\n debug('pipeOnDrain', state.awaitDrain);\\\\n if (state.awaitDrain) state.awaitDrain--;\\\\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\\\\n state.flowing = true;\\\\n flow(src);\\\\n }\\\\n };\\\\n}\\\\n\\\\nReadable.prototype.unpipe = function (dest) {\\\\n var state = this._readableState;\\\\n var unpipeInfo = { hasUnpiped: false };\\\\n\\\\n // if we're not piping anywhere, then do nothing.\\\\n if (state.pipesCount === 0) return this;\\\\n\\\\n // just one destination. most common case.\\\\n if (state.pipesCount === 1) {\\\\n // passed in one, but it's not the right one.\\\\n if (dest && dest !== state.pipes) return this;\\\\n\\\\n if (!dest) dest = state.pipes;\\\\n\\\\n // got a match.\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n if (dest) dest.emit('unpipe', this, unpipeInfo);\\\\n return this;\\\\n }\\\\n\\\\n // slow case. multiple pipe destinations.\\\\n\\\\n if (!dest) {\\\\n // remove all.\\\\n var dests = state.pipes;\\\\n var len = state.pipesCount;\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n\\\\n for (var i = 0; i < len; i++) {\\\\n dests[i].emit('unpipe', this, unpipeInfo);\\\\n }return this;\\\\n }\\\\n\\\\n // try to find the right one.\\\\n var index = indexOf(state.pipes, dest);\\\\n if (index === -1) return this;\\\\n\\\\n state.pipes.splice(index, 1);\\\\n state.pipesCount -= 1;\\\\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\\\\n\\\\n dest.emit('unpipe', this, unpipeInfo);\\\\n\\\\n return this;\\\\n};\\\\n\\\\n// set up data events if they are asked for\\\\n// Ensure readable listeners eventually get something\\\\nReadable.prototype.on = function (ev, fn) {\\\\n var res = Stream.prototype.on.call(this, ev, fn);\\\\n\\\\n if (ev === 'data') {\\\\n // Start flowing on next tick if stream isn't explicitly paused\\\\n if (this._readableState.flowing !== false) this.resume();\\\\n } else if (ev === 'readable') {\\\\n var state = this._readableState;\\\\n if (!state.endEmitted && !state.readableListening) {\\\\n state.readableListening = state.needReadable = true;\\\\n state.emittedReadable = false;\\\\n if (!state.reading) {\\\\n pna.nextTick(nReadingNextTick, this);\\\\n } else if (state.length) {\\\\n emitReadable(this);\\\\n }\\\\n }\\\\n }\\\\n\\\\n return res;\\\\n};\\\\nReadable.prototype.addListener = Readable.prototype.on;\\\\n\\\\nfunction nReadingNextTick(self) {\\\\n debug('readable nexttick read 0');\\\\n self.read(0);\\\\n}\\\\n\\\\n// pause() and resume() are remnants of the legacy readable stream API\\\\n// If the user uses them, then switch into old mode.\\\\nReadable.prototype.resume = function () {\\\\n var state = this._readableState;\\\\n if (!state.flowing) {\\\\n debug('resume');\\\\n state.flowing = true;\\\\n resume(this, state);\\\\n }\\\\n return this;\\\\n};\\\\n\\\\nfunction resume(stream, state) {\\\\n if (!state.resumeScheduled) {\\\\n state.resumeScheduled = true;\\\\n pna.nextTick(resume_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction resume_(stream, state) {\\\\n if (!state.reading) {\\\\n debug('resume read 0');\\\\n stream.read(0);\\\\n }\\\\n\\\\n state.resumeScheduled = false;\\\\n state.awaitDrain = 0;\\\\n stream.emit('resume');\\\\n flow(stream);\\\\n if (state.flowing && !state.reading) stream.read(0);\\\\n}\\\\n\\\\nReadable.prototype.pause = function () {\\\\n debug('call pause flowing=%j', this._readableState.flowing);\\\\n if (false !== this._readableState.flowing) {\\\\n debug('pause');\\\\n this._readableState.flowing = false;\\\\n this.emit('pause');\\\\n }\\\\n return this;\\\\n};\\\\n\\\\nfunction flow(stream) {\\\\n var state = stream._readableState;\\\\n debug('flow', state.flowing);\\\\n while (state.flowing && stream.read() !== null) {}\\\\n}\\\\n\\\\n// wrap an old-style stream as the async data source.\\\\n// This is *not* part of the readable stream interface.\\\\n// It is an ugly unfortunate mess of history.\\\\nReadable.prototype.wrap = function (stream) {\\\\n var _this = this;\\\\n\\\\n var state = this._readableState;\\\\n var paused = false;\\\\n\\\\n stream.on('end', function () {\\\\n debug('wrapped end');\\\\n if (state.decoder && !state.ended) {\\\\n var chunk = state.decoder.end();\\\\n if (chunk && chunk.length) _this.push(chunk);\\\\n }\\\\n\\\\n _this.push(null);\\\\n });\\\\n\\\\n stream.on('data', function (chunk) {\\\\n debug('wrapped data');\\\\n if (state.decoder) chunk = state.decoder.write(chunk);\\\\n\\\\n // don't skip over falsy values in objectMode\\\\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\\\\n\\\\n var ret = _this.push(chunk);\\\\n if (!ret) {\\\\n paused = true;\\\\n stream.pause();\\\\n }\\\\n });\\\\n\\\\n // proxy all the other methods.\\\\n // important when wrapping filters and duplexes.\\\\n for (var i in stream) {\\\\n if (this[i] === undefined && typeof stream[i] === 'function') {\\\\n this[i] = function (method) {\\\\n return function () {\\\\n return stream[method].apply(stream, arguments);\\\\n };\\\\n }(i);\\\\n }\\\\n }\\\\n\\\\n // proxy certain important events.\\\\n for (var n = 0; n < kProxyEvents.length; n++) {\\\\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\\\\n }\\\\n\\\\n // when we try to consume some more bytes, simply unpause the\\\\n // underlying stream.\\\\n this._read = function (n) {\\\\n debug('wrapped _read', n);\\\\n if (paused) {\\\\n paused = false;\\\\n stream.resume();\\\\n }\\\\n };\\\\n\\\\n return this;\\\\n};\\\\n\\\\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function () {\\\\n return this._readableState.highWaterMark;\\\\n }\\\\n});\\\\n\\\\n// exposed for testing purposes only.\\\\nReadable._fromList = fromList;\\\\n\\\\n// Pluck off n bytes from an array of buffers.\\\\n// Length is the combined lengths of all the buffers in the list.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction fromList(n, state) {\\\\n // nothing buffered\\\\n if (state.length === 0) return null;\\\\n\\\\n var ret;\\\\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\\\\n // read it all, truncate the list\\\\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);\\\\n state.buffer.clear();\\\\n } else {\\\\n // read part of list\\\\n ret = fromListPartial(n, state.buffer, state.decoder);\\\\n }\\\\n\\\\n return ret;\\\\n}\\\\n\\\\n// Extracts only enough buffered data to satisfy the amount requested.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction fromListPartial(n, list, hasStrings) {\\\\n var ret;\\\\n if (n < list.head.data.length) {\\\\n // slice is the same for buffers and strings\\\\n ret = list.head.data.slice(0, n);\\\\n list.head.data = list.head.data.slice(n);\\\\n } else if (n === list.head.data.length) {\\\\n // first chunk is a perfect match\\\\n ret = list.shift();\\\\n } else {\\\\n // result spans more than one buffer\\\\n ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\n// Copies a specified amount of characters from the list of buffered data\\\\n// chunks.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction copyFromBufferString(n, list) {\\\\n var p = list.head;\\\\n var c = 1;\\\\n var ret = p.data;\\\\n n -= ret.length;\\\\n while (p = p.next) {\\\\n var str = p.data;\\\\n var nb = n > str.length ? str.length : n;\\\\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\\\\n n -= nb;\\\\n if (n === 0) {\\\\n if (nb === str.length) {\\\\n ++c;\\\\n if (p.next) list.head = p.next;else list.head = list.tail = null;\\\\n } else {\\\\n list.head = p;\\\\n p.data = str.slice(nb);\\\\n }\\\\n break;\\\\n }\\\\n ++c;\\\\n }\\\\n list.length -= c;\\\\n return ret;\\\\n}\\\\n\\\\n// Copies a specified amount of bytes from the list of buffered data chunks.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\nfunction copyFromBuffer(n, list) {\\\\n var ret = Buffer.allocUnsafe(n);\\\\n var p = list.head;\\\\n var c = 1;\\\\n p.data.copy(ret);\\\\n n -= p.data.length;\\\\n while (p = p.next) {\\\\n var buf = p.data;\\\\n var nb = n > buf.length ? buf.length : n;\\\\n buf.copy(ret, ret.length - n, 0, nb);\\\\n n -= nb;\\\\n if (n === 0) {\\\\n if (nb === buf.length) {\\\\n ++c;\\\\n if (p.next) list.head = p.next;else list.head = list.tail = null;\\\\n } else {\\\\n list.head = p;\\\\n p.data = buf.slice(nb);\\\\n }\\\\n break;\\\\n }\\\\n ++c;\\\\n }\\\\n list.length -= c;\\\\n return ret;\\\\n}\\\\n\\\\nfunction endReadable(stream) {\\\\n var state = stream._readableState;\\\\n\\\\n // If we get here before consuming all the bytes, then that is a\\\\n // bug in node. Should never happen.\\\\n if (state.length > 0) throw new Error('\\\\\\\"endReadable()\\\\\\\" called on non-empty stream');\\\\n\\\\n if (!state.endEmitted) {\\\\n state.ended = true;\\\\n pna.nextTick(endReadableNT, state, stream);\\\\n }\\\\n}\\\\n\\\\nfunction endReadableNT(state, stream) {\\\\n // Check that we didn't get one last unshift.\\\\n if (!state.endEmitted && state.length === 0) {\\\\n state.endEmitted = true;\\\\n stream.readable = false;\\\\n stream.emit('end');\\\\n }\\\\n}\\\\n\\\\nfunction indexOf(xs, x) {\\\\n for (var i = 0, l = xs.length; i < l; i++) {\\\\n if (xs[i] === x) return i;\\\\n }\\\\n return -1;\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_transform.js\\\":\\n/*!***************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_transform.js ***!\\n \\\\***************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// a transform stream is a readable/writable stream where you do\\\\n// something with the data. Sometimes it's called a \\\\\\\"filter\\\\\\\",\\\\n// but that's not a great name for it, since that implies a thing where\\\\n// some bits pass through, and others are simply ignored. (That would\\\\n// be a valid example of a transform, of course.)\\\\n//\\\\n// While the output is causally related to the input, it's not a\\\\n// necessarily symmetric or synchronous transformation. For example,\\\\n// a zlib stream might take multiple plain-text writes(), and then\\\\n// emit a single compressed chunk some time in the future.\\\\n//\\\\n// Here's how this works:\\\\n//\\\\n// The Transform stream has all the aspects of the readable and writable\\\\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\\\\n// internally, and returns false if there's a lot of pending writes\\\\n// buffered up. When you call read(), that calls _read(n) until\\\\n// there's enough pending readable data buffered up.\\\\n//\\\\n// In a transform stream, the written data is placed in a buffer. When\\\\n// _read(n) is called, it transforms the queued up data, calling the\\\\n// buffered _write cb's as it consumes chunks. If consuming a single\\\\n// written chunk would result in multiple output chunks, then the first\\\\n// outputted bit calls the readcb, and subsequent chunks just go into\\\\n// the read buffer, and will cause it to emit 'readable' if necessary.\\\\n//\\\\n// This way, back-pressure is actually determined by the reading side,\\\\n// since _read has to be called to start processing a new chunk. However,\\\\n// a pathological inflate type of transform can cause excessive buffering\\\\n// here. For example, imagine a stream where every byte of input is\\\\n// interpreted as an integer from 0-255, and then results in that many\\\\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\\\\n// 1kb of data being output. In this case, you could write a very small\\\\n// amount of input, and end up with a very large amount of output. In\\\\n// such a pathological inflating mechanism, there'd be no way to tell\\\\n// the system to stop doing the transform. A single 4MB write could\\\\n// cause the system to run out of memory.\\\\n//\\\\n// However, even in such a pathological case, only a single written chunk\\\\n// would be consumed, and then the rest would wait (un-transformed) until\\\\n// the results of the previous transformed chunk were consumed.\\\\n\\\\n\\\\n\\\\nmodule.exports = Transform;\\\\n\\\\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\");\\\\n/**/\\\\n\\\\nutil.inherits(Transform, Duplex);\\\\n\\\\nfunction afterTransform(er, data) {\\\\n var ts = this._transformState;\\\\n ts.transforming = false;\\\\n\\\\n var cb = ts.writecb;\\\\n\\\\n if (!cb) {\\\\n return this.emit('error', new Error('write callback called multiple times'));\\\\n }\\\\n\\\\n ts.writechunk = null;\\\\n ts.writecb = null;\\\\n\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n this.push(data);\\\\n\\\\n cb(er);\\\\n\\\\n var rs = this._readableState;\\\\n rs.reading = false;\\\\n if (rs.needReadable || rs.length < rs.highWaterMark) {\\\\n this._read(rs.highWaterMark);\\\\n }\\\\n}\\\\n\\\\nfunction Transform(options) {\\\\n if (!(this instanceof Transform)) return new Transform(options);\\\\n\\\\n Duplex.call(this, options);\\\\n\\\\n this._transformState = {\\\\n afterTransform: afterTransform.bind(this),\\\\n needTransform: false,\\\\n transforming: false,\\\\n writecb: null,\\\\n writechunk: null,\\\\n writeencoding: null\\\\n };\\\\n\\\\n // start out asking for a readable event once data is transformed.\\\\n this._readableState.needReadable = true;\\\\n\\\\n // we have implemented the _read method, and done the other things\\\\n // that Readable wants before the first _read call, so unset the\\\\n // sync guard flag.\\\\n this._readableState.sync = false;\\\\n\\\\n if (options) {\\\\n if (typeof options.transform === 'function') this._transform = options.transform;\\\\n\\\\n if (typeof options.flush === 'function') this._flush = options.flush;\\\\n }\\\\n\\\\n // When the writable side finishes, then flush out anything remaining.\\\\n this.on('prefinish', prefinish);\\\\n}\\\\n\\\\nfunction prefinish() {\\\\n var _this = this;\\\\n\\\\n if (typeof this._flush === 'function') {\\\\n this._flush(function (er, data) {\\\\n done(_this, er, data);\\\\n });\\\\n } else {\\\\n done(this, null, null);\\\\n }\\\\n}\\\\n\\\\nTransform.prototype.push = function (chunk, encoding) {\\\\n this._transformState.needTransform = false;\\\\n return Duplex.prototype.push.call(this, chunk, encoding);\\\\n};\\\\n\\\\n// This is the part where you do stuff!\\\\n// override this function in implementation classes.\\\\n// 'chunk' is an input chunk.\\\\n//\\\\n// Call `push(newChunk)` to pass along transformed output\\\\n// to the readable side. You may call 'push' zero or more times.\\\\n//\\\\n// Call `cb(err)` when you are done with this chunk. If you pass\\\\n// an error, then that'll put the hurt on the whole operation. If you\\\\n// never call cb(), then you'll never get another chunk.\\\\nTransform.prototype._transform = function (chunk, encoding, cb) {\\\\n throw new Error('_transform() is not implemented');\\\\n};\\\\n\\\\nTransform.prototype._write = function (chunk, encoding, cb) {\\\\n var ts = this._transformState;\\\\n ts.writecb = cb;\\\\n ts.writechunk = chunk;\\\\n ts.writeencoding = encoding;\\\\n if (!ts.transforming) {\\\\n var rs = this._readableState;\\\\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\\\\n }\\\\n};\\\\n\\\\n// Doesn't matter what the args are here.\\\\n// _transform does all the work.\\\\n// That we got here means that the readable side wants more data.\\\\nTransform.prototype._read = function (n) {\\\\n var ts = this._transformState;\\\\n\\\\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\\\\n ts.transforming = true;\\\\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\\\\n } else {\\\\n // mark that we need a transform, so that any data that comes in\\\\n // will get processed, now that we've asked for it.\\\\n ts.needTransform = true;\\\\n }\\\\n};\\\\n\\\\nTransform.prototype._destroy = function (err, cb) {\\\\n var _this2 = this;\\\\n\\\\n Duplex.prototype._destroy.call(this, err, function (err2) {\\\\n cb(err2);\\\\n _this2.emit('close');\\\\n });\\\\n};\\\\n\\\\nfunction done(stream, er, data) {\\\\n if (er) return stream.emit('error', er);\\\\n\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n stream.push(data);\\\\n\\\\n // if there's nothing in the write buffer, then that means\\\\n // that nothing more will ever be provided\\\\n if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');\\\\n\\\\n if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');\\\\n\\\\n return stream.push(null);\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_writable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_writable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n// A bit simpler than readable streams.\\\\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\\\\n// the drain event emission and buffering.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\nmodule.exports = Writable;\\\\n\\\\n/* */\\\\nfunction WriteReq(chunk, encoding, cb) {\\\\n this.chunk = chunk;\\\\n this.encoding = encoding;\\\\n this.callback = cb;\\\\n this.next = null;\\\\n}\\\\n\\\\n// It seems a linked list but it is not\\\\n// there will be only 2 of these for each stream\\\\nfunction CorkedRequest(state) {\\\\n var _this = this;\\\\n\\\\n this.next = null;\\\\n this.entry = null;\\\\n this.finish = function () {\\\\n onCorkedFinish(_this, state);\\\\n };\\\\n}\\\\n/* */\\\\n\\\\n/**/\\\\nvar asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;\\\\n/**/\\\\n\\\\n/**/\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nWritable.WritableState = WritableState;\\\\n\\\\n/**/\\\\nvar util = Object.create(__webpack_require__(/*! core-util-is */ \\\\\\\"./node_modules/core-util-is/lib/util.js\\\\\\\"));\\\\nutil.inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\nvar internalUtil = {\\\\n deprecate: __webpack_require__(/*! util-deprecate */ \\\\\\\"./node_modules/util-deprecate/node.js\\\\\\\")\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream.js\\\\\\\");\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n\\\\n/**/\\\\n\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\n\\\\nutil.inherits(Writable, Stream);\\\\n\\\\nfunction nop() {}\\\\n\\\\nfunction WritableState(options, stream) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n options = options || {};\\\\n\\\\n // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream.\\\\n // These options can be provided separately as readableXXX and writableXXX.\\\\n var isDuplex = stream instanceof Duplex;\\\\n\\\\n // object stream flag to indicate whether or not this stream\\\\n // contains buffers or objects.\\\\n this.objectMode = !!options.objectMode;\\\\n\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;\\\\n\\\\n // the point at which write() starts returning false\\\\n // Note: 0 is a valid value, means that we always return false if\\\\n // the entire buffer is not flushed immediately on write()\\\\n var hwm = options.highWaterMark;\\\\n var writableHwm = options.writableHighWaterMark;\\\\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\\\\n\\\\n if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;\\\\n\\\\n // cast to ints.\\\\n this.highWaterMark = Math.floor(this.highWaterMark);\\\\n\\\\n // if _final has been called\\\\n this.finalCalled = false;\\\\n\\\\n // drain event flag.\\\\n this.needDrain = false;\\\\n // at the start of calling end()\\\\n this.ending = false;\\\\n // when end() has been called, and returned\\\\n this.ended = false;\\\\n // when 'finish' is emitted\\\\n this.finished = false;\\\\n\\\\n // has it been destroyed\\\\n this.destroyed = false;\\\\n\\\\n // should we decode strings into buffers before passing to _write?\\\\n // this is here so that some node-core streams can optimize string\\\\n // handling at a lower level.\\\\n var noDecode = options.decodeStrings === false;\\\\n this.decodeStrings = !noDecode;\\\\n\\\\n // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8';\\\\n\\\\n // not an actual buffer we keep track of, but a measurement\\\\n // of how much we're waiting to get pushed to some underlying\\\\n // socket or file.\\\\n this.length = 0;\\\\n\\\\n // a flag to see when we're in the middle of a write.\\\\n this.writing = false;\\\\n\\\\n // when true all writes will be buffered until .uncork() call\\\\n this.corked = 0;\\\\n\\\\n // a flag to be able to tell if the onwrite cb is called immediately,\\\\n // or on a later tick. We set this to true at first, because any\\\\n // actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first write call.\\\\n this.sync = true;\\\\n\\\\n // a flag to know if we're processing previously buffered items, which\\\\n // may call the _write() callback in the same tick, so that we don't\\\\n // end up in an overlapped onwrite situation.\\\\n this.bufferProcessing = false;\\\\n\\\\n // the callback that's passed to _write(chunk,cb)\\\\n this.onwrite = function (er) {\\\\n onwrite(stream, er);\\\\n };\\\\n\\\\n // the callback that the user supplies to write(chunk,encoding,cb)\\\\n this.writecb = null;\\\\n\\\\n // the amount that is being written when _write is called.\\\\n this.writelen = 0;\\\\n\\\\n this.bufferedRequest = null;\\\\n this.lastBufferedRequest = null;\\\\n\\\\n // number of pending user-supplied write callbacks\\\\n // this must be 0 before 'finish' can be emitted\\\\n this.pendingcb = 0;\\\\n\\\\n // emit prefinish if the only thing we're waiting for is _write cbs\\\\n // This is relevant for synchronous Transform streams\\\\n this.prefinished = false;\\\\n\\\\n // True if the error was already emitted and should not be thrown again\\\\n this.errorEmitted = false;\\\\n\\\\n // count buffered requests\\\\n this.bufferedRequestCount = 0;\\\\n\\\\n // allocate the first CorkedRequest, there is always\\\\n // one allocated and free to use, and we maintain at most two\\\\n this.corkedRequestsFree = new CorkedRequest(this);\\\\n}\\\\n\\\\nWritableState.prototype.getBuffer = function getBuffer() {\\\\n var current = this.bufferedRequest;\\\\n var out = [];\\\\n while (current) {\\\\n out.push(current);\\\\n current = current.next;\\\\n }\\\\n return out;\\\\n};\\\\n\\\\n(function () {\\\\n try {\\\\n Object.defineProperty(WritableState.prototype, 'buffer', {\\\\n get: internalUtil.deprecate(function () {\\\\n return this.getBuffer();\\\\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\\\\n });\\\\n } catch (_) {}\\\\n})();\\\\n\\\\n// Test _writableState for inheritance to account for Duplex streams,\\\\n// whose prototype chain only points to Readable.\\\\nvar realHasInstance;\\\\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\\\\n realHasInstance = Function.prototype[Symbol.hasInstance];\\\\n Object.defineProperty(Writable, Symbol.hasInstance, {\\\\n value: function (object) {\\\\n if (realHasInstance.call(this, object)) return true;\\\\n if (this !== Writable) return false;\\\\n\\\\n return object && object._writableState instanceof WritableState;\\\\n }\\\\n });\\\\n} else {\\\\n realHasInstance = function (object) {\\\\n return object instanceof this;\\\\n };\\\\n}\\\\n\\\\nfunction Writable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n // Writable ctor is applied to Duplexes, too.\\\\n // `realHasInstance` is necessary because using plain `instanceof`\\\\n // would return false, as no `_writableState` property is attached.\\\\n\\\\n // Trying to use the custom `instanceof` for Writable here will also break the\\\\n // Node.js LazyTransform implementation, which has a non-trivial getter for\\\\n // `_writableState` that would lead to infinite recursion.\\\\n if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {\\\\n return new Writable(options);\\\\n }\\\\n\\\\n this._writableState = new WritableState(options, this);\\\\n\\\\n // legacy.\\\\n this.writable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.write === 'function') this._write = options.write;\\\\n\\\\n if (typeof options.writev === 'function') this._writev = options.writev;\\\\n\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n\\\\n if (typeof options.final === 'function') this._final = options.final;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n}\\\\n\\\\n// Otherwise people can pipe Writable streams, which is just wrong.\\\\nWritable.prototype.pipe = function () {\\\\n this.emit('error', new Error('Cannot pipe, not readable'));\\\\n};\\\\n\\\\nfunction writeAfterEnd(stream, cb) {\\\\n var er = new Error('write after end');\\\\n // TODO: defer error events consistently everywhere, not just the cb\\\\n stream.emit('error', er);\\\\n pna.nextTick(cb, er);\\\\n}\\\\n\\\\n// Checks that a user-supplied chunk is valid, especially for the particular\\\\n// mode the stream is in. Currently this means that `null` is never accepted\\\\n// and undefined/non-string values are only allowed in object mode.\\\\nfunction validChunk(stream, state, chunk, cb) {\\\\n var valid = true;\\\\n var er = false;\\\\n\\\\n if (chunk === null) {\\\\n er = new TypeError('May not write null values to stream');\\\\n } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\\\\n er = new TypeError('Invalid non-string/buffer chunk');\\\\n }\\\\n if (er) {\\\\n stream.emit('error', er);\\\\n pna.nextTick(cb, er);\\\\n valid = false;\\\\n }\\\\n return valid;\\\\n}\\\\n\\\\nWritable.prototype.write = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n var ret = false;\\\\n var isBuf = !state.objectMode && _isUint8Array(chunk);\\\\n\\\\n if (isBuf && !Buffer.isBuffer(chunk)) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\\\\n\\\\n if (typeof cb !== 'function') cb = nop;\\\\n\\\\n if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\\\\n state.pendingcb++;\\\\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\\\\n }\\\\n\\\\n return ret;\\\\n};\\\\n\\\\nWritable.prototype.cork = function () {\\\\n var state = this._writableState;\\\\n\\\\n state.corked++;\\\\n};\\\\n\\\\nWritable.prototype.uncork = function () {\\\\n var state = this._writableState;\\\\n\\\\n if (state.corked) {\\\\n state.corked--;\\\\n\\\\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\\\\n }\\\\n};\\\\n\\\\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\\\\n // node::ParseEncoding() requires lower case.\\\\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\\\\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);\\\\n this._writableState.defaultEncoding = encoding;\\\\n return this;\\\\n};\\\\n\\\\nfunction decodeChunk(state, chunk, encoding) {\\\\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n }\\\\n return chunk;\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function () {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n});\\\\n\\\\n// if we're already writing something, then just put this\\\\n// in the queue, and wait our turn. Otherwise, call _write\\\\n// If we return false, then we need a drain event, so set that flag.\\\\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\\\\n if (!isBuf) {\\\\n var newChunk = decodeChunk(state, chunk, encoding);\\\\n if (chunk !== newChunk) {\\\\n isBuf = true;\\\\n encoding = 'buffer';\\\\n chunk = newChunk;\\\\n }\\\\n }\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n\\\\n state.length += len;\\\\n\\\\n var ret = state.length < state.highWaterMark;\\\\n // we must ensure that previous needDrain will not be reset to false.\\\\n if (!ret) state.needDrain = true;\\\\n\\\\n if (state.writing || state.corked) {\\\\n var last = state.lastBufferedRequest;\\\\n state.lastBufferedRequest = {\\\\n chunk: chunk,\\\\n encoding: encoding,\\\\n isBuf: isBuf,\\\\n callback: cb,\\\\n next: null\\\\n };\\\\n if (last) {\\\\n last.next = state.lastBufferedRequest;\\\\n } else {\\\\n state.bufferedRequest = state.lastBufferedRequest;\\\\n }\\\\n state.bufferedRequestCount += 1;\\\\n } else {\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n }\\\\n\\\\n return ret;\\\\n}\\\\n\\\\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\\\\n state.writelen = len;\\\\n state.writecb = cb;\\\\n state.writing = true;\\\\n state.sync = true;\\\\n if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\\\\n state.sync = false;\\\\n}\\\\n\\\\nfunction onwriteError(stream, state, sync, er, cb) {\\\\n --state.pendingcb;\\\\n\\\\n if (sync) {\\\\n // defer the callback if we are being called synchronously\\\\n // to avoid piling up things on the stack\\\\n pna.nextTick(cb, er);\\\\n // this can emit finish, and it will always happen\\\\n // after error\\\\n pna.nextTick(finishMaybe, stream, state);\\\\n stream._writableState.errorEmitted = true;\\\\n stream.emit('error', er);\\\\n } else {\\\\n // the caller expect this to happen before if\\\\n // it is async\\\\n cb(er);\\\\n stream._writableState.errorEmitted = true;\\\\n stream.emit('error', er);\\\\n // this can emit finish, but finish must\\\\n // always follow error\\\\n finishMaybe(stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction onwriteStateUpdate(state) {\\\\n state.writing = false;\\\\n state.writecb = null;\\\\n state.length -= state.writelen;\\\\n state.writelen = 0;\\\\n}\\\\n\\\\nfunction onwrite(stream, er) {\\\\n var state = stream._writableState;\\\\n var sync = state.sync;\\\\n var cb = state.writecb;\\\\n\\\\n onwriteStateUpdate(state);\\\\n\\\\n if (er) onwriteError(stream, state, sync, er, cb);else {\\\\n // Check if we're actually ready to finish, but don't emit yet\\\\n var finished = needFinish(state);\\\\n\\\\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\\\\n clearBuffer(stream, state);\\\\n }\\\\n\\\\n if (sync) {\\\\n /**/\\\\n asyncWrite(afterWrite, stream, state, finished, cb);\\\\n /**/\\\\n } else {\\\\n afterWrite(stream, state, finished, cb);\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction afterWrite(stream, state, finished, cb) {\\\\n if (!finished) onwriteDrain(stream, state);\\\\n state.pendingcb--;\\\\n cb();\\\\n finishMaybe(stream, state);\\\\n}\\\\n\\\\n// Must force callback to be called on nextTick, so that we don't\\\\n// emit 'drain' before the write() consumer gets the 'false' return\\\\n// value, and has a chance to attach a 'drain' listener.\\\\nfunction onwriteDrain(stream, state) {\\\\n if (state.length === 0 && state.needDrain) {\\\\n state.needDrain = false;\\\\n stream.emit('drain');\\\\n }\\\\n}\\\\n\\\\n// if there's something in the buffer waiting, then process it\\\\nfunction clearBuffer(stream, state) {\\\\n state.bufferProcessing = true;\\\\n var entry = state.bufferedRequest;\\\\n\\\\n if (stream._writev && entry && entry.next) {\\\\n // Fast case, write everything using _writev()\\\\n var l = state.bufferedRequestCount;\\\\n var buffer = new Array(l);\\\\n var holder = state.corkedRequestsFree;\\\\n holder.entry = entry;\\\\n\\\\n var count = 0;\\\\n var allBuffers = true;\\\\n while (entry) {\\\\n buffer[count] = entry;\\\\n if (!entry.isBuf) allBuffers = false;\\\\n entry = entry.next;\\\\n count += 1;\\\\n }\\\\n buffer.allBuffers = allBuffers;\\\\n\\\\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\\\\n\\\\n // doWrite is almost always async, defer these to save a bit of time\\\\n // as the hot path ends with doWrite\\\\n state.pendingcb++;\\\\n state.lastBufferedRequest = null;\\\\n if (holder.next) {\\\\n state.corkedRequestsFree = holder.next;\\\\n holder.next = null;\\\\n } else {\\\\n state.corkedRequestsFree = new CorkedRequest(state);\\\\n }\\\\n state.bufferedRequestCount = 0;\\\\n } else {\\\\n // Slow case, write chunks one-by-one\\\\n while (entry) {\\\\n var chunk = entry.chunk;\\\\n var encoding = entry.encoding;\\\\n var cb = entry.callback;\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n entry = entry.next;\\\\n state.bufferedRequestCount--;\\\\n // if we didn't call the onwrite immediately, then\\\\n // it means that we need to wait until it does.\\\\n // also, that means that the chunk and cb are currently\\\\n // being processed, so move the buffer counter past them.\\\\n if (state.writing) {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (entry === null) state.lastBufferedRequest = null;\\\\n }\\\\n\\\\n state.bufferedRequest = entry;\\\\n state.bufferProcessing = false;\\\\n}\\\\n\\\\nWritable.prototype._write = function (chunk, encoding, cb) {\\\\n cb(new Error('_write() is not implemented'));\\\\n};\\\\n\\\\nWritable.prototype._writev = null;\\\\n\\\\nWritable.prototype.end = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n\\\\n if (typeof chunk === 'function') {\\\\n cb = chunk;\\\\n chunk = null;\\\\n encoding = null;\\\\n } else if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);\\\\n\\\\n // .end() fully uncorks\\\\n if (state.corked) {\\\\n state.corked = 1;\\\\n this.uncork();\\\\n }\\\\n\\\\n // ignore unnecessary end() calls.\\\\n if (!state.ending && !state.finished) endWritable(this, state, cb);\\\\n};\\\\n\\\\nfunction needFinish(state) {\\\\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\\\\n}\\\\nfunction callFinal(stream, state) {\\\\n stream._final(function (err) {\\\\n state.pendingcb--;\\\\n if (err) {\\\\n stream.emit('error', err);\\\\n }\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n finishMaybe(stream, state);\\\\n });\\\\n}\\\\nfunction prefinish(stream, state) {\\\\n if (!state.prefinished && !state.finalCalled) {\\\\n if (typeof stream._final === 'function') {\\\\n state.pendingcb++;\\\\n state.finalCalled = true;\\\\n pna.nextTick(callFinal, stream, state);\\\\n } else {\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction finishMaybe(stream, state) {\\\\n var need = needFinish(state);\\\\n if (need) {\\\\n prefinish(stream, state);\\\\n if (state.pendingcb === 0) {\\\\n state.finished = true;\\\\n stream.emit('finish');\\\\n }\\\\n }\\\\n return need;\\\\n}\\\\n\\\\nfunction endWritable(stream, state, cb) {\\\\n state.ending = true;\\\\n finishMaybe(stream, state);\\\\n if (cb) {\\\\n if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);\\\\n }\\\\n state.ended = true;\\\\n stream.writable = false;\\\\n}\\\\n\\\\nfunction onCorkedFinish(corkReq, state, err) {\\\\n var entry = corkReq.entry;\\\\n corkReq.entry = null;\\\\n while (entry) {\\\\n var cb = entry.callback;\\\\n state.pendingcb--;\\\\n cb(err);\\\\n entry = entry.next;\\\\n }\\\\n if (state.corkedRequestsFree) {\\\\n state.corkedRequestsFree.next = corkReq;\\\\n } else {\\\\n state.corkedRequestsFree = corkReq;\\\\n }\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'destroyed', {\\\\n get: function () {\\\\n if (this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n return this._writableState.destroyed;\\\\n },\\\\n set: function (value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._writableState) {\\\\n return;\\\\n }\\\\n\\\\n // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\n\\\\nWritable.prototype.destroy = destroyImpl.destroy;\\\\nWritable.prototype._undestroy = destroyImpl.undestroy;\\\\nWritable.prototype._destroy = function (err, cb) {\\\\n this.end();\\\\n cb(err);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/BufferList.js\\\":\\n/*!*************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/BufferList.js ***!\\n \\\\*************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\\\\\"Cannot call a class as a function\\\\\\\"); } }\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\nvar util = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\");\\\\n\\\\nfunction copyBuffer(src, target, offset) {\\\\n src.copy(target, offset);\\\\n}\\\\n\\\\nmodule.exports = function () {\\\\n function BufferList() {\\\\n _classCallCheck(this, BufferList);\\\\n\\\\n this.head = null;\\\\n this.tail = null;\\\\n this.length = 0;\\\\n }\\\\n\\\\n BufferList.prototype.push = function push(v) {\\\\n var entry = { data: v, next: null };\\\\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\\\\n this.tail = entry;\\\\n ++this.length;\\\\n };\\\\n\\\\n BufferList.prototype.unshift = function unshift(v) {\\\\n var entry = { data: v, next: this.head };\\\\n if (this.length === 0) this.tail = entry;\\\\n this.head = entry;\\\\n ++this.length;\\\\n };\\\\n\\\\n BufferList.prototype.shift = function shift() {\\\\n if (this.length === 0) return;\\\\n var ret = this.head.data;\\\\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\\\\n --this.length;\\\\n return ret;\\\\n };\\\\n\\\\n BufferList.prototype.clear = function clear() {\\\\n this.head = this.tail = null;\\\\n this.length = 0;\\\\n };\\\\n\\\\n BufferList.prototype.join = function join(s) {\\\\n if (this.length === 0) return '';\\\\n var p = this.head;\\\\n var ret = '' + p.data;\\\\n while (p = p.next) {\\\\n ret += s + p.data;\\\\n }return ret;\\\\n };\\\\n\\\\n BufferList.prototype.concat = function concat(n) {\\\\n if (this.length === 0) return Buffer.alloc(0);\\\\n if (this.length === 1) return this.head.data;\\\\n var ret = Buffer.allocUnsafe(n >>> 0);\\\\n var p = this.head;\\\\n var i = 0;\\\\n while (p) {\\\\n copyBuffer(p.data, ret, i);\\\\n i += p.data.length;\\\\n p = p.next;\\\\n }\\\\n return ret;\\\\n };\\\\n\\\\n return BufferList;\\\\n}();\\\\n\\\\nif (util && util.inspect && util.inspect.custom) {\\\\n module.exports.prototype[util.inspect.custom] = function () {\\\\n var obj = util.inspect({ length: this.length });\\\\n return this.constructor.name + ' ' + obj;\\\\n };\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/BufferList.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\":\\n/*!**********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/destroy.js ***!\\n \\\\**********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n/**/\\\\n\\\\nvar pna = __webpack_require__(/*! process-nextick-args */ \\\\\\\"./node_modules/process-nextick-args/index.js\\\\\\\");\\\\n/**/\\\\n\\\\n// undocumented cb() API, needed for core, not for public API\\\\nfunction destroy(err, cb) {\\\\n var _this = this;\\\\n\\\\n var readableDestroyed = this._readableState && this._readableState.destroyed;\\\\n var writableDestroyed = this._writableState && this._writableState.destroyed;\\\\n\\\\n if (readableDestroyed || writableDestroyed) {\\\\n if (cb) {\\\\n cb(err);\\\\n } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {\\\\n pna.nextTick(emitErrorNT, this, err);\\\\n }\\\\n return this;\\\\n }\\\\n\\\\n // we set destroyed to true before firing error callbacks in order\\\\n // to make it re-entrance safe in case destroy() is called within callbacks\\\\n\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = true;\\\\n }\\\\n\\\\n // if this is a duplex stream mark the writable part as destroyed as well\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = true;\\\\n }\\\\n\\\\n this._destroy(err || null, function (err) {\\\\n if (!cb && err) {\\\\n pna.nextTick(emitErrorNT, _this, err);\\\\n if (_this._writableState) {\\\\n _this._writableState.errorEmitted = true;\\\\n }\\\\n } else if (cb) {\\\\n cb(err);\\\\n }\\\\n });\\\\n\\\\n return this;\\\\n}\\\\n\\\\nfunction undestroy() {\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = false;\\\\n this._readableState.reading = false;\\\\n this._readableState.ended = false;\\\\n this._readableState.endEmitted = false;\\\\n }\\\\n\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = false;\\\\n this._writableState.ended = false;\\\\n this._writableState.ending = false;\\\\n this._writableState.finished = false;\\\\n this._writableState.errorEmitted = false;\\\\n }\\\\n}\\\\n\\\\nfunction emitErrorNT(self, err) {\\\\n self.emit('error', err);\\\\n}\\\\n\\\\nmodule.exports = {\\\\n destroy: destroy,\\\\n undestroy: undestroy\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/stream.js\\\":\\n/*!*********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/stream.js ***!\\n \\\\*********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = __webpack_require__(/*! stream */ \\\\\\\"stream\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/stream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/node_modules/safe-buffer/index.js ***!\\n \\\\************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* eslint-disable node/no-deprecated-api */\\\\nvar buffer = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\")\\\\nvar Buffer = buffer.Buffer\\\\n\\\\n// alternative to using Object.keys for old browsers\\\\nfunction copyProps (src, dst) {\\\\n for (var key in src) {\\\\n dst[key] = src[key]\\\\n }\\\\n}\\\\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\\\\n module.exports = buffer\\\\n} else {\\\\n // Copy properties from require('buffer')\\\\n copyProps(buffer, exports)\\\\n exports.Buffer = SafeBuffer\\\\n}\\\\n\\\\nfunction SafeBuffer (arg, encodingOrOffset, length) {\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\n// Copy static methods from Buffer\\\\ncopyProps(Buffer, SafeBuffer)\\\\n\\\\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\\\\n if (typeof arg === 'number') {\\\\n throw new TypeError('Argument must not be a number')\\\\n }\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nSafeBuffer.alloc = function (size, fill, encoding) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n var buf = Buffer(size)\\\\n if (fill !== undefined) {\\\\n if (typeof encoding === 'string') {\\\\n buf.fill(fill, encoding)\\\\n } else {\\\\n buf.fill(fill)\\\\n }\\\\n } else {\\\\n buf.fill(0)\\\\n }\\\\n return buf\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafe = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return Buffer(size)\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafeSlow = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return buffer.SlowBuffer(size)\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/node_modules/safe-buffer/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js\\\":\\n/*!****************************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js ***!\\n \\\\****************************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/readable-stream/node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\n/**/\\\\n\\\\nvar isEncoding = Buffer.isEncoding || function (encoding) {\\\\n encoding = '' + encoding;\\\\n switch (encoding && encoding.toLowerCase()) {\\\\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\\\\n return true;\\\\n default:\\\\n return false;\\\\n }\\\\n};\\\\n\\\\nfunction _normalizeEncoding(enc) {\\\\n if (!enc) return 'utf8';\\\\n var retried;\\\\n while (true) {\\\\n switch (enc) {\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n return 'utf8';\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return 'utf16le';\\\\n case 'latin1':\\\\n case 'binary':\\\\n return 'latin1';\\\\n case 'base64':\\\\n case 'ascii':\\\\n case 'hex':\\\\n return enc;\\\\n default:\\\\n if (retried) return; // undefined\\\\n enc = ('' + enc).toLowerCase();\\\\n retried = true;\\\\n }\\\\n }\\\\n};\\\\n\\\\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\\\\n// modules monkey-patch it to support additional encodings\\\\nfunction normalizeEncoding(enc) {\\\\n var nenc = _normalizeEncoding(enc);\\\\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\\\\n return nenc || enc;\\\\n}\\\\n\\\\n// StringDecoder provides an interface for efficiently splitting a series of\\\\n// buffers into a series of JS strings without breaking apart multi-byte\\\\n// characters.\\\\nexports.StringDecoder = StringDecoder;\\\\nfunction StringDecoder(encoding) {\\\\n this.encoding = normalizeEncoding(encoding);\\\\n var nb;\\\\n switch (this.encoding) {\\\\n case 'utf16le':\\\\n this.text = utf16Text;\\\\n this.end = utf16End;\\\\n nb = 4;\\\\n break;\\\\n case 'utf8':\\\\n this.fillLast = utf8FillLast;\\\\n nb = 4;\\\\n break;\\\\n case 'base64':\\\\n this.text = base64Text;\\\\n this.end = base64End;\\\\n nb = 3;\\\\n break;\\\\n default:\\\\n this.write = simpleWrite;\\\\n this.end = simpleEnd;\\\\n return;\\\\n }\\\\n this.lastNeed = 0;\\\\n this.lastTotal = 0;\\\\n this.lastChar = Buffer.allocUnsafe(nb);\\\\n}\\\\n\\\\nStringDecoder.prototype.write = function (buf) {\\\\n if (buf.length === 0) return '';\\\\n var r;\\\\n var i;\\\\n if (this.lastNeed) {\\\\n r = this.fillLast(buf);\\\\n if (r === undefined) return '';\\\\n i = this.lastNeed;\\\\n this.lastNeed = 0;\\\\n } else {\\\\n i = 0;\\\\n }\\\\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\\\\n return r || '';\\\\n};\\\\n\\\\nStringDecoder.prototype.end = utf8End;\\\\n\\\\n// Returns only complete characters in a Buffer\\\\nStringDecoder.prototype.text = utf8Text;\\\\n\\\\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\\\\nStringDecoder.prototype.fillLast = function (buf) {\\\\n if (this.lastNeed <= buf.length) {\\\\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\\\\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\\\\n }\\\\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\\\\n this.lastNeed -= buf.length;\\\\n};\\\\n\\\\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\\\\n// continuation byte. If an invalid byte is detected, -2 is returned.\\\\nfunction utf8CheckByte(byte) {\\\\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\\\\n return byte >> 6 === 0x02 ? -1 : -2;\\\\n}\\\\n\\\\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\\\\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\\\\n// needed to complete the UTF-8 character (if applicable) are returned.\\\\nfunction utf8CheckIncomplete(self, buf, i) {\\\\n var j = buf.length - 1;\\\\n if (j < i) return 0;\\\\n var nb = utf8CheckByte(buf[j]);\\\\n if (nb >= 0) {\\\\n if (nb > 0) self.lastNeed = nb - 1;\\\\n return nb;\\\\n }\\\\n if (--j < i || nb === -2) return 0;\\\\n nb = utf8CheckByte(buf[j]);\\\\n if (nb >= 0) {\\\\n if (nb > 0) self.lastNeed = nb - 2;\\\\n return nb;\\\\n }\\\\n if (--j < i || nb === -2) return 0;\\\\n nb = utf8CheckByte(buf[j]);\\\\n if (nb >= 0) {\\\\n if (nb > 0) {\\\\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\\\\n }\\\\n return nb;\\\\n }\\\\n return 0;\\\\n}\\\\n\\\\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\\\\n// needed or are available. If we see a non-continuation byte where we expect\\\\n// one, we \\\\\\\"replace\\\\\\\" the validated continuation bytes we've seen so far with\\\\n// a single UTF-8 replacement character ('\\\\\\\\ufffd'), to match v8's UTF-8 decoding\\\\n// behavior. The continuation byte check is included three times in the case\\\\n// where all of the continuation bytes for a character exist in the same buffer.\\\\n// It is also done this way as a slight performance increase instead of using a\\\\n// loop.\\\\nfunction utf8CheckExtraBytes(self, buf, p) {\\\\n if ((buf[0] & 0xC0) !== 0x80) {\\\\n self.lastNeed = 0;\\\\n return '\\\\\\\\ufffd';\\\\n }\\\\n if (self.lastNeed > 1 && buf.length > 1) {\\\\n if ((buf[1] & 0xC0) !== 0x80) {\\\\n self.lastNeed = 1;\\\\n return '\\\\\\\\ufffd';\\\\n }\\\\n if (self.lastNeed > 2 && buf.length > 2) {\\\\n if ((buf[2] & 0xC0) !== 0x80) {\\\\n self.lastNeed = 2;\\\\n return '\\\\\\\\ufffd';\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\\\\nfunction utf8FillLast(buf) {\\\\n var p = this.lastTotal - this.lastNeed;\\\\n var r = utf8CheckExtraBytes(this, buf, p);\\\\n if (r !== undefined) return r;\\\\n if (this.lastNeed <= buf.length) {\\\\n buf.copy(this.lastChar, p, 0, this.lastNeed);\\\\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\\\\n }\\\\n buf.copy(this.lastChar, p, 0, buf.length);\\\\n this.lastNeed -= buf.length;\\\\n}\\\\n\\\\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\\\\n// partial character, the character's bytes are buffered until the required\\\\n// number of bytes are available.\\\\nfunction utf8Text(buf, i) {\\\\n var total = utf8CheckIncomplete(this, buf, i);\\\\n if (!this.lastNeed) return buf.toString('utf8', i);\\\\n this.lastTotal = total;\\\\n var end = buf.length - (total - this.lastNeed);\\\\n buf.copy(this.lastChar, 0, end);\\\\n return buf.toString('utf8', i, end);\\\\n}\\\\n\\\\n// For UTF-8, a replacement character is added when ending on a partial\\\\n// character.\\\\nfunction utf8End(buf) {\\\\n var r = buf && buf.length ? this.write(buf) : '';\\\\n if (this.lastNeed) return r + '\\\\\\\\ufffd';\\\\n return r;\\\\n}\\\\n\\\\n// UTF-16LE typically needs two bytes per character, but even if we have an even\\\\n// number of bytes available, we need to check if we end on a leading/high\\\\n// surrogate. In that case, we need to wait for the next two bytes in order to\\\\n// decode the last character properly.\\\\nfunction utf16Text(buf, i) {\\\\n if ((buf.length - i) % 2 === 0) {\\\\n var r = buf.toString('utf16le', i);\\\\n if (r) {\\\\n var c = r.charCodeAt(r.length - 1);\\\\n if (c >= 0xD800 && c <= 0xDBFF) {\\\\n this.lastNeed = 2;\\\\n this.lastTotal = 4;\\\\n this.lastChar[0] = buf[buf.length - 2];\\\\n this.lastChar[1] = buf[buf.length - 1];\\\\n return r.slice(0, -1);\\\\n }\\\\n }\\\\n return r;\\\\n }\\\\n this.lastNeed = 1;\\\\n this.lastTotal = 2;\\\\n this.lastChar[0] = buf[buf.length - 1];\\\\n return buf.toString('utf16le', i, buf.length - 1);\\\\n}\\\\n\\\\n// For UTF-16LE we do not explicitly append special replacement characters if we\\\\n// end on a partial character, we simply let v8 handle that.\\\\nfunction utf16End(buf) {\\\\n var r = buf && buf.length ? this.write(buf) : '';\\\\n if (this.lastNeed) {\\\\n var end = this.lastTotal - this.lastNeed;\\\\n return r + this.lastChar.toString('utf16le', 0, end);\\\\n }\\\\n return r;\\\\n}\\\\n\\\\nfunction base64Text(buf, i) {\\\\n var n = (buf.length - i) % 3;\\\\n if (n === 0) return buf.toString('base64', i);\\\\n this.lastNeed = 3 - n;\\\\n this.lastTotal = 3;\\\\n if (n === 1) {\\\\n this.lastChar[0] = buf[buf.length - 1];\\\\n } else {\\\\n this.lastChar[0] = buf[buf.length - 2];\\\\n this.lastChar[1] = buf[buf.length - 1];\\\\n }\\\\n return buf.toString('base64', i, buf.length - n);\\\\n}\\\\n\\\\nfunction base64End(buf) {\\\\n var r = buf && buf.length ? this.write(buf) : '';\\\\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\\\\n return r;\\\\n}\\\\n\\\\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\\\\nfunction simpleWrite(buf) {\\\\n return buf.toString(this.encoding);\\\\n}\\\\n\\\\nfunction simpleEnd(buf) {\\\\n return buf && buf.length ? this.write(buf) : '';\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/readable.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/readable-stream/readable.js ***!\\n \\\\**************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"var Stream = __webpack_require__(/*! stream */ \\\\\\\"stream\\\\\\\");\\\\nif (process.env.READABLE_STREAM === 'disable' && Stream) {\\\\n module.exports = Stream;\\\\n exports = module.exports = Stream.Readable;\\\\n exports.Readable = Stream.Readable;\\\\n exports.Writable = Stream.Writable;\\\\n exports.Duplex = Stream.Duplex;\\\\n exports.Transform = Stream.Transform;\\\\n exports.PassThrough = Stream.PassThrough;\\\\n exports.Stream = Stream;\\\\n} else {\\\\n exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\n exports.Stream = Stream || exports;\\\\n exports.Readable = exports;\\\\n exports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\n exports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n exports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\n exports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/supports-color/index.js\\\":\\n/*!**********************************************!*\\\\\\n !*** ./node_modules/supports-color/index.js ***!\\n \\\\**********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\nvar argv = process.argv;\\\\n\\\\nvar terminator = argv.indexOf('--');\\\\nvar hasFlag = function (flag) {\\\\n\\\\tflag = '--' + flag;\\\\n\\\\tvar pos = argv.indexOf(flag);\\\\n\\\\treturn pos !== -1 && (terminator !== -1 ? pos < terminator : true);\\\\n};\\\\n\\\\nmodule.exports = (function () {\\\\n\\\\tif ('FORCE_COLOR' in process.env) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif (hasFlag('no-color') ||\\\\n\\\\t\\\\thasFlag('no-colors') ||\\\\n\\\\t\\\\thasFlag('color=false')) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\tif (hasFlag('color') ||\\\\n\\\\t\\\\thasFlag('colors') ||\\\\n\\\\t\\\\thasFlag('color=true') ||\\\\n\\\\t\\\\thasFlag('color=always')) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif (process.stdout && !process.stdout.isTTY) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\tif (process.platform === 'win32') {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif ('COLORTERM' in process.env) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif (process.env.TERM === 'dumb') {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\tif (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\treturn false;\\\\n})();\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/supports-color/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads-plugin/dist/loader.js?{\\\\\\\"name\\\\\\\":\\\\\\\"1\\\\\\\"}!./node_modules/geotiff/src/decoder.worker.js\\\":\\n/*!**************************************************************************************************************!*\\\\\\n !*** ./node_modules/threads-plugin/dist/loader.js?{\\\"name\\\":\\\"1\\\"}!./node_modules/geotiff/src/decoder.worker.js ***!\\n \\\\**************************************************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = __webpack_require__.p + \\\\\\\"1.08a977d792232ceaebd8.worker.worker.js\\\\\\\"\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/decoder.worker.js?./node_modules/threads-plugin/dist/loader.js?%7B%22name%22:%221%22%7D\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/common.js\\\":\\n/*!*************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/common.js ***!\\n \\\\*************************************************/\\n/*! exports provided: registerSerializer, deserialize, serialize */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerSerializer\\\\\\\", function() { return registerSerializer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"deserialize\\\\\\\", function() { return deserialize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"serialize\\\\\\\", function() { return serialize; });\\\\n/* harmony import */ var _serializers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./serializers */ \\\\\\\"./node_modules/threads/dist-esm/serializers.js\\\\\\\");\\\\n\\\\nlet registeredSerializer = _serializers__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"DefaultSerializer\\\\\\\"];\\\\nfunction registerSerializer(serializer) {\\\\n registeredSerializer = Object(_serializers__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"extendSerializer\\\\\\\"])(registeredSerializer, serializer);\\\\n}\\\\nfunction deserialize(message) {\\\\n return registeredSerializer.deserialize(message);\\\\n}\\\\nfunction serialize(input) {\\\\n return registeredSerializer.serialize(input);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/index.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/index.js ***!\\n \\\\************************************************/\\n/*! exports provided: registerSerializer, Pool, spawn, Thread, isWorkerRuntime, BlobWorker, Worker, expose, DefaultSerializer, Transfer */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerSerializer\\\\\\\", function() { return _common__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"registerSerializer\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _master_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./master/index */ \\\\\\\"./node_modules/threads/dist-esm/master/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Pool\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"spawn\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"spawn\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Thread\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isWorkerRuntime\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"BlobWorker\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"BlobWorker\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Worker\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Worker\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _worker_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./worker/index */ \\\\\\\"./node_modules/threads/dist-esm/worker/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"expose\\\\\\\", function() { return _worker_index__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"expose\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _serializers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./serializers */ \\\\\\\"./node_modules/threads/dist-esm/serializers.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"DefaultSerializer\\\\\\\", function() { return _serializers__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"DefaultSerializer\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./transferable */ \\\\\\\"./node_modules/threads/dist-esm/transferable.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Transfer\\\\\\\", function() { return _transferable__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"Transfer\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/get-bundle-url.browser.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/get-bundle-url.browser.js ***!\\n \\\\************************************************************************/\\n/*! exports provided: getBaseURL, getBundleURL */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getBaseURL\\\\\\\", function() { return getBaseURL; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getBundleURL\\\\\\\", function() { return getBundleURLCached; });\\\\n// Source: \\\\nlet bundleURL;\\\\nfunction getBundleURLCached() {\\\\n if (!bundleURL) {\\\\n bundleURL = getBundleURL();\\\\n }\\\\n return bundleURL;\\\\n}\\\\nfunction getBundleURL() {\\\\n // Attempt to find the URL of the current script and use that as the base URL\\\\n try {\\\\n throw new Error;\\\\n }\\\\n catch (err) {\\\\n const matches = (\\\\\\\"\\\\\\\" + err.stack).match(/(https?|file|ftp|chrome-extension|moz-extension):\\\\\\\\/\\\\\\\\/[^)\\\\\\\\n]+/g);\\\\n if (matches) {\\\\n return getBaseURL(matches[0]);\\\\n }\\\\n }\\\\n return \\\\\\\"/\\\\\\\";\\\\n}\\\\nfunction getBaseURL(url) {\\\\n return (\\\\\\\"\\\\\\\" + url).replace(/^((?:https?|file|ftp|chrome-extension|moz-extension):\\\\\\\\/\\\\\\\\/.+)?\\\\\\\\/[^/]+(?:\\\\\\\\?.*)?$/, '$1') + '/';\\\\n}\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/get-bundle-url.browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/implementation.browser.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/implementation.browser.js ***!\\n \\\\************************************************************************/\\n/*! exports provided: defaultPoolSize, getWorkerImplementation, isWorkerRuntime */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"defaultPoolSize\\\\\\\", function() { return defaultPoolSize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getWorkerImplementation\\\\\\\", function() { return getWorkerImplementation; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony import */ var _get_bundle_url_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-bundle-url.browser */ \\\\\\\"./node_modules/threads/dist-esm/master/get-bundle-url.browser.js\\\\\\\");\\\\n// tslint:disable max-classes-per-file\\\\n\\\\nconst defaultPoolSize = typeof navigator !== \\\\\\\"undefined\\\\\\\" && navigator.hardwareConcurrency\\\\n ? navigator.hardwareConcurrency\\\\n : 4;\\\\nconst isAbsoluteURL = (value) => /^[a-zA-Z][a-zA-Z\\\\\\\\d+\\\\\\\\-.]*:/.test(value);\\\\nfunction createSourceBlobURL(code) {\\\\n const blob = new Blob([code], { type: \\\\\\\"application/javascript\\\\\\\" });\\\\n return URL.createObjectURL(blob);\\\\n}\\\\nfunction selectWorkerImplementation() {\\\\n if (typeof Worker === \\\\\\\"undefined\\\\\\\") {\\\\n // Might happen on Safari, for instance\\\\n // The idea is to only fail if the constructor is actually used\\\\n return class NoWebWorker {\\\\n constructor() {\\\\n throw Error(\\\\\\\"No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn't support workers in workers.\\\\\\\");\\\\n }\\\\n };\\\\n }\\\\n class WebWorker extends Worker {\\\\n constructor(url, options) {\\\\n var _a, _b;\\\\n if (typeof url === \\\\\\\"string\\\\\\\" && options && options._baseURL) {\\\\n url = new URL(url, options._baseURL);\\\\n }\\\\n else if (typeof url === \\\\\\\"string\\\\\\\" && !isAbsoluteURL(url) && Object(_get_bundle_url_browser__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getBundleURL\\\\\\\"])().match(/^file:\\\\\\\\/\\\\\\\\//i)) {\\\\n url = new URL(url, Object(_get_bundle_url_browser__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getBundleURL\\\\\\\"])().replace(/\\\\\\\\/[^\\\\\\\\/]+$/, \\\\\\\"/\\\\\\\"));\\\\n if ((_a = options === null || options === void 0 ? void 0 : options.CORSWorkaround) !== null && _a !== void 0 ? _a : true) {\\\\n url = createSourceBlobURL(`importScripts(${JSON.stringify(url)});`);\\\\n }\\\\n }\\\\n if (typeof url === \\\\\\\"string\\\\\\\" && isAbsoluteURL(url)) {\\\\n // Create source code blob loading JS file via `importScripts()`\\\\n // to circumvent worker CORS restrictions\\\\n if ((_b = options === null || options === void 0 ? void 0 : options.CORSWorkaround) !== null && _b !== void 0 ? _b : true) {\\\\n url = createSourceBlobURL(`importScripts(${JSON.stringify(url)});`);\\\\n }\\\\n }\\\\n super(url, options);\\\\n }\\\\n }\\\\n class BlobWorker extends WebWorker {\\\\n constructor(blob, options) {\\\\n const url = window.URL.createObjectURL(blob);\\\\n super(url, options);\\\\n }\\\\n static fromText(source, options) {\\\\n const blob = new window.Blob([source], { type: \\\\\\\"text/javascript\\\\\\\" });\\\\n return new BlobWorker(blob, options);\\\\n }\\\\n }\\\\n return {\\\\n blob: BlobWorker,\\\\n default: WebWorker\\\\n };\\\\n}\\\\nlet implementation;\\\\nfunction getWorkerImplementation() {\\\\n if (!implementation) {\\\\n implementation = selectWorkerImplementation();\\\\n }\\\\n return implementation;\\\\n}\\\\nfunction isWorkerRuntime() {\\\\n const isWindowContext = typeof self !== \\\\\\\"undefined\\\\\\\" && typeof Window !== \\\\\\\"undefined\\\\\\\" && self instanceof Window;\\\\n return typeof self !== \\\\\\\"undefined\\\\\\\" && self.postMessage && !isWindowContext ? true : false;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/implementation.browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/implementation.js\\\":\\n/*!****************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/implementation.js ***!\\n \\\\****************************************************************/\\n/*! exports provided: defaultPoolSize, getWorkerImplementation, isWorkerRuntime */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"defaultPoolSize\\\\\\\", function() { return defaultPoolSize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getWorkerImplementation\\\\\\\", function() { return getWorkerImplementation; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony import */ var _implementation_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./implementation.browser */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.browser.js\\\\\\\");\\\\n/* harmony import */ var _implementation_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./implementation.node */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.node.js\\\\\\\");\\\\n/*\\\\n * This file is only a stub to make './implementation' resolve to the right module.\\\\n */\\\\n// We alias `src/master/implementation` to `src/master/implementation.browser` for web\\\\n// browsers already in the package.json, so if get here, it's safe to pass-through the\\\\n// node implementation\\\\n\\\\n\\\\nconst runningInNode = typeof process !== 'undefined' && process.arch !== 'browser' && 'pid' in process;\\\\nconst implementation = runningInNode ? _implementation_node__WEBPACK_IMPORTED_MODULE_1__ : _implementation_browser__WEBPACK_IMPORTED_MODULE_0__;\\\\n/** Default size of pools. Depending on the platform the value might vary from device to device. */\\\\nconst defaultPoolSize = implementation.defaultPoolSize;\\\\nconst getWorkerImplementation = implementation.getWorkerImplementation;\\\\n/** Returns `true` if this code is currently running in a worker. */\\\\nconst isWorkerRuntime = implementation.isWorkerRuntime;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/implementation.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/implementation.node.js\\\":\\n/*!*********************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/implementation.node.js ***!\\n \\\\*********************************************************************/\\n/*! exports provided: defaultPoolSize, getWorkerImplementation, isWorkerRuntime */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"defaultPoolSize\\\\\\\", function() { return defaultPoolSize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getWorkerImplementation\\\\\\\", function() { return getWorkerImplementation; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony import */ var callsites__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! callsites */ \\\\\\\"./node_modules/callsites/index.js\\\\\\\");\\\\n/* harmony import */ var callsites__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(callsites__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! events */ \\\\\\\"events\\\\\\\");\\\\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! os */ \\\\\\\"os\\\\\\\");\\\\n/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_2__);\\\\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! path */ \\\\\\\"path\\\\\\\");\\\\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__);\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! url */ \\\\\\\"url\\\\\\\");\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);\\\\n/// \\\\n// tslint:disable function-constructor no-eval no-duplicate-super max-classes-per-file\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nlet tsNodeAvailable;\\\\nconst defaultPoolSize = Object(os__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"cpus\\\\\\\"])().length;\\\\nfunction detectTsNode() {\\\\n if (typeof require === \\\\\\\"function\\\\\\\") {\\\\n // Webpack build: => No ts-node required or possible\\\\n return false;\\\\n }\\\\n if (tsNodeAvailable) {\\\\n return tsNodeAvailable;\\\\n }\\\\n try {\\\\n eval(\\\\\\\"require\\\\\\\").resolve(\\\\\\\"ts-node\\\\\\\");\\\\n tsNodeAvailable = true;\\\\n }\\\\n catch (error) {\\\\n if (error && error.code === \\\\\\\"MODULE_NOT_FOUND\\\\\\\") {\\\\n tsNodeAvailable = false;\\\\n }\\\\n else {\\\\n // Re-throw\\\\n throw error;\\\\n }\\\\n }\\\\n return tsNodeAvailable;\\\\n}\\\\nfunction createTsNodeModule(scriptPath) {\\\\n const content = `\\\\n require(\\\\\\\"ts-node/register/transpile-only\\\\\\\");\\\\n require(${JSON.stringify(scriptPath)});\\\\n `;\\\\n return content;\\\\n}\\\\nfunction rebaseScriptPath(scriptPath, ignoreRegex) {\\\\n const parentCallSite = callsites__WEBPACK_IMPORTED_MODULE_0___default()().find((callsite) => {\\\\n const filename = callsite.getFileName();\\\\n return Boolean(filename &&\\\\n !filename.match(ignoreRegex) &&\\\\n !filename.match(/[\\\\\\\\/\\\\\\\\\\\\\\\\]master[\\\\\\\\/\\\\\\\\\\\\\\\\]implementation/) &&\\\\n !filename.match(/^internal\\\\\\\\/process/));\\\\n });\\\\n const rawCallerPath = parentCallSite ? parentCallSite.getFileName() : null;\\\\n let callerPath = rawCallerPath ? rawCallerPath : null;\\\\n if (callerPath && callerPath.startsWith('file:')) {\\\\n callerPath = Object(url__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"fileURLToPath\\\\\\\"])(callerPath);\\\\n }\\\\n const rebasedScriptPath = callerPath ? path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"join\\\\\\\"](path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"dirname\\\\\\\"](callerPath), scriptPath) : scriptPath;\\\\n return rebasedScriptPath;\\\\n}\\\\nfunction resolveScriptPath(scriptPath, baseURL) {\\\\n const makeRelative = (filePath) => {\\\\n // eval() hack is also webpack-related\\\\n return path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"isAbsolute\\\\\\\"](filePath) ? filePath : path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"join\\\\\\\"](baseURL || eval(\\\\\\\"__dirname\\\\\\\"), filePath);\\\\n };\\\\n const workerFilePath = typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require.resolve(makeRelative(scriptPath))\\\\n : eval(\\\\\\\"require\\\\\\\").resolve(makeRelative(rebaseScriptPath(scriptPath, /[\\\\\\\\/\\\\\\\\\\\\\\\\]worker_threads[\\\\\\\\/\\\\\\\\\\\\\\\\]/)));\\\\n return workerFilePath;\\\\n}\\\\nfunction initWorkerThreadsWorker() {\\\\n // Webpack hack\\\\n const NativeWorker = typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require(\\\\\\\"worker_threads\\\\\\\").Worker\\\\n : eval(\\\\\\\"require\\\\\\\")(\\\\\\\"worker_threads\\\\\\\").Worker;\\\\n let allWorkers = [];\\\\n class Worker extends NativeWorker {\\\\n constructor(scriptPath, options) {\\\\n const resolvedScriptPath = options && options.fromSource\\\\n ? null\\\\n : resolveScriptPath(scriptPath, (options || {})._baseURL);\\\\n if (!resolvedScriptPath) {\\\\n // `options.fromSource` is true\\\\n const sourceCode = scriptPath;\\\\n super(sourceCode, Object.assign(Object.assign({}, options), { eval: true }));\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.tsx?$/i) && detectTsNode()) {\\\\n super(createTsNodeModule(resolvedScriptPath), Object.assign(Object.assign({}, options), { eval: true }));\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.asar[\\\\\\\\/\\\\\\\\\\\\\\\\]/)) {\\\\n // See \\\\n super(resolvedScriptPath.replace(/\\\\\\\\.asar([\\\\\\\\/\\\\\\\\\\\\\\\\])/, \\\\\\\".asar.unpacked$1\\\\\\\"), options);\\\\n }\\\\n else {\\\\n super(resolvedScriptPath, options);\\\\n }\\\\n this.mappedEventListeners = new WeakMap();\\\\n allWorkers.push(this);\\\\n }\\\\n addEventListener(eventName, rawListener) {\\\\n const listener = (message) => {\\\\n rawListener({ data: message });\\\\n };\\\\n this.mappedEventListeners.set(rawListener, listener);\\\\n this.on(eventName, listener);\\\\n }\\\\n removeEventListener(eventName, rawListener) {\\\\n const listener = this.mappedEventListeners.get(rawListener) || rawListener;\\\\n this.off(eventName, listener);\\\\n }\\\\n }\\\\n const terminateWorkersAndMaster = () => {\\\\n // we should terminate all workers and then gracefully shutdown self process\\\\n Promise.all(allWorkers.map(worker => worker.terminate())).then(() => process.exit(0), () => process.exit(1));\\\\n allWorkers = [];\\\\n };\\\\n // Take care to not leave orphaned processes behind. See #147.\\\\n process.on(\\\\\\\"SIGINT\\\\\\\", () => terminateWorkersAndMaster());\\\\n process.on(\\\\\\\"SIGTERM\\\\\\\", () => terminateWorkersAndMaster());\\\\n class BlobWorker extends Worker {\\\\n constructor(blob, options) {\\\\n super(Buffer.from(blob).toString(\\\\\\\"utf-8\\\\\\\"), Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n static fromText(source, options) {\\\\n return new Worker(source, Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n }\\\\n return {\\\\n blob: BlobWorker,\\\\n default: Worker\\\\n };\\\\n}\\\\nfunction initTinyWorker() {\\\\n const TinyWorker = __webpack_require__(/*! tiny-worker */ \\\\\\\"./node_modules/tiny-worker/lib/index.js\\\\\\\");\\\\n let allWorkers = [];\\\\n class Worker extends TinyWorker {\\\\n constructor(scriptPath, options) {\\\\n // Need to apply a work-around for Windows or it will choke upon the absolute path\\\\n // (`Error [ERR_INVALID_PROTOCOL]: Protocol 'c:' not supported`)\\\\n const resolvedScriptPath = options && options.fromSource\\\\n ? null\\\\n : process.platform === \\\\\\\"win32\\\\\\\"\\\\n ? `file:///${resolveScriptPath(scriptPath).replace(/\\\\\\\\\\\\\\\\/g, \\\\\\\"/\\\\\\\")}`\\\\n : resolveScriptPath(scriptPath);\\\\n if (!resolvedScriptPath) {\\\\n // `options.fromSource` is true\\\\n const sourceCode = scriptPath;\\\\n super(new Function(sourceCode), [], { esm: true });\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.tsx?$/i) && detectTsNode()) {\\\\n super(new Function(createTsNodeModule(resolveScriptPath(scriptPath))), [], { esm: true });\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.asar[\\\\\\\\/\\\\\\\\\\\\\\\\]/)) {\\\\n // See \\\\n super(resolvedScriptPath.replace(/\\\\\\\\.asar([\\\\\\\\/\\\\\\\\\\\\\\\\])/, \\\\\\\".asar.unpacked$1\\\\\\\"), [], { esm: true });\\\\n }\\\\n else {\\\\n super(resolvedScriptPath, [], { esm: true });\\\\n }\\\\n allWorkers.push(this);\\\\n this.emitter = new events__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"EventEmitter\\\\\\\"]();\\\\n this.onerror = (error) => this.emitter.emit(\\\\\\\"error\\\\\\\", error);\\\\n this.onmessage = (message) => this.emitter.emit(\\\\\\\"message\\\\\\\", message);\\\\n }\\\\n addEventListener(eventName, listener) {\\\\n this.emitter.addListener(eventName, listener);\\\\n }\\\\n removeEventListener(eventName, listener) {\\\\n this.emitter.removeListener(eventName, listener);\\\\n }\\\\n terminate() {\\\\n allWorkers = allWorkers.filter(worker => worker !== this);\\\\n return super.terminate();\\\\n }\\\\n }\\\\n const terminateWorkersAndMaster = () => {\\\\n // we should terminate all workers and then gracefully shutdown self process\\\\n Promise.all(allWorkers.map(worker => worker.terminate())).then(() => process.exit(0), () => process.exit(1));\\\\n allWorkers = [];\\\\n };\\\\n // Take care to not leave orphaned processes behind\\\\n // See \\\\n process.on(\\\\\\\"SIGINT\\\\\\\", () => terminateWorkersAndMaster());\\\\n process.on(\\\\\\\"SIGTERM\\\\\\\", () => terminateWorkersAndMaster());\\\\n class BlobWorker extends Worker {\\\\n constructor(blob, options) {\\\\n super(Buffer.from(blob).toString(\\\\\\\"utf-8\\\\\\\"), Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n static fromText(source, options) {\\\\n return new Worker(source, Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n }\\\\n return {\\\\n blob: BlobWorker,\\\\n default: Worker\\\\n };\\\\n}\\\\nlet implementation;\\\\nlet isTinyWorker;\\\\nfunction selectWorkerImplementation() {\\\\n try {\\\\n isTinyWorker = false;\\\\n return initWorkerThreadsWorker();\\\\n }\\\\n catch (error) {\\\\n // tslint:disable-next-line no-console\\\\n console.debug(\\\\\\\"Node worker_threads not available. Trying to fall back to tiny-worker polyfill...\\\\\\\");\\\\n isTinyWorker = true;\\\\n return initTinyWorker();\\\\n }\\\\n}\\\\nfunction getWorkerImplementation() {\\\\n if (!implementation) {\\\\n implementation = selectWorkerImplementation();\\\\n }\\\\n return implementation;\\\\n}\\\\nfunction isWorkerRuntime() {\\\\n if (isTinyWorker) {\\\\n return typeof self !== \\\\\\\"undefined\\\\\\\" && self.postMessage ? true : false;\\\\n }\\\\n else {\\\\n // Webpack hack\\\\n const isMainThread = typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require(\\\\\\\"worker_threads\\\\\\\").isMainThread\\\\n : eval(\\\\\\\"require\\\\\\\")(\\\\\\\"worker_threads\\\\\\\").isMainThread;\\\\n return !isMainThread;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/implementation.node.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: Pool, spawn, Thread, isWorkerRuntime, BlobWorker, Worker */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"BlobWorker\\\\\\\", function() { return BlobWorker; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Worker\\\\\\\", function() { return Worker; });\\\\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./implementation */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return _implementation__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"isWorkerRuntime\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pool */ \\\\\\\"./node_modules/threads/dist-esm/master/pool.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _pool__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Pool\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _spawn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./spawn */ \\\\\\\"./node_modules/threads/dist-esm/master/spawn.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"spawn\\\\\\\", function() { return _spawn__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"spawn\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./thread */ \\\\\\\"./node_modules/threads/dist-esm/master/thread.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return _thread__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"Thread\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n/** Separate class to spawn workers from source code blobs or strings. */\\\\nconst BlobWorker = Object(_implementation__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getWorkerImplementation\\\\\\\"])().blob;\\\\n/** Worker implementation. Either web worker or a node.js Worker class. */\\\\nconst Worker = Object(_implementation__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getWorkerImplementation\\\\\\\"])().default;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/invocation-proxy.js\\\":\\n/*!******************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/invocation-proxy.js ***!\\n \\\\******************************************************************/\\n/*! exports provided: createProxyFunction, createProxyModule */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"createProxyFunction\\\\\\\", function() { return createProxyFunction; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"createProxyModule\\\\\\\", function() { return createProxyModule; });\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \\\\\\\"./node_modules/threads/node_modules/debug/src/index.js\\\\\\\");\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony import */ var _observable_promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable-promise */ \\\\\\\"./node_modules/threads/dist-esm/observable-promise.js\\\\\\\");\\\\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../transferable */ \\\\\\\"./node_modules/threads/dist-esm/transferable.js\\\\\\\");\\\\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/messages */ \\\\\\\"./node_modules/threads/dist-esm/types/messages.js\\\\\\\");\\\\n/*\\\\n * This source file contains the code for proxying calls in the master thread to calls in the workers\\\\n * by `.postMessage()`-ing.\\\\n *\\\\n * Keep in mind that this code can make or break the program's performance! Need to optimize more\\u2026\\\\n */\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:messages\\\\\\\");\\\\nlet nextJobUID = 1;\\\\nconst dedupe = (array) => Array.from(new Set(array));\\\\nconst isJobErrorMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerMessageType\\\\\\\"].error;\\\\nconst isJobResultMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerMessageType\\\\\\\"].result;\\\\nconst isJobStartMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerMessageType\\\\\\\"].running;\\\\nfunction createObservableForJob(worker, jobUID) {\\\\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let asyncType;\\\\n const messageHandler = ((event) => {\\\\n debugMessages(\\\\\\\"Message from worker:\\\\\\\", event.data);\\\\n if (!event.data || event.data.uid !== jobUID)\\\\n return;\\\\n if (isJobStartMessage(event.data)) {\\\\n asyncType = event.data.resultType;\\\\n }\\\\n else if (isJobResultMessage(event.data)) {\\\\n if (asyncType === \\\\\\\"promise\\\\\\\") {\\\\n if (typeof event.data.payload !== \\\\\\\"undefined\\\\\\\") {\\\\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.payload));\\\\n }\\\\n observer.complete();\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n }\\\\n else {\\\\n if (event.data.payload) {\\\\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.payload));\\\\n }\\\\n if (event.data.complete) {\\\\n observer.complete();\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n }\\\\n }\\\\n }\\\\n else if (isJobErrorMessage(event.data)) {\\\\n const error = Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.error);\\\\n if (asyncType === \\\\\\\"promise\\\\\\\" || !asyncType) {\\\\n observer.error(error);\\\\n }\\\\n else {\\\\n observer.error(error);\\\\n }\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n }\\\\n });\\\\n worker.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n return () => {\\\\n if (asyncType === \\\\\\\"observable\\\\\\\" || !asyncType) {\\\\n const cancelMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"MasterMessageType\\\\\\\"].cancel,\\\\n uid: jobUID\\\\n };\\\\n worker.postMessage(cancelMessage);\\\\n }\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n };\\\\n });\\\\n}\\\\nfunction prepareArguments(rawArgs) {\\\\n if (rawArgs.length === 0) {\\\\n // Exit early if possible\\\\n return {\\\\n args: [],\\\\n transferables: []\\\\n };\\\\n }\\\\n const args = [];\\\\n const transferables = [];\\\\n for (const arg of rawArgs) {\\\\n if (Object(_transferable__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"isTransferDescriptor\\\\\\\"])(arg)) {\\\\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"serialize\\\\\\\"])(arg.send));\\\\n transferables.push(...arg.transferables);\\\\n }\\\\n else {\\\\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"serialize\\\\\\\"])(arg));\\\\n }\\\\n }\\\\n return {\\\\n args,\\\\n transferables: transferables.length === 0 ? transferables : dedupe(transferables)\\\\n };\\\\n}\\\\nfunction createProxyFunction(worker, method) {\\\\n return ((...rawArgs) => {\\\\n const uid = nextJobUID++;\\\\n const { args, transferables } = prepareArguments(rawArgs);\\\\n const runMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"MasterMessageType\\\\\\\"].run,\\\\n uid,\\\\n method,\\\\n args\\\\n };\\\\n debugMessages(\\\\\\\"Sending command to run function to worker:\\\\\\\", runMessage);\\\\n try {\\\\n worker.postMessage(runMessage, transferables);\\\\n }\\\\n catch (error) {\\\\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"ObservablePromise\\\\\\\"].from(Promise.reject(error));\\\\n }\\\\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"ObservablePromise\\\\\\\"].from(Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"multicast\\\\\\\"])(createObservableForJob(worker, uid)));\\\\n });\\\\n}\\\\nfunction createProxyModule(worker, methodNames) {\\\\n const proxy = {};\\\\n for (const methodName of methodNames) {\\\\n proxy[methodName] = createProxyFunction(worker, methodName);\\\\n }\\\\n return proxy;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/invocation-proxy.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/pool-types.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/pool-types.js ***!\\n \\\\************************************************************/\\n/*! exports provided: PoolEventType */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"PoolEventType\\\\\\\", function() { return PoolEventType; });\\\\n/** Pool event type. Specifies the type of each `PoolEvent`. */\\\\nvar PoolEventType;\\\\n(function (PoolEventType) {\\\\n PoolEventType[\\\\\\\"initialized\\\\\\\"] = \\\\\\\"initialized\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskCanceled\\\\\\\"] = \\\\\\\"taskCanceled\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskCompleted\\\\\\\"] = \\\\\\\"taskCompleted\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskFailed\\\\\\\"] = \\\\\\\"taskFailed\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskQueued\\\\\\\"] = \\\\\\\"taskQueued\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskQueueDrained\\\\\\\"] = \\\\\\\"taskQueueDrained\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskStart\\\\\\\"] = \\\\\\\"taskStart\\\\\\\";\\\\n PoolEventType[\\\\\\\"terminated\\\\\\\"] = \\\\\\\"terminated\\\\\\\";\\\\n})(PoolEventType || (PoolEventType = {}));\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool-types.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/pool.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/pool.js ***!\\n \\\\******************************************************/\\n/*! exports provided: PoolEventType, Thread, Pool */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return Pool; });\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \\\\\\\"./node_modules/threads/node_modules/debug/src/index.js\\\\\\\");\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n/* harmony import */ var _ponyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ponyfills */ \\\\\\\"./node_modules/threads/dist-esm/ponyfills.js\\\\\\\");\\\\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./implementation */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.js\\\\\\\");\\\\n/* harmony import */ var _pool_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pool-types */ \\\\\\\"./node_modules/threads/dist-esm/master/pool-types.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"PoolEventType\\\\\\\", function() { return _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thread */ \\\\\\\"./node_modules/threads/dist-esm/master/thread.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return _thread__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"Thread\\\\\\\"]; });\\\\n\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nlet nextPoolID = 1;\\\\nfunction createArray(size) {\\\\n const array = [];\\\\n for (let index = 0; index < size; index++) {\\\\n array.push(index);\\\\n }\\\\n return array;\\\\n}\\\\nfunction delay(ms) {\\\\n return new Promise(resolve => setTimeout(resolve, ms));\\\\n}\\\\nfunction flatMap(array, mapper) {\\\\n return array.reduce((flattened, element) => [...flattened, ...mapper(element)], []);\\\\n}\\\\nfunction slugify(text) {\\\\n return text.replace(/\\\\\\\\W/g, \\\\\\\" \\\\\\\").trim().replace(/\\\\\\\\s+/g, \\\\\\\"-\\\\\\\");\\\\n}\\\\nfunction spawnWorkers(spawnWorker, count) {\\\\n return createArray(count).map(() => ({\\\\n init: spawnWorker(),\\\\n runningTasks: []\\\\n }));\\\\n}\\\\nclass WorkerPool {\\\\n constructor(spawnWorker, optionsOrSize) {\\\\n this.eventSubject = new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Subject\\\\\\\"]();\\\\n this.initErrors = [];\\\\n this.isClosing = false;\\\\n this.nextTaskID = 1;\\\\n this.taskQueue = [];\\\\n const options = typeof optionsOrSize === \\\\\\\"number\\\\\\\"\\\\n ? { size: optionsOrSize }\\\\n : optionsOrSize || {};\\\\n const { size = _implementation__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"defaultPoolSize\\\\\\\"] } = options;\\\\n this.debug = debug__WEBPACK_IMPORTED_MODULE_0___default()(`threads:pool:${slugify(options.name || String(nextPoolID++))}`);\\\\n this.options = options;\\\\n this.workers = spawnWorkers(spawnWorker, size);\\\\n this.eventObservable = Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"multicast\\\\\\\"])(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Observable\\\\\\\"].from(this.eventSubject));\\\\n Promise.all(this.workers.map(worker => worker.init)).then(() => this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].initialized,\\\\n size: this.workers.length\\\\n }), error => {\\\\n this.debug(\\\\\\\"Error while initializing pool worker:\\\\\\\", error);\\\\n this.eventSubject.error(error);\\\\n this.initErrors.push(error);\\\\n });\\\\n }\\\\n findIdlingWorker() {\\\\n const { concurrency = 1 } = this.options;\\\\n return this.workers.find(worker => worker.runningTasks.length < concurrency);\\\\n }\\\\n runPoolTask(worker, task) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const workerID = this.workers.indexOf(worker) + 1;\\\\n this.debug(`Running task #${task.id} on worker #${workerID}...`);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskStart,\\\\n taskID: task.id,\\\\n workerID\\\\n });\\\\n try {\\\\n const returnValue = yield task.run(yield worker.init);\\\\n this.debug(`Task #${task.id} completed successfully`);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskCompleted,\\\\n returnValue,\\\\n taskID: task.id,\\\\n workerID\\\\n });\\\\n }\\\\n catch (error) {\\\\n this.debug(`Task #${task.id} failed`);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed,\\\\n taskID: task.id,\\\\n error,\\\\n workerID\\\\n });\\\\n }\\\\n });\\\\n }\\\\n run(worker, task) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const runPromise = (() => __awaiter(this, void 0, void 0, function* () {\\\\n const removeTaskFromWorkersRunningTasks = () => {\\\\n worker.runningTasks = worker.runningTasks.filter(someRunPromise => someRunPromise !== runPromise);\\\\n };\\\\n // Defer task execution by one tick to give handlers time to subscribe\\\\n yield delay(0);\\\\n try {\\\\n yield this.runPoolTask(worker, task);\\\\n }\\\\n finally {\\\\n removeTaskFromWorkersRunningTasks();\\\\n if (!this.isClosing) {\\\\n this.scheduleWork();\\\\n }\\\\n }\\\\n }))();\\\\n worker.runningTasks.push(runPromise);\\\\n });\\\\n }\\\\n scheduleWork() {\\\\n this.debug(`Attempt de-queueing a task in order to run it...`);\\\\n const availableWorker = this.findIdlingWorker();\\\\n if (!availableWorker)\\\\n return;\\\\n const nextTask = this.taskQueue.shift();\\\\n if (!nextTask) {\\\\n this.debug(`Task queue is empty`);\\\\n this.eventSubject.next({ type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueueDrained });\\\\n return;\\\\n }\\\\n this.run(availableWorker, nextTask);\\\\n }\\\\n taskCompletion(taskID) {\\\\n return new Promise((resolve, reject) => {\\\\n const eventSubscription = this.events().subscribe(event => {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskCompleted && event.taskID === taskID) {\\\\n eventSubscription.unsubscribe();\\\\n resolve(event.returnValue);\\\\n }\\\\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed && event.taskID === taskID) {\\\\n eventSubscription.unsubscribe();\\\\n reject(event.error);\\\\n }\\\\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].terminated) {\\\\n eventSubscription.unsubscribe();\\\\n reject(Error(\\\\\\\"Pool has been terminated before task was run.\\\\\\\"));\\\\n }\\\\n });\\\\n });\\\\n }\\\\n settled(allowResolvingImmediately = false) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const getCurrentlyRunningTasks = () => flatMap(this.workers, worker => worker.runningTasks);\\\\n const taskFailures = [];\\\\n const failureSubscription = this.eventObservable.subscribe(event => {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed) {\\\\n taskFailures.push(event.error);\\\\n }\\\\n });\\\\n if (this.initErrors.length > 0) {\\\\n return Promise.reject(this.initErrors[0]);\\\\n }\\\\n if (allowResolvingImmediately && this.taskQueue.length === 0) {\\\\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"allSettled\\\\\\\"])(getCurrentlyRunningTasks());\\\\n return taskFailures;\\\\n }\\\\n yield new Promise((resolve, reject) => {\\\\n const subscription = this.eventObservable.subscribe({\\\\n next(event) {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueueDrained) {\\\\n subscription.unsubscribe();\\\\n resolve(void 0);\\\\n }\\\\n },\\\\n error: reject // make a pool-wide error reject the completed() result promise\\\\n });\\\\n });\\\\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"allSettled\\\\\\\"])(getCurrentlyRunningTasks());\\\\n failureSubscription.unsubscribe();\\\\n return taskFailures;\\\\n });\\\\n }\\\\n completed(allowResolvingImmediately = false) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const settlementPromise = this.settled(allowResolvingImmediately);\\\\n const earlyExitPromise = new Promise((resolve, reject) => {\\\\n const subscription = this.eventObservable.subscribe({\\\\n next(event) {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueueDrained) {\\\\n subscription.unsubscribe();\\\\n resolve(settlementPromise);\\\\n }\\\\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed) {\\\\n subscription.unsubscribe();\\\\n reject(event.error);\\\\n }\\\\n },\\\\n error: reject // make a pool-wide error reject the completed() result promise\\\\n });\\\\n });\\\\n const errors = yield Promise.race([\\\\n settlementPromise,\\\\n earlyExitPromise\\\\n ]);\\\\n if (errors.length > 0) {\\\\n throw errors[0];\\\\n }\\\\n });\\\\n }\\\\n events() {\\\\n return this.eventObservable;\\\\n }\\\\n queue(taskFunction) {\\\\n const { maxQueuedJobs = Infinity } = this.options;\\\\n if (this.isClosing) {\\\\n throw Error(`Cannot schedule pool tasks after terminate() has been called.`);\\\\n }\\\\n if (this.initErrors.length > 0) {\\\\n throw this.initErrors[0];\\\\n }\\\\n const taskID = this.nextTaskID++;\\\\n const taskCompletion = this.taskCompletion(taskID);\\\\n taskCompletion.catch((error) => {\\\\n // Prevent unhandled rejections here as we assume the user will use\\\\n // `pool.completed()`, `pool.settled()` or `task.catch()` to handle errors\\\\n this.debug(`Task #${taskID} errored:`, error);\\\\n });\\\\n const task = {\\\\n id: taskID,\\\\n run: taskFunction,\\\\n cancel: () => {\\\\n if (this.taskQueue.indexOf(task) === -1)\\\\n return;\\\\n this.taskQueue = this.taskQueue.filter(someTask => someTask !== task);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskCanceled,\\\\n taskID: task.id\\\\n });\\\\n },\\\\n then: taskCompletion.then.bind(taskCompletion)\\\\n };\\\\n if (this.taskQueue.length >= maxQueuedJobs) {\\\\n throw Error(\\\\\\\"Maximum number of pool tasks queued. Refusing to queue another one.\\\\\\\\n\\\\\\\" +\\\\n \\\\\\\"This usually happens for one of two reasons: We are either at peak \\\\\\\" +\\\\n \\\\\\\"workload right now or some tasks just won't finish, thus blocking the pool.\\\\\\\");\\\\n }\\\\n this.debug(`Queueing task #${task.id}...`);\\\\n this.taskQueue.push(task);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueued,\\\\n taskID: task.id\\\\n });\\\\n this.scheduleWork();\\\\n return task;\\\\n }\\\\n terminate(force) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n this.isClosing = true;\\\\n if (!force) {\\\\n yield this.completed(true);\\\\n }\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].terminated,\\\\n remainingQueue: [...this.taskQueue]\\\\n });\\\\n this.eventSubject.complete();\\\\n yield Promise.all(this.workers.map((worker) => __awaiter(this, void 0, void 0, function* () { return _thread__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"Thread\\\\\\\"].terminate(yield worker.init); })));\\\\n });\\\\n }\\\\n}\\\\nWorkerPool.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"];\\\\n/**\\\\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\\\\n */\\\\nfunction PoolConstructor(spawnWorker, optionsOrSize) {\\\\n // The function exists only so we don't need to use `new` to create a pool (we still can, though).\\\\n // If the Pool is a class or not is an implementation detail that should not concern the user.\\\\n return new WorkerPool(spawnWorker, optionsOrSize);\\\\n}\\\\nPoolConstructor.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"];\\\\n/**\\\\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\\\\n */\\\\nconst Pool = PoolConstructor;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/spawn.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/spawn.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: spawn */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"spawn\\\\\\\", function() { return spawn; });\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \\\\\\\"./node_modules/threads/node_modules/debug/src/index.js\\\\\\\");\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony import */ var _promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../promise */ \\\\\\\"./node_modules/threads/dist-esm/promise.js\\\\\\\");\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n/* harmony import */ var _types_master__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/master */ \\\\\\\"./node_modules/threads/dist-esm/types/master.js\\\\\\\");\\\\n/* harmony import */ var _invocation_proxy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./invocation-proxy */ \\\\\\\"./node_modules/threads/dist-esm/master/invocation-proxy.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:messages\\\\\\\");\\\\nconst debugSpawn = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:spawn\\\\\\\");\\\\nconst debugThreadUtils = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:thread-utils\\\\\\\");\\\\nconst isInitMessage = (data) => data && data.type === \\\\\\\"init\\\\\\\";\\\\nconst isUncaughtErrorMessage = (data) => data && data.type === \\\\\\\"uncaughtError\\\\\\\";\\\\nconst initMessageTimeout = typeof process !== \\\\\\\"undefined\\\\\\\" && process.env.THREADS_WORKER_INIT_TIMEOUT\\\\n ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10)\\\\n : 10000;\\\\nfunction withTimeout(promise, timeoutInMs, errorMessage) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n let timeoutHandle;\\\\n const timeout = new Promise((resolve, reject) => {\\\\n timeoutHandle = setTimeout(() => reject(Error(errorMessage)), timeoutInMs);\\\\n });\\\\n const result = yield Promise.race([\\\\n promise,\\\\n timeout\\\\n ]);\\\\n clearTimeout(timeoutHandle);\\\\n return result;\\\\n });\\\\n}\\\\nfunction receiveInitMessage(worker) {\\\\n return new Promise((resolve, reject) => {\\\\n const messageHandler = ((event) => {\\\\n debugMessages(\\\\\\\"Message from worker before finishing initialization:\\\\\\\", event.data);\\\\n if (isInitMessage(event.data)) {\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n resolve(event.data);\\\\n }\\\\n else if (isUncaughtErrorMessage(event.data)) {\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n reject(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.error));\\\\n }\\\\n });\\\\n worker.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n });\\\\n}\\\\nfunction createEventObservable(worker, workerTermination) {\\\\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n const messageHandler = ((messageEvent) => {\\\\n const workerEvent = {\\\\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].message,\\\\n data: messageEvent.data\\\\n };\\\\n observer.next(workerEvent);\\\\n });\\\\n const rejectionHandler = ((errorEvent) => {\\\\n debugThreadUtils(\\\\\\\"Unhandled promise rejection event in thread:\\\\\\\", errorEvent);\\\\n const workerEvent = {\\\\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].internalError,\\\\n error: Error(errorEvent.reason)\\\\n };\\\\n observer.next(workerEvent);\\\\n });\\\\n worker.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n worker.addEventListener(\\\\\\\"unhandledrejection\\\\\\\", rejectionHandler);\\\\n workerTermination.then(() => {\\\\n const terminationEvent = {\\\\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].termination\\\\n };\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n worker.removeEventListener(\\\\\\\"unhandledrejection\\\\\\\", rejectionHandler);\\\\n observer.next(terminationEvent);\\\\n observer.complete();\\\\n });\\\\n });\\\\n}\\\\nfunction createTerminator(worker) {\\\\n const [termination, resolver] = Object(_promise__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"createPromiseWithResolver\\\\\\\"])();\\\\n const terminate = () => __awaiter(this, void 0, void 0, function* () {\\\\n debugThreadUtils(\\\\\\\"Terminating worker\\\\\\\");\\\\n // Newer versions of worker_threads workers return a promise\\\\n yield worker.terminate();\\\\n resolver();\\\\n });\\\\n return { terminate, termination };\\\\n}\\\\nfunction setPrivateThreadProps(raw, worker, workerEvents, terminate) {\\\\n const workerErrors = workerEvents\\\\n .filter(event => event.type === _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].internalError)\\\\n .map(errorEvent => errorEvent.error);\\\\n // tslint:disable-next-line prefer-object-spread\\\\n return Object.assign(raw, {\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$errors\\\\\\\"]]: workerErrors,\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$events\\\\\\\"]]: workerEvents,\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$terminate\\\\\\\"]]: terminate,\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$worker\\\\\\\"]]: worker\\\\n });\\\\n}\\\\n/**\\\\n * Spawn a new thread. Takes a fresh worker instance, wraps it in a thin\\\\n * abstraction layer to provide the transparent API and verifies that\\\\n * the worker has initialized successfully.\\\\n *\\\\n * @param worker Instance of `Worker`. Either a web worker, `worker_threads` worker or `tiny-worker` worker.\\\\n * @param [options]\\\\n * @param [options.timeout] Init message timeout. Default: 10000 or set by environment variable.\\\\n */\\\\nfunction spawn(worker, options) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n debugSpawn(\\\\\\\"Initializing new thread\\\\\\\");\\\\n const timeout = options && options.timeout ? options.timeout : initMessageTimeout;\\\\n const initMessage = yield withTimeout(receiveInitMessage(worker), timeout, `Timeout: Did not receive an init message from worker after ${timeout}ms. Make sure the worker calls expose().`);\\\\n const exposed = initMessage.exposed;\\\\n const { termination, terminate } = createTerminator(worker);\\\\n const events = createEventObservable(worker, termination);\\\\n if (exposed.type === \\\\\\\"function\\\\\\\") {\\\\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"createProxyFunction\\\\\\\"])(worker);\\\\n return setPrivateThreadProps(proxy, worker, events, terminate);\\\\n }\\\\n else if (exposed.type === \\\\\\\"module\\\\\\\") {\\\\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"createProxyModule\\\\\\\"])(worker, exposed.methods);\\\\n return setPrivateThreadProps(proxy, worker, events, terminate);\\\\n }\\\\n else {\\\\n const type = exposed.type;\\\\n throw Error(`Worker init message states unexpected type of expose(): ${type}`);\\\\n }\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/spawn.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/thread.js\\\":\\n/*!********************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/thread.js ***!\\n \\\\********************************************************/\\n/*! exports provided: Thread */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return Thread; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n\\\\nfunction fail(message) {\\\\n throw Error(message);\\\\n}\\\\n/** Thread utility functions. Use them to manage or inspect a `spawn()`-ed thread. */\\\\nconst Thread = {\\\\n /** Return an observable that can be used to subscribe to all errors happening in the thread. */\\\\n errors(thread) {\\\\n return thread[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$errors\\\\\\\"]] || fail(\\\\\\\"Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise.\\\\\\\");\\\\n },\\\\n /** Return an observable that can be used to subscribe to internal events happening in the thread. Useful for debugging. */\\\\n events(thread) {\\\\n return thread[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$events\\\\\\\"]] || fail(\\\\\\\"Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise.\\\\\\\");\\\\n },\\\\n /** Terminate a thread. Remember to terminate every thread when you are done using it. */\\\\n terminate(thread) {\\\\n return thread[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$terminate\\\\\\\"]]();\\\\n }\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/thread.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/observable-promise.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/observable-promise.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: ObservablePromise */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"ObservablePromise\\\\\\\", function() { return ObservablePromise; });\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n\\\\nconst doNothing = () => undefined;\\\\nconst returnInput = (input) => input;\\\\nconst runDeferred = (fn) => Promise.resolve().then(fn);\\\\nfunction fail(error) {\\\\n throw error;\\\\n}\\\\nfunction isThenable(thing) {\\\\n return thing && typeof thing.then === \\\\\\\"function\\\\\\\";\\\\n}\\\\n/**\\\\n * Creates a hybrid, combining the APIs of an Observable and a Promise.\\\\n *\\\\n * It is used to proxy async process states when we are initially not sure\\\\n * if that async process will yield values once (-> Promise) or multiple\\\\n * times (-> Observable).\\\\n *\\\\n * Note that the observable promise inherits some of the observable's characteristics:\\\\n * The `init` function will be called *once for every time anyone subscribes to it*.\\\\n *\\\\n * If this is undesired, derive a hot observable from it using `makeHot()` and\\\\n * subscribe to that.\\\\n */\\\\nclass ObservablePromise extends observable_fns__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"] {\\\\n constructor(init) {\\\\n super((originalObserver) => {\\\\n // tslint:disable-next-line no-this-assignment\\\\n const self = this;\\\\n const observer = Object.assign(Object.assign({}, originalObserver), { complete() {\\\\n originalObserver.complete();\\\\n self.onCompletion();\\\\n }, error(error) {\\\\n originalObserver.error(error);\\\\n self.onError(error);\\\\n },\\\\n next(value) {\\\\n originalObserver.next(value);\\\\n self.onNext(value);\\\\n } });\\\\n try {\\\\n this.initHasRun = true;\\\\n return init(observer);\\\\n }\\\\n catch (error) {\\\\n observer.error(error);\\\\n }\\\\n });\\\\n this.initHasRun = false;\\\\n this.fulfillmentCallbacks = [];\\\\n this.rejectionCallbacks = [];\\\\n this.firstValueSet = false;\\\\n this.state = \\\\\\\"pending\\\\\\\";\\\\n }\\\\n onNext(value) {\\\\n if (!this.firstValueSet) {\\\\n this.firstValue = value;\\\\n this.firstValueSet = true;\\\\n }\\\\n }\\\\n onError(error) {\\\\n this.state = \\\\\\\"rejected\\\\\\\";\\\\n this.rejection = error;\\\\n for (const onRejected of this.rejectionCallbacks) {\\\\n // Promisifying the call to turn errors into unhandled promise rejections\\\\n // instead of them failing sync and cancelling the iteration\\\\n runDeferred(() => onRejected(error));\\\\n }\\\\n }\\\\n onCompletion() {\\\\n this.state = \\\\\\\"fulfilled\\\\\\\";\\\\n for (const onFulfilled of this.fulfillmentCallbacks) {\\\\n // Promisifying the call to turn errors into unhandled promise rejections\\\\n // instead of them failing sync and cancelling the iteration\\\\n runDeferred(() => onFulfilled(this.firstValue));\\\\n }\\\\n }\\\\n then(onFulfilledRaw, onRejectedRaw) {\\\\n const onFulfilled = onFulfilledRaw || returnInput;\\\\n const onRejected = onRejectedRaw || fail;\\\\n let onRejectedCalled = false;\\\\n return new Promise((resolve, reject) => {\\\\n const rejectionCallback = (error) => {\\\\n if (onRejectedCalled)\\\\n return;\\\\n onRejectedCalled = true;\\\\n try {\\\\n resolve(onRejected(error));\\\\n }\\\\n catch (anotherError) {\\\\n reject(anotherError);\\\\n }\\\\n };\\\\n const fulfillmentCallback = (value) => {\\\\n try {\\\\n resolve(onFulfilled(value));\\\\n }\\\\n catch (error) {\\\\n rejectionCallback(error);\\\\n }\\\\n };\\\\n if (!this.initHasRun) {\\\\n this.subscribe({ error: rejectionCallback });\\\\n }\\\\n if (this.state === \\\\\\\"fulfilled\\\\\\\") {\\\\n return resolve(onFulfilled(this.firstValue));\\\\n }\\\\n if (this.state === \\\\\\\"rejected\\\\\\\") {\\\\n onRejectedCalled = true;\\\\n return resolve(onRejected(this.rejection));\\\\n }\\\\n this.fulfillmentCallbacks.push(fulfillmentCallback);\\\\n this.rejectionCallbacks.push(rejectionCallback);\\\\n });\\\\n }\\\\n catch(onRejected) {\\\\n return this.then(undefined, onRejected);\\\\n }\\\\n finally(onCompleted) {\\\\n const handler = onCompleted || doNothing;\\\\n return this.then((value) => {\\\\n handler();\\\\n return value;\\\\n }, () => handler());\\\\n }\\\\n static from(thing) {\\\\n if (isThenable(thing)) {\\\\n return new ObservablePromise(observer => {\\\\n const onFulfilled = (value) => {\\\\n observer.next(value);\\\\n observer.complete();\\\\n };\\\\n const onRejected = (error) => {\\\\n observer.error(error);\\\\n };\\\\n thing.then(onFulfilled, onRejected);\\\\n });\\\\n }\\\\n else {\\\\n return super.from(thing);\\\\n }\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/observable-promise.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/ponyfills.js\\\":\\n/*!****************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/ponyfills.js ***!\\n \\\\****************************************************/\\n/*! exports provided: allSettled */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"allSettled\\\\\\\", function() { return allSettled; });\\\\n// Based on \\\\nfunction allSettled(values) {\\\\n return Promise.all(values.map(item => {\\\\n const onFulfill = (value) => {\\\\n return { status: 'fulfilled', value };\\\\n };\\\\n const onReject = (reason) => {\\\\n return { status: 'rejected', reason };\\\\n };\\\\n const itemPromise = Promise.resolve(item);\\\\n try {\\\\n return itemPromise.then(onFulfill, onReject);\\\\n }\\\\n catch (error) {\\\\n return Promise.reject(error);\\\\n }\\\\n }));\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/ponyfills.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/promise.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/promise.js ***!\\n \\\\**************************************************/\\n/*! exports provided: createPromiseWithResolver */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"createPromiseWithResolver\\\\\\\", function() { return createPromiseWithResolver; });\\\\nconst doNothing = () => undefined;\\\\n/**\\\\n * Creates a new promise and exposes its resolver function.\\\\n * Use with care!\\\\n */\\\\nfunction createPromiseWithResolver() {\\\\n let alreadyResolved = false;\\\\n let resolvedTo;\\\\n let resolver = doNothing;\\\\n const promise = new Promise(resolve => {\\\\n if (alreadyResolved) {\\\\n resolve(resolvedTo);\\\\n }\\\\n else {\\\\n resolver = resolve;\\\\n }\\\\n });\\\\n const exposedResolver = (value) => {\\\\n alreadyResolved = true;\\\\n resolvedTo = value;\\\\n resolver(resolvedTo);\\\\n };\\\\n return [promise, exposedResolver];\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/promise.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/serializers.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/serializers.js ***!\\n \\\\******************************************************/\\n/*! exports provided: extendSerializer, DefaultSerializer */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"extendSerializer\\\\\\\", function() { return extendSerializer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"DefaultSerializer\\\\\\\", function() { return DefaultSerializer; });\\\\nfunction extendSerializer(extend, implementation) {\\\\n const fallbackDeserializer = extend.deserialize.bind(extend);\\\\n const fallbackSerializer = extend.serialize.bind(extend);\\\\n return {\\\\n deserialize(message) {\\\\n return implementation.deserialize(message, fallbackDeserializer);\\\\n },\\\\n serialize(input) {\\\\n return implementation.serialize(input, fallbackSerializer);\\\\n }\\\\n };\\\\n}\\\\nconst DefaultErrorSerializer = {\\\\n deserialize(message) {\\\\n return Object.assign(Error(message.message), {\\\\n name: message.name,\\\\n stack: message.stack\\\\n });\\\\n },\\\\n serialize(error) {\\\\n return {\\\\n __error_marker: \\\\\\\"$$error\\\\\\\",\\\\n message: error.message,\\\\n name: error.name,\\\\n stack: error.stack\\\\n };\\\\n }\\\\n};\\\\nconst isSerializedError = (thing) => thing && typeof thing === \\\\\\\"object\\\\\\\" && \\\\\\\"__error_marker\\\\\\\" in thing && thing.__error_marker === \\\\\\\"$$error\\\\\\\";\\\\nconst DefaultSerializer = {\\\\n deserialize(message) {\\\\n if (isSerializedError(message)) {\\\\n return DefaultErrorSerializer.deserialize(message);\\\\n }\\\\n else {\\\\n return message;\\\\n }\\\\n },\\\\n serialize(input) {\\\\n if (input instanceof Error) {\\\\n return DefaultErrorSerializer.serialize(input);\\\\n }\\\\n else {\\\\n return input;\\\\n }\\\\n }\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/serializers.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/symbols.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/symbols.js ***!\\n \\\\**************************************************/\\n/*! exports provided: $errors, $events, $terminate, $transferable, $worker */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$errors\\\\\\\", function() { return $errors; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$events\\\\\\\", function() { return $events; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$terminate\\\\\\\", function() { return $terminate; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$transferable\\\\\\\", function() { return $transferable; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$worker\\\\\\\", function() { return $worker; });\\\\nconst $errors = Symbol(\\\\\\\"thread.errors\\\\\\\");\\\\nconst $events = Symbol(\\\\\\\"thread.events\\\\\\\");\\\\nconst $terminate = Symbol(\\\\\\\"thread.terminate\\\\\\\");\\\\nconst $transferable = Symbol(\\\\\\\"thread.transferable\\\\\\\");\\\\nconst $worker = Symbol(\\\\\\\"thread.worker\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/transferable.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/transferable.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: isTransferDescriptor, Transfer */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isTransferDescriptor\\\\\\\", function() { return isTransferDescriptor; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Transfer\\\\\\\", function() { return Transfer; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n\\\\nfunction isTransferable(thing) {\\\\n if (!thing || typeof thing !== \\\\\\\"object\\\\\\\")\\\\n return false;\\\\n // Don't check too thoroughly, since the list of transferable things in JS might grow over time\\\\n return true;\\\\n}\\\\nfunction isTransferDescriptor(thing) {\\\\n return thing && typeof thing === \\\\\\\"object\\\\\\\" && thing[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$transferable\\\\\\\"]];\\\\n}\\\\nfunction Transfer(payload, transferables) {\\\\n if (!transferables) {\\\\n if (!isTransferable(payload))\\\\n throw Error();\\\\n transferables = [payload];\\\\n }\\\\n return {\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$transferable\\\\\\\"]]: true,\\\\n send: payload,\\\\n transferables\\\\n };\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/transferable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/types/master.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/types/master.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: WorkerEventType */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"WorkerEventType\\\\\\\", function() { return WorkerEventType; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n/// \\\\n// tslint:disable max-classes-per-file\\\\n\\\\n/** Event as emitted by worker thread. Subscribe to using `Thread.events(thread)`. */\\\\nvar WorkerEventType;\\\\n(function (WorkerEventType) {\\\\n WorkerEventType[\\\\\\\"internalError\\\\\\\"] = \\\\\\\"internalError\\\\\\\";\\\\n WorkerEventType[\\\\\\\"message\\\\\\\"] = \\\\\\\"message\\\\\\\";\\\\n WorkerEventType[\\\\\\\"termination\\\\\\\"] = \\\\\\\"termination\\\\\\\";\\\\n})(WorkerEventType || (WorkerEventType = {}));\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/types/master.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/types/messages.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/types/messages.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: MasterMessageType, WorkerMessageType */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"MasterMessageType\\\\\\\", function() { return MasterMessageType; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"WorkerMessageType\\\\\\\", function() { return WorkerMessageType; });\\\\n/////////////////////////////\\\\n// Messages sent by master:\\\\nvar MasterMessageType;\\\\n(function (MasterMessageType) {\\\\n MasterMessageType[\\\\\\\"cancel\\\\\\\"] = \\\\\\\"cancel\\\\\\\";\\\\n MasterMessageType[\\\\\\\"run\\\\\\\"] = \\\\\\\"run\\\\\\\";\\\\n})(MasterMessageType || (MasterMessageType = {}));\\\\n////////////////////////////\\\\n// Messages sent by worker:\\\\nvar WorkerMessageType;\\\\n(function (WorkerMessageType) {\\\\n WorkerMessageType[\\\\\\\"error\\\\\\\"] = \\\\\\\"error\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"init\\\\\\\"] = \\\\\\\"init\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"result\\\\\\\"] = \\\\\\\"result\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"running\\\\\\\"] = \\\\\\\"running\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"uncaughtError\\\\\\\"] = \\\\\\\"uncaughtError\\\\\\\";\\\\n})(WorkerMessageType || (WorkerMessageType = {}));\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/types/messages.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.browser.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.browser.js ***!\\n \\\\************************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/// \\\\n// tslint:disable no-shadowed-variable\\\\nconst isWorkerRuntime = function isWorkerRuntime() {\\\\n const isWindowContext = typeof self !== \\\\\\\"undefined\\\\\\\" && typeof Window !== \\\\\\\"undefined\\\\\\\" && self instanceof Window;\\\\n return typeof self !== \\\\\\\"undefined\\\\\\\" && self.postMessage && !isWindowContext ? true : false;\\\\n};\\\\nconst postMessageToMaster = function postMessageToMaster(data, transferList) {\\\\n self.postMessage(data, transferList);\\\\n};\\\\nconst subscribeToMasterMessages = function subscribeToMasterMessages(onMessage) {\\\\n const messageHandler = (messageEvent) => {\\\\n onMessage(messageEvent.data);\\\\n };\\\\n const unsubscribe = () => {\\\\n self.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n };\\\\n self.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n return unsubscribe;\\\\n};\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = ({\\\\n isWorkerRuntime,\\\\n postMessageToMaster,\\\\n subscribeToMasterMessages\\\\n});\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.js\\\":\\n/*!****************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.js ***!\\n \\\\****************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _implementation_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./implementation.browser */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.browser.js\\\\\\\");\\\\n/* harmony import */ var _implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./implementation.tiny-worker */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\\\\\");\\\\n/* harmony import */ var _implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var _implementation_worker_threads__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./implementation.worker_threads */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.worker_threads.js\\\\\\\");\\\\n// tslint:disable no-var-requires\\\\n/*\\\\n * This file is only a stub to make './implementation' resolve to the right module.\\\\n */\\\\n\\\\n\\\\n\\\\nconst runningInNode = typeof process !== 'undefined' && process.arch !== 'browser' && 'pid' in process;\\\\nfunction selectNodeImplementation() {\\\\n try {\\\\n _implementation_worker_threads__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"].testImplementation();\\\\n return _implementation_worker_threads__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"];\\\\n }\\\\n catch (error) {\\\\n return _implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1___default.a;\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (runningInNode\\\\n ? selectNodeImplementation()\\\\n : _implementation_browser__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\":\\n/*!****************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js ***!\\n \\\\****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = function() {\\\\n return __webpack_require__(/*! !./node_modules/worker-loader/dist/workers/InlineWorker.js */ \\\\\\\"./node_modules/worker-loader/dist/workers/InlineWorker.js\\\\\\\")(\\\\\\\"/******/ (function(modules) { // webpackBootstrap\\\\\\\\n/******/ \\\\\\\\t// The module cache\\\\\\\\n/******/ \\\\\\\\tvar installedModules = {};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// The require function\\\\\\\\n/******/ \\\\\\\\tfunction __webpack_require__(moduleId) {\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Check if module is in cache\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(installedModules[moduleId]) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\treturn installedModules[moduleId].exports;\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t}\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Create a new module (and put it into the cache)\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tvar module = installedModules[moduleId] = {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\ti: moduleId,\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tl: false,\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\texports: {}\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Execute the module function\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Flag the module as loaded\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tmodule.l = true;\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Return the exports of the module\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\treturn module.exports;\\\\\\\\n/******/ \\\\\\\\t}\\\\\\\\n/******/\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// expose the modules object (__webpack_modules__)\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.m = modules;\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// expose the module cache\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.c = installedModules;\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// define getter function for harmony exports\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.d = function(exports, name, getter) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(!__webpack_require__.o(exports, name)) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t}\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// define __esModule on exports\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.r = function(exports) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t}\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tObject.defineProperty(exports, '__esModule', { value: true });\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// create a fake namespace object\\\\\\\\n/******/ \\\\\\\\t// mode & 1: value is a module id, require it\\\\\\\\n/******/ \\\\\\\\t// mode & 2: merge all properties of value into the ns\\\\\\\\n/******/ \\\\\\\\t// mode & 4: return value when already ns object\\\\\\\\n/******/ \\\\\\\\t// mode & 8|1: behave like require\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.t = function(value, mode) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(mode & 1) value = __webpack_require__(value);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(mode & 8) return value;\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tvar ns = Object.create(null);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t__webpack_require__.r(ns);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\treturn ns;\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// getDefaultExport function for compatibility with non-harmony modules\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.n = function(module) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tvar getter = module && module.__esModule ?\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tfunction getDefault() { return module['default']; } :\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tfunction getModuleExports() { return module; };\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t__webpack_require__.d(getter, 'a', getter);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\treturn getter;\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// Object.prototype.hasOwnProperty.call\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// __webpack_public_path__\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.p = \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\";\\\\\\\\n/******/\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// Load entry module and return exports\\\\\\\\n/******/ \\\\\\\\treturn __webpack_require__(__webpack_require__.s = \\\\\\\\\\\\\\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\\\\\\\\\\\\\");\\\\\\\\n/******/ })\\\\\\\\n/************************************************************************/\\\\\\\\n/******/ ({\\\\\\\\n\\\\\\\\n/***/ \\\\\\\\\\\\\\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\\\\\\\\\\\\\":\\\\\\\\n/*!****************************************************************************!*\\\\\\\\\\\\\\\\\\\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js ***!\\\\\\\\n \\\\\\\\\\\\\\\\****************************************************************************/\\\\\\\\n/*! exports provided: default */\\\\\\\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\\\\\\\n\\\\\\\\n\\\\\\\\\\\\\\\"use strict\\\\\\\\\\\\\\\";\\\\\\\\neval(\\\\\\\\\\\\\\\"__webpack_require__.r(__webpack_exports__);\\\\\\\\\\\\\\\\n/// \\\\\\\\\\\\\\\\n// tslint:disable no-shadowed-variable\\\\\\\\\\\\\\\\nif (typeof self === \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"undefined\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\") {\\\\\\\\\\\\\\\\n global.self = global;\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\nconst isWorkerRuntime = function isWorkerRuntime() {\\\\\\\\\\\\\\\\n return typeof self !== \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"undefined\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" && self.postMessage ? true : false;\\\\\\\\\\\\\\\\n};\\\\\\\\\\\\\\\\nconst postMessageToMaster = function postMessageToMaster(data) {\\\\\\\\\\\\\\\\n // TODO: Warn that Transferables are not supported on first attempt to use feature\\\\\\\\\\\\\\\\n self.postMessage(data);\\\\\\\\\\\\\\\\n};\\\\\\\\\\\\\\\\nlet muxingHandlerSetUp = false;\\\\\\\\\\\\\\\\nconst messageHandlers = new Set();\\\\\\\\\\\\\\\\nconst subscribeToMasterMessages = function subscribeToMasterMessages(onMessage) {\\\\\\\\\\\\\\\\n if (!muxingHandlerSetUp) {\\\\\\\\\\\\\\\\n // We have one multiplexing message handler as tiny-worker's\\\\\\\\\\\\\\\\n // addEventListener() only allows you to set a single message handler\\\\\\\\\\\\\\\\n self.addEventListener(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", ((event) => {\\\\\\\\\\\\\\\\n messageHandlers.forEach(handler => handler(event.data));\\\\\\\\\\\\\\\\n }));\\\\\\\\\\\\\\\\n muxingHandlerSetUp = true;\\\\\\\\\\\\\\\\n }\\\\\\\\\\\\\\\\n messageHandlers.add(onMessage);\\\\\\\\\\\\\\\\n const unsubscribe = () => messageHandlers.delete(onMessage);\\\\\\\\\\\\\\\\n return unsubscribe;\\\\\\\\\\\\\\\\n};\\\\\\\\\\\\\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"] = ({\\\\\\\\\\\\\\\\n isWorkerRuntime,\\\\\\\\\\\\\\\\n postMessageToMaster,\\\\\\\\\\\\\\\\n subscribeToMasterMessages\\\\\\\\\\\\\\\\n});\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js?\\\\\\\\\\\\\\\");\\\\\\\\n\\\\\\\\n/***/ })\\\\\\\\n\\\\\\\\n/******/ });\\\\\\\", null);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.worker_threads.js\\\":\\n/*!*******************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.worker_threads.js ***!\\n \\\\*******************************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _worker_threads__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../worker_threads */ \\\\\\\"./node_modules/threads/dist-esm/worker_threads.js\\\\\\\");\\\\n\\\\nfunction assertMessagePort(port) {\\\\n if (!port) {\\\\n throw Error(\\\\\\\"Invariant violation: MessagePort to parent is not available.\\\\\\\");\\\\n }\\\\n return port;\\\\n}\\\\nconst isWorkerRuntime = function isWorkerRuntime() {\\\\n return !Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])().isMainThread;\\\\n};\\\\nconst postMessageToMaster = function postMessageToMaster(data, transferList) {\\\\n assertMessagePort(Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])().parentPort).postMessage(data, transferList);\\\\n};\\\\nconst subscribeToMasterMessages = function subscribeToMasterMessages(onMessage) {\\\\n const parentPort = Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])().parentPort;\\\\n if (!parentPort) {\\\\n throw Error(\\\\\\\"Invariant violation: MessagePort to parent is not available.\\\\\\\");\\\\n }\\\\n const messageHandler = (message) => {\\\\n onMessage(message);\\\\n };\\\\n const unsubscribe = () => {\\\\n assertMessagePort(parentPort).off(\\\\\\\"message\\\\\\\", messageHandler);\\\\n };\\\\n assertMessagePort(parentPort).on(\\\\\\\"message\\\\\\\", messageHandler);\\\\n return unsubscribe;\\\\n};\\\\nfunction testImplementation() {\\\\n // Will throw if `worker_threads` are not available\\\\n Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])();\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = ({\\\\n isWorkerRuntime,\\\\n postMessageToMaster,\\\\n subscribeToMasterMessages,\\\\n testImplementation\\\\n});\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.worker_threads.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: registerSerializer, Transfer, isWorkerRuntime, expose */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"expose\\\\\\\", function() { return expose; });\\\\n/* harmony import */ var is_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! is-observable */ \\\\\\\"./node_modules/is-observable/index.js\\\\\\\");\\\\n/* harmony import */ var is_observable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(is_observable__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../transferable */ \\\\\\\"./node_modules/threads/dist-esm/transferable.js\\\\\\\");\\\\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../types/messages */ \\\\\\\"./node_modules/threads/dist-esm/types/messages.js\\\\\\\");\\\\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./implementation */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerSerializer\\\\\\\", function() { return _common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"registerSerializer\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Transfer\\\\\\\", function() { return _transferable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"Transfer\\\\\\\"]; });\\\\n\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n/** Returns `true` if this code is currently running in a worker. */\\\\nconst isWorkerRuntime = _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime;\\\\nlet exposeCalled = false;\\\\nconst activeSubscriptions = new Map();\\\\nconst isMasterJobCancelMessage = (thing) => thing && thing.type === _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"MasterMessageType\\\\\\\"].cancel;\\\\nconst isMasterJobRunMessage = (thing) => thing && thing.type === _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"MasterMessageType\\\\\\\"].run;\\\\n/**\\\\n * There are issues with `is-observable` not recognizing zen-observable's instances.\\\\n * We are using `observable-fns`, but it's based on zen-observable, too.\\\\n */\\\\nconst isObservable = (thing) => is_observable__WEBPACK_IMPORTED_MODULE_0___default()(thing) || isZenObservable(thing);\\\\nfunction isZenObservable(thing) {\\\\n return thing && typeof thing === \\\\\\\"object\\\\\\\" && typeof thing.subscribe === \\\\\\\"function\\\\\\\";\\\\n}\\\\nfunction deconstructTransfer(thing) {\\\\n return Object(_transferable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"isTransferDescriptor\\\\\\\"])(thing)\\\\n ? { payload: thing.send, transferables: thing.transferables }\\\\n : { payload: thing, transferables: undefined };\\\\n}\\\\nfunction postFunctionInitMessage() {\\\\n const initMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].init,\\\\n exposed: {\\\\n type: \\\\\\\"function\\\\\\\"\\\\n }\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(initMessage);\\\\n}\\\\nfunction postModuleInitMessage(methodNames) {\\\\n const initMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].init,\\\\n exposed: {\\\\n type: \\\\\\\"module\\\\\\\",\\\\n methods: methodNames\\\\n }\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(initMessage);\\\\n}\\\\nfunction postJobErrorMessage(uid, rawError) {\\\\n const { payload: error, transferables } = deconstructTransfer(rawError);\\\\n const errorMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].error,\\\\n uid,\\\\n error: Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error)\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(errorMessage, transferables);\\\\n}\\\\nfunction postJobResultMessage(uid, completed, resultValue) {\\\\n const { payload, transferables } = deconstructTransfer(resultValue);\\\\n const resultMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].result,\\\\n uid,\\\\n complete: completed ? true : undefined,\\\\n payload\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(resultMessage, transferables);\\\\n}\\\\nfunction postJobStartMessage(uid, resultType) {\\\\n const startMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].running,\\\\n uid,\\\\n resultType\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(startMessage);\\\\n}\\\\nfunction postUncaughtErrorMessage(error) {\\\\n try {\\\\n const errorMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].uncaughtError,\\\\n error: Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error)\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(errorMessage);\\\\n }\\\\n catch (subError) {\\\\n // tslint:disable-next-line no-console\\\\n console.error(\\\\\\\"Not reporting uncaught error back to master thread as it \\\\\\\" +\\\\n \\\\\\\"occured while reporting an uncaught error already.\\\\\\\" +\\\\n \\\\\\\"\\\\\\\\nLatest error:\\\\\\\", subError, \\\\\\\"\\\\\\\\nOriginal error:\\\\\\\", error);\\\\n }\\\\n}\\\\nfunction runFunction(jobUID, fn, args) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n let syncResult;\\\\n try {\\\\n syncResult = fn(...args);\\\\n }\\\\n catch (error) {\\\\n return postJobErrorMessage(jobUID, error);\\\\n }\\\\n const resultType = isObservable(syncResult) ? \\\\\\\"observable\\\\\\\" : \\\\\\\"promise\\\\\\\";\\\\n postJobStartMessage(jobUID, resultType);\\\\n if (isObservable(syncResult)) {\\\\n const subscription = syncResult.subscribe(value => postJobResultMessage(jobUID, false, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(value)), error => {\\\\n postJobErrorMessage(jobUID, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error));\\\\n activeSubscriptions.delete(jobUID);\\\\n }, () => {\\\\n postJobResultMessage(jobUID, true);\\\\n activeSubscriptions.delete(jobUID);\\\\n });\\\\n activeSubscriptions.set(jobUID, subscription);\\\\n }\\\\n else {\\\\n try {\\\\n const result = yield syncResult;\\\\n postJobResultMessage(jobUID, true, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(result));\\\\n }\\\\n catch (error) {\\\\n postJobErrorMessage(jobUID, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error));\\\\n }\\\\n }\\\\n });\\\\n}\\\\n/**\\\\n * Expose a function or a module (an object whose values are functions)\\\\n * to the main thread. Must be called exactly once in every worker thread\\\\n * to signal its API to the main thread.\\\\n *\\\\n * @param exposed Function or object whose values are functions\\\\n */\\\\nfunction expose(exposed) {\\\\n if (!_implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime()) {\\\\n throw Error(\\\\\\\"expose() called in the master thread.\\\\\\\");\\\\n }\\\\n if (exposeCalled) {\\\\n throw Error(\\\\\\\"expose() called more than once. This is not possible. Pass an object to expose() if you want to expose multiple functions.\\\\\\\");\\\\n }\\\\n exposeCalled = true;\\\\n if (typeof exposed === \\\\\\\"function\\\\\\\") {\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].subscribeToMasterMessages(messageData => {\\\\n if (isMasterJobRunMessage(messageData) && !messageData.method) {\\\\n runFunction(messageData.uid, exposed, messageData.args.map(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"deserialize\\\\\\\"]));\\\\n }\\\\n });\\\\n postFunctionInitMessage();\\\\n }\\\\n else if (typeof exposed === \\\\\\\"object\\\\\\\" && exposed) {\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].subscribeToMasterMessages(messageData => {\\\\n if (isMasterJobRunMessage(messageData) && messageData.method) {\\\\n runFunction(messageData.uid, exposed[messageData.method], messageData.args.map(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"deserialize\\\\\\\"]));\\\\n }\\\\n });\\\\n const methodNames = Object.keys(exposed).filter(key => typeof exposed[key] === \\\\\\\"function\\\\\\\");\\\\n postModuleInitMessage(methodNames);\\\\n }\\\\n else {\\\\n throw Error(`Invalid argument passed to expose(). Expected a function or an object, got: ${exposed}`);\\\\n }\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].subscribeToMasterMessages(messageData => {\\\\n if (isMasterJobCancelMessage(messageData)) {\\\\n const jobUID = messageData.uid;\\\\n const subscription = activeSubscriptions.get(jobUID);\\\\n if (subscription) {\\\\n subscription.unsubscribe();\\\\n activeSubscriptions.delete(jobUID);\\\\n }\\\\n }\\\\n });\\\\n}\\\\nif (typeof self !== \\\\\\\"undefined\\\\\\\" && typeof self.addEventListener === \\\\\\\"function\\\\\\\" && _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime()) {\\\\n self.addEventListener(\\\\\\\"error\\\\\\\", event => {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(event.error || event), 250);\\\\n });\\\\n self.addEventListener(\\\\\\\"unhandledrejection\\\\\\\", event => {\\\\n const error = event.reason;\\\\n if (error && typeof error.message === \\\\\\\"string\\\\\\\") {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(error), 250);\\\\n }\\\\n });\\\\n}\\\\nif (typeof process !== \\\\\\\"undefined\\\\\\\" && typeof process.on === \\\\\\\"function\\\\\\\" && _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime()) {\\\\n process.on(\\\\\\\"uncaughtException\\\\\\\", (error) => {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(error), 250);\\\\n });\\\\n process.on(\\\\\\\"unhandledRejection\\\\\\\", (error) => {\\\\n if (error && typeof error.message === \\\\\\\"string\\\\\\\") {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(error), 250);\\\\n }\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker_threads.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker_threads.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return getImplementation; });\\\\n// Webpack hack\\\\n// tslint:disable no-eval\\\\nlet implementation;\\\\nfunction selectImplementation() {\\\\n return typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require(\\\\\\\"worker_threads\\\\\\\")\\\\n : eval(\\\\\\\"require\\\\\\\")(\\\\\\\"worker_threads\\\\\\\");\\\\n}\\\\nfunction getImplementation() {\\\\n if (!implementation) {\\\\n implementation = selectImplementation();\\\\n }\\\\n return implementation;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker_threads.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/node_modules/debug/src/browser.js\\\":\\n/*!****************************************************************!*\\\\\\n !*** ./node_modules/threads/node_modules/debug/src/browser.js ***!\\n \\\\****************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* eslint-env browser */\\\\n\\\\n/**\\\\n * This is the web browser implementation of `debug()`.\\\\n */\\\\n\\\\nexports.formatArgs = formatArgs;\\\\nexports.save = save;\\\\nexports.load = load;\\\\nexports.useColors = useColors;\\\\nexports.storage = localstorage();\\\\nexports.destroy = (() => {\\\\n\\\\tlet warned = false;\\\\n\\\\n\\\\treturn () => {\\\\n\\\\t\\\\tif (!warned) {\\\\n\\\\t\\\\t\\\\twarned = true;\\\\n\\\\t\\\\t\\\\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\\\\n\\\\t\\\\t}\\\\n\\\\t};\\\\n})();\\\\n\\\\n/**\\\\n * Colors.\\\\n */\\\\n\\\\nexports.colors = [\\\\n\\\\t'#0000CC',\\\\n\\\\t'#0000FF',\\\\n\\\\t'#0033CC',\\\\n\\\\t'#0033FF',\\\\n\\\\t'#0066CC',\\\\n\\\\t'#0066FF',\\\\n\\\\t'#0099CC',\\\\n\\\\t'#0099FF',\\\\n\\\\t'#00CC00',\\\\n\\\\t'#00CC33',\\\\n\\\\t'#00CC66',\\\\n\\\\t'#00CC99',\\\\n\\\\t'#00CCCC',\\\\n\\\\t'#00CCFF',\\\\n\\\\t'#3300CC',\\\\n\\\\t'#3300FF',\\\\n\\\\t'#3333CC',\\\\n\\\\t'#3333FF',\\\\n\\\\t'#3366CC',\\\\n\\\\t'#3366FF',\\\\n\\\\t'#3399CC',\\\\n\\\\t'#3399FF',\\\\n\\\\t'#33CC00',\\\\n\\\\t'#33CC33',\\\\n\\\\t'#33CC66',\\\\n\\\\t'#33CC99',\\\\n\\\\t'#33CCCC',\\\\n\\\\t'#33CCFF',\\\\n\\\\t'#6600CC',\\\\n\\\\t'#6600FF',\\\\n\\\\t'#6633CC',\\\\n\\\\t'#6633FF',\\\\n\\\\t'#66CC00',\\\\n\\\\t'#66CC33',\\\\n\\\\t'#9900CC',\\\\n\\\\t'#9900FF',\\\\n\\\\t'#9933CC',\\\\n\\\\t'#9933FF',\\\\n\\\\t'#99CC00',\\\\n\\\\t'#99CC33',\\\\n\\\\t'#CC0000',\\\\n\\\\t'#CC0033',\\\\n\\\\t'#CC0066',\\\\n\\\\t'#CC0099',\\\\n\\\\t'#CC00CC',\\\\n\\\\t'#CC00FF',\\\\n\\\\t'#CC3300',\\\\n\\\\t'#CC3333',\\\\n\\\\t'#CC3366',\\\\n\\\\t'#CC3399',\\\\n\\\\t'#CC33CC',\\\\n\\\\t'#CC33FF',\\\\n\\\\t'#CC6600',\\\\n\\\\t'#CC6633',\\\\n\\\\t'#CC9900',\\\\n\\\\t'#CC9933',\\\\n\\\\t'#CCCC00',\\\\n\\\\t'#CCCC33',\\\\n\\\\t'#FF0000',\\\\n\\\\t'#FF0033',\\\\n\\\\t'#FF0066',\\\\n\\\\t'#FF0099',\\\\n\\\\t'#FF00CC',\\\\n\\\\t'#FF00FF',\\\\n\\\\t'#FF3300',\\\\n\\\\t'#FF3333',\\\\n\\\\t'#FF3366',\\\\n\\\\t'#FF3399',\\\\n\\\\t'#FF33CC',\\\\n\\\\t'#FF33FF',\\\\n\\\\t'#FF6600',\\\\n\\\\t'#FF6633',\\\\n\\\\t'#FF9900',\\\\n\\\\t'#FF9933',\\\\n\\\\t'#FFCC00',\\\\n\\\\t'#FFCC33'\\\\n];\\\\n\\\\n/**\\\\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\\\\n * and the Firebug extension (any Firefox version) are known\\\\n * to support \\\\\\\"%c\\\\\\\" CSS customizations.\\\\n *\\\\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\\\\n */\\\\n\\\\n// eslint-disable-next-line complexity\\\\nfunction useColors() {\\\\n\\\\t// NB: In an Electron preload script, document will be defined but not fully\\\\n\\\\t// initialized. Since we know we're in Chrome, we'll just detect this case\\\\n\\\\t// explicitly\\\\n\\\\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\t// Internet Explorer and Edge do not support colors.\\\\n\\\\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\\\\\\\/(\\\\\\\\d+)/)) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t// Is webkit? http://stackoverflow.com/a/16459606/376773\\\\n\\\\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\\\\n\\\\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\\\\n\\\\t\\\\t// Is firebug? http://stackoverflow.com/a/398120/376773\\\\n\\\\t\\\\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\\\\n\\\\t\\\\t// Is firefox >= v31?\\\\n\\\\t\\\\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\\\\n\\\\t\\\\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\\\\\\\/(\\\\\\\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\\\\n\\\\t\\\\t// Double check webkit in userAgent just in case we are in a worker\\\\n\\\\t\\\\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\\\\\\\/(\\\\\\\\d+)/));\\\\n}\\\\n\\\\n/**\\\\n * Colorize log arguments if enabled.\\\\n *\\\\n * @api public\\\\n */\\\\n\\\\nfunction formatArgs(args) {\\\\n\\\\targs[0] = (this.useColors ? '%c' : '') +\\\\n\\\\t\\\\tthis.namespace +\\\\n\\\\t\\\\t(this.useColors ? ' %c' : ' ') +\\\\n\\\\t\\\\targs[0] +\\\\n\\\\t\\\\t(this.useColors ? '%c ' : ' ') +\\\\n\\\\t\\\\t'+' + module.exports.humanize(this.diff);\\\\n\\\\n\\\\tif (!this.useColors) {\\\\n\\\\t\\\\treturn;\\\\n\\\\t}\\\\n\\\\n\\\\tconst c = 'color: ' + this.color;\\\\n\\\\targs.splice(1, 0, c, 'color: inherit');\\\\n\\\\n\\\\t// The final \\\\\\\"%c\\\\\\\" is somewhat tricky, because there could be other\\\\n\\\\t// arguments passed either before or after the %c, so we need to\\\\n\\\\t// figure out the correct index to insert the CSS into\\\\n\\\\tlet index = 0;\\\\n\\\\tlet lastC = 0;\\\\n\\\\targs[0].replace(/%[a-zA-Z%]/g, match => {\\\\n\\\\t\\\\tif (match === '%%') {\\\\n\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tindex++;\\\\n\\\\t\\\\tif (match === '%c') {\\\\n\\\\t\\\\t\\\\t// We only are interested in the *last* %c\\\\n\\\\t\\\\t\\\\t// (the user may have provided their own)\\\\n\\\\t\\\\t\\\\tlastC = index;\\\\n\\\\t\\\\t}\\\\n\\\\t});\\\\n\\\\n\\\\targs.splice(lastC, 0, c);\\\\n}\\\\n\\\\n/**\\\\n * Invokes `console.debug()` when available.\\\\n * No-op when `console.debug` is not a \\\\\\\"function\\\\\\\".\\\\n * If `console.debug` is not available, falls back\\\\n * to `console.log`.\\\\n *\\\\n * @api public\\\\n */\\\\nexports.log = console.debug || console.log || (() => {});\\\\n\\\\n/**\\\\n * Save `namespaces`.\\\\n *\\\\n * @param {String} namespaces\\\\n * @api private\\\\n */\\\\nfunction save(namespaces) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tif (namespaces) {\\\\n\\\\t\\\\t\\\\texports.storage.setItem('debug', namespaces);\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\texports.storage.removeItem('debug');\\\\n\\\\t\\\\t}\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n}\\\\n\\\\n/**\\\\n * Load `namespaces`.\\\\n *\\\\n * @return {String} returns the previously persisted debug modes\\\\n * @api private\\\\n */\\\\nfunction load() {\\\\n\\\\tlet r;\\\\n\\\\ttry {\\\\n\\\\t\\\\tr = exports.storage.getItem('debug');\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n\\\\n\\\\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\\\\n\\\\tif (!r && typeof process !== 'undefined' && 'env' in process) {\\\\n\\\\t\\\\tr = process.env.DEBUG;\\\\n\\\\t}\\\\n\\\\n\\\\treturn r;\\\\n}\\\\n\\\\n/**\\\\n * Localstorage attempts to return the localstorage.\\\\n *\\\\n * This is necessary because safari throws\\\\n * when a user disables cookies/localstorage\\\\n * and you attempt to access it.\\\\n *\\\\n * @return {LocalStorage}\\\\n * @api private\\\\n */\\\\n\\\\nfunction localstorage() {\\\\n\\\\ttry {\\\\n\\\\t\\\\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\\\\n\\\\t\\\\t// The Browser also has localStorage in the global context.\\\\n\\\\t\\\\treturn localStorage;\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n}\\\\n\\\\nmodule.exports = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/threads/node_modules/debug/src/common.js\\\\\\\")(exports);\\\\n\\\\nconst {formatters} = module.exports;\\\\n\\\\n/**\\\\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\\\\n */\\\\n\\\\nformatters.j = function (v) {\\\\n\\\\ttry {\\\\n\\\\t\\\\treturn JSON.stringify(v);\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\treturn '[UnexpectedJSONParseError]: ' + error.message;\\\\n\\\\t}\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/node_modules/debug/src/common.js\\\":\\n/*!***************************************************************!*\\\\\\n !*** ./node_modules/threads/node_modules/debug/src/common.js ***!\\n \\\\***************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"\\\\n/**\\\\n * This is the common logic for both the Node.js and web browser\\\\n * implementations of `debug()`.\\\\n */\\\\n\\\\nfunction setup(env) {\\\\n\\\\tcreateDebug.debug = createDebug;\\\\n\\\\tcreateDebug.default = createDebug;\\\\n\\\\tcreateDebug.coerce = coerce;\\\\n\\\\tcreateDebug.disable = disable;\\\\n\\\\tcreateDebug.enable = enable;\\\\n\\\\tcreateDebug.enabled = enabled;\\\\n\\\\tcreateDebug.humanize = __webpack_require__(/*! ms */ \\\\\\\"./node_modules/threads/node_modules/ms/index.js\\\\\\\");\\\\n\\\\tcreateDebug.destroy = destroy;\\\\n\\\\n\\\\tObject.keys(env).forEach(key => {\\\\n\\\\t\\\\tcreateDebug[key] = env[key];\\\\n\\\\t});\\\\n\\\\n\\\\t/**\\\\n\\\\t* The currently active debug mode names, and names to skip.\\\\n\\\\t*/\\\\n\\\\n\\\\tcreateDebug.names = [];\\\\n\\\\tcreateDebug.skips = [];\\\\n\\\\n\\\\t/**\\\\n\\\\t* Map of special \\\\\\\"%n\\\\\\\" handling functions, for the debug \\\\\\\"format\\\\\\\" argument.\\\\n\\\\t*\\\\n\\\\t* Valid key names are a single, lower or upper-case letter, i.e. \\\\\\\"n\\\\\\\" and \\\\\\\"N\\\\\\\".\\\\n\\\\t*/\\\\n\\\\tcreateDebug.formatters = {};\\\\n\\\\n\\\\t/**\\\\n\\\\t* Selects a color for a debug namespace\\\\n\\\\t* @param {String} namespace The namespace string for the for the debug instance to be colored\\\\n\\\\t* @return {Number|String} An ANSI color code for the given namespace\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction selectColor(namespace) {\\\\n\\\\t\\\\tlet hash = 0;\\\\n\\\\n\\\\t\\\\tfor (let i = 0; i < namespace.length; i++) {\\\\n\\\\t\\\\t\\\\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\\\\n\\\\t\\\\t\\\\thash |= 0; // Convert to 32bit integer\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\\\\n\\\\t}\\\\n\\\\tcreateDebug.selectColor = selectColor;\\\\n\\\\n\\\\t/**\\\\n\\\\t* Create a debugger with the given `namespace`.\\\\n\\\\t*\\\\n\\\\t* @param {String} namespace\\\\n\\\\t* @return {Function}\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction createDebug(namespace) {\\\\n\\\\t\\\\tlet prevTime;\\\\n\\\\t\\\\tlet enableOverride = null;\\\\n\\\\t\\\\tlet namespacesCache;\\\\n\\\\t\\\\tlet enabledCache;\\\\n\\\\n\\\\t\\\\tfunction debug(...args) {\\\\n\\\\t\\\\t\\\\t// Disabled?\\\\n\\\\t\\\\t\\\\tif (!debug.enabled) {\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tconst self = debug;\\\\n\\\\n\\\\t\\\\t\\\\t// Set `diff` timestamp\\\\n\\\\t\\\\t\\\\tconst curr = Number(new Date());\\\\n\\\\t\\\\t\\\\tconst ms = curr - (prevTime || curr);\\\\n\\\\t\\\\t\\\\tself.diff = ms;\\\\n\\\\t\\\\t\\\\tself.prev = prevTime;\\\\n\\\\t\\\\t\\\\tself.curr = curr;\\\\n\\\\t\\\\t\\\\tprevTime = curr;\\\\n\\\\n\\\\t\\\\t\\\\targs[0] = createDebug.coerce(args[0]);\\\\n\\\\n\\\\t\\\\t\\\\tif (typeof args[0] !== 'string') {\\\\n\\\\t\\\\t\\\\t\\\\t// Anything else let's inspect with %O\\\\n\\\\t\\\\t\\\\t\\\\targs.unshift('%O');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t// Apply any `formatters` transformations\\\\n\\\\t\\\\t\\\\tlet index = 0;\\\\n\\\\t\\\\t\\\\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\\\\n\\\\t\\\\t\\\\t\\\\t// If we encounter an escaped % then don't increase the array index\\\\n\\\\t\\\\t\\\\t\\\\tif (match === '%%') {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn '%';\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tindex++;\\\\n\\\\t\\\\t\\\\t\\\\tconst formatter = createDebug.formatters[format];\\\\n\\\\t\\\\t\\\\t\\\\tif (typeof formatter === 'function') {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tconst val = args[index];\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tmatch = formatter.call(self, val);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Now we need to remove `args[index]` since it's inlined in the `format`\\\\n\\\\t\\\\t\\\\t\\\\t\\\\targs.splice(index, 1);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tindex--;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\treturn match;\\\\n\\\\t\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t\\\\t// Apply env-specific formatting (colors, etc.)\\\\n\\\\t\\\\t\\\\tcreateDebug.formatArgs.call(self, args);\\\\n\\\\n\\\\t\\\\t\\\\tconst logFn = self.log || createDebug.log;\\\\n\\\\t\\\\t\\\\tlogFn.apply(self, args);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tdebug.namespace = namespace;\\\\n\\\\t\\\\tdebug.useColors = createDebug.useColors();\\\\n\\\\t\\\\tdebug.color = createDebug.selectColor(namespace);\\\\n\\\\t\\\\tdebug.extend = extend;\\\\n\\\\t\\\\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\\\\n\\\\n\\\\t\\\\tObject.defineProperty(debug, 'enabled', {\\\\n\\\\t\\\\t\\\\tenumerable: true,\\\\n\\\\t\\\\t\\\\tconfigurable: false,\\\\n\\\\t\\\\t\\\\tget: () => {\\\\n\\\\t\\\\t\\\\t\\\\tif (enableOverride !== null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn enableOverride;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (namespacesCache !== createDebug.namespaces) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tnamespacesCache = createDebug.namespaces;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tenabledCache = createDebug.enabled(namespace);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\treturn enabledCache;\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\tset: v => {\\\\n\\\\t\\\\t\\\\t\\\\tenableOverride = v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t// Env-specific initialization logic for debug instances\\\\n\\\\t\\\\tif (typeof createDebug.init === 'function') {\\\\n\\\\t\\\\t\\\\tcreateDebug.init(debug);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn debug;\\\\n\\\\t}\\\\n\\\\n\\\\tfunction extend(namespace, delimiter) {\\\\n\\\\t\\\\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\\\\n\\\\t\\\\tnewDebug.log = this.log;\\\\n\\\\t\\\\treturn newDebug;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Enables a debug mode by namespaces. This can include modes\\\\n\\\\t* separated by a colon and wildcards.\\\\n\\\\t*\\\\n\\\\t* @param {String} namespaces\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction enable(namespaces) {\\\\n\\\\t\\\\tcreateDebug.save(namespaces);\\\\n\\\\t\\\\tcreateDebug.namespaces = namespaces;\\\\n\\\\n\\\\t\\\\tcreateDebug.names = [];\\\\n\\\\t\\\\tcreateDebug.skips = [];\\\\n\\\\n\\\\t\\\\tlet i;\\\\n\\\\t\\\\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\\\\\\\s,]+/);\\\\n\\\\t\\\\tconst len = split.length;\\\\n\\\\n\\\\t\\\\tfor (i = 0; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (!split[i]) {\\\\n\\\\t\\\\t\\\\t\\\\t// ignore empty strings\\\\n\\\\t\\\\t\\\\t\\\\tcontinue;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tnamespaces = split[i].replace(/\\\\\\\\*/g, '.*?');\\\\n\\\\n\\\\t\\\\t\\\\tif (namespaces[0] === '-') {\\\\n\\\\t\\\\t\\\\t\\\\tcreateDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Disable debug output.\\\\n\\\\t*\\\\n\\\\t* @return {String} namespaces\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction disable() {\\\\n\\\\t\\\\tconst namespaces = [\\\\n\\\\t\\\\t\\\\t...createDebug.names.map(toNamespace),\\\\n\\\\t\\\\t\\\\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\\\\n\\\\t\\\\t].join(',');\\\\n\\\\t\\\\tcreateDebug.enable('');\\\\n\\\\t\\\\treturn namespaces;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Returns true if the given mode name is enabled, false otherwise.\\\\n\\\\t*\\\\n\\\\t* @param {String} name\\\\n\\\\t* @return {Boolean}\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction enabled(name) {\\\\n\\\\t\\\\tif (name[name.length - 1] === '*') {\\\\n\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tlet i;\\\\n\\\\t\\\\tlet len;\\\\n\\\\n\\\\t\\\\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (createDebug.skips[i].test(name)) {\\\\n\\\\t\\\\t\\\\t\\\\treturn false;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (createDebug.names[i].test(name)) {\\\\n\\\\t\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Convert regexp to namespace\\\\n\\\\t*\\\\n\\\\t* @param {RegExp} regxep\\\\n\\\\t* @return {String} namespace\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction toNamespace(regexp) {\\\\n\\\\t\\\\treturn regexp.toString()\\\\n\\\\t\\\\t\\\\t.substring(2, regexp.toString().length - 2)\\\\n\\\\t\\\\t\\\\t.replace(/\\\\\\\\.\\\\\\\\*\\\\\\\\?$/, '*');\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Coerce `val`.\\\\n\\\\t*\\\\n\\\\t* @param {Mixed} val\\\\n\\\\t* @return {Mixed}\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction coerce(val) {\\\\n\\\\t\\\\tif (val instanceof Error) {\\\\n\\\\t\\\\t\\\\treturn val.stack || val.message;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn val;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* XXX DO NOT USE. This is a temporary stub function.\\\\n\\\\t* XXX It WILL be removed in the next major release.\\\\n\\\\t*/\\\\n\\\\tfunction destroy() {\\\\n\\\\t\\\\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\\\\n\\\\t}\\\\n\\\\n\\\\tcreateDebug.enable(createDebug.load());\\\\n\\\\n\\\\treturn createDebug;\\\\n}\\\\n\\\\nmodule.exports = setup;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/node_modules/debug/src/index.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/threads/node_modules/debug/src/index.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/**\\\\n * Detect Electron renderer / nwjs process, which is node, but we should\\\\n * treat as a browser.\\\\n */\\\\n\\\\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\\\\n\\\\tmodule.exports = __webpack_require__(/*! ./browser.js */ \\\\\\\"./node_modules/threads/node_modules/debug/src/browser.js\\\\\\\");\\\\n} else {\\\\n\\\\tmodule.exports = __webpack_require__(/*! ./node.js */ \\\\\\\"./node_modules/threads/node_modules/debug/src/node.js\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/node_modules/debug/src/node.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/threads/node_modules/debug/src/node.js ***!\\n \\\\*************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/**\\\\n * Module dependencies.\\\\n */\\\\n\\\\nconst tty = __webpack_require__(/*! tty */ \\\\\\\"tty\\\\\\\");\\\\nconst util = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\");\\\\n\\\\n/**\\\\n * This is the Node.js implementation of `debug()`.\\\\n */\\\\n\\\\nexports.init = init;\\\\nexports.log = log;\\\\nexports.formatArgs = formatArgs;\\\\nexports.save = save;\\\\nexports.load = load;\\\\nexports.useColors = useColors;\\\\nexports.destroy = util.deprecate(\\\\n\\\\t() => {},\\\\n\\\\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\\\\n);\\\\n\\\\n/**\\\\n * Colors.\\\\n */\\\\n\\\\nexports.colors = [6, 2, 3, 4, 5, 1];\\\\n\\\\ntry {\\\\n\\\\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\\\\n\\\\t// eslint-disable-next-line import/no-extraneous-dependencies\\\\n\\\\tconst supportsColor = __webpack_require__(/*! supports-color */ \\\\\\\"./node_modules/supports-color/index.js\\\\\\\");\\\\n\\\\n\\\\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\\\\n\\\\t\\\\texports.colors = [\\\\n\\\\t\\\\t\\\\t20,\\\\n\\\\t\\\\t\\\\t21,\\\\n\\\\t\\\\t\\\\t26,\\\\n\\\\t\\\\t\\\\t27,\\\\n\\\\t\\\\t\\\\t32,\\\\n\\\\t\\\\t\\\\t33,\\\\n\\\\t\\\\t\\\\t38,\\\\n\\\\t\\\\t\\\\t39,\\\\n\\\\t\\\\t\\\\t40,\\\\n\\\\t\\\\t\\\\t41,\\\\n\\\\t\\\\t\\\\t42,\\\\n\\\\t\\\\t\\\\t43,\\\\n\\\\t\\\\t\\\\t44,\\\\n\\\\t\\\\t\\\\t45,\\\\n\\\\t\\\\t\\\\t56,\\\\n\\\\t\\\\t\\\\t57,\\\\n\\\\t\\\\t\\\\t62,\\\\n\\\\t\\\\t\\\\t63,\\\\n\\\\t\\\\t\\\\t68,\\\\n\\\\t\\\\t\\\\t69,\\\\n\\\\t\\\\t\\\\t74,\\\\n\\\\t\\\\t\\\\t75,\\\\n\\\\t\\\\t\\\\t76,\\\\n\\\\t\\\\t\\\\t77,\\\\n\\\\t\\\\t\\\\t78,\\\\n\\\\t\\\\t\\\\t79,\\\\n\\\\t\\\\t\\\\t80,\\\\n\\\\t\\\\t\\\\t81,\\\\n\\\\t\\\\t\\\\t92,\\\\n\\\\t\\\\t\\\\t93,\\\\n\\\\t\\\\t\\\\t98,\\\\n\\\\t\\\\t\\\\t99,\\\\n\\\\t\\\\t\\\\t112,\\\\n\\\\t\\\\t\\\\t113,\\\\n\\\\t\\\\t\\\\t128,\\\\n\\\\t\\\\t\\\\t129,\\\\n\\\\t\\\\t\\\\t134,\\\\n\\\\t\\\\t\\\\t135,\\\\n\\\\t\\\\t\\\\t148,\\\\n\\\\t\\\\t\\\\t149,\\\\n\\\\t\\\\t\\\\t160,\\\\n\\\\t\\\\t\\\\t161,\\\\n\\\\t\\\\t\\\\t162,\\\\n\\\\t\\\\t\\\\t163,\\\\n\\\\t\\\\t\\\\t164,\\\\n\\\\t\\\\t\\\\t165,\\\\n\\\\t\\\\t\\\\t166,\\\\n\\\\t\\\\t\\\\t167,\\\\n\\\\t\\\\t\\\\t168,\\\\n\\\\t\\\\t\\\\t169,\\\\n\\\\t\\\\t\\\\t170,\\\\n\\\\t\\\\t\\\\t171,\\\\n\\\\t\\\\t\\\\t172,\\\\n\\\\t\\\\t\\\\t173,\\\\n\\\\t\\\\t\\\\t178,\\\\n\\\\t\\\\t\\\\t179,\\\\n\\\\t\\\\t\\\\t184,\\\\n\\\\t\\\\t\\\\t185,\\\\n\\\\t\\\\t\\\\t196,\\\\n\\\\t\\\\t\\\\t197,\\\\n\\\\t\\\\t\\\\t198,\\\\n\\\\t\\\\t\\\\t199,\\\\n\\\\t\\\\t\\\\t200,\\\\n\\\\t\\\\t\\\\t201,\\\\n\\\\t\\\\t\\\\t202,\\\\n\\\\t\\\\t\\\\t203,\\\\n\\\\t\\\\t\\\\t204,\\\\n\\\\t\\\\t\\\\t205,\\\\n\\\\t\\\\t\\\\t206,\\\\n\\\\t\\\\t\\\\t207,\\\\n\\\\t\\\\t\\\\t208,\\\\n\\\\t\\\\t\\\\t209,\\\\n\\\\t\\\\t\\\\t214,\\\\n\\\\t\\\\t\\\\t215,\\\\n\\\\t\\\\t\\\\t220,\\\\n\\\\t\\\\t\\\\t221\\\\n\\\\t\\\\t];\\\\n\\\\t}\\\\n} catch (error) {\\\\n\\\\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\\\\n}\\\\n\\\\n/**\\\\n * Build up the default `inspectOpts` object from the environment variables.\\\\n *\\\\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\\\\n */\\\\n\\\\nexports.inspectOpts = Object.keys(process.env).filter(key => {\\\\n\\\\treturn /^debug_/i.test(key);\\\\n}).reduce((obj, key) => {\\\\n\\\\t// Camel-case\\\\n\\\\tconst prop = key\\\\n\\\\t\\\\t.substring(6)\\\\n\\\\t\\\\t.toLowerCase()\\\\n\\\\t\\\\t.replace(/_([a-z])/g, (_, k) => {\\\\n\\\\t\\\\t\\\\treturn k.toUpperCase();\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t// Coerce string value into JS value\\\\n\\\\tlet val = process.env[key];\\\\n\\\\tif (/^(yes|on|true|enabled)$/i.test(val)) {\\\\n\\\\t\\\\tval = true;\\\\n\\\\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\\\\n\\\\t\\\\tval = false;\\\\n\\\\t} else if (val === 'null') {\\\\n\\\\t\\\\tval = null;\\\\n\\\\t} else {\\\\n\\\\t\\\\tval = Number(val);\\\\n\\\\t}\\\\n\\\\n\\\\tobj[prop] = val;\\\\n\\\\treturn obj;\\\\n}, {});\\\\n\\\\n/**\\\\n * Is stdout a TTY? Colored output is enabled when `true`.\\\\n */\\\\n\\\\nfunction useColors() {\\\\n\\\\treturn 'colors' in exports.inspectOpts ?\\\\n\\\\t\\\\tBoolean(exports.inspectOpts.colors) :\\\\n\\\\t\\\\ttty.isatty(process.stderr.fd);\\\\n}\\\\n\\\\n/**\\\\n * Adds ANSI color escape codes if enabled.\\\\n *\\\\n * @api public\\\\n */\\\\n\\\\nfunction formatArgs(args) {\\\\n\\\\tconst {namespace: name, useColors} = this;\\\\n\\\\n\\\\tif (useColors) {\\\\n\\\\t\\\\tconst c = this.color;\\\\n\\\\t\\\\tconst colorCode = '\\\\\\\\u001B[3' + (c < 8 ? c : '8;5;' + c);\\\\n\\\\t\\\\tconst prefix = ` ${colorCode};1m${name} \\\\\\\\u001B[0m`;\\\\n\\\\n\\\\t\\\\targs[0] = prefix + args[0].split('\\\\\\\\n').join('\\\\\\\\n' + prefix);\\\\n\\\\t\\\\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\\\\\\\u001B[0m');\\\\n\\\\t} else {\\\\n\\\\t\\\\targs[0] = getDate() + name + ' ' + args[0];\\\\n\\\\t}\\\\n}\\\\n\\\\nfunction getDate() {\\\\n\\\\tif (exports.inspectOpts.hideDate) {\\\\n\\\\t\\\\treturn '';\\\\n\\\\t}\\\\n\\\\treturn new Date().toISOString() + ' ';\\\\n}\\\\n\\\\n/**\\\\n * Invokes `util.format()` with the specified arguments and writes to stderr.\\\\n */\\\\n\\\\nfunction log(...args) {\\\\n\\\\treturn process.stderr.write(util.format(...args) + '\\\\\\\\n');\\\\n}\\\\n\\\\n/**\\\\n * Save `namespaces`.\\\\n *\\\\n * @param {String} namespaces\\\\n * @api private\\\\n */\\\\nfunction save(namespaces) {\\\\n\\\\tif (namespaces) {\\\\n\\\\t\\\\tprocess.env.DEBUG = namespaces;\\\\n\\\\t} else {\\\\n\\\\t\\\\t// If you set a process.env field to null or undefined, it gets cast to the\\\\n\\\\t\\\\t// string 'null' or 'undefined'. Just delete instead.\\\\n\\\\t\\\\tdelete process.env.DEBUG;\\\\n\\\\t}\\\\n}\\\\n\\\\n/**\\\\n * Load `namespaces`.\\\\n *\\\\n * @return {String} returns the previously persisted debug modes\\\\n * @api private\\\\n */\\\\n\\\\nfunction load() {\\\\n\\\\treturn process.env.DEBUG;\\\\n}\\\\n\\\\n/**\\\\n * Init logic for `debug` instances.\\\\n *\\\\n * Create a new `inspectOpts` object in case `useColors` is set\\\\n * differently for a particular `debug` instance.\\\\n */\\\\n\\\\nfunction init(debug) {\\\\n\\\\tdebug.inspectOpts = {};\\\\n\\\\n\\\\tconst keys = Object.keys(exports.inspectOpts);\\\\n\\\\tfor (let i = 0; i < keys.length; i++) {\\\\n\\\\t\\\\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\\\\n\\\\t}\\\\n}\\\\n\\\\nmodule.exports = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/threads/node_modules/debug/src/common.js\\\\\\\")(exports);\\\\n\\\\nconst {formatters} = module.exports;\\\\n\\\\n/**\\\\n * Map %o to `util.inspect()`, all on a single line.\\\\n */\\\\n\\\\nformatters.o = function (v) {\\\\n\\\\tthis.inspectOpts.colors = this.useColors;\\\\n\\\\treturn util.inspect(v, this.inspectOpts)\\\\n\\\\t\\\\t.split('\\\\\\\\n')\\\\n\\\\t\\\\t.map(str => str.trim())\\\\n\\\\t\\\\t.join(' ');\\\\n};\\\\n\\\\n/**\\\\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\\\\n */\\\\n\\\\nformatters.O = function (v) {\\\\n\\\\tthis.inspectOpts.colors = this.useColors;\\\\n\\\\treturn util.inspect(v, this.inspectOpts);\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/debug/src/node.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/node_modules/ms/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/node_modules/ms/index.js ***!\\n \\\\*******************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/**\\\\n * Helpers.\\\\n */\\\\n\\\\nvar s = 1000;\\\\nvar m = s * 60;\\\\nvar h = m * 60;\\\\nvar d = h * 24;\\\\nvar w = d * 7;\\\\nvar y = d * 365.25;\\\\n\\\\n/**\\\\n * Parse or format the given `val`.\\\\n *\\\\n * Options:\\\\n *\\\\n * - `long` verbose formatting [false]\\\\n *\\\\n * @param {String|Number} val\\\\n * @param {Object} [options]\\\\n * @throws {Error} throw an error if val is not a non-empty string or a number\\\\n * @return {String|Number}\\\\n * @api public\\\\n */\\\\n\\\\nmodule.exports = function(val, options) {\\\\n options = options || {};\\\\n var type = typeof val;\\\\n if (type === 'string' && val.length > 0) {\\\\n return parse(val);\\\\n } else if (type === 'number' && isFinite(val)) {\\\\n return options.long ? fmtLong(val) : fmtShort(val);\\\\n }\\\\n throw new Error(\\\\n 'val is not a non-empty string or a valid number. val=' +\\\\n JSON.stringify(val)\\\\n );\\\\n};\\\\n\\\\n/**\\\\n * Parse the given `str` and return milliseconds.\\\\n *\\\\n * @param {String} str\\\\n * @return {Number}\\\\n * @api private\\\\n */\\\\n\\\\nfunction parse(str) {\\\\n str = String(str);\\\\n if (str.length > 100) {\\\\n return;\\\\n }\\\\n var match = /^(-?(?:\\\\\\\\d+)?\\\\\\\\.?\\\\\\\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\\\\n str\\\\n );\\\\n if (!match) {\\\\n return;\\\\n }\\\\n var n = parseFloat(match[1]);\\\\n var type = (match[2] || 'ms').toLowerCase();\\\\n switch (type) {\\\\n case 'years':\\\\n case 'year':\\\\n case 'yrs':\\\\n case 'yr':\\\\n case 'y':\\\\n return n * y;\\\\n case 'weeks':\\\\n case 'week':\\\\n case 'w':\\\\n return n * w;\\\\n case 'days':\\\\n case 'day':\\\\n case 'd':\\\\n return n * d;\\\\n case 'hours':\\\\n case 'hour':\\\\n case 'hrs':\\\\n case 'hr':\\\\n case 'h':\\\\n return n * h;\\\\n case 'minutes':\\\\n case 'minute':\\\\n case 'mins':\\\\n case 'min':\\\\n case 'm':\\\\n return n * m;\\\\n case 'seconds':\\\\n case 'second':\\\\n case 'secs':\\\\n case 'sec':\\\\n case 's':\\\\n return n * s;\\\\n case 'milliseconds':\\\\n case 'millisecond':\\\\n case 'msecs':\\\\n case 'msec':\\\\n case 'ms':\\\\n return n;\\\\n default:\\\\n return undefined;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Short format for `ms`.\\\\n *\\\\n * @param {Number} ms\\\\n * @return {String}\\\\n * @api private\\\\n */\\\\n\\\\nfunction fmtShort(ms) {\\\\n var msAbs = Math.abs(ms);\\\\n if (msAbs >= d) {\\\\n return Math.round(ms / d) + 'd';\\\\n }\\\\n if (msAbs >= h) {\\\\n return Math.round(ms / h) + 'h';\\\\n }\\\\n if (msAbs >= m) {\\\\n return Math.round(ms / m) + 'm';\\\\n }\\\\n if (msAbs >= s) {\\\\n return Math.round(ms / s) + 's';\\\\n }\\\\n return ms + 'ms';\\\\n}\\\\n\\\\n/**\\\\n * Long format for `ms`.\\\\n *\\\\n * @param {Number} ms\\\\n * @return {String}\\\\n * @api private\\\\n */\\\\n\\\\nfunction fmtLong(ms) {\\\\n var msAbs = Math.abs(ms);\\\\n if (msAbs >= d) {\\\\n return plural(ms, msAbs, d, 'day');\\\\n }\\\\n if (msAbs >= h) {\\\\n return plural(ms, msAbs, h, 'hour');\\\\n }\\\\n if (msAbs >= m) {\\\\n return plural(ms, msAbs, m, 'minute');\\\\n }\\\\n if (msAbs >= s) {\\\\n return plural(ms, msAbs, s, 'second');\\\\n }\\\\n return ms + ' ms';\\\\n}\\\\n\\\\n/**\\\\n * Pluralization helper.\\\\n */\\\\n\\\\nfunction plural(ms, msAbs, n, name) {\\\\n var isPlural = msAbs >= n * 1.5;\\\\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/node_modules/ms/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/tiny-worker/lib/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/tiny-worker/lib/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(__dirname) {\\\\n\\\\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\\\\\\\"value\\\\\\\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\\\\n\\\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\\\\\"Cannot call a class as a function\\\\\\\"); } }\\\\n\\\\nvar path = __webpack_require__(/*! path */ \\\\\\\"path\\\\\\\"),\\\\n fork = __webpack_require__(/*! child_process */ \\\\\\\"child_process\\\\\\\").fork,\\\\n worker = path.join(__dirname, \\\\\\\"worker.js\\\\\\\"),\\\\n events = /^(error|message)$/,\\\\n defaultPorts = { inspect: 9229, debug: 5858 };\\\\nvar range = { min: 1, max: 300 };\\\\n\\\\nvar Worker = function () {\\\\n\\\\tfunction Worker(arg) {\\\\n\\\\t\\\\tvar _this = this;\\\\n\\\\n\\\\t\\\\tvar args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\\\\n\\\\t\\\\tvar options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { cwd: process.cwd() };\\\\n\\\\n\\\\t\\\\t_classCallCheck(this, Worker);\\\\n\\\\n\\\\t\\\\tvar isfn = typeof arg === \\\\\\\"function\\\\\\\",\\\\n\\\\t\\\\t input = isfn ? arg.toString() : arg;\\\\n\\\\n\\\\t\\\\tif (!options.cwd) {\\\\n\\\\t\\\\t\\\\toptions.cwd = process.cwd();\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t//get all debug related parameters\\\\n\\\\t\\\\tvar debugVars = process.execArgv.filter(function (execArg) {\\\\n\\\\t\\\\t\\\\treturn (/(debug|inspect)/.test(execArg)\\\\n\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t});\\\\n\\\\t\\\\tif (debugVars.length > 0 && !options.noDebugRedirection) {\\\\n\\\\t\\\\t\\\\tif (!options.execArgv) {\\\\n\\\\t\\\\t\\\\t\\\\t//if no execArgs are given copy all arguments\\\\n\\\\t\\\\t\\\\t\\\\tdebugVars = Array.from(process.execArgv);\\\\n\\\\t\\\\t\\\\t\\\\toptions.execArgv = [];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tvar inspectIndex = debugVars.findIndex(function (debugArg) {\\\\n\\\\t\\\\t\\\\t\\\\t//get index of inspect parameter\\\\n\\\\t\\\\t\\\\t\\\\treturn (/^--inspect(-brk)?(=\\\\\\\\d+)?$/.test(debugArg)\\\\n\\\\t\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t\\\\tvar debugIndex = debugVars.findIndex(function (debugArg) {\\\\n\\\\t\\\\t\\\\t\\\\t//get index of debug parameter\\\\n\\\\t\\\\t\\\\t\\\\treturn (/^--debug(-brk)?(=\\\\\\\\d+)?$/.test(debugArg)\\\\n\\\\t\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t\\\\tvar portIndex = inspectIndex >= 0 ? inspectIndex : debugIndex; //get index of port, inspect has higher priority\\\\n\\\\n\\\\t\\\\t\\\\tif (portIndex >= 0) {\\\\n\\\\t\\\\t\\\\t\\\\tvar match = /^--(debug|inspect)(?:-brk)?(?:=(\\\\\\\\d+))?$/.exec(debugVars[portIndex]); //get port\\\\n\\\\t\\\\t\\\\t\\\\tvar port = defaultPorts[match[1]];\\\\n\\\\t\\\\t\\\\t\\\\tif (match[2]) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tport = parseInt(match[2]);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tdebugVars[portIndex] = \\\\\\\"--\\\\\\\" + match[1] + \\\\\\\"=\\\\\\\" + (port + range.min + Math.floor(Math.random() * (range.max - range.min))); //new parameter\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (debugIndex >= 0 && debugIndex !== portIndex) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t//remove \\\\\\\"-brk\\\\\\\" from debug if there\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tmatch = /^(--debug)(?:-brk)?(.*)/.exec(debugVars[debugIndex]);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdebugVars[debugIndex] = match[1] + (match[2] ? match[2] : \\\\\\\"\\\\\\\");\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\toptions.execArgv = options.execArgv.concat(debugVars);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tdelete options.noDebugRedirection;\\\\n\\\\n\\\\t\\\\tthis.child = fork(worker, args, options);\\\\n\\\\t\\\\tthis.onerror = undefined;\\\\n\\\\t\\\\tthis.onmessage = undefined;\\\\n\\\\n\\\\t\\\\tthis.child.on(\\\\\\\"error\\\\\\\", function (e) {\\\\n\\\\t\\\\t\\\\tif (_this.onerror) {\\\\n\\\\t\\\\t\\\\t\\\\t_this.onerror.call(_this, e);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\tthis.child.on(\\\\\\\"message\\\\\\\", function (msg) {\\\\n\\\\t\\\\t\\\\tvar message = JSON.parse(msg);\\\\n\\\\t\\\\t\\\\tvar error = void 0;\\\\n\\\\n\\\\t\\\\t\\\\tif (!message.error && _this.onmessage) {\\\\n\\\\t\\\\t\\\\t\\\\t_this.onmessage.call(_this, message);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tif (message.error && _this.onerror) {\\\\n\\\\t\\\\t\\\\t\\\\terror = new Error(message.error);\\\\n\\\\t\\\\t\\\\t\\\\terror.stack = message.stack;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t_this.onerror.call(_this, error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\tthis.child.send({ input: input, isfn: isfn, cwd: options.cwd, esm: options.esm });\\\\n\\\\t}\\\\n\\\\n\\\\t_createClass(Worker, [{\\\\n\\\\t\\\\tkey: \\\\\\\"addEventListener\\\\\\\",\\\\n\\\\t\\\\tvalue: function addEventListener(event, fn) {\\\\n\\\\t\\\\t\\\\tif (events.test(event)) {\\\\n\\\\t\\\\t\\\\t\\\\tthis[\\\\\\\"on\\\\\\\" + event] = fn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}, {\\\\n\\\\t\\\\tkey: \\\\\\\"postMessage\\\\\\\",\\\\n\\\\t\\\\tvalue: function postMessage(msg) {\\\\n\\\\t\\\\t\\\\tthis.child.send(JSON.stringify({ data: msg }, null, 0));\\\\n\\\\t\\\\t}\\\\n\\\\t}, {\\\\n\\\\t\\\\tkey: \\\\\\\"terminate\\\\\\\",\\\\n\\\\t\\\\tvalue: function terminate() {\\\\n\\\\t\\\\t\\\\tthis.child.kill(\\\\\\\"SIGINT\\\\\\\");\\\\n\\\\t\\\\t}\\\\n\\\\t}], [{\\\\n\\\\t\\\\tkey: \\\\\\\"setRange\\\\\\\",\\\\n\\\\t\\\\tvalue: function setRange(min, max) {\\\\n\\\\t\\\\t\\\\tif (min >= max) {\\\\n\\\\t\\\\t\\\\t\\\\treturn false;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\trange.min = min;\\\\n\\\\t\\\\t\\\\trange.max = max;\\\\n\\\\n\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t}\\\\n\\\\t}]);\\\\n\\\\n\\\\treturn Worker;\\\\n}();\\\\n\\\\nmodule.exports = Worker;\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, \\\\\\\"/\\\\\\\"))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/tiny-worker/lib/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/txml/node_modules/through2/through2.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/txml/node_modules/through2/through2.js ***!\\n \\\\*************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"var Transform = __webpack_require__(/*! readable-stream */ \\\\\\\"./node_modules/readable-stream/readable.js\\\\\\\").Transform\\\\n , inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\")\\\\n\\\\nfunction DestroyableTransform(opts) {\\\\n Transform.call(this, opts)\\\\n this._destroyed = false\\\\n}\\\\n\\\\ninherits(DestroyableTransform, Transform)\\\\n\\\\nDestroyableTransform.prototype.destroy = function(err) {\\\\n if (this._destroyed) return\\\\n this._destroyed = true\\\\n \\\\n var self = this\\\\n process.nextTick(function() {\\\\n if (err)\\\\n self.emit('error', err)\\\\n self.emit('close')\\\\n })\\\\n}\\\\n\\\\n// a noop _transform function\\\\nfunction noop (chunk, enc, callback) {\\\\n callback(null, chunk)\\\\n}\\\\n\\\\n\\\\n// create a new export function, used by both the main export and\\\\n// the .ctor export, contains common logic for dealing with arguments\\\\nfunction through2 (construct) {\\\\n return function (options, transform, flush) {\\\\n if (typeof options == 'function') {\\\\n flush = transform\\\\n transform = options\\\\n options = {}\\\\n }\\\\n\\\\n if (typeof transform != 'function')\\\\n transform = noop\\\\n\\\\n if (typeof flush != 'function')\\\\n flush = null\\\\n\\\\n return construct(options, transform, flush)\\\\n }\\\\n}\\\\n\\\\n\\\\n// main export, just make me a transform stream!\\\\nmodule.exports = through2(function (options, transform, flush) {\\\\n var t2 = new DestroyableTransform(options)\\\\n\\\\n t2._transform = transform\\\\n\\\\n if (flush)\\\\n t2._flush = flush\\\\n\\\\n return t2\\\\n})\\\\n\\\\n\\\\n// make me a reusable prototype that I can `new`, or implicitly `new`\\\\n// with a constructor call\\\\nmodule.exports.ctor = through2(function (options, transform, flush) {\\\\n function Through2 (override) {\\\\n if (!(this instanceof Through2))\\\\n return new Through2(override)\\\\n\\\\n this.options = Object.assign({}, options, override)\\\\n\\\\n DestroyableTransform.call(this, this.options)\\\\n }\\\\n\\\\n inherits(Through2, DestroyableTransform)\\\\n\\\\n Through2.prototype._transform = transform\\\\n\\\\n if (flush)\\\\n Through2.prototype._flush = flush\\\\n\\\\n return Through2\\\\n})\\\\n\\\\n\\\\nmodule.exports.obj = through2(function (options, transform, flush) {\\\\n var t2 = new DestroyableTransform(Object.assign({ objectMode: true, highWaterMark: 16 }, options))\\\\n\\\\n t2._transform = transform\\\\n\\\\n if (flush)\\\\n t2._flush = flush\\\\n\\\\n return t2\\\\n})\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/node_modules/through2/through2.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/txml/tXml.js\\\":\\n/*!***********************************!*\\\\\\n !*** ./node_modules/txml/tXml.js ***!\\n \\\\***********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"// ==ClosureCompiler==\\\\n// @output_file_name default.js\\\\n// @compilation_level SIMPLE_OPTIMIZATIONS\\\\n// ==/ClosureCompiler==\\\\n\\\\n/**\\\\n * @author: Tobias Nickel\\\\n * @created: 06.04.2015\\\\n * I needed a small xmlparser chat can be used in a worker.\\\\n */\\\\n\\\\n/**\\\\n * @typedef tNode \\\\n * @property {string} tagName \\\\n * @property {object} [attributes] \\\\n * @property {tNode|string|number[]} children \\\\n **/\\\\n\\\\n/**\\\\n * parseXML / html into a DOM Object. with no validation and some failur tolerance\\\\n * @param {string} S your XML to parse\\\\n * @param options {object} all other options:\\\\n * searchId {string} the id of a single element, that should be returned. using this will increase the speed rapidly\\\\n * filter {function} filter method, as you know it from Array.filter. but is goes throw the DOM.\\\\n\\\\n * @return {tNode[]}\\\\n */\\\\nfunction tXml(S, options) {\\\\n \\\\\\\"use strict\\\\\\\";\\\\n options = options || {};\\\\n\\\\n var pos = options.pos || 0;\\\\n\\\\n var openBracket = \\\\\\\"<\\\\\\\";\\\\n var openBracketCC = \\\\\\\"<\\\\\\\".charCodeAt(0);\\\\n var closeBracket = \\\\\\\">\\\\\\\";\\\\n var closeBracketCC = \\\\\\\">\\\\\\\".charCodeAt(0);\\\\n var minus = \\\\\\\"-\\\\\\\";\\\\n var minusCC = \\\\\\\"-\\\\\\\".charCodeAt(0);\\\\n var slash = \\\\\\\"/\\\\\\\";\\\\n var slashCC = \\\\\\\"/\\\\\\\".charCodeAt(0);\\\\n var exclamation = '!';\\\\n var exclamationCC = '!'.charCodeAt(0);\\\\n var singleQuote = \\\\\\\"'\\\\\\\";\\\\n var singleQuoteCC = \\\\\\\"'\\\\\\\".charCodeAt(0);\\\\n var doubleQuote = '\\\\\\\"';\\\\n var doubleQuoteCC = '\\\\\\\"'.charCodeAt(0);\\\\n\\\\n /**\\\\n * parsing a list of entries\\\\n */\\\\n function parseChildren() {\\\\n var children = [];\\\\n while (S[pos]) {\\\\n if (S.charCodeAt(pos) == openBracketCC) {\\\\n if (S.charCodeAt(pos + 1) === slashCC) {\\\\n pos = S.indexOf(closeBracket, pos);\\\\n if (pos + 1) pos += 1\\\\n return children;\\\\n } else if (S.charCodeAt(pos + 1) === exclamationCC) {\\\\n if (S.charCodeAt(pos + 2) == minusCC) {\\\\n //comment support\\\\n while (pos !== -1 && !(S.charCodeAt(pos) === closeBracketCC && S.charCodeAt(pos - 1) == minusCC && S.charCodeAt(pos - 2) == minusCC && pos != -1)) {\\\\n pos = S.indexOf(closeBracket, pos + 1);\\\\n }\\\\n if (pos === -1) {\\\\n pos = S.length\\\\n }\\\\n } else {\\\\n // doctypesupport\\\\n pos += 2;\\\\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\\\\n pos++;\\\\n }\\\\n }\\\\n pos++;\\\\n continue;\\\\n }\\\\n var node = parseNode();\\\\n children.push(node);\\\\n } else {\\\\n var text = parseText()\\\\n if (text.trim().length > 0)\\\\n children.push(text);\\\\n pos++;\\\\n }\\\\n }\\\\n return children;\\\\n }\\\\n\\\\n /**\\\\n * returns the text outside of texts until the first '<'\\\\n */\\\\n function parseText() {\\\\n var start = pos;\\\\n pos = S.indexOf(openBracket, pos) - 1;\\\\n if (pos === -2)\\\\n pos = S.length;\\\\n return S.slice(start, pos + 1);\\\\n }\\\\n /**\\\\n * returns text until the first nonAlphebetic letter\\\\n */\\\\n var nameSpacer = '\\\\\\\\n\\\\\\\\t>/= ';\\\\n\\\\n function parseName() {\\\\n var start = pos;\\\\n while (nameSpacer.indexOf(S[pos]) === -1 && S[pos]) {\\\\n pos++;\\\\n }\\\\n return S.slice(start, pos);\\\\n }\\\\n /**\\\\n * is parsing a node, including tagName, Attributes and its children,\\\\n * to parse children it uses the parseChildren again, that makes the parsing recursive\\\\n */\\\\n var NoChildNodes = options.noChildNodes || ['img', 'br', 'input', 'meta', 'link'];\\\\n\\\\n function parseNode() {\\\\n pos++;\\\\n const tagName = parseName();\\\\n const attributes = {};\\\\n let children = [];\\\\n\\\\n // parsing attributes\\\\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\\\\n var c = S.charCodeAt(pos);\\\\n if ((c > 64 && c < 91) || (c > 96 && c < 123)) {\\\\n //if('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.indexOf(S[pos])!==-1 ){\\\\n var name = parseName();\\\\n // search beginning of the string\\\\n var code = S.charCodeAt(pos);\\\\n while (code && code !== singleQuoteCC && code !== doubleQuoteCC && !((code > 64 && code < 91) || (code > 96 && code < 123)) && code !== closeBracketCC) {\\\\n pos++;\\\\n code = S.charCodeAt(pos);\\\\n }\\\\n if (code === singleQuoteCC || code === doubleQuoteCC) {\\\\n var value = parseString();\\\\n if (pos === -1) {\\\\n return {\\\\n tagName,\\\\n attributes,\\\\n children,\\\\n };\\\\n }\\\\n } else {\\\\n value = null;\\\\n pos--;\\\\n }\\\\n attributes[name] = value;\\\\n }\\\\n pos++;\\\\n }\\\\n // optional parsing of children\\\\n if (S.charCodeAt(pos - 1) !== slashCC) {\\\\n if (tagName == \\\\\\\"script\\\\\\\") {\\\\n var start = pos + 1;\\\\n pos = S.indexOf('', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 9;\\\\n } else if (tagName == \\\\\\\"style\\\\\\\") {\\\\n var start = pos + 1;\\\\n pos = S.indexOf('', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 8;\\\\n } else if (NoChildNodes.indexOf(tagName) == -1) {\\\\n pos++;\\\\n children = parseChildren(name);\\\\n }\\\\n } else {\\\\n pos++;\\\\n }\\\\n return {\\\\n tagName,\\\\n attributes,\\\\n children,\\\\n };\\\\n }\\\\n\\\\n /**\\\\n * is parsing a string, that starts with a char and with the same usually ' or \\\\\\\"\\\\n */\\\\n\\\\n function parseString() {\\\\n var startChar = S[pos];\\\\n var startpos = ++pos;\\\\n pos = S.indexOf(startChar, startpos)\\\\n return S.slice(startpos, pos);\\\\n }\\\\n\\\\n /**\\\\n *\\\\n */\\\\n function findElements() {\\\\n var r = new RegExp('\\\\\\\\\\\\\\\\s' + options.attrName + '\\\\\\\\\\\\\\\\s*=[\\\\\\\\'\\\\\\\"]' + options.attrValue + '[\\\\\\\\'\\\\\\\"]').exec(S)\\\\n if (r) {\\\\n return r.index;\\\\n } else {\\\\n return -1;\\\\n }\\\\n }\\\\n\\\\n var out = null;\\\\n if (options.attrValue !== undefined) {\\\\n options.attrName = options.attrName || 'id';\\\\n var out = [];\\\\n\\\\n while ((pos = findElements()) !== -1) {\\\\n pos = S.lastIndexOf('<', pos);\\\\n if (pos !== -1) {\\\\n out.push(parseNode());\\\\n }\\\\n S = S.substr(pos);\\\\n pos = 0;\\\\n }\\\\n } else if (options.parseNode) {\\\\n out = parseNode()\\\\n } else {\\\\n out = parseChildren();\\\\n }\\\\n\\\\n if (options.filter) {\\\\n out = tXml.filter(out, options.filter);\\\\n }\\\\n\\\\n if (options.setPos) {\\\\n out.pos = pos;\\\\n }\\\\n\\\\n return out;\\\\n}\\\\n\\\\n/**\\\\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\\\\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\\\\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\\\\n * therefore your programm will be more flexible and easyer to read.\\\\n *\\\\n * @param {tNode[]} children the childrenList\\\\n */\\\\ntXml.simplify = function simplify(children) {\\\\n var out = {};\\\\n if (!children.length) {\\\\n return '';\\\\n }\\\\n\\\\n if (children.length === 1 && typeof children[0] == 'string') {\\\\n return children[0];\\\\n }\\\\n // map each object\\\\n children.forEach(function(child) {\\\\n if (typeof child !== 'object') {\\\\n return;\\\\n }\\\\n if (!out[child.tagName])\\\\n out[child.tagName] = [];\\\\n var kids = tXml.simplify(child.children||[]);\\\\n out[child.tagName].push(kids);\\\\n if (child.attributes) {\\\\n kids._attributes = child.attributes;\\\\n }\\\\n });\\\\n\\\\n for (var i in out) {\\\\n if (out[i].length == 1) {\\\\n out[i] = out[i][0];\\\\n }\\\\n }\\\\n\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\\\\n * @params children{Array} the children of a node\\\\n * @param f{function} the filter method\\\\n */\\\\ntXml.filter = function(children, f) {\\\\n var out = [];\\\\n children.forEach(function(child) {\\\\n if (typeof(child) === 'object' && f(child)) out.push(child);\\\\n if (child.children) {\\\\n var kids = tXml.filter(child.children, f);\\\\n out = out.concat(kids);\\\\n }\\\\n });\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * stringify a previously parsed string object.\\\\n * this is useful,\\\\n * 1. to remove whitespaces\\\\n * 2. to recreate xml data, with some changed data.\\\\n * @param {tNode} O the object to Stringify\\\\n */\\\\ntXml.stringify = function TOMObjToXML(O) {\\\\n var out = '';\\\\n\\\\n function writeChildren(O) {\\\\n if (O)\\\\n for (var i = 0; i < O.length; i++) {\\\\n if (typeof O[i] == 'string') {\\\\n out += O[i].trim();\\\\n } else {\\\\n writeNode(O[i]);\\\\n }\\\\n }\\\\n }\\\\n\\\\n function writeNode(N) {\\\\n out += \\\\\\\"<\\\\\\\" + N.tagName;\\\\n for (var i in N.attributes) {\\\\n if (N.attributes[i] === null) {\\\\n out += ' ' + i;\\\\n } else if (N.attributes[i].indexOf('\\\\\\\"') === -1) {\\\\n out += ' ' + i + '=\\\\\\\"' + N.attributes[i].trim() + '\\\\\\\"';\\\\n } else {\\\\n out += ' ' + i + \\\\\\\"='\\\\\\\" + N.attributes[i].trim() + \\\\\\\"'\\\\\\\";\\\\n }\\\\n }\\\\n out += '>';\\\\n writeChildren(N.children);\\\\n out += '';\\\\n }\\\\n writeChildren(O);\\\\n\\\\n return out;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * use this method to read the textcontent, of some node.\\\\n * It is great if you have mixed content like:\\\\n * this text has some big text and a link\\\\n * @return {string}\\\\n */\\\\ntXml.toContentString = function(tDom) {\\\\n if (Array.isArray(tDom)) {\\\\n var out = '';\\\\n tDom.forEach(function(e) {\\\\n out += ' ' + tXml.toContentString(e);\\\\n out = out.trim();\\\\n });\\\\n return out;\\\\n } else if (typeof tDom === 'object') {\\\\n return tXml.toContentString(tDom.children)\\\\n } else {\\\\n return ' ' + tDom;\\\\n }\\\\n};\\\\n\\\\ntXml.getElementById = function(S, id, simplified) {\\\\n var out = tXml(S, {\\\\n attrValue: id\\\\n });\\\\n return simplified ? tXml.simplify(out) : out[0];\\\\n};\\\\n/**\\\\n * A fast parsing method, that not realy finds by classname,\\\\n * more: the class attribute contains XXX\\\\n * @param\\\\n */\\\\ntXml.getElementsByClassName = function(S, classname, simplified) {\\\\n const out = tXml(S, {\\\\n attrName: 'class',\\\\n attrValue: '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*' + classname + '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*'\\\\n });\\\\n return simplified ? tXml.simplify(out) : out;\\\\n};\\\\n\\\\ntXml.parseStream = function(stream, offset) {\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n if (typeof stream === 'string') {\\\\n var fs = __webpack_require__(/*! fs */ \\\\\\\"fs\\\\\\\");\\\\n stream = fs.createReadStream(stream, { start: offset });\\\\n offset = 0;\\\\n }\\\\n\\\\n var position = offset;\\\\n var data = '';\\\\n stream.on('data', function(chunk) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if(!position) {\\\\n position = lastPos;\\\\n return;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return;\\\\n } else {\\\\n stream.emit('xml', res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n });\\\\n stream.on('end', function() {\\\\n console.log('end')\\\\n });\\\\n return stream;\\\\n}\\\\n\\\\ntXml.transformStream = function (offset) {\\\\n // require through here, so it will not get added to webpack/browserify\\\\n const through2 = __webpack_require__(/*! through2 */ \\\\\\\"./node_modules/txml/node_modules/through2/through2.js\\\\\\\");\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n\\\\n var position = offset || 0;\\\\n var data = '';\\\\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if (!position) {\\\\n position = lastPos;\\\\n return callback();;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return callback();;\\\\n } else {\\\\n this.push(res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n callback();\\\\n });\\\\n\\\\n return stream;\\\\n}\\\\n\\\\nif (true) {\\\\n module.exports = tXml;\\\\n tXml.xml = tXml;\\\\n}\\\\n//console.clear();\\\\n//console.log('here:',tXml.getElementById('dadavalue','test'));\\\\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\\\\n\\\\n/*\\\\nconsole.clear();\\\\ntXml(d,'content');\\\\n //some testCode\\\\nvar s = document.body.innerHTML.toLowerCase();\\\\nvar start = new Date().getTime();\\\\nvar o = tXml(s,'content');\\\\nvar end = new Date().getTime();\\\\n//console.log(JSON.stringify(o,undefined,'\\\\\\\\t'));\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end-start);\\\\nvar nodeCount=document.querySelectorAll('*').length;\\\\nconsole.log('node count',nodeCount);\\\\nconsole.log(\\\\\\\"speed:\\\\\\\",(1000/(end-start))*nodeCount,'Nodes / second')\\\\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\\\\\\\t'));\\\\nvar p = new DOMParser();\\\\nvar s2=''+s+''\\\\nvar start2= new Date().getTime();\\\\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\\\\nvar end2=new Date().getTime();\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end2-start2);\\\\n// */\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/util-deprecate/node.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/util-deprecate/node.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"\\\\n/**\\\\n * For Node.js, simply re-export the core `util.deprecate` function.\\\\n */\\\\n\\\\nmodule.exports = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\").deprecate;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/util-deprecate/node.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/worker-loader/dist/workers/InlineWorker.js\\\":\\n/*!*****************************************************************!*\\\\\\n !*** ./node_modules/worker-loader/dist/workers/InlineWorker.js ***!\\n \\\\*****************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// http://stackoverflow.com/questions/10343913/how-to-create-a-web-worker-from-a-string\\\\n\\\\nvar URL = window.URL || window.webkitURL;\\\\n\\\\nmodule.exports = function (content, url) {\\\\n try {\\\\n try {\\\\n var blob;\\\\n\\\\n try {\\\\n // BlobBuilder = Deprecated, but widely implemented\\\\n var BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder;\\\\n\\\\n blob = new BlobBuilder();\\\\n\\\\n blob.append(content);\\\\n\\\\n blob = blob.getBlob();\\\\n } catch (e) {\\\\n // The proposed API\\\\n blob = new Blob([content]);\\\\n }\\\\n\\\\n return new Worker(URL.createObjectURL(blob));\\\\n } catch (e) {\\\\n return new Worker('data:application/javascript,' + encodeURIComponent(content));\\\\n }\\\\n } catch (e) {\\\\n if (!url) {\\\\n throw Error('Inline worker is not supported');\\\\n }\\\\n\\\\n return new Worker(url);\\\\n }\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/worker-loader/dist/workers/InlineWorker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/parseData.js\\\":\\n/*!**************************!*\\\\\\n !*** ./src/parseData.js ***!\\n \\\\**************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nObject.defineProperty(exports, \\\\\\\"__esModule\\\\\\\", {\\\\n value: true\\\\n});\\\\n\\\\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\\\\\\\"return\\\\\\\"]) _i[\\\\\\\"return\\\\\\\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\\\\\\\"Invalid attempt to destructure non-iterable instance\\\\\\\"); } }; }();\\\\n\\\\nvar _typeof = typeof Symbol === \\\\\\\"function\\\\\\\" && typeof Symbol.iterator === \\\\\\\"symbol\\\\\\\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \\\\\\\"function\\\\\\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\\\\\\"symbol\\\\\\\" : typeof obj; };\\\\n\\\\nexports.default = parseData;\\\\n\\\\nvar _geotiff = __webpack_require__(/*! geotiff */ \\\\\\\"./node_modules/geotiff/src/geotiff.js\\\\\\\");\\\\n\\\\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \\\\\\\"./node_modules/geotiff-palette/index.js\\\\\\\");\\\\n\\\\nvar _utils = __webpack_require__(/*! ./utils.js */ \\\\\\\"./src/utils.js\\\\\\\");\\\\n\\\\nfunction processResult(result, debug) {\\\\n var noDataValue = result.noDataValue;\\\\n var height = result.height;\\\\n var width = result.width;\\\\n\\\\n return new Promise(function (resolve, reject) {\\\\n result.maxs = [];\\\\n result.mins = [];\\\\n result.ranges = [];\\\\n\\\\n var max = void 0;var min = void 0;\\\\n\\\\n // console.log(\\\\\\\"starting to get min, max and ranges\\\\\\\");\\\\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\\\\n var rows = result.values[rasterIndex];\\\\n if (debug) console.log('[georaster] rows:', rows);\\\\n\\\\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\\\\n var row = rows[rowIndex];\\\\n\\\\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\\\\n var value = row[columnIndex];\\\\n if (value != noDataValue && !isNaN(value)) {\\\\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\\\\n }\\\\n }\\\\n }\\\\n\\\\n result.maxs.push(max);\\\\n result.mins.push(min);\\\\n result.ranges.push(max - min);\\\\n }\\\\n\\\\n resolve(result);\\\\n });\\\\n}\\\\n\\\\n/* We're not using async because trying to avoid dependency on babel's polyfill\\\\nThere can be conflicts when GeoRaster is used in another project that is also\\\\nusing @babel/polyfill */\\\\nfunction parseData(data, debug) {\\\\n return new Promise(function (resolve, reject) {\\\\n try {\\\\n if (debug) console.log('starting parseData with', data);\\\\n if (debug) console.log('\\\\\\\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\\\\n\\\\n var result = {};\\\\n\\\\n var height = void 0,\\\\n width = void 0;\\\\n\\\\n if (data.rasterType === 'object') {\\\\n result.values = data.data;\\\\n result.height = height = data.metadata.height || result.values[0].length;\\\\n result.width = width = data.metadata.width || result.values[0][0].length;\\\\n result.pixelHeight = data.metadata.pixelHeight;\\\\n result.pixelWidth = data.metadata.pixelWidth;\\\\n result.projection = data.metadata.projection;\\\\n result.xmin = data.metadata.xmin;\\\\n result.ymax = data.metadata.ymax;\\\\n result.noDataValue = data.metadata.noDataValue;\\\\n result.numberOfRasters = result.values.length;\\\\n result.xmax = result.xmin + result.width * result.pixelWidth;\\\\n result.ymin = result.ymax - result.height * result.pixelHeight;\\\\n result._data = null;\\\\n resolve(processResult(result));\\\\n } else if (data.rasterType === 'geotiff') {\\\\n result._data = data.data;\\\\n\\\\n var initFunction = _geotiff.fromArrayBuffer;\\\\n if (data.sourceType === 'url') {\\\\n initFunction = _geotiff.fromUrl;\\\\n }\\\\n\\\\n if (debug) console.log('data.rasterType is geotiff');\\\\n resolve(initFunction(data.data).then(function (geotiff) {\\\\n if (debug) console.log('geotiff:', geotiff);\\\\n return geotiff.getImage().then(function (image) {\\\\n try {\\\\n if (debug) console.log('image:', image);\\\\n\\\\n var fileDirectory = image.fileDirectory;\\\\n\\\\n var _image$getGeoKeys = image.getGeoKeys(),\\\\n GeographicTypeGeoKey = _image$getGeoKeys.GeographicTypeGeoKey,\\\\n ProjectedCSTypeGeoKey = _image$getGeoKeys.ProjectedCSTypeGeoKey;\\\\n\\\\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey;\\\\n if (debug) console.log('projection:', result.projection);\\\\n\\\\n result.height = height = image.getHeight();\\\\n if (debug) console.log('result.height:', result.height);\\\\n result.width = width = image.getWidth();\\\\n if (debug) console.log('result.width:', result.width);\\\\n\\\\n var _image$getResolution = image.getResolution(),\\\\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\\\\n resolutionX = _image$getResolution2[0],\\\\n resolutionY = _image$getResolution2[1];\\\\n\\\\n result.pixelHeight = Math.abs(resolutionY);\\\\n result.pixelWidth = Math.abs(resolutionX);\\\\n\\\\n var _image$getOrigin = image.getOrigin(),\\\\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\\\\n originX = _image$getOrigin2[0],\\\\n originY = _image$getOrigin2[1];\\\\n\\\\n result.xmin = originX;\\\\n result.xmax = result.xmin + width * result.pixelWidth;\\\\n result.ymax = originY;\\\\n result.ymin = result.ymax - height * result.pixelHeight;\\\\n\\\\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\\\\n\\\\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\\\\n\\\\n if (fileDirectory.ColorMap) {\\\\n result.palette = (0, _geotiffPalette.getPalette)(image);\\\\n }\\\\n\\\\n if (data.sourceType !== 'url') {\\\\n return image.readRasters().then(function (rasters) {\\\\n result.values = rasters.map(function (valuesInOneDimension) {\\\\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\\\\n });\\\\n return processResult(result);\\\\n });\\\\n } else {\\\\n return result;\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n }));\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/utils.js\\\":\\n/*!**********************!*\\\\\\n !*** ./src/utils.js ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction countIn1D(array) {\\\\n return array.reduce(function (counts, value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\nfunction countIn2D(rows) {\\\\n return rows.reduce(function (counts, values) {\\\\n values.forEach(function (value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n });\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\n/*\\\\nTakes in a flattened one dimensional array\\\\nrepresenting two-dimensional pixel values\\\\nand returns an array of arrays.\\\\n*/\\\\nfunction unflatten(valuesInOneDimension, size) {\\\\n var height = size.height,\\\\n width = size.width;\\\\n\\\\n var valuesInTwoDimensions = [];\\\\n for (var y = 0; y < height; y++) {\\\\n var start = y * width;\\\\n var end = start + width;\\\\n valuesInTwoDimensions.push(valuesInOneDimension.slice(start, end));\\\\n }\\\\n return valuesInTwoDimensions;\\\\n}\\\\n\\\\nmodule.exports = { countIn1D: countIn1D, countIn2D: countIn2D, unflatten: unflatten };\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/worker.js\\\":\\n/*!***********************!*\\\\\\n !*** ./src/worker.js ***!\\n \\\\***********************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parseData.js */ \\\\\\\"./src/parseData.js\\\\\\\");\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_parseData_js__WEBPACK_IMPORTED_MODULE_0__);\\\\n\\\\n\\\\n// this is a bit of a hack to trick geotiff to work with web worker\\\\n// eslint-disable-next-line no-unused-vars\\\\nconst window = self;\\\\n\\\\nonmessage = e => {\\\\n const data = e.data;\\\\n _parseData_js__WEBPACK_IMPORTED_MODULE_0___default()(data).then(result => {\\\\n if (result._data instanceof ArrayBuffer) {\\\\n postMessage(result, [result._data]);\\\\n } else {\\\\n postMessage(result);\\\\n }\\\\n close();\\\\n });\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/worker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"buffer\\\":\\n/*!*************************!*\\\\\\n !*** external \\\"buffer\\\" ***!\\n \\\\*************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"buffer\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22buffer%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"child_process\\\":\\n/*!********************************!*\\\\\\n !*** external \\\"child_process\\\" ***!\\n \\\\********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"child_process\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22child_process%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"events\\\":\\n/*!*************************!*\\\\\\n !*** external \\\"events\\\" ***!\\n \\\\*************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"events\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22events%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"fs\\\":\\n/*!*********************!*\\\\\\n !*** external \\\"fs\\\" ***!\\n \\\\*********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"fs\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22fs%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"http\\\":\\n/*!***********************!*\\\\\\n !*** external \\\"http\\\" ***!\\n \\\\***********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"http\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22http%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"https\\\":\\n/*!************************!*\\\\\\n !*** external \\\"https\\\" ***!\\n \\\\************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"https\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22https%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"os\\\":\\n/*!*********************!*\\\\\\n !*** external \\\"os\\\" ***!\\n \\\\*********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"os\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22os%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"path\\\":\\n/*!***********************!*\\\\\\n !*** external \\\"path\\\" ***!\\n \\\\***********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"path\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22path%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"stream\\\":\\n/*!*************************!*\\\\\\n !*** external \\\"stream\\\" ***!\\n \\\\*************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"stream\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22stream%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"tty\\\":\\n/*!**********************!*\\\\\\n !*** external \\\"tty\\\" ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"tty\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22tty%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"url\\\":\\n/*!**********************!*\\\\\\n !*** external \\\"url\\\" ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"url\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22url%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"util\\\":\\n/*!***********************!*\\\\\\n !*** external \\\"util\\\" ***!\\n \\\\***********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"util\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22util%22?\\\");\\n\\n/***/ })\\n\\n/******/ });\",null);};\n\n//# sourceURL=webpack://GeoRaster/./src/worker.js?"); +eval("module.exports=function(){return __webpack_require__(/*! !./node_modules/worker-loader/dist/workers/InlineWorker.js */ \"./node_modules/worker-loader/dist/workers/InlineWorker.js\")(\"/******/ (function(modules) { // webpackBootstrap\\n/******/ \\t// The module cache\\n/******/ \\tvar installedModules = {};\\n/******/\\n/******/ \\t// The require function\\n/******/ \\tfunction __webpack_require__(moduleId) {\\n/******/\\n/******/ \\t\\t// Check if module is in cache\\n/******/ \\t\\tif(installedModules[moduleId]) {\\n/******/ \\t\\t\\treturn installedModules[moduleId].exports;\\n/******/ \\t\\t}\\n/******/ \\t\\t// Create a new module (and put it into the cache)\\n/******/ \\t\\tvar module = installedModules[moduleId] = {\\n/******/ \\t\\t\\ti: moduleId,\\n/******/ \\t\\t\\tl: false,\\n/******/ \\t\\t\\texports: {}\\n/******/ \\t\\t};\\n/******/\\n/******/ \\t\\t// Execute the module function\\n/******/ \\t\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\n/******/\\n/******/ \\t\\t// Flag the module as loaded\\n/******/ \\t\\tmodule.l = true;\\n/******/\\n/******/ \\t\\t// Return the exports of the module\\n/******/ \\t\\treturn module.exports;\\n/******/ \\t}\\n/******/\\n/******/\\n/******/ \\t// expose the modules object (__webpack_modules__)\\n/******/ \\t__webpack_require__.m = modules;\\n/******/\\n/******/ \\t// expose the module cache\\n/******/ \\t__webpack_require__.c = installedModules;\\n/******/\\n/******/ \\t// define getter function for harmony exports\\n/******/ \\t__webpack_require__.d = function(exports, name, getter) {\\n/******/ \\t\\tif(!__webpack_require__.o(exports, name)) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\n/******/ \\t\\t}\\n/******/ \\t};\\n/******/\\n/******/ \\t// define __esModule on exports\\n/******/ \\t__webpack_require__.r = function(exports) {\\n/******/ \\t\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\n/******/ \\t\\t\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\n/******/ \\t\\t}\\n/******/ \\t\\tObject.defineProperty(exports, '__esModule', { value: true });\\n/******/ \\t};\\n/******/\\n/******/ \\t// create a fake namespace object\\n/******/ \\t// mode & 1: value is a module id, require it\\n/******/ \\t// mode & 2: merge all properties of value into the ns\\n/******/ \\t// mode & 4: return value when already ns object\\n/******/ \\t// mode & 8|1: behave like require\\n/******/ \\t__webpack_require__.t = function(value, mode) {\\n/******/ \\t\\tif(mode & 1) value = __webpack_require__(value);\\n/******/ \\t\\tif(mode & 8) return value;\\n/******/ \\t\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\n/******/ \\t\\tvar ns = Object.create(null);\\n/******/ \\t\\t__webpack_require__.r(ns);\\n/******/ \\t\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\n/******/ \\t\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\n/******/ \\t\\treturn ns;\\n/******/ \\t};\\n/******/\\n/******/ \\t// getDefaultExport function for compatibility with non-harmony modules\\n/******/ \\t__webpack_require__.n = function(module) {\\n/******/ \\t\\tvar getter = module && module.__esModule ?\\n/******/ \\t\\t\\tfunction getDefault() { return module['default']; } :\\n/******/ \\t\\t\\tfunction getModuleExports() { return module; };\\n/******/ \\t\\t__webpack_require__.d(getter, 'a', getter);\\n/******/ \\t\\treturn getter;\\n/******/ \\t};\\n/******/\\n/******/ \\t// Object.prototype.hasOwnProperty.call\\n/******/ \\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\n/******/\\n/******/ \\t// __webpack_public_path__\\n/******/ \\t__webpack_require__.p = \\\"\\\";\\n/******/\\n/******/\\n/******/ \\t// Load entry module and return exports\\n/******/ \\treturn __webpack_require__(__webpack_require__.s = \\\"./src/worker.js\\\");\\n/******/ })\\n/************************************************************************/\\n/******/ ({\\n\\n/***/ \\\"./node_modules/callsites/index.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/callsites/index.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nconst callsites = () => {\\\\n\\\\tconst _prepareStackTrace = Error.prepareStackTrace;\\\\n\\\\tError.prepareStackTrace = (_, stack) => stack;\\\\n\\\\tconst stack = new Error().stack.slice(1);\\\\n\\\\tError.prepareStackTrace = _prepareStackTrace;\\\\n\\\\treturn stack;\\\\n};\\\\n\\\\nmodule.exports = callsites;\\\\n// TODO: Remove this for the next major release\\\\nmodule.exports.default = callsites;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/callsites/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/debug/src/browser.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/debug/src/browser.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/* eslint-env browser */\\\\n\\\\n/**\\\\n * This is the web browser implementation of `debug()`.\\\\n */\\\\n\\\\nexports.formatArgs = formatArgs;\\\\nexports.save = save;\\\\nexports.load = load;\\\\nexports.useColors = useColors;\\\\nexports.storage = localstorage();\\\\nexports.destroy = (() => {\\\\n\\\\tlet warned = false;\\\\n\\\\n\\\\treturn () => {\\\\n\\\\t\\\\tif (!warned) {\\\\n\\\\t\\\\t\\\\twarned = true;\\\\n\\\\t\\\\t\\\\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\\\\n\\\\t\\\\t}\\\\n\\\\t};\\\\n})();\\\\n\\\\n/**\\\\n * Colors.\\\\n */\\\\n\\\\nexports.colors = [\\\\n\\\\t'#0000CC',\\\\n\\\\t'#0000FF',\\\\n\\\\t'#0033CC',\\\\n\\\\t'#0033FF',\\\\n\\\\t'#0066CC',\\\\n\\\\t'#0066FF',\\\\n\\\\t'#0099CC',\\\\n\\\\t'#0099FF',\\\\n\\\\t'#00CC00',\\\\n\\\\t'#00CC33',\\\\n\\\\t'#00CC66',\\\\n\\\\t'#00CC99',\\\\n\\\\t'#00CCCC',\\\\n\\\\t'#00CCFF',\\\\n\\\\t'#3300CC',\\\\n\\\\t'#3300FF',\\\\n\\\\t'#3333CC',\\\\n\\\\t'#3333FF',\\\\n\\\\t'#3366CC',\\\\n\\\\t'#3366FF',\\\\n\\\\t'#3399CC',\\\\n\\\\t'#3399FF',\\\\n\\\\t'#33CC00',\\\\n\\\\t'#33CC33',\\\\n\\\\t'#33CC66',\\\\n\\\\t'#33CC99',\\\\n\\\\t'#33CCCC',\\\\n\\\\t'#33CCFF',\\\\n\\\\t'#6600CC',\\\\n\\\\t'#6600FF',\\\\n\\\\t'#6633CC',\\\\n\\\\t'#6633FF',\\\\n\\\\t'#66CC00',\\\\n\\\\t'#66CC33',\\\\n\\\\t'#9900CC',\\\\n\\\\t'#9900FF',\\\\n\\\\t'#9933CC',\\\\n\\\\t'#9933FF',\\\\n\\\\t'#99CC00',\\\\n\\\\t'#99CC33',\\\\n\\\\t'#CC0000',\\\\n\\\\t'#CC0033',\\\\n\\\\t'#CC0066',\\\\n\\\\t'#CC0099',\\\\n\\\\t'#CC00CC',\\\\n\\\\t'#CC00FF',\\\\n\\\\t'#CC3300',\\\\n\\\\t'#CC3333',\\\\n\\\\t'#CC3366',\\\\n\\\\t'#CC3399',\\\\n\\\\t'#CC33CC',\\\\n\\\\t'#CC33FF',\\\\n\\\\t'#CC6600',\\\\n\\\\t'#CC6633',\\\\n\\\\t'#CC9900',\\\\n\\\\t'#CC9933',\\\\n\\\\t'#CCCC00',\\\\n\\\\t'#CCCC33',\\\\n\\\\t'#FF0000',\\\\n\\\\t'#FF0033',\\\\n\\\\t'#FF0066',\\\\n\\\\t'#FF0099',\\\\n\\\\t'#FF00CC',\\\\n\\\\t'#FF00FF',\\\\n\\\\t'#FF3300',\\\\n\\\\t'#FF3333',\\\\n\\\\t'#FF3366',\\\\n\\\\t'#FF3399',\\\\n\\\\t'#FF33CC',\\\\n\\\\t'#FF33FF',\\\\n\\\\t'#FF6600',\\\\n\\\\t'#FF6633',\\\\n\\\\t'#FF9900',\\\\n\\\\t'#FF9933',\\\\n\\\\t'#FFCC00',\\\\n\\\\t'#FFCC33'\\\\n];\\\\n\\\\n/**\\\\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\\\\n * and the Firebug extension (any Firefox version) are known\\\\n * to support \\\\\\\"%c\\\\\\\" CSS customizations.\\\\n *\\\\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\\\\n */\\\\n\\\\n// eslint-disable-next-line complexity\\\\nfunction useColors() {\\\\n\\\\t// NB: In an Electron preload script, document will be defined but not fully\\\\n\\\\t// initialized. Since we know we're in Chrome, we'll just detect this case\\\\n\\\\t// explicitly\\\\n\\\\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\t// Internet Explorer and Edge do not support colors.\\\\n\\\\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\\\\\\\/(\\\\\\\\d+)/)) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t// Is webkit? http://stackoverflow.com/a/16459606/376773\\\\n\\\\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\\\\n\\\\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\\\\n\\\\t\\\\t// Is firebug? http://stackoverflow.com/a/398120/376773\\\\n\\\\t\\\\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\\\\n\\\\t\\\\t// Is firefox >= v31?\\\\n\\\\t\\\\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\\\\n\\\\t\\\\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\\\\\\\/(\\\\\\\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\\\\n\\\\t\\\\t// Double check webkit in userAgent just in case we are in a worker\\\\n\\\\t\\\\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\\\\\\\/(\\\\\\\\d+)/));\\\\n}\\\\n\\\\n/**\\\\n * Colorize log arguments if enabled.\\\\n *\\\\n * @api public\\\\n */\\\\n\\\\nfunction formatArgs(args) {\\\\n\\\\targs[0] = (this.useColors ? '%c' : '') +\\\\n\\\\t\\\\tthis.namespace +\\\\n\\\\t\\\\t(this.useColors ? ' %c' : ' ') +\\\\n\\\\t\\\\targs[0] +\\\\n\\\\t\\\\t(this.useColors ? '%c ' : ' ') +\\\\n\\\\t\\\\t'+' + module.exports.humanize(this.diff);\\\\n\\\\n\\\\tif (!this.useColors) {\\\\n\\\\t\\\\treturn;\\\\n\\\\t}\\\\n\\\\n\\\\tconst c = 'color: ' + this.color;\\\\n\\\\targs.splice(1, 0, c, 'color: inherit');\\\\n\\\\n\\\\t// The final \\\\\\\"%c\\\\\\\" is somewhat tricky, because there could be other\\\\n\\\\t// arguments passed either before or after the %c, so we need to\\\\n\\\\t// figure out the correct index to insert the CSS into\\\\n\\\\tlet index = 0;\\\\n\\\\tlet lastC = 0;\\\\n\\\\targs[0].replace(/%[a-zA-Z%]/g, match => {\\\\n\\\\t\\\\tif (match === '%%') {\\\\n\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\tindex++;\\\\n\\\\t\\\\tif (match === '%c') {\\\\n\\\\t\\\\t\\\\t// We only are interested in the *last* %c\\\\n\\\\t\\\\t\\\\t// (the user may have provided their own)\\\\n\\\\t\\\\t\\\\tlastC = index;\\\\n\\\\t\\\\t}\\\\n\\\\t});\\\\n\\\\n\\\\targs.splice(lastC, 0, c);\\\\n}\\\\n\\\\n/**\\\\n * Invokes `console.debug()` when available.\\\\n * No-op when `console.debug` is not a \\\\\\\"function\\\\\\\".\\\\n * If `console.debug` is not available, falls back\\\\n * to `console.log`.\\\\n *\\\\n * @api public\\\\n */\\\\nexports.log = console.debug || console.log || (() => {});\\\\n\\\\n/**\\\\n * Save `namespaces`.\\\\n *\\\\n * @param {String} namespaces\\\\n * @api private\\\\n */\\\\nfunction save(namespaces) {\\\\n\\\\ttry {\\\\n\\\\t\\\\tif (namespaces) {\\\\n\\\\t\\\\t\\\\texports.storage.setItem('debug', namespaces);\\\\n\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\texports.storage.removeItem('debug');\\\\n\\\\t\\\\t}\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n}\\\\n\\\\n/**\\\\n * Load `namespaces`.\\\\n *\\\\n * @return {String} returns the previously persisted debug modes\\\\n * @api private\\\\n */\\\\nfunction load() {\\\\n\\\\tlet r;\\\\n\\\\ttry {\\\\n\\\\t\\\\tr = exports.storage.getItem('debug');\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n\\\\n\\\\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\\\\n\\\\tif (!r && typeof process !== 'undefined' && 'env' in process) {\\\\n\\\\t\\\\tr = process.env.DEBUG;\\\\n\\\\t}\\\\n\\\\n\\\\treturn r;\\\\n}\\\\n\\\\n/**\\\\n * Localstorage attempts to return the localstorage.\\\\n *\\\\n * This is necessary because safari throws\\\\n * when a user disables cookies/localstorage\\\\n * and you attempt to access it.\\\\n *\\\\n * @return {LocalStorage}\\\\n * @api private\\\\n */\\\\n\\\\nfunction localstorage() {\\\\n\\\\ttry {\\\\n\\\\t\\\\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\\\\n\\\\t\\\\t// The Browser also has localStorage in the global context.\\\\n\\\\t\\\\treturn localStorage;\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\t// Swallow\\\\n\\\\t\\\\t// XXX (@Qix-) should we be logging these?\\\\n\\\\t}\\\\n}\\\\n\\\\nmodule.exports = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/debug/src/common.js\\\\\\\")(exports);\\\\n\\\\nconst {formatters} = module.exports;\\\\n\\\\n/**\\\\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\\\\n */\\\\n\\\\nformatters.j = function (v) {\\\\n\\\\ttry {\\\\n\\\\t\\\\treturn JSON.stringify(v);\\\\n\\\\t} catch (error) {\\\\n\\\\t\\\\treturn '[UnexpectedJSONParseError]: ' + error.message;\\\\n\\\\t}\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/debug/src/common.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/debug/src/common.js ***!\\n \\\\******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"\\\\n/**\\\\n * This is the common logic for both the Node.js and web browser\\\\n * implementations of `debug()`.\\\\n */\\\\n\\\\nfunction setup(env) {\\\\n\\\\tcreateDebug.debug = createDebug;\\\\n\\\\tcreateDebug.default = createDebug;\\\\n\\\\tcreateDebug.coerce = coerce;\\\\n\\\\tcreateDebug.disable = disable;\\\\n\\\\tcreateDebug.enable = enable;\\\\n\\\\tcreateDebug.enabled = enabled;\\\\n\\\\tcreateDebug.humanize = __webpack_require__(/*! ms */ \\\\\\\"./node_modules/ms/index.js\\\\\\\");\\\\n\\\\tcreateDebug.destroy = destroy;\\\\n\\\\n\\\\tObject.keys(env).forEach(key => {\\\\n\\\\t\\\\tcreateDebug[key] = env[key];\\\\n\\\\t});\\\\n\\\\n\\\\t/**\\\\n\\\\t* The currently active debug mode names, and names to skip.\\\\n\\\\t*/\\\\n\\\\n\\\\tcreateDebug.names = [];\\\\n\\\\tcreateDebug.skips = [];\\\\n\\\\n\\\\t/**\\\\n\\\\t* Map of special \\\\\\\"%n\\\\\\\" handling functions, for the debug \\\\\\\"format\\\\\\\" argument.\\\\n\\\\t*\\\\n\\\\t* Valid key names are a single, lower or upper-case letter, i.e. \\\\\\\"n\\\\\\\" and \\\\\\\"N\\\\\\\".\\\\n\\\\t*/\\\\n\\\\tcreateDebug.formatters = {};\\\\n\\\\n\\\\t/**\\\\n\\\\t* Selects a color for a debug namespace\\\\n\\\\t* @param {String} namespace The namespace string for the debug instance to be colored\\\\n\\\\t* @return {Number|String} An ANSI color code for the given namespace\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction selectColor(namespace) {\\\\n\\\\t\\\\tlet hash = 0;\\\\n\\\\n\\\\t\\\\tfor (let i = 0; i < namespace.length; i++) {\\\\n\\\\t\\\\t\\\\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\\\\n\\\\t\\\\t\\\\thash |= 0; // Convert to 32bit integer\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\\\\n\\\\t}\\\\n\\\\tcreateDebug.selectColor = selectColor;\\\\n\\\\n\\\\t/**\\\\n\\\\t* Create a debugger with the given `namespace`.\\\\n\\\\t*\\\\n\\\\t* @param {String} namespace\\\\n\\\\t* @return {Function}\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction createDebug(namespace) {\\\\n\\\\t\\\\tlet prevTime;\\\\n\\\\t\\\\tlet enableOverride = null;\\\\n\\\\t\\\\tlet namespacesCache;\\\\n\\\\t\\\\tlet enabledCache;\\\\n\\\\n\\\\t\\\\tfunction debug(...args) {\\\\n\\\\t\\\\t\\\\t// Disabled?\\\\n\\\\t\\\\t\\\\tif (!debug.enabled) {\\\\n\\\\t\\\\t\\\\t\\\\treturn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tconst self = debug;\\\\n\\\\n\\\\t\\\\t\\\\t// Set `diff` timestamp\\\\n\\\\t\\\\t\\\\tconst curr = Number(new Date());\\\\n\\\\t\\\\t\\\\tconst ms = curr - (prevTime || curr);\\\\n\\\\t\\\\t\\\\tself.diff = ms;\\\\n\\\\t\\\\t\\\\tself.prev = prevTime;\\\\n\\\\t\\\\t\\\\tself.curr = curr;\\\\n\\\\t\\\\t\\\\tprevTime = curr;\\\\n\\\\n\\\\t\\\\t\\\\targs[0] = createDebug.coerce(args[0]);\\\\n\\\\n\\\\t\\\\t\\\\tif (typeof args[0] !== 'string') {\\\\n\\\\t\\\\t\\\\t\\\\t// Anything else let's inspect with %O\\\\n\\\\t\\\\t\\\\t\\\\targs.unshift('%O');\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t// Apply any `formatters` transformations\\\\n\\\\t\\\\t\\\\tlet index = 0;\\\\n\\\\t\\\\t\\\\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\\\\n\\\\t\\\\t\\\\t\\\\t// If we encounter an escaped % then don't increase the array index\\\\n\\\\t\\\\t\\\\t\\\\tif (match === '%%') {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn '%';\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tindex++;\\\\n\\\\t\\\\t\\\\t\\\\tconst formatter = createDebug.formatters[format];\\\\n\\\\t\\\\t\\\\t\\\\tif (typeof formatter === 'function') {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tconst val = args[index];\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tmatch = formatter.call(self, val);\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t// Now we need to remove `args[index]` since it's inlined in the `format`\\\\n\\\\t\\\\t\\\\t\\\\t\\\\targs.splice(index, 1);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tindex--;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\treturn match;\\\\n\\\\t\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t\\\\t// Apply env-specific formatting (colors, etc.)\\\\n\\\\t\\\\t\\\\tcreateDebug.formatArgs.call(self, args);\\\\n\\\\n\\\\t\\\\t\\\\tconst logFn = self.log || createDebug.log;\\\\n\\\\t\\\\t\\\\tlogFn.apply(self, args);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tdebug.namespace = namespace;\\\\n\\\\t\\\\tdebug.useColors = createDebug.useColors();\\\\n\\\\t\\\\tdebug.color = createDebug.selectColor(namespace);\\\\n\\\\t\\\\tdebug.extend = extend;\\\\n\\\\t\\\\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\\\\n\\\\n\\\\t\\\\tObject.defineProperty(debug, 'enabled', {\\\\n\\\\t\\\\t\\\\tenumerable: true,\\\\n\\\\t\\\\t\\\\tconfigurable: false,\\\\n\\\\t\\\\t\\\\tget: () => {\\\\n\\\\t\\\\t\\\\t\\\\tif (enableOverride !== null) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\treturn enableOverride;\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tif (namespacesCache !== createDebug.namespaces) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tnamespacesCache = createDebug.namespaces;\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tenabledCache = createDebug.enabled(namespace);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\t\\\\treturn enabledCache;\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\tset: v => {\\\\n\\\\t\\\\t\\\\t\\\\tenableOverride = v;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t// Env-specific initialization logic for debug instances\\\\n\\\\t\\\\tif (typeof createDebug.init === 'function') {\\\\n\\\\t\\\\t\\\\tcreateDebug.init(debug);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn debug;\\\\n\\\\t}\\\\n\\\\n\\\\tfunction extend(namespace, delimiter) {\\\\n\\\\t\\\\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\\\\n\\\\t\\\\tnewDebug.log = this.log;\\\\n\\\\t\\\\treturn newDebug;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Enables a debug mode by namespaces. This can include modes\\\\n\\\\t* separated by a colon and wildcards.\\\\n\\\\t*\\\\n\\\\t* @param {String} namespaces\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction enable(namespaces) {\\\\n\\\\t\\\\tcreateDebug.save(namespaces);\\\\n\\\\t\\\\tcreateDebug.namespaces = namespaces;\\\\n\\\\n\\\\t\\\\tcreateDebug.names = [];\\\\n\\\\t\\\\tcreateDebug.skips = [];\\\\n\\\\n\\\\t\\\\tlet i;\\\\n\\\\t\\\\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\\\\\\\s,]+/);\\\\n\\\\t\\\\tconst len = split.length;\\\\n\\\\n\\\\t\\\\tfor (i = 0; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (!split[i]) {\\\\n\\\\t\\\\t\\\\t\\\\t// ignore empty strings\\\\n\\\\t\\\\t\\\\t\\\\tcontinue;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tnamespaces = split[i].replace(/\\\\\\\\*/g, '.*?');\\\\n\\\\n\\\\t\\\\t\\\\tif (namespaces[0] === '-') {\\\\n\\\\t\\\\t\\\\t\\\\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Disable debug output.\\\\n\\\\t*\\\\n\\\\t* @return {String} namespaces\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction disable() {\\\\n\\\\t\\\\tconst namespaces = [\\\\n\\\\t\\\\t\\\\t...createDebug.names.map(toNamespace),\\\\n\\\\t\\\\t\\\\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\\\\n\\\\t\\\\t].join(',');\\\\n\\\\t\\\\tcreateDebug.enable('');\\\\n\\\\t\\\\treturn namespaces;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Returns true if the given mode name is enabled, false otherwise.\\\\n\\\\t*\\\\n\\\\t* @param {String} name\\\\n\\\\t* @return {Boolean}\\\\n\\\\t* @api public\\\\n\\\\t*/\\\\n\\\\tfunction enabled(name) {\\\\n\\\\t\\\\tif (name[name.length - 1] === '*') {\\\\n\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tlet i;\\\\n\\\\t\\\\tlet len;\\\\n\\\\n\\\\t\\\\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (createDebug.skips[i].test(name)) {\\\\n\\\\t\\\\t\\\\t\\\\treturn false;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\\\\n\\\\t\\\\t\\\\tif (createDebug.names[i].test(name)) {\\\\n\\\\t\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Convert regexp to namespace\\\\n\\\\t*\\\\n\\\\t* @param {RegExp} regxep\\\\n\\\\t* @return {String} namespace\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction toNamespace(regexp) {\\\\n\\\\t\\\\treturn regexp.toString()\\\\n\\\\t\\\\t\\\\t.substring(2, regexp.toString().length - 2)\\\\n\\\\t\\\\t\\\\t.replace(/\\\\\\\\.\\\\\\\\*\\\\\\\\?$/, '*');\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* Coerce `val`.\\\\n\\\\t*\\\\n\\\\t* @param {Mixed} val\\\\n\\\\t* @return {Mixed}\\\\n\\\\t* @api private\\\\n\\\\t*/\\\\n\\\\tfunction coerce(val) {\\\\n\\\\t\\\\tif (val instanceof Error) {\\\\n\\\\t\\\\t\\\\treturn val.stack || val.message;\\\\n\\\\t\\\\t}\\\\n\\\\t\\\\treturn val;\\\\n\\\\t}\\\\n\\\\n\\\\t/**\\\\n\\\\t* XXX DO NOT USE. This is a temporary stub function.\\\\n\\\\t* XXX It WILL be removed in the next major release.\\\\n\\\\t*/\\\\n\\\\tfunction destroy() {\\\\n\\\\t\\\\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\\\\n\\\\t}\\\\n\\\\n\\\\tcreateDebug.enable(createDebug.load());\\\\n\\\\n\\\\treturn createDebug;\\\\n}\\\\n\\\\nmodule.exports = setup;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/debug/src/index.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/debug/src/index.js ***!\\n \\\\*****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/**\\\\n * Detect Electron renderer / nwjs process, which is node, but we should\\\\n * treat as a browser.\\\\n */\\\\n\\\\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\\\\n\\\\tmodule.exports = __webpack_require__(/*! ./browser.js */ \\\\\\\"./node_modules/debug/src/browser.js\\\\\\\");\\\\n} else {\\\\n\\\\tmodule.exports = __webpack_require__(/*! ./node.js */ \\\\\\\"./node_modules/debug/src/node.js\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/debug/src/node.js\\\":\\n/*!****************************************!*\\\\\\n !*** ./node_modules/debug/src/node.js ***!\\n \\\\****************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/**\\\\n * Module dependencies.\\\\n */\\\\n\\\\nconst tty = __webpack_require__(/*! tty */ \\\\\\\"tty\\\\\\\");\\\\nconst util = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\");\\\\n\\\\n/**\\\\n * This is the Node.js implementation of `debug()`.\\\\n */\\\\n\\\\nexports.init = init;\\\\nexports.log = log;\\\\nexports.formatArgs = formatArgs;\\\\nexports.save = save;\\\\nexports.load = load;\\\\nexports.useColors = useColors;\\\\nexports.destroy = util.deprecate(\\\\n\\\\t() => {},\\\\n\\\\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\\\\n);\\\\n\\\\n/**\\\\n * Colors.\\\\n */\\\\n\\\\nexports.colors = [6, 2, 3, 4, 5, 1];\\\\n\\\\ntry {\\\\n\\\\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\\\\n\\\\t// eslint-disable-next-line import/no-extraneous-dependencies\\\\n\\\\tconst supportsColor = __webpack_require__(/*! supports-color */ \\\\\\\"./node_modules/supports-color/index.js\\\\\\\");\\\\n\\\\n\\\\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\\\\n\\\\t\\\\texports.colors = [\\\\n\\\\t\\\\t\\\\t20,\\\\n\\\\t\\\\t\\\\t21,\\\\n\\\\t\\\\t\\\\t26,\\\\n\\\\t\\\\t\\\\t27,\\\\n\\\\t\\\\t\\\\t32,\\\\n\\\\t\\\\t\\\\t33,\\\\n\\\\t\\\\t\\\\t38,\\\\n\\\\t\\\\t\\\\t39,\\\\n\\\\t\\\\t\\\\t40,\\\\n\\\\t\\\\t\\\\t41,\\\\n\\\\t\\\\t\\\\t42,\\\\n\\\\t\\\\t\\\\t43,\\\\n\\\\t\\\\t\\\\t44,\\\\n\\\\t\\\\t\\\\t45,\\\\n\\\\t\\\\t\\\\t56,\\\\n\\\\t\\\\t\\\\t57,\\\\n\\\\t\\\\t\\\\t62,\\\\n\\\\t\\\\t\\\\t63,\\\\n\\\\t\\\\t\\\\t68,\\\\n\\\\t\\\\t\\\\t69,\\\\n\\\\t\\\\t\\\\t74,\\\\n\\\\t\\\\t\\\\t75,\\\\n\\\\t\\\\t\\\\t76,\\\\n\\\\t\\\\t\\\\t77,\\\\n\\\\t\\\\t\\\\t78,\\\\n\\\\t\\\\t\\\\t79,\\\\n\\\\t\\\\t\\\\t80,\\\\n\\\\t\\\\t\\\\t81,\\\\n\\\\t\\\\t\\\\t92,\\\\n\\\\t\\\\t\\\\t93,\\\\n\\\\t\\\\t\\\\t98,\\\\n\\\\t\\\\t\\\\t99,\\\\n\\\\t\\\\t\\\\t112,\\\\n\\\\t\\\\t\\\\t113,\\\\n\\\\t\\\\t\\\\t128,\\\\n\\\\t\\\\t\\\\t129,\\\\n\\\\t\\\\t\\\\t134,\\\\n\\\\t\\\\t\\\\t135,\\\\n\\\\t\\\\t\\\\t148,\\\\n\\\\t\\\\t\\\\t149,\\\\n\\\\t\\\\t\\\\t160,\\\\n\\\\t\\\\t\\\\t161,\\\\n\\\\t\\\\t\\\\t162,\\\\n\\\\t\\\\t\\\\t163,\\\\n\\\\t\\\\t\\\\t164,\\\\n\\\\t\\\\t\\\\t165,\\\\n\\\\t\\\\t\\\\t166,\\\\n\\\\t\\\\t\\\\t167,\\\\n\\\\t\\\\t\\\\t168,\\\\n\\\\t\\\\t\\\\t169,\\\\n\\\\t\\\\t\\\\t170,\\\\n\\\\t\\\\t\\\\t171,\\\\n\\\\t\\\\t\\\\t172,\\\\n\\\\t\\\\t\\\\t173,\\\\n\\\\t\\\\t\\\\t178,\\\\n\\\\t\\\\t\\\\t179,\\\\n\\\\t\\\\t\\\\t184,\\\\n\\\\t\\\\t\\\\t185,\\\\n\\\\t\\\\t\\\\t196,\\\\n\\\\t\\\\t\\\\t197,\\\\n\\\\t\\\\t\\\\t198,\\\\n\\\\t\\\\t\\\\t199,\\\\n\\\\t\\\\t\\\\t200,\\\\n\\\\t\\\\t\\\\t201,\\\\n\\\\t\\\\t\\\\t202,\\\\n\\\\t\\\\t\\\\t203,\\\\n\\\\t\\\\t\\\\t204,\\\\n\\\\t\\\\t\\\\t205,\\\\n\\\\t\\\\t\\\\t206,\\\\n\\\\t\\\\t\\\\t207,\\\\n\\\\t\\\\t\\\\t208,\\\\n\\\\t\\\\t\\\\t209,\\\\n\\\\t\\\\t\\\\t214,\\\\n\\\\t\\\\t\\\\t215,\\\\n\\\\t\\\\t\\\\t220,\\\\n\\\\t\\\\t\\\\t221\\\\n\\\\t\\\\t];\\\\n\\\\t}\\\\n} catch (error) {\\\\n\\\\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\\\\n}\\\\n\\\\n/**\\\\n * Build up the default `inspectOpts` object from the environment variables.\\\\n *\\\\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\\\\n */\\\\n\\\\nexports.inspectOpts = Object.keys(process.env).filter(key => {\\\\n\\\\treturn /^debug_/i.test(key);\\\\n}).reduce((obj, key) => {\\\\n\\\\t// Camel-case\\\\n\\\\tconst prop = key\\\\n\\\\t\\\\t.substring(6)\\\\n\\\\t\\\\t.toLowerCase()\\\\n\\\\t\\\\t.replace(/_([a-z])/g, (_, k) => {\\\\n\\\\t\\\\t\\\\treturn k.toUpperCase();\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t// Coerce string value into JS value\\\\n\\\\tlet val = process.env[key];\\\\n\\\\tif (/^(yes|on|true|enabled)$/i.test(val)) {\\\\n\\\\t\\\\tval = true;\\\\n\\\\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\\\\n\\\\t\\\\tval = false;\\\\n\\\\t} else if (val === 'null') {\\\\n\\\\t\\\\tval = null;\\\\n\\\\t} else {\\\\n\\\\t\\\\tval = Number(val);\\\\n\\\\t}\\\\n\\\\n\\\\tobj[prop] = val;\\\\n\\\\treturn obj;\\\\n}, {});\\\\n\\\\n/**\\\\n * Is stdout a TTY? Colored output is enabled when `true`.\\\\n */\\\\n\\\\nfunction useColors() {\\\\n\\\\treturn 'colors' in exports.inspectOpts ?\\\\n\\\\t\\\\tBoolean(exports.inspectOpts.colors) :\\\\n\\\\t\\\\ttty.isatty(process.stderr.fd);\\\\n}\\\\n\\\\n/**\\\\n * Adds ANSI color escape codes if enabled.\\\\n *\\\\n * @api public\\\\n */\\\\n\\\\nfunction formatArgs(args) {\\\\n\\\\tconst {namespace: name, useColors} = this;\\\\n\\\\n\\\\tif (useColors) {\\\\n\\\\t\\\\tconst c = this.color;\\\\n\\\\t\\\\tconst colorCode = '\\\\\\\\u001B[3' + (c < 8 ? c : '8;5;' + c);\\\\n\\\\t\\\\tconst prefix = ` ${colorCode};1m${name} \\\\\\\\u001B[0m`;\\\\n\\\\n\\\\t\\\\targs[0] = prefix + args[0].split('\\\\\\\\n').join('\\\\\\\\n' + prefix);\\\\n\\\\t\\\\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\\\\\\\u001B[0m');\\\\n\\\\t} else {\\\\n\\\\t\\\\targs[0] = getDate() + name + ' ' + args[0];\\\\n\\\\t}\\\\n}\\\\n\\\\nfunction getDate() {\\\\n\\\\tif (exports.inspectOpts.hideDate) {\\\\n\\\\t\\\\treturn '';\\\\n\\\\t}\\\\n\\\\treturn new Date().toISOString() + ' ';\\\\n}\\\\n\\\\n/**\\\\n * Invokes `util.format()` with the specified arguments and writes to stderr.\\\\n */\\\\n\\\\nfunction log(...args) {\\\\n\\\\treturn process.stderr.write(util.format(...args) + '\\\\\\\\n');\\\\n}\\\\n\\\\n/**\\\\n * Save `namespaces`.\\\\n *\\\\n * @param {String} namespaces\\\\n * @api private\\\\n */\\\\nfunction save(namespaces) {\\\\n\\\\tif (namespaces) {\\\\n\\\\t\\\\tprocess.env.DEBUG = namespaces;\\\\n\\\\t} else {\\\\n\\\\t\\\\t// If you set a process.env field to null or undefined, it gets cast to the\\\\n\\\\t\\\\t// string 'null' or 'undefined'. Just delete instead.\\\\n\\\\t\\\\tdelete process.env.DEBUG;\\\\n\\\\t}\\\\n}\\\\n\\\\n/**\\\\n * Load `namespaces`.\\\\n *\\\\n * @return {String} returns the previously persisted debug modes\\\\n * @api private\\\\n */\\\\n\\\\nfunction load() {\\\\n\\\\treturn process.env.DEBUG;\\\\n}\\\\n\\\\n/**\\\\n * Init logic for `debug` instances.\\\\n *\\\\n * Create a new `inspectOpts` object in case `useColors` is set\\\\n * differently for a particular `debug` instance.\\\\n */\\\\n\\\\nfunction init(debug) {\\\\n\\\\tdebug.inspectOpts = {};\\\\n\\\\n\\\\tconst keys = Object.keys(exports.inspectOpts);\\\\n\\\\tfor (let i = 0; i < keys.length; i++) {\\\\n\\\\t\\\\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\\\\n\\\\t}\\\\n}\\\\n\\\\nmodule.exports = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/debug/src/common.js\\\\\\\")(exports);\\\\n\\\\nconst {formatters} = module.exports;\\\\n\\\\n/**\\\\n * Map %o to `util.inspect()`, all on a single line.\\\\n */\\\\n\\\\nformatters.o = function (v) {\\\\n\\\\tthis.inspectOpts.colors = this.useColors;\\\\n\\\\treturn util.inspect(v, this.inspectOpts)\\\\n\\\\t\\\\t.split('\\\\\\\\n')\\\\n\\\\t\\\\t.map(str => str.trim())\\\\n\\\\t\\\\t.join(' ');\\\\n};\\\\n\\\\n/**\\\\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\\\\n */\\\\n\\\\nformatters.O = function (v) {\\\\n\\\\tthis.inspectOpts.colors = this.useColors;\\\\n\\\\treturn util.inspect(v, this.inspectOpts);\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/debug/src/node.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff-palette/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff-palette/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"const getPalette = (image, { debug = false } = { debug: false }) => {\\\\n if (debug) console.log(\\\\\\\"starting getPalette with image\\\\\\\", image);\\\\n const { fileDirectory } = image;\\\\n const {\\\\n BitsPerSample,\\\\n ColorMap,\\\\n ImageLength,\\\\n ImageWidth,\\\\n PhotometricInterpretation,\\\\n SampleFormat,\\\\n SamplesPerPixel\\\\n } = fileDirectory;\\\\n\\\\n if (!ColorMap) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: the image does not contain a color map, so we can't make a palette.\\\\\\\");\\\\n }\\\\n\\\\n const count = Math.pow(2, BitsPerSample);\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: count:\\\\\\\", count);\\\\n\\\\n const bandSize = ColorMap.length / 3;\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: bandSize:\\\\\\\", bandSize);\\\\n\\\\n if (bandSize !== count) {\\\\n throw new Error(\\\\\\\"[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster\\\\\\\");\\\\n }\\\\n\\\\n const greenOffset = bandSize;\\\\n const redOffset = greenOffset + bandSize;\\\\n\\\\n const result = [];\\\\n for (let i = 0; i < count; i++) {\\\\n // colorMap[mapIndex] / 65536 * 256 equals colorMap[mapIndex] / 256\\\\n // because (1 / 2^16) * (2^8) equals 1 / 2^8\\\\n result.push([\\\\n Math.floor(ColorMap[i] / 256), // red\\\\n Math.floor(ColorMap[greenOffset + i] / 256), // green\\\\n Math.floor(ColorMap[redOffset + i] / 256), // blue\\\\n 255 // alpha value is always 255\\\\n ]);\\\\n }\\\\n if (debug) console.log(\\\\\\\"[geotiff-palette]: result is \\\\\\\", result);\\\\n return result;\\\\n}\\\\n\\\\nmodule.exports = { getPalette };\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff-palette/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/basedecoder.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/basedecoder.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return BaseDecoder; });\\\\n/* harmony import */ var _predictor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../predictor */ \\\\\\\"./node_modules/geotiff/src/predictor.js\\\\\\\");\\\\n\\\\n\\\\nclass BaseDecoder {\\\\n decode(fileDirectory, buffer) {\\\\n const decoded = this.decodeBlock(buffer);\\\\n const predictor = fileDirectory.Predictor || 1;\\\\n if (predictor !== 1) {\\\\n const isTiled = !fileDirectory.StripOffsets;\\\\n const tileWidth = isTiled ? fileDirectory.TileWidth : fileDirectory.ImageWidth;\\\\n const tileHeight = isTiled ? fileDirectory.TileLength : (\\\\n fileDirectory.RowsPerStrip || fileDirectory.ImageLength\\\\n );\\\\n return Object(_predictor__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"applyPredictor\\\\\\\"])(\\\\n decoded, predictor, tileWidth, tileHeight, fileDirectory.BitsPerSample,\\\\n fileDirectory.PlanarConfiguration,\\\\n );\\\\n }\\\\n return decoded;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/basedecoder.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/deflate.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/deflate.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DeflateDecoder; });\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pako/lib/inflate */ \\\\\\\"./node_modules/pako/lib/inflate.js\\\\\\\");\\\\n/* harmony import */ var pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass DeflateDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return Object(pako_lib_inflate__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"inflate\\\\\\\"])(new Uint8Array(buffer)).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/deflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: getDecoder */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return getDecoder; });\\\\n/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ \\\\\\\"./node_modules/geotiff/src/compression/raw.js\\\\\\\");\\\\n/* harmony import */ var _lzw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./lzw */ \\\\\\\"./node_modules/geotiff/src/compression/lzw.js\\\\\\\");\\\\n/* harmony import */ var _jpeg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jpeg */ \\\\\\\"./node_modules/geotiff/src/compression/jpeg.js\\\\\\\");\\\\n/* harmony import */ var _deflate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./deflate */ \\\\\\\"./node_modules/geotiff/src/compression/deflate.js\\\\\\\");\\\\n/* harmony import */ var _packbits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./packbits */ \\\\\\\"./node_modules/geotiff/src/compression/packbits.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getDecoder(fileDirectory) {\\\\n switch (fileDirectory.Compression) {\\\\n case undefined:\\\\n case 1: // no compression\\\\n return new _raw__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]();\\\\n case 5: // LZW\\\\n return new _lzw__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n case 6: // JPEG\\\\n throw new Error('old style JPEG compression is not supported.');\\\\n case 7: // JPEG\\\\n return new _jpeg__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](fileDirectory);\\\\n case 8: // Deflate as recognized by Adobe\\\\n case 32946: // Deflate GDAL default\\\\n return new _deflate__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]();\\\\n case 32773: // packbits\\\\n return new _packbits__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]();\\\\n default:\\\\n throw new Error(`Unknown compression method identifier: ${fileDirectory.Compression}`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/jpeg.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/jpeg.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return JpegDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n/* -*- tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /\\\\n/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */\\\\n/*\\\\n Copyright 2011 notmasteryet\\\\n Licensed under the Apache License, Version 2.0 (the \\\\\\\"License\\\\\\\");\\\\n you may not use this file except in compliance with the License.\\\\n You may obtain a copy of the License at\\\\n http://www.apache.org/licenses/LICENSE-2.0\\\\n Unless required by applicable law or agreed to in writing, software\\\\n distributed under the License is distributed on an \\\\\\\"AS IS\\\\\\\" BASIS,\\\\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\\\n See the License for the specific language governing permissions and\\\\n limitations under the License.\\\\n*/\\\\n\\\\n// - The JPEG specification can be found in the ITU CCITT Recommendation T.81\\\\n// (www.w3.org/Graphics/JPEG/itu-t81.pdf)\\\\n// - The JFIF specification can be found in the JPEG File Interchange Format\\\\n// (www.w3.org/Graphics/JPEG/jfif3.pdf)\\\\n// - The Adobe Application-Specific JPEG markers in the Supporting the DCT Filters\\\\n// in PostScript Level 2, Technical Note #5116\\\\n// (partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf)\\\\n\\\\n\\\\nconst dctZigZag = new Int32Array([\\\\n 0,\\\\n 1, 8,\\\\n 16, 9, 2,\\\\n 3, 10, 17, 24,\\\\n 32, 25, 18, 11, 4,\\\\n 5, 12, 19, 26, 33, 40,\\\\n 48, 41, 34, 27, 20, 13, 6,\\\\n 7, 14, 21, 28, 35, 42, 49, 56,\\\\n 57, 50, 43, 36, 29, 22, 15,\\\\n 23, 30, 37, 44, 51, 58,\\\\n 59, 52, 45, 38, 31,\\\\n 39, 46, 53, 60,\\\\n 61, 54, 47,\\\\n 55, 62,\\\\n 63,\\\\n]);\\\\n\\\\nconst dctCos1 = 4017; // cos(pi/16)\\\\nconst dctSin1 = 799; // sin(pi/16)\\\\nconst dctCos3 = 3406; // cos(3*pi/16)\\\\nconst dctSin3 = 2276; // sin(3*pi/16)\\\\nconst dctCos6 = 1567; // cos(6*pi/16)\\\\nconst dctSin6 = 3784; // sin(6*pi/16)\\\\nconst dctSqrt2 = 5793; // sqrt(2)\\\\nconst dctSqrt1d2 = 2896;// sqrt(2) / 2\\\\n\\\\nfunction buildHuffmanTable(codeLengths, values) {\\\\n let k = 0;\\\\n const code = [];\\\\n let length = 16;\\\\n while (length > 0 && !codeLengths[length - 1]) {\\\\n --length;\\\\n }\\\\n code.push({ children: [], index: 0 });\\\\n\\\\n let p = code[0];\\\\n let q;\\\\n for (let i = 0; i < length; i++) {\\\\n for (let j = 0; j < codeLengths[i]; j++) {\\\\n p = code.pop();\\\\n p.children[p.index] = values[k];\\\\n while (p.index > 0) {\\\\n p = code.pop();\\\\n }\\\\n p.index++;\\\\n code.push(p);\\\\n while (code.length <= i) {\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n k++;\\\\n }\\\\n if (i + 1 < length) {\\\\n // p here points to last code\\\\n code.push(q = { children: [], index: 0 });\\\\n p.children[p.index] = q.children;\\\\n p = q;\\\\n }\\\\n }\\\\n return code[0].children;\\\\n}\\\\n\\\\nfunction decodeScan(data, initialOffset,\\\\n frame, components, resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successivePrev, successive) {\\\\n const { mcusPerLine, progressive } = frame;\\\\n\\\\n const startOffset = initialOffset;\\\\n let offset = initialOffset;\\\\n let bitsData = 0;\\\\n let bitsCount = 0;\\\\n function readBit() {\\\\n if (bitsCount > 0) {\\\\n bitsCount--;\\\\n return (bitsData >> bitsCount) & 1;\\\\n }\\\\n bitsData = data[offset++];\\\\n if (bitsData === 0xFF) {\\\\n const nextByte = data[offset++];\\\\n if (nextByte) {\\\\n throw new Error(`unexpected marker: ${((bitsData << 8) | nextByte).toString(16)}`);\\\\n }\\\\n // unstuff 0\\\\n }\\\\n bitsCount = 7;\\\\n return bitsData >>> 7;\\\\n }\\\\n function decodeHuffman(tree) {\\\\n let node = tree;\\\\n let bit;\\\\n while ((bit = readBit()) !== null) { // eslint-disable-line no-cond-assign\\\\n node = node[bit];\\\\n if (typeof node === 'number') {\\\\n return node;\\\\n }\\\\n if (typeof node !== 'object') {\\\\n throw new Error('invalid huffman sequence');\\\\n }\\\\n }\\\\n return null;\\\\n }\\\\n function receive(initialLength) {\\\\n let length = initialLength;\\\\n let n = 0;\\\\n while (length > 0) {\\\\n const bit = readBit();\\\\n if (bit === null) {\\\\n return undefined;\\\\n }\\\\n n = (n << 1) | bit;\\\\n --length;\\\\n }\\\\n return n;\\\\n }\\\\n function receiveAndExtend(length) {\\\\n const n = receive(length);\\\\n if (n >= 1 << (length - 1)) {\\\\n return n;\\\\n }\\\\n return n + (-1 << length) + 1;\\\\n }\\\\n function decodeBaseline(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : receiveAndExtend(t);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n let k = 1;\\\\n while (k < 64) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n function decodeDCFirst(component, zz) {\\\\n const t = decodeHuffman(component.huffmanTableDC);\\\\n const diff = t === 0 ? 0 : (receiveAndExtend(t) << successive);\\\\n component.pred += diff;\\\\n zz[0] = component.pred;\\\\n }\\\\n function decodeDCSuccessive(component, zz) {\\\\n zz[0] |= readBit() << successive;\\\\n }\\\\n let eobrun = 0;\\\\n function decodeACFirst(component, zz) {\\\\n if (eobrun > 0) {\\\\n eobrun--;\\\\n return;\\\\n }\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n while (k <= e) {\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n const r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r) - 1;\\\\n break;\\\\n }\\\\n k += 16;\\\\n } else {\\\\n k += r;\\\\n const z = dctZigZag[k];\\\\n zz[z] = receiveAndExtend(s) * (1 << successive);\\\\n k++;\\\\n }\\\\n }\\\\n }\\\\n let successiveACState = 0;\\\\n let successiveACNextValue;\\\\n function decodeACSuccessive(component, zz) {\\\\n let k = spectralStart;\\\\n const e = spectralEnd;\\\\n let r = 0;\\\\n while (k <= e) {\\\\n const z = dctZigZag[k];\\\\n const direction = zz[z] < 0 ? -1 : 1;\\\\n switch (successiveACState) {\\\\n case 0: { // initial state\\\\n const rs = decodeHuffman(component.huffmanTableAC);\\\\n const s = rs & 15;\\\\n r = rs >> 4;\\\\n if (s === 0) {\\\\n if (r < 15) {\\\\n eobrun = receive(r) + (1 << r);\\\\n successiveACState = 4;\\\\n } else {\\\\n r = 16;\\\\n successiveACState = 1;\\\\n }\\\\n } else {\\\\n if (s !== 1) {\\\\n throw new Error('invalid ACn encoding');\\\\n }\\\\n successiveACNextValue = receiveAndExtend(s);\\\\n successiveACState = r ? 2 : 3;\\\\n }\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n case 1: // skipping r zero items\\\\n case 2:\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n r--;\\\\n if (r === 0) {\\\\n successiveACState = successiveACState === 2 ? 3 : 0;\\\\n }\\\\n }\\\\n break;\\\\n case 3: // set value for a zero item\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n } else {\\\\n zz[z] = successiveACNextValue << successive;\\\\n successiveACState = 0;\\\\n }\\\\n break;\\\\n case 4: // eob\\\\n if (zz[z]) {\\\\n zz[z] += (readBit() << successive) * direction;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n k++;\\\\n }\\\\n if (successiveACState === 4) {\\\\n eobrun--;\\\\n if (eobrun === 0) {\\\\n successiveACState = 0;\\\\n }\\\\n }\\\\n }\\\\n function decodeMcu(component, decodeFunction, mcu, row, col) {\\\\n const mcuRow = (mcu / mcusPerLine) | 0;\\\\n const mcuCol = mcu % mcusPerLine;\\\\n const blockRow = (mcuRow * component.v) + row;\\\\n const blockCol = (mcuCol * component.h) + col;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n function decodeBlock(component, decodeFunction, mcu) {\\\\n const blockRow = (mcu / component.blocksPerLine) | 0;\\\\n const blockCol = mcu % component.blocksPerLine;\\\\n decodeFunction(component, component.blocks[blockRow][blockCol]);\\\\n }\\\\n\\\\n const componentsLength = components.length;\\\\n let component;\\\\n let i;\\\\n let j;\\\\n let k;\\\\n let n;\\\\n let decodeFn;\\\\n if (progressive) {\\\\n if (spectralStart === 0) {\\\\n decodeFn = successivePrev === 0 ? decodeDCFirst : decodeDCSuccessive;\\\\n } else {\\\\n decodeFn = successivePrev === 0 ? decodeACFirst : decodeACSuccessive;\\\\n }\\\\n } else {\\\\n decodeFn = decodeBaseline;\\\\n }\\\\n\\\\n let mcu = 0;\\\\n let marker;\\\\n let mcuExpected;\\\\n if (componentsLength === 1) {\\\\n mcuExpected = components[0].blocksPerLine * components[0].blocksPerColumn;\\\\n } else {\\\\n mcuExpected = mcusPerLine * frame.mcusPerColumn;\\\\n }\\\\n\\\\n const usedResetInterval = resetInterval || mcuExpected;\\\\n\\\\n while (mcu < mcuExpected) {\\\\n // reset interval stuff\\\\n for (i = 0; i < componentsLength; i++) {\\\\n components[i].pred = 0;\\\\n }\\\\n eobrun = 0;\\\\n\\\\n if (componentsLength === 1) {\\\\n component = components[0];\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n decodeBlock(component, decodeFn, mcu);\\\\n mcu++;\\\\n }\\\\n } else {\\\\n for (n = 0; n < usedResetInterval; n++) {\\\\n for (i = 0; i < componentsLength; i++) {\\\\n component = components[i];\\\\n const { h, v } = component;\\\\n for (j = 0; j < v; j++) {\\\\n for (k = 0; k < h; k++) {\\\\n decodeMcu(component, decodeFn, mcu, j, k);\\\\n }\\\\n }\\\\n }\\\\n mcu++;\\\\n\\\\n // If we've reached our expected MCU's, stop decoding\\\\n if (mcu === mcuExpected) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n // find marker\\\\n bitsCount = 0;\\\\n marker = (data[offset] << 8) | data[offset + 1];\\\\n if (marker < 0xFF00) {\\\\n throw new Error('marker was not found');\\\\n }\\\\n\\\\n if (marker >= 0xFFD0 && marker <= 0xFFD7) { // RSTx\\\\n offset += 2;\\\\n } else {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n return offset - startOffset;\\\\n}\\\\n\\\\nfunction buildComponentData(frame, component) {\\\\n const lines = [];\\\\n const { blocksPerLine, blocksPerColumn } = component;\\\\n const samplesPerLine = blocksPerLine << 3;\\\\n const R = new Int32Array(64);\\\\n const r = new Uint8Array(64);\\\\n\\\\n // A port of poppler's IDCT method which in turn is taken from:\\\\n // Christoph Loeffler, Adriaan Ligtenberg, George S. Moschytz,\\\\n // \\\\\\\"Practical Fast 1-D DCT Algorithms with 11 Multiplications\\\\\\\",\\\\n // IEEE Intl. Conf. on Acoustics, Speech & Signal Processing, 1989,\\\\n // 988-991.\\\\n function quantizeAndInverse(zz, dataOut, dataIn) {\\\\n const qt = component.quantizationTable;\\\\n let v0;\\\\n let v1;\\\\n let v2;\\\\n let v3;\\\\n let v4;\\\\n let v5;\\\\n let v6;\\\\n let v7;\\\\n let t;\\\\n const p = dataIn;\\\\n let i;\\\\n\\\\n // dequant\\\\n for (i = 0; i < 64; i++) {\\\\n p[i] = zz[i] * qt[i];\\\\n }\\\\n\\\\n // inverse DCT on rows\\\\n for (i = 0; i < 8; ++i) {\\\\n const row = 8 * i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[1 + row] === 0 && p[2 + row] === 0 && p[3 + row] === 0\\\\n && p[4 + row] === 0 && p[5 + row] === 0 && p[6 + row] === 0\\\\n && p[7 + row] === 0) {\\\\n t = ((dctSqrt2 * p[0 + row]) + 512) >> 10;\\\\n p[0 + row] = t;\\\\n p[1 + row] = t;\\\\n p[2 + row] = t;\\\\n p[3 + row] = t;\\\\n p[4 + row] = t;\\\\n p[5 + row] = t;\\\\n p[6 + row] = t;\\\\n p[7 + row] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[0 + row]) + 128) >> 8;\\\\n v1 = ((dctSqrt2 * p[4 + row]) + 128) >> 8;\\\\n v2 = p[2 + row];\\\\n v3 = p[6 + row];\\\\n v4 = ((dctSqrt1d2 * (p[1 + row] - p[7 + row])) + 128) >> 8;\\\\n v7 = ((dctSqrt1d2 * (p[1 + row] + p[7 + row])) + 128) >> 8;\\\\n v5 = p[3 + row] << 4;\\\\n v6 = p[5 + row] << 4;\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 128) >> 8;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 128) >> 8;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[0 + row] = v0 + v7;\\\\n p[7 + row] = v0 - v7;\\\\n p[1 + row] = v1 + v6;\\\\n p[6 + row] = v1 - v6;\\\\n p[2 + row] = v2 + v5;\\\\n p[5 + row] = v2 - v5;\\\\n p[3 + row] = v3 + v4;\\\\n p[4 + row] = v3 - v4;\\\\n }\\\\n\\\\n // inverse DCT on columns\\\\n for (i = 0; i < 8; ++i) {\\\\n const col = i;\\\\n\\\\n // check for all-zero AC coefficients\\\\n if (p[(1 * 8) + col] === 0 && p[(2 * 8) + col] === 0 && p[(3 * 8) + col] === 0\\\\n && p[(4 * 8) + col] === 0 && p[(5 * 8) + col] === 0 && p[(6 * 8) + col] === 0\\\\n && p[(7 * 8) + col] === 0) {\\\\n t = ((dctSqrt2 * dataIn[i + 0]) + 8192) >> 14;\\\\n p[(0 * 8) + col] = t;\\\\n p[(1 * 8) + col] = t;\\\\n p[(2 * 8) + col] = t;\\\\n p[(3 * 8) + col] = t;\\\\n p[(4 * 8) + col] = t;\\\\n p[(5 * 8) + col] = t;\\\\n p[(6 * 8) + col] = t;\\\\n p[(7 * 8) + col] = t;\\\\n continue; // eslint-disable-line no-continue\\\\n }\\\\n\\\\n // stage 4\\\\n v0 = ((dctSqrt2 * p[(0 * 8) + col]) + 2048) >> 12;\\\\n v1 = ((dctSqrt2 * p[(4 * 8) + col]) + 2048) >> 12;\\\\n v2 = p[(2 * 8) + col];\\\\n v3 = p[(6 * 8) + col];\\\\n v4 = ((dctSqrt1d2 * (p[(1 * 8) + col] - p[(7 * 8) + col])) + 2048) >> 12;\\\\n v7 = ((dctSqrt1d2 * (p[(1 * 8) + col] + p[(7 * 8) + col])) + 2048) >> 12;\\\\n v5 = p[(3 * 8) + col];\\\\n v6 = p[(5 * 8) + col];\\\\n\\\\n // stage 3\\\\n t = (v0 - v1 + 1) >> 1;\\\\n v0 = (v0 + v1 + 1) >> 1;\\\\n v1 = t;\\\\n t = ((v2 * dctSin6) + (v3 * dctCos6) + 2048) >> 12;\\\\n v2 = ((v2 * dctCos6) - (v3 * dctSin6) + 2048) >> 12;\\\\n v3 = t;\\\\n t = (v4 - v6 + 1) >> 1;\\\\n v4 = (v4 + v6 + 1) >> 1;\\\\n v6 = t;\\\\n t = (v7 + v5 + 1) >> 1;\\\\n v5 = (v7 - v5 + 1) >> 1;\\\\n v7 = t;\\\\n\\\\n // stage 2\\\\n t = (v0 - v3 + 1) >> 1;\\\\n v0 = (v0 + v3 + 1) >> 1;\\\\n v3 = t;\\\\n t = (v1 - v2 + 1) >> 1;\\\\n v1 = (v1 + v2 + 1) >> 1;\\\\n v2 = t;\\\\n t = ((v4 * dctSin3) + (v7 * dctCos3) + 2048) >> 12;\\\\n v4 = ((v4 * dctCos3) - (v7 * dctSin3) + 2048) >> 12;\\\\n v7 = t;\\\\n t = ((v5 * dctSin1) + (v6 * dctCos1) + 2048) >> 12;\\\\n v5 = ((v5 * dctCos1) - (v6 * dctSin1) + 2048) >> 12;\\\\n v6 = t;\\\\n\\\\n // stage 1\\\\n p[(0 * 8) + col] = v0 + v7;\\\\n p[(7 * 8) + col] = v0 - v7;\\\\n p[(1 * 8) + col] = v1 + v6;\\\\n p[(6 * 8) + col] = v1 - v6;\\\\n p[(2 * 8) + col] = v2 + v5;\\\\n p[(5 * 8) + col] = v2 - v5;\\\\n p[(3 * 8) + col] = v3 + v4;\\\\n p[(4 * 8) + col] = v3 - v4;\\\\n }\\\\n\\\\n // convert to 8-bit integers\\\\n for (i = 0; i < 64; ++i) {\\\\n const sample = 128 + ((p[i] + 8) >> 4);\\\\n if (sample < 0) {\\\\n dataOut[i] = 0;\\\\n } else if (sample > 0XFF) {\\\\n dataOut[i] = 0xFF;\\\\n } else {\\\\n dataOut[i] = sample;\\\\n }\\\\n }\\\\n }\\\\n\\\\n for (let blockRow = 0; blockRow < blocksPerColumn; blockRow++) {\\\\n const scanLine = blockRow << 3;\\\\n for (let i = 0; i < 8; i++) {\\\\n lines.push(new Uint8Array(samplesPerLine));\\\\n }\\\\n for (let blockCol = 0; blockCol < blocksPerLine; blockCol++) {\\\\n quantizeAndInverse(component.blocks[blockRow][blockCol], r, R);\\\\n\\\\n let offset = 0;\\\\n const sample = blockCol << 3;\\\\n for (let j = 0; j < 8; j++) {\\\\n const line = lines[scanLine + j];\\\\n for (let i = 0; i < 8; i++) {\\\\n line[sample + i] = r[offset++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n return lines;\\\\n}\\\\n\\\\nclass JpegStreamReader {\\\\n constructor() {\\\\n this.jfif = null;\\\\n this.adobe = null;\\\\n\\\\n this.quantizationTables = [];\\\\n this.huffmanTablesAC = [];\\\\n this.huffmanTablesDC = [];\\\\n this.resetFrames();\\\\n }\\\\n\\\\n resetFrames() {\\\\n this.frames = [];\\\\n }\\\\n\\\\n parse(data) {\\\\n let offset = 0;\\\\n // const { length } = data;\\\\n function readUint16() {\\\\n const value = (data[offset] << 8) | data[offset + 1];\\\\n offset += 2;\\\\n return value;\\\\n }\\\\n function readDataBlock() {\\\\n const length = readUint16();\\\\n const array = data.subarray(offset, offset + length - 2);\\\\n offset += array.length;\\\\n return array;\\\\n }\\\\n function prepareComponents(frame) {\\\\n let maxH = 0;\\\\n let maxV = 0;\\\\n let component;\\\\n let componentId;\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n if (maxH < component.h) {\\\\n maxH = component.h;\\\\n }\\\\n if (maxV < component.v) {\\\\n maxV = component.v;\\\\n }\\\\n }\\\\n }\\\\n const mcusPerLine = Math.ceil(frame.samplesPerLine / 8 / maxH);\\\\n const mcusPerColumn = Math.ceil(frame.scanLines / 8 / maxV);\\\\n for (componentId in frame.components) {\\\\n if (frame.components.hasOwnProperty(componentId)) {\\\\n component = frame.components[componentId];\\\\n const blocksPerLine = Math.ceil(Math.ceil(frame.samplesPerLine / 8) * component.h / maxH);\\\\n const blocksPerColumn = Math.ceil(Math.ceil(frame.scanLines / 8) * component.v / maxV);\\\\n const blocksPerLineForMcu = mcusPerLine * component.h;\\\\n const blocksPerColumnForMcu = mcusPerColumn * component.v;\\\\n const blocks = [];\\\\n for (let i = 0; i < blocksPerColumnForMcu; i++) {\\\\n const row = [];\\\\n for (let j = 0; j < blocksPerLineForMcu; j++) {\\\\n row.push(new Int32Array(64));\\\\n }\\\\n blocks.push(row);\\\\n }\\\\n component.blocksPerLine = blocksPerLine;\\\\n component.blocksPerColumn = blocksPerColumn;\\\\n component.blocks = blocks;\\\\n }\\\\n }\\\\n frame.maxH = maxH;\\\\n frame.maxV = maxV;\\\\n frame.mcusPerLine = mcusPerLine;\\\\n frame.mcusPerColumn = mcusPerColumn;\\\\n }\\\\n\\\\n let fileMarker = readUint16();\\\\n if (fileMarker !== 0xFFD8) { // SOI (Start of Image)\\\\n throw new Error('SOI not found');\\\\n }\\\\n\\\\n fileMarker = readUint16();\\\\n while (fileMarker !== 0xFFD9) { // EOI (End of image)\\\\n switch (fileMarker) {\\\\n case 0xFF00: break;\\\\n case 0xFFE0: // APP0 (Application Specific)\\\\n case 0xFFE1: // APP1\\\\n case 0xFFE2: // APP2\\\\n case 0xFFE3: // APP3\\\\n case 0xFFE4: // APP4\\\\n case 0xFFE5: // APP5\\\\n case 0xFFE6: // APP6\\\\n case 0xFFE7: // APP7\\\\n case 0xFFE8: // APP8\\\\n case 0xFFE9: // APP9\\\\n case 0xFFEA: // APP10\\\\n case 0xFFEB: // APP11\\\\n case 0xFFEC: // APP12\\\\n case 0xFFED: // APP13\\\\n case 0xFFEE: // APP14\\\\n case 0xFFEF: // APP15\\\\n case 0xFFFE: { // COM (Comment)\\\\n const appData = readDataBlock();\\\\n\\\\n if (fileMarker === 0xFFE0) {\\\\n if (appData[0] === 0x4A && appData[1] === 0x46 && appData[2] === 0x49\\\\n && appData[3] === 0x46 && appData[4] === 0) { // 'JFIF\\\\\\\\x00'\\\\n this.jfif = {\\\\n version: { major: appData[5], minor: appData[6] },\\\\n densityUnits: appData[7],\\\\n xDensity: (appData[8] << 8) | appData[9],\\\\n yDensity: (appData[10] << 8) | appData[11],\\\\n thumbWidth: appData[12],\\\\n thumbHeight: appData[13],\\\\n thumbData: appData.subarray(14, 14 + (3 * appData[12] * appData[13])),\\\\n };\\\\n }\\\\n }\\\\n // TODO APP1 - Exif\\\\n if (fileMarker === 0xFFEE) {\\\\n if (appData[0] === 0x41 && appData[1] === 0x64 && appData[2] === 0x6F\\\\n && appData[3] === 0x62 && appData[4] === 0x65 && appData[5] === 0) { // 'Adobe\\\\\\\\x00'\\\\n this.adobe = {\\\\n version: appData[6],\\\\n flags0: (appData[7] << 8) | appData[8],\\\\n flags1: (appData[9] << 8) | appData[10],\\\\n transformCode: appData[11],\\\\n };\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDB: { // DQT (Define Quantization Tables)\\\\n const quantizationTablesLength = readUint16();\\\\n const quantizationTablesEnd = quantizationTablesLength + offset - 2;\\\\n while (offset < quantizationTablesEnd) {\\\\n const quantizationTableSpec = data[offset++];\\\\n const tableData = new Int32Array(64);\\\\n if ((quantizationTableSpec >> 4) === 0) { // 8 bit values\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = data[offset++];\\\\n }\\\\n } else if ((quantizationTableSpec >> 4) === 1) { // 16 bit\\\\n for (let j = 0; j < 64; j++) {\\\\n const z = dctZigZag[j];\\\\n tableData[z] = readUint16();\\\\n }\\\\n } else {\\\\n throw new Error('DQT: invalid table spec');\\\\n }\\\\n this.quantizationTables[quantizationTableSpec & 15] = tableData;\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC0: // SOF0 (Start of Frame, Baseline DCT)\\\\n case 0xFFC1: // SOF1 (Start of Frame, Extended DCT)\\\\n case 0xFFC2: { // SOF2 (Start of Frame, Progressive DCT)\\\\n readUint16(); // skip data length\\\\n const frame = {\\\\n extended: (fileMarker === 0xFFC1),\\\\n progressive: (fileMarker === 0xFFC2),\\\\n precision: data[offset++],\\\\n scanLines: readUint16(),\\\\n samplesPerLine: readUint16(),\\\\n components: {},\\\\n componentsOrder: [],\\\\n };\\\\n\\\\n const componentsCount = data[offset++];\\\\n let componentId;\\\\n // let maxH = 0;\\\\n // let maxV = 0;\\\\n for (let i = 0; i < componentsCount; i++) {\\\\n componentId = data[offset];\\\\n const h = data[offset + 1] >> 4;\\\\n const v = data[offset + 1] & 15;\\\\n const qId = data[offset + 2];\\\\n frame.componentsOrder.push(componentId);\\\\n frame.components[componentId] = {\\\\n h,\\\\n v,\\\\n quantizationIdx: qId,\\\\n };\\\\n offset += 3;\\\\n }\\\\n prepareComponents(frame);\\\\n this.frames.push(frame);\\\\n break;\\\\n }\\\\n\\\\n case 0xFFC4: { // DHT (Define Huffman Tables)\\\\n const huffmanLength = readUint16();\\\\n for (let i = 2; i < huffmanLength;) {\\\\n const huffmanTableSpec = data[offset++];\\\\n const codeLengths = new Uint8Array(16);\\\\n let codeLengthSum = 0;\\\\n for (let j = 0; j < 16; j++, offset++) {\\\\n codeLengths[j] = data[offset];\\\\n codeLengthSum += codeLengths[j];\\\\n }\\\\n const huffmanValues = new Uint8Array(codeLengthSum);\\\\n for (let j = 0; j < codeLengthSum; j++, offset++) {\\\\n huffmanValues[j] = data[offset];\\\\n }\\\\n i += 17 + codeLengthSum;\\\\n\\\\n if ((huffmanTableSpec >> 4) === 0) {\\\\n this.huffmanTablesDC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n } else {\\\\n this.huffmanTablesAC[huffmanTableSpec & 15] = buildHuffmanTable(\\\\n codeLengths, huffmanValues,\\\\n );\\\\n }\\\\n }\\\\n break;\\\\n }\\\\n\\\\n case 0xFFDD: // DRI (Define Restart Interval)\\\\n readUint16(); // skip data length\\\\n this.resetInterval = readUint16();\\\\n break;\\\\n\\\\n case 0xFFDA: { // SOS (Start of Scan)\\\\n readUint16(); // skip length\\\\n const selectorsCount = data[offset++];\\\\n const components = [];\\\\n const frame = this.frames[0];\\\\n for (let i = 0; i < selectorsCount; i++) {\\\\n const component = frame.components[data[offset++]];\\\\n const tableSpec = data[offset++];\\\\n component.huffmanTableDC = this.huffmanTablesDC[tableSpec >> 4];\\\\n component.huffmanTableAC = this.huffmanTablesAC[tableSpec & 15];\\\\n components.push(component);\\\\n }\\\\n const spectralStart = data[offset++];\\\\n const spectralEnd = data[offset++];\\\\n const successiveApproximation = data[offset++];\\\\n const processed = decodeScan(data, offset,\\\\n frame, components, this.resetInterval,\\\\n spectralStart, spectralEnd,\\\\n successiveApproximation >> 4, successiveApproximation & 15);\\\\n offset += processed;\\\\n break;\\\\n }\\\\n\\\\n case 0xFFFF: // Fill bytes\\\\n if (data[offset] !== 0xFF) { // Avoid skipping a valid marker.\\\\n offset--;\\\\n }\\\\n break;\\\\n\\\\n default:\\\\n if (data[offset - 3] === 0xFF\\\\n && data[offset - 2] >= 0xC0 && data[offset - 2] <= 0xFE) {\\\\n // could be incorrect encoding -- last 0xFF byte of the previous\\\\n // block was eaten by the encoder\\\\n offset -= 3;\\\\n break;\\\\n }\\\\n throw new Error(`unknown JPEG marker ${fileMarker.toString(16)}`);\\\\n }\\\\n fileMarker = readUint16();\\\\n }\\\\n }\\\\n\\\\n getResult() {\\\\n const { frames } = this;\\\\n if (this.frames.length === 0) {\\\\n throw new Error('no frames were decoded');\\\\n } else if (this.frames.length > 1) {\\\\n console.warn('more than one frame is not supported');\\\\n }\\\\n\\\\n // set each frame's components quantization table\\\\n for (let i = 0; i < this.frames.length; i++) {\\\\n const cp = this.frames[i].components;\\\\n for (const j of Object.keys(cp)) {\\\\n cp[j].quantizationTable = this.quantizationTables[cp[j].quantizationIdx];\\\\n delete cp[j].quantizationIdx;\\\\n }\\\\n }\\\\n\\\\n const frame = frames[0];\\\\n const { components, componentsOrder } = frame;\\\\n const outComponents = [];\\\\n const width = frame.samplesPerLine;\\\\n const height = frame.scanLines;\\\\n\\\\n for (let i = 0; i < componentsOrder.length; i++) {\\\\n const component = components[componentsOrder[i]];\\\\n outComponents.push({\\\\n lines: buildComponentData(frame, component),\\\\n scaleX: component.h / frame.maxH,\\\\n scaleY: component.v / frame.maxV,\\\\n });\\\\n }\\\\n\\\\n const out = new Uint8Array(width * height * outComponents.length);\\\\n let oi = 0;\\\\n for (let y = 0; y < height; ++y) {\\\\n for (let x = 0; x < width; ++x) {\\\\n for (let i = 0; i < outComponents.length; ++i) {\\\\n const component = outComponents[i];\\\\n out[oi] = component.lines[0 | y * component.scaleY][0 | x * component.scaleX];\\\\n ++oi;\\\\n }\\\\n }\\\\n }\\\\n return out;\\\\n }\\\\n}\\\\n\\\\nclass JpegDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor(fileDirectory) {\\\\n super();\\\\n this.reader = new JpegStreamReader();\\\\n if (fileDirectory.JPEGTables) {\\\\n this.reader.parse(fileDirectory.JPEGTables);\\\\n }\\\\n }\\\\n\\\\n decodeBlock(buffer) {\\\\n this.reader.resetFrames();\\\\n this.reader.parse(new Uint8Array(buffer));\\\\n return this.reader.getResult().buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/jpeg.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/lzw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/lzw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return LZWDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nconst MIN_BITS = 9;\\\\nconst CLEAR_CODE = 256; // clear code\\\\nconst EOI_CODE = 257; // end of information\\\\nconst MAX_BYTELENGTH = 12;\\\\n\\\\nfunction getByte(array, position, length) {\\\\n const d = position % 8;\\\\n const a = Math.floor(position / 8);\\\\n const de = 8 - d;\\\\n const ef = (position + length) - ((a + 1) * 8);\\\\n let fg = (8 * (a + 2)) - (position + length);\\\\n const dg = ((a + 2) * 8) - position;\\\\n fg = Math.max(0, fg);\\\\n if (a >= array.length) {\\\\n console.warn('ran off the end of the buffer before finding EOI_CODE (end on input code)');\\\\n return EOI_CODE;\\\\n }\\\\n let chunk1 = array[a] & ((2 ** (8 - d)) - 1);\\\\n chunk1 <<= (length - de);\\\\n let chunks = chunk1;\\\\n if (a + 1 < array.length) {\\\\n let chunk2 = array[a + 1] >>> fg;\\\\n chunk2 <<= Math.max(0, (length - dg));\\\\n chunks += chunk2;\\\\n }\\\\n if (ef > 8 && a + 2 < array.length) {\\\\n const hi = ((a + 3) * 8) - (position + length);\\\\n const chunk3 = array[a + 2] >>> hi;\\\\n chunks += chunk3;\\\\n }\\\\n return chunks;\\\\n}\\\\n\\\\nfunction appendReversed(dest, source) {\\\\n for (let i = source.length - 1; i >= 0; i--) {\\\\n dest.push(source[i]);\\\\n }\\\\n return dest;\\\\n}\\\\n\\\\nfunction decompress(input) {\\\\n const dictionaryIndex = new Uint16Array(4093);\\\\n const dictionaryChar = new Uint8Array(4093);\\\\n for (let i = 0; i <= 257; i++) {\\\\n dictionaryIndex[i] = 4096;\\\\n dictionaryChar[i] = i;\\\\n }\\\\n let dictionaryLength = 258;\\\\n let byteLength = MIN_BITS;\\\\n let position = 0;\\\\n\\\\n function initDictionary() {\\\\n dictionaryLength = 258;\\\\n byteLength = MIN_BITS;\\\\n }\\\\n function getNext(array) {\\\\n const byte = getByte(array, position, byteLength);\\\\n position += byteLength;\\\\n return byte;\\\\n }\\\\n function addToDictionary(i, c) {\\\\n dictionaryChar[dictionaryLength] = c;\\\\n dictionaryIndex[dictionaryLength] = i;\\\\n dictionaryLength++;\\\\n return dictionaryLength - 1;\\\\n }\\\\n function getDictionaryReversed(n) {\\\\n const rev = [];\\\\n for (let i = n; i !== 4096; i = dictionaryIndex[i]) {\\\\n rev.push(dictionaryChar[i]);\\\\n }\\\\n return rev;\\\\n }\\\\n\\\\n const result = [];\\\\n initDictionary();\\\\n const array = new Uint8Array(input);\\\\n let code = getNext(array);\\\\n let oldCode;\\\\n while (code !== EOI_CODE) {\\\\n if (code === CLEAR_CODE) {\\\\n initDictionary();\\\\n code = getNext(array);\\\\n while (code === CLEAR_CODE) {\\\\n code = getNext(array);\\\\n }\\\\n\\\\n if (code === EOI_CODE) {\\\\n break;\\\\n } else if (code > CLEAR_CODE) {\\\\n throw new Error(`corrupted code at scanline ${code}`);\\\\n } else {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n oldCode = code;\\\\n }\\\\n } else if (code < dictionaryLength) {\\\\n const val = getDictionaryReversed(code);\\\\n appendReversed(result, val);\\\\n addToDictionary(oldCode, val[val.length - 1]);\\\\n oldCode = code;\\\\n } else {\\\\n const oldVal = getDictionaryReversed(oldCode);\\\\n if (!oldVal) {\\\\n throw new Error(`Bogus entry. Not in dictionary, ${oldCode} / ${dictionaryLength}, position: ${position}`);\\\\n }\\\\n appendReversed(result, oldVal);\\\\n result.push(oldVal[oldVal.length - 1]);\\\\n addToDictionary(oldCode, oldVal[oldVal.length - 1]);\\\\n oldCode = code;\\\\n }\\\\n\\\\n if (dictionaryLength + 1 >= (2 ** byteLength)) {\\\\n if (byteLength === MAX_BYTELENGTH) {\\\\n oldCode = undefined;\\\\n } else {\\\\n byteLength++;\\\\n }\\\\n }\\\\n code = getNext(array);\\\\n }\\\\n return new Uint8Array(result);\\\\n}\\\\n\\\\nclass LZWDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return decompress(buffer, false).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/lzw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/packbits.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/packbits.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return PackbitsDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass PackbitsDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n const dataView = new DataView(buffer);\\\\n const out = [];\\\\n\\\\n for (let i = 0; i < buffer.byteLength; ++i) {\\\\n let header = dataView.getInt8(i);\\\\n if (header < 0) {\\\\n const next = dataView.getUint8(i + 1);\\\\n header = -header;\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(next);\\\\n }\\\\n i += 1;\\\\n } else {\\\\n for (let j = 0; j <= header; ++j) {\\\\n out.push(dataView.getUint8(i + j + 1));\\\\n }\\\\n i += header + 1;\\\\n }\\\\n }\\\\n return new Uint8Array(out).buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/packbits.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/compression/raw.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/compression/raw.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return RawDecoder; });\\\\n/* harmony import */ var _basedecoder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basedecoder */ \\\\\\\"./node_modules/geotiff/src/compression/basedecoder.js\\\\\\\");\\\\n\\\\n\\\\n\\\\nclass RawDecoder extends _basedecoder__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n decodeBlock(buffer) {\\\\n return buffer;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/compression/raw.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataslice.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataslice.js ***!\\n \\\\***********************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataSlice; });\\\\nclass DataSlice {\\\\n constructor(arrayBuffer, sliceOffset, littleEndian, bigTiff) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n this._sliceOffset = sliceOffset;\\\\n this._littleEndian = littleEndian;\\\\n this._bigTiff = bigTiff;\\\\n }\\\\n\\\\n get sliceOffset() {\\\\n return this._sliceOffset;\\\\n }\\\\n\\\\n get sliceTop() {\\\\n return this._sliceOffset + this.buffer.byteLength;\\\\n }\\\\n\\\\n get littleEndian() {\\\\n return this._littleEndian;\\\\n }\\\\n\\\\n get bigTiff() {\\\\n return this._bigTiff;\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n covers(offset, length) {\\\\n return this.sliceOffset <= offset && this.sliceTop >= offset + length;\\\\n }\\\\n\\\\n readUint8(offset) {\\\\n return this._dataView.getUint8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt8(offset) {\\\\n return this._dataView.getInt8(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint16(offset) {\\\\n return this._dataView.getUint16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt16(offset) {\\\\n return this._dataView.getInt16(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint32(offset) {\\\\n return this._dataView.getUint32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readInt32(offset) {\\\\n return this._dataView.getInt32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat32(offset) {\\\\n return this._dataView.getFloat32(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readFloat64(offset) {\\\\n return this._dataView.getFloat64(\\\\n offset - this._sliceOffset, this._littleEndian,\\\\n );\\\\n }\\\\n\\\\n readUint64(offset) {\\\\n const left = this.readUint32(offset);\\\\n const right = this.readUint32(offset + 4);\\\\n let combined;\\\\n if (this._littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`,\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n readInt64(offset) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (this._littleEndian ? 7 : 0)) & 0x80) >\\\\n 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(\\\\n offset + (this._littleEndian ? i : 7 - i)\\\\n );\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value\\\\n }\\\\n\\\\n readOffset(offset) {\\\\n if (this._bigTiff) {\\\\n return this.readUint64(offset);\\\\n }\\\\n return this.readUint32(offset);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataslice.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/dataview64.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/dataview64.js ***!\\n \\\\************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return DataView64; });\\\\nclass DataView64 {\\\\n constructor(arrayBuffer) {\\\\n this._dataView = new DataView(arrayBuffer);\\\\n }\\\\n\\\\n get buffer() {\\\\n return this._dataView.buffer;\\\\n }\\\\n\\\\n getUint64(offset, littleEndian) {\\\\n const left = this.getUint32(offset, littleEndian);\\\\n const right = this.getUint32(offset + 4, littleEndian);\\\\n let combined;\\\\n if (littleEndian) {\\\\n combined = left + 2 ** 32 * right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n return combined;\\\\n }\\\\n combined = 2 ** 32 * left + right;\\\\n if (!Number.isSafeInteger(combined)) {\\\\n throw new Error(\\\\n `${combined} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`\\\\n );\\\\n }\\\\n\\\\n return combined;\\\\n }\\\\n\\\\n // adapted from https://stackoverflow.com/a/55338384/8060591\\\\n getInt64(offset, littleEndian) {\\\\n let value = 0;\\\\n const isNegative =\\\\n (this._dataView.getUint8(offset + (littleEndian ? 7 : 0)) & 0x80) > 0;\\\\n let carrying = true;\\\\n for (let i = 0; i < 8; i++) {\\\\n let byte = this._dataView.getUint8(offset + (littleEndian ? i : 7 - i));\\\\n if (isNegative) {\\\\n if (carrying) {\\\\n if (byte !== 0x00) {\\\\n byte = ~(byte - 1) & 0xff;\\\\n carrying = false;\\\\n }\\\\n } else {\\\\n byte = ~byte & 0xff;\\\\n }\\\\n }\\\\n value += byte * 256 ** i;\\\\n }\\\\n if (isNegative) {\\\\n value = -value;\\\\n }\\\\n return value;\\\\n }\\\\n\\\\n getUint8(offset, littleEndian) {\\\\n return this._dataView.getUint8(offset, littleEndian);\\\\n }\\\\n\\\\n getInt8(offset, littleEndian) {\\\\n return this._dataView.getInt8(offset, littleEndian);\\\\n }\\\\n\\\\n getUint16(offset, littleEndian) {\\\\n return this._dataView.getUint16(offset, littleEndian);\\\\n }\\\\n\\\\n getInt16(offset, littleEndian) {\\\\n return this._dataView.getInt16(offset, littleEndian);\\\\n }\\\\n\\\\n getUint32(offset, littleEndian) {\\\\n return this._dataView.getUint32(offset, littleEndian);\\\\n }\\\\n\\\\n getInt32(offset, littleEndian) {\\\\n return this._dataView.getInt32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat32(offset, littleEndian) {\\\\n return this._dataView.getFloat32(offset, littleEndian);\\\\n }\\\\n\\\\n getFloat64(offset, littleEndian) {\\\\n return this._dataView.getFloat64(offset, littleEndian);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/dataview64.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiff.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiff.js ***!\\n \\\\*********************************************/\\n/*! exports provided: globals, rgb, getDecoder, setLogger, GeoTIFF, default, MultiGeoTIFF, fromUrl, fromArrayBuffer, fromFile, fromBlob, fromUrls, writeArrayBuffer, Pool */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"GeoTIFF\\\\\\\", function() { return GeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"MultiGeoTIFF\\\\\\\", function() { return MultiGeoTIFF; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrl\\\\\\\", function() { return fromUrl; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromArrayBuffer\\\\\\\", function() { return fromArrayBuffer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromFile\\\\\\\", function() { return fromFile; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlob\\\\\\\", function() { return fromBlob; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromUrls\\\\\\\", function() { return fromUrls; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeArrayBuffer\\\\\\\", function() { return writeArrayBuffer; });\\\\n/* harmony import */ var _geotiffimage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./geotiffimage */ \\\\\\\"./node_modules/geotiff/src/geotiffimage.js\\\\\\\");\\\\n/* harmony import */ var _dataview64__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dataview64 */ \\\\\\\"./node_modules/geotiff/src/dataview64.js\\\\\\\");\\\\n/* harmony import */ var _dataslice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dataslice */ \\\\\\\"./node_modules/geotiff/src/dataslice.js\\\\\\\");\\\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pool */ \\\\\\\"./node_modules/geotiff/src/pool.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _pool__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _source__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source */ \\\\\\\"./node_modules/geotiff/src/source.js\\\\\\\");\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _geotiffwriter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./geotiffwriter */ \\\\\\\"./node_modules/geotiff/src/geotiffwriter.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"globals\\\\\\\", function() { return _globals__WEBPACK_IMPORTED_MODULE_5__; });\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"rgb\\\\\\\", function() { return _rgb__WEBPACK_IMPORTED_MODULE_7__; });\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getDecoder\\\\\\\", function() { return _compression__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"getDecoder\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _logging__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./logging */ \\\\\\\"./node_modules/geotiff/src/logging.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return _logging__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"setLogger\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction getFieldTypeLength(fieldType) {\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n return 1;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n return 2;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n return 4;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n return 8;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n}\\\\n\\\\nfunction parseGeoKeyDirectory(fileDirectory) {\\\\n const rawGeoKeyDirectory = fileDirectory.GeoKeyDirectory;\\\\n if (!rawGeoKeyDirectory) {\\\\n return null;\\\\n }\\\\n\\\\n const geoKeyDirectory = {};\\\\n for (let i = 4; i <= rawGeoKeyDirectory[3] * 4; i += 4) {\\\\n const key = _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"geoKeyNames\\\\\\\"][rawGeoKeyDirectory[i]];\\\\n const location = (rawGeoKeyDirectory[i + 1])\\\\n ? (_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][rawGeoKeyDirectory[i + 1]]) : null;\\\\n const count = rawGeoKeyDirectory[i + 2];\\\\n const offset = rawGeoKeyDirectory[i + 3];\\\\n\\\\n let value = null;\\\\n if (!location) {\\\\n value = offset;\\\\n } else {\\\\n value = fileDirectory[location];\\\\n if (typeof value === 'undefined' || value === null) {\\\\n throw new Error(`Could not get value of geoKey '${key}'.`);\\\\n } else if (typeof value === 'string') {\\\\n value = value.substring(offset, offset + count - 1);\\\\n } else if (value.subarray) {\\\\n value = value.subarray(offset, offset + count);\\\\n if (count === 1) {\\\\n value = value[0];\\\\n }\\\\n }\\\\n }\\\\n geoKeyDirectory[key] = value;\\\\n }\\\\n return geoKeyDirectory;\\\\n}\\\\n\\\\nfunction getValues(dataSlice, fieldType, count, offset) {\\\\n let values = null;\\\\n let readMethod = null;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n\\\\n switch (fieldType) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].BYTE: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].UNDEFINED:\\\\n values = new Uint8Array(count); readMethod = dataSlice.readUint8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SBYTE:\\\\n values = new Int8Array(count); readMethod = dataSlice.readInt8;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SHORT:\\\\n values = new Uint16Array(count); readMethod = dataSlice.readUint16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SSHORT:\\\\n values = new Int16Array(count); readMethod = dataSlice.readInt16;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD:\\\\n values = new Uint32Array(count); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG:\\\\n values = new Int32Array(count); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].LONG8: case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].IFD8:\\\\n values = new Array(count); readMethod = dataSlice.readUint64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SLONG8:\\\\n values = new Array(count); readMethod = dataSlice.readInt64;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL:\\\\n values = new Uint32Array(count * 2); readMethod = dataSlice.readUint32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL:\\\\n values = new Int32Array(count * 2); readMethod = dataSlice.readInt32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].FLOAT:\\\\n values = new Float32Array(count); readMethod = dataSlice.readFloat32;\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].DOUBLE:\\\\n values = new Float64Array(count); readMethod = dataSlice.readFloat64;\\\\n break;\\\\n default:\\\\n throw new RangeError(`Invalid field type: ${fieldType}`);\\\\n }\\\\n\\\\n // normal fields\\\\n if (!(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n for (let i = 0; i < count; ++i) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n }\\\\n } else { // RATIONAL or SRATIONAL\\\\n for (let i = 0; i < count; i += 2) {\\\\n values[i] = readMethod.call(\\\\n dataSlice, offset + (i * fieldTypeLength),\\\\n );\\\\n values[i + 1] = readMethod.call(\\\\n dataSlice, offset + ((i * fieldTypeLength) + 4),\\\\n );\\\\n }\\\\n }\\\\n\\\\n if (fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII) {\\\\n return String.fromCharCode.apply(null, values);\\\\n }\\\\n return values;\\\\n}\\\\n\\\\n/**\\\\n * Data class to store the parsed file directory, geo key directory and\\\\n * offset to the next IFD\\\\n */\\\\nclass ImageFileDirectory {\\\\n constructor(fileDirectory, geoKeyDirectory, nextIFDByteOffset) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeyDirectory = geoKeyDirectory;\\\\n this.nextIFDByteOffset = nextIFDByteOffset;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Error class for cases when an IFD index was requested, that does not exist\\\\n * in the file.\\\\n */\\\\nclass GeoTIFFImageIndexError extends Error {\\\\n constructor(index) {\\\\n super(`No image at index ${index}`);\\\\n this.index = index;\\\\n }\\\\n}\\\\n\\\\n\\\\nclass GeoTIFFBase {\\\\n /**\\\\n * (experimental) Reads raster data from the best fitting image. This function uses\\\\n * the image with the lowest resolution that is still a higher resolution than the\\\\n * requested resolution.\\\\n * When specified, the `bbox` option is translated to the `window` option and the\\\\n * `resX` and `resY` to `width` and `height` respectively.\\\\n * Then, the [readRasters]{@link GeoTIFFImage#readRasters} method of the selected\\\\n * image is called and the result returned.\\\\n * @see GeoTIFFImage.readRasters\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.bbox=whole image] the subset to read data from in\\\\n * geographical coordinates.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {Number} [options.width] The desired width of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {Number} [options.height] The desired height of the output. When the width is not the\\\\n * same as the images, resampling will be performed.\\\\n * @param {String} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {Number|Number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When multiple\\\\n * samples are requested, an array of fill values\\\\n * can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters(options = {}) {\\\\n const { window: imageWindow, width, height } = options;\\\\n let { resX, resY, bbox } = options;\\\\n\\\\n const firstImage = await this.getImage();\\\\n let usedImage = firstImage;\\\\n const imageCount = await this.getImageCount();\\\\n const imgBBox = firstImage.getBoundingBox();\\\\n\\\\n if (imageWindow && bbox) {\\\\n throw new Error('Both \\\\\\\"bbox\\\\\\\" and \\\\\\\"window\\\\\\\" passed.');\\\\n }\\\\n\\\\n // if width/height is passed, transform it to resolution\\\\n if (width || height) {\\\\n // if we have an image window (pixel coordinates), transform it to a BBox\\\\n // using the origin/resolution of the first image.\\\\n if (imageWindow) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [rX, rY] = firstImage.getResolution();\\\\n\\\\n bbox = [\\\\n oX + (imageWindow[0] * rX),\\\\n oY + (imageWindow[1] * rY),\\\\n oX + (imageWindow[2] * rX),\\\\n oY + (imageWindow[3] * rY),\\\\n ];\\\\n }\\\\n\\\\n // if we have a bbox (or calculated one)\\\\n\\\\n const usedBBox = bbox || imgBBox;\\\\n\\\\n if (width) {\\\\n if (resX) {\\\\n throw new Error('Both width and resX passed');\\\\n }\\\\n resX = (usedBBox[2] - usedBBox[0]) / width;\\\\n }\\\\n if (height) {\\\\n if (resY) {\\\\n throw new Error('Both width and resY passed');\\\\n }\\\\n resY = (usedBBox[3] - usedBBox[1]) / height;\\\\n }\\\\n }\\\\n\\\\n // if resolution is set or calculated, try to get the image with the worst acceptable resolution\\\\n if (resX || resY) {\\\\n const allImages = [];\\\\n for (let i = 0; i < imageCount; ++i) {\\\\n const image = await this.getImage(i);\\\\n const { SubfileType: subfileType, NewSubfileType: newSubfileType } = image.fileDirectory;\\\\n if (i === 0 || subfileType === 2 || newSubfileType & 1) {\\\\n allImages.push(image);\\\\n }\\\\n }\\\\n\\\\n allImages.sort((a, b) => a.getWidth() - b.getWidth());\\\\n for (let i = 0; i < allImages.length; ++i) {\\\\n const image = allImages[i];\\\\n const imgResX = (imgBBox[2] - imgBBox[0]) / image.getWidth();\\\\n const imgResY = (imgBBox[3] - imgBBox[1]) / image.getHeight();\\\\n\\\\n usedImage = image;\\\\n if ((resX && resX > imgResX) || (resY && resY > imgResY)) {\\\\n break;\\\\n }\\\\n }\\\\n }\\\\n\\\\n let wnd = imageWindow;\\\\n if (bbox) {\\\\n const [oX, oY] = firstImage.getOrigin();\\\\n const [imageResX, imageResY] = usedImage.getResolution(firstImage);\\\\n\\\\n wnd = [\\\\n Math.round((bbox[0] - oX) / imageResX),\\\\n Math.round((bbox[1] - oY) / imageResY),\\\\n Math.round((bbox[2] - oX) / imageResX),\\\\n Math.round((bbox[3] - oY) / imageResY),\\\\n ];\\\\n wnd = [\\\\n Math.min(wnd[0], wnd[2]),\\\\n Math.min(wnd[1], wnd[3]),\\\\n Math.max(wnd[0], wnd[2]),\\\\n Math.max(wnd[1], wnd[3]),\\\\n ];\\\\n }\\\\n\\\\n return usedImage.readRasters({ ...options, window: wnd });\\\\n }\\\\n}\\\\n\\\\n\\\\n/**\\\\n * The abstraction for a whole GeoTIFF file.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass GeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * @constructor\\\\n * @param {Source} source The datasource to read from.\\\\n * @param {Boolean} littleEndian Whether the image uses little endian.\\\\n * @param {Boolean} bigTiff Whether the image uses bigTIFF conventions.\\\\n * @param {Number} firstIFDOffset The numeric byte-offset from the start of the image\\\\n * to the first IFD.\\\\n * @param {Object} [options] further options.\\\\n * @param {Boolean} [options.cache=false] whether or not decoded tiles shall be cached.\\\\n */\\\\n constructor(source, littleEndian, bigTiff, firstIFDOffset, options = {}) {\\\\n super();\\\\n this.source = source;\\\\n this.littleEndian = littleEndian;\\\\n this.bigTiff = bigTiff;\\\\n this.firstIFDOffset = firstIFDOffset;\\\\n this.cache = options.cache || false;\\\\n this.ifdRequests = [];\\\\n this.ghostValues = null;\\\\n }\\\\n\\\\n async getSlice(offset, size) {\\\\n const fallbackSize = this.bigTiff ? 4048 : 1024;\\\\n return new _dataslice__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](\\\\n await this.source.fetch(\\\\n offset, typeof size !== 'undefined' ? size : fallbackSize,\\\\n ), offset, this.littleEndian, this.bigTiff,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Instructs to parse an image file directory at the given file offset.\\\\n * As there is no way to ensure that a location is indeed the start of an IFD,\\\\n * this function must be called with caution (e.g only using the IFD offsets from\\\\n * the headers or other IFDs).\\\\n * @param {number} offset the offset to parse the IFD at\\\\n * @returns {ImageFileDirectory} the parsed IFD\\\\n */\\\\n async parseFileDirectoryAt(offset) {\\\\n const entrySize = this.bigTiff ? 20 : 12;\\\\n const offsetSize = this.bigTiff ? 8 : 2;\\\\n\\\\n let dataSlice = await this.getSlice(offset);\\\\n const numDirEntries = this.bigTiff ?\\\\n dataSlice.readUint64(offset) :\\\\n dataSlice.readUint16(offset);\\\\n\\\\n // if the slice does not cover the whole IFD, request a bigger slice, where the\\\\n // whole IFD fits: num of entries + n x tag length + offset to next IFD\\\\n const byteSize = (numDirEntries * entrySize) + (this.bigTiff ? 16 : 6);\\\\n if (!dataSlice.covers(offset, byteSize)) {\\\\n dataSlice = await this.getSlice(offset, byteSize);\\\\n }\\\\n\\\\n const fileDirectory = {};\\\\n\\\\n // loop over the IFD and create a file directory object\\\\n let i = offset + (this.bigTiff ? 8 : 2);\\\\n for (let entryCount = 0; entryCount < numDirEntries; i += entrySize, ++entryCount) {\\\\n const fieldTag = dataSlice.readUint16(i);\\\\n const fieldType = dataSlice.readUint16(i + 2);\\\\n const typeCount = this.bigTiff ?\\\\n dataSlice.readUint64(i + 4) :\\\\n dataSlice.readUint32(i + 4);\\\\n\\\\n let fieldValues;\\\\n let value;\\\\n const fieldTypeLength = getFieldTypeLength(fieldType);\\\\n const valueOffset = i + (this.bigTiff ? 12 : 8);\\\\n\\\\n // check whether the value is directly encoded in the tag or refers to a\\\\n // different external byte range\\\\n if (fieldTypeLength * typeCount <= (this.bigTiff ? 8 : 4)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, valueOffset);\\\\n } else {\\\\n // resolve the reference to the actual byte range\\\\n const actualOffset = dataSlice.readOffset(valueOffset);\\\\n const length = getFieldTypeLength(fieldType) * typeCount;\\\\n\\\\n // check, whether we actually cover the referenced byte range; if not,\\\\n // request a new slice of bytes to read from it\\\\n if (dataSlice.covers(actualOffset, length)) {\\\\n fieldValues = getValues(dataSlice, fieldType, typeCount, actualOffset);\\\\n } else {\\\\n const fieldDataSlice = await this.getSlice(actualOffset, length);\\\\n fieldValues = getValues(fieldDataSlice, fieldType, typeCount, actualOffset);\\\\n }\\\\n }\\\\n\\\\n // unpack single values from the array\\\\n if (typeCount === 1 && _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"arrayFields\\\\\\\"].indexOf(fieldTag) === -1 &&\\\\n !(fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].RATIONAL || fieldType === _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].SRATIONAL)) {\\\\n value = fieldValues[0];\\\\n } else {\\\\n value = fieldValues;\\\\n }\\\\n\\\\n // write the tags value to the file directly\\\\n fileDirectory[_globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTagNames\\\\\\\"][fieldTag]] = value;\\\\n }\\\\n const geoKeyDirectory = parseGeoKeyDirectory(fileDirectory);\\\\n const nextIFDByteOffset = dataSlice.readOffset(\\\\n offset + offsetSize + (entrySize * numDirEntries),\\\\n );\\\\n\\\\n return new ImageFileDirectory(\\\\n fileDirectory,\\\\n geoKeyDirectory,\\\\n nextIFDByteOffset,\\\\n );\\\\n }\\\\n\\\\n async requestIFD(index) {\\\\n // see if we already have that IFD index requested.\\\\n if (this.ifdRequests[index]) {\\\\n // attach to an already requested IFD\\\\n return this.ifdRequests[index];\\\\n } else if (index === 0) {\\\\n // special case for index 0\\\\n this.ifdRequests[index] = this.parseFileDirectoryAt(this.firstIFDOffset);\\\\n return this.ifdRequests[index];\\\\n } else if (!this.ifdRequests[index - 1]) {\\\\n // if the previous IFD was not yet loaded, load that one first\\\\n // this is the recursive call.\\\\n try {\\\\n this.ifdRequests[index - 1] = this.requestIFD(index - 1);\\\\n } catch (e) {\\\\n // if the previous one already was an index error, rethrow\\\\n // with the current index\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n // rethrow anything else\\\\n throw e;\\\\n }\\\\n }\\\\n // if the previous IFD was loaded, we can finally fetch the one we are interested in.\\\\n // we need to wrap this in an IIFE, otherwise this.ifdRequests[index] would be delayed\\\\n this.ifdRequests[index] = (async () => {\\\\n const previousIfd = await this.ifdRequests[index - 1];\\\\n if (previousIfd.nextIFDByteOffset === 0) {\\\\n throw new GeoTIFFImageIndexError(index);\\\\n }\\\\n return this.parseFileDirectoryAt(previousIfd.nextIFDByteOffset);\\\\n })();\\\\n return this.ifdRequests[index];\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n const ifd = await this.requestIFD(index);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, ifd.geoKeyDirectory,\\\\n this.dataView, this.littleEndian, this.cache, this.source,\\\\n );\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n let index = 0;\\\\n // loop until we run out of IFDs\\\\n let hasNext = true;\\\\n while (hasNext) {\\\\n try {\\\\n await this.requestIFD(index);\\\\n ++index;\\\\n } catch (e) {\\\\n if (e instanceof GeoTIFFImageIndexError) {\\\\n hasNext = false;\\\\n } else {\\\\n throw e;\\\\n }\\\\n }\\\\n }\\\\n return index;\\\\n }\\\\n\\\\n /**\\\\n * Get the values of the COG ghost area as a parsed map.\\\\n * See https://gdal.org/drivers/raster/cog.html#header-ghost-area for reference\\\\n * @returns {Object} the parsed ghost area or null, if no such area was found\\\\n */\\\\n async getGhostValues() {\\\\n const offset = this.bigTiff ? 16 : 8;\\\\n if (this.ghostValues) {\\\\n return this.ghostValues;\\\\n }\\\\n const detectionString = 'GDAL_STRUCTURAL_METADATA_SIZE=';\\\\n const heuristicAreaSize = detectionString.length + 100;\\\\n let slice = await this.getSlice(offset, heuristicAreaSize);\\\\n if (detectionString === getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, detectionString.length, offset)) {\\\\n const valuesString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, heuristicAreaSize, offset);\\\\n const firstLine = valuesString.split('\\\\\\\\n')[0];\\\\n const metadataSize = Number(firstLine.split('=')[1].split(' ')[0]) + firstLine.length;\\\\n if (metadataSize > heuristicAreaSize) {\\\\n slice = await this.getSlice(offset, metadataSize);\\\\n }\\\\n const fullString = getValues(slice, _globals__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"fieldTypes\\\\\\\"].ASCII, metadataSize, offset);\\\\n this.ghostValues = {};\\\\n fullString\\\\n .split('\\\\\\\\n')\\\\n .filter(line => line.length > 0)\\\\n .map(line => line.split('='))\\\\n .forEach(([key, value]) => {\\\\n this.ghostValues[key] = value;\\\\n });\\\\n }\\\\n return this.ghostValues;\\\\n }\\\\n\\\\n /**\\\\n * Parse a (Geo)TIFF file from the given source.\\\\n *\\\\n * @param {source~Source} source The source of data to parse from.\\\\n * @param {object} options Additional options.\\\\n */\\\\n static async fromSource(source, options) {\\\\n const headerData = await source.fetch(0, 1024);\\\\n const dataView = new _dataview64__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](headerData);\\\\n\\\\n const BOM = dataView.getUint16(0, 0);\\\\n let littleEndian;\\\\n if (BOM === 0x4949) {\\\\n littleEndian = true;\\\\n } else if (BOM === 0x4D4D) {\\\\n littleEndian = false;\\\\n } else {\\\\n throw new TypeError('Invalid byte order value.');\\\\n }\\\\n\\\\n const magicNumber = dataView.getUint16(2, littleEndian);\\\\n let bigTiff;\\\\n if (magicNumber === 42) {\\\\n bigTiff = false;\\\\n } else if (magicNumber === 43) {\\\\n bigTiff = true;\\\\n const offsetByteSize = dataView.getUint16(4, littleEndian);\\\\n if (offsetByteSize !== 8) {\\\\n throw new Error('Unsupported offset byte-size.');\\\\n }\\\\n } else {\\\\n throw new TypeError('Invalid magic number.');\\\\n }\\\\n\\\\n const firstIFDOffset = bigTiff\\\\n ? dataView.getUint64(8, littleEndian)\\\\n : dataView.getUint32(4, littleEndian);\\\\n return new GeoTIFF(source, littleEndian, bigTiff, firstIFDOffset, options);\\\\n }\\\\n\\\\n /**\\\\n * Closes the underlying file buffer\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n */\\\\n close() {\\\\n if (typeof this.source.close === 'function') {\\\\n return this.source.close();\\\\n }\\\\n return false;\\\\n }\\\\n}\\\\n\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFF);\\\\n\\\\n/**\\\\n * Wrapper for GeoTIFF files that have external overviews.\\\\n * @augments GeoTIFFBase\\\\n */\\\\nclass MultiGeoTIFF extends GeoTIFFBase {\\\\n /**\\\\n * Construct a new MultiGeoTIFF from a main and several overview files.\\\\n * @param {GeoTIFF} mainFile The main GeoTIFF file.\\\\n * @param {GeoTIFF[]} overviewFiles An array of overview files.\\\\n */\\\\n constructor(mainFile, overviewFiles) {\\\\n super();\\\\n this.mainFile = mainFile;\\\\n this.overviewFiles = overviewFiles;\\\\n this.imageFiles = [mainFile].concat(overviewFiles);\\\\n\\\\n this.fileDirectoriesPerFile = null;\\\\n this.fileDirectoriesPerFileParsing = null;\\\\n this.imageCount = null;\\\\n }\\\\n\\\\n async parseFileDirectoriesPerFile() {\\\\n const requests = [this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)]\\\\n .concat(this.overviewFiles.map((file) => file.parseFileDirectoryAt(file.firstIFDOffset)));\\\\n\\\\n this.fileDirectoriesPerFile = await Promise.all(requests);\\\\n return this.fileDirectoriesPerFile;\\\\n }\\\\n\\\\n /**\\\\n * Get the n-th internal subfile of an image. By default, the first is returned.\\\\n *\\\\n * @param {Number} [index=0] the index of the image to return.\\\\n * @returns {GeoTIFFImage} the image at the given index\\\\n */\\\\n async getImage(index = 0) {\\\\n await this.getImageCount();\\\\n await this.parseFileDirectoriesPerFile();\\\\n let visited = 0;\\\\n let relativeIndex = 0;\\\\n for (let i = 0; i < this.imageFiles.length; i++) {\\\\n const imageFile = this.imageFiles[i];\\\\n for (let ii = 0; ii < this.imageCounts[i]; ii++) {\\\\n if (index === visited) {\\\\n const ifd = await imageFile.requestIFD(relativeIndex);\\\\n return new _geotiffimage__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](\\\\n ifd.fileDirectory, imageFile.geoKeyDirectory,\\\\n imageFile.dataView, imageFile.littleEndian, imageFile.cache, imageFile.source,\\\\n );\\\\n }\\\\n visited++;\\\\n relativeIndex++;\\\\n }\\\\n relativeIndex = 0;\\\\n }\\\\n\\\\n throw new RangeError('Invalid image index');\\\\n }\\\\n\\\\n /**\\\\n * Returns the count of the internal subfiles.\\\\n *\\\\n * @returns {Number} the number of internal subfile images\\\\n */\\\\n async getImageCount() {\\\\n if (this.imageCount !== null) {\\\\n return this.imageCount;\\\\n }\\\\n const requests = [this.mainFile.getImageCount()]\\\\n .concat(this.overviewFiles.map((file) => file.getImageCount()));\\\\n this.imageCounts = await Promise.all(requests);\\\\n this.imageCount = this.imageCounts.reduce((count, ifds) => count + ifds, 0);\\\\n return this.imageCount;\\\\n }\\\\n}\\\\n\\\\n\\\\n\\\\n/**\\\\n * Creates a new GeoTIFF from a remote URL.\\\\n * @param {string} url The URL to access the image from\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See {@link makeRemoteSource} for details.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromUrl(url, options = {}) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options));\\\\n}\\\\n\\\\n/**\\\\n * Construct a new GeoTIFF from an\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The data to read the file from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromArrayBuffer(arrayBuffer) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeBufferSource\\\\\\\"])(arrayBuffer));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from a local file path. This uses the node\\\\n * [filesystem API]{@link https://nodejs.org/api/fs.html} and is\\\\n * not available on browsers.\\\\n *\\\\n * N.B. After the GeoTIFF has been completely processed it needs\\\\n * to be closed but only if it has been constructed from a file.\\\\n * @param {string} path The file path to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromFile(path) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileSource\\\\\\\"])(path));\\\\n}\\\\n\\\\n/**\\\\n * Construct a GeoTIFF from an HTML\\\\n * [Blob]{@link https://developer.mozilla.org/en-US/docs/Web/API/Blob} or\\\\n * [File]{@link https://developer.mozilla.org/en-US/docs/Web/API/File}\\\\n * object.\\\\n * @param {Blob|File} blob The Blob or File object to read from.\\\\n * @returns {Promise.} The resulting GeoTIFF file.\\\\n */\\\\nasync function fromBlob(blob) {\\\\n return GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeFileReaderSource\\\\\\\"])(blob));\\\\n}\\\\n\\\\n/**\\\\n * Construct a MultiGeoTIFF from the given URLs.\\\\n * @param {string} mainUrl The URL for the main file.\\\\n * @param {string[]} overviewUrls An array of URLs for the overview images.\\\\n * @param {object} [options] Additional options to pass to the source.\\\\n * See [makeRemoteSource]{@link module:source.makeRemoteSource}\\\\n * for details.\\\\n * @returns {Promise.} The resulting MultiGeoTIFF file.\\\\n */\\\\nasync function fromUrls(mainUrl, overviewUrls = [], options = {}) {\\\\n const mainFile = await GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(mainUrl, options));\\\\n const overviewFiles = await Promise.all(\\\\n overviewUrls.map((url) => GeoTIFF.fromSource(Object(_source__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"makeRemoteSource\\\\\\\"])(url, options))),\\\\n );\\\\n\\\\n return new MultiGeoTIFF(mainFile, overviewFiles);\\\\n}\\\\n\\\\n/**\\\\n * Main creating function for GeoTIFF files.\\\\n * @param {(Array)} array of pixel values\\\\n * @returns {metadata} metadata\\\\n */\\\\nasync function writeArrayBuffer(values, metadata) {\\\\n return Object(_geotiffwriter__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"writeGeotiff\\\\\\\"])(values, metadata);\\\\n}\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiff.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffimage.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffimage.js ***!\\n \\\\**************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! txml */ \\\\\\\"./node_modules/txml/tXml.js\\\\\\\");\\\\n/* harmony import */ var txml__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(txml__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _rgb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rgb */ \\\\\\\"./node_modules/geotiff/src/rgb.js\\\\\\\");\\\\n/* harmony import */ var _compression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./compression */ \\\\\\\"./node_modules/geotiff/src/compression/index.js\\\\\\\");\\\\n/* harmony import */ var _resample__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./resample */ \\\\\\\"./node_modules/geotiff/src/resample.js\\\\\\\");\\\\n/* eslint max-len: [\\\\\\\"error\\\\\\\", { \\\\\\\"code\\\\\\\": 120 }] */\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction sum(array, start, end) {\\\\n let s = 0;\\\\n for (let i = start; i < end; ++i) {\\\\n s += array[i];\\\\n }\\\\n return s;\\\\n}\\\\n\\\\nfunction arrayForType(format, bitsPerSample, size) {\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Uint8Array(size);\\\\n case 16:\\\\n return new Uint16Array(size);\\\\n case 32:\\\\n return new Uint32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return new Int8Array(size);\\\\n case 16:\\\\n return new Int16Array(size);\\\\n case 32:\\\\n return new Int32Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3: // floating point data\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return new Float32Array(size);\\\\n case 64:\\\\n return new Float64Array(size);\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n}\\\\n\\\\n/**\\\\n * GeoTIFF sub-file image.\\\\n */\\\\nclass GeoTIFFImage {\\\\n /**\\\\n * @constructor\\\\n * @param {Object} fileDirectory The parsed file directory\\\\n * @param {Object} geoKeys The parsed geo-keys\\\\n * @param {DataView} dataView The DataView for the underlying file.\\\\n * @param {Boolean} littleEndian Whether the file is encoded in little or big endian\\\\n * @param {Boolean} cache Whether or not decoded tiles shall be cached\\\\n * @param {Source} source The datasource to read from\\\\n */\\\\n constructor(fileDirectory, geoKeys, dataView, littleEndian, cache, source) {\\\\n this.fileDirectory = fileDirectory;\\\\n this.geoKeys = geoKeys;\\\\n this.dataView = dataView;\\\\n this.littleEndian = littleEndian;\\\\n this.tiles = cache ? {} : null;\\\\n this.isTiled = !fileDirectory.StripOffsets;\\\\n const planarConfiguration = fileDirectory.PlanarConfiguration;\\\\n this.planarConfiguration = (typeof planarConfiguration === 'undefined') ? 1 : planarConfiguration;\\\\n if (this.planarConfiguration !== 1 && this.planarConfiguration !== 2) {\\\\n throw new Error('Invalid planar configuration.');\\\\n }\\\\n\\\\n this.source = source;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed file directory.\\\\n * @returns {Object} the parsed file directory\\\\n */\\\\n getFileDirectory() {\\\\n return this.fileDirectory;\\\\n }\\\\n\\\\n /**\\\\n * Returns the associated parsed geo keys.\\\\n * @returns {Object} the parsed geo keys\\\\n */\\\\n getGeoKeys() {\\\\n return this.geoKeys;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of the image.\\\\n * @returns {Number} the width of the image\\\\n */\\\\n getWidth() {\\\\n return this.fileDirectory.ImageWidth;\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of the image.\\\\n * @returns {Number} the height of the image\\\\n */\\\\n getHeight() {\\\\n return this.fileDirectory.ImageLength;\\\\n }\\\\n\\\\n /**\\\\n * Returns the number of samples per pixel.\\\\n * @returns {Number} the number of samples per pixel\\\\n */\\\\n getSamplesPerPixel() {\\\\n return this.fileDirectory.SamplesPerPixel;\\\\n }\\\\n\\\\n /**\\\\n * Returns the width of each tile.\\\\n * @returns {Number} the width of each tile\\\\n */\\\\n getTileWidth() {\\\\n return this.isTiled ? this.fileDirectory.TileWidth : this.getWidth();\\\\n }\\\\n\\\\n /**\\\\n * Returns the height of each tile.\\\\n * @returns {Number} the height of each tile\\\\n */\\\\n getTileHeight() {\\\\n if (this.isTiled) {\\\\n return this.fileDirectory.TileLength;\\\\n }\\\\n if (typeof this.fileDirectory.RowsPerStrip !== 'undefined') {\\\\n return Math.min(this.fileDirectory.RowsPerStrip, this.getHeight());\\\\n }\\\\n return this.getHeight();\\\\n }\\\\n\\\\n /**\\\\n * Calculates the number of bytes for each pixel across all samples. Only full\\\\n * bytes are supported, an exception is thrown when this is not the case.\\\\n * @returns {Number} the bytes per pixel\\\\n */\\\\n getBytesPerPixel() {\\\\n let bitsPerSample = 0;\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; ++i) {\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n } else if (bits !== this.fileDirectory.BitsPerSample[0]) {\\\\n throw new Error('Differing size of samples in a pixel are not supported.');\\\\n }\\\\n bitsPerSample += bits;\\\\n }\\\\n return bitsPerSample / 8;\\\\n }\\\\n\\\\n getSampleByteSize(i) {\\\\n if (i >= this.fileDirectory.BitsPerSample.length) {\\\\n throw new RangeError(`Sample index ${i} is out of range.`);\\\\n }\\\\n const bits = this.fileDirectory.BitsPerSample[i];\\\\n if ((bits % 8) !== 0) {\\\\n throw new Error(`Sample bit-width of ${bits} is not supported.`);\\\\n }\\\\n return (bits / 8);\\\\n }\\\\n\\\\n getReaderForSample(sampleIndex) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n switch (format) {\\\\n case 1: // unsigned integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getUint8;\\\\n case 16:\\\\n return DataView.prototype.getUint16;\\\\n case 32:\\\\n return DataView.prototype.getUint32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 2: // twos complement signed integer data\\\\n switch (bitsPerSample) {\\\\n case 8:\\\\n return DataView.prototype.getInt8;\\\\n case 16:\\\\n return DataView.prototype.getInt16;\\\\n case 32:\\\\n return DataView.prototype.getInt32;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n case 3:\\\\n switch (bitsPerSample) {\\\\n case 32:\\\\n return DataView.prototype.getFloat32;\\\\n case 64:\\\\n return DataView.prototype.getFloat64;\\\\n default:\\\\n break;\\\\n }\\\\n break;\\\\n default:\\\\n break;\\\\n }\\\\n throw Error('Unsupported data format/bitsPerSample');\\\\n }\\\\n\\\\n getArrayForSample(sampleIndex, size) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? this.fileDirectory.SampleFormat[sampleIndex] : 1;\\\\n const bitsPerSample = this.fileDirectory.BitsPerSample[sampleIndex];\\\\n return arrayForType(format, bitsPerSample, size);\\\\n }\\\\n\\\\n /**\\\\n * Returns the decoded strip or tile.\\\\n * @param {Number} x the strip or tile x-offset\\\\n * @param {Number} y the tile y-offset (0 for stripped images)\\\\n * @param {Number} sample the sample to get for separated samples\\\\n * @param {Pool|AbstractDecoder} poolOrDecoder the decoder or decoder pool\\\\n * @returns {Promise.}\\\\n */\\\\n async getTileOrStrip(x, y, sample, poolOrDecoder) {\\\\n const numTilesPerRow = Math.ceil(this.getWidth() / this.getTileWidth());\\\\n const numTilesPerCol = Math.ceil(this.getHeight() / this.getTileHeight());\\\\n let index;\\\\n const { tiles } = this;\\\\n if (this.planarConfiguration === 1) {\\\\n index = (y * numTilesPerRow) + x;\\\\n } else if (this.planarConfiguration === 2) {\\\\n index = (sample * numTilesPerRow * numTilesPerCol) + (y * numTilesPerRow) + x;\\\\n }\\\\n\\\\n let offset;\\\\n let byteCount;\\\\n if (this.isTiled) {\\\\n offset = this.fileDirectory.TileOffsets[index];\\\\n byteCount = this.fileDirectory.TileByteCounts[index];\\\\n } else {\\\\n offset = this.fileDirectory.StripOffsets[index];\\\\n byteCount = this.fileDirectory.StripByteCounts[index];\\\\n }\\\\n const slice = await this.source.fetch(offset, byteCount);\\\\n\\\\n // either use the provided pool or decoder to decode the data\\\\n let request;\\\\n if (tiles === null) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n } else if (!tiles[index]) {\\\\n request = poolOrDecoder.decode(this.fileDirectory, slice);\\\\n tiles[index] = request;\\\\n }\\\\n return { x, y, sample, data: await request };\\\\n }\\\\n\\\\n /**\\\\n * Internal read function.\\\\n * @private\\\\n * @param {Array} imageWindow The image window in pixel coordinates\\\\n * @param {Array} samples The selected samples (0-based indices)\\\\n * @param {TypedArray[]|TypedArray} valueArrays The array(s) to write into\\\\n * @param {Boolean} interleave Whether or not to write in an interleaved manner\\\\n * @param {Pool} pool The decoder pool\\\\n * @returns {Promise|Promise}\\\\n */\\\\n async _readRaster(imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod) {\\\\n const tileWidth = this.getTileWidth();\\\\n const tileHeight = this.getTileHeight();\\\\n\\\\n const minXTile = Math.max(Math.floor(imageWindow[0] / tileWidth), 0);\\\\n const maxXTile = Math.min(\\\\n Math.ceil(imageWindow[2] / tileWidth),\\\\n Math.ceil(this.getWidth() / this.getTileWidth()),\\\\n );\\\\n const minYTile = Math.max(Math.floor(imageWindow[1] / tileHeight), 0);\\\\n const maxYTile = Math.min(\\\\n Math.ceil(imageWindow[3] / tileHeight),\\\\n Math.ceil(this.getHeight() / this.getTileHeight()),\\\\n );\\\\n const windowWidth = imageWindow[2] - imageWindow[0];\\\\n\\\\n let bytesPerPixel = this.getBytesPerPixel();\\\\n\\\\n const srcSampleOffsets = [];\\\\n const sampleReaders = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (this.planarConfiguration === 1) {\\\\n srcSampleOffsets.push(sum(this.fileDirectory.BitsPerSample, 0, samples[i]) / 8);\\\\n } else {\\\\n srcSampleOffsets.push(0);\\\\n }\\\\n sampleReaders.push(this.getReaderForSample(samples[i]));\\\\n }\\\\n\\\\n const promises = [];\\\\n const { littleEndian } = this;\\\\n\\\\n for (let yTile = minYTile; yTile < maxYTile; ++yTile) {\\\\n for (let xTile = minXTile; xTile < maxXTile; ++xTile) {\\\\n for (let sampleIndex = 0; sampleIndex < samples.length; ++sampleIndex) {\\\\n const si = sampleIndex;\\\\n const sample = samples[sampleIndex];\\\\n if (this.planarConfiguration === 2) {\\\\n bytesPerPixel = this.getSampleByteSize(sample);\\\\n }\\\\n const promise = this.getTileOrStrip(xTile, yTile, sample, poolOrDecoder);\\\\n promises.push(promise);\\\\n promise.then((tile) => {\\\\n const buffer = tile.data;\\\\n const dataView = new DataView(buffer);\\\\n const firstLine = tile.y * tileHeight;\\\\n const firstCol = tile.x * tileWidth;\\\\n const lastLine = (tile.y + 1) * tileHeight;\\\\n const lastCol = (tile.x + 1) * tileWidth;\\\\n const reader = sampleReaders[si];\\\\n\\\\n const ymax = Math.min(tileHeight, tileHeight - (lastLine - imageWindow[3]));\\\\n const xmax = Math.min(tileWidth, tileWidth - (lastCol - imageWindow[2]));\\\\n\\\\n for (let y = Math.max(0, imageWindow[1] - firstLine); y < ymax; ++y) {\\\\n for (let x = Math.max(0, imageWindow[0] - firstCol); x < xmax; ++x) {\\\\n const pixelOffset = ((y * tileWidth) + x) * bytesPerPixel;\\\\n const value = reader.call(\\\\n dataView, pixelOffset + srcSampleOffsets[si], littleEndian,\\\\n );\\\\n let windowCoordinate;\\\\n if (interleave) {\\\\n windowCoordinate = ((y + firstLine - imageWindow[1]) * windowWidth * samples.length)\\\\n + ((x + firstCol - imageWindow[0]) * samples.length)\\\\n + si;\\\\n valueArrays[windowCoordinate] = value;\\\\n } else {\\\\n windowCoordinate = (\\\\n (y + firstLine - imageWindow[1]) * windowWidth\\\\n ) + x + firstCol - imageWindow[0];\\\\n valueArrays[si][windowCoordinate] = value;\\\\n }\\\\n }\\\\n }\\\\n });\\\\n }\\\\n }\\\\n }\\\\n await Promise.all(promises);\\\\n\\\\n if ((width && (imageWindow[2] - imageWindow[0]) !== width)\\\\n || (height && (imageWindow[3] - imageWindow[1]) !== height)) {\\\\n let resampled;\\\\n if (interleave) {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resampleInterleaved\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n samples.length,\\\\n resampleMethod,\\\\n );\\\\n } else {\\\\n resampled = Object(_resample__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"resample\\\\\\\"])(\\\\n valueArrays,\\\\n imageWindow[2] - imageWindow[0],\\\\n imageWindow[3] - imageWindow[1],\\\\n width, height,\\\\n resampleMethod,\\\\n );\\\\n }\\\\n resampled.width = width;\\\\n resampled.height = height;\\\\n return resampled;\\\\n }\\\\n\\\\n valueArrays.width = width || imageWindow[2] - imageWindow[0];\\\\n valueArrays.height = height || imageWindow[3] - imageWindow[1];\\\\n\\\\n return valueArrays;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image. This function reads all selected samples\\\\n * into separate arrays of the correct type for that sample or into a single\\\\n * combined array when `interleave` is set. When provided, only a subset\\\\n * of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options={}] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Array} [options.samples=all samples] the selection of samples to read from.\\\\n * @param {Boolean} [options.interleave=false] whether the data shall be read\\\\n * in one single array or separate\\\\n * arrays.\\\\n * @param {Number} [options.pool=null] The optional decoder pool to use.\\\\n * @param {number} [options.width] The desired width of the output. When the width is\\\\n * not the same as the images, resampling will be\\\\n * performed.\\\\n * @param {number} [options.height] The desired height of the output. When the width\\\\n * is not the same as the images, resampling will\\\\n * be performed.\\\\n * @param {string} [options.resampleMethod='nearest'] The desired resampling method.\\\\n * @param {number|number[]} [options.fillValue] The value to use for parts of the image\\\\n * outside of the images extent. When\\\\n * multiple samples are requested, an\\\\n * array of fill values can be passed.\\\\n * @returns {Promise.<(TypedArray|TypedArray[])>} the decoded arrays as a promise\\\\n */\\\\n async readRasters({\\\\n window: wnd, samples = [], interleave, pool = null,\\\\n width, height, resampleMethod, fillValue,\\\\n } = {}) {\\\\n const imageWindow = wnd || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const imageWindowWidth = imageWindow[2] - imageWindow[0];\\\\n const imageWindowHeight = imageWindow[3] - imageWindow[1];\\\\n const numPixels = imageWindowWidth * imageWindowHeight;\\\\n\\\\n if (!samples || !samples.length) {\\\\n for (let i = 0; i < this.fileDirectory.SamplesPerPixel; ++i) {\\\\n samples.push(i);\\\\n }\\\\n } else {\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n if (samples[i] >= this.fileDirectory.SamplesPerPixel) {\\\\n return Promise.reject(new RangeError(`Invalid sample index '${samples[i]}'.`));\\\\n }\\\\n }\\\\n }\\\\n let valueArrays;\\\\n if (interleave) {\\\\n const format = this.fileDirectory.SampleFormat\\\\n ? Math.max.apply(null, this.fileDirectory.SampleFormat) : 1;\\\\n const bitsPerSample = Math.max.apply(null, this.fileDirectory.BitsPerSample);\\\\n valueArrays = arrayForType(format, bitsPerSample, numPixels * samples.length);\\\\n if (fillValue) {\\\\n valueArrays.fill(fillValue);\\\\n }\\\\n } else {\\\\n valueArrays = [];\\\\n for (let i = 0; i < samples.length; ++i) {\\\\n const valueArray = this.getArrayForSample(samples[i], numPixels);\\\\n if (Array.isArray(fillValue) && i < fillValue.length) {\\\\n valueArray.fill(fillValue[i]);\\\\n } else if (fillValue && !Array.isArray(fillValue)) {\\\\n valueArray.fill(fillValue);\\\\n }\\\\n valueArrays.push(valueArray);\\\\n }\\\\n }\\\\n\\\\n const poolOrDecoder = pool || Object(_compression__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"getDecoder\\\\\\\"])(this.fileDirectory);\\\\n\\\\n const result = await this._readRaster(\\\\n imageWindow, samples, valueArrays, interleave, poolOrDecoder, width, height, resampleMethod,\\\\n );\\\\n return result;\\\\n }\\\\n\\\\n /**\\\\n * Reads raster data from the image as RGB. The result is always an\\\\n * interleaved typed array.\\\\n * Colorspaces other than RGB will be transformed to RGB, color maps expanded.\\\\n * When no other method is applicable, the first sample is used to produce a\\\\n * greayscale image.\\\\n * When provided, only a subset of the raster is read for each sample.\\\\n *\\\\n * @param {Object} [options] optional parameters\\\\n * @param {Array} [options.window=whole image] the subset to read data from.\\\\n * @param {Number} [pool=null] The optional decoder pool to use.\\\\n * @param {number} [width] The desired width of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {number} [height] The desired height of the output. When the width is no the\\\\n * same as the images, resampling will be performed.\\\\n * @param {string} [resampleMethod='nearest'] The desired resampling method.\\\\n * @param {bool} [enableAlpha=false] Enable reading alpha channel if present.\\\\n * @returns {Promise.} the RGB array as a Promise\\\\n */\\\\n async readRGB({ window, pool = null, width, height, resampleMethod, enableAlpha = false } = {}) {\\\\n const imageWindow = window || [0, 0, this.getWidth(), this.getHeight()];\\\\n\\\\n // check parameters\\\\n if (imageWindow[0] > imageWindow[2] || imageWindow[1] > imageWindow[3]) {\\\\n throw new Error('Invalid subsets');\\\\n }\\\\n\\\\n const pi = this.fileDirectory.PhotometricInterpretation;\\\\n\\\\n if (pi === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].RGB) {\\\\n let s = [0, 1, 2];\\\\n if ((!(this.fileDirectory.ExtraSamples === _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"ExtraSamplesValues\\\\\\\"].Unspecified)) && enableAlpha) {\\\\n s = [];\\\\n for (let i = 0; i < this.fileDirectory.BitsPerSample.length; i += 1) {\\\\n s.push(i);\\\\n }\\\\n }\\\\n return this.readRasters({\\\\n window,\\\\n interleave: true,\\\\n samples: s,\\\\n pool,\\\\n width,\\\\n height,\\\\n });\\\\n }\\\\n\\\\n let samples;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n samples = [0];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n samples = [0, 1, 2, 3];\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n samples = [0, 1, 2];\\\\n break;\\\\n default:\\\\n throw new Error('Invalid or unsupported photometric interpretation.');\\\\n }\\\\n\\\\n const subOptions = {\\\\n window: imageWindow,\\\\n interleave: true,\\\\n samples,\\\\n pool,\\\\n width,\\\\n height,\\\\n resampleMethod,\\\\n };\\\\n const { fileDirectory } = this;\\\\n const raster = await this.readRasters(subOptions);\\\\n\\\\n const max = 2 ** this.fileDirectory.BitsPerSample[0];\\\\n let data;\\\\n switch (pi) {\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].WhiteIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromWhiteIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].BlackIsZero:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromBlackIsZero\\\\\\\"])(raster, max);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].Palette:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromPalette\\\\\\\"])(raster, fileDirectory.ColorMap);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CMYK:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCMYK\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].YCbCr:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromYCbCr\\\\\\\"])(raster);\\\\n break;\\\\n case _globals__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"photometricInterpretations\\\\\\\"].CIELab:\\\\n data = Object(_rgb__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"fromCIELab\\\\\\\"])(raster);\\\\n break;\\\\n default:\\\\n throw new Error('Unsupported photometric interpretation.');\\\\n }\\\\n data.width = raster.width;\\\\n data.height = raster.height;\\\\n return data;\\\\n }\\\\n\\\\n /**\\\\n * Returns an array of tiepoints.\\\\n * @returns {Object[]}\\\\n */\\\\n getTiePoints() {\\\\n if (!this.fileDirectory.ModelTiepoint) {\\\\n return [];\\\\n }\\\\n\\\\n const tiePoints = [];\\\\n for (let i = 0; i < this.fileDirectory.ModelTiepoint.length; i += 6) {\\\\n tiePoints.push({\\\\n i: this.fileDirectory.ModelTiepoint[i],\\\\n j: this.fileDirectory.ModelTiepoint[i + 1],\\\\n k: this.fileDirectory.ModelTiepoint[i + 2],\\\\n x: this.fileDirectory.ModelTiepoint[i + 3],\\\\n y: this.fileDirectory.ModelTiepoint[i + 4],\\\\n z: this.fileDirectory.ModelTiepoint[i + 5],\\\\n });\\\\n }\\\\n return tiePoints;\\\\n }\\\\n\\\\n /**\\\\n * Returns the parsed GDAL metadata items.\\\\n *\\\\n * If sample is passed to null, dataset-level metadata will be returned.\\\\n * Otherwise only metadata specific to the provided sample will be returned.\\\\n *\\\\n * @param {Number} [sample=null] The sample index.\\\\n * @returns {Object}\\\\n */\\\\n getGDALMetadata(sample = null) {\\\\n const metadata = {};\\\\n if (!this.fileDirectory.GDAL_METADATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_METADATA;\\\\n const xmlDom = txml__WEBPACK_IMPORTED_MODULE_0___default()(string.substring(0, string.length - 1));\\\\n\\\\n if (!xmlDom[0].tagName) {\\\\n throw new Error('Failed to parse GDAL metadata XML.');\\\\n }\\\\n\\\\n const root = xmlDom[0];\\\\n if (root.tagName !== 'GDALMetadata') {\\\\n throw new Error('Unexpected GDAL metadata XML tag.');\\\\n }\\\\n\\\\n let items = root.children\\\\n .filter((child) => child.tagName === 'Item');\\\\n\\\\n if (sample) {\\\\n items = items.filter((item) => Number(item.attributes.sample) === sample);\\\\n }\\\\n\\\\n for (let i = 0; i < items.length; ++i) {\\\\n const item = items[i];\\\\n metadata[item.attributes.name] = item.children[0];\\\\n }\\\\n return metadata;\\\\n }\\\\n\\\\n /**\\\\n * Returns the GDAL nodata value\\\\n * @returns {Number} or null\\\\n */\\\\n getGDALNoData() {\\\\n if (!this.fileDirectory.GDAL_NODATA) {\\\\n return null;\\\\n }\\\\n const string = this.fileDirectory.GDAL_NODATA;\\\\n return Number(string.substring(0, string.length - 1));\\\\n }\\\\n\\\\n /**\\\\n * Returns the image origin as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @returns {Array} The origin as a vector\\\\n */\\\\n getOrigin() {\\\\n const tiePoints = this.fileDirectory.ModelTiepoint;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n if (tiePoints && tiePoints.length === 6) {\\\\n return [\\\\n tiePoints[3],\\\\n tiePoints[4],\\\\n tiePoints[5],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[3],\\\\n modelTransformation[7],\\\\n modelTransformation[11],\\\\n ];\\\\n }\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns the image resolution as a XYZ-vector. When the image has no affine\\\\n * transformation, then an exception is thrown.\\\\n * @param {GeoTIFFImage} [referenceImage=null] A reference image to calculate the resolution from\\\\n * in cases when the current image does not have the\\\\n * required tags on its own.\\\\n * @returns {Array} The resolution as a vector\\\\n */\\\\n getResolution(referenceImage = null) {\\\\n const modelPixelScale = this.fileDirectory.ModelPixelScale;\\\\n const modelTransformation = this.fileDirectory.ModelTransformation;\\\\n\\\\n if (modelPixelScale) {\\\\n return [\\\\n modelPixelScale[0],\\\\n -modelPixelScale[1],\\\\n modelPixelScale[2],\\\\n ];\\\\n }\\\\n if (modelTransformation) {\\\\n return [\\\\n modelTransformation[0],\\\\n modelTransformation[5],\\\\n modelTransformation[10],\\\\n ];\\\\n }\\\\n\\\\n if (referenceImage) {\\\\n const [refResX, refResY, refResZ] = referenceImage.getResolution();\\\\n return [\\\\n refResX * referenceImage.getWidth() / this.getWidth(),\\\\n refResY * referenceImage.getHeight() / this.getHeight(),\\\\n refResZ * referenceImage.getWidth() / this.getWidth(),\\\\n ];\\\\n }\\\\n\\\\n throw new Error('The image does not have an affine transformation.');\\\\n }\\\\n\\\\n /**\\\\n * Returns whether or not the pixels of the image depict an area (or point).\\\\n * @returns {Boolean} Whether the pixels are a point\\\\n */\\\\n pixelIsArea() {\\\\n return this.geoKeys.GTRasterTypeGeoKey === 1;\\\\n }\\\\n\\\\n /**\\\\n * Returns the image bounding box as an array of 4 values: min-x, min-y,\\\\n * max-x and max-y. When the image has no affine transformation, then an\\\\n * exception is thrown.\\\\n * @returns {Array} The bounding box\\\\n */\\\\n getBoundingBox() {\\\\n const origin = this.getOrigin();\\\\n const resolution = this.getResolution();\\\\n\\\\n const x1 = origin[0];\\\\n const y1 = origin[1];\\\\n\\\\n const x2 = x1 + (resolution[0] * this.getWidth());\\\\n const y2 = y1 + (resolution[1] * this.getHeight());\\\\n\\\\n return [\\\\n Math.min(x1, x2),\\\\n Math.min(y1, y2),\\\\n Math.max(x1, x2),\\\\n Math.max(y1, y2),\\\\n ];\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (GeoTIFFImage);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffimage.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/geotiffwriter.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/geotiff/src/geotiffwriter.js ***!\\n \\\\***************************************************/\\n/*! exports provided: writeGeotiff */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"writeGeotiff\\\\\\\", function() { return writeGeotiff; });\\\\n/* harmony import */ var _globals__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globals */ \\\\\\\"./node_modules/geotiff/src/globals.js\\\\\\\");\\\\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ \\\\\\\"./node_modules/geotiff/src/utils.js\\\\\\\");\\\\n/*\\\\n Some parts of this file are based on UTIF.js,\\\\n which was released under the MIT License.\\\\n You can view that here:\\\\n https://github.com/photopea/UTIF.js/blob/master/LICENSE\\\\n*/\\\\n\\\\n\\\\n\\\\nconst tagName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagNames\\\\\\\"]);\\\\nconst geoKeyName2Code = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"geoKeyNames\\\\\\\"]);\\\\nconst name2code = {};\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, tagName2Code);\\\\nObject(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"assign\\\\\\\"])(name2code, geoKeyName2Code);\\\\nconst typeName2byte = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"invert\\\\\\\"])(_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTypeNames\\\\\\\"]);\\\\n\\\\n// config variables\\\\nconst numBytesInIfd = 1000;\\\\n\\\\nconst _binBE = {\\\\n nextZero: (data, o) => {\\\\n let oincr = o;\\\\n while (data[oincr] !== 0) {\\\\n oincr++;\\\\n }\\\\n return oincr;\\\\n },\\\\n readUshort: (buff, p) => {\\\\n return (buff[p] << 8) | buff[p + 1];\\\\n },\\\\n readShort: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 1];\\\\n a[1] = buff[p + 0];\\\\n return _binBE.i16[0];\\\\n },\\\\n readInt: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.i32[0];\\\\n },\\\\n readUint: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n a[0] = buff[p + 3];\\\\n a[1] = buff[p + 2];\\\\n a[2] = buff[p + 1];\\\\n a[3] = buff[p + 0];\\\\n return _binBE.ui32[0];\\\\n },\\\\n readASCII: (buff, p, l) => {\\\\n return l.map((i) => String.fromCharCode(buff[p + i])).join('');\\\\n },\\\\n readFloat: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(4, (i) => {\\\\n a[i] = buff[p + 3 - i];\\\\n });\\\\n return _binBE.fl32[0];\\\\n },\\\\n readDouble: (buff, p) => {\\\\n const a = _binBE.ui8;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n a[i] = buff[p + 7 - i];\\\\n });\\\\n return _binBE.fl64[0];\\\\n },\\\\n writeUshort: (buff, p, n) => {\\\\n buff[p] = (n >> 8) & 255;\\\\n buff[p + 1] = n & 255;\\\\n },\\\\n writeUint: (buff, p, n) => {\\\\n buff[p] = (n >> 24) & 255;\\\\n buff[p + 1] = (n >> 16) & 255;\\\\n buff[p + 2] = (n >> 8) & 255;\\\\n buff[p + 3] = (n >> 0) & 255;\\\\n },\\\\n writeASCII: (buff, p, s) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(s.length, (i) => {\\\\n buff[p + i] = s.charCodeAt(i);\\\\n });\\\\n },\\\\n ui8: new Uint8Array(8),\\\\n};\\\\n\\\\n_binBE.fl64 = new Float64Array(_binBE.ui8.buffer);\\\\n\\\\n_binBE.writeDouble = (buff, p, n) => {\\\\n _binBE.fl64[0] = n;\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(8, (i) => {\\\\n buff[p + i] = _binBE.ui8[7 - i];\\\\n });\\\\n};\\\\n\\\\n\\\\nconst _writeIFD = (bin, data, _offset, ifd) => {\\\\n let offset = _offset;\\\\n\\\\n const keys = Object.keys(ifd).filter((key) => {\\\\n return key !== undefined && key !== null && key !== 'undefined';\\\\n });\\\\n\\\\n bin.writeUshort(data, offset, keys.length);\\\\n offset += 2;\\\\n\\\\n let eoff = offset + (12 * keys.length) + 4;\\\\n\\\\n for (const key of keys) {\\\\n let tag = null;\\\\n if (typeof key === 'number') {\\\\n tag = key;\\\\n } else if (typeof key === 'string') {\\\\n tag = parseInt(key, 10);\\\\n }\\\\n\\\\n const typeName = _globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][tag];\\\\n const typeNum = typeName2byte[typeName];\\\\n\\\\n if (typeName == null || typeName === undefined || typeof typeName === 'undefined') {\\\\n throw new Error(`unknown type of tag: ${tag}`);\\\\n }\\\\n\\\\n let val = ifd[key];\\\\n\\\\n if (typeof val === 'undefined') {\\\\n throw new Error(`failed to get value for key ${key}`);\\\\n }\\\\n\\\\n // ASCIIZ format with trailing 0 character\\\\n // http://www.fileformat.info/format/tiff/corion.htm\\\\n // https://stackoverflow.com/questions/7783044/whats-the-difference-between-asciiz-vs-ascii\\\\n if (typeName === 'ASCII' && typeof val === 'string' && Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(val, '\\\\\\\\u0000') === false) {\\\\n val += '\\\\\\\\u0000';\\\\n }\\\\n\\\\n const num = val.length;\\\\n\\\\n bin.writeUshort(data, offset, tag);\\\\n offset += 2;\\\\n\\\\n bin.writeUshort(data, offset, typeNum);\\\\n offset += 2;\\\\n\\\\n bin.writeUint(data, offset, num);\\\\n offset += 4;\\\\n\\\\n let dlen = [-1, 1, 1, 2, 4, 8, 0, 0, 0, 0, 0, 0, 8][typeNum] * num;\\\\n let toff = offset;\\\\n\\\\n if (dlen > 4) {\\\\n bin.writeUint(data, offset, eoff);\\\\n toff = eoff;\\\\n }\\\\n\\\\n if (typeName === 'ASCII') {\\\\n bin.writeASCII(data, toff, val);\\\\n } else if (typeName === 'SHORT') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUshort(data, toff + (2 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'LONG') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (4 * i), val[i]);\\\\n });\\\\n } else if (typeName === 'RATIONAL') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeUint(data, toff + (8 * i), Math.round(val[i] * 10000));\\\\n bin.writeUint(data, toff + (8 * i) + 4, 10000);\\\\n });\\\\n } else if (typeName === 'DOUBLE') {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(num, (i) => {\\\\n bin.writeDouble(data, toff + (8 * i), val[i]);\\\\n });\\\\n }\\\\n\\\\n if (dlen > 4) {\\\\n dlen += (dlen & 1);\\\\n eoff += dlen;\\\\n }\\\\n\\\\n offset += 4;\\\\n }\\\\n\\\\n return [offset, eoff];\\\\n};\\\\n\\\\nconst encodeIfds = (ifds) => {\\\\n const data = new Uint8Array(numBytesInIfd);\\\\n let offset = 4;\\\\n const bin = _binBE;\\\\n\\\\n // set big-endian byte-order\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[0] = 77;\\\\n data[1] = 77;\\\\n\\\\n // set format-version number\\\\n // https://en.wikipedia.org/wiki/TIFF#Byte_order\\\\n data[3] = 42;\\\\n\\\\n let ifdo = 8;\\\\n\\\\n bin.writeUint(data, offset, ifdo);\\\\n\\\\n offset += 4;\\\\n\\\\n ifds.forEach((ifd, i) => {\\\\n const noffs = _writeIFD(bin, data, ifdo, ifd);\\\\n ifdo = noffs[1];\\\\n if (i < ifds.length - 1) {\\\\n bin.writeUint(data, noffs[0], ifdo);\\\\n }\\\\n });\\\\n\\\\n if (data.slice) {\\\\n return data.slice(0, ifdo).buffer;\\\\n }\\\\n\\\\n // node hasn't implemented slice on Uint8Array yet\\\\n const result = new Uint8Array(ifdo);\\\\n for (let i = 0; i < ifdo; i++) {\\\\n result[i] = data[i];\\\\n }\\\\n return result.buffer;\\\\n};\\\\n\\\\nconst encodeImage = (values, width, height, metadata) => {\\\\n if (height === undefined || height === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${height}`);\\\\n }\\\\n\\\\n if (width === undefined || width === null) {\\\\n throw new Error(`you passed into encodeImage a width of type ${width}`);\\\\n }\\\\n\\\\n const ifd = {\\\\n 256: [width], // ImageWidth\\\\n 257: [height], // ImageLength\\\\n 273: [numBytesInIfd], // strips offset\\\\n 278: [height], // RowsPerStrip\\\\n 305: 'geotiff.js', // no array for ASCII(Z)\\\\n };\\\\n\\\\n if (metadata) {\\\\n for (const i in metadata) {\\\\n if (metadata.hasOwnProperty(i)) {\\\\n ifd[i] = metadata[i];\\\\n }\\\\n }\\\\n }\\\\n\\\\n const prfx = new Uint8Array(encodeIfds([ifd]));\\\\n\\\\n const img = new Uint8Array(values);\\\\n\\\\n const samplesPerPixel = ifd[277];\\\\n\\\\n const data = new Uint8Array(numBytesInIfd + (width * height * samplesPerPixel));\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(prfx.length, (i) => {\\\\n data[i] = prfx[i];\\\\n });\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"forEach\\\\\\\"])(img, (value, i) => {\\\\n data[numBytesInIfd + i] = value;\\\\n });\\\\n\\\\n return data.buffer;\\\\n};\\\\n\\\\nconst convertToTids = (input) => {\\\\n const result = {};\\\\n for (const key in input) {\\\\n if (key !== 'StripOffsets') {\\\\n if (!name2code[key]) {\\\\n console.error(key, 'not in name2code:', Object.keys(name2code));\\\\n }\\\\n result[name2code[key]] = input[key];\\\\n }\\\\n }\\\\n return result;\\\\n};\\\\n\\\\nconst toArray = (input) => {\\\\n if (Array.isArray(input)) {\\\\n return input;\\\\n }\\\\n return [input];\\\\n};\\\\n\\\\nconst metadataDefaults = [\\\\n ['Compression', 1], // no compression\\\\n ['PlanarConfiguration', 1],\\\\n ['XPosition', 0],\\\\n ['YPosition', 0],\\\\n ['ResolutionUnit', 1], // Code 1 for actual pixel count or 2 for pixels per inch.\\\\n ['ExtraSamples', 0], // should this be an array??\\\\n ['GeoAsciiParams', 'WGS 84\\\\\\\\u0000'],\\\\n ['ModelTiepoint', [0, 0, 0, -180, 90, 0]], // raster fits whole globe\\\\n ['GTModelTypeGeoKey', 2],\\\\n ['GTRasterTypeGeoKey', 1],\\\\n ['GeographicTypeGeoKey', 4326],\\\\n ['GeogCitationGeoKey', 'WGS 84'],\\\\n];\\\\n\\\\nfunction writeGeotiff(data, metadata) {\\\\n const isFlattened = typeof data[0] === 'number';\\\\n\\\\n let height;\\\\n let numBands;\\\\n let width;\\\\n let flattenedValues;\\\\n\\\\n if (isFlattened) {\\\\n height = metadata.height || metadata.ImageLength;\\\\n width = metadata.width || metadata.ImageWidth;\\\\n numBands = data.length / (height * width);\\\\n flattenedValues = data;\\\\n } else {\\\\n numBands = data.length;\\\\n height = data[0].length;\\\\n width = data[0][0].length;\\\\n flattenedValues = [];\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(height, (rowIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(width, (columnIndex) => {\\\\n Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, (bandIndex) => {\\\\n flattenedValues.push(data[bandIndex][rowIndex][columnIndex]);\\\\n });\\\\n });\\\\n });\\\\n }\\\\n\\\\n metadata.ImageLength = height;\\\\n delete metadata.height;\\\\n metadata.ImageWidth = width;\\\\n delete metadata.width;\\\\n\\\\n // consult https://www.loc.gov/preservation/digital/formats/content/tiff_tags.shtml\\\\n\\\\n if (!metadata.BitsPerSample) {\\\\n metadata.BitsPerSample = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 8);\\\\n }\\\\n\\\\n metadataDefaults.forEach((tag) => {\\\\n const key = tag[0];\\\\n if (!metadata[key]) {\\\\n const value = tag[1];\\\\n metadata[key] = value;\\\\n }\\\\n });\\\\n\\\\n // The color space of the image data.\\\\n // 1=black is zero and 2=RGB.\\\\n if (!metadata.PhotometricInterpretation) {\\\\n metadata.PhotometricInterpretation = metadata.BitsPerSample.length === 3 ? 2 : 1;\\\\n }\\\\n\\\\n // The number of components per pixel.\\\\n if (!metadata.SamplesPerPixel) {\\\\n metadata.SamplesPerPixel = [numBands];\\\\n }\\\\n\\\\n if (!metadata.StripByteCounts) {\\\\n // we are only writing one strip\\\\n metadata.StripByteCounts = [numBands * height * width];\\\\n }\\\\n\\\\n if (!metadata.ModelPixelScale) {\\\\n // assumes raster takes up exactly the whole globe\\\\n metadata.ModelPixelScale = [360 / width, 180 / height, 0];\\\\n }\\\\n\\\\n if (!metadata.SampleFormat) {\\\\n metadata.SampleFormat = Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"times\\\\\\\"])(numBands, () => 1);\\\\n }\\\\n\\\\n\\\\n const geoKeys = Object.keys(metadata)\\\\n .filter((key) => Object(_utils__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"endsWith\\\\\\\"])(key, 'GeoKey'))\\\\n .sort((a, b) => name2code[a] - name2code[b]);\\\\n\\\\n if (!metadata.GeoKeyDirectory) {\\\\n const NumberOfKeys = geoKeys.length;\\\\n\\\\n const GeoKeyDirectory = [1, 1, 0, NumberOfKeys];\\\\n geoKeys.forEach((geoKey) => {\\\\n const KeyID = Number(name2code[geoKey]);\\\\n GeoKeyDirectory.push(KeyID);\\\\n\\\\n let Count;\\\\n let TIFFTagLocation;\\\\n let valueOffset;\\\\n if (_globals__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"fieldTagTypes\\\\\\\"][KeyID] === 'SHORT') {\\\\n Count = 1;\\\\n TIFFTagLocation = 0;\\\\n valueOffset = metadata[geoKey];\\\\n } else if (geoKey === 'GeogCitationGeoKey') {\\\\n Count = metadata.GeoAsciiParams.length;\\\\n TIFFTagLocation = Number(name2code.GeoAsciiParams);\\\\n valueOffset = 0;\\\\n } else {\\\\n console.log(`[geotiff.js] couldn't get TIFFTagLocation for ${geoKey}`);\\\\n }\\\\n GeoKeyDirectory.push(TIFFTagLocation);\\\\n GeoKeyDirectory.push(Count);\\\\n GeoKeyDirectory.push(valueOffset);\\\\n });\\\\n metadata.GeoKeyDirectory = GeoKeyDirectory;\\\\n }\\\\n\\\\n // delete GeoKeys from metadata, because stored in GeoKeyDirectory tag\\\\n for (const geoKey in geoKeys) {\\\\n if (geoKeys.hasOwnProperty(geoKey)) {\\\\n delete metadata[geoKey];\\\\n }\\\\n }\\\\n\\\\n [\\\\n 'Compression',\\\\n 'ExtraSamples',\\\\n 'GeographicTypeGeoKey',\\\\n 'GTModelTypeGeoKey',\\\\n 'GTRasterTypeGeoKey',\\\\n 'ImageLength', // synonym of ImageHeight\\\\n 'ImageWidth',\\\\n 'PhotometricInterpretation',\\\\n 'PlanarConfiguration',\\\\n 'ResolutionUnit',\\\\n 'SamplesPerPixel',\\\\n 'XPosition',\\\\n 'YPosition',\\\\n ].forEach((name) => {\\\\n if (metadata[name]) {\\\\n metadata[name] = toArray(metadata[name]);\\\\n }\\\\n });\\\\n\\\\n\\\\n const encodedMetadata = convertToTids(metadata);\\\\n\\\\n const outputImage = encodeImage(flattenedValues, width, height, encodedMetadata);\\\\n\\\\n return outputImage;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/geotiffwriter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/globals.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/globals.js ***!\\n \\\\*********************************************/\\n/*! exports provided: fieldTagNames, fieldTags, fieldTagTypes, arrayFields, fieldTypeNames, fieldTypes, photometricInterpretations, ExtraSamplesValues, geoKeyNames, geoKeys */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagNames\\\\\\\", function() { return fieldTagNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTags\\\\\\\", function() { return fieldTags; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTagTypes\\\\\\\", function() { return fieldTagTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"arrayFields\\\\\\\", function() { return arrayFields; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypeNames\\\\\\\", function() { return fieldTypeNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fieldTypes\\\\\\\", function() { return fieldTypes; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"photometricInterpretations\\\\\\\", function() { return photometricInterpretations; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"ExtraSamplesValues\\\\\\\", function() { return ExtraSamplesValues; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeyNames\\\\\\\", function() { return geoKeyNames; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"geoKeys\\\\\\\", function() { return geoKeys; });\\\\nconst fieldTagNames = {\\\\n // TIFF Baseline\\\\n 0x013B: 'Artist',\\\\n 0x0102: 'BitsPerSample',\\\\n 0x0109: 'CellLength',\\\\n 0x0108: 'CellWidth',\\\\n 0x0140: 'ColorMap',\\\\n 0x0103: 'Compression',\\\\n 0x8298: 'Copyright',\\\\n 0x0132: 'DateTime',\\\\n 0x0152: 'ExtraSamples',\\\\n 0x010A: 'FillOrder',\\\\n 0x0121: 'FreeByteCounts',\\\\n 0x0120: 'FreeOffsets',\\\\n 0x0123: 'GrayResponseCurve',\\\\n 0x0122: 'GrayResponseUnit',\\\\n 0x013C: 'HostComputer',\\\\n 0x010E: 'ImageDescription',\\\\n 0x0101: 'ImageLength',\\\\n 0x0100: 'ImageWidth',\\\\n 0x010F: 'Make',\\\\n 0x0119: 'MaxSampleValue',\\\\n 0x0118: 'MinSampleValue',\\\\n 0x0110: 'Model',\\\\n 0x00FE: 'NewSubfileType',\\\\n 0x0112: 'Orientation',\\\\n 0x0106: 'PhotometricInterpretation',\\\\n 0x011C: 'PlanarConfiguration',\\\\n 0x0128: 'ResolutionUnit',\\\\n 0x0116: 'RowsPerStrip',\\\\n 0x0115: 'SamplesPerPixel',\\\\n 0x0131: 'Software',\\\\n 0x0117: 'StripByteCounts',\\\\n 0x0111: 'StripOffsets',\\\\n 0x00FF: 'SubfileType',\\\\n 0x0107: 'Threshholding',\\\\n 0x011A: 'XResolution',\\\\n 0x011B: 'YResolution',\\\\n\\\\n // TIFF Extended\\\\n 0x0146: 'BadFaxLines',\\\\n 0x0147: 'CleanFaxData',\\\\n 0x0157: 'ClipPath',\\\\n 0x0148: 'ConsecutiveBadFaxLines',\\\\n 0x01B1: 'Decode',\\\\n 0x01B2: 'DefaultImageColor',\\\\n 0x010D: 'DocumentName',\\\\n 0x0150: 'DotRange',\\\\n 0x0141: 'HalftoneHints',\\\\n 0x015A: 'Indexed',\\\\n 0x015B: 'JPEGTables',\\\\n 0x011D: 'PageName',\\\\n 0x0129: 'PageNumber',\\\\n 0x013D: 'Predictor',\\\\n 0x013F: 'PrimaryChromaticities',\\\\n 0x0214: 'ReferenceBlackWhite',\\\\n 0x0153: 'SampleFormat',\\\\n 0x0154: 'SMinSampleValue',\\\\n 0x0155: 'SMaxSampleValue',\\\\n 0x022F: 'StripRowCounts',\\\\n 0x014A: 'SubIFDs',\\\\n 0x0124: 'T4Options',\\\\n 0x0125: 'T6Options',\\\\n 0x0145: 'TileByteCounts',\\\\n 0x0143: 'TileLength',\\\\n 0x0144: 'TileOffsets',\\\\n 0x0142: 'TileWidth',\\\\n 0x012D: 'TransferFunction',\\\\n 0x013E: 'WhitePoint',\\\\n 0x0158: 'XClipPathUnits',\\\\n 0x011E: 'XPosition',\\\\n 0x0211: 'YCbCrCoefficients',\\\\n 0x0213: 'YCbCrPositioning',\\\\n 0x0212: 'YCbCrSubSampling',\\\\n 0x0159: 'YClipPathUnits',\\\\n 0x011F: 'YPosition',\\\\n\\\\n // EXIF\\\\n 0x9202: 'ApertureValue',\\\\n 0xA001: 'ColorSpace',\\\\n 0x9004: 'DateTimeDigitized',\\\\n 0x9003: 'DateTimeOriginal',\\\\n 0x8769: 'Exif IFD',\\\\n 0x9000: 'ExifVersion',\\\\n 0x829A: 'ExposureTime',\\\\n 0xA300: 'FileSource',\\\\n 0x9209: 'Flash',\\\\n 0xA000: 'FlashpixVersion',\\\\n 0x829D: 'FNumber',\\\\n 0xA420: 'ImageUniqueID',\\\\n 0x9208: 'LightSource',\\\\n 0x927C: 'MakerNote',\\\\n 0x9201: 'ShutterSpeedValue',\\\\n 0x9286: 'UserComment',\\\\n\\\\n // IPTC\\\\n 0x83BB: 'IPTC',\\\\n\\\\n // ICC\\\\n 0x8773: 'ICC Profile',\\\\n\\\\n // XMP\\\\n 0x02BC: 'XMP',\\\\n\\\\n // GDAL\\\\n 0xA480: 'GDAL_METADATA',\\\\n 0xA481: 'GDAL_NODATA',\\\\n\\\\n // Photoshop\\\\n 0x8649: 'Photoshop',\\\\n\\\\n // GeoTiff\\\\n 0x830E: 'ModelPixelScale',\\\\n 0x8482: 'ModelTiepoint',\\\\n 0x85D8: 'ModelTransformation',\\\\n 0x87AF: 'GeoKeyDirectory',\\\\n 0x87B0: 'GeoDoubleParams',\\\\n 0x87B1: 'GeoAsciiParams',\\\\n};\\\\n\\\\nconst fieldTags = {};\\\\nfor (const key in fieldTagNames) {\\\\n if (fieldTagNames.hasOwnProperty(key)) {\\\\n fieldTags[fieldTagNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst fieldTagTypes = {\\\\n 256: 'SHORT',\\\\n 257: 'SHORT',\\\\n 258: 'SHORT',\\\\n 259: 'SHORT',\\\\n 262: 'SHORT',\\\\n 273: 'LONG',\\\\n 274: 'SHORT',\\\\n 277: 'SHORT',\\\\n 278: 'LONG',\\\\n 279: 'LONG',\\\\n 282: 'RATIONAL',\\\\n 283: 'RATIONAL',\\\\n 284: 'SHORT',\\\\n 286: 'SHORT',\\\\n 287: 'RATIONAL',\\\\n 296: 'SHORT',\\\\n 305: 'ASCII',\\\\n 306: 'ASCII',\\\\n 338: 'SHORT',\\\\n 339: 'SHORT',\\\\n 513: 'LONG',\\\\n 514: 'LONG',\\\\n 1024: 'SHORT',\\\\n 1025: 'SHORT',\\\\n 2048: 'SHORT',\\\\n 2049: 'ASCII',\\\\n 33550: 'DOUBLE',\\\\n 33922: 'DOUBLE',\\\\n 34665: 'LONG',\\\\n 34735: 'SHORT',\\\\n 34737: 'ASCII',\\\\n 42113: 'ASCII',\\\\n};\\\\n\\\\nconst arrayFields = [\\\\n fieldTags.BitsPerSample,\\\\n fieldTags.ExtraSamples,\\\\n fieldTags.SampleFormat,\\\\n fieldTags.StripByteCounts,\\\\n fieldTags.StripOffsets,\\\\n fieldTags.StripRowCounts,\\\\n fieldTags.TileByteCounts,\\\\n fieldTags.TileOffsets,\\\\n];\\\\n\\\\nconst fieldTypeNames = {\\\\n 0x0001: 'BYTE',\\\\n 0x0002: 'ASCII',\\\\n 0x0003: 'SHORT',\\\\n 0x0004: 'LONG',\\\\n 0x0005: 'RATIONAL',\\\\n 0x0006: 'SBYTE',\\\\n 0x0007: 'UNDEFINED',\\\\n 0x0008: 'SSHORT',\\\\n 0x0009: 'SLONG',\\\\n 0x000A: 'SRATIONAL',\\\\n 0x000B: 'FLOAT',\\\\n 0x000C: 'DOUBLE',\\\\n // IFD offset, suggested by https://owl.phy.queensu.ca/~phil/exiftool/standards.html\\\\n 0x000D: 'IFD',\\\\n // introduced by BigTIFF\\\\n 0x0010: 'LONG8',\\\\n 0x0011: 'SLONG8',\\\\n 0x0012: 'IFD8',\\\\n};\\\\n\\\\nconst fieldTypes = {};\\\\nfor (const key in fieldTypeNames) {\\\\n if (fieldTypeNames.hasOwnProperty(key)) {\\\\n fieldTypes[fieldTypeNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\nconst photometricInterpretations = {\\\\n WhiteIsZero: 0,\\\\n BlackIsZero: 1,\\\\n RGB: 2,\\\\n Palette: 3,\\\\n TransparencyMask: 4,\\\\n CMYK: 5,\\\\n YCbCr: 6,\\\\n\\\\n CIELab: 8,\\\\n ICCLab: 9,\\\\n};\\\\n\\\\nconst ExtraSamplesValues = {\\\\n Unspecified: 0,\\\\n Assocalpha: 1,\\\\n Unassalpha: 2,\\\\n};\\\\n\\\\n\\\\nconst geoKeyNames = {\\\\n 1024: 'GTModelTypeGeoKey',\\\\n 1025: 'GTRasterTypeGeoKey',\\\\n 1026: 'GTCitationGeoKey',\\\\n 2048: 'GeographicTypeGeoKey',\\\\n 2049: 'GeogCitationGeoKey',\\\\n 2050: 'GeogGeodeticDatumGeoKey',\\\\n 2051: 'GeogPrimeMeridianGeoKey',\\\\n 2052: 'GeogLinearUnitsGeoKey',\\\\n 2053: 'GeogLinearUnitSizeGeoKey',\\\\n 2054: 'GeogAngularUnitsGeoKey',\\\\n 2055: 'GeogAngularUnitSizeGeoKey',\\\\n 2056: 'GeogEllipsoidGeoKey',\\\\n 2057: 'GeogSemiMajorAxisGeoKey',\\\\n 2058: 'GeogSemiMinorAxisGeoKey',\\\\n 2059: 'GeogInvFlatteningGeoKey',\\\\n 2060: 'GeogAzimuthUnitsGeoKey',\\\\n 2061: 'GeogPrimeMeridianLongGeoKey',\\\\n 2062: 'GeogTOWGS84GeoKey',\\\\n 3072: 'ProjectedCSTypeGeoKey',\\\\n 3073: 'PCSCitationGeoKey',\\\\n 3074: 'ProjectionGeoKey',\\\\n 3075: 'ProjCoordTransGeoKey',\\\\n 3076: 'ProjLinearUnitsGeoKey',\\\\n 3077: 'ProjLinearUnitSizeGeoKey',\\\\n 3078: 'ProjStdParallel1GeoKey',\\\\n 3079: 'ProjStdParallel2GeoKey',\\\\n 3080: 'ProjNatOriginLongGeoKey',\\\\n 3081: 'ProjNatOriginLatGeoKey',\\\\n 3082: 'ProjFalseEastingGeoKey',\\\\n 3083: 'ProjFalseNorthingGeoKey',\\\\n 3084: 'ProjFalseOriginLongGeoKey',\\\\n 3085: 'ProjFalseOriginLatGeoKey',\\\\n 3086: 'ProjFalseOriginEastingGeoKey',\\\\n 3087: 'ProjFalseOriginNorthingGeoKey',\\\\n 3088: 'ProjCenterLongGeoKey',\\\\n 3089: 'ProjCenterLatGeoKey',\\\\n 3090: 'ProjCenterEastingGeoKey',\\\\n 3091: 'ProjCenterNorthingGeoKey',\\\\n 3092: 'ProjScaleAtNatOriginGeoKey',\\\\n 3093: 'ProjScaleAtCenterGeoKey',\\\\n 3094: 'ProjAzimuthAngleGeoKey',\\\\n 3095: 'ProjStraightVertPoleLongGeoKey',\\\\n 3096: 'ProjRectifiedGridAngleGeoKey',\\\\n 4096: 'VerticalCSTypeGeoKey',\\\\n 4097: 'VerticalCitationGeoKey',\\\\n 4098: 'VerticalDatumGeoKey',\\\\n 4099: 'VerticalUnitsGeoKey',\\\\n};\\\\n\\\\nconst geoKeys = {};\\\\nfor (const key in geoKeyNames) {\\\\n if (geoKeyNames.hasOwnProperty(key)) {\\\\n geoKeys[geoKeyNames[key]] = parseInt(key, 10);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/globals.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/logging.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/logging.js ***!\\n \\\\*********************************************/\\n/*! exports provided: setLogger, log, info, warn, error, time, timeEnd */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"setLogger\\\\\\\", function() { return setLogger; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"log\\\\\\\", function() { return log; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"info\\\\\\\", function() { return info; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"warn\\\\\\\", function() { return warn; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"error\\\\\\\", function() { return error; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"time\\\\\\\", function() { return time; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"timeEnd\\\\\\\", function() { return timeEnd; });\\\\n\\\\n/**\\\\n * A no-op logger\\\\n */\\\\nclass DummyLogger {\\\\n log() {}\\\\n\\\\n info() {}\\\\n\\\\n warn() {}\\\\n\\\\n error() {}\\\\n\\\\n time() {}\\\\n\\\\n timeEnd() {}\\\\n}\\\\n\\\\nlet LOGGER = new DummyLogger();\\\\n\\\\n/**\\\\n *\\\\n * @param {object} logger the new logger. e.g `console`\\\\n */\\\\nfunction setLogger(logger = new DummyLogger()) {\\\\n LOGGER = logger;\\\\n}\\\\n\\\\nfunction log(...args) {\\\\n return LOGGER.log(...args);\\\\n}\\\\n\\\\nfunction info(...args) {\\\\n return LOGGER.info(...args);\\\\n}\\\\n\\\\nfunction warn(...args) {\\\\n return LOGGER.warn(...args);\\\\n}\\\\n\\\\nfunction error(...args) {\\\\n return LOGGER.error(...args);\\\\n}\\\\n\\\\nfunction time(...args) {\\\\n return LOGGER.time(...args);\\\\n}\\\\n\\\\nfunction timeEnd(...args) {\\\\n return LOGGER.timeEnd(...args);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/logging.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/pool.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/pool.js ***!\\n \\\\******************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* WEBPACK VAR INJECTION */(function(__webpack__worker__1) {/* harmony import */ var threads__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! threads */ \\\\\\\"./node_modules/threads/dist-esm/index.js\\\\\\\");\\\\n\\\\n\\\\nconst defaultPoolSize = typeof navigator !== 'undefined' ? navigator.hardwareConcurrency : null;\\\\n\\\\n/**\\\\n * @module pool\\\\n */\\\\n\\\\n/**\\\\n * Pool for workers to decode chunks of the images.\\\\n */\\\\nclass Pool {\\\\n /**\\\\n * @constructor\\\\n * @param {Number} size The size of the pool. Defaults to the number of CPUs\\\\n * available. When this parameter is `null` or 0, then the\\\\n * decoding will be done in the main thread.\\\\n */\\\\n constructor(size = defaultPoolSize) {\\\\n const worker = new threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Worker\\\\\\\"](__webpack__worker__1);\\\\n this.pool = Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Pool\\\\\\\"])(() => Object(threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"spawn\\\\\\\"])(worker), size);\\\\n }\\\\n\\\\n /**\\\\n * Decode the given block of bytes with the set compression method.\\\\n * @param {ArrayBuffer} buffer the array buffer of bytes to decode.\\\\n * @returns {Promise.} the decoded result as a `Promise`\\\\n */\\\\n async decode(fileDirectory, buffer) {\\\\n return new Promise((resolve, reject) => {\\\\n this.pool.queue(async (decode) => {\\\\n try {\\\\n const data = await decode(fileDirectory, buffer);\\\\n resolve(data);\\\\n } catch (err) {\\\\n reject(err);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n\\\\n destroy() {\\\\n this.pool.terminate(true);\\\\n }\\\\n}\\\\n\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Pool);\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/threads-plugin/dist/loader.js?{\\\\\\\"name\\\\\\\":\\\\\\\"1\\\\\\\"}!./decoder.worker.js */ \\\\\\\"./node_modules/threads-plugin/dist/loader.js?{\\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\"}!./node_modules/geotiff/src/decoder.worker.js\\\\\\\")))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/pool.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/predictor.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/predictor.js ***!\\n \\\\***********************************************/\\n/*! exports provided: applyPredictor */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"applyPredictor\\\\\\\", function() { return applyPredictor; });\\\\n\\\\nfunction decodeRowAcc(row, stride) {\\\\n let length = row.length - stride;\\\\n let offset = 0;\\\\n do {\\\\n for (let i = stride; i > 0; i--) {\\\\n row[offset + stride] += row[offset];\\\\n offset++;\\\\n }\\\\n\\\\n length -= stride;\\\\n } while (length > 0);\\\\n}\\\\n\\\\nfunction decodeRowFloatingPoint(row, stride, bytesPerSample) {\\\\n let index = 0;\\\\n let count = row.length;\\\\n const wc = count / bytesPerSample;\\\\n\\\\n while (count > stride) {\\\\n for (let i = stride; i > 0; --i) {\\\\n row[index + stride] += row[index];\\\\n ++index;\\\\n }\\\\n count -= stride;\\\\n }\\\\n\\\\n const copy = row.slice();\\\\n for (let i = 0; i < wc; ++i) {\\\\n for (let b = 0; b < bytesPerSample; ++b) {\\\\n row[(bytesPerSample * i) + b] = copy[((bytesPerSample - b - 1) * wc) + i];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction applyPredictor(block, predictor, width, height, bitsPerSample,\\\\n planarConfiguration) {\\\\n if (!predictor || predictor === 1) {\\\\n return block;\\\\n }\\\\n\\\\n for (let i = 0; i < bitsPerSample.length; ++i) {\\\\n if (bitsPerSample[i] % 8 !== 0) {\\\\n throw new Error('When decoding with predictor, only multiple of 8 bits are supported.');\\\\n }\\\\n if (bitsPerSample[i] !== bitsPerSample[0]) {\\\\n throw new Error('When decoding with predictor, all samples must have the same size.');\\\\n }\\\\n }\\\\n\\\\n const bytesPerSample = bitsPerSample[0] / 8;\\\\n const stride = planarConfiguration === 2 ? 1 : bitsPerSample.length;\\\\n\\\\n for (let i = 0; i < height; ++i) {\\\\n // Last strip will be truncated if height % stripHeight != 0\\\\n if (i * stride * width * bytesPerSample >= block.byteLength) {\\\\n break;\\\\n }\\\\n let row;\\\\n if (predictor === 2) { // horizontal prediction\\\\n switch (bitsPerSample[0]) {\\\\n case 8:\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n break;\\\\n case 16:\\\\n row = new Uint16Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 2,\\\\n );\\\\n break;\\\\n case 32:\\\\n row = new Uint32Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample / 4,\\\\n );\\\\n break;\\\\n default:\\\\n throw new Error(`Predictor 2 not allowed with ${bitsPerSample[0]} bits per sample.`);\\\\n }\\\\n decodeRowAcc(row, stride, bytesPerSample);\\\\n } else if (predictor === 3) { // horizontal floating point\\\\n row = new Uint8Array(\\\\n block, i * stride * width * bytesPerSample, stride * width * bytesPerSample,\\\\n );\\\\n decodeRowFloatingPoint(row, stride, bytesPerSample);\\\\n }\\\\n }\\\\n return block;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/predictor.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/resample.js\\\":\\n/*!**********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/resample.js ***!\\n \\\\**********************************************/\\n/*! exports provided: resampleNearest, resampleBilinear, resample, resampleNearestInterleaved, resampleBilinearInterleaved, resampleInterleaved */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearest\\\\\\\", function() { return resampleNearest; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinear\\\\\\\", function() { return resampleBilinear; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resample\\\\\\\", function() { return resample; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleNearestInterleaved\\\\\\\", function() { return resampleNearestInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleBilinearInterleaved\\\\\\\", function() { return resampleBilinearInterleaved; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"resampleInterleaved\\\\\\\", function() { return resampleInterleaved; });\\\\n/**\\\\n * @module resample\\\\n */\\\\n\\\\nfunction copyNewSize(array, width, height, samplesPerPixel = 1) {\\\\n return new (Object.getPrototypeOf(array).constructor)(width * height * samplesPerPixel);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using nearest neighbor value selection.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n const value = array[(cy * inWidth) + cx];\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n// simple linear interpolation, code from:\\\\n// https://en.wikipedia.org/wiki/Linear_interpolation#Programming_language_support\\\\nfunction lerp(v0, v1, t) {\\\\n return ((1 - t) * v0) + (t * v1);\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using bilinear interpolation.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n return valueArrays.map((array) => {\\\\n const newArray = copyNewSize(array, outWidth, outHeight);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n const ll = array[(yl * inWidth) + xl];\\\\n const hl = array[(yl * inWidth) + xh];\\\\n const lh = array[(yh * inWidth) + xl];\\\\n const hh = array[(yh * inWidth) + xh];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth) + x] = value;\\\\n }\\\\n }\\\\n return newArray;\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Resample the input arrays using the selected resampling method.\\\\n * @param {TypedArray[]} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray[]} The resampled rasters\\\\n */\\\\nfunction resample(valueArrays, inWidth, inHeight, outWidth, outHeight, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearest(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinear(valueArrays, inWidth, inHeight, outWidth, outHeight);\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using nearest neighbor value selection.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const cy = Math.min(Math.round(relY * y), inHeight - 1);\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const cx = Math.min(Math.round(relX * x), inWidth - 1);\\\\n for (let i = 0; i < samples; ++i) {\\\\n const value = valueArray[(cy * inWidth * samples) + (cx * samples) + i];\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using bilinear interpolation.\\\\n * @param {TypedArray} valueArrays The input arrays to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @returns {TypedArray} The resampled raster\\\\n */\\\\nfunction resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples) {\\\\n const relX = inWidth / outWidth;\\\\n const relY = inHeight / outHeight;\\\\n const newArray = copyNewSize(valueArray, outWidth, outHeight, samples);\\\\n for (let y = 0; y < outHeight; ++y) {\\\\n const rawY = relY * y;\\\\n\\\\n const yl = Math.floor(rawY);\\\\n const yh = Math.min(Math.ceil(rawY), (inHeight - 1));\\\\n\\\\n for (let x = 0; x < outWidth; ++x) {\\\\n const rawX = relX * x;\\\\n const tx = rawX % 1;\\\\n\\\\n const xl = Math.floor(rawX);\\\\n const xh = Math.min(Math.ceil(rawX), (inWidth - 1));\\\\n\\\\n for (let i = 0; i < samples; ++i) {\\\\n const ll = valueArray[(yl * inWidth * samples) + (xl * samples) + i];\\\\n const hl = valueArray[(yl * inWidth * samples) + (xh * samples) + i];\\\\n const lh = valueArray[(yh * inWidth * samples) + (xl * samples) + i];\\\\n const hh = valueArray[(yh * inWidth * samples) + (xh * samples) + i];\\\\n\\\\n const value = lerp(\\\\n lerp(ll, hl, tx),\\\\n lerp(lh, hh, tx),\\\\n rawY % 1,\\\\n );\\\\n newArray[(y * outWidth * samples) + (x * samples) + i] = value;\\\\n }\\\\n }\\\\n }\\\\n return newArray;\\\\n}\\\\n\\\\n/**\\\\n * Resample the pixel interleaved input array using the selected resampling method.\\\\n * @param {TypedArray} valueArray The input array to resample\\\\n * @param {number} inWidth The width of the input rasters\\\\n * @param {number} inHeight The height of the input rasters\\\\n * @param {number} outWidth The desired width of the output rasters\\\\n * @param {number} outHeight The desired height of the output rasters\\\\n * @param {number} samples The number of samples per pixel for pixel\\\\n * interleaved data\\\\n * @param {string} [method = 'nearest'] The desired resampling method\\\\n * @returns {TypedArray} The resampled rasters\\\\n */\\\\nfunction resampleInterleaved(valueArray, inWidth, inHeight, outWidth, outHeight, samples, method = 'nearest') {\\\\n switch (method.toLowerCase()) {\\\\n case 'nearest':\\\\n return resampleNearestInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n case 'bilinear':\\\\n case 'linear':\\\\n return resampleBilinearInterleaved(\\\\n valueArray, inWidth, inHeight, outWidth, outHeight, samples,\\\\n );\\\\n default:\\\\n throw new Error(`Unsupported resampling method: '${method}'`);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/resample.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/rgb.js\\\":\\n/*!*****************************************!*\\\\\\n !*** ./node_modules/geotiff/src/rgb.js ***!\\n \\\\*****************************************/\\n/*! exports provided: fromWhiteIsZero, fromBlackIsZero, fromPalette, fromCMYK, fromYCbCr, fromCIELab */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromWhiteIsZero\\\\\\\", function() { return fromWhiteIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromBlackIsZero\\\\\\\", function() { return fromBlackIsZero; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromPalette\\\\\\\", function() { return fromPalette; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCMYK\\\\\\\", function() { return fromCMYK; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromYCbCr\\\\\\\", function() { return fromYCbCr; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"fromCIELab\\\\\\\", function() { return fromCIELab; });\\\\nfunction fromWhiteIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = 256 - (raster[i] / max * 256);\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromBlackIsZero(raster, max) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n let value;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n value = raster[i] / max * 256;\\\\n rgbRaster[j] = value;\\\\n rgbRaster[j + 1] = value;\\\\n rgbRaster[j + 2] = value;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromPalette(raster, colorMap) {\\\\n const { width, height } = raster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n const greenOffset = colorMap.length / 3;\\\\n const blueOffset = colorMap.length / 3 * 2;\\\\n for (let i = 0, j = 0; i < raster.length; ++i, j += 3) {\\\\n const mapIndex = raster[i];\\\\n rgbRaster[j] = colorMap[mapIndex] / 65536 * 256;\\\\n rgbRaster[j + 1] = colorMap[mapIndex + greenOffset] / 65536 * 256;\\\\n rgbRaster[j + 2] = colorMap[mapIndex + blueOffset] / 65536 * 256;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromCMYK(cmykRaster) {\\\\n const { width, height } = cmykRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n for (let i = 0, j = 0; i < cmykRaster.length; i += 4, j += 3) {\\\\n const c = cmykRaster[i];\\\\n const m = cmykRaster[i + 1];\\\\n const y = cmykRaster[i + 2];\\\\n const k = cmykRaster[i + 3];\\\\n\\\\n rgbRaster[j] = 255 * ((255 - c) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 1] = 255 * ((255 - m) / 256) * ((255 - k) / 256);\\\\n rgbRaster[j + 2] = 255 * ((255 - y) / 256) * ((255 - k) / 256);\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nfunction fromYCbCr(yCbCrRaster) {\\\\n const { width, height } = yCbCrRaster;\\\\n const rgbRaster = new Uint8ClampedArray(width * height * 3);\\\\n for (let i = 0, j = 0; i < yCbCrRaster.length; i += 3, j += 3) {\\\\n const y = yCbCrRaster[i];\\\\n const cb = yCbCrRaster[i + 1];\\\\n const cr = yCbCrRaster[i + 2];\\\\n\\\\n rgbRaster[j] = (y + (1.40200 * (cr - 0x80)));\\\\n rgbRaster[j + 1] = (y - (0.34414 * (cb - 0x80)) - (0.71414 * (cr - 0x80)));\\\\n rgbRaster[j + 2] = (y + (1.77200 * (cb - 0x80)));\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\nconst Xn = 0.95047;\\\\nconst Yn = 1.00000;\\\\nconst Zn = 1.08883;\\\\n\\\\n// from https://github.com/antimatter15/rgb-lab/blob/master/color.js\\\\n\\\\nfunction fromCIELab(cieLabRaster) {\\\\n const { width, height } = cieLabRaster;\\\\n const rgbRaster = new Uint8Array(width * height * 3);\\\\n\\\\n for (let i = 0, j = 0; i < cieLabRaster.length; i += 3, j += 3) {\\\\n const L = cieLabRaster[i + 0];\\\\n const a_ = cieLabRaster[i + 1] << 24 >> 24; // conversion from uint8 to int8\\\\n const b_ = cieLabRaster[i + 2] << 24 >> 24; // same\\\\n\\\\n let y = (L + 16) / 116;\\\\n let x = (a_ / 500) + y;\\\\n let z = y - (b_ / 200);\\\\n let r;\\\\n let g;\\\\n let b;\\\\n\\\\n x = Xn * ((x * x * x > 0.008856) ? x * x * x : (x - (16 / 116)) / 7.787);\\\\n y = Yn * ((y * y * y > 0.008856) ? y * y * y : (y - (16 / 116)) / 7.787);\\\\n z = Zn * ((z * z * z > 0.008856) ? z * z * z : (z - (16 / 116)) / 7.787);\\\\n\\\\n r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\\\\n g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\\\\n b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\\\\n\\\\n r = (r > 0.0031308) ? ((1.055 * (r ** (1 / 2.4))) - 0.055) : 12.92 * r;\\\\n g = (g > 0.0031308) ? ((1.055 * (g ** (1 / 2.4))) - 0.055) : 12.92 * g;\\\\n b = (b > 0.0031308) ? ((1.055 * (b ** (1 / 2.4))) - 0.055) : 12.92 * b;\\\\n\\\\n rgbRaster[j] = Math.max(0, Math.min(1, r)) * 255;\\\\n rgbRaster[j + 1] = Math.max(0, Math.min(1, g)) * 255;\\\\n rgbRaster[j + 2] = Math.max(0, Math.min(1, b)) * 255;\\\\n }\\\\n return rgbRaster;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/rgb.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/source.js\\\":\\n/*!********************************************!*\\\\\\n !*** ./node_modules/geotiff/src/source.js ***!\\n \\\\********************************************/\\n/*! exports provided: makeFetchSource, makeXHRSource, makeHttpSource, makeRemoteSource, makeBufferSource, makeFileSource, makeFileReaderSource */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFetchSource\\\\\\\", function() { return makeFetchSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeXHRSource\\\\\\\", function() { return makeXHRSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeHttpSource\\\\\\\", function() { return makeHttpSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeRemoteSource\\\\\\\", function() { return makeRemoteSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeBufferSource\\\\\\\", function() { return makeBufferSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileSource\\\\\\\", function() { return makeFileSource; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"makeFileReaderSource\\\\\\\", function() { return makeFileReaderSource; });\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\");\\\\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(buffer__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fs */ \\\\\\\"fs\\\\\\\");\\\\n/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! http */ \\\\\\\"http\\\\\\\");\\\\n/* harmony import */ var http__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(http__WEBPACK_IMPORTED_MODULE_2__);\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! https */ \\\\\\\"https\\\\\\\");\\\\n/* harmony import */ var https__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(https__WEBPACK_IMPORTED_MODULE_3__);\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! url */ \\\\\\\"url\\\\\\\");\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nfunction readRangeFromBlocks(blocks, rangeOffset, rangeLength) {\\\\n const rangeTop = rangeOffset + rangeLength;\\\\n const rangeData = new ArrayBuffer(rangeLength);\\\\n const rangeView = new Uint8Array(rangeData);\\\\n\\\\n for (const block of blocks) {\\\\n const delta = block.offset - rangeOffset;\\\\n const topDelta = block.top - rangeTop;\\\\n let blockInnerOffset = 0;\\\\n let rangeInnerOffset = 0;\\\\n let usedBlockLength;\\\\n\\\\n if (delta < 0) {\\\\n blockInnerOffset = -delta;\\\\n } else if (delta > 0) {\\\\n rangeInnerOffset = delta;\\\\n }\\\\n\\\\n if (topDelta < 0) {\\\\n usedBlockLength = block.length - blockInnerOffset;\\\\n } else {\\\\n usedBlockLength = rangeTop - block.offset - blockInnerOffset;\\\\n }\\\\n\\\\n const blockView = new Uint8Array(block.data, blockInnerOffset, usedBlockLength);\\\\n rangeView.set(blockView, rangeInnerOffset);\\\\n }\\\\n\\\\n return rangeData;\\\\n}\\\\n\\\\n/**\\\\n * Interface for Source objects.\\\\n * @interface Source\\\\n */\\\\n\\\\n/**\\\\n * @function Source#fetch\\\\n * @summary The main method to retrieve the data from the source.\\\\n * @param {number} offset The offset to read from in the source\\\\n * @param {number} length The requested number of bytes\\\\n */\\\\n\\\\n/**\\\\n * @typedef {object} Block\\\\n * @property {ArrayBuffer} data The actual data of the block.\\\\n * @property {number} offset The actual offset of the block within the file.\\\\n * @property {number} length The actual size of the block in bytes.\\\\n */\\\\n\\\\n/**\\\\n * Callback type for sources to request patches of data.\\\\n * @callback requestCallback\\\\n * @async\\\\n * @param {number} offset The offset within the file.\\\\n * @param {number} length The desired length of data to be read.\\\\n * @returns {Promise} The block of data.\\\\n */\\\\n\\\\n/**\\\\n * @module source\\\\n */\\\\n\\\\n/*\\\\n * Split a list of identifiers to form groups of coherent ones\\\\n */\\\\nfunction getCoherentBlockGroups(blockIds) {\\\\n if (blockIds.length === 0) {\\\\n return [];\\\\n }\\\\n\\\\n const groups = [];\\\\n let current = [];\\\\n groups.push(current);\\\\n\\\\n for (let i = 0; i < blockIds.length; ++i) {\\\\n if (i === 0 || blockIds[i] === blockIds[i - 1] + 1) {\\\\n current.push(blockIds[i]);\\\\n } else {\\\\n current = [blockIds[i]];\\\\n groups.push(current);\\\\n }\\\\n }\\\\n return groups;\\\\n}\\\\n\\\\n\\\\n/*\\\\n * Promisified wrapper around 'setTimeout' to allow 'await'\\\\n */\\\\nasync function wait(milliseconds) {\\\\n return new Promise((resolve) => setTimeout(resolve, milliseconds));\\\\n}\\\\n\\\\n/**\\\\n * BlockedSource - an abstraction of (remote) files.\\\\n * @implements Source\\\\n */\\\\nclass BlockedSource {\\\\n /**\\\\n * @param {requestCallback} retrievalFunction Callback function to request data\\\\n * @param {object} options Additional options\\\\n * @param {object} options.blockSize Size of blocks to be fetched\\\\n */\\\\n constructor(retrievalFunction, { blockSize = 65536 } = {}) {\\\\n this.retrievalFunction = retrievalFunction;\\\\n this.blockSize = blockSize;\\\\n\\\\n // currently running block requests\\\\n this.blockRequests = new Map();\\\\n\\\\n // already retrieved blocks\\\\n this.blocks = new Map();\\\\n\\\\n // block ids waiting for a batched request. Either a Set or null\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n /**\\\\n * Fetch a subset of the file.\\\\n * @param {number} offset The offset within the file to read from.\\\\n * @param {number} length The length in bytes to read from.\\\\n * @returns {ArrayBuffer} The subset of the file.\\\\n */\\\\n async fetch(offset, length, immediate = false) {\\\\n const top = offset + length;\\\\n\\\\n // calculate what blocks intersect the specified range (offset + length)\\\\n // determine what blocks are already stored or beeing requested\\\\n const firstBlockOffset = Math.floor(offset / this.blockSize) * this.blockSize;\\\\n const allBlockIds = [];\\\\n const missingBlockIds = [];\\\\n const blockRequests = [];\\\\n\\\\n for (let current = firstBlockOffset; current < top; current += this.blockSize) {\\\\n const blockId = Math.floor(current / this.blockSize);\\\\n if (!this.blocks.has(blockId) && !this.blockRequests.has(blockId)) {\\\\n missingBlockIds.push(blockId);\\\\n }\\\\n if (this.blockRequests.has(blockId)) {\\\\n blockRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n allBlockIds.push(blockId);\\\\n }\\\\n\\\\n // determine whether there are already blocks in the queue to be requested\\\\n // if so, add the missing blocks to this list\\\\n if (!this.blockIdsAwaitingRequest) {\\\\n this.blockIdsAwaitingRequest = new Set(missingBlockIds);\\\\n } else {\\\\n for (let i = 0; i < missingBlockIds.length; ++i) {\\\\n const id = missingBlockIds[i];\\\\n this.blockIdsAwaitingRequest.add(id);\\\\n }\\\\n }\\\\n\\\\n // in immediate mode, we don't want to wait for possible additional requests coming in\\\\n if (!immediate) {\\\\n await wait();\\\\n }\\\\n\\\\n // determine if we are the thread to start the requests.\\\\n if (this.blockIdsAwaitingRequest) {\\\\n // get all coherent blocks as groups to be requested in a single request\\\\n const groups = getCoherentBlockGroups(\\\\n Array.from(this.blockIdsAwaitingRequest).sort(),\\\\n );\\\\n\\\\n // iterate over all blocks\\\\n for (const group of groups) {\\\\n // fetch a group as in a single request\\\\n const request = this.requestData(\\\\n group[0] * this.blockSize, group.length * this.blockSize,\\\\n );\\\\n\\\\n // for each block in the request, make a small 'splitter',\\\\n // i.e: wait for the request to finish, then cut out the bytes for\\\\n // that block and store it there.\\\\n // we keep that as a promise in 'blockRequests' to allow waiting on\\\\n // a single block.\\\\n for (let i = 0; i < group.length; ++i) {\\\\n const id = group[i];\\\\n this.blockRequests.set(id, (async () => {\\\\n const response = await request;\\\\n const o = i * this.blockSize;\\\\n const t = Math.min(o + this.blockSize, response.data.byteLength);\\\\n const data = response.data.slice(o, t);\\\\n this.blockRequests.delete(id);\\\\n this.blocks.set(id, {\\\\n data,\\\\n offset: response.offset + o,\\\\n length: data.byteLength,\\\\n top: response.offset + t,\\\\n });\\\\n })());\\\\n }\\\\n }\\\\n this.blockIdsAwaitingRequest = null;\\\\n }\\\\n\\\\n // get a list of currently running requests for the blocks still missing\\\\n const missingRequests = [];\\\\n for (const blockId of missingBlockIds) {\\\\n if (this.blockRequests.has(blockId)) {\\\\n missingRequests.push(this.blockRequests.get(blockId));\\\\n }\\\\n }\\\\n\\\\n // wait for all missing requests to finish\\\\n await Promise.all(missingRequests);\\\\n await Promise.all(blockRequests);\\\\n\\\\n // now get all blocks for the request and return a summary buffer\\\\n const blocks = allBlockIds.map((id) => this.blocks.get(id));\\\\n return readRangeFromBlocks(blocks, offset, length);\\\\n }\\\\n\\\\n async requestData(requestedOffset, requestedLength) {\\\\n const response = await this.retrievalFunction(requestedOffset, requestedLength);\\\\n if (!response.length) {\\\\n response.length = response.data.byteLength;\\\\n } else if (response.length !== response.data.byteLength) {\\\\n response.data = response.data.slice(0, response.length);\\\\n }\\\\n response.top = response.offset + response.length;\\\\n return response;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [fetch]{@link https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFetchSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n const response = await fetch(url, {\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n },\\\\n });\\\\n\\\\n // check the response was okay and if the server actually understands range requests\\\\n if (!response.ok) {\\\\n throw new Error('Error fetching data.');\\\\n } else if (response.status === 206) {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset,\\\\n length,\\\\n };\\\\n } else {\\\\n const data = response.arrayBuffer\\\\n ? await response.arrayBuffer() : (await response.buffer()).buffer;\\\\n return {\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n };\\\\n }\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the\\\\n * [XHR]{@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeXHRSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => {\\\\n return new Promise((resolve, reject) => {\\\\n const request = new XMLHttpRequest();\\\\n request.open('GET', url);\\\\n request.responseType = 'arraybuffer';\\\\n const requestHeaders = { ...headers, Range: `bytes=${offset}-${offset + length - 1}` };\\\\n for (const [key, value] of Object.entries(requestHeaders)) {\\\\n request.setRequestHeader(key, value);\\\\n }\\\\n\\\\n request.onload = () => {\\\\n const data = request.response;\\\\n if (request.status === 206) {\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length,\\\\n });\\\\n } else {\\\\n resolve({\\\\n data,\\\\n offset: 0,\\\\n length: data.byteLength,\\\\n });\\\\n }\\\\n };\\\\n request.onerror = reject;\\\\n request.send();\\\\n });\\\\n }, { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file using the node\\\\n * [http]{@link https://nodejs.org/api/http.html} API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n */\\\\nfunction makeHttpSource(url, { headers = {}, blockSize } = {}) {\\\\n return new BlockedSource(async (offset, length) => new Promise((resolve, reject) => {\\\\n const parsed = url__WEBPACK_IMPORTED_MODULE_4___default.a.parse(url);\\\\n const request = (parsed.protocol === 'http:' ? http__WEBPACK_IMPORTED_MODULE_2___default.a : https__WEBPACK_IMPORTED_MODULE_3___default.a).get(\\\\n { ...parsed,\\\\n headers: {\\\\n ...headers, Range: `bytes=${offset}-${offset + length - 1}`,\\\\n } }, (result) => {\\\\n const chunks = [];\\\\n // collect chunks\\\\n result.on('data', (chunk) => {\\\\n chunks.push(chunk);\\\\n });\\\\n\\\\n // concatenate all chunks and resolve the promise with the resulting buffer\\\\n result.on('end', () => {\\\\n const data = buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].concat(chunks).buffer;\\\\n resolve({\\\\n data,\\\\n offset,\\\\n length: data.byteLength,\\\\n });\\\\n });\\\\n },\\\\n );\\\\n request.on('error', reject);\\\\n }), { blockSize });\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a remote file. Uses either XHR, fetch or nodes http API.\\\\n * @param {string} url The URL to send requests to.\\\\n * @param {Object} [options] Additional options.\\\\n * @param {Boolean} [options.forceXHR] Force the usage of XMLHttpRequest.\\\\n * @param {Number} [options.blockSize] The block size to use.\\\\n * @param {object} [options.headers] Additional headers to be sent to the server.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeRemoteSource(url, options) {\\\\n const { forceXHR } = options;\\\\n if (typeof fetch === 'function' && !forceXHR) {\\\\n return makeFetchSource(url, options);\\\\n }\\\\n if (typeof XMLHttpRequest !== 'undefined') {\\\\n return makeXHRSource(url, options);\\\\n }\\\\n if (http__WEBPACK_IMPORTED_MODULE_2___default.a.get) {\\\\n return makeHttpSource(url, options);\\\\n }\\\\n throw new Error('No remote source available');\\\\n}\\\\n\\\\n/**\\\\n * Create a new source to read from a local\\\\n * [ArrayBuffer]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer}.\\\\n * @param {ArrayBuffer} arrayBuffer The ArrayBuffer to parse the GeoTIFF from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeBufferSource(arrayBuffer) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return arrayBuffer.slice(offset, offset + length);\\\\n },\\\\n };\\\\n}\\\\n\\\\nfunction closeAsync(fd) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"close\\\\\\\"])(fd, err => {\\\\n if (err) {\\\\n reject(err)\\\\n } else {\\\\n resolve()\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction openAsync(path, flags, mode = undefined) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"open\\\\\\\"])(path, flags, mode, (err, fd) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve(fd);\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\nfunction readAsync(...args) {\\\\n return new Promise((resolve, reject) => {\\\\n Object(fs__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"read\\\\\\\"])(...args, (err, bytesRead, buffer) => {\\\\n if (err) {\\\\n reject(err);\\\\n } else {\\\\n resolve({ bytesRead, buffer });\\\\n }\\\\n });\\\\n });\\\\n}\\\\n\\\\n/**\\\\n * Creates a new source using the node filesystem API.\\\\n * @param {string} path The path to the file in the local filesystem.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileSource(path) {\\\\n const fileOpen = openAsync(path, 'r');\\\\n\\\\n return {\\\\n async fetch(offset, length) {\\\\n const fd = await fileOpen;\\\\n const { buffer } = await readAsync(fd, buffer__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Buffer\\\\\\\"].alloc(length), 0, length, offset);\\\\n return buffer.buffer;\\\\n },\\\\n async close() {\\\\n const fd = await fileOpen;\\\\n return await closeAsync(fd);\\\\n },\\\\n };\\\\n}\\\\n\\\\n/**\\\\n * Create a new source from a given file/blob.\\\\n * @param {Blob} file The file or blob to read from.\\\\n * @returns The constructed source\\\\n */\\\\nfunction makeFileReaderSource(file) {\\\\n return {\\\\n async fetch(offset, length) {\\\\n return new Promise((resolve, reject) => {\\\\n const blob = file.slice(offset, offset + length);\\\\n const reader = new FileReader();\\\\n reader.onload = (event) => resolve(event.target.result);\\\\n reader.onerror = reject;\\\\n reader.readAsArrayBuffer(blob);\\\\n });\\\\n },\\\\n };\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/source.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/geotiff/src/utils.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/geotiff/src/utils.js ***!\\n \\\\*******************************************/\\n/*! exports provided: assign, chunk, endsWith, forEach, invert, range, times, toArray, toArrayRecursively */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"assign\\\\\\\", function() { return assign; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"chunk\\\\\\\", function() { return chunk; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"endsWith\\\\\\\", function() { return endsWith; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"forEach\\\\\\\", function() { return forEach; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"invert\\\\\\\", function() { return invert; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"range\\\\\\\", function() { return range; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"times\\\\\\\", function() { return times; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArray\\\\\\\", function() { return toArray; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"toArrayRecursively\\\\\\\", function() { return toArrayRecursively; });\\\\nfunction assign(target, source) {\\\\n for (const key in source) {\\\\n if (source.hasOwnProperty(key)) {\\\\n target[key] = source[key];\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction chunk(iterable, length) {\\\\n const results = [];\\\\n const lengthOfIterable = iterable.length;\\\\n for (let i = 0; i < lengthOfIterable; i += length) {\\\\n const chunked = [];\\\\n for (let ci = i; ci < i + length; ci++) {\\\\n chunked.push(iterable[ci]);\\\\n }\\\\n results.push(chunked);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction endsWith(string, expectedEnding) {\\\\n if (string.length < expectedEnding.length) {\\\\n return false;\\\\n }\\\\n const actualEnding = string.substr(string.length - expectedEnding.length);\\\\n return actualEnding === expectedEnding;\\\\n}\\\\n\\\\nfunction forEach(iterable, func) {\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n func(iterable[i], i);\\\\n }\\\\n}\\\\n\\\\nfunction invert(oldObj) {\\\\n const newObj = {};\\\\n for (const key in oldObj) {\\\\n if (oldObj.hasOwnProperty(key)) {\\\\n const value = oldObj[key];\\\\n newObj[value] = key;\\\\n }\\\\n }\\\\n return newObj;\\\\n}\\\\n\\\\nfunction range(n) {\\\\n const results = [];\\\\n for (let i = 0; i < n; i++) {\\\\n results.push(i);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction times(numTimes, func) {\\\\n const results = [];\\\\n for (let i = 0; i < numTimes; i++) {\\\\n results.push(func(i));\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArray(iterable) {\\\\n const results = [];\\\\n const { length } = iterable;\\\\n for (let i = 0; i < length; i++) {\\\\n results.push(iterable[i]);\\\\n }\\\\n return results;\\\\n}\\\\n\\\\nfunction toArrayRecursively(input) {\\\\n if (input.length) {\\\\n return toArray(input).map(toArrayRecursively);\\\\n }\\\\n return input;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/inherits/inherits.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/inherits/inherits.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"try {\\\\n var util = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\");\\\\n /* istanbul ignore next */\\\\n if (typeof util.inherits !== 'function') throw '';\\\\n module.exports = util.inherits;\\\\n} catch (e) {\\\\n /* istanbul ignore next */\\\\n module.exports = __webpack_require__(/*! ./inherits_browser.js */ \\\\\\\"./node_modules/inherits/inherits_browser.js\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/inherits/inherits.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/inherits/inherits_browser.js\\\":\\n/*!***************************************************!*\\\\\\n !*** ./node_modules/inherits/inherits_browser.js ***!\\n \\\\***************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"if (typeof Object.create === 'function') {\\\\n // implementation from standard node.js 'util' module\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n ctor.prototype = Object.create(superCtor.prototype, {\\\\n constructor: {\\\\n value: ctor,\\\\n enumerable: false,\\\\n writable: true,\\\\n configurable: true\\\\n }\\\\n })\\\\n }\\\\n };\\\\n} else {\\\\n // old school shim for old browsers\\\\n module.exports = function inherits(ctor, superCtor) {\\\\n if (superCtor) {\\\\n ctor.super_ = superCtor\\\\n var TempCtor = function () {}\\\\n TempCtor.prototype = superCtor.prototype\\\\n ctor.prototype = new TempCtor()\\\\n ctor.prototype.constructor = ctor\\\\n }\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/inherits/inherits_browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/is-observable/index.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/is-observable/index.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nmodule.exports = value => {\\\\n\\\\tif (!value) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\tif (typeof Symbol.observable === 'symbol' && typeof value[Symbol.observable] === 'function') {\\\\n\\\\t\\\\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\\\\n\\\\t\\\\treturn value === value[Symbol.observable]();\\\\n\\\\t}\\\\n\\\\n\\\\tif (typeof value['@@observable'] === 'function') {\\\\n\\\\t\\\\treturn value === value['@@observable']();\\\\n\\\\t}\\\\n\\\\n\\\\treturn false;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/is-observable/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/ms/index.js\\\":\\n/*!**********************************!*\\\\\\n !*** ./node_modules/ms/index.js ***!\\n \\\\**********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"/**\\\\n * Helpers.\\\\n */\\\\n\\\\nvar s = 1000;\\\\nvar m = s * 60;\\\\nvar h = m * 60;\\\\nvar d = h * 24;\\\\nvar w = d * 7;\\\\nvar y = d * 365.25;\\\\n\\\\n/**\\\\n * Parse or format the given `val`.\\\\n *\\\\n * Options:\\\\n *\\\\n * - `long` verbose formatting [false]\\\\n *\\\\n * @param {String|Number} val\\\\n * @param {Object} [options]\\\\n * @throws {Error} throw an error if val is not a non-empty string or a number\\\\n * @return {String|Number}\\\\n * @api public\\\\n */\\\\n\\\\nmodule.exports = function(val, options) {\\\\n options = options || {};\\\\n var type = typeof val;\\\\n if (type === 'string' && val.length > 0) {\\\\n return parse(val);\\\\n } else if (type === 'number' && isFinite(val)) {\\\\n return options.long ? fmtLong(val) : fmtShort(val);\\\\n }\\\\n throw new Error(\\\\n 'val is not a non-empty string or a valid number. val=' +\\\\n JSON.stringify(val)\\\\n );\\\\n};\\\\n\\\\n/**\\\\n * Parse the given `str` and return milliseconds.\\\\n *\\\\n * @param {String} str\\\\n * @return {Number}\\\\n * @api private\\\\n */\\\\n\\\\nfunction parse(str) {\\\\n str = String(str);\\\\n if (str.length > 100) {\\\\n return;\\\\n }\\\\n var match = /^(-?(?:\\\\\\\\d+)?\\\\\\\\.?\\\\\\\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\\\\n str\\\\n );\\\\n if (!match) {\\\\n return;\\\\n }\\\\n var n = parseFloat(match[1]);\\\\n var type = (match[2] || 'ms').toLowerCase();\\\\n switch (type) {\\\\n case 'years':\\\\n case 'year':\\\\n case 'yrs':\\\\n case 'yr':\\\\n case 'y':\\\\n return n * y;\\\\n case 'weeks':\\\\n case 'week':\\\\n case 'w':\\\\n return n * w;\\\\n case 'days':\\\\n case 'day':\\\\n case 'd':\\\\n return n * d;\\\\n case 'hours':\\\\n case 'hour':\\\\n case 'hrs':\\\\n case 'hr':\\\\n case 'h':\\\\n return n * h;\\\\n case 'minutes':\\\\n case 'minute':\\\\n case 'mins':\\\\n case 'min':\\\\n case 'm':\\\\n return n * m;\\\\n case 'seconds':\\\\n case 'second':\\\\n case 'secs':\\\\n case 'sec':\\\\n case 's':\\\\n return n * s;\\\\n case 'milliseconds':\\\\n case 'millisecond':\\\\n case 'msecs':\\\\n case 'msec':\\\\n case 'ms':\\\\n return n;\\\\n default:\\\\n return undefined;\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Short format for `ms`.\\\\n *\\\\n * @param {Number} ms\\\\n * @return {String}\\\\n * @api private\\\\n */\\\\n\\\\nfunction fmtShort(ms) {\\\\n var msAbs = Math.abs(ms);\\\\n if (msAbs >= d) {\\\\n return Math.round(ms / d) + 'd';\\\\n }\\\\n if (msAbs >= h) {\\\\n return Math.round(ms / h) + 'h';\\\\n }\\\\n if (msAbs >= m) {\\\\n return Math.round(ms / m) + 'm';\\\\n }\\\\n if (msAbs >= s) {\\\\n return Math.round(ms / s) + 's';\\\\n }\\\\n return ms + 'ms';\\\\n}\\\\n\\\\n/**\\\\n * Long format for `ms`.\\\\n *\\\\n * @param {Number} ms\\\\n * @return {String}\\\\n * @api private\\\\n */\\\\n\\\\nfunction fmtLong(ms) {\\\\n var msAbs = Math.abs(ms);\\\\n if (msAbs >= d) {\\\\n return plural(ms, msAbs, d, 'day');\\\\n }\\\\n if (msAbs >= h) {\\\\n return plural(ms, msAbs, h, 'hour');\\\\n }\\\\n if (msAbs >= m) {\\\\n return plural(ms, msAbs, m, 'minute');\\\\n }\\\\n if (msAbs >= s) {\\\\n return plural(ms, msAbs, s, 'second');\\\\n }\\\\n return ms + ' ms';\\\\n}\\\\n\\\\n/**\\\\n * Pluralization helper.\\\\n */\\\\n\\\\nfunction plural(ms, msAbs, n, name) {\\\\n var isPlural = msAbs >= n * 1.5;\\\\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/ms/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_scheduler.js ***!\\n \\\\************************************************************/\\n/*! exports provided: AsyncSerialScheduler */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"AsyncSerialScheduler\\\\\\\", function() { return AsyncSerialScheduler; });\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nclass AsyncSerialScheduler {\\\\n constructor(observer) {\\\\n this._baseObserver = observer;\\\\n this._pendingPromises = new Set();\\\\n }\\\\n complete() {\\\\n Promise.all(this._pendingPromises)\\\\n .then(() => this._baseObserver.complete())\\\\n .catch(error => this._baseObserver.error(error));\\\\n }\\\\n error(error) {\\\\n this._baseObserver.error(error);\\\\n }\\\\n schedule(task) {\\\\n const prevPromisesCompletion = Promise.all(this._pendingPromises);\\\\n const values = [];\\\\n const next = (value) => values.push(value);\\\\n const promise = Promise.resolve()\\\\n .then(() => __awaiter(this, void 0, void 0, function* () {\\\\n yield prevPromisesCompletion;\\\\n yield task(next);\\\\n this._pendingPromises.delete(promise);\\\\n for (const value of values) {\\\\n this._baseObserver.next(value);\\\\n }\\\\n }))\\\\n .catch(error => {\\\\n this._pendingPromises.delete(promise);\\\\n this._baseObserver.error(error);\\\\n });\\\\n this._pendingPromises.add(promise);\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_scheduler.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_symbols.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: hasSymbols, hasSymbol, getSymbol, registerObservableSymbol */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbols\\\\\\\", function() { return hasSymbols; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"hasSymbol\\\\\\\", function() { return hasSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getSymbol\\\\\\\", function() { return getSymbol; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerObservableSymbol\\\\\\\", function() { return registerObservableSymbol; });\\\\nconst hasSymbols = () => typeof Symbol === \\\\\\\"function\\\\\\\";\\\\nconst hasSymbol = (name) => hasSymbols() && Boolean(Symbol[name]);\\\\nconst getSymbol = (name) => hasSymbol(name) ? Symbol[name] : \\\\\\\"@@\\\\\\\" + name;\\\\nfunction registerObservableSymbol() {\\\\n if (hasSymbols() && !hasSymbol(\\\\\\\"observable\\\\\\\")) {\\\\n Symbol.observable = Symbol(\\\\\\\"observable\\\\\\\");\\\\n }\\\\n}\\\\nif (!hasSymbol(\\\\\\\"asyncIterator\\\\\\\")) {\\\\n Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for(\\\\\\\"Symbol.asyncIterator\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/_util.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/_util.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: isAsyncIterator, isIterator */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isAsyncIterator\\\\\\\", function() { return isAsyncIterator; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isIterator\\\\\\\", function() { return isIterator; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/// \\\\n\\\\nfunction isAsyncIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"asyncIterator\\\\\\\") && thing[Symbol.asyncIterator];\\\\n}\\\\nfunction isIterator(thing) {\\\\n return thing && Object(_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\") && thing[Symbol.iterator];\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/_util.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/filter.js\\\":\\n/*!********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/filter.js ***!\\n \\\\********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Filters the values emitted by another observable.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction filter(test) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n if (yield test(input)) {\\\\n next(input);\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (filter);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/filter.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/flatMap.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_util */ \\\\\\\"./node_modules/observable-fns/dist.esm/_util.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\nvar __asyncValues = (undefined && undefined.__asyncValues) || function (o) {\\\\n if (!Symbol.asyncIterator) throw new TypeError(\\\\\\\"Symbol.asyncIterator is not defined.\\\\\\\");\\\\n var m = o[Symbol.asyncIterator], i;\\\\n return m ? m.call(o) : (o = typeof __values === \\\\\\\"function\\\\\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\\\\\"next\\\\\\\"), verb(\\\\\\\"throw\\\\\\\"), verb(\\\\\\\"return\\\\\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable. In contrast to `map()`\\\\n * the `mapper` function returns an array of values that will be emitted\\\\n * separately.\\\\n * Use `flatMap()` to map input values to zero, one or multiple output\\\\n * values. To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction flatMap(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n var e_1, _a;\\\\n const mapped = yield mapper(input);\\\\n if (Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isIterator\\\\\\\"])(mapped) || Object(_util__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isAsyncIterator\\\\\\\"])(mapped)) {\\\\n try {\\\\n for (var mapped_1 = __asyncValues(mapped), mapped_1_1; mapped_1_1 = yield mapped_1.next(), !mapped_1_1.done;) {\\\\n const element = mapped_1_1.value;\\\\n next(element);\\\\n }\\\\n }\\\\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\\\\n finally {\\\\n try {\\\\n if (mapped_1_1 && !mapped_1_1.done && (_a = mapped_1.return)) yield _a.call(mapped_1);\\\\n }\\\\n finally { if (e_1) throw e_1.error; }\\\\n }\\\\n }\\\\n else {\\\\n mapped.map(output => next(output));\\\\n }\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (flatMap);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/flatMap.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: filter, flatMap, interval, map, merge, multicast, Observable, scan, Subject, unsubscribe */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ \\\\\\\"./node_modules/observable-fns/dist.esm/filter.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"filter\\\\\\\", function() { return _filter__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _flatMap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./flatMap */ \\\\\\\"./node_modules/observable-fns/dist.esm/flatMap.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"flatMap\\\\\\\", function() { return _flatMap__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _interval__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./interval */ \\\\\\\"./node_modules/observable-fns/dist.esm/interval.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"interval\\\\\\\", function() { return _interval__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map */ \\\\\\\"./node_modules/observable-fns/dist.esm/map.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"map\\\\\\\", function() { return _map__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _merge__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./merge */ \\\\\\\"./node_modules/observable-fns/dist.esm/merge.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"merge\\\\\\\", function() { return _merge__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./multicast */ \\\\\\\"./node_modules/observable-fns/dist.esm/multicast.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"multicast\\\\\\\", function() { return _multicast__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return _observable__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _scan__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scan */ \\\\\\\"./node_modules/observable-fns/dist.esm/scan.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"scan\\\\\\\", function() { return _scan__WEBPACK_IMPORTED_MODULE_7__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subject\\\\\\\", function() { return _subject__WEBPACK_IMPORTED_MODULE_8__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"unsubscribe\\\\\\\", function() { return _unsubscribe__WEBPACK_IMPORTED_MODULE_9__[\\\\\\\"default\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/interval.js\\\":\\n/*!**********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/interval.js ***!\\n \\\\**********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return interval; });\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n/**\\\\n * Creates an observable that yields a new value every `period` milliseconds.\\\\n * The first value emitted is 0, then 1, 2, etc. The first value is not emitted\\\\n * immediately, but after the first interval.\\\\n */\\\\nfunction interval(period) {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let counter = 0;\\\\n const handle = setInterval(() => {\\\\n observer.next(counter++);\\\\n }, period);\\\\n return () => clearInterval(handle);\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/interval.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/map.js\\\":\\n/*!*****************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/map.js ***!\\n \\\\*****************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n/**\\\\n * Maps the values emitted by another observable to different values.\\\\n * To be applied to an input observable using `pipe()`.\\\\n */\\\\nfunction map(mapper) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(input) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const mapped = yield mapper(input);\\\\n next(mapped);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (map);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/map.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/merge.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/merge.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\nfunction merge(...observables) {\\\\n if (observables.length === 0) {\\\\n return _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"].from([]);\\\\n }\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let completed = 0;\\\\n const subscriptions = observables.map(input => {\\\\n return input.subscribe({\\\\n error(error) {\\\\n observer.error(error);\\\\n unsubscribeAll();\\\\n },\\\\n next(value) {\\\\n observer.next(value);\\\\n },\\\\n complete() {\\\\n if (++completed === observables.length) {\\\\n observer.complete();\\\\n unsubscribeAll();\\\\n }\\\\n }\\\\n });\\\\n });\\\\n const unsubscribeAll = () => {\\\\n subscriptions.forEach(subscription => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"])(subscription));\\\\n };\\\\n return unsubscribeAll;\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (merge);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/merge.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/multicast.js\\\":\\n/*!***********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/multicast.js ***!\\n \\\\***********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _subject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subject */ \\\\\\\"./node_modules/observable-fns/dist.esm/subject.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\n\\\\n\\\\n\\\\n// TODO: Subject already creates additional observables \\\\\\\"under the hood\\\\\\\",\\\\n// now we introduce even more. A true native MulticastObservable\\\\n// would be preferable.\\\\n/**\\\\n * Takes a \\\\\\\"cold\\\\\\\" observable and returns a wrapping \\\\\\\"hot\\\\\\\" observable that\\\\n * proxies the input observable's values and errors.\\\\n *\\\\n * An observable is called \\\\\\\"cold\\\\\\\" when its initialization function is run\\\\n * for each new subscriber. This is how observable-fns's `Observable`\\\\n * implementation works.\\\\n *\\\\n * A hot observable is an observable where new subscribers subscribe to\\\\n * the upcoming values of an already-initialiazed observable.\\\\n *\\\\n * The multicast observable will lazily subscribe to the source observable\\\\n * once it has its first own subscriber and will unsubscribe from the\\\\n * source observable when its last own subscriber unsubscribed.\\\\n */\\\\nfunction multicast(coldObservable) {\\\\n const subject = new _subject__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"]();\\\\n let sourceSubscription;\\\\n let subscriberCount = 0;\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"](observer => {\\\\n // Init source subscription lazily\\\\n if (!sourceSubscription) {\\\\n sourceSubscription = coldObservable.subscribe(subject);\\\\n }\\\\n // Pipe all events from `subject` into this observable\\\\n const subscription = subject.subscribe(observer);\\\\n subscriberCount++;\\\\n return () => {\\\\n subscriberCount--;\\\\n subscription.unsubscribe();\\\\n // Close source subscription once last subscriber has unsubscribed\\\\n if (subscriberCount === 0) {\\\\n Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(sourceSubscription);\\\\n sourceSubscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (multicast);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/multicast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/observable.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/observable.js ***!\\n \\\\************************************************************/\\n/*! exports provided: Subscription, SubscriptionObserver, Observable, default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Subscription\\\\\\\", function() { return Subscription; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"SubscriptionObserver\\\\\\\", function() { return SubscriptionObserver; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Observable\\\\\\\", function() { return Observable; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/symbols.js\\\\\\\");\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./_symbols */ \\\\\\\"./node_modules/observable-fns/dist.esm/_symbols.js\\\\\\\");\\\\n/**\\\\n * Based on \\\\n * At commit: f63849a8c60af5d514efc8e9d6138d8273c49ad6\\\\n */\\\\n\\\\n\\\\nconst SymbolIterator = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\");\\\\nconst SymbolObservable = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"observable\\\\\\\");\\\\nconst SymbolSpecies = Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"getSymbol\\\\\\\"])(\\\\\\\"species\\\\\\\");\\\\n// === Abstract Operations ===\\\\nfunction getMethod(obj, key) {\\\\n const value = obj[key];\\\\n if (value == null) {\\\\n return undefined;\\\\n }\\\\n if (typeof value !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(value + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n return value;\\\\n}\\\\nfunction getSpecies(obj) {\\\\n let ctor = obj.constructor;\\\\n if (ctor !== undefined) {\\\\n ctor = ctor[SymbolSpecies];\\\\n if (ctor === null) {\\\\n ctor = undefined;\\\\n }\\\\n }\\\\n return ctor !== undefined ? ctor : Observable;\\\\n}\\\\nfunction isObservable(x) {\\\\n return x instanceof Observable; // SPEC: Brand check\\\\n}\\\\nfunction hostReportError(error) {\\\\n if (hostReportError.log) {\\\\n hostReportError.log(error);\\\\n }\\\\n else {\\\\n setTimeout(() => { throw error; }, 0);\\\\n }\\\\n}\\\\nfunction enqueue(fn) {\\\\n Promise.resolve().then(() => {\\\\n try {\\\\n fn();\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n });\\\\n}\\\\nfunction cleanupSubscription(subscription) {\\\\n const cleanup = subscription._cleanup;\\\\n if (cleanup === undefined) {\\\\n return;\\\\n }\\\\n subscription._cleanup = undefined;\\\\n if (!cleanup) {\\\\n return;\\\\n }\\\\n try {\\\\n if (typeof cleanup === \\\\\\\"function\\\\\\\") {\\\\n cleanup();\\\\n }\\\\n else {\\\\n const unsubscribe = getMethod(cleanup, \\\\\\\"unsubscribe\\\\\\\");\\\\n if (unsubscribe) {\\\\n unsubscribe.call(cleanup);\\\\n }\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n}\\\\nfunction closeSubscription(subscription) {\\\\n subscription._observer = undefined;\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"closed\\\\\\\";\\\\n}\\\\nfunction flushSubscription(subscription) {\\\\n const queue = subscription._queue;\\\\n if (!queue) {\\\\n return;\\\\n }\\\\n subscription._queue = undefined;\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n for (const item of queue) {\\\\n notifySubscription(subscription, item.type, item.value);\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n break;\\\\n }\\\\n }\\\\n}\\\\nfunction notifySubscription(subscription, type, value) {\\\\n subscription._state = \\\\\\\"running\\\\\\\";\\\\n const observer = subscription._observer;\\\\n try {\\\\n const m = observer ? getMethod(observer, type) : undefined;\\\\n switch (type) {\\\\n case \\\\\\\"next\\\\\\\":\\\\n if (m)\\\\n m.call(observer, value);\\\\n break;\\\\n case \\\\\\\"error\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer, value);\\\\n else\\\\n throw value;\\\\n break;\\\\n case \\\\\\\"complete\\\\\\\":\\\\n closeSubscription(subscription);\\\\n if (m)\\\\n m.call(observer);\\\\n break;\\\\n }\\\\n }\\\\n catch (e) {\\\\n hostReportError(e);\\\\n }\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n cleanupSubscription(subscription);\\\\n }\\\\n else if (subscription._state === \\\\\\\"running\\\\\\\") {\\\\n subscription._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n}\\\\nfunction onNotify(subscription, type, value) {\\\\n if (subscription._state === \\\\\\\"closed\\\\\\\") {\\\\n return;\\\\n }\\\\n if (subscription._state === \\\\\\\"buffering\\\\\\\") {\\\\n subscription._queue = subscription._queue || [];\\\\n subscription._queue.push({ type, value });\\\\n return;\\\\n }\\\\n if (subscription._state !== \\\\\\\"ready\\\\\\\") {\\\\n subscription._state = \\\\\\\"buffering\\\\\\\";\\\\n subscription._queue = [{ type, value }];\\\\n enqueue(() => flushSubscription(subscription));\\\\n return;\\\\n }\\\\n notifySubscription(subscription, type, value);\\\\n}\\\\nclass Subscription {\\\\n constructor(observer, subscriber) {\\\\n // ASSERT: observer is an object\\\\n // ASSERT: subscriber is callable\\\\n this._cleanup = undefined;\\\\n this._observer = observer;\\\\n this._queue = undefined;\\\\n this._state = \\\\\\\"initializing\\\\\\\";\\\\n const subscriptionObserver = new SubscriptionObserver(this);\\\\n try {\\\\n this._cleanup = subscriber.call(undefined, subscriptionObserver);\\\\n }\\\\n catch (e) {\\\\n subscriptionObserver.error(e);\\\\n }\\\\n if (this._state === \\\\\\\"initializing\\\\\\\") {\\\\n this._state = \\\\\\\"ready\\\\\\\";\\\\n }\\\\n }\\\\n get closed() {\\\\n return this._state === \\\\\\\"closed\\\\\\\";\\\\n }\\\\n unsubscribe() {\\\\n if (this._state !== \\\\\\\"closed\\\\\\\") {\\\\n closeSubscription(this);\\\\n cleanupSubscription(this);\\\\n }\\\\n }\\\\n}\\\\nclass SubscriptionObserver {\\\\n constructor(subscription) { this._subscription = subscription; }\\\\n get closed() { return this._subscription._state === \\\\\\\"closed\\\\\\\"; }\\\\n next(value) { onNotify(this._subscription, \\\\\\\"next\\\\\\\", value); }\\\\n error(value) { onNotify(this._subscription, \\\\\\\"error\\\\\\\", value); }\\\\n complete() { onNotify(this._subscription, \\\\\\\"complete\\\\\\\"); }\\\\n}\\\\n/**\\\\n * The basic Observable class. This primitive is used to wrap asynchronous\\\\n * data streams in a common standardized data type that is interoperable\\\\n * between libraries and can be composed to represent more complex processes.\\\\n */\\\\nclass Observable {\\\\n constructor(subscriber) {\\\\n if (!(this instanceof Observable)) {\\\\n throw new TypeError(\\\\\\\"Observable cannot be called as a function\\\\\\\");\\\\n }\\\\n if (typeof subscriber !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(\\\\\\\"Observable initializer must be a function\\\\\\\");\\\\n }\\\\n this._subscriber = subscriber;\\\\n }\\\\n subscribe(nextOrObserver, onError, onComplete) {\\\\n if (typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null) {\\\\n nextOrObserver = {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n };\\\\n }\\\\n return new Subscription(nextOrObserver, this._subscriber);\\\\n }\\\\n pipe(first, ...mappers) {\\\\n // tslint:disable-next-line no-this-assignment\\\\n let intermediate = this;\\\\n for (const mapper of [first, ...mappers]) {\\\\n intermediate = mapper(intermediate);\\\\n }\\\\n return intermediate;\\\\n }\\\\n tap(nextOrObserver, onError, onComplete) {\\\\n const tapObserver = typeof nextOrObserver !== \\\\\\\"object\\\\\\\" || nextOrObserver === null\\\\n ? {\\\\n next: nextOrObserver,\\\\n error: onError,\\\\n complete: onComplete\\\\n }\\\\n : nextOrObserver;\\\\n return new Observable(observer => {\\\\n return this.subscribe({\\\\n next(value) {\\\\n tapObserver.next && tapObserver.next(value);\\\\n observer.next(value);\\\\n },\\\\n error(error) {\\\\n tapObserver.error && tapObserver.error(error);\\\\n observer.error(error);\\\\n },\\\\n complete() {\\\\n tapObserver.complete && tapObserver.complete();\\\\n observer.complete();\\\\n },\\\\n start(subscription) {\\\\n tapObserver.start && tapObserver.start(subscription);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n forEach(fn) {\\\\n return new Promise((resolve, reject) => {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n reject(new TypeError(fn + \\\\\\\" is not a function\\\\\\\"));\\\\n return;\\\\n }\\\\n function done() {\\\\n subscription.unsubscribe();\\\\n resolve(undefined);\\\\n }\\\\n const subscription = this.subscribe({\\\\n next(value) {\\\\n try {\\\\n fn(value, done);\\\\n }\\\\n catch (e) {\\\\n reject(e);\\\\n subscription.unsubscribe();\\\\n }\\\\n },\\\\n error(error) {\\\\n reject(error);\\\\n },\\\\n complete() {\\\\n resolve(undefined);\\\\n }\\\\n });\\\\n });\\\\n }\\\\n map(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n let propagatedValue = value;\\\\n try {\\\\n propagatedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(propagatedValue);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n filter(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n try {\\\\n if (!fn(value))\\\\n return;\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n observer.next(value);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { observer.complete(); },\\\\n }));\\\\n }\\\\n reduce(fn, seed) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n const hasSeed = arguments.length > 1;\\\\n let hasValue = false;\\\\n let acc = seed;\\\\n return new C(observer => this.subscribe({\\\\n next(value) {\\\\n const first = !hasValue;\\\\n hasValue = true;\\\\n if (!first || hasSeed) {\\\\n try {\\\\n acc = fn(acc, value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n acc = value;\\\\n }\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (!hasValue && !hasSeed) {\\\\n return observer.error(new TypeError(\\\\\\\"Cannot reduce an empty sequence\\\\\\\"));\\\\n }\\\\n observer.next(acc);\\\\n observer.complete();\\\\n },\\\\n }));\\\\n }\\\\n concat(...sources) {\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n let subscription;\\\\n let index = 0;\\\\n function startNext(next) {\\\\n subscription = next.subscribe({\\\\n next(v) { observer.next(v); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n if (index === sources.length) {\\\\n subscription = undefined;\\\\n observer.complete();\\\\n }\\\\n else {\\\\n startNext(C.from(sources[index++]));\\\\n }\\\\n },\\\\n });\\\\n }\\\\n startNext(this);\\\\n return () => {\\\\n if (subscription) {\\\\n subscription.unsubscribe();\\\\n subscription = undefined;\\\\n }\\\\n };\\\\n });\\\\n }\\\\n flatMap(fn) {\\\\n if (typeof fn !== \\\\\\\"function\\\\\\\") {\\\\n throw new TypeError(fn + \\\\\\\" is not a function\\\\\\\");\\\\n }\\\\n const C = getSpecies(this);\\\\n return new C(observer => {\\\\n const subscriptions = [];\\\\n const outer = this.subscribe({\\\\n next(value) {\\\\n let normalizedValue;\\\\n if (fn) {\\\\n try {\\\\n normalizedValue = fn(value);\\\\n }\\\\n catch (e) {\\\\n return observer.error(e);\\\\n }\\\\n }\\\\n else {\\\\n normalizedValue = value;\\\\n }\\\\n const inner = C.from(normalizedValue).subscribe({\\\\n next(innerValue) { observer.next(innerValue); },\\\\n error(e) { observer.error(e); },\\\\n complete() {\\\\n const i = subscriptions.indexOf(inner);\\\\n if (i >= 0)\\\\n subscriptions.splice(i, 1);\\\\n completeIfDone();\\\\n },\\\\n });\\\\n subscriptions.push(inner);\\\\n },\\\\n error(e) { observer.error(e); },\\\\n complete() { completeIfDone(); },\\\\n });\\\\n function completeIfDone() {\\\\n if (outer.closed && subscriptions.length === 0) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n return () => {\\\\n subscriptions.forEach(s => s.unsubscribe());\\\\n outer.unsubscribe();\\\\n };\\\\n });\\\\n }\\\\n [(Symbol.observable, SymbolObservable)]() { return this; }\\\\n static from(x) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n if (x == null) {\\\\n throw new TypeError(x + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n const observableMethod = getMethod(x, SymbolObservable);\\\\n if (observableMethod) {\\\\n const observable = observableMethod.call(x);\\\\n if (Object(observable) !== observable) {\\\\n throw new TypeError(observable + \\\\\\\" is not an object\\\\\\\");\\\\n }\\\\n if (isObservable(observable) && observable.constructor === C) {\\\\n return observable;\\\\n }\\\\n return new C(observer => observable.subscribe(observer));\\\\n }\\\\n if (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbol\\\\\\\"])(\\\\\\\"iterator\\\\\\\")) {\\\\n const iteratorMethod = getMethod(x, SymbolIterator);\\\\n if (iteratorMethod) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of iteratorMethod.call(x)) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n }\\\\n if (Array.isArray(x)) {\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of x) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n throw new TypeError(x + \\\\\\\" is not observable\\\\\\\");\\\\n }\\\\n static of(...items) {\\\\n const C = (typeof this === \\\\\\\"function\\\\\\\" ? this : Observable);\\\\n return new C(observer => {\\\\n enqueue(() => {\\\\n if (observer.closed)\\\\n return;\\\\n for (const item of items) {\\\\n observer.next(item);\\\\n if (observer.closed)\\\\n return;\\\\n }\\\\n observer.complete();\\\\n });\\\\n });\\\\n }\\\\n static get [SymbolSpecies]() { return this; }\\\\n}\\\\nif (Object(_symbols__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"hasSymbols\\\\\\\"])()) {\\\\n Object.defineProperty(Observable, Symbol(\\\\\\\"extensions\\\\\\\"), {\\\\n value: {\\\\n symbol: SymbolObservable,\\\\n hostReportError,\\\\n },\\\\n configurable: true,\\\\n });\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (Observable);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/observable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/scan.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/scan.js ***!\\n \\\\******************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_scheduler */ \\\\\\\"./node_modules/observable-fns/dist.esm/_scheduler.js\\\\\\\");\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n/* harmony import */ var _unsubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsubscribe */ \\\\\\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\nfunction scan(accumulator, seed) {\\\\n return (observable) => {\\\\n return new _observable__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"default\\\\\\\"](observer => {\\\\n let accumulated;\\\\n let index = 0;\\\\n const scheduler = new _scheduler__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"AsyncSerialScheduler\\\\\\\"](observer);\\\\n const subscription = observable.subscribe({\\\\n complete() {\\\\n scheduler.complete();\\\\n },\\\\n error(error) {\\\\n scheduler.error(error);\\\\n },\\\\n next(value) {\\\\n scheduler.schedule((next) => __awaiter(this, void 0, void 0, function* () {\\\\n const prevAcc = index === 0\\\\n ? (typeof seed === \\\\\\\"undefined\\\\\\\" ? value : seed)\\\\n : accumulated;\\\\n accumulated = yield accumulator(prevAcc, value, index++);\\\\n next(accumulated);\\\\n }));\\\\n }\\\\n });\\\\n return () => Object(_unsubscribe__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"])(subscription);\\\\n });\\\\n };\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (scan);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/scan.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/subject.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/subject.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./observable */ \\\\\\\"./node_modules/observable-fns/dist.esm/observable.js\\\\\\\");\\\\n\\\\n// TODO: This observer iteration approach looks inelegant and expensive\\\\n// Idea: Come up with super class for Subscription that contains the\\\\n// notify*, ... methods and use it here\\\\n/**\\\\n * A subject is a \\\\\\\"hot\\\\\\\" observable (see `multicast`) that has its observer\\\\n * methods (`.next(value)`, `.error(error)`, `.complete()`) exposed.\\\\n *\\\\n * Be careful, though! With great power comes great responsibility. Only use\\\\n * the `Subject` when you really need to trigger updates \\\\\\\"from the outside\\\\\\\" and\\\\n * try to keep the code that can access it to a minimum. Return\\\\n * `Observable.from(mySubject)` to not allow other code to mutate.\\\\n */\\\\nclass MulticastSubject extends _observable__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"] {\\\\n constructor() {\\\\n super(observer => {\\\\n this._observers.add(observer);\\\\n return () => this._observers.delete(observer);\\\\n });\\\\n this._observers = new Set();\\\\n }\\\\n next(value) {\\\\n for (const observer of this._observers) {\\\\n observer.next(value);\\\\n }\\\\n }\\\\n error(error) {\\\\n for (const observer of this._observers) {\\\\n observer.error(error);\\\\n }\\\\n }\\\\n complete() {\\\\n for (const observer of this._observers) {\\\\n observer.complete();\\\\n }\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (MulticastSubject);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/subject.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/symbols.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/symbols.js ***!\\n \\\\*********************************************************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/observable-fns/dist.esm/unsubscribe.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/observable-fns/dist.esm/unsubscribe.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/**\\\\n * Unsubscribe from a subscription returned by something that looks like an observable,\\\\n * but is not necessarily our observable implementation.\\\\n */\\\\nfunction unsubscribe(subscription) {\\\\n if (typeof subscription === \\\\\\\"function\\\\\\\") {\\\\n subscription();\\\\n }\\\\n else if (subscription && typeof subscription.unsubscribe === \\\\\\\"function\\\\\\\") {\\\\n subscription.unsubscribe();\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (unsubscribe);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/observable-fns/dist.esm/unsubscribe.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/inflate.js\\\":\\n/*!******************************************!*\\\\\\n !*** ./node_modules/pako/lib/inflate.js ***!\\n \\\\******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar zlib_inflate = __webpack_require__(/*! ./zlib/inflate */ \\\\\\\"./node_modules/pako/lib/zlib/inflate.js\\\\\\\");\\\\nvar utils = __webpack_require__(/*! ./utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar strings = __webpack_require__(/*! ./utils/strings */ \\\\\\\"./node_modules/pako/lib/utils/strings.js\\\\\\\");\\\\nvar c = __webpack_require__(/*! ./zlib/constants */ \\\\\\\"./node_modules/pako/lib/zlib/constants.js\\\\\\\");\\\\nvar msg = __webpack_require__(/*! ./zlib/messages */ \\\\\\\"./node_modules/pako/lib/zlib/messages.js\\\\\\\");\\\\nvar ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\\\\\"./node_modules/pako/lib/zlib/zstream.js\\\\\\\");\\\\nvar GZheader = __webpack_require__(/*! ./zlib/gzheader */ \\\\\\\"./node_modules/pako/lib/zlib/gzheader.js\\\\\\\");\\\\n\\\\nvar toString = Object.prototype.toString;\\\\n\\\\n/**\\\\n * class Inflate\\\\n *\\\\n * Generic JS-style wrapper for zlib calls. If you don't need\\\\n * streaming behaviour - use more simple functions: [[inflate]]\\\\n * and [[inflateRaw]].\\\\n **/\\\\n\\\\n/* internal\\\\n * inflate.chunks -> Array\\\\n *\\\\n * Chunks of output data, if [[Inflate#onData]] not overridden.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.result -> Uint8Array|Array|String\\\\n *\\\\n * Uncompressed result, generated by default [[Inflate#onData]]\\\\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\\\\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param) or if you\\\\n * push a chunk with explicit flush (call [[Inflate#push]] with\\\\n * `Z_SYNC_FLUSH` param).\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.err -> Number\\\\n *\\\\n * Error code after inflate finished. 0 (Z_OK) on success.\\\\n * Should be checked if broken data possible.\\\\n **/\\\\n\\\\n/**\\\\n * Inflate.msg -> String\\\\n *\\\\n * Error message, if [[Inflate.err]] != 0\\\\n **/\\\\n\\\\n\\\\n/**\\\\n * new Inflate(options)\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Creates new inflator instance with specified params. Throws exception\\\\n * on bad params. Supported options:\\\\n *\\\\n * - `windowBits`\\\\n * - `dictionary`\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information on these.\\\\n *\\\\n * Additional options, for internal needs:\\\\n *\\\\n * - `chunkSize` - size of generated data chunks (16K by default)\\\\n * - `raw` (Boolean) - do raw inflate\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n * By default, when no options set, autodetect deflate/gzip data format via\\\\n * wrapper header.\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9])\\\\n * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\\\n *\\\\n * var inflate = new pako.Inflate({ level: 3});\\\\n *\\\\n * inflate.push(chunk1, false);\\\\n * inflate.push(chunk2, true); // true -> last chunk\\\\n *\\\\n * if (inflate.err) { throw new Error(inflate.err); }\\\\n *\\\\n * console.log(inflate.result);\\\\n * ```\\\\n **/\\\\nfunction Inflate(options) {\\\\n if (!(this instanceof Inflate)) return new Inflate(options);\\\\n\\\\n this.options = utils.assign({\\\\n chunkSize: 16384,\\\\n windowBits: 0,\\\\n to: ''\\\\n }, options || {});\\\\n\\\\n var opt = this.options;\\\\n\\\\n // Force window size for `raw` data, if not set directly,\\\\n // because we have no header for autodetect.\\\\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\\\\n opt.windowBits = -opt.windowBits;\\\\n if (opt.windowBits === 0) { opt.windowBits = -15; }\\\\n }\\\\n\\\\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\\\\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\\\\n !(options && options.windowBits)) {\\\\n opt.windowBits += 32;\\\\n }\\\\n\\\\n // Gzip header has no info about windows size, we can do autodetect only\\\\n // for deflate. So, if window size not set, force it to max when gzip possible\\\\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\\\\n // bit 3 (16) -> gzipped data\\\\n // bit 4 (32) -> autodetect gzip/deflate\\\\n if ((opt.windowBits & 15) === 0) {\\\\n opt.windowBits |= 15;\\\\n }\\\\n }\\\\n\\\\n this.err = 0; // error code, if happens (0 = Z_OK)\\\\n this.msg = ''; // error message\\\\n this.ended = false; // used to avoid multiple onEnd() calls\\\\n this.chunks = []; // chunks of compressed data\\\\n\\\\n this.strm = new ZStream();\\\\n this.strm.avail_out = 0;\\\\n\\\\n var status = zlib_inflate.inflateInit2(\\\\n this.strm,\\\\n opt.windowBits\\\\n );\\\\n\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n\\\\n this.header = new GZheader();\\\\n\\\\n zlib_inflate.inflateGetHeader(this.strm, this.header);\\\\n\\\\n // Setup dictionary\\\\n if (opt.dictionary) {\\\\n // Convert data if needed\\\\n if (typeof opt.dictionary === 'string') {\\\\n opt.dictionary = strings.string2buf(opt.dictionary);\\\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\\\n opt.dictionary = new Uint8Array(opt.dictionary);\\\\n }\\\\n if (opt.raw) { //In raw mode we need to set the dictionary early\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary);\\\\n if (status !== c.Z_OK) {\\\\n throw new Error(msg[status]);\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\n/**\\\\n * Inflate#push(data[, mode]) -> Boolean\\\\n * - data (Uint8Array|Array|ArrayBuffer|String): input data\\\\n * - mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\\\\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\\\\n *\\\\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\\\\n * new output chunks. Returns `true` on success. The last data block must have\\\\n * mode Z_FINISH (or `true`). That will flush internal pending buffers and call\\\\n * [[Inflate#onEnd]]. For interim explicit flushes (without ending the stream) you\\\\n * can use mode Z_SYNC_FLUSH, keeping the decompression context.\\\\n *\\\\n * On fail call [[Inflate#onEnd]] with error code and return false.\\\\n *\\\\n * We strongly recommend to use `Uint8Array` on input for best speed (output\\\\n * format is detected automatically). Also, don't skip last param and always\\\\n * use the same type in your code (boolean or number). That will improve JS speed.\\\\n *\\\\n * For regular `Array`-s make sure all elements are [0..255].\\\\n *\\\\n * ##### Example\\\\n *\\\\n * ```javascript\\\\n * push(chunk, false); // push one of data chunks\\\\n * ...\\\\n * push(chunk, true); // push last chunk\\\\n * ```\\\\n **/\\\\nInflate.prototype.push = function (data, mode) {\\\\n var strm = this.strm;\\\\n var chunkSize = this.options.chunkSize;\\\\n var dictionary = this.options.dictionary;\\\\n var status, _mode;\\\\n var next_out_utf8, tail, utf8str;\\\\n\\\\n // Flag to properly process Z_BUF_ERROR on testing inflate call\\\\n // when we check that all output data was flushed.\\\\n var allowBufError = false;\\\\n\\\\n if (this.ended) { return false; }\\\\n _mode = (mode === ~~mode) ? mode : ((mode === true) ? c.Z_FINISH : c.Z_NO_FLUSH);\\\\n\\\\n // Convert data if needed\\\\n if (typeof data === 'string') {\\\\n // Only binary strings can be decompressed on practice\\\\n strm.input = strings.binstring2buf(data);\\\\n } else if (toString.call(data) === '[object ArrayBuffer]') {\\\\n strm.input = new Uint8Array(data);\\\\n } else {\\\\n strm.input = data;\\\\n }\\\\n\\\\n strm.next_in = 0;\\\\n strm.avail_in = strm.input.length;\\\\n\\\\n do {\\\\n if (strm.avail_out === 0) {\\\\n strm.output = new utils.Buf8(chunkSize);\\\\n strm.next_out = 0;\\\\n strm.avail_out = chunkSize;\\\\n }\\\\n\\\\n status = zlib_inflate.inflate(strm, c.Z_NO_FLUSH); /* no bad return value */\\\\n\\\\n if (status === c.Z_NEED_DICT && dictionary) {\\\\n status = zlib_inflate.inflateSetDictionary(this.strm, dictionary);\\\\n }\\\\n\\\\n if (status === c.Z_BUF_ERROR && allowBufError === true) {\\\\n status = c.Z_OK;\\\\n allowBufError = false;\\\\n }\\\\n\\\\n if (status !== c.Z_STREAM_END && status !== c.Z_OK) {\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return false;\\\\n }\\\\n\\\\n if (strm.next_out) {\\\\n if (strm.avail_out === 0 || status === c.Z_STREAM_END || (strm.avail_in === 0 && (_mode === c.Z_FINISH || _mode === c.Z_SYNC_FLUSH))) {\\\\n\\\\n if (this.options.to === 'string') {\\\\n\\\\n next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\\\\n\\\\n tail = strm.next_out - next_out_utf8;\\\\n utf8str = strings.buf2string(strm.output, next_out_utf8);\\\\n\\\\n // move tail\\\\n strm.next_out = tail;\\\\n strm.avail_out = chunkSize - tail;\\\\n if (tail) { utils.arraySet(strm.output, strm.output, next_out_utf8, tail, 0); }\\\\n\\\\n this.onData(utf8str);\\\\n\\\\n } else {\\\\n this.onData(utils.shrinkBuf(strm.output, strm.next_out));\\\\n }\\\\n }\\\\n }\\\\n\\\\n // When no more input data, we should check that internal inflate buffers\\\\n // are flushed. The only way to do it when avail_out = 0 - run one more\\\\n // inflate pass. But if output data not exists, inflate return Z_BUF_ERROR.\\\\n // Here we set flag to process this error properly.\\\\n //\\\\n // NOTE. Deflate does not return error in this case and does not needs such\\\\n // logic.\\\\n if (strm.avail_in === 0 && strm.avail_out === 0) {\\\\n allowBufError = true;\\\\n }\\\\n\\\\n } while ((strm.avail_in > 0 || strm.avail_out === 0) && status !== c.Z_STREAM_END);\\\\n\\\\n if (status === c.Z_STREAM_END) {\\\\n _mode = c.Z_FINISH;\\\\n }\\\\n\\\\n // Finalize on the last chunk.\\\\n if (_mode === c.Z_FINISH) {\\\\n status = zlib_inflate.inflateEnd(this.strm);\\\\n this.onEnd(status);\\\\n this.ended = true;\\\\n return status === c.Z_OK;\\\\n }\\\\n\\\\n // callback interim results if Z_SYNC_FLUSH.\\\\n if (_mode === c.Z_SYNC_FLUSH) {\\\\n this.onEnd(c.Z_OK);\\\\n strm.avail_out = 0;\\\\n return true;\\\\n }\\\\n\\\\n return true;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onData(chunk) -> Void\\\\n * - chunk (Uint8Array|Array|String): output data. Type of array depends\\\\n * on js engine support. When string output requested, each chunk\\\\n * will be string.\\\\n *\\\\n * By default, stores data blocks in `chunks[]` property and glue\\\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\\\n **/\\\\nInflate.prototype.onData = function (chunk) {\\\\n this.chunks.push(chunk);\\\\n};\\\\n\\\\n\\\\n/**\\\\n * Inflate#onEnd(status) -> Void\\\\n * - status (Number): inflate status. 0 (Z_OK) on success,\\\\n * other if not.\\\\n *\\\\n * Called either after you tell inflate that the input stream is\\\\n * complete (Z_FINISH) or should be flushed (Z_SYNC_FLUSH)\\\\n * or if an error happened. By default - join collected chunks,\\\\n * free memory and fill `results` / `err` properties.\\\\n **/\\\\nInflate.prototype.onEnd = function (status) {\\\\n // On success - join\\\\n if (status === c.Z_OK) {\\\\n if (this.options.to === 'string') {\\\\n // Glue & convert here, until we teach pako to send\\\\n // utf8 aligned strings to onData\\\\n this.result = this.chunks.join('');\\\\n } else {\\\\n this.result = utils.flattenChunks(this.chunks);\\\\n }\\\\n }\\\\n this.chunks = [];\\\\n this.err = status;\\\\n this.msg = this.strm.msg;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * inflate(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\\\\n * format via wrapper header by default. That's why we don't provide\\\\n * separate `ungzip` method.\\\\n *\\\\n * Supported options are:\\\\n *\\\\n * - windowBits\\\\n *\\\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\\\n * for more information.\\\\n *\\\\n * Sugar (options):\\\\n *\\\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\\\n * negative windowBits implicitly.\\\\n * - `to` (String) - if equal to 'string', then result will be converted\\\\n * from utf8 to utf16 (javascript) string. When string output requested,\\\\n * chunk length can differ from `chunkSize`, depending on content.\\\\n *\\\\n *\\\\n * ##### Example:\\\\n *\\\\n * ```javascript\\\\n * var pako = require('pako')\\\\n * , input = pako.deflate([1,2,3,4,5,6,7,8,9])\\\\n * , output;\\\\n *\\\\n * try {\\\\n * output = pako.inflate(input);\\\\n * } catch (err)\\\\n * console.log(err);\\\\n * }\\\\n * ```\\\\n **/\\\\nfunction inflate(input, options) {\\\\n var inflator = new Inflate(options);\\\\n\\\\n inflator.push(input, true);\\\\n\\\\n // That will never happens, if you don't cheat with options :)\\\\n if (inflator.err) { throw inflator.msg || msg[inflator.err]; }\\\\n\\\\n return inflator.result;\\\\n}\\\\n\\\\n\\\\n/**\\\\n * inflateRaw(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * The same as [[inflate]], but creates raw data, without wrapper\\\\n * (header and adler32 crc).\\\\n **/\\\\nfunction inflateRaw(input, options) {\\\\n options = options || {};\\\\n options.raw = true;\\\\n return inflate(input, options);\\\\n}\\\\n\\\\n\\\\n/**\\\\n * ungzip(data[, options]) -> Uint8Array|Array|String\\\\n * - data (Uint8Array|Array|String): input data to decompress.\\\\n * - options (Object): zlib inflate options.\\\\n *\\\\n * Just shortcut to [[inflate]], because it autodetects format\\\\n * by header.content. Done for convenience.\\\\n **/\\\\n\\\\n\\\\nexports.Inflate = Inflate;\\\\nexports.inflate = inflate;\\\\nexports.inflateRaw = inflateRaw;\\\\nexports.ungzip = inflate;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/common.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/common.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n\\\\nvar TYPED_OK = (typeof Uint8Array !== 'undefined') &&\\\\n (typeof Uint16Array !== 'undefined') &&\\\\n (typeof Int32Array !== 'undefined');\\\\n\\\\nfunction _has(obj, key) {\\\\n return Object.prototype.hasOwnProperty.call(obj, key);\\\\n}\\\\n\\\\nexports.assign = function (obj /*from1, from2, from3, ...*/) {\\\\n var sources = Array.prototype.slice.call(arguments, 1);\\\\n while (sources.length) {\\\\n var source = sources.shift();\\\\n if (!source) { continue; }\\\\n\\\\n if (typeof source !== 'object') {\\\\n throw new TypeError(source + 'must be non-object');\\\\n }\\\\n\\\\n for (var p in source) {\\\\n if (_has(source, p)) {\\\\n obj[p] = source[p];\\\\n }\\\\n }\\\\n }\\\\n\\\\n return obj;\\\\n};\\\\n\\\\n\\\\n// reduce buffer size, avoiding mem copy\\\\nexports.shrinkBuf = function (buf, size) {\\\\n if (buf.length === size) { return buf; }\\\\n if (buf.subarray) { return buf.subarray(0, size); }\\\\n buf.length = size;\\\\n return buf;\\\\n};\\\\n\\\\n\\\\nvar fnTyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n if (src.subarray && dest.subarray) {\\\\n dest.set(src.subarray(src_offs, src_offs + len), dest_offs);\\\\n return;\\\\n }\\\\n // Fallback to ordinary array\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n var i, l, len, pos, chunk, result;\\\\n\\\\n // calculate data length\\\\n len = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n len += chunks[i].length;\\\\n }\\\\n\\\\n // join chunks\\\\n result = new Uint8Array(len);\\\\n pos = 0;\\\\n for (i = 0, l = chunks.length; i < l; i++) {\\\\n chunk = chunks[i];\\\\n result.set(chunk, pos);\\\\n pos += chunk.length;\\\\n }\\\\n\\\\n return result;\\\\n }\\\\n};\\\\n\\\\nvar fnUntyped = {\\\\n arraySet: function (dest, src, src_offs, len, dest_offs) {\\\\n for (var i = 0; i < len; i++) {\\\\n dest[dest_offs + i] = src[src_offs + i];\\\\n }\\\\n },\\\\n // Join array of chunks to single array.\\\\n flattenChunks: function (chunks) {\\\\n return [].concat.apply([], chunks);\\\\n }\\\\n};\\\\n\\\\n\\\\n// Enable/Disable typed arrays use, for testing\\\\n//\\\\nexports.setTyped = function (on) {\\\\n if (on) {\\\\n exports.Buf8 = Uint8Array;\\\\n exports.Buf16 = Uint16Array;\\\\n exports.Buf32 = Int32Array;\\\\n exports.assign(exports, fnTyped);\\\\n } else {\\\\n exports.Buf8 = Array;\\\\n exports.Buf16 = Array;\\\\n exports.Buf32 = Array;\\\\n exports.assign(exports, fnUntyped);\\\\n }\\\\n};\\\\n\\\\nexports.setTyped(TYPED_OK);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/utils/strings.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/utils/strings.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// String encode/decode helpers\\\\n\\\\n\\\\n\\\\nvar utils = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\n\\\\n// Quick check if we can use fast array to bin string conversion\\\\n//\\\\n// - apply(Array) can fail on Android 2.2\\\\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\\\\n//\\\\nvar STR_APPLY_OK = true;\\\\nvar STR_APPLY_UIA_OK = true;\\\\n\\\\ntry { String.fromCharCode.apply(null, [ 0 ]); } catch (__) { STR_APPLY_OK = false; }\\\\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\\\\n\\\\n\\\\n// Table with utf8 lengths (calculated by first byte of sequence)\\\\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\\\\n// because max possible codepoint is 0x10ffff\\\\nvar _utf8len = new utils.Buf8(256);\\\\nfor (var q = 0; q < 256; q++) {\\\\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\\\\n}\\\\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\\\\n\\\\n\\\\n// convert string to array (typed, when possible)\\\\nexports.string2buf = function (str) {\\\\n var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\\\\n\\\\n // count binary size\\\\n for (m_pos = 0; m_pos < str_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\\\\n }\\\\n\\\\n // allocate buffer\\\\n buf = new utils.Buf8(buf_len);\\\\n\\\\n // convert\\\\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\\\\n c = str.charCodeAt(m_pos);\\\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\\\n c2 = str.charCodeAt(m_pos + 1);\\\\n if ((c2 & 0xfc00) === 0xdc00) {\\\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\\\n m_pos++;\\\\n }\\\\n }\\\\n if (c < 0x80) {\\\\n /* one byte */\\\\n buf[i++] = c;\\\\n } else if (c < 0x800) {\\\\n /* two bytes */\\\\n buf[i++] = 0xC0 | (c >>> 6);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else if (c < 0x10000) {\\\\n /* three bytes */\\\\n buf[i++] = 0xE0 | (c >>> 12);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n } else {\\\\n /* four bytes */\\\\n buf[i++] = 0xf0 | (c >>> 18);\\\\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\\\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\\\n buf[i++] = 0x80 | (c & 0x3f);\\\\n }\\\\n }\\\\n\\\\n return buf;\\\\n};\\\\n\\\\n// Helper (used in 2 places)\\\\nfunction buf2binstring(buf, len) {\\\\n // On Chrome, the arguments in a function call that are allowed is `65534`.\\\\n // If the length of the buffer is smaller than that, we can use this optimization,\\\\n // otherwise we will take a slower path.\\\\n if (len < 65534) {\\\\n if ((buf.subarray && STR_APPLY_UIA_OK) || (!buf.subarray && STR_APPLY_OK)) {\\\\n return String.fromCharCode.apply(null, utils.shrinkBuf(buf, len));\\\\n }\\\\n }\\\\n\\\\n var result = '';\\\\n for (var i = 0; i < len; i++) {\\\\n result += String.fromCharCode(buf[i]);\\\\n }\\\\n return result;\\\\n}\\\\n\\\\n\\\\n// Convert byte array to binary string\\\\nexports.buf2binstring = function (buf) {\\\\n return buf2binstring(buf, buf.length);\\\\n};\\\\n\\\\n\\\\n// Convert binary string (typed, when possible)\\\\nexports.binstring2buf = function (str) {\\\\n var buf = new utils.Buf8(str.length);\\\\n for (var i = 0, len = buf.length; i < len; i++) {\\\\n buf[i] = str.charCodeAt(i);\\\\n }\\\\n return buf;\\\\n};\\\\n\\\\n\\\\n// convert array to string\\\\nexports.buf2string = function (buf, max) {\\\\n var i, out, c, c_len;\\\\n var len = max || buf.length;\\\\n\\\\n // Reserve max possible length (2 words per char)\\\\n // NB: by unknown reasons, Array is significantly faster for\\\\n // String.fromCharCode.apply than Uint16Array.\\\\n var utf16buf = new Array(len * 2);\\\\n\\\\n for (out = 0, i = 0; i < len;) {\\\\n c = buf[i++];\\\\n // quick process ascii\\\\n if (c < 0x80) { utf16buf[out++] = c; continue; }\\\\n\\\\n c_len = _utf8len[c];\\\\n // skip 5 & 6 byte codes\\\\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\\\\n\\\\n // apply mask on first byte\\\\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\\\\n // join the rest\\\\n while (c_len > 1 && i < len) {\\\\n c = (c << 6) | (buf[i++] & 0x3f);\\\\n c_len--;\\\\n }\\\\n\\\\n // terminated by end of string?\\\\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\\\\n\\\\n if (c < 0x10000) {\\\\n utf16buf[out++] = c;\\\\n } else {\\\\n c -= 0x10000;\\\\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\\\\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\\\\n }\\\\n }\\\\n\\\\n return buf2binstring(utf16buf, out);\\\\n};\\\\n\\\\n\\\\n// Calculate max possible position in utf8 buffer,\\\\n// that will not break sequence. If that's not possible\\\\n// - (very small limits) return max size as is.\\\\n//\\\\n// buf[] - utf8 bytes array\\\\n// max - length limit (mandatory);\\\\nexports.utf8border = function (buf, max) {\\\\n var pos;\\\\n\\\\n max = max || buf.length;\\\\n if (max > buf.length) { max = buf.length; }\\\\n\\\\n // go back from last position, until start of sequence found\\\\n pos = max - 1;\\\\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\\\\n\\\\n // Very small and broken sequence,\\\\n // return max, because we should return something anyway.\\\\n if (pos < 0) { return max; }\\\\n\\\\n // If we came to start of buffer - that means buffer is too small,\\\\n // return max too.\\\\n if (pos === 0) { return max; }\\\\n\\\\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/utils/strings.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/adler32.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/adler32.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\\\\n// It isn't worth it to make additional optimizations as in original.\\\\n// Small size is preferable.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction adler32(adler, buf, len, pos) {\\\\n var s1 = (adler & 0xffff) |0,\\\\n s2 = ((adler >>> 16) & 0xffff) |0,\\\\n n = 0;\\\\n\\\\n while (len !== 0) {\\\\n // Set limit ~ twice less than 5552, to keep\\\\n // s2 in 31-bits, because we force signed ints.\\\\n // in other case %= will fail.\\\\n n = len > 2000 ? 2000 : len;\\\\n len -= n;\\\\n\\\\n do {\\\\n s1 = (s1 + buf[pos++]) |0;\\\\n s2 = (s2 + s1) |0;\\\\n } while (--n);\\\\n\\\\n s1 %= 65521;\\\\n s2 %= 65521;\\\\n }\\\\n\\\\n return (s1 | (s2 << 16)) |0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = adler32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/adler32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/constants.js\\\":\\n/*!*************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/constants.js ***!\\n \\\\*************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n\\\\n /* Allowed flush values; see deflate() and inflate() below for details */\\\\n Z_NO_FLUSH: 0,\\\\n Z_PARTIAL_FLUSH: 1,\\\\n Z_SYNC_FLUSH: 2,\\\\n Z_FULL_FLUSH: 3,\\\\n Z_FINISH: 4,\\\\n Z_BLOCK: 5,\\\\n Z_TREES: 6,\\\\n\\\\n /* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\n Z_OK: 0,\\\\n Z_STREAM_END: 1,\\\\n Z_NEED_DICT: 2,\\\\n Z_ERRNO: -1,\\\\n Z_STREAM_ERROR: -2,\\\\n Z_DATA_ERROR: -3,\\\\n //Z_MEM_ERROR: -4,\\\\n Z_BUF_ERROR: -5,\\\\n //Z_VERSION_ERROR: -6,\\\\n\\\\n /* compression levels */\\\\n Z_NO_COMPRESSION: 0,\\\\n Z_BEST_SPEED: 1,\\\\n Z_BEST_COMPRESSION: 9,\\\\n Z_DEFAULT_COMPRESSION: -1,\\\\n\\\\n\\\\n Z_FILTERED: 1,\\\\n Z_HUFFMAN_ONLY: 2,\\\\n Z_RLE: 3,\\\\n Z_FIXED: 4,\\\\n Z_DEFAULT_STRATEGY: 0,\\\\n\\\\n /* Possible values of the data_type field (though see inflate()) */\\\\n Z_BINARY: 0,\\\\n Z_TEXT: 1,\\\\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\\\\n Z_UNKNOWN: 2,\\\\n\\\\n /* The deflate compression method */\\\\n Z_DEFLATED: 8\\\\n //Z_NULL: null // Use -1 or null inline, depending on var type\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/constants.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/crc32.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/crc32.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// Note: we can't get significant speed boost here.\\\\n// So write code to minimize size - no pregenerated tables\\\\n// and array tools dependencies.\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// Use ordinary array, since untyped makes no boost here\\\\nfunction makeTable() {\\\\n var c, table = [];\\\\n\\\\n for (var n = 0; n < 256; n++) {\\\\n c = n;\\\\n for (var k = 0; k < 8; k++) {\\\\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\\\\n }\\\\n table[n] = c;\\\\n }\\\\n\\\\n return table;\\\\n}\\\\n\\\\n// Create table on load. Just 255 signed longs. Not a problem.\\\\nvar crcTable = makeTable();\\\\n\\\\n\\\\nfunction crc32(crc, buf, len, pos) {\\\\n var t = crcTable,\\\\n end = pos + len;\\\\n\\\\n crc ^= -1;\\\\n\\\\n for (var i = pos; i < end; i++) {\\\\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\\\\n }\\\\n\\\\n return (crc ^ (-1)); // >>> 0;\\\\n}\\\\n\\\\n\\\\nmodule.exports = crc32;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/crc32.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/gzheader.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/gzheader.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction GZheader() {\\\\n /* true if compressed data believed to be text */\\\\n this.text = 0;\\\\n /* modification time */\\\\n this.time = 0;\\\\n /* extra flags (not used when writing a gzip file) */\\\\n this.xflags = 0;\\\\n /* operating system */\\\\n this.os = 0;\\\\n /* pointer to extra field or Z_NULL if none */\\\\n this.extra = null;\\\\n /* extra field length (valid if extra != Z_NULL) */\\\\n this.extra_len = 0; // Actually, we don't need it in JS,\\\\n // but leave for few code modifications\\\\n\\\\n //\\\\n // Setup limits is not necessary because in js we should not preallocate memory\\\\n // for inflate use constant limit in 65536 bytes\\\\n //\\\\n\\\\n /* space at extra (only when reading header) */\\\\n // this.extra_max = 0;\\\\n /* pointer to zero-terminated file name or Z_NULL */\\\\n this.name = '';\\\\n /* space at name (only when reading header) */\\\\n // this.name_max = 0;\\\\n /* pointer to zero-terminated comment or Z_NULL */\\\\n this.comment = '';\\\\n /* space at comment (only when reading header) */\\\\n // this.comm_max = 0;\\\\n /* true if there was or will be a header crc */\\\\n this.hcrc = 0;\\\\n /* true when done reading gzip header (not used when writing a gzip file) */\\\\n this.done = false;\\\\n}\\\\n\\\\nmodule.exports = GZheader;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/gzheader.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inffast.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inffast.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\n// See state defs from inflate.js\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\n\\\\n/*\\\\n Decode literal, length, and distance codes and write out the resulting\\\\n literal and match bytes until either not enough input or output is\\\\n available, an end-of-block is encountered, or a data error is encountered.\\\\n When large enough input and output buffers are supplied to inflate(), for\\\\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\\\\n inflate execution time is spent in this routine.\\\\n\\\\n Entry assumptions:\\\\n\\\\n state.mode === LEN\\\\n strm.avail_in >= 6\\\\n strm.avail_out >= 258\\\\n start >= strm.avail_out\\\\n state.bits < 8\\\\n\\\\n On return, state.mode is one of:\\\\n\\\\n LEN -- ran out of enough output space or enough available input\\\\n TYPE -- reached end of block code, inflate() to interpret next block\\\\n BAD -- error in block data\\\\n\\\\n Notes:\\\\n\\\\n - The maximum input bits used by a length/distance pair is 15 bits for the\\\\n length code, 5 bits for the length extra, 15 bits for the distance code,\\\\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\\\\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\\\\n checking for available input while decoding.\\\\n\\\\n - The maximum bytes that a single length/distance pair can output is 258\\\\n bytes, which is the maximum length that can be coded. inflate_fast()\\\\n requires strm.avail_out >= 258 for each loop to avoid checking for\\\\n output space.\\\\n */\\\\nmodule.exports = function inflate_fast(strm, start) {\\\\n var state;\\\\n var _in; /* local strm.input */\\\\n var last; /* have enough input while in < last */\\\\n var _out; /* local strm.output */\\\\n var beg; /* inflate()'s initial strm.output */\\\\n var end; /* while out < end, enough space available */\\\\n//#ifdef INFLATE_STRICT\\\\n var dmax; /* maximum distance from zlib header */\\\\n//#endif\\\\n var wsize; /* window size or zero if not using window */\\\\n var whave; /* valid bytes in the window */\\\\n var wnext; /* window write index */\\\\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\\\\n var s_window; /* allocated sliding window, if wsize != 0 */\\\\n var hold; /* local strm.hold */\\\\n var bits; /* local strm.bits */\\\\n var lcode; /* local strm.lencode */\\\\n var dcode; /* local strm.distcode */\\\\n var lmask; /* mask for first level of length codes */\\\\n var dmask; /* mask for first level of distance codes */\\\\n var here; /* retrieved table entry */\\\\n var op; /* code bits, operation, extra bits, or */\\\\n /* window position, window bytes to copy */\\\\n var len; /* match length, unused bytes */\\\\n var dist; /* match distance */\\\\n var from; /* where to copy match from */\\\\n var from_source;\\\\n\\\\n\\\\n var input, output; // JS specific, because we have no pointers\\\\n\\\\n /* copy state to local variables */\\\\n state = strm.state;\\\\n //here = state.here;\\\\n _in = strm.next_in;\\\\n input = strm.input;\\\\n last = _in + (strm.avail_in - 5);\\\\n _out = strm.next_out;\\\\n output = strm.output;\\\\n beg = _out - (start - strm.avail_out);\\\\n end = _out + (strm.avail_out - 257);\\\\n//#ifdef INFLATE_STRICT\\\\n dmax = state.dmax;\\\\n//#endif\\\\n wsize = state.wsize;\\\\n whave = state.whave;\\\\n wnext = state.wnext;\\\\n s_window = state.window;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n lcode = state.lencode;\\\\n dcode = state.distcode;\\\\n lmask = (1 << state.lenbits) - 1;\\\\n dmask = (1 << state.distbits) - 1;\\\\n\\\\n\\\\n /* decode literals and length/distances until end-of-block or not enough\\\\n input data or output space */\\\\n\\\\n top:\\\\n do {\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n\\\\n here = lcode[hold & lmask];\\\\n\\\\n dolen:\\\\n for (;;) { // Goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n if (op === 0) { /* literal */\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n output[_out++] = here & 0xffff/*here.val*/;\\\\n }\\\\n else if (op & 16) { /* length base */\\\\n len = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (op) {\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n len += hold & ((1 << op) - 1);\\\\n hold >>>= op;\\\\n bits -= op;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", len));\\\\n if (bits < 15) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n here = dcode[hold & dmask];\\\\n\\\\n dodist:\\\\n for (;;) { // goto emulation\\\\n op = here >>> 24/*here.bits*/;\\\\n hold >>>= op;\\\\n bits -= op;\\\\n op = (here >>> 16) & 0xff/*here.op*/;\\\\n\\\\n if (op & 16) { /* distance base */\\\\n dist = here & 0xffff/*here.val*/;\\\\n op &= 15; /* number of extra bits */\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n if (bits < op) {\\\\n hold += input[_in++] << bits;\\\\n bits += 8;\\\\n }\\\\n }\\\\n dist += hold & ((1 << op) - 1);\\\\n//#ifdef INFLATE_STRICT\\\\n if (dist > dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n//#endif\\\\n hold >>>= op;\\\\n bits -= op;\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", dist));\\\\n op = _out - beg; /* max distance in output */\\\\n if (dist > op) { /* see if copy from window */\\\\n op = dist - op; /* distance back in window */\\\\n if (op > whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// if (len <= op - whave) {\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n// len -= op - whave;\\\\n// do {\\\\n// output[_out++] = 0;\\\\n// } while (--op > whave);\\\\n// if (op === 0) {\\\\n// from = _out - dist;\\\\n// do {\\\\n// output[_out++] = output[from++];\\\\n// } while (--len);\\\\n// continue top;\\\\n// }\\\\n//#endif\\\\n }\\\\n from = 0; // window index\\\\n from_source = s_window;\\\\n if (wnext === 0) { /* very common case */\\\\n from += wsize - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n else if (wnext < op) { /* wrap around window */\\\\n from += wsize + wnext - op;\\\\n op -= wnext;\\\\n if (op < len) { /* some from end of window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = 0;\\\\n if (wnext < len) { /* some from start of window */\\\\n op = wnext;\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n }\\\\n else { /* contiguous in window */\\\\n from += wnext - op;\\\\n if (op < len) { /* some from window */\\\\n len -= op;\\\\n do {\\\\n output[_out++] = s_window[from++];\\\\n } while (--op);\\\\n from = _out - dist; /* rest from output */\\\\n from_source = output;\\\\n }\\\\n }\\\\n while (len > 2) {\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n output[_out++] = from_source[from++];\\\\n len -= 3;\\\\n }\\\\n if (len) {\\\\n output[_out++] = from_source[from++];\\\\n if (len > 1) {\\\\n output[_out++] = from_source[from++];\\\\n }\\\\n }\\\\n }\\\\n else {\\\\n from = _out - dist; /* copy direct from output */\\\\n do { /* minimum length is three */\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n output[_out++] = output[from++];\\\\n len -= 3;\\\\n } while (len > 2);\\\\n if (len) {\\\\n output[_out++] = output[from++];\\\\n if (len > 1) {\\\\n output[_out++] = output[from++];\\\\n }\\\\n }\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level distance code */\\\\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dodist;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n }\\\\n else if ((op & 64) === 0) { /* 2nd level length code */\\\\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\\\n continue dolen;\\\\n }\\\\n else if (op & 32) { /* end-of-block */\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break top;\\\\n }\\\\n else {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break top;\\\\n }\\\\n\\\\n break; // need to emulate goto via \\\\\\\"continue\\\\\\\"\\\\n }\\\\n } while (_in < last && _out < end);\\\\n\\\\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\\\\n len = bits >> 3;\\\\n _in -= len;\\\\n bits -= len << 3;\\\\n hold &= (1 << bits) - 1;\\\\n\\\\n /* update state and return */\\\\n strm.next_in = _in;\\\\n strm.next_out = _out;\\\\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\\\\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n return;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inffast.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inflate.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inflate.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\nvar adler32 = __webpack_require__(/*! ./adler32 */ \\\\\\\"./node_modules/pako/lib/zlib/adler32.js\\\\\\\");\\\\nvar crc32 = __webpack_require__(/*! ./crc32 */ \\\\\\\"./node_modules/pako/lib/zlib/crc32.js\\\\\\\");\\\\nvar inflate_fast = __webpack_require__(/*! ./inffast */ \\\\\\\"./node_modules/pako/lib/zlib/inffast.js\\\\\\\");\\\\nvar inflate_table = __webpack_require__(/*! ./inftrees */ \\\\\\\"./node_modules/pako/lib/zlib/inftrees.js\\\\\\\");\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\n/* Public constants ==========================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n/* Allowed flush values; see deflate() and inflate() below for details */\\\\n//var Z_NO_FLUSH = 0;\\\\n//var Z_PARTIAL_FLUSH = 1;\\\\n//var Z_SYNC_FLUSH = 2;\\\\n//var Z_FULL_FLUSH = 3;\\\\nvar Z_FINISH = 4;\\\\nvar Z_BLOCK = 5;\\\\nvar Z_TREES = 6;\\\\n\\\\n\\\\n/* Return codes for the compression/decompression functions. Negative values\\\\n * are errors, positive values are used for special but normal events.\\\\n */\\\\nvar Z_OK = 0;\\\\nvar Z_STREAM_END = 1;\\\\nvar Z_NEED_DICT = 2;\\\\n//var Z_ERRNO = -1;\\\\nvar Z_STREAM_ERROR = -2;\\\\nvar Z_DATA_ERROR = -3;\\\\nvar Z_MEM_ERROR = -4;\\\\nvar Z_BUF_ERROR = -5;\\\\n//var Z_VERSION_ERROR = -6;\\\\n\\\\n/* The deflate compression method */\\\\nvar Z_DEFLATED = 8;\\\\n\\\\n\\\\n/* STATES ====================================================================*/\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\nvar HEAD = 1; /* i: waiting for magic header */\\\\nvar FLAGS = 2; /* i: waiting for method and flags (gzip) */\\\\nvar TIME = 3; /* i: waiting for modification time (gzip) */\\\\nvar OS = 4; /* i: waiting for extra flags and operating system (gzip) */\\\\nvar EXLEN = 5; /* i: waiting for extra length (gzip) */\\\\nvar EXTRA = 6; /* i: waiting for extra bytes (gzip) */\\\\nvar NAME = 7; /* i: waiting for end of file name (gzip) */\\\\nvar COMMENT = 8; /* i: waiting for end of comment (gzip) */\\\\nvar HCRC = 9; /* i: waiting for header crc (gzip) */\\\\nvar DICTID = 10; /* i: waiting for dictionary check value */\\\\nvar DICT = 11; /* waiting for inflateSetDictionary() call */\\\\nvar TYPE = 12; /* i: waiting for type bits, including last-flag bit */\\\\nvar TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */\\\\nvar STORED = 14; /* i: waiting for stored size (length and complement) */\\\\nvar COPY_ = 15; /* i/o: same as COPY below, but only first time in */\\\\nvar COPY = 16; /* i/o: waiting for input or output to copy stored block */\\\\nvar TABLE = 17; /* i: waiting for dynamic block table lengths */\\\\nvar LENLENS = 18; /* i: waiting for code length code lengths */\\\\nvar CODELENS = 19; /* i: waiting for length/lit and distance code lengths */\\\\nvar LEN_ = 20; /* i: same as LEN below, but only first time in */\\\\nvar LEN = 21; /* i: waiting for length/lit/eob code */\\\\nvar LENEXT = 22; /* i: waiting for length extra bits */\\\\nvar DIST = 23; /* i: waiting for distance code */\\\\nvar DISTEXT = 24; /* i: waiting for distance extra bits */\\\\nvar MATCH = 25; /* o: waiting for output space to copy string */\\\\nvar LIT = 26; /* o: waiting for output space to write literal */\\\\nvar CHECK = 27; /* i: waiting for 32-bit check value */\\\\nvar LENGTH = 28; /* i: waiting for 32-bit length (gzip) */\\\\nvar DONE = 29; /* finished check, done -- remain here until reset */\\\\nvar BAD = 30; /* got a data error -- remain here until reset */\\\\nvar MEM = 31; /* got an inflate() memory error -- remain here until reset */\\\\nvar SYNC = 32; /* looking for synchronization bytes to restart inflate() */\\\\n\\\\n/* ===========================================================================*/\\\\n\\\\n\\\\n\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar MAX_WBITS = 15;\\\\n/* 32K LZ77 window */\\\\nvar DEF_WBITS = MAX_WBITS;\\\\n\\\\n\\\\nfunction zswap32(q) {\\\\n return (((q >>> 24) & 0xff) +\\\\n ((q >>> 8) & 0xff00) +\\\\n ((q & 0xff00) << 8) +\\\\n ((q & 0xff) << 24));\\\\n}\\\\n\\\\n\\\\nfunction InflateState() {\\\\n this.mode = 0; /* current inflate mode */\\\\n this.last = false; /* true if processing last block */\\\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\\\\n this.havedict = false; /* true if dictionary provided */\\\\n this.flags = 0; /* gzip header method and flags (0 if zlib) */\\\\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\\\\n this.check = 0; /* protected copy of check value */\\\\n this.total = 0; /* protected copy of output count */\\\\n // TODO: may be {}\\\\n this.head = null; /* where to save gzip header information */\\\\n\\\\n /* sliding window */\\\\n this.wbits = 0; /* log base 2 of requested window size */\\\\n this.wsize = 0; /* window size or zero if not using window */\\\\n this.whave = 0; /* valid bytes in the window */\\\\n this.wnext = 0; /* window write index */\\\\n this.window = null; /* allocated sliding window, if needed */\\\\n\\\\n /* bit accumulator */\\\\n this.hold = 0; /* input bit accumulator */\\\\n this.bits = 0; /* number of bits in \\\\\\\"in\\\\\\\" */\\\\n\\\\n /* for string and stored block copying */\\\\n this.length = 0; /* literal or length of data to copy */\\\\n this.offset = 0; /* distance back to copy string from */\\\\n\\\\n /* for table and code decoding */\\\\n this.extra = 0; /* extra bits needed */\\\\n\\\\n /* fixed and dynamic code tables */\\\\n this.lencode = null; /* starting table for length/literal codes */\\\\n this.distcode = null; /* starting table for distance codes */\\\\n this.lenbits = 0; /* index bits for lencode */\\\\n this.distbits = 0; /* index bits for distcode */\\\\n\\\\n /* dynamic table building */\\\\n this.ncode = 0; /* number of code length code lengths */\\\\n this.nlen = 0; /* number of length code lengths */\\\\n this.ndist = 0; /* number of distance code lengths */\\\\n this.have = 0; /* number of code lengths in lens[] */\\\\n this.next = null; /* next available space in codes[] */\\\\n\\\\n this.lens = new utils.Buf16(320); /* temporary storage for code lengths */\\\\n this.work = new utils.Buf16(288); /* work area for code table building */\\\\n\\\\n /*\\\\n because we don't have pointers in js, we use lencode and distcode directly\\\\n as buffers so we don't need codes\\\\n */\\\\n //this.codes = new utils.Buf32(ENOUGH); /* space for code tables */\\\\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\\\\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\\\\n this.sane = 0; /* if false, allow invalid distance too far */\\\\n this.back = 0; /* bits back of last unprocessed length/lit */\\\\n this.was = 0; /* initial length of match */\\\\n}\\\\n\\\\nfunction inflateResetKeep(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n strm.total_in = strm.total_out = state.total = 0;\\\\n strm.msg = ''; /*Z_NULL*/\\\\n if (state.wrap) { /* to support ill-conceived Java test suite */\\\\n strm.adler = state.wrap & 1;\\\\n }\\\\n state.mode = HEAD;\\\\n state.last = 0;\\\\n state.havedict = 0;\\\\n state.dmax = 32768;\\\\n state.head = null/*Z_NULL*/;\\\\n state.hold = 0;\\\\n state.bits = 0;\\\\n //state.lencode = state.distcode = state.next = state.codes;\\\\n state.lencode = state.lendyn = new utils.Buf32(ENOUGH_LENS);\\\\n state.distcode = state.distdyn = new utils.Buf32(ENOUGH_DISTS);\\\\n\\\\n state.sane = 1;\\\\n state.back = -1;\\\\n //Tracev((stderr, \\\\\\\"inflate: reset\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateReset(strm) {\\\\n var state;\\\\n\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n state.wsize = 0;\\\\n state.whave = 0;\\\\n state.wnext = 0;\\\\n return inflateResetKeep(strm);\\\\n\\\\n}\\\\n\\\\nfunction inflateReset2(strm, windowBits) {\\\\n var wrap;\\\\n var state;\\\\n\\\\n /* get the state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n /* extract wrap request from windowBits parameter */\\\\n if (windowBits < 0) {\\\\n wrap = 0;\\\\n windowBits = -windowBits;\\\\n }\\\\n else {\\\\n wrap = (windowBits >> 4) + 1;\\\\n if (windowBits < 48) {\\\\n windowBits &= 15;\\\\n }\\\\n }\\\\n\\\\n /* set number of window bits, free window if different */\\\\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n if (state.window !== null && state.wbits !== windowBits) {\\\\n state.window = null;\\\\n }\\\\n\\\\n /* update state and reset the rest of it */\\\\n state.wrap = wrap;\\\\n state.wbits = windowBits;\\\\n return inflateReset(strm);\\\\n}\\\\n\\\\nfunction inflateInit2(strm, windowBits) {\\\\n var ret;\\\\n var state;\\\\n\\\\n if (!strm) { return Z_STREAM_ERROR; }\\\\n //strm.msg = Z_NULL; /* in case we return an error */\\\\n\\\\n state = new InflateState();\\\\n\\\\n //if (state === Z_NULL) return Z_MEM_ERROR;\\\\n //Tracev((stderr, \\\\\\\"inflate: allocated\\\\\\\\n\\\\\\\"));\\\\n strm.state = state;\\\\n state.window = null/*Z_NULL*/;\\\\n ret = inflateReset2(strm, windowBits);\\\\n if (ret !== Z_OK) {\\\\n strm.state = null/*Z_NULL*/;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateInit(strm) {\\\\n return inflateInit2(strm, DEF_WBITS);\\\\n}\\\\n\\\\n\\\\n/*\\\\n Return state with length and distance decoding tables and index sizes set to\\\\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\\\\n If BUILDFIXED is defined, then instead this routine builds the tables the\\\\n first time it's called, and returns those tables the first time and\\\\n thereafter. This reduces the size of the code by about 2K bytes, in\\\\n exchange for a little execution time. However, BUILDFIXED should not be\\\\n used for threaded applications, since the rewriting of the tables and virgin\\\\n may not be thread-safe.\\\\n */\\\\nvar virgin = true;\\\\n\\\\nvar lenfix, distfix; // We have no pointers in JS, so keep tables separate\\\\n\\\\nfunction fixedtables(state) {\\\\n /* build fixed huffman tables if first call (may not be thread safe) */\\\\n if (virgin) {\\\\n var sym;\\\\n\\\\n lenfix = new utils.Buf32(512);\\\\n distfix = new utils.Buf32(32);\\\\n\\\\n /* literal/length table */\\\\n sym = 0;\\\\n while (sym < 144) { state.lens[sym++] = 8; }\\\\n while (sym < 256) { state.lens[sym++] = 9; }\\\\n while (sym < 280) { state.lens[sym++] = 7; }\\\\n while (sym < 288) { state.lens[sym++] = 8; }\\\\n\\\\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\\\\n\\\\n /* distance table */\\\\n sym = 0;\\\\n while (sym < 32) { state.lens[sym++] = 5; }\\\\n\\\\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\\\\n\\\\n /* do this just once */\\\\n virgin = false;\\\\n }\\\\n\\\\n state.lencode = lenfix;\\\\n state.lenbits = 9;\\\\n state.distcode = distfix;\\\\n state.distbits = 5;\\\\n}\\\\n\\\\n\\\\n/*\\\\n Update the window with the last wsize (normally 32K) bytes written before\\\\n returning. If window does not exist yet, create it. This is only called\\\\n when a window is already in use, or when output has been written during this\\\\n inflate call, but the end of the deflate stream has not been reached yet.\\\\n It is also called to create a window for dictionary data when a dictionary\\\\n is loaded.\\\\n\\\\n Providing output buffers larger than 32K to inflate() should provide a speed\\\\n advantage, since only the last 32K of output is copied to the sliding window\\\\n upon return from inflate(), and since all distances after the first 32K of\\\\n output will fall in the output data, making match copies simpler and faster.\\\\n The advantage may be dependent on the size of the processor's data caches.\\\\n */\\\\nfunction updatewindow(strm, src, end, copy) {\\\\n var dist;\\\\n var state = strm.state;\\\\n\\\\n /* if it hasn't been done already, allocate space for the window */\\\\n if (state.window === null) {\\\\n state.wsize = 1 << state.wbits;\\\\n state.wnext = 0;\\\\n state.whave = 0;\\\\n\\\\n state.window = new utils.Buf8(state.wsize);\\\\n }\\\\n\\\\n /* copy state->wsize or less output bytes into the circular window */\\\\n if (copy >= state.wsize) {\\\\n utils.arraySet(state.window, src, end - state.wsize, state.wsize, 0);\\\\n state.wnext = 0;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n dist = state.wsize - state.wnext;\\\\n if (dist > copy) {\\\\n dist = copy;\\\\n }\\\\n //zmemcpy(state->window + state->wnext, end - copy, dist);\\\\n utils.arraySet(state.window, src, end - copy, dist, state.wnext);\\\\n copy -= dist;\\\\n if (copy) {\\\\n //zmemcpy(state->window, end - copy, copy);\\\\n utils.arraySet(state.window, src, end - copy, copy, 0);\\\\n state.wnext = copy;\\\\n state.whave = state.wsize;\\\\n }\\\\n else {\\\\n state.wnext += dist;\\\\n if (state.wnext === state.wsize) { state.wnext = 0; }\\\\n if (state.whave < state.wsize) { state.whave += dist; }\\\\n }\\\\n }\\\\n return 0;\\\\n}\\\\n\\\\nfunction inflate(strm, flush) {\\\\n var state;\\\\n var input, output; // input/output buffers\\\\n var next; /* next input INDEX */\\\\n var put; /* next output INDEX */\\\\n var have, left; /* available input and output */\\\\n var hold; /* bit buffer */\\\\n var bits; /* bits in bit buffer */\\\\n var _in, _out; /* save starting available input and output */\\\\n var copy; /* number of stored or match bytes to copy */\\\\n var from; /* where to copy match bytes from */\\\\n var from_source;\\\\n var here = 0; /* current decoding table entry */\\\\n var here_bits, here_op, here_val; // paked \\\\\\\"here\\\\\\\" denormalized (JS specific)\\\\n //var last; /* parent table entry */\\\\n var last_bits, last_op, last_val; // paked \\\\\\\"last\\\\\\\" denormalized (JS specific)\\\\n var len; /* length to copy for repeats, bits to drop */\\\\n var ret; /* return code */\\\\n var hbuf = new utils.Buf8(4); /* buffer for gzip header crc calculation */\\\\n var opts;\\\\n\\\\n var n; // temporary var for NEED_BITS\\\\n\\\\n var order = /* permutation of code lengths */\\\\n [ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ];\\\\n\\\\n\\\\n if (!strm || !strm.state || !strm.output ||\\\\n (!strm.input && strm.avail_in !== 0)) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n state = strm.state;\\\\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\\\\n\\\\n\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n _in = have;\\\\n _out = left;\\\\n ret = Z_OK;\\\\n\\\\n inf_leave: // goto emulation\\\\n for (;;) {\\\\n switch (state.mode) {\\\\n case HEAD:\\\\n if (state.wrap === 0) {\\\\n state.mode = TYPEDO;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(16);\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\\\\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = FLAGS;\\\\n break;\\\\n }\\\\n state.flags = 0; /* expect zlib header */\\\\n if (state.head) {\\\\n state.head.done = false;\\\\n }\\\\n if (!(state.wrap & 1) || /* check if zlib header allowed */\\\\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\\\\n strm.msg = 'incorrect header check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\\\\n if (state.wbits === 0) {\\\\n state.wbits = len;\\\\n }\\\\n else if (len > state.wbits) {\\\\n strm.msg = 'invalid window size';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.dmax = 1 << len;\\\\n //Tracev((stderr, \\\\\\\"inflate: zlib header ok\\\\\\\\n\\\\\\\"));\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = hold & 0x200 ? DICTID : TYPE;\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n break;\\\\n case FLAGS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.flags = hold;\\\\n if ((state.flags & 0xff) !== Z_DEFLATED) {\\\\n strm.msg = 'unknown compression method';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.flags & 0xe000) {\\\\n strm.msg = 'unknown header flags set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n if (state.head) {\\\\n state.head.text = ((hold >> 8) & 1);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = TIME;\\\\n /* falls through */\\\\n case TIME:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.time = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC4(state.check, hold)\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n hbuf[2] = (hold >>> 16) & 0xff;\\\\n hbuf[3] = (hold >>> 24) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 4, 0);\\\\n //===\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = OS;\\\\n /* falls through */\\\\n case OS:\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (state.head) {\\\\n state.head.xflags = (hold & 0xff);\\\\n state.head.os = (hold >> 8);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = EXLEN;\\\\n /* falls through */\\\\n case EXLEN:\\\\n if (state.flags & 0x0400) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length = hold;\\\\n if (state.head) {\\\\n state.head.extra_len = hold;\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n //=== CRC2(state.check, hold);\\\\n hbuf[0] = hold & 0xff;\\\\n hbuf[1] = (hold >>> 8) & 0xff;\\\\n state.check = crc32(state.check, hbuf, 2, 0);\\\\n //===//\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n else if (state.head) {\\\\n state.head.extra = null/*Z_NULL*/;\\\\n }\\\\n state.mode = EXTRA;\\\\n /* falls through */\\\\n case EXTRA:\\\\n if (state.flags & 0x0400) {\\\\n copy = state.length;\\\\n if (copy > have) { copy = have; }\\\\n if (copy) {\\\\n if (state.head) {\\\\n len = state.head.extra_len - state.length;\\\\n if (!state.head.extra) {\\\\n // Use untyped array for more convenient processing later\\\\n state.head.extra = new Array(state.head.extra_len);\\\\n }\\\\n utils.arraySet(\\\\n state.head.extra,\\\\n input,\\\\n next,\\\\n // extra field is limited to 65536 bytes\\\\n // - no need for additional size check\\\\n copy,\\\\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\\\\n len\\\\n );\\\\n //zmemcpy(state.head.extra + len, next,\\\\n // len + copy > state.head.extra_max ?\\\\n // state.head.extra_max - len : copy);\\\\n }\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n state.length -= copy;\\\\n }\\\\n if (state.length) { break inf_leave; }\\\\n }\\\\n state.length = 0;\\\\n state.mode = NAME;\\\\n /* falls through */\\\\n case NAME:\\\\n if (state.flags & 0x0800) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n // TODO: 2 or 1 bytes?\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.name_max*/)) {\\\\n state.head.name += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.name = null;\\\\n }\\\\n state.length = 0;\\\\n state.mode = COMMENT;\\\\n /* falls through */\\\\n case COMMENT:\\\\n if (state.flags & 0x1000) {\\\\n if (have === 0) { break inf_leave; }\\\\n copy = 0;\\\\n do {\\\\n len = input[next + copy++];\\\\n /* use constant limit because in js we should not preallocate memory */\\\\n if (state.head && len &&\\\\n (state.length < 65536 /*state.head.comm_max*/)) {\\\\n state.head.comment += String.fromCharCode(len);\\\\n }\\\\n } while (len && copy < have);\\\\n if (state.flags & 0x0200) {\\\\n state.check = crc32(state.check, input, copy, next);\\\\n }\\\\n have -= copy;\\\\n next += copy;\\\\n if (len) { break inf_leave; }\\\\n }\\\\n else if (state.head) {\\\\n state.head.comment = null;\\\\n }\\\\n state.mode = HCRC;\\\\n /* falls through */\\\\n case HCRC:\\\\n if (state.flags & 0x0200) {\\\\n //=== NEEDBITS(16); */\\\\n while (bits < 16) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.check & 0xffff)) {\\\\n strm.msg = 'header crc mismatch';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n }\\\\n if (state.head) {\\\\n state.head.hcrc = ((state.flags >> 9) & 1);\\\\n state.head.done = true;\\\\n }\\\\n strm.adler = state.check = 0;\\\\n state.mode = TYPE;\\\\n break;\\\\n case DICTID:\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n strm.adler = state.check = zswap32(hold);\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = DICT;\\\\n /* falls through */\\\\n case DICT:\\\\n if (state.havedict === 0) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n return Z_NEED_DICT;\\\\n }\\\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\\\n state.mode = TYPE;\\\\n /* falls through */\\\\n case TYPE:\\\\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case TYPEDO:\\\\n if (state.last) {\\\\n //--- BYTEBITS() ---//\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n state.mode = CHECK;\\\\n break;\\\\n }\\\\n //=== NEEDBITS(3); */\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.last = (hold & 0x01)/*BITS(1)*/;\\\\n //--- DROPBITS(1) ---//\\\\n hold >>>= 1;\\\\n bits -= 1;\\\\n //---//\\\\n\\\\n switch ((hold & 0x03)/*BITS(2)*/) {\\\\n case 0: /* stored block */\\\\n //Tracev((stderr, \\\\\\\"inflate: stored block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = STORED;\\\\n break;\\\\n case 1: /* fixed block */\\\\n fixedtables(state);\\\\n //Tracev((stderr, \\\\\\\"inflate: fixed codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = LEN_; /* decode codes */\\\\n if (flush === Z_TREES) {\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break inf_leave;\\\\n }\\\\n break;\\\\n case 2: /* dynamic block */\\\\n //Tracev((stderr, \\\\\\\"inflate: dynamic codes block%s\\\\\\\\n\\\\\\\",\\\\n // state.last ? \\\\\\\" (last)\\\\\\\" : \\\\\\\"\\\\\\\"));\\\\n state.mode = TABLE;\\\\n break;\\\\n case 3:\\\\n strm.msg = 'invalid block type';\\\\n state.mode = BAD;\\\\n }\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n break;\\\\n case STORED:\\\\n //--- BYTEBITS() ---// /* go to byte boundary */\\\\n hold >>>= bits & 7;\\\\n bits -= bits & 7;\\\\n //---//\\\\n //=== NEEDBITS(32); */\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\\\\n strm.msg = 'invalid stored block lengths';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.length = hold & 0xffff;\\\\n //Tracev((stderr, \\\\\\\"inflate: stored length %u\\\\\\\\n\\\\\\\",\\\\n // state.length));\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n state.mode = COPY_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case COPY_:\\\\n state.mode = COPY;\\\\n /* falls through */\\\\n case COPY:\\\\n copy = state.length;\\\\n if (copy) {\\\\n if (copy > have) { copy = have; }\\\\n if (copy > left) { copy = left; }\\\\n if (copy === 0) { break inf_leave; }\\\\n //--- zmemcpy(put, next, copy); ---\\\\n utils.arraySet(output, input, next, copy, put);\\\\n //---//\\\\n have -= copy;\\\\n next += copy;\\\\n left -= copy;\\\\n put += copy;\\\\n state.length -= copy;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: stored end\\\\\\\\n\\\\\\\"));\\\\n state.mode = TYPE;\\\\n break;\\\\n case TABLE:\\\\n //=== NEEDBITS(14); */\\\\n while (bits < 14) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\\\\n //--- DROPBITS(5) ---//\\\\n hold >>>= 5;\\\\n bits -= 5;\\\\n //---//\\\\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\\\\n //--- DROPBITS(4) ---//\\\\n hold >>>= 4;\\\\n bits -= 4;\\\\n //---//\\\\n//#ifndef PKZIP_BUG_WORKAROUND\\\\n if (state.nlen > 286 || state.ndist > 30) {\\\\n strm.msg = 'too many length or distance symbols';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracev((stderr, \\\\\\\"inflate: table sizes ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = LENLENS;\\\\n /* falls through */\\\\n case LENLENS:\\\\n while (state.have < state.ncode) {\\\\n //=== NEEDBITS(3);\\\\n while (bits < 3) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n while (state.have < 19) {\\\\n state.lens[order[state.have++]] = 0;\\\\n }\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n //state.next = state.codes;\\\\n //state.lencode = state.next;\\\\n // Switch to use dynamic table\\\\n state.lencode = state.lendyn;\\\\n state.lenbits = 7;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\\\\n state.lenbits = opts.bits;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid code lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, \\\\\\\"inflate: code lengths ok\\\\\\\\n\\\\\\\"));\\\\n state.have = 0;\\\\n state.mode = CODELENS;\\\\n /* falls through */\\\\n case CODELENS:\\\\n while (state.have < state.nlen + state.ndist) {\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_val < 16) {\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.lens[state.have++] = here_val;\\\\n }\\\\n else {\\\\n if (here_val === 16) {\\\\n //=== NEEDBITS(here.bits + 2);\\\\n n = here_bits + 2;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n if (state.have === 0) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n len = state.lens[state.have - 1];\\\\n copy = 3 + (hold & 0x03);//BITS(2);\\\\n //--- DROPBITS(2) ---//\\\\n hold >>>= 2;\\\\n bits -= 2;\\\\n //---//\\\\n }\\\\n else if (here_val === 17) {\\\\n //=== NEEDBITS(here.bits + 3);\\\\n n = here_bits + 3;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 3 + (hold & 0x07);//BITS(3);\\\\n //--- DROPBITS(3) ---//\\\\n hold >>>= 3;\\\\n bits -= 3;\\\\n //---//\\\\n }\\\\n else {\\\\n //=== NEEDBITS(here.bits + 7);\\\\n n = here_bits + 7;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n len = 0;\\\\n copy = 11 + (hold & 0x7f);//BITS(7);\\\\n //--- DROPBITS(7) ---//\\\\n hold >>>= 7;\\\\n bits -= 7;\\\\n //---//\\\\n }\\\\n if (state.have + copy > state.nlen + state.ndist) {\\\\n strm.msg = 'invalid bit length repeat';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n while (copy--) {\\\\n state.lens[state.have++] = len;\\\\n }\\\\n }\\\\n }\\\\n\\\\n /* handle error breaks in while */\\\\n if (state.mode === BAD) { break; }\\\\n\\\\n /* check for end-of-block code (better have one) */\\\\n if (state.lens[256] === 0) {\\\\n strm.msg = 'invalid code -- missing end-of-block';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n /* build code tables -- note: do not change the lenbits or distbits\\\\n values here (9 and 6) without reading the comments in inftrees.h\\\\n concerning the ENOUGH constants, which depend on those values */\\\\n state.lenbits = 9;\\\\n\\\\n opts = { bits: state.lenbits };\\\\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.lenbits = opts.bits;\\\\n // state.lencode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid literal/lengths set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n\\\\n state.distbits = 6;\\\\n //state.distcode.copy(state.codes);\\\\n // Switch to use dynamic table\\\\n state.distcode = state.distdyn;\\\\n opts = { bits: state.distbits };\\\\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\\\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\\\n // state.next_index = opts.table_index;\\\\n state.distbits = opts.bits;\\\\n // state.distcode = state.next;\\\\n\\\\n if (ret) {\\\\n strm.msg = 'invalid distances set';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //Tracev((stderr, 'inflate: codes ok\\\\\\\\n'));\\\\n state.mode = LEN_;\\\\n if (flush === Z_TREES) { break inf_leave; }\\\\n /* falls through */\\\\n case LEN_:\\\\n state.mode = LEN;\\\\n /* falls through */\\\\n case LEN:\\\\n if (have >= 6 && left >= 258) {\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n inflate_fast(strm, _out);\\\\n //--- LOAD() ---\\\\n put = strm.next_out;\\\\n output = strm.output;\\\\n left = strm.avail_out;\\\\n next = strm.next_in;\\\\n input = strm.input;\\\\n have = strm.avail_in;\\\\n hold = state.hold;\\\\n bits = state.bits;\\\\n //---\\\\n\\\\n if (state.mode === TYPE) {\\\\n state.back = -1;\\\\n }\\\\n break;\\\\n }\\\\n state.back = 0;\\\\n for (;;) {\\\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if (here_bits <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if (here_op && (here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.lencode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n state.length = here_val;\\\\n if (here_op === 0) {\\\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\\\n // \\\\\\\"inflate: literal '%c'\\\\\\\\n\\\\\\\" :\\\\n // \\\\\\\"inflate: literal 0x%02x\\\\\\\\n\\\\\\\", here.val));\\\\n state.mode = LIT;\\\\n break;\\\\n }\\\\n if (here_op & 32) {\\\\n //Tracevv((stderr, \\\\\\\"inflate: end of block\\\\\\\\n\\\\\\\"));\\\\n state.back = -1;\\\\n state.mode = TYPE;\\\\n break;\\\\n }\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid literal/length code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.extra = here_op & 15;\\\\n state.mode = LENEXT;\\\\n /* falls through */\\\\n case LENEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n //Tracevv((stderr, \\\\\\\"inflate: length %u\\\\\\\\n\\\\\\\", state.length));\\\\n state.was = state.length;\\\\n state.mode = DIST;\\\\n /* falls through */\\\\n case DIST:\\\\n for (;;) {\\\\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n if ((here_op & 0xf0) === 0) {\\\\n last_bits = here_bits;\\\\n last_op = here_op;\\\\n last_val = here_val;\\\\n for (;;) {\\\\n here = state.distcode[last_val +\\\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\\\n here_bits = here >>> 24;\\\\n here_op = (here >>> 16) & 0xff;\\\\n here_val = here & 0xffff;\\\\n\\\\n if ((last_bits + here_bits) <= bits) { break; }\\\\n //--- PULLBYTE() ---//\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n //---//\\\\n }\\\\n //--- DROPBITS(last.bits) ---//\\\\n hold >>>= last_bits;\\\\n bits -= last_bits;\\\\n //---//\\\\n state.back += last_bits;\\\\n }\\\\n //--- DROPBITS(here.bits) ---//\\\\n hold >>>= here_bits;\\\\n bits -= here_bits;\\\\n //---//\\\\n state.back += here_bits;\\\\n if (here_op & 64) {\\\\n strm.msg = 'invalid distance code';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n state.offset = here_val;\\\\n state.extra = (here_op) & 15;\\\\n state.mode = DISTEXT;\\\\n /* falls through */\\\\n case DISTEXT:\\\\n if (state.extra) {\\\\n //=== NEEDBITS(state.extra);\\\\n n = state.extra;\\\\n while (bits < n) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\\\n //--- DROPBITS(state.extra) ---//\\\\n hold >>>= state.extra;\\\\n bits -= state.extra;\\\\n //---//\\\\n state.back += state.extra;\\\\n }\\\\n//#ifdef INFLATE_STRICT\\\\n if (state.offset > state.dmax) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n//#endif\\\\n //Tracevv((stderr, \\\\\\\"inflate: distance %u\\\\\\\\n\\\\\\\", state.offset));\\\\n state.mode = MATCH;\\\\n /* falls through */\\\\n case MATCH:\\\\n if (left === 0) { break inf_leave; }\\\\n copy = _out - left;\\\\n if (state.offset > copy) { /* copy from window */\\\\n copy = state.offset - copy;\\\\n if (copy > state.whave) {\\\\n if (state.sane) {\\\\n strm.msg = 'invalid distance too far back';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n// (!) This block is disabled in zlib defaults,\\\\n// don't enable it for binary compatibility\\\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\\\n// Trace((stderr, \\\\\\\"inflate.c too far\\\\\\\\n\\\\\\\"));\\\\n// copy -= state.whave;\\\\n// if (copy > state.length) { copy = state.length; }\\\\n// if (copy > left) { copy = left; }\\\\n// left -= copy;\\\\n// state.length -= copy;\\\\n// do {\\\\n// output[put++] = 0;\\\\n// } while (--copy);\\\\n// if (state.length === 0) { state.mode = LEN; }\\\\n// break;\\\\n//#endif\\\\n }\\\\n if (copy > state.wnext) {\\\\n copy -= state.wnext;\\\\n from = state.wsize - copy;\\\\n }\\\\n else {\\\\n from = state.wnext - copy;\\\\n }\\\\n if (copy > state.length) { copy = state.length; }\\\\n from_source = state.window;\\\\n }\\\\n else { /* copy from output */\\\\n from_source = output;\\\\n from = put - state.offset;\\\\n copy = state.length;\\\\n }\\\\n if (copy > left) { copy = left; }\\\\n left -= copy;\\\\n state.length -= copy;\\\\n do {\\\\n output[put++] = from_source[from++];\\\\n } while (--copy);\\\\n if (state.length === 0) { state.mode = LEN; }\\\\n break;\\\\n case LIT:\\\\n if (left === 0) { break inf_leave; }\\\\n output[put++] = state.length;\\\\n left--;\\\\n state.mode = LEN;\\\\n break;\\\\n case CHECK:\\\\n if (state.wrap) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n // Use '|' instead of '+' to make sure that result is signed\\\\n hold |= input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n _out -= left;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (_out) {\\\\n strm.adler = state.check =\\\\n /*UPDATE(state.check, put - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\\\\n\\\\n }\\\\n _out = left;\\\\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\\\\n if ((state.flags ? hold : zswap32(hold)) !== state.check) {\\\\n strm.msg = 'incorrect data check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: check matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = LENGTH;\\\\n /* falls through */\\\\n case LENGTH:\\\\n if (state.wrap && state.flags) {\\\\n //=== NEEDBITS(32);\\\\n while (bits < 32) {\\\\n if (have === 0) { break inf_leave; }\\\\n have--;\\\\n hold += input[next++] << bits;\\\\n bits += 8;\\\\n }\\\\n //===//\\\\n if (hold !== (state.total & 0xffffffff)) {\\\\n strm.msg = 'incorrect length check';\\\\n state.mode = BAD;\\\\n break;\\\\n }\\\\n //=== INITBITS();\\\\n hold = 0;\\\\n bits = 0;\\\\n //===//\\\\n //Tracev((stderr, \\\\\\\"inflate: length matches trailer\\\\\\\\n\\\\\\\"));\\\\n }\\\\n state.mode = DONE;\\\\n /* falls through */\\\\n case DONE:\\\\n ret = Z_STREAM_END;\\\\n break inf_leave;\\\\n case BAD:\\\\n ret = Z_DATA_ERROR;\\\\n break inf_leave;\\\\n case MEM:\\\\n return Z_MEM_ERROR;\\\\n case SYNC:\\\\n /* falls through */\\\\n default:\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n }\\\\n\\\\n // inf_leave <- here is real place for \\\\\\\"goto inf_leave\\\\\\\", emulated via \\\\\\\"break inf_leave\\\\\\\"\\\\n\\\\n /*\\\\n Return from inflate(), updating the total counts and the check value.\\\\n If there was no progress during the inflate() call, return a buffer\\\\n error. Call updatewindow() to create and/or update the window state.\\\\n Note: a memory error from inflate() is non-recoverable.\\\\n */\\\\n\\\\n //--- RESTORE() ---\\\\n strm.next_out = put;\\\\n strm.avail_out = left;\\\\n strm.next_in = next;\\\\n strm.avail_in = have;\\\\n state.hold = hold;\\\\n state.bits = bits;\\\\n //---\\\\n\\\\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\\\\n (state.mode < CHECK || flush !== Z_FINISH))) {\\\\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n }\\\\n _in -= strm.avail_in;\\\\n _out -= strm.avail_out;\\\\n strm.total_in += _in;\\\\n strm.total_out += _out;\\\\n state.total += _out;\\\\n if (state.wrap && _out) {\\\\n strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/\\\\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\\\\n }\\\\n strm.data_type = state.bits + (state.last ? 64 : 0) +\\\\n (state.mode === TYPE ? 128 : 0) +\\\\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\\\\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\\\\n ret = Z_BUF_ERROR;\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction inflateEnd(strm) {\\\\n\\\\n if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n var state = strm.state;\\\\n if (state.window) {\\\\n state.window = null;\\\\n }\\\\n strm.state = null;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateGetHeader(strm, head) {\\\\n var state;\\\\n\\\\n /* check state */\\\\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\\\\n\\\\n /* save header structure */\\\\n state.head = head;\\\\n head.done = false;\\\\n return Z_OK;\\\\n}\\\\n\\\\nfunction inflateSetDictionary(strm, dictionary) {\\\\n var dictLength = dictionary.length;\\\\n\\\\n var state;\\\\n var dictid;\\\\n var ret;\\\\n\\\\n /* check state */\\\\n if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) { return Z_STREAM_ERROR; }\\\\n state = strm.state;\\\\n\\\\n if (state.wrap !== 0 && state.mode !== DICT) {\\\\n return Z_STREAM_ERROR;\\\\n }\\\\n\\\\n /* check for correct dictionary identifier */\\\\n if (state.mode === DICT) {\\\\n dictid = 1; /* adler32(0, null, 0)*/\\\\n /* dictid = adler32(dictid, dictionary, dictLength); */\\\\n dictid = adler32(dictid, dictionary, dictLength, 0);\\\\n if (dictid !== state.check) {\\\\n return Z_DATA_ERROR;\\\\n }\\\\n }\\\\n /* copy dictionary to window using updatewindow(), which will amend the\\\\n existing dictionary if appropriate */\\\\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\\\\n if (ret) {\\\\n state.mode = MEM;\\\\n return Z_MEM_ERROR;\\\\n }\\\\n state.havedict = 1;\\\\n // Tracev((stderr, \\\\\\\"inflate: dictionary set\\\\\\\\n\\\\\\\"));\\\\n return Z_OK;\\\\n}\\\\n\\\\nexports.inflateReset = inflateReset;\\\\nexports.inflateReset2 = inflateReset2;\\\\nexports.inflateResetKeep = inflateResetKeep;\\\\nexports.inflateInit = inflateInit;\\\\nexports.inflateInit2 = inflateInit2;\\\\nexports.inflate = inflate;\\\\nexports.inflateEnd = inflateEnd;\\\\nexports.inflateGetHeader = inflateGetHeader;\\\\nexports.inflateSetDictionary = inflateSetDictionary;\\\\nexports.inflateInfo = 'pako inflate (from Nodeca project)';\\\\n\\\\n/* Not implemented\\\\nexports.inflateCopy = inflateCopy;\\\\nexports.inflateGetDictionary = inflateGetDictionary;\\\\nexports.inflateMark = inflateMark;\\\\nexports.inflatePrime = inflatePrime;\\\\nexports.inflateSync = inflateSync;\\\\nexports.inflateSyncPoint = inflateSyncPoint;\\\\nexports.inflateUndermine = inflateUndermine;\\\\n*/\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inflate.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/inftrees.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/inftrees.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nvar utils = __webpack_require__(/*! ../utils/common */ \\\\\\\"./node_modules/pako/lib/utils/common.js\\\\\\\");\\\\n\\\\nvar MAXBITS = 15;\\\\nvar ENOUGH_LENS = 852;\\\\nvar ENOUGH_DISTS = 592;\\\\n//var ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\\\n\\\\nvar CODES = 0;\\\\nvar LENS = 1;\\\\nvar DISTS = 2;\\\\n\\\\nvar lbase = [ /* Length codes 257..285 base */\\\\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\\\\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\\\\n];\\\\n\\\\nvar lext = [ /* Length codes 257..285 extra */\\\\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\\\\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\\\\n];\\\\n\\\\nvar dbase = [ /* Distance codes 0..29 base */\\\\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\\\\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\\\\n 8193, 12289, 16385, 24577, 0, 0\\\\n];\\\\n\\\\nvar dext = [ /* Distance codes 0..29 extra */\\\\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\\\\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\\\\n 28, 28, 29, 29, 64, 64\\\\n];\\\\n\\\\nmodule.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)\\\\n{\\\\n var bits = opts.bits;\\\\n //here = opts.here; /* table entry for duplication */\\\\n\\\\n var len = 0; /* a code's length in bits */\\\\n var sym = 0; /* index of code symbols */\\\\n var min = 0, max = 0; /* minimum and maximum code lengths */\\\\n var root = 0; /* number of index bits for root table */\\\\n var curr = 0; /* number of index bits for current table */\\\\n var drop = 0; /* code bits to drop for sub-table */\\\\n var left = 0; /* number of prefix codes available */\\\\n var used = 0; /* code entries in table used */\\\\n var huff = 0; /* Huffman code */\\\\n var incr; /* for incrementing code, index */\\\\n var fill; /* index for replicating entries */\\\\n var low; /* low bits for current root entry */\\\\n var mask; /* mask for low root bits */\\\\n var next; /* next available space in table */\\\\n var base = null; /* base value table to use */\\\\n var base_index = 0;\\\\n// var shoextra; /* extra bits table to use */\\\\n var end; /* use base and extra for symbol > end */\\\\n var count = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\\\\n var offs = new utils.Buf16(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\\\\n var extra = null;\\\\n var extra_index = 0;\\\\n\\\\n var here_bits, here_op, here_val;\\\\n\\\\n /*\\\\n Process a set of code lengths to create a canonical Huffman code. The\\\\n code lengths are lens[0..codes-1]. Each length corresponds to the\\\\n symbols 0..codes-1. The Huffman code is generated by first sorting the\\\\n symbols by length from short to long, and retaining the symbol order\\\\n for codes with equal lengths. Then the code starts with all zero bits\\\\n for the first code of the shortest length, and the codes are integer\\\\n increments for the same length, and zeros are appended as the length\\\\n increases. For the deflate format, these bits are stored backwards\\\\n from their more natural integer increment ordering, and so when the\\\\n decoding tables are built in the large loop below, the integer codes\\\\n are incremented backwards.\\\\n\\\\n This routine assumes, but does not check, that all of the entries in\\\\n lens[] are in the range 0..MAXBITS. The caller must assure this.\\\\n 1..MAXBITS is interpreted as that code length. zero means that that\\\\n symbol does not occur in this code.\\\\n\\\\n The codes are sorted by computing a count of codes for each length,\\\\n creating from that a table of starting indices for each length in the\\\\n sorted table, and then entering the symbols in order in the sorted\\\\n table. The sorted table is work[], with that space being provided by\\\\n the caller.\\\\n\\\\n The length counts are used for other purposes as well, i.e. finding\\\\n the minimum and maximum length codes, determining if there are any\\\\n codes at all, checking for a valid set of lengths, and looking ahead\\\\n at length counts to determine sub-table sizes when building the\\\\n decoding tables.\\\\n */\\\\n\\\\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\\\\n for (len = 0; len <= MAXBITS; len++) {\\\\n count[len] = 0;\\\\n }\\\\n for (sym = 0; sym < codes; sym++) {\\\\n count[lens[lens_index + sym]]++;\\\\n }\\\\n\\\\n /* bound code lengths, force root to be within code lengths */\\\\n root = bits;\\\\n for (max = MAXBITS; max >= 1; max--) {\\\\n if (count[max] !== 0) { break; }\\\\n }\\\\n if (root > max) {\\\\n root = max;\\\\n }\\\\n if (max === 0) { /* no symbols to code at all */\\\\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\\\\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\\\\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n\\\\n //table.op[opts.table_index] = 64;\\\\n //table.bits[opts.table_index] = 1;\\\\n //table.val[opts.table_index++] = 0;\\\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\\\n\\\\n opts.bits = 1;\\\\n return 0; /* no symbols, but wait for decoding to report error */\\\\n }\\\\n for (min = 1; min < max; min++) {\\\\n if (count[min] !== 0) { break; }\\\\n }\\\\n if (root < min) {\\\\n root = min;\\\\n }\\\\n\\\\n /* check for an over-subscribed or incomplete set of lengths */\\\\n left = 1;\\\\n for (len = 1; len <= MAXBITS; len++) {\\\\n left <<= 1;\\\\n left -= count[len];\\\\n if (left < 0) {\\\\n return -1;\\\\n } /* over-subscribed */\\\\n }\\\\n if (left > 0 && (type === CODES || max !== 1)) {\\\\n return -1; /* incomplete set */\\\\n }\\\\n\\\\n /* generate offsets into symbol table for each length for sorting */\\\\n offs[1] = 0;\\\\n for (len = 1; len < MAXBITS; len++) {\\\\n offs[len + 1] = offs[len] + count[len];\\\\n }\\\\n\\\\n /* sort symbols by length, by symbol order within each length */\\\\n for (sym = 0; sym < codes; sym++) {\\\\n if (lens[lens_index + sym] !== 0) {\\\\n work[offs[lens[lens_index + sym]]++] = sym;\\\\n }\\\\n }\\\\n\\\\n /*\\\\n Create and fill in decoding tables. In this loop, the table being\\\\n filled is at next and has curr index bits. The code being used is huff\\\\n with length len. That code is converted to an index by dropping drop\\\\n bits off of the bottom. For codes where len is less than drop + curr,\\\\n those top drop + curr - len bits are incremented through all values to\\\\n fill the table with replicated entries.\\\\n\\\\n root is the number of index bits for the root table. When len exceeds\\\\n root, sub-tables are created pointed to by the root entry with an index\\\\n of the low root bits of huff. This is saved in low to check for when a\\\\n new sub-table should be started. drop is zero when the root table is\\\\n being filled, and drop is root when sub-tables are being filled.\\\\n\\\\n When a new sub-table is needed, it is necessary to look ahead in the\\\\n code lengths to determine what size sub-table is needed. The length\\\\n counts are used for this, and so count[] is decremented as codes are\\\\n entered in the tables.\\\\n\\\\n used keeps track of how many table entries have been allocated from the\\\\n provided *table space. It is checked for LENS and DIST tables against\\\\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\\\\n the initial root table size constants. See the comments in inftrees.h\\\\n for more information.\\\\n\\\\n sym increments through all symbols, and the loop terminates when\\\\n all codes of length max, i.e. all codes, have been processed. This\\\\n routine permits incomplete codes, so another loop after this one fills\\\\n in the rest of the decoding tables with invalid code markers.\\\\n */\\\\n\\\\n /* set up for code type */\\\\n // poor man optimization - use if-else instead of switch,\\\\n // to avoid deopts in old v8\\\\n if (type === CODES) {\\\\n base = extra = work; /* dummy value--not used */\\\\n end = 19;\\\\n\\\\n } else if (type === LENS) {\\\\n base = lbase;\\\\n base_index -= 257;\\\\n extra = lext;\\\\n extra_index -= 257;\\\\n end = 256;\\\\n\\\\n } else { /* DISTS */\\\\n base = dbase;\\\\n extra = dext;\\\\n end = -1;\\\\n }\\\\n\\\\n /* initialize opts for loop */\\\\n huff = 0; /* starting code */\\\\n sym = 0; /* starting code symbol */\\\\n len = min; /* starting code length */\\\\n next = table_index; /* current table to fill in */\\\\n curr = root; /* current table index bits */\\\\n drop = 0; /* current bits to drop from code for index */\\\\n low = -1; /* trigger new sub-table when len > root */\\\\n used = 1 << root; /* use root table entries */\\\\n mask = used - 1; /* mask for comparing low */\\\\n\\\\n /* check available table space */\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* process all codes and make table entries */\\\\n for (;;) {\\\\n /* create table entry */\\\\n here_bits = len - drop;\\\\n if (work[sym] < end) {\\\\n here_op = 0;\\\\n here_val = work[sym];\\\\n }\\\\n else if (work[sym] > end) {\\\\n here_op = extra[extra_index + work[sym]];\\\\n here_val = base[base_index + work[sym]];\\\\n }\\\\n else {\\\\n here_op = 32 + 64; /* end of block */\\\\n here_val = 0;\\\\n }\\\\n\\\\n /* replicate for those indices with low len bits equal to huff */\\\\n incr = 1 << (len - drop);\\\\n fill = 1 << curr;\\\\n min = fill; /* save offset to next table */\\\\n do {\\\\n fill -= incr;\\\\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\\\\n } while (fill !== 0);\\\\n\\\\n /* backwards increment the len-bit code huff */\\\\n incr = 1 << (len - 1);\\\\n while (huff & incr) {\\\\n incr >>= 1;\\\\n }\\\\n if (incr !== 0) {\\\\n huff &= incr - 1;\\\\n huff += incr;\\\\n } else {\\\\n huff = 0;\\\\n }\\\\n\\\\n /* go to next symbol, update count, len */\\\\n sym++;\\\\n if (--count[len] === 0) {\\\\n if (len === max) { break; }\\\\n len = lens[lens_index + work[sym]];\\\\n }\\\\n\\\\n /* create new sub-table if needed */\\\\n if (len > root && (huff & mask) !== low) {\\\\n /* if first time, transition to sub-tables */\\\\n if (drop === 0) {\\\\n drop = root;\\\\n }\\\\n\\\\n /* increment past last table */\\\\n next += min; /* here min is 1 << curr */\\\\n\\\\n /* determine length of next table */\\\\n curr = len - drop;\\\\n left = 1 << curr;\\\\n while (curr + drop < max) {\\\\n left -= count[curr + drop];\\\\n if (left <= 0) { break; }\\\\n curr++;\\\\n left <<= 1;\\\\n }\\\\n\\\\n /* check for enough space */\\\\n used += 1 << curr;\\\\n if ((type === LENS && used > ENOUGH_LENS) ||\\\\n (type === DISTS && used > ENOUGH_DISTS)) {\\\\n return 1;\\\\n }\\\\n\\\\n /* point entry in root table to sub-table */\\\\n low = huff & mask;\\\\n /*table.op[low] = curr;\\\\n table.bits[low] = root;\\\\n table.val[low] = next - opts.table_index;*/\\\\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\\\\n }\\\\n }\\\\n\\\\n /* fill in remaining table entry if code is incomplete (guaranteed to have\\\\n at most one remaining entry, since if the code is incomplete, the\\\\n maximum code length that was allowed to get this far is one bit) */\\\\n if (huff !== 0) {\\\\n //table.op[next + huff] = 64; /* invalid code marker */\\\\n //table.bits[next + huff] = len - drop;\\\\n //table.val[next + huff] = 0;\\\\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\\\\n }\\\\n\\\\n /* set return parameters */\\\\n //opts.table_index += used;\\\\n opts.bits = root;\\\\n return 0;\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/inftrees.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/messages.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/messages.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nmodule.exports = {\\\\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\\\\n 1: 'stream end', /* Z_STREAM_END 1 */\\\\n 0: '', /* Z_OK 0 */\\\\n '-1': 'file error', /* Z_ERRNO (-1) */\\\\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\\\\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\\\\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\\\\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\\\\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/messages.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/pako/lib/zlib/zstream.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/pako/lib/zlib/zstream.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\\\n//\\\\n// This software is provided 'as-is', without any express or implied\\\\n// warranty. In no event will the authors be held liable for any damages\\\\n// arising from the use of this software.\\\\n//\\\\n// Permission is granted to anyone to use this software for any purpose,\\\\n// including commercial applications, and to alter it and redistribute it\\\\n// freely, subject to the following restrictions:\\\\n//\\\\n// 1. The origin of this software must not be misrepresented; you must not\\\\n// claim that you wrote the original software. If you use this software\\\\n// in a product, an acknowledgment in the product documentation would be\\\\n// appreciated but is not required.\\\\n// 2. Altered source versions must be plainly marked as such, and must not be\\\\n// misrepresented as being the original software.\\\\n// 3. This notice may not be removed or altered from any source distribution.\\\\n\\\\nfunction ZStream() {\\\\n /* next input byte */\\\\n this.input = null; // JS specific, because we have no pointers\\\\n this.next_in = 0;\\\\n /* number of bytes available at input */\\\\n this.avail_in = 0;\\\\n /* total number of input bytes read so far */\\\\n this.total_in = 0;\\\\n /* next output byte should be put there */\\\\n this.output = null; // JS specific, because we have no pointers\\\\n this.next_out = 0;\\\\n /* remaining free space at output */\\\\n this.avail_out = 0;\\\\n /* total number of bytes output so far */\\\\n this.total_out = 0;\\\\n /* last error message, NULL if no error */\\\\n this.msg = ''/*Z_NULL*/;\\\\n /* not visible by applications */\\\\n this.state = null;\\\\n /* best guess about the data type: binary or text */\\\\n this.data_type = 2/*Z_UNKNOWN*/;\\\\n /* adler32 value of the uncompressed data */\\\\n this.adler = 0;\\\\n}\\\\n\\\\nmodule.exports = ZStream;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/pako/lib/zlib/zstream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/errors.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/readable-stream/errors.js ***!\\n \\\\************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nconst codes = {};\\\\n\\\\nfunction createErrorType(code, message, Base) {\\\\n if (!Base) {\\\\n Base = Error\\\\n }\\\\n\\\\n function getMessage (arg1, arg2, arg3) {\\\\n if (typeof message === 'string') {\\\\n return message\\\\n } else {\\\\n return message(arg1, arg2, arg3)\\\\n }\\\\n }\\\\n\\\\n class NodeError extends Base {\\\\n constructor (arg1, arg2, arg3) {\\\\n super(getMessage(arg1, arg2, arg3));\\\\n }\\\\n }\\\\n\\\\n NodeError.prototype.name = Base.name;\\\\n NodeError.prototype.code = code;\\\\n\\\\n codes[code] = NodeError;\\\\n}\\\\n\\\\n// https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js\\\\nfunction oneOf(expected, thing) {\\\\n if (Array.isArray(expected)) {\\\\n const len = expected.length;\\\\n expected = expected.map((i) => String(i));\\\\n if (len > 2) {\\\\n return `one of ${thing} ${expected.slice(0, len - 1).join(', ')}, or ` +\\\\n expected[len - 1];\\\\n } else if (len === 2) {\\\\n return `one of ${thing} ${expected[0]} or ${expected[1]}`;\\\\n } else {\\\\n return `of ${thing} ${expected[0]}`;\\\\n }\\\\n } else {\\\\n return `of ${thing} ${String(expected)}`;\\\\n }\\\\n}\\\\n\\\\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith\\\\nfunction startsWith(str, search, pos) {\\\\n\\\\treturn str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\\\\n}\\\\n\\\\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\\\\nfunction endsWith(str, search, this_len) {\\\\n\\\\tif (this_len === undefined || this_len > str.length) {\\\\n\\\\t\\\\tthis_len = str.length;\\\\n\\\\t}\\\\n\\\\treturn str.substring(this_len - search.length, this_len) === search;\\\\n}\\\\n\\\\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes\\\\nfunction includes(str, search, start) {\\\\n if (typeof start !== 'number') {\\\\n start = 0;\\\\n }\\\\n\\\\n if (start + search.length > str.length) {\\\\n return false;\\\\n } else {\\\\n return str.indexOf(search, start) !== -1;\\\\n }\\\\n}\\\\n\\\\ncreateErrorType('ERR_INVALID_OPT_VALUE', function (name, value) {\\\\n return 'The value \\\\\\\"' + value + '\\\\\\\" is invalid for option \\\\\\\"' + name + '\\\\\\\"'\\\\n}, TypeError);\\\\ncreateErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {\\\\n // determiner: 'must be' or 'must not be'\\\\n let determiner;\\\\n if (typeof expected === 'string' && startsWith(expected, 'not ')) {\\\\n determiner = 'must not be';\\\\n expected = expected.replace(/^not /, '');\\\\n } else {\\\\n determiner = 'must be';\\\\n }\\\\n\\\\n let msg;\\\\n if (endsWith(name, ' argument')) {\\\\n // For cases like 'first argument'\\\\n msg = `The ${name} ${determiner} ${oneOf(expected, 'type')}`;\\\\n } else {\\\\n const type = includes(name, '.') ? 'property' : 'argument';\\\\n msg = `The \\\\\\\"${name}\\\\\\\" ${type} ${determiner} ${oneOf(expected, 'type')}`;\\\\n }\\\\n\\\\n msg += `. Received type ${typeof actual}`;\\\\n return msg;\\\\n}, TypeError);\\\\ncreateErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF');\\\\ncreateErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) {\\\\n return 'The ' + name + ' method is not implemented'\\\\n});\\\\ncreateErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close');\\\\ncreateErrorType('ERR_STREAM_DESTROYED', function (name) {\\\\n return 'Cannot call ' + name + ' after a stream was destroyed';\\\\n});\\\\ncreateErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times');\\\\ncreateErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable');\\\\ncreateErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end');\\\\ncreateErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError);\\\\ncreateErrorType('ERR_UNKNOWN_ENCODING', function (arg) {\\\\n return 'Unknown encoding: ' + arg\\\\n}, TypeError);\\\\ncreateErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');\\\\n\\\\nmodule.exports.codes = codes;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/errors.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_duplex.js ***!\\n \\\\************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// a duplex stream is just a stream that is both readable and writable.\\\\n// Since JS doesn't have multiple prototypal inheritance, this class\\\\n// prototypally inherits from Readable, and then parasitically from\\\\n// Writable.\\\\n\\\\n/**/\\\\n\\\\nvar objectKeys = Object.keys || function (obj) {\\\\n var keys = [];\\\\n\\\\n for (var key in obj) {\\\\n keys.push(key);\\\\n }\\\\n\\\\n return keys;\\\\n};\\\\n/**/\\\\n\\\\n\\\\nmodule.exports = Duplex;\\\\n\\\\nvar Readable = __webpack_require__(/*! ./_stream_readable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\n\\\\nvar Writable = __webpack_require__(/*! ./_stream_writable */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\")(Duplex, Readable);\\\\n\\\\n{\\\\n // Allow the keys array to be GC'ed.\\\\n var keys = objectKeys(Writable.prototype);\\\\n\\\\n for (var v = 0; v < keys.length; v++) {\\\\n var method = keys[v];\\\\n if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];\\\\n }\\\\n}\\\\n\\\\nfunction Duplex(options) {\\\\n if (!(this instanceof Duplex)) return new Duplex(options);\\\\n Readable.call(this, options);\\\\n Writable.call(this, options);\\\\n this.allowHalfOpen = true;\\\\n\\\\n if (options) {\\\\n if (options.readable === false) this.readable = false;\\\\n if (options.writable === false) this.writable = false;\\\\n\\\\n if (options.allowHalfOpen === false) {\\\\n this.allowHalfOpen = false;\\\\n this.once('end', onend);\\\\n }\\\\n }\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n});\\\\nObject.defineProperty(Duplex.prototype, 'writableBuffer', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState && this._writableState.getBuffer();\\\\n }\\\\n});\\\\nObject.defineProperty(Duplex.prototype, 'writableLength', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.length;\\\\n }\\\\n}); // the no-half-open enforcer\\\\n\\\\nfunction onend() {\\\\n // If the writable side ended, then we're ok.\\\\n if (this._writableState.ended) return; // no more data can be written.\\\\n // But allow more writes to happen in this tick.\\\\n\\\\n process.nextTick(onEndNT, this);\\\\n}\\\\n\\\\nfunction onEndNT(self) {\\\\n self.end();\\\\n}\\\\n\\\\nObject.defineProperty(Duplex.prototype, 'destroyed', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n\\\\n return this._readableState.destroyed && this._writableState.destroyed;\\\\n },\\\\n set: function set(value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (this._readableState === undefined || this._writableState === undefined) {\\\\n return;\\\\n } // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n\\\\n\\\\n this._readableState.destroyed = value;\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_duplex.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\":\\n/*!*****************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_passthrough.js ***!\\n \\\\*****************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// a passthrough stream.\\\\n// basically just the most minimal sort of Transform stream.\\\\n// Every written chunk gets output as-is.\\\\n\\\\n\\\\nmodule.exports = PassThrough;\\\\n\\\\nvar Transform = __webpack_require__(/*! ./_stream_transform */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\")(PassThrough, Transform);\\\\n\\\\nfunction PassThrough(options) {\\\\n if (!(this instanceof PassThrough)) return new PassThrough(options);\\\\n Transform.call(this, options);\\\\n}\\\\n\\\\nPassThrough.prototype._transform = function (chunk, encoding, cb) {\\\\n cb(null, chunk);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_passthrough.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_readable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_readable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\nmodule.exports = Readable;\\\\n/**/\\\\n\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nReadable.ReadableState = ReadableState;\\\\n/**/\\\\n\\\\nvar EE = __webpack_require__(/*! events */ \\\\\\\"events\\\\\\\").EventEmitter;\\\\n\\\\nvar EElistenerCount = function EElistenerCount(emitter, type) {\\\\n return emitter.listeners(type).length;\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\n\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream.js\\\\\\\");\\\\n/**/\\\\n\\\\n\\\\nvar Buffer = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\").Buffer;\\\\n\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\n\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\n\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n/**/\\\\n\\\\n\\\\nvar debugUtil = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\");\\\\n\\\\nvar debug;\\\\n\\\\nif (debugUtil && debugUtil.debuglog) {\\\\n debug = debugUtil.debuglog('stream');\\\\n} else {\\\\n debug = function debug() {};\\\\n}\\\\n/**/\\\\n\\\\n\\\\nvar BufferList = __webpack_require__(/*! ./internal/streams/buffer_list */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/buffer_list.js\\\\\\\");\\\\n\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\n\\\\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/state.js\\\\\\\"),\\\\n getHighWaterMark = _require.getHighWaterMark;\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../errors */ \\\\\\\"./node_modules/readable-stream/errors.js\\\\\\\").codes,\\\\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\\\\n ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,\\\\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\\\\n ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance.\\\\n\\\\n\\\\nvar StringDecoder;\\\\nvar createReadableStreamAsyncIterator;\\\\nvar from;\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\")(Readable, Stream);\\\\n\\\\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\\\\nvar kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];\\\\n\\\\nfunction prependListener(emitter, event, fn) {\\\\n // Sadly this is not cacheable as some libraries bundle their own\\\\n // event emitter implementation with them.\\\\n if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any\\\\n // userland ones. NEVER DO THIS. This is here only because this code needs\\\\n // to continue to work with older versions of Node.js that do not include\\\\n // the prependListener() method. The goal is to eventually remove this hack.\\\\n\\\\n if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];\\\\n}\\\\n\\\\nfunction ReadableState(options, stream, isDuplex) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n options = options || {}; // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream.\\\\n // These options can be provided separately as readableXXX and writableXXX.\\\\n\\\\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to\\\\n // make all the buffer merging and length checks go away\\\\n\\\\n this.objectMode = !!options.objectMode;\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer\\\\n // Note: 0 is a valid value, means \\\\\\\"don't call _read preemptively ever\\\\\\\"\\\\n\\\\n this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the\\\\n // linked list can remove elements from the beginning faster than\\\\n // array.shift()\\\\n\\\\n this.buffer = new BufferList();\\\\n this.length = 0;\\\\n this.pipes = null;\\\\n this.pipesCount = 0;\\\\n this.flowing = null;\\\\n this.ended = false;\\\\n this.endEmitted = false;\\\\n this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted\\\\n // immediately, or on a later tick. We set this to true at first, because\\\\n // any actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first read call.\\\\n\\\\n this.sync = true; // whenever we return null, then we set a flag to say\\\\n // that we're awaiting a 'readable' event emission.\\\\n\\\\n this.needReadable = false;\\\\n this.emittedReadable = false;\\\\n this.readableListening = false;\\\\n this.resumeScheduled = false;\\\\n this.paused = true; // Should close be emitted on destroy. Defaults to true.\\\\n\\\\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish')\\\\n\\\\n this.autoDestroy = !!options.autoDestroy; // has it been destroyed\\\\n\\\\n this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s\\\\n\\\\n this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled\\\\n\\\\n this.readingMore = false;\\\\n this.decoder = null;\\\\n this.encoding = null;\\\\n\\\\n if (options.encoding) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n this.decoder = new StringDecoder(options.encoding);\\\\n this.encoding = options.encoding;\\\\n }\\\\n}\\\\n\\\\nfunction Readable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside\\\\n // the ReadableState constructor, at least with V8 6.5\\\\n\\\\n var isDuplex = this instanceof Duplex;\\\\n this._readableState = new ReadableState(options, this, isDuplex); // legacy\\\\n\\\\n this.readable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.read === 'function') this._read = options.read;\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n}\\\\n\\\\nObject.defineProperty(Readable.prototype, 'destroyed', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n if (this._readableState === undefined) {\\\\n return false;\\\\n }\\\\n\\\\n return this._readableState.destroyed;\\\\n },\\\\n set: function set(value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._readableState) {\\\\n return;\\\\n } // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n\\\\n\\\\n this._readableState.destroyed = value;\\\\n }\\\\n});\\\\nReadable.prototype.destroy = destroyImpl.destroy;\\\\nReadable.prototype._undestroy = destroyImpl.undestroy;\\\\n\\\\nReadable.prototype._destroy = function (err, cb) {\\\\n cb(err);\\\\n}; // Manually shove something into the read() buffer.\\\\n// This returns true if the highWaterMark has not been hit yet,\\\\n// similar to how Writable.write() returns true if you should\\\\n// write() some more.\\\\n\\\\n\\\\nReadable.prototype.push = function (chunk, encoding) {\\\\n var state = this._readableState;\\\\n var skipChunkCheck;\\\\n\\\\n if (!state.objectMode) {\\\\n if (typeof chunk === 'string') {\\\\n encoding = encoding || state.defaultEncoding;\\\\n\\\\n if (encoding !== state.encoding) {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n encoding = '';\\\\n }\\\\n\\\\n skipChunkCheck = true;\\\\n }\\\\n } else {\\\\n skipChunkCheck = true;\\\\n }\\\\n\\\\n return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);\\\\n}; // Unshift should *always* be something directly out of read()\\\\n\\\\n\\\\nReadable.prototype.unshift = function (chunk) {\\\\n return readableAddChunk(this, chunk, null, true, false);\\\\n};\\\\n\\\\nfunction readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\\\\n debug('readableAddChunk', chunk);\\\\n var state = stream._readableState;\\\\n\\\\n if (chunk === null) {\\\\n state.reading = false;\\\\n onEofChunk(stream, state);\\\\n } else {\\\\n var er;\\\\n if (!skipChunkCheck) er = chunkInvalid(state, chunk);\\\\n\\\\n if (er) {\\\\n errorOrDestroy(stream, er);\\\\n } else if (state.objectMode || chunk && chunk.length > 0) {\\\\n if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (addToFront) {\\\\n if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);\\\\n } else if (state.ended) {\\\\n errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF());\\\\n } else if (state.destroyed) {\\\\n return false;\\\\n } else {\\\\n state.reading = false;\\\\n\\\\n if (state.decoder && !encoding) {\\\\n chunk = state.decoder.write(chunk);\\\\n if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);\\\\n } else {\\\\n addChunk(stream, state, chunk, false);\\\\n }\\\\n }\\\\n } else if (!addToFront) {\\\\n state.reading = false;\\\\n maybeReadMore(stream, state);\\\\n }\\\\n } // We can push more data if we are below the highWaterMark.\\\\n // Also, if we have no data yet, we can stand some more bytes.\\\\n // This is to work around cases where hwm=0, such as the repl.\\\\n\\\\n\\\\n return !state.ended && (state.length < state.highWaterMark || state.length === 0);\\\\n}\\\\n\\\\nfunction addChunk(stream, state, chunk, addToFront) {\\\\n if (state.flowing && state.length === 0 && !state.sync) {\\\\n state.awaitDrain = 0;\\\\n stream.emit('data', chunk);\\\\n } else {\\\\n // update the buffer info.\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);\\\\n if (state.needReadable) emitReadable(stream);\\\\n }\\\\n\\\\n maybeReadMore(stream, state);\\\\n}\\\\n\\\\nfunction chunkInvalid(state, chunk) {\\\\n var er;\\\\n\\\\n if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {\\\\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);\\\\n }\\\\n\\\\n return er;\\\\n}\\\\n\\\\nReadable.prototype.isPaused = function () {\\\\n return this._readableState.flowing === false;\\\\n}; // backwards compatibility.\\\\n\\\\n\\\\nReadable.prototype.setEncoding = function (enc) {\\\\n if (!StringDecoder) StringDecoder = __webpack_require__(/*! string_decoder/ */ \\\\\\\"./node_modules/string_decoder/lib/string_decoder.js\\\\\\\").StringDecoder;\\\\n var decoder = new StringDecoder(enc);\\\\n this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8\\\\n\\\\n this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers:\\\\n\\\\n var p = this._readableState.buffer.head;\\\\n var content = '';\\\\n\\\\n while (p !== null) {\\\\n content += decoder.write(p.data);\\\\n p = p.next;\\\\n }\\\\n\\\\n this._readableState.buffer.clear();\\\\n\\\\n if (content !== '') this._readableState.buffer.push(content);\\\\n this._readableState.length = content.length;\\\\n return this;\\\\n}; // Don't raise the hwm > 1GB\\\\n\\\\n\\\\nvar MAX_HWM = 0x40000000;\\\\n\\\\nfunction computeNewHighWaterMark(n) {\\\\n if (n >= MAX_HWM) {\\\\n // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.\\\\n n = MAX_HWM;\\\\n } else {\\\\n // Get the next highest power of 2 to prevent increasing hwm excessively in\\\\n // tiny amounts\\\\n n--;\\\\n n |= n >>> 1;\\\\n n |= n >>> 2;\\\\n n |= n >>> 4;\\\\n n |= n >>> 8;\\\\n n |= n >>> 16;\\\\n n++;\\\\n }\\\\n\\\\n return n;\\\\n} // This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\n\\\\n\\\\nfunction howMuchToRead(n, state) {\\\\n if (n <= 0 || state.length === 0 && state.ended) return 0;\\\\n if (state.objectMode) return 1;\\\\n\\\\n if (n !== n) {\\\\n // Only flow one buffer at a time\\\\n if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;\\\\n } // If we're asking for more than the current hwm, then raise the hwm.\\\\n\\\\n\\\\n if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);\\\\n if (n <= state.length) return n; // Don't have enough\\\\n\\\\n if (!state.ended) {\\\\n state.needReadable = true;\\\\n return 0;\\\\n }\\\\n\\\\n return state.length;\\\\n} // you can override either this method, or the async _read(n) below.\\\\n\\\\n\\\\nReadable.prototype.read = function (n) {\\\\n debug('read', n);\\\\n n = parseInt(n, 10);\\\\n var state = this._readableState;\\\\n var nOrig = n;\\\\n if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we\\\\n // already have a bunch of data in the buffer, then just trigger\\\\n // the 'readable' event and move on.\\\\n\\\\n if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {\\\\n debug('read: emitReadable', state.length, state.ended);\\\\n if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);\\\\n return null;\\\\n }\\\\n\\\\n n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up.\\\\n\\\\n if (n === 0 && state.ended) {\\\\n if (state.length === 0) endReadable(this);\\\\n return null;\\\\n } // All the actual chunk generation logic needs to be\\\\n // *below* the call to _read. The reason is that in certain\\\\n // synthetic stream cases, such as passthrough streams, _read\\\\n // may be a completely synchronous operation which may change\\\\n // the state of the read buffer, providing enough data when\\\\n // before there was *not* enough.\\\\n //\\\\n // So, the steps are:\\\\n // 1. Figure out what the state of things will be after we do\\\\n // a read from the buffer.\\\\n //\\\\n // 2. If that resulting state will trigger a _read, then call _read.\\\\n // Note that this may be asynchronous, or synchronous. Yes, it is\\\\n // deeply ugly to write APIs this way, but that still doesn't mean\\\\n // that the Readable class should behave improperly, as streams are\\\\n // designed to be sync/async agnostic.\\\\n // Take note if the _read call is sync or async (ie, if the read call\\\\n // has returned yet), so that we know whether or not it's safe to emit\\\\n // 'readable' etc.\\\\n //\\\\n // 3. Actually pull the requested chunks out of the buffer and return.\\\\n // if we need a readable event, then we need to do some reading.\\\\n\\\\n\\\\n var doRead = state.needReadable;\\\\n debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some\\\\n\\\\n if (state.length === 0 || state.length - n < state.highWaterMark) {\\\\n doRead = true;\\\\n debug('length less than watermark', doRead);\\\\n } // however, if we've ended, then there's no point, and if we're already\\\\n // reading, then it's unnecessary.\\\\n\\\\n\\\\n if (state.ended || state.reading) {\\\\n doRead = false;\\\\n debug('reading or ended', doRead);\\\\n } else if (doRead) {\\\\n debug('do read');\\\\n state.reading = true;\\\\n state.sync = true; // if the length is currently zero, then we *need* a readable event.\\\\n\\\\n if (state.length === 0) state.needReadable = true; // call internal read method\\\\n\\\\n this._read(state.highWaterMark);\\\\n\\\\n state.sync = false; // If _read pushed data synchronously, then `reading` will be false,\\\\n // and we need to re-evaluate how much data we can return to the user.\\\\n\\\\n if (!state.reading) n = howMuchToRead(nOrig, state);\\\\n }\\\\n\\\\n var ret;\\\\n if (n > 0) ret = fromList(n, state);else ret = null;\\\\n\\\\n if (ret === null) {\\\\n state.needReadable = state.length <= state.highWaterMark;\\\\n n = 0;\\\\n } else {\\\\n state.length -= n;\\\\n state.awaitDrain = 0;\\\\n }\\\\n\\\\n if (state.length === 0) {\\\\n // If we have nothing in the buffer, then we want to know\\\\n // as soon as we *do* get something into the buffer.\\\\n if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick.\\\\n\\\\n if (nOrig !== n && state.ended) endReadable(this);\\\\n }\\\\n\\\\n if (ret !== null) this.emit('data', ret);\\\\n return ret;\\\\n};\\\\n\\\\nfunction onEofChunk(stream, state) {\\\\n debug('onEofChunk');\\\\n if (state.ended) return;\\\\n\\\\n if (state.decoder) {\\\\n var chunk = state.decoder.end();\\\\n\\\\n if (chunk && chunk.length) {\\\\n state.buffer.push(chunk);\\\\n state.length += state.objectMode ? 1 : chunk.length;\\\\n }\\\\n }\\\\n\\\\n state.ended = true;\\\\n\\\\n if (state.sync) {\\\\n // if we are sync, wait until next tick to emit the data.\\\\n // Otherwise we risk emitting data in the flow()\\\\n // the readable code triggers during a read() call\\\\n emitReadable(stream);\\\\n } else {\\\\n // emit 'readable' now to make sure it gets picked up.\\\\n state.needReadable = false;\\\\n\\\\n if (!state.emittedReadable) {\\\\n state.emittedReadable = true;\\\\n emitReadable_(stream);\\\\n }\\\\n }\\\\n} // Don't emit readable right away in sync mode, because this can trigger\\\\n// another read() call => stack overflow. This way, it might trigger\\\\n// a nextTick recursion warning, but that's not so bad.\\\\n\\\\n\\\\nfunction emitReadable(stream) {\\\\n var state = stream._readableState;\\\\n debug('emitReadable', state.needReadable, state.emittedReadable);\\\\n state.needReadable = false;\\\\n\\\\n if (!state.emittedReadable) {\\\\n debug('emitReadable', state.flowing);\\\\n state.emittedReadable = true;\\\\n process.nextTick(emitReadable_, stream);\\\\n }\\\\n}\\\\n\\\\nfunction emitReadable_(stream) {\\\\n var state = stream._readableState;\\\\n debug('emitReadable_', state.destroyed, state.length, state.ended);\\\\n\\\\n if (!state.destroyed && (state.length || state.ended)) {\\\\n stream.emit('readable');\\\\n state.emittedReadable = false;\\\\n } // The stream needs another readable event if\\\\n // 1. It is not flowing, as the flow mechanism will take\\\\n // care of it.\\\\n // 2. It is not ended.\\\\n // 3. It is below the highWaterMark, so we can schedule\\\\n // another readable later.\\\\n\\\\n\\\\n state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;\\\\n flow(stream);\\\\n} // at this point, the user has presumably seen the 'readable' event,\\\\n// and called read() to consume some data. that may have triggered\\\\n// in turn another _read(n) call, in which case reading = true if\\\\n// it's in progress.\\\\n// However, if we're not ended, or reading, and the length < hwm,\\\\n// then go ahead and try to read some more preemptively.\\\\n\\\\n\\\\nfunction maybeReadMore(stream, state) {\\\\n if (!state.readingMore) {\\\\n state.readingMore = true;\\\\n process.nextTick(maybeReadMore_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction maybeReadMore_(stream, state) {\\\\n // Attempt to read more data if we should.\\\\n //\\\\n // The conditions for reading more data are (one of):\\\\n // - Not enough data buffered (state.length < state.highWaterMark). The loop\\\\n // is responsible for filling the buffer with enough data if such data\\\\n // is available. If highWaterMark is 0 and we are not in the flowing mode\\\\n // we should _not_ attempt to buffer any extra data. We'll get more data\\\\n // when the stream consumer calls read() instead.\\\\n // - No data in the buffer, and the stream is in flowing mode. In this mode\\\\n // the loop below is responsible for ensuring read() is called. Failing to\\\\n // call read here would abort the flow and there's no other mechanism for\\\\n // continuing the flow if the stream consumer has just subscribed to the\\\\n // 'data' event.\\\\n //\\\\n // In addition to the above conditions to keep reading data, the following\\\\n // conditions prevent the data from being read:\\\\n // - The stream has ended (state.ended).\\\\n // - There is already a pending 'read' operation (state.reading). This is a\\\\n // case where the the stream has called the implementation defined _read()\\\\n // method, but they are processing the call asynchronously and have _not_\\\\n // called push() with new data. In this case we skip performing more\\\\n // read()s. The execution ends in this method again after the _read() ends\\\\n // up calling push() with more data.\\\\n while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {\\\\n var len = state.length;\\\\n debug('maybeReadMore read 0');\\\\n stream.read(0);\\\\n if (len === state.length) // didn't get any data, stop spinning.\\\\n break;\\\\n }\\\\n\\\\n state.readingMore = false;\\\\n} // abstract method. to be overridden in specific implementation classes.\\\\n// call cb(er, data) where data is <= n in length.\\\\n// for virtual (non-string, non-buffer) streams, \\\\\\\"length\\\\\\\" is somewhat\\\\n// arbitrary, and perhaps not very meaningful.\\\\n\\\\n\\\\nReadable.prototype._read = function (n) {\\\\n errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()'));\\\\n};\\\\n\\\\nReadable.prototype.pipe = function (dest, pipeOpts) {\\\\n var src = this;\\\\n var state = this._readableState;\\\\n\\\\n switch (state.pipesCount) {\\\\n case 0:\\\\n state.pipes = dest;\\\\n break;\\\\n\\\\n case 1:\\\\n state.pipes = [state.pipes, dest];\\\\n break;\\\\n\\\\n default:\\\\n state.pipes.push(dest);\\\\n break;\\\\n }\\\\n\\\\n state.pipesCount += 1;\\\\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\\\\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\\\\n var endFn = doEnd ? onend : unpipe;\\\\n if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn);\\\\n dest.on('unpipe', onunpipe);\\\\n\\\\n function onunpipe(readable, unpipeInfo) {\\\\n debug('onunpipe');\\\\n\\\\n if (readable === src) {\\\\n if (unpipeInfo && unpipeInfo.hasUnpiped === false) {\\\\n unpipeInfo.hasUnpiped = true;\\\\n cleanup();\\\\n }\\\\n }\\\\n }\\\\n\\\\n function onend() {\\\\n debug('onend');\\\\n dest.end();\\\\n } // when the dest drains, it reduces the awaitDrain counter\\\\n // on the source. This would be more elegant with a .once()\\\\n // handler in flow(), but adding and removing repeatedly is\\\\n // too slow.\\\\n\\\\n\\\\n var ondrain = pipeOnDrain(src);\\\\n dest.on('drain', ondrain);\\\\n var cleanedUp = false;\\\\n\\\\n function cleanup() {\\\\n debug('cleanup'); // cleanup event handlers once the pipe is broken\\\\n\\\\n dest.removeListener('close', onclose);\\\\n dest.removeListener('finish', onfinish);\\\\n dest.removeListener('drain', ondrain);\\\\n dest.removeListener('error', onerror);\\\\n dest.removeListener('unpipe', onunpipe);\\\\n src.removeListener('end', onend);\\\\n src.removeListener('end', unpipe);\\\\n src.removeListener('data', ondata);\\\\n cleanedUp = true; // if the reader is waiting for a drain event from this\\\\n // specific writer, then it would cause it to never start\\\\n // flowing again.\\\\n // So, if this is awaiting a drain, then we just call it now.\\\\n // If we don't know, then assume that we are waiting for one.\\\\n\\\\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();\\\\n }\\\\n\\\\n src.on('data', ondata);\\\\n\\\\n function ondata(chunk) {\\\\n debug('ondata');\\\\n var ret = dest.write(chunk);\\\\n debug('dest.write', ret);\\\\n\\\\n if (ret === false) {\\\\n // If the user unpiped during `dest.write()`, it is possible\\\\n // to get stuck in a permanently paused state if that write\\\\n // also returned false.\\\\n // => Check whether `dest` is still a piping destination.\\\\n if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {\\\\n debug('false write response, pause', state.awaitDrain);\\\\n state.awaitDrain++;\\\\n }\\\\n\\\\n src.pause();\\\\n }\\\\n } // if the dest has an error, then stop piping into it.\\\\n // however, don't suppress the throwing behavior for this.\\\\n\\\\n\\\\n function onerror(er) {\\\\n debug('onerror', er);\\\\n unpipe();\\\\n dest.removeListener('error', onerror);\\\\n if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er);\\\\n } // Make sure our error handler is attached before userland ones.\\\\n\\\\n\\\\n prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once.\\\\n\\\\n function onclose() {\\\\n dest.removeListener('finish', onfinish);\\\\n unpipe();\\\\n }\\\\n\\\\n dest.once('close', onclose);\\\\n\\\\n function onfinish() {\\\\n debug('onfinish');\\\\n dest.removeListener('close', onclose);\\\\n unpipe();\\\\n }\\\\n\\\\n dest.once('finish', onfinish);\\\\n\\\\n function unpipe() {\\\\n debug('unpipe');\\\\n src.unpipe(dest);\\\\n } // tell the dest that it's being piped to\\\\n\\\\n\\\\n dest.emit('pipe', src); // start the flow if it hasn't been started already.\\\\n\\\\n if (!state.flowing) {\\\\n debug('pipe resume');\\\\n src.resume();\\\\n }\\\\n\\\\n return dest;\\\\n};\\\\n\\\\nfunction pipeOnDrain(src) {\\\\n return function pipeOnDrainFunctionResult() {\\\\n var state = src._readableState;\\\\n debug('pipeOnDrain', state.awaitDrain);\\\\n if (state.awaitDrain) state.awaitDrain--;\\\\n\\\\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\\\\n state.flowing = true;\\\\n flow(src);\\\\n }\\\\n };\\\\n}\\\\n\\\\nReadable.prototype.unpipe = function (dest) {\\\\n var state = this._readableState;\\\\n var unpipeInfo = {\\\\n hasUnpiped: false\\\\n }; // if we're not piping anywhere, then do nothing.\\\\n\\\\n if (state.pipesCount === 0) return this; // just one destination. most common case.\\\\n\\\\n if (state.pipesCount === 1) {\\\\n // passed in one, but it's not the right one.\\\\n if (dest && dest !== state.pipes) return this;\\\\n if (!dest) dest = state.pipes; // got a match.\\\\n\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n if (dest) dest.emit('unpipe', this, unpipeInfo);\\\\n return this;\\\\n } // slow case. multiple pipe destinations.\\\\n\\\\n\\\\n if (!dest) {\\\\n // remove all.\\\\n var dests = state.pipes;\\\\n var len = state.pipesCount;\\\\n state.pipes = null;\\\\n state.pipesCount = 0;\\\\n state.flowing = false;\\\\n\\\\n for (var i = 0; i < len; i++) {\\\\n dests[i].emit('unpipe', this, {\\\\n hasUnpiped: false\\\\n });\\\\n }\\\\n\\\\n return this;\\\\n } // try to find the right one.\\\\n\\\\n\\\\n var index = indexOf(state.pipes, dest);\\\\n if (index === -1) return this;\\\\n state.pipes.splice(index, 1);\\\\n state.pipesCount -= 1;\\\\n if (state.pipesCount === 1) state.pipes = state.pipes[0];\\\\n dest.emit('unpipe', this, unpipeInfo);\\\\n return this;\\\\n}; // set up data events if they are asked for\\\\n// Ensure readable listeners eventually get something\\\\n\\\\n\\\\nReadable.prototype.on = function (ev, fn) {\\\\n var res = Stream.prototype.on.call(this, ev, fn);\\\\n var state = this._readableState;\\\\n\\\\n if (ev === 'data') {\\\\n // update readableListening so that resume() may be a no-op\\\\n // a few lines down. This is needed to support once('readable').\\\\n state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused\\\\n\\\\n if (state.flowing !== false) this.resume();\\\\n } else if (ev === 'readable') {\\\\n if (!state.endEmitted && !state.readableListening) {\\\\n state.readableListening = state.needReadable = true;\\\\n state.flowing = false;\\\\n state.emittedReadable = false;\\\\n debug('on readable', state.length, state.reading);\\\\n\\\\n if (state.length) {\\\\n emitReadable(this);\\\\n } else if (!state.reading) {\\\\n process.nextTick(nReadingNextTick, this);\\\\n }\\\\n }\\\\n }\\\\n\\\\n return res;\\\\n};\\\\n\\\\nReadable.prototype.addListener = Readable.prototype.on;\\\\n\\\\nReadable.prototype.removeListener = function (ev, fn) {\\\\n var res = Stream.prototype.removeListener.call(this, ev, fn);\\\\n\\\\n if (ev === 'readable') {\\\\n // We need to check if there is someone still listening to\\\\n // readable and reset the state. However this needs to happen\\\\n // after readable has been emitted but before I/O (nextTick) to\\\\n // support once('readable', fn) cycles. This means that calling\\\\n // resume within the same tick will have no\\\\n // effect.\\\\n process.nextTick(updateReadableListening, this);\\\\n }\\\\n\\\\n return res;\\\\n};\\\\n\\\\nReadable.prototype.removeAllListeners = function (ev) {\\\\n var res = Stream.prototype.removeAllListeners.apply(this, arguments);\\\\n\\\\n if (ev === 'readable' || ev === undefined) {\\\\n // We need to check if there is someone still listening to\\\\n // readable and reset the state. However this needs to happen\\\\n // after readable has been emitted but before I/O (nextTick) to\\\\n // support once('readable', fn) cycles. This means that calling\\\\n // resume within the same tick will have no\\\\n // effect.\\\\n process.nextTick(updateReadableListening, this);\\\\n }\\\\n\\\\n return res;\\\\n};\\\\n\\\\nfunction updateReadableListening(self) {\\\\n var state = self._readableState;\\\\n state.readableListening = self.listenerCount('readable') > 0;\\\\n\\\\n if (state.resumeScheduled && !state.paused) {\\\\n // flowing needs to be set to true now, otherwise\\\\n // the upcoming resume will not flow.\\\\n state.flowing = true; // crude way to check if we should resume\\\\n } else if (self.listenerCount('data') > 0) {\\\\n self.resume();\\\\n }\\\\n}\\\\n\\\\nfunction nReadingNextTick(self) {\\\\n debug('readable nexttick read 0');\\\\n self.read(0);\\\\n} // pause() and resume() are remnants of the legacy readable stream API\\\\n// If the user uses them, then switch into old mode.\\\\n\\\\n\\\\nReadable.prototype.resume = function () {\\\\n var state = this._readableState;\\\\n\\\\n if (!state.flowing) {\\\\n debug('resume'); // we flow only if there is no one listening\\\\n // for readable, but we still have to call\\\\n // resume()\\\\n\\\\n state.flowing = !state.readableListening;\\\\n resume(this, state);\\\\n }\\\\n\\\\n state.paused = false;\\\\n return this;\\\\n};\\\\n\\\\nfunction resume(stream, state) {\\\\n if (!state.resumeScheduled) {\\\\n state.resumeScheduled = true;\\\\n process.nextTick(resume_, stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction resume_(stream, state) {\\\\n debug('resume', state.reading);\\\\n\\\\n if (!state.reading) {\\\\n stream.read(0);\\\\n }\\\\n\\\\n state.resumeScheduled = false;\\\\n stream.emit('resume');\\\\n flow(stream);\\\\n if (state.flowing && !state.reading) stream.read(0);\\\\n}\\\\n\\\\nReadable.prototype.pause = function () {\\\\n debug('call pause flowing=%j', this._readableState.flowing);\\\\n\\\\n if (this._readableState.flowing !== false) {\\\\n debug('pause');\\\\n this._readableState.flowing = false;\\\\n this.emit('pause');\\\\n }\\\\n\\\\n this._readableState.paused = true;\\\\n return this;\\\\n};\\\\n\\\\nfunction flow(stream) {\\\\n var state = stream._readableState;\\\\n debug('flow', state.flowing);\\\\n\\\\n while (state.flowing && stream.read() !== null) {\\\\n ;\\\\n }\\\\n} // wrap an old-style stream as the async data source.\\\\n// This is *not* part of the readable stream interface.\\\\n// It is an ugly unfortunate mess of history.\\\\n\\\\n\\\\nReadable.prototype.wrap = function (stream) {\\\\n var _this = this;\\\\n\\\\n var state = this._readableState;\\\\n var paused = false;\\\\n stream.on('end', function () {\\\\n debug('wrapped end');\\\\n\\\\n if (state.decoder && !state.ended) {\\\\n var chunk = state.decoder.end();\\\\n if (chunk && chunk.length) _this.push(chunk);\\\\n }\\\\n\\\\n _this.push(null);\\\\n });\\\\n stream.on('data', function (chunk) {\\\\n debug('wrapped data');\\\\n if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode\\\\n\\\\n if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;\\\\n\\\\n var ret = _this.push(chunk);\\\\n\\\\n if (!ret) {\\\\n paused = true;\\\\n stream.pause();\\\\n }\\\\n }); // proxy all the other methods.\\\\n // important when wrapping filters and duplexes.\\\\n\\\\n for (var i in stream) {\\\\n if (this[i] === undefined && typeof stream[i] === 'function') {\\\\n this[i] = function methodWrap(method) {\\\\n return function methodWrapReturnFunction() {\\\\n return stream[method].apply(stream, arguments);\\\\n };\\\\n }(i);\\\\n }\\\\n } // proxy certain important events.\\\\n\\\\n\\\\n for (var n = 0; n < kProxyEvents.length; n++) {\\\\n stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));\\\\n } // when we try to consume some more bytes, simply unpause the\\\\n // underlying stream.\\\\n\\\\n\\\\n this._read = function (n) {\\\\n debug('wrapped _read', n);\\\\n\\\\n if (paused) {\\\\n paused = false;\\\\n stream.resume();\\\\n }\\\\n };\\\\n\\\\n return this;\\\\n};\\\\n\\\\nif (typeof Symbol === 'function') {\\\\n Readable.prototype[Symbol.asyncIterator] = function () {\\\\n if (createReadableStreamAsyncIterator === undefined) {\\\\n createReadableStreamAsyncIterator = __webpack_require__(/*! ./internal/streams/async_iterator */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/async_iterator.js\\\\\\\");\\\\n }\\\\n\\\\n return createReadableStreamAsyncIterator(this);\\\\n };\\\\n}\\\\n\\\\nObject.defineProperty(Readable.prototype, 'readableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState.highWaterMark;\\\\n }\\\\n});\\\\nObject.defineProperty(Readable.prototype, 'readableBuffer', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState && this._readableState.buffer;\\\\n }\\\\n});\\\\nObject.defineProperty(Readable.prototype, 'readableFlowing', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState.flowing;\\\\n },\\\\n set: function set(state) {\\\\n if (this._readableState) {\\\\n this._readableState.flowing = state;\\\\n }\\\\n }\\\\n}); // exposed for testing purposes only.\\\\n\\\\nReadable._fromList = fromList;\\\\nObject.defineProperty(Readable.prototype, 'readableLength', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._readableState.length;\\\\n }\\\\n}); // Pluck off n bytes from an array of buffers.\\\\n// Length is the combined lengths of all the buffers in the list.\\\\n// This function is designed to be inlinable, so please take care when making\\\\n// changes to the function body.\\\\n\\\\nfunction fromList(n, state) {\\\\n // nothing buffered\\\\n if (state.length === 0) return null;\\\\n var ret;\\\\n if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {\\\\n // read it all, truncate the list\\\\n if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length);\\\\n state.buffer.clear();\\\\n } else {\\\\n // read part of list\\\\n ret = state.buffer.consume(n, state.decoder);\\\\n }\\\\n return ret;\\\\n}\\\\n\\\\nfunction endReadable(stream) {\\\\n var state = stream._readableState;\\\\n debug('endReadable', state.endEmitted);\\\\n\\\\n if (!state.endEmitted) {\\\\n state.ended = true;\\\\n process.nextTick(endReadableNT, state, stream);\\\\n }\\\\n}\\\\n\\\\nfunction endReadableNT(state, stream) {\\\\n debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift.\\\\n\\\\n if (!state.endEmitted && state.length === 0) {\\\\n state.endEmitted = true;\\\\n stream.readable = false;\\\\n stream.emit('end');\\\\n\\\\n if (state.autoDestroy) {\\\\n // In case of duplex streams we need a way to detect\\\\n // if the writable side is ready for autoDestroy as well\\\\n var wState = stream._writableState;\\\\n\\\\n if (!wState || wState.autoDestroy && wState.finished) {\\\\n stream.destroy();\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\nif (typeof Symbol === 'function') {\\\\n Readable.from = function (iterable, opts) {\\\\n if (from === undefined) {\\\\n from = __webpack_require__(/*! ./internal/streams/from */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/from.js\\\\\\\");\\\\n }\\\\n\\\\n return from(Readable, iterable, opts);\\\\n };\\\\n}\\\\n\\\\nfunction indexOf(xs, x) {\\\\n for (var i = 0, l = xs.length; i < l; i++) {\\\\n if (xs[i] === x) return i;\\\\n }\\\\n\\\\n return -1;\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_readable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_transform.js\\\":\\n/*!***************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_transform.js ***!\\n \\\\***************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// a transform stream is a readable/writable stream where you do\\\\n// something with the data. Sometimes it's called a \\\\\\\"filter\\\\\\\",\\\\n// but that's not a great name for it, since that implies a thing where\\\\n// some bits pass through, and others are simply ignored. (That would\\\\n// be a valid example of a transform, of course.)\\\\n//\\\\n// While the output is causally related to the input, it's not a\\\\n// necessarily symmetric or synchronous transformation. For example,\\\\n// a zlib stream might take multiple plain-text writes(), and then\\\\n// emit a single compressed chunk some time in the future.\\\\n//\\\\n// Here's how this works:\\\\n//\\\\n// The Transform stream has all the aspects of the readable and writable\\\\n// stream classes. When you write(chunk), that calls _write(chunk,cb)\\\\n// internally, and returns false if there's a lot of pending writes\\\\n// buffered up. When you call read(), that calls _read(n) until\\\\n// there's enough pending readable data buffered up.\\\\n//\\\\n// In a transform stream, the written data is placed in a buffer. When\\\\n// _read(n) is called, it transforms the queued up data, calling the\\\\n// buffered _write cb's as it consumes chunks. If consuming a single\\\\n// written chunk would result in multiple output chunks, then the first\\\\n// outputted bit calls the readcb, and subsequent chunks just go into\\\\n// the read buffer, and will cause it to emit 'readable' if necessary.\\\\n//\\\\n// This way, back-pressure is actually determined by the reading side,\\\\n// since _read has to be called to start processing a new chunk. However,\\\\n// a pathological inflate type of transform can cause excessive buffering\\\\n// here. For example, imagine a stream where every byte of input is\\\\n// interpreted as an integer from 0-255, and then results in that many\\\\n// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in\\\\n// 1kb of data being output. In this case, you could write a very small\\\\n// amount of input, and end up with a very large amount of output. In\\\\n// such a pathological inflating mechanism, there'd be no way to tell\\\\n// the system to stop doing the transform. A single 4MB write could\\\\n// cause the system to run out of memory.\\\\n//\\\\n// However, even in such a pathological case, only a single written chunk\\\\n// would be consumed, and then the rest would wait (un-transformed) until\\\\n// the results of the previous transformed chunk were consumed.\\\\n\\\\n\\\\nmodule.exports = Transform;\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../errors */ \\\\\\\"./node_modules/readable-stream/errors.js\\\\\\\").codes,\\\\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\\\\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\\\\n ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,\\\\n ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;\\\\n\\\\nvar Duplex = __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\")(Transform, Duplex);\\\\n\\\\nfunction afterTransform(er, data) {\\\\n var ts = this._transformState;\\\\n ts.transforming = false;\\\\n var cb = ts.writecb;\\\\n\\\\n if (cb === null) {\\\\n return this.emit('error', new ERR_MULTIPLE_CALLBACK());\\\\n }\\\\n\\\\n ts.writechunk = null;\\\\n ts.writecb = null;\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n this.push(data);\\\\n cb(er);\\\\n var rs = this._readableState;\\\\n rs.reading = false;\\\\n\\\\n if (rs.needReadable || rs.length < rs.highWaterMark) {\\\\n this._read(rs.highWaterMark);\\\\n }\\\\n}\\\\n\\\\nfunction Transform(options) {\\\\n if (!(this instanceof Transform)) return new Transform(options);\\\\n Duplex.call(this, options);\\\\n this._transformState = {\\\\n afterTransform: afterTransform.bind(this),\\\\n needTransform: false,\\\\n transforming: false,\\\\n writecb: null,\\\\n writechunk: null,\\\\n writeencoding: null\\\\n }; // start out asking for a readable event once data is transformed.\\\\n\\\\n this._readableState.needReadable = true; // we have implemented the _read method, and done the other things\\\\n // that Readable wants before the first _read call, so unset the\\\\n // sync guard flag.\\\\n\\\\n this._readableState.sync = false;\\\\n\\\\n if (options) {\\\\n if (typeof options.transform === 'function') this._transform = options.transform;\\\\n if (typeof options.flush === 'function') this._flush = options.flush;\\\\n } // When the writable side finishes, then flush out anything remaining.\\\\n\\\\n\\\\n this.on('prefinish', prefinish);\\\\n}\\\\n\\\\nfunction prefinish() {\\\\n var _this = this;\\\\n\\\\n if (typeof this._flush === 'function' && !this._readableState.destroyed) {\\\\n this._flush(function (er, data) {\\\\n done(_this, er, data);\\\\n });\\\\n } else {\\\\n done(this, null, null);\\\\n }\\\\n}\\\\n\\\\nTransform.prototype.push = function (chunk, encoding) {\\\\n this._transformState.needTransform = false;\\\\n return Duplex.prototype.push.call(this, chunk, encoding);\\\\n}; // This is the part where you do stuff!\\\\n// override this function in implementation classes.\\\\n// 'chunk' is an input chunk.\\\\n//\\\\n// Call `push(newChunk)` to pass along transformed output\\\\n// to the readable side. You may call 'push' zero or more times.\\\\n//\\\\n// Call `cb(err)` when you are done with this chunk. If you pass\\\\n// an error, then that'll put the hurt on the whole operation. If you\\\\n// never call cb(), then you'll never get another chunk.\\\\n\\\\n\\\\nTransform.prototype._transform = function (chunk, encoding, cb) {\\\\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));\\\\n};\\\\n\\\\nTransform.prototype._write = function (chunk, encoding, cb) {\\\\n var ts = this._transformState;\\\\n ts.writecb = cb;\\\\n ts.writechunk = chunk;\\\\n ts.writeencoding = encoding;\\\\n\\\\n if (!ts.transforming) {\\\\n var rs = this._readableState;\\\\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);\\\\n }\\\\n}; // Doesn't matter what the args are here.\\\\n// _transform does all the work.\\\\n// That we got here means that the readable side wants more data.\\\\n\\\\n\\\\nTransform.prototype._read = function (n) {\\\\n var ts = this._transformState;\\\\n\\\\n if (ts.writechunk !== null && !ts.transforming) {\\\\n ts.transforming = true;\\\\n\\\\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\\\\n } else {\\\\n // mark that we need a transform, so that any data that comes in\\\\n // will get processed, now that we've asked for it.\\\\n ts.needTransform = true;\\\\n }\\\\n};\\\\n\\\\nTransform.prototype._destroy = function (err, cb) {\\\\n Duplex.prototype._destroy.call(this, err, function (err2) {\\\\n cb(err2);\\\\n });\\\\n};\\\\n\\\\nfunction done(stream, er, data) {\\\\n if (er) return stream.emit('error', er);\\\\n if (data != null) // single equals check for both `null` and `undefined`\\\\n stream.push(data); // TODO(BridgeAR): Write a test for these two error cases\\\\n // if there's nothing in the write buffer, then that means\\\\n // that nothing more will ever be provided\\\\n\\\\n if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();\\\\n if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();\\\\n return stream.push(null);\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_transform.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/_stream_writable.js\\\":\\n/*!**************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/_stream_writable.js ***!\\n \\\\**************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n// A bit simpler than readable streams.\\\\n// Implement an async ._write(chunk, encoding, cb), and it'll handle all\\\\n// the drain event emission and buffering.\\\\n\\\\n\\\\nmodule.exports = Writable;\\\\n/* */\\\\n\\\\nfunction WriteReq(chunk, encoding, cb) {\\\\n this.chunk = chunk;\\\\n this.encoding = encoding;\\\\n this.callback = cb;\\\\n this.next = null;\\\\n} // It seems a linked list but it is not\\\\n// there will be only 2 of these for each stream\\\\n\\\\n\\\\nfunction CorkedRequest(state) {\\\\n var _this = this;\\\\n\\\\n this.next = null;\\\\n this.entry = null;\\\\n\\\\n this.finish = function () {\\\\n onCorkedFinish(_this, state);\\\\n };\\\\n}\\\\n/* */\\\\n\\\\n/**/\\\\n\\\\n\\\\nvar Duplex;\\\\n/**/\\\\n\\\\nWritable.WritableState = WritableState;\\\\n/**/\\\\n\\\\nvar internalUtil = {\\\\n deprecate: __webpack_require__(/*! util-deprecate */ \\\\\\\"./node_modules/util-deprecate/node.js\\\\\\\")\\\\n};\\\\n/**/\\\\n\\\\n/**/\\\\n\\\\nvar Stream = __webpack_require__(/*! ./internal/streams/stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/stream.js\\\\\\\");\\\\n/**/\\\\n\\\\n\\\\nvar Buffer = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\").Buffer;\\\\n\\\\nvar OurUint8Array = global.Uint8Array || function () {};\\\\n\\\\nfunction _uint8ArrayToBuffer(chunk) {\\\\n return Buffer.from(chunk);\\\\n}\\\\n\\\\nfunction _isUint8Array(obj) {\\\\n return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;\\\\n}\\\\n\\\\nvar destroyImpl = __webpack_require__(/*! ./internal/streams/destroy */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\\\\\");\\\\n\\\\nvar _require = __webpack_require__(/*! ./internal/streams/state */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/state.js\\\\\\\"),\\\\n getHighWaterMark = _require.getHighWaterMark;\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../errors */ \\\\\\\"./node_modules/readable-stream/errors.js\\\\\\\").codes,\\\\n ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\\\\n ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,\\\\n ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,\\\\n ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,\\\\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,\\\\n ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,\\\\n ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,\\\\n ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;\\\\n\\\\nvar errorOrDestroy = destroyImpl.errorOrDestroy;\\\\n\\\\n__webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\")(Writable, Stream);\\\\n\\\\nfunction nop() {}\\\\n\\\\nfunction WritableState(options, stream, isDuplex) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n options = options || {}; // Duplex streams are both readable and writable, but share\\\\n // the same options object.\\\\n // However, some cases require setting options to different\\\\n // values for the readable and the writable sides of the duplex stream,\\\\n // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.\\\\n\\\\n if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream\\\\n // contains buffers or objects.\\\\n\\\\n this.objectMode = !!options.objectMode;\\\\n if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false\\\\n // Note: 0 is a valid value, means that we always return false if\\\\n // the entire buffer is not flushed immediately on write()\\\\n\\\\n this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called\\\\n\\\\n this.finalCalled = false; // drain event flag.\\\\n\\\\n this.needDrain = false; // at the start of calling end()\\\\n\\\\n this.ending = false; // when end() has been called, and returned\\\\n\\\\n this.ended = false; // when 'finish' is emitted\\\\n\\\\n this.finished = false; // has it been destroyed\\\\n\\\\n this.destroyed = false; // should we decode strings into buffers before passing to _write?\\\\n // this is here so that some node-core streams can optimize string\\\\n // handling at a lower level.\\\\n\\\\n var noDecode = options.decodeStrings === false;\\\\n this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string\\\\n // encoding is 'binary' so we have to make this configurable.\\\\n // Everything else in the universe uses 'utf8', though.\\\\n\\\\n this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement\\\\n // of how much we're waiting to get pushed to some underlying\\\\n // socket or file.\\\\n\\\\n this.length = 0; // a flag to see when we're in the middle of a write.\\\\n\\\\n this.writing = false; // when true all writes will be buffered until .uncork() call\\\\n\\\\n this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately,\\\\n // or on a later tick. We set this to true at first, because any\\\\n // actions that shouldn't happen until \\\\\\\"later\\\\\\\" should generally also\\\\n // not happen before the first write call.\\\\n\\\\n this.sync = true; // a flag to know if we're processing previously buffered items, which\\\\n // may call the _write() callback in the same tick, so that we don't\\\\n // end up in an overlapped onwrite situation.\\\\n\\\\n this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb)\\\\n\\\\n this.onwrite = function (er) {\\\\n onwrite(stream, er);\\\\n }; // the callback that the user supplies to write(chunk,encoding,cb)\\\\n\\\\n\\\\n this.writecb = null; // the amount that is being written when _write is called.\\\\n\\\\n this.writelen = 0;\\\\n this.bufferedRequest = null;\\\\n this.lastBufferedRequest = null; // number of pending user-supplied write callbacks\\\\n // this must be 0 before 'finish' can be emitted\\\\n\\\\n this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs\\\\n // This is relevant for synchronous Transform streams\\\\n\\\\n this.prefinished = false; // True if the error was already emitted and should not be thrown again\\\\n\\\\n this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true.\\\\n\\\\n this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end')\\\\n\\\\n this.autoDestroy = !!options.autoDestroy; // count buffered requests\\\\n\\\\n this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always\\\\n // one allocated and free to use, and we maintain at most two\\\\n\\\\n this.corkedRequestsFree = new CorkedRequest(this);\\\\n}\\\\n\\\\nWritableState.prototype.getBuffer = function getBuffer() {\\\\n var current = this.bufferedRequest;\\\\n var out = [];\\\\n\\\\n while (current) {\\\\n out.push(current);\\\\n current = current.next;\\\\n }\\\\n\\\\n return out;\\\\n};\\\\n\\\\n(function () {\\\\n try {\\\\n Object.defineProperty(WritableState.prototype, 'buffer', {\\\\n get: internalUtil.deprecate(function writableStateBufferGetter() {\\\\n return this.getBuffer();\\\\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')\\\\n });\\\\n } catch (_) {}\\\\n})(); // Test _writableState for inheritance to account for Duplex streams,\\\\n// whose prototype chain only points to Readable.\\\\n\\\\n\\\\nvar realHasInstance;\\\\n\\\\nif (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {\\\\n realHasInstance = Function.prototype[Symbol.hasInstance];\\\\n Object.defineProperty(Writable, Symbol.hasInstance, {\\\\n value: function value(object) {\\\\n if (realHasInstance.call(this, object)) return true;\\\\n if (this !== Writable) return false;\\\\n return object && object._writableState instanceof WritableState;\\\\n }\\\\n });\\\\n} else {\\\\n realHasInstance = function realHasInstance(object) {\\\\n return object instanceof this;\\\\n };\\\\n}\\\\n\\\\nfunction Writable(options) {\\\\n Duplex = Duplex || __webpack_require__(/*! ./_stream_duplex */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\"); // Writable ctor is applied to Duplexes, too.\\\\n // `realHasInstance` is necessary because using plain `instanceof`\\\\n // would return false, as no `_writableState` property is attached.\\\\n // Trying to use the custom `instanceof` for Writable here will also break the\\\\n // Node.js LazyTransform implementation, which has a non-trivial getter for\\\\n // `_writableState` that would lead to infinite recursion.\\\\n // Checking for a Stream.Duplex instance is faster here instead of inside\\\\n // the WritableState constructor, at least with V8 6.5\\\\n\\\\n var isDuplex = this instanceof Duplex;\\\\n if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);\\\\n this._writableState = new WritableState(options, this, isDuplex); // legacy.\\\\n\\\\n this.writable = true;\\\\n\\\\n if (options) {\\\\n if (typeof options.write === 'function') this._write = options.write;\\\\n if (typeof options.writev === 'function') this._writev = options.writev;\\\\n if (typeof options.destroy === 'function') this._destroy = options.destroy;\\\\n if (typeof options.final === 'function') this._final = options.final;\\\\n }\\\\n\\\\n Stream.call(this);\\\\n} // Otherwise people can pipe Writable streams, which is just wrong.\\\\n\\\\n\\\\nWritable.prototype.pipe = function () {\\\\n errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());\\\\n};\\\\n\\\\nfunction writeAfterEnd(stream, cb) {\\\\n var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb\\\\n\\\\n errorOrDestroy(stream, er);\\\\n process.nextTick(cb, er);\\\\n} // Checks that a user-supplied chunk is valid, especially for the particular\\\\n// mode the stream is in. Currently this means that `null` is never accepted\\\\n// and undefined/non-string values are only allowed in object mode.\\\\n\\\\n\\\\nfunction validChunk(stream, state, chunk, cb) {\\\\n var er;\\\\n\\\\n if (chunk === null) {\\\\n er = new ERR_STREAM_NULL_VALUES();\\\\n } else if (typeof chunk !== 'string' && !state.objectMode) {\\\\n er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);\\\\n }\\\\n\\\\n if (er) {\\\\n errorOrDestroy(stream, er);\\\\n process.nextTick(cb, er);\\\\n return false;\\\\n }\\\\n\\\\n return true;\\\\n}\\\\n\\\\nWritable.prototype.write = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n var ret = false;\\\\n\\\\n var isBuf = !state.objectMode && _isUint8Array(chunk);\\\\n\\\\n if (isBuf && !Buffer.isBuffer(chunk)) {\\\\n chunk = _uint8ArrayToBuffer(chunk);\\\\n }\\\\n\\\\n if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;\\\\n if (typeof cb !== 'function') cb = nop;\\\\n if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {\\\\n state.pendingcb++;\\\\n ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);\\\\n }\\\\n return ret;\\\\n};\\\\n\\\\nWritable.prototype.cork = function () {\\\\n this._writableState.corked++;\\\\n};\\\\n\\\\nWritable.prototype.uncork = function () {\\\\n var state = this._writableState;\\\\n\\\\n if (state.corked) {\\\\n state.corked--;\\\\n if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);\\\\n }\\\\n};\\\\n\\\\nWritable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\\\\n // node::ParseEncoding() requires lower case.\\\\n if (typeof encoding === 'string') encoding = encoding.toLowerCase();\\\\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding);\\\\n this._writableState.defaultEncoding = encoding;\\\\n return this;\\\\n};\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableBuffer', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState && this._writableState.getBuffer();\\\\n }\\\\n});\\\\n\\\\nfunction decodeChunk(state, chunk, encoding) {\\\\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\\\\n chunk = Buffer.from(chunk, encoding);\\\\n }\\\\n\\\\n return chunk;\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableHighWaterMark', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.highWaterMark;\\\\n }\\\\n}); // if we're already writing something, then just put this\\\\n// in the queue, and wait our turn. Otherwise, call _write\\\\n// If we return false, then we need a drain event, so set that flag.\\\\n\\\\nfunction writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {\\\\n if (!isBuf) {\\\\n var newChunk = decodeChunk(state, chunk, encoding);\\\\n\\\\n if (chunk !== newChunk) {\\\\n isBuf = true;\\\\n encoding = 'buffer';\\\\n chunk = newChunk;\\\\n }\\\\n }\\\\n\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n state.length += len;\\\\n var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false.\\\\n\\\\n if (!ret) state.needDrain = true;\\\\n\\\\n if (state.writing || state.corked) {\\\\n var last = state.lastBufferedRequest;\\\\n state.lastBufferedRequest = {\\\\n chunk: chunk,\\\\n encoding: encoding,\\\\n isBuf: isBuf,\\\\n callback: cb,\\\\n next: null\\\\n };\\\\n\\\\n if (last) {\\\\n last.next = state.lastBufferedRequest;\\\\n } else {\\\\n state.bufferedRequest = state.lastBufferedRequest;\\\\n }\\\\n\\\\n state.bufferedRequestCount += 1;\\\\n } else {\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n }\\\\n\\\\n return ret;\\\\n}\\\\n\\\\nfunction doWrite(stream, state, writev, len, chunk, encoding, cb) {\\\\n state.writelen = len;\\\\n state.writecb = cb;\\\\n state.writing = true;\\\\n state.sync = true;\\\\n if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);\\\\n state.sync = false;\\\\n}\\\\n\\\\nfunction onwriteError(stream, state, sync, er, cb) {\\\\n --state.pendingcb;\\\\n\\\\n if (sync) {\\\\n // defer the callback if we are being called synchronously\\\\n // to avoid piling up things on the stack\\\\n process.nextTick(cb, er); // this can emit finish, and it will always happen\\\\n // after error\\\\n\\\\n process.nextTick(finishMaybe, stream, state);\\\\n stream._writableState.errorEmitted = true;\\\\n errorOrDestroy(stream, er);\\\\n } else {\\\\n // the caller expect this to happen before if\\\\n // it is async\\\\n cb(er);\\\\n stream._writableState.errorEmitted = true;\\\\n errorOrDestroy(stream, er); // this can emit finish, but finish must\\\\n // always follow error\\\\n\\\\n finishMaybe(stream, state);\\\\n }\\\\n}\\\\n\\\\nfunction onwriteStateUpdate(state) {\\\\n state.writing = false;\\\\n state.writecb = null;\\\\n state.length -= state.writelen;\\\\n state.writelen = 0;\\\\n}\\\\n\\\\nfunction onwrite(stream, er) {\\\\n var state = stream._writableState;\\\\n var sync = state.sync;\\\\n var cb = state.writecb;\\\\n if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK();\\\\n onwriteStateUpdate(state);\\\\n if (er) onwriteError(stream, state, sync, er, cb);else {\\\\n // Check if we're actually ready to finish, but don't emit yet\\\\n var finished = needFinish(state) || stream.destroyed;\\\\n\\\\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\\\\n clearBuffer(stream, state);\\\\n }\\\\n\\\\n if (sync) {\\\\n process.nextTick(afterWrite, stream, state, finished, cb);\\\\n } else {\\\\n afterWrite(stream, state, finished, cb);\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction afterWrite(stream, state, finished, cb) {\\\\n if (!finished) onwriteDrain(stream, state);\\\\n state.pendingcb--;\\\\n cb();\\\\n finishMaybe(stream, state);\\\\n} // Must force callback to be called on nextTick, so that we don't\\\\n// emit 'drain' before the write() consumer gets the 'false' return\\\\n// value, and has a chance to attach a 'drain' listener.\\\\n\\\\n\\\\nfunction onwriteDrain(stream, state) {\\\\n if (state.length === 0 && state.needDrain) {\\\\n state.needDrain = false;\\\\n stream.emit('drain');\\\\n }\\\\n} // if there's something in the buffer waiting, then process it\\\\n\\\\n\\\\nfunction clearBuffer(stream, state) {\\\\n state.bufferProcessing = true;\\\\n var entry = state.bufferedRequest;\\\\n\\\\n if (stream._writev && entry && entry.next) {\\\\n // Fast case, write everything using _writev()\\\\n var l = state.bufferedRequestCount;\\\\n var buffer = new Array(l);\\\\n var holder = state.corkedRequestsFree;\\\\n holder.entry = entry;\\\\n var count = 0;\\\\n var allBuffers = true;\\\\n\\\\n while (entry) {\\\\n buffer[count] = entry;\\\\n if (!entry.isBuf) allBuffers = false;\\\\n entry = entry.next;\\\\n count += 1;\\\\n }\\\\n\\\\n buffer.allBuffers = allBuffers;\\\\n doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time\\\\n // as the hot path ends with doWrite\\\\n\\\\n state.pendingcb++;\\\\n state.lastBufferedRequest = null;\\\\n\\\\n if (holder.next) {\\\\n state.corkedRequestsFree = holder.next;\\\\n holder.next = null;\\\\n } else {\\\\n state.corkedRequestsFree = new CorkedRequest(state);\\\\n }\\\\n\\\\n state.bufferedRequestCount = 0;\\\\n } else {\\\\n // Slow case, write chunks one-by-one\\\\n while (entry) {\\\\n var chunk = entry.chunk;\\\\n var encoding = entry.encoding;\\\\n var cb = entry.callback;\\\\n var len = state.objectMode ? 1 : chunk.length;\\\\n doWrite(stream, state, false, len, chunk, encoding, cb);\\\\n entry = entry.next;\\\\n state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then\\\\n // it means that we need to wait until it does.\\\\n // also, that means that the chunk and cb are currently\\\\n // being processed, so move the buffer counter past them.\\\\n\\\\n if (state.writing) {\\\\n break;\\\\n }\\\\n }\\\\n\\\\n if (entry === null) state.lastBufferedRequest = null;\\\\n }\\\\n\\\\n state.bufferedRequest = entry;\\\\n state.bufferProcessing = false;\\\\n}\\\\n\\\\nWritable.prototype._write = function (chunk, encoding, cb) {\\\\n cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()'));\\\\n};\\\\n\\\\nWritable.prototype._writev = null;\\\\n\\\\nWritable.prototype.end = function (chunk, encoding, cb) {\\\\n var state = this._writableState;\\\\n\\\\n if (typeof chunk === 'function') {\\\\n cb = chunk;\\\\n chunk = null;\\\\n encoding = null;\\\\n } else if (typeof encoding === 'function') {\\\\n cb = encoding;\\\\n encoding = null;\\\\n }\\\\n\\\\n if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks\\\\n\\\\n if (state.corked) {\\\\n state.corked = 1;\\\\n this.uncork();\\\\n } // ignore unnecessary end() calls.\\\\n\\\\n\\\\n if (!state.ending) endWritable(this, state, cb);\\\\n return this;\\\\n};\\\\n\\\\nObject.defineProperty(Writable.prototype, 'writableLength', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n return this._writableState.length;\\\\n }\\\\n});\\\\n\\\\nfunction needFinish(state) {\\\\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\\\\n}\\\\n\\\\nfunction callFinal(stream, state) {\\\\n stream._final(function (err) {\\\\n state.pendingcb--;\\\\n\\\\n if (err) {\\\\n errorOrDestroy(stream, err);\\\\n }\\\\n\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n finishMaybe(stream, state);\\\\n });\\\\n}\\\\n\\\\nfunction prefinish(stream, state) {\\\\n if (!state.prefinished && !state.finalCalled) {\\\\n if (typeof stream._final === 'function' && !state.destroyed) {\\\\n state.pendingcb++;\\\\n state.finalCalled = true;\\\\n process.nextTick(callFinal, stream, state);\\\\n } else {\\\\n state.prefinished = true;\\\\n stream.emit('prefinish');\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction finishMaybe(stream, state) {\\\\n var need = needFinish(state);\\\\n\\\\n if (need) {\\\\n prefinish(stream, state);\\\\n\\\\n if (state.pendingcb === 0) {\\\\n state.finished = true;\\\\n stream.emit('finish');\\\\n\\\\n if (state.autoDestroy) {\\\\n // In case of duplex streams we need a way to detect\\\\n // if the readable side is ready for autoDestroy as well\\\\n var rState = stream._readableState;\\\\n\\\\n if (!rState || rState.autoDestroy && rState.endEmitted) {\\\\n stream.destroy();\\\\n }\\\\n }\\\\n }\\\\n }\\\\n\\\\n return need;\\\\n}\\\\n\\\\nfunction endWritable(stream, state, cb) {\\\\n state.ending = true;\\\\n finishMaybe(stream, state);\\\\n\\\\n if (cb) {\\\\n if (state.finished) process.nextTick(cb);else stream.once('finish', cb);\\\\n }\\\\n\\\\n state.ended = true;\\\\n stream.writable = false;\\\\n}\\\\n\\\\nfunction onCorkedFinish(corkReq, state, err) {\\\\n var entry = corkReq.entry;\\\\n corkReq.entry = null;\\\\n\\\\n while (entry) {\\\\n var cb = entry.callback;\\\\n state.pendingcb--;\\\\n cb(err);\\\\n entry = entry.next;\\\\n } // reuse the free corkReq.\\\\n\\\\n\\\\n state.corkedRequestsFree.next = corkReq;\\\\n}\\\\n\\\\nObject.defineProperty(Writable.prototype, 'destroyed', {\\\\n // making it explicit this property is not enumerable\\\\n // because otherwise some prototype manipulation in\\\\n // userland will fail\\\\n enumerable: false,\\\\n get: function get() {\\\\n if (this._writableState === undefined) {\\\\n return false;\\\\n }\\\\n\\\\n return this._writableState.destroyed;\\\\n },\\\\n set: function set(value) {\\\\n // we ignore the value if the stream\\\\n // has not been initialized yet\\\\n if (!this._writableState) {\\\\n return;\\\\n } // backward compatibility, the user is explicitly\\\\n // managing destroyed\\\\n\\\\n\\\\n this._writableState.destroyed = value;\\\\n }\\\\n});\\\\nWritable.prototype.destroy = destroyImpl.destroy;\\\\nWritable.prototype._undestroy = destroyImpl.undestroy;\\\\n\\\\nWritable.prototype._destroy = function (err, cb) {\\\\n cb(err);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/_stream_writable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/async_iterator.js\\\":\\n/*!*****************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/async_iterator.js ***!\\n \\\\*****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nvar _Object$setPrototypeO;\\\\n\\\\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\\\\n\\\\nvar finished = __webpack_require__(/*! ./end-of-stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\\\\\");\\\\n\\\\nvar kLastResolve = Symbol('lastResolve');\\\\nvar kLastReject = Symbol('lastReject');\\\\nvar kError = Symbol('error');\\\\nvar kEnded = Symbol('ended');\\\\nvar kLastPromise = Symbol('lastPromise');\\\\nvar kHandlePromise = Symbol('handlePromise');\\\\nvar kStream = Symbol('stream');\\\\n\\\\nfunction createIterResult(value, done) {\\\\n return {\\\\n value: value,\\\\n done: done\\\\n };\\\\n}\\\\n\\\\nfunction readAndResolve(iter) {\\\\n var resolve = iter[kLastResolve];\\\\n\\\\n if (resolve !== null) {\\\\n var data = iter[kStream].read(); // we defer if data is null\\\\n // we can be expecting either 'end' or\\\\n // 'error'\\\\n\\\\n if (data !== null) {\\\\n iter[kLastPromise] = null;\\\\n iter[kLastResolve] = null;\\\\n iter[kLastReject] = null;\\\\n resolve(createIterResult(data, false));\\\\n }\\\\n }\\\\n}\\\\n\\\\nfunction onReadable(iter) {\\\\n // we wait for the next tick, because it might\\\\n // emit an error with process.nextTick\\\\n process.nextTick(readAndResolve, iter);\\\\n}\\\\n\\\\nfunction wrapForNext(lastPromise, iter) {\\\\n return function (resolve, reject) {\\\\n lastPromise.then(function () {\\\\n if (iter[kEnded]) {\\\\n resolve(createIterResult(undefined, true));\\\\n return;\\\\n }\\\\n\\\\n iter[kHandlePromise](resolve, reject);\\\\n }, reject);\\\\n };\\\\n}\\\\n\\\\nvar AsyncIteratorPrototype = Object.getPrototypeOf(function () {});\\\\nvar ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {\\\\n get stream() {\\\\n return this[kStream];\\\\n },\\\\n\\\\n next: function next() {\\\\n var _this = this;\\\\n\\\\n // if we have detected an error in the meanwhile\\\\n // reject straight away\\\\n var error = this[kError];\\\\n\\\\n if (error !== null) {\\\\n return Promise.reject(error);\\\\n }\\\\n\\\\n if (this[kEnded]) {\\\\n return Promise.resolve(createIterResult(undefined, true));\\\\n }\\\\n\\\\n if (this[kStream].destroyed) {\\\\n // We need to defer via nextTick because if .destroy(err) is\\\\n // called, the error will be emitted via nextTick, and\\\\n // we cannot guarantee that there is no error lingering around\\\\n // waiting to be emitted.\\\\n return new Promise(function (resolve, reject) {\\\\n process.nextTick(function () {\\\\n if (_this[kError]) {\\\\n reject(_this[kError]);\\\\n } else {\\\\n resolve(createIterResult(undefined, true));\\\\n }\\\\n });\\\\n });\\\\n } // if we have multiple next() calls\\\\n // we will wait for the previous Promise to finish\\\\n // this logic is optimized to support for await loops,\\\\n // where next() is only called once at a time\\\\n\\\\n\\\\n var lastPromise = this[kLastPromise];\\\\n var promise;\\\\n\\\\n if (lastPromise) {\\\\n promise = new Promise(wrapForNext(lastPromise, this));\\\\n } else {\\\\n // fast path needed to support multiple this.push()\\\\n // without triggering the next() queue\\\\n var data = this[kStream].read();\\\\n\\\\n if (data !== null) {\\\\n return Promise.resolve(createIterResult(data, false));\\\\n }\\\\n\\\\n promise = new Promise(this[kHandlePromise]);\\\\n }\\\\n\\\\n this[kLastPromise] = promise;\\\\n return promise;\\\\n }\\\\n}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {\\\\n return this;\\\\n}), _defineProperty(_Object$setPrototypeO, \\\\\\\"return\\\\\\\", function _return() {\\\\n var _this2 = this;\\\\n\\\\n // destroy(err, cb) is a private API\\\\n // we can guarantee we have that here, because we control the\\\\n // Readable class this is attached to\\\\n return new Promise(function (resolve, reject) {\\\\n _this2[kStream].destroy(null, function (err) {\\\\n if (err) {\\\\n reject(err);\\\\n return;\\\\n }\\\\n\\\\n resolve(createIterResult(undefined, true));\\\\n });\\\\n });\\\\n}), _Object$setPrototypeO), AsyncIteratorPrototype);\\\\n\\\\nvar createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {\\\\n var _Object$create;\\\\n\\\\n var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {\\\\n value: stream,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kLastResolve, {\\\\n value: null,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kLastReject, {\\\\n value: null,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kError, {\\\\n value: null,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kEnded, {\\\\n value: stream._readableState.endEmitted,\\\\n writable: true\\\\n }), _defineProperty(_Object$create, kHandlePromise, {\\\\n value: function value(resolve, reject) {\\\\n var data = iterator[kStream].read();\\\\n\\\\n if (data) {\\\\n iterator[kLastPromise] = null;\\\\n iterator[kLastResolve] = null;\\\\n iterator[kLastReject] = null;\\\\n resolve(createIterResult(data, false));\\\\n } else {\\\\n iterator[kLastResolve] = resolve;\\\\n iterator[kLastReject] = reject;\\\\n }\\\\n },\\\\n writable: true\\\\n }), _Object$create));\\\\n iterator[kLastPromise] = null;\\\\n finished(stream, function (err) {\\\\n if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {\\\\n var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise\\\\n // returned by next() and store the error\\\\n\\\\n if (reject !== null) {\\\\n iterator[kLastPromise] = null;\\\\n iterator[kLastResolve] = null;\\\\n iterator[kLastReject] = null;\\\\n reject(err);\\\\n }\\\\n\\\\n iterator[kError] = err;\\\\n return;\\\\n }\\\\n\\\\n var resolve = iterator[kLastResolve];\\\\n\\\\n if (resolve !== null) {\\\\n iterator[kLastPromise] = null;\\\\n iterator[kLastResolve] = null;\\\\n iterator[kLastReject] = null;\\\\n resolve(createIterResult(undefined, true));\\\\n }\\\\n\\\\n iterator[kEnded] = true;\\\\n });\\\\n stream.on('readable', onReadable.bind(null, iterator));\\\\n return iterator;\\\\n};\\\\n\\\\nmodule.exports = createReadableStreamAsyncIterator;\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/async_iterator.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/buffer_list.js\\\":\\n/*!**************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/buffer_list.js ***!\\n \\\\**************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\\\\n\\\\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\\\\n\\\\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\\\\n\\\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\\\\\"Cannot call a class as a function\\\\\\\"); } }\\\\n\\\\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\\\\\\\"value\\\\\\\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\\\\n\\\\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\\\\n\\\\nvar _require = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\"),\\\\n Buffer = _require.Buffer;\\\\n\\\\nvar _require2 = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\"),\\\\n inspect = _require2.inspect;\\\\n\\\\nvar custom = inspect && inspect.custom || 'inspect';\\\\n\\\\nfunction copyBuffer(src, target, offset) {\\\\n Buffer.prototype.copy.call(src, target, offset);\\\\n}\\\\n\\\\nmodule.exports =\\\\n/*#__PURE__*/\\\\nfunction () {\\\\n function BufferList() {\\\\n _classCallCheck(this, BufferList);\\\\n\\\\n this.head = null;\\\\n this.tail = null;\\\\n this.length = 0;\\\\n }\\\\n\\\\n _createClass(BufferList, [{\\\\n key: \\\\\\\"push\\\\\\\",\\\\n value: function push(v) {\\\\n var entry = {\\\\n data: v,\\\\n next: null\\\\n };\\\\n if (this.length > 0) this.tail.next = entry;else this.head = entry;\\\\n this.tail = entry;\\\\n ++this.length;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"unshift\\\\\\\",\\\\n value: function unshift(v) {\\\\n var entry = {\\\\n data: v,\\\\n next: this.head\\\\n };\\\\n if (this.length === 0) this.tail = entry;\\\\n this.head = entry;\\\\n ++this.length;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"shift\\\\\\\",\\\\n value: function shift() {\\\\n if (this.length === 0) return;\\\\n var ret = this.head.data;\\\\n if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;\\\\n --this.length;\\\\n return ret;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"clear\\\\\\\",\\\\n value: function clear() {\\\\n this.head = this.tail = null;\\\\n this.length = 0;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"join\\\\\\\",\\\\n value: function join(s) {\\\\n if (this.length === 0) return '';\\\\n var p = this.head;\\\\n var ret = '' + p.data;\\\\n\\\\n while (p = p.next) {\\\\n ret += s + p.data;\\\\n }\\\\n\\\\n return ret;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"concat\\\\\\\",\\\\n value: function concat(n) {\\\\n if (this.length === 0) return Buffer.alloc(0);\\\\n var ret = Buffer.allocUnsafe(n >>> 0);\\\\n var p = this.head;\\\\n var i = 0;\\\\n\\\\n while (p) {\\\\n copyBuffer(p.data, ret, i);\\\\n i += p.data.length;\\\\n p = p.next;\\\\n }\\\\n\\\\n return ret;\\\\n } // Consumes a specified amount of bytes or characters from the buffered data.\\\\n\\\\n }, {\\\\n key: \\\\\\\"consume\\\\\\\",\\\\n value: function consume(n, hasStrings) {\\\\n var ret;\\\\n\\\\n if (n < this.head.data.length) {\\\\n // `slice` is the same for buffers and strings.\\\\n ret = this.head.data.slice(0, n);\\\\n this.head.data = this.head.data.slice(n);\\\\n } else if (n === this.head.data.length) {\\\\n // First chunk is a perfect match.\\\\n ret = this.shift();\\\\n } else {\\\\n // Result spans more than one buffer.\\\\n ret = hasStrings ? this._getString(n) : this._getBuffer(n);\\\\n }\\\\n\\\\n return ret;\\\\n }\\\\n }, {\\\\n key: \\\\\\\"first\\\\\\\",\\\\n value: function first() {\\\\n return this.head.data;\\\\n } // Consumes a specified amount of characters from the buffered data.\\\\n\\\\n }, {\\\\n key: \\\\\\\"_getString\\\\\\\",\\\\n value: function _getString(n) {\\\\n var p = this.head;\\\\n var c = 1;\\\\n var ret = p.data;\\\\n n -= ret.length;\\\\n\\\\n while (p = p.next) {\\\\n var str = p.data;\\\\n var nb = n > str.length ? str.length : n;\\\\n if (nb === str.length) ret += str;else ret += str.slice(0, n);\\\\n n -= nb;\\\\n\\\\n if (n === 0) {\\\\n if (nb === str.length) {\\\\n ++c;\\\\n if (p.next) this.head = p.next;else this.head = this.tail = null;\\\\n } else {\\\\n this.head = p;\\\\n p.data = str.slice(nb);\\\\n }\\\\n\\\\n break;\\\\n }\\\\n\\\\n ++c;\\\\n }\\\\n\\\\n this.length -= c;\\\\n return ret;\\\\n } // Consumes a specified amount of bytes from the buffered data.\\\\n\\\\n }, {\\\\n key: \\\\\\\"_getBuffer\\\\\\\",\\\\n value: function _getBuffer(n) {\\\\n var ret = Buffer.allocUnsafe(n);\\\\n var p = this.head;\\\\n var c = 1;\\\\n p.data.copy(ret);\\\\n n -= p.data.length;\\\\n\\\\n while (p = p.next) {\\\\n var buf = p.data;\\\\n var nb = n > buf.length ? buf.length : n;\\\\n buf.copy(ret, ret.length - n, 0, nb);\\\\n n -= nb;\\\\n\\\\n if (n === 0) {\\\\n if (nb === buf.length) {\\\\n ++c;\\\\n if (p.next) this.head = p.next;else this.head = this.tail = null;\\\\n } else {\\\\n this.head = p;\\\\n p.data = buf.slice(nb);\\\\n }\\\\n\\\\n break;\\\\n }\\\\n\\\\n ++c;\\\\n }\\\\n\\\\n this.length -= c;\\\\n return ret;\\\\n } // Make sure the linked list only shows the minimal necessary information.\\\\n\\\\n }, {\\\\n key: custom,\\\\n value: function value(_, options) {\\\\n return inspect(this, _objectSpread({}, options, {\\\\n // Only inspect one level.\\\\n depth: 0,\\\\n // It should not recurse.\\\\n customInspect: false\\\\n }));\\\\n }\\\\n }]);\\\\n\\\\n return BufferList;\\\\n}();\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/buffer_list.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/destroy.js\\\":\\n/*!**********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/destroy.js ***!\\n \\\\**********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\" // undocumented cb() API, needed for core, not for public API\\\\n\\\\nfunction destroy(err, cb) {\\\\n var _this = this;\\\\n\\\\n var readableDestroyed = this._readableState && this._readableState.destroyed;\\\\n var writableDestroyed = this._writableState && this._writableState.destroyed;\\\\n\\\\n if (readableDestroyed || writableDestroyed) {\\\\n if (cb) {\\\\n cb(err);\\\\n } else if (err) {\\\\n if (!this._writableState) {\\\\n process.nextTick(emitErrorNT, this, err);\\\\n } else if (!this._writableState.errorEmitted) {\\\\n this._writableState.errorEmitted = true;\\\\n process.nextTick(emitErrorNT, this, err);\\\\n }\\\\n }\\\\n\\\\n return this;\\\\n } // we set destroyed to true before firing error callbacks in order\\\\n // to make it re-entrance safe in case destroy() is called within callbacks\\\\n\\\\n\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = true;\\\\n } // if this is a duplex stream mark the writable part as destroyed as well\\\\n\\\\n\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = true;\\\\n }\\\\n\\\\n this._destroy(err || null, function (err) {\\\\n if (!cb && err) {\\\\n if (!_this._writableState) {\\\\n process.nextTick(emitErrorAndCloseNT, _this, err);\\\\n } else if (!_this._writableState.errorEmitted) {\\\\n _this._writableState.errorEmitted = true;\\\\n process.nextTick(emitErrorAndCloseNT, _this, err);\\\\n } else {\\\\n process.nextTick(emitCloseNT, _this);\\\\n }\\\\n } else if (cb) {\\\\n process.nextTick(emitCloseNT, _this);\\\\n cb(err);\\\\n } else {\\\\n process.nextTick(emitCloseNT, _this);\\\\n }\\\\n });\\\\n\\\\n return this;\\\\n}\\\\n\\\\nfunction emitErrorAndCloseNT(self, err) {\\\\n emitErrorNT(self, err);\\\\n emitCloseNT(self);\\\\n}\\\\n\\\\nfunction emitCloseNT(self) {\\\\n if (self._writableState && !self._writableState.emitClose) return;\\\\n if (self._readableState && !self._readableState.emitClose) return;\\\\n self.emit('close');\\\\n}\\\\n\\\\nfunction undestroy() {\\\\n if (this._readableState) {\\\\n this._readableState.destroyed = false;\\\\n this._readableState.reading = false;\\\\n this._readableState.ended = false;\\\\n this._readableState.endEmitted = false;\\\\n }\\\\n\\\\n if (this._writableState) {\\\\n this._writableState.destroyed = false;\\\\n this._writableState.ended = false;\\\\n this._writableState.ending = false;\\\\n this._writableState.finalCalled = false;\\\\n this._writableState.prefinished = false;\\\\n this._writableState.finished = false;\\\\n this._writableState.errorEmitted = false;\\\\n }\\\\n}\\\\n\\\\nfunction emitErrorNT(self, err) {\\\\n self.emit('error', err);\\\\n}\\\\n\\\\nfunction errorOrDestroy(stream, err) {\\\\n // We have tests that rely on errors being emitted\\\\n // in the same tick, so changing this is semver major.\\\\n // For now when you opt-in to autoDestroy we allow\\\\n // the error to be emitted nextTick. In a future\\\\n // semver major update we should change the default to this.\\\\n var rState = stream._readableState;\\\\n var wState = stream._writableState;\\\\n if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);\\\\n}\\\\n\\\\nmodule.exports = {\\\\n destroy: destroy,\\\\n undestroy: undestroy,\\\\n errorOrDestroy: errorOrDestroy\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/destroy.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\":\\n/*!****************************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/end-of-stream.js ***!\\n \\\\****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Ported from https://github.com/mafintosh/end-of-stream with\\\\n// permission from the author, Mathias Buus (@mafintosh).\\\\n\\\\n\\\\nvar ERR_STREAM_PREMATURE_CLOSE = __webpack_require__(/*! ../../../errors */ \\\\\\\"./node_modules/readable-stream/errors.js\\\\\\\").codes.ERR_STREAM_PREMATURE_CLOSE;\\\\n\\\\nfunction once(callback) {\\\\n var called = false;\\\\n return function () {\\\\n if (called) return;\\\\n called = true;\\\\n\\\\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\\\\n args[_key] = arguments[_key];\\\\n }\\\\n\\\\n callback.apply(this, args);\\\\n };\\\\n}\\\\n\\\\nfunction noop() {}\\\\n\\\\nfunction isRequest(stream) {\\\\n return stream.setHeader && typeof stream.abort === 'function';\\\\n}\\\\n\\\\nfunction eos(stream, opts, callback) {\\\\n if (typeof opts === 'function') return eos(stream, null, opts);\\\\n if (!opts) opts = {};\\\\n callback = once(callback || noop);\\\\n var readable = opts.readable || opts.readable !== false && stream.readable;\\\\n var writable = opts.writable || opts.writable !== false && stream.writable;\\\\n\\\\n var onlegacyfinish = function onlegacyfinish() {\\\\n if (!stream.writable) onfinish();\\\\n };\\\\n\\\\n var writableEnded = stream._writableState && stream._writableState.finished;\\\\n\\\\n var onfinish = function onfinish() {\\\\n writable = false;\\\\n writableEnded = true;\\\\n if (!readable) callback.call(stream);\\\\n };\\\\n\\\\n var readableEnded = stream._readableState && stream._readableState.endEmitted;\\\\n\\\\n var onend = function onend() {\\\\n readable = false;\\\\n readableEnded = true;\\\\n if (!writable) callback.call(stream);\\\\n };\\\\n\\\\n var onerror = function onerror(err) {\\\\n callback.call(stream, err);\\\\n };\\\\n\\\\n var onclose = function onclose() {\\\\n var err;\\\\n\\\\n if (readable && !readableEnded) {\\\\n if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\\\\n return callback.call(stream, err);\\\\n }\\\\n\\\\n if (writable && !writableEnded) {\\\\n if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();\\\\n return callback.call(stream, err);\\\\n }\\\\n };\\\\n\\\\n var onrequest = function onrequest() {\\\\n stream.req.on('finish', onfinish);\\\\n };\\\\n\\\\n if (isRequest(stream)) {\\\\n stream.on('complete', onfinish);\\\\n stream.on('abort', onclose);\\\\n if (stream.req) onrequest();else stream.on('request', onrequest);\\\\n } else if (writable && !stream._writableState) {\\\\n // legacy streams\\\\n stream.on('end', onlegacyfinish);\\\\n stream.on('close', onlegacyfinish);\\\\n }\\\\n\\\\n stream.on('end', onend);\\\\n stream.on('finish', onfinish);\\\\n if (opts.error !== false) stream.on('error', onerror);\\\\n stream.on('close', onclose);\\\\n return function () {\\\\n stream.removeListener('complete', onfinish);\\\\n stream.removeListener('abort', onclose);\\\\n stream.removeListener('request', onrequest);\\\\n if (stream.req) stream.req.removeListener('finish', onfinish);\\\\n stream.removeListener('end', onlegacyfinish);\\\\n stream.removeListener('close', onlegacyfinish);\\\\n stream.removeListener('finish', onfinish);\\\\n stream.removeListener('end', onend);\\\\n stream.removeListener('error', onerror);\\\\n stream.removeListener('close', onclose);\\\\n };\\\\n}\\\\n\\\\nmodule.exports = eos;\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/end-of-stream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/from.js\\\":\\n/*!*******************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/from.js ***!\\n \\\\*******************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\\\\n\\\\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \\\\\\\"next\\\\\\\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \\\\\\\"throw\\\\\\\", err); } _next(undefined); }); }; }\\\\n\\\\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\\\\n\\\\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\\\\n\\\\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\\\\n\\\\nvar ERR_INVALID_ARG_TYPE = __webpack_require__(/*! ../../../errors */ \\\\\\\"./node_modules/readable-stream/errors.js\\\\\\\").codes.ERR_INVALID_ARG_TYPE;\\\\n\\\\nfunction from(Readable, iterable, opts) {\\\\n var iterator;\\\\n\\\\n if (iterable && typeof iterable.next === 'function') {\\\\n iterator = iterable;\\\\n } else if (iterable && iterable[Symbol.asyncIterator]) iterator = iterable[Symbol.asyncIterator]();else if (iterable && iterable[Symbol.iterator]) iterator = iterable[Symbol.iterator]();else throw new ERR_INVALID_ARG_TYPE('iterable', ['Iterable'], iterable);\\\\n\\\\n var readable = new Readable(_objectSpread({\\\\n objectMode: true\\\\n }, opts)); // Reading boolean to protect against _read\\\\n // being called before last iteration completion.\\\\n\\\\n var reading = false;\\\\n\\\\n readable._read = function () {\\\\n if (!reading) {\\\\n reading = true;\\\\n next();\\\\n }\\\\n };\\\\n\\\\n function next() {\\\\n return _next2.apply(this, arguments);\\\\n }\\\\n\\\\n function _next2() {\\\\n _next2 = _asyncToGenerator(function* () {\\\\n try {\\\\n var _ref = yield iterator.next(),\\\\n value = _ref.value,\\\\n done = _ref.done;\\\\n\\\\n if (done) {\\\\n readable.push(null);\\\\n } else if (readable.push((yield value))) {\\\\n next();\\\\n } else {\\\\n reading = false;\\\\n }\\\\n } catch (err) {\\\\n readable.destroy(err);\\\\n }\\\\n });\\\\n return _next2.apply(this, arguments);\\\\n }\\\\n\\\\n return readable;\\\\n}\\\\n\\\\nmodule.exports = from;\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/from.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/pipeline.js\\\":\\n/*!***********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/pipeline.js ***!\\n \\\\***********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Ported from https://github.com/mafintosh/pump with\\\\n// permission from the author, Mathias Buus (@mafintosh).\\\\n\\\\n\\\\nvar eos;\\\\n\\\\nfunction once(callback) {\\\\n var called = false;\\\\n return function () {\\\\n if (called) return;\\\\n called = true;\\\\n callback.apply(void 0, arguments);\\\\n };\\\\n}\\\\n\\\\nvar _require$codes = __webpack_require__(/*! ../../../errors */ \\\\\\\"./node_modules/readable-stream/errors.js\\\\\\\").codes,\\\\n ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\\\\n ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;\\\\n\\\\nfunction noop(err) {\\\\n // Rethrow the error if it exists to avoid swallowing it\\\\n if (err) throw err;\\\\n}\\\\n\\\\nfunction isRequest(stream) {\\\\n return stream.setHeader && typeof stream.abort === 'function';\\\\n}\\\\n\\\\nfunction destroyer(stream, reading, writing, callback) {\\\\n callback = once(callback);\\\\n var closed = false;\\\\n stream.on('close', function () {\\\\n closed = true;\\\\n });\\\\n if (eos === undefined) eos = __webpack_require__(/*! ./end-of-stream */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\\\\\");\\\\n eos(stream, {\\\\n readable: reading,\\\\n writable: writing\\\\n }, function (err) {\\\\n if (err) return callback(err);\\\\n closed = true;\\\\n callback();\\\\n });\\\\n var destroyed = false;\\\\n return function (err) {\\\\n if (closed) return;\\\\n if (destroyed) return;\\\\n destroyed = true; // request.destroy just do .end - .abort is what we want\\\\n\\\\n if (isRequest(stream)) return stream.abort();\\\\n if (typeof stream.destroy === 'function') return stream.destroy();\\\\n callback(err || new ERR_STREAM_DESTROYED('pipe'));\\\\n };\\\\n}\\\\n\\\\nfunction call(fn) {\\\\n fn();\\\\n}\\\\n\\\\nfunction pipe(from, to) {\\\\n return from.pipe(to);\\\\n}\\\\n\\\\nfunction popCallback(streams) {\\\\n if (!streams.length) return noop;\\\\n if (typeof streams[streams.length - 1] !== 'function') return noop;\\\\n return streams.pop();\\\\n}\\\\n\\\\nfunction pipeline() {\\\\n for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {\\\\n streams[_key] = arguments[_key];\\\\n }\\\\n\\\\n var callback = popCallback(streams);\\\\n if (Array.isArray(streams[0])) streams = streams[0];\\\\n\\\\n if (streams.length < 2) {\\\\n throw new ERR_MISSING_ARGS('streams');\\\\n }\\\\n\\\\n var error;\\\\n var destroys = streams.map(function (stream, i) {\\\\n var reading = i < streams.length - 1;\\\\n var writing = i > 0;\\\\n return destroyer(stream, reading, writing, function (err) {\\\\n if (!error) error = err;\\\\n if (err) destroys.forEach(call);\\\\n if (reading) return;\\\\n destroys.forEach(call);\\\\n callback(error);\\\\n });\\\\n });\\\\n return streams.reduce(pipe);\\\\n}\\\\n\\\\nmodule.exports = pipeline;\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/pipeline.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/state.js\\\":\\n/*!********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/state.js ***!\\n \\\\********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nvar ERR_INVALID_OPT_VALUE = __webpack_require__(/*! ../../../errors */ \\\\\\\"./node_modules/readable-stream/errors.js\\\\\\\").codes.ERR_INVALID_OPT_VALUE;\\\\n\\\\nfunction highWaterMarkFrom(options, isDuplex, duplexKey) {\\\\n return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;\\\\n}\\\\n\\\\nfunction getHighWaterMark(state, options, duplexKey, isDuplex) {\\\\n var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);\\\\n\\\\n if (hwm != null) {\\\\n if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {\\\\n var name = isDuplex ? duplexKey : 'highWaterMark';\\\\n throw new ERR_INVALID_OPT_VALUE(name, hwm);\\\\n }\\\\n\\\\n return Math.floor(hwm);\\\\n } // Default value\\\\n\\\\n\\\\n return state.objectMode ? 16 : 16 * 1024;\\\\n}\\\\n\\\\nmodule.exports = {\\\\n getHighWaterMark: getHighWaterMark\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/state.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/lib/internal/streams/stream.js\\\":\\n/*!*********************************************************************!*\\\\\\n !*** ./node_modules/readable-stream/lib/internal/streams/stream.js ***!\\n \\\\*********************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = __webpack_require__(/*! stream */ \\\\\\\"stream\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/lib/internal/streams/stream.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/readable-stream/readable.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/readable-stream/readable.js ***!\\n \\\\**************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"var Stream = __webpack_require__(/*! stream */ \\\\\\\"stream\\\\\\\");\\\\nif (process.env.READABLE_STREAM === 'disable' && Stream) {\\\\n module.exports = Stream.Readable;\\\\n Object.assign(module.exports, Stream);\\\\n module.exports.Stream = Stream;\\\\n} else {\\\\n exports = module.exports = __webpack_require__(/*! ./lib/_stream_readable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_readable.js\\\\\\\");\\\\n exports.Stream = Stream || exports;\\\\n exports.Readable = exports;\\\\n exports.Writable = __webpack_require__(/*! ./lib/_stream_writable.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_writable.js\\\\\\\");\\\\n exports.Duplex = __webpack_require__(/*! ./lib/_stream_duplex.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_duplex.js\\\\\\\");\\\\n exports.Transform = __webpack_require__(/*! ./lib/_stream_transform.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_transform.js\\\\\\\");\\\\n exports.PassThrough = __webpack_require__(/*! ./lib/_stream_passthrough.js */ \\\\\\\"./node_modules/readable-stream/lib/_stream_passthrough.js\\\\\\\");\\\\n exports.finished = __webpack_require__(/*! ./lib/internal/streams/end-of-stream.js */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/end-of-stream.js\\\\\\\");\\\\n exports.pipeline = __webpack_require__(/*! ./lib/internal/streams/pipeline.js */ \\\\\\\"./node_modules/readable-stream/lib/internal/streams/pipeline.js\\\\\\\");\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/readable-stream/readable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/safe-buffer/index.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/safe-buffer/index.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"/*! safe-buffer. MIT License. Feross Aboukhadijeh */\\\\n/* eslint-disable node/no-deprecated-api */\\\\nvar buffer = __webpack_require__(/*! buffer */ \\\\\\\"buffer\\\\\\\")\\\\nvar Buffer = buffer.Buffer\\\\n\\\\n// alternative to using Object.keys for old browsers\\\\nfunction copyProps (src, dst) {\\\\n for (var key in src) {\\\\n dst[key] = src[key]\\\\n }\\\\n}\\\\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\\\\n module.exports = buffer\\\\n} else {\\\\n // Copy properties from require('buffer')\\\\n copyProps(buffer, exports)\\\\n exports.Buffer = SafeBuffer\\\\n}\\\\n\\\\nfunction SafeBuffer (arg, encodingOrOffset, length) {\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nSafeBuffer.prototype = Object.create(Buffer.prototype)\\\\n\\\\n// Copy static methods from Buffer\\\\ncopyProps(Buffer, SafeBuffer)\\\\n\\\\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\\\\n if (typeof arg === 'number') {\\\\n throw new TypeError('Argument must not be a number')\\\\n }\\\\n return Buffer(arg, encodingOrOffset, length)\\\\n}\\\\n\\\\nSafeBuffer.alloc = function (size, fill, encoding) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n var buf = Buffer(size)\\\\n if (fill !== undefined) {\\\\n if (typeof encoding === 'string') {\\\\n buf.fill(fill, encoding)\\\\n } else {\\\\n buf.fill(fill)\\\\n }\\\\n } else {\\\\n buf.fill(0)\\\\n }\\\\n return buf\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafe = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return Buffer(size)\\\\n}\\\\n\\\\nSafeBuffer.allocUnsafeSlow = function (size) {\\\\n if (typeof size !== 'number') {\\\\n throw new TypeError('Argument must be a number')\\\\n }\\\\n return buffer.SlowBuffer(size)\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/safe-buffer/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/string_decoder/lib/string_decoder.js\\\":\\n/*!***********************************************************!*\\\\\\n !*** ./node_modules/string_decoder/lib/string_decoder.js ***!\\n \\\\***********************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"// Copyright Joyent, Inc. and other Node contributors.\\\\n//\\\\n// Permission is hereby granted, free of charge, to any person obtaining a\\\\n// copy of this software and associated documentation files (the\\\\n// \\\\\\\"Software\\\\\\\"), to deal in the Software without restriction, including\\\\n// without limitation the rights to use, copy, modify, merge, publish,\\\\n// distribute, sublicense, and/or sell copies of the Software, and to permit\\\\n// persons to whom the Software is furnished to do so, subject to the\\\\n// following conditions:\\\\n//\\\\n// The above copyright notice and this permission notice shall be included\\\\n// in all copies or substantial portions of the Software.\\\\n//\\\\n// THE SOFTWARE IS PROVIDED \\\\\\\"AS IS\\\\\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\\\\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\\\\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\\\\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\\\\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\\\\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\\\\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\\\\n\\\\n\\\\n\\\\n/**/\\\\n\\\\nvar Buffer = __webpack_require__(/*! safe-buffer */ \\\\\\\"./node_modules/safe-buffer/index.js\\\\\\\").Buffer;\\\\n/**/\\\\n\\\\nvar isEncoding = Buffer.isEncoding || function (encoding) {\\\\n encoding = '' + encoding;\\\\n switch (encoding && encoding.toLowerCase()) {\\\\n case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':\\\\n return true;\\\\n default:\\\\n return false;\\\\n }\\\\n};\\\\n\\\\nfunction _normalizeEncoding(enc) {\\\\n if (!enc) return 'utf8';\\\\n var retried;\\\\n while (true) {\\\\n switch (enc) {\\\\n case 'utf8':\\\\n case 'utf-8':\\\\n return 'utf8';\\\\n case 'ucs2':\\\\n case 'ucs-2':\\\\n case 'utf16le':\\\\n case 'utf-16le':\\\\n return 'utf16le';\\\\n case 'latin1':\\\\n case 'binary':\\\\n return 'latin1';\\\\n case 'base64':\\\\n case 'ascii':\\\\n case 'hex':\\\\n return enc;\\\\n default:\\\\n if (retried) return; // undefined\\\\n enc = ('' + enc).toLowerCase();\\\\n retried = true;\\\\n }\\\\n }\\\\n};\\\\n\\\\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\\\\n// modules monkey-patch it to support additional encodings\\\\nfunction normalizeEncoding(enc) {\\\\n var nenc = _normalizeEncoding(enc);\\\\n if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);\\\\n return nenc || enc;\\\\n}\\\\n\\\\n// StringDecoder provides an interface for efficiently splitting a series of\\\\n// buffers into a series of JS strings without breaking apart multi-byte\\\\n// characters.\\\\nexports.StringDecoder = StringDecoder;\\\\nfunction StringDecoder(encoding) {\\\\n this.encoding = normalizeEncoding(encoding);\\\\n var nb;\\\\n switch (this.encoding) {\\\\n case 'utf16le':\\\\n this.text = utf16Text;\\\\n this.end = utf16End;\\\\n nb = 4;\\\\n break;\\\\n case 'utf8':\\\\n this.fillLast = utf8FillLast;\\\\n nb = 4;\\\\n break;\\\\n case 'base64':\\\\n this.text = base64Text;\\\\n this.end = base64End;\\\\n nb = 3;\\\\n break;\\\\n default:\\\\n this.write = simpleWrite;\\\\n this.end = simpleEnd;\\\\n return;\\\\n }\\\\n this.lastNeed = 0;\\\\n this.lastTotal = 0;\\\\n this.lastChar = Buffer.allocUnsafe(nb);\\\\n}\\\\n\\\\nStringDecoder.prototype.write = function (buf) {\\\\n if (buf.length === 0) return '';\\\\n var r;\\\\n var i;\\\\n if (this.lastNeed) {\\\\n r = this.fillLast(buf);\\\\n if (r === undefined) return '';\\\\n i = this.lastNeed;\\\\n this.lastNeed = 0;\\\\n } else {\\\\n i = 0;\\\\n }\\\\n if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\\\\n return r || '';\\\\n};\\\\n\\\\nStringDecoder.prototype.end = utf8End;\\\\n\\\\n// Returns only complete characters in a Buffer\\\\nStringDecoder.prototype.text = utf8Text;\\\\n\\\\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\\\\nStringDecoder.prototype.fillLast = function (buf) {\\\\n if (this.lastNeed <= buf.length) {\\\\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\\\\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\\\\n }\\\\n buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\\\\n this.lastNeed -= buf.length;\\\\n};\\\\n\\\\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\\\\n// continuation byte. If an invalid byte is detected, -2 is returned.\\\\nfunction utf8CheckByte(byte) {\\\\n if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;\\\\n return byte >> 6 === 0x02 ? -1 : -2;\\\\n}\\\\n\\\\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\\\\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\\\\n// needed to complete the UTF-8 character (if applicable) are returned.\\\\nfunction utf8CheckIncomplete(self, buf, i) {\\\\n var j = buf.length - 1;\\\\n if (j < i) return 0;\\\\n var nb = utf8CheckByte(buf[j]);\\\\n if (nb >= 0) {\\\\n if (nb > 0) self.lastNeed = nb - 1;\\\\n return nb;\\\\n }\\\\n if (--j < i || nb === -2) return 0;\\\\n nb = utf8CheckByte(buf[j]);\\\\n if (nb >= 0) {\\\\n if (nb > 0) self.lastNeed = nb - 2;\\\\n return nb;\\\\n }\\\\n if (--j < i || nb === -2) return 0;\\\\n nb = utf8CheckByte(buf[j]);\\\\n if (nb >= 0) {\\\\n if (nb > 0) {\\\\n if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\\\\n }\\\\n return nb;\\\\n }\\\\n return 0;\\\\n}\\\\n\\\\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\\\\n// needed or are available. If we see a non-continuation byte where we expect\\\\n// one, we \\\\\\\"replace\\\\\\\" the validated continuation bytes we've seen so far with\\\\n// a single UTF-8 replacement character ('\\\\\\\\ufffd'), to match v8's UTF-8 decoding\\\\n// behavior. The continuation byte check is included three times in the case\\\\n// where all of the continuation bytes for a character exist in the same buffer.\\\\n// It is also done this way as a slight performance increase instead of using a\\\\n// loop.\\\\nfunction utf8CheckExtraBytes(self, buf, p) {\\\\n if ((buf[0] & 0xC0) !== 0x80) {\\\\n self.lastNeed = 0;\\\\n return '\\\\\\\\ufffd';\\\\n }\\\\n if (self.lastNeed > 1 && buf.length > 1) {\\\\n if ((buf[1] & 0xC0) !== 0x80) {\\\\n self.lastNeed = 1;\\\\n return '\\\\\\\\ufffd';\\\\n }\\\\n if (self.lastNeed > 2 && buf.length > 2) {\\\\n if ((buf[2] & 0xC0) !== 0x80) {\\\\n self.lastNeed = 2;\\\\n return '\\\\\\\\ufffd';\\\\n }\\\\n }\\\\n }\\\\n}\\\\n\\\\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\\\\nfunction utf8FillLast(buf) {\\\\n var p = this.lastTotal - this.lastNeed;\\\\n var r = utf8CheckExtraBytes(this, buf, p);\\\\n if (r !== undefined) return r;\\\\n if (this.lastNeed <= buf.length) {\\\\n buf.copy(this.lastChar, p, 0, this.lastNeed);\\\\n return this.lastChar.toString(this.encoding, 0, this.lastTotal);\\\\n }\\\\n buf.copy(this.lastChar, p, 0, buf.length);\\\\n this.lastNeed -= buf.length;\\\\n}\\\\n\\\\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\\\\n// partial character, the character's bytes are buffered until the required\\\\n// number of bytes are available.\\\\nfunction utf8Text(buf, i) {\\\\n var total = utf8CheckIncomplete(this, buf, i);\\\\n if (!this.lastNeed) return buf.toString('utf8', i);\\\\n this.lastTotal = total;\\\\n var end = buf.length - (total - this.lastNeed);\\\\n buf.copy(this.lastChar, 0, end);\\\\n return buf.toString('utf8', i, end);\\\\n}\\\\n\\\\n// For UTF-8, a replacement character is added when ending on a partial\\\\n// character.\\\\nfunction utf8End(buf) {\\\\n var r = buf && buf.length ? this.write(buf) : '';\\\\n if (this.lastNeed) return r + '\\\\\\\\ufffd';\\\\n return r;\\\\n}\\\\n\\\\n// UTF-16LE typically needs two bytes per character, but even if we have an even\\\\n// number of bytes available, we need to check if we end on a leading/high\\\\n// surrogate. In that case, we need to wait for the next two bytes in order to\\\\n// decode the last character properly.\\\\nfunction utf16Text(buf, i) {\\\\n if ((buf.length - i) % 2 === 0) {\\\\n var r = buf.toString('utf16le', i);\\\\n if (r) {\\\\n var c = r.charCodeAt(r.length - 1);\\\\n if (c >= 0xD800 && c <= 0xDBFF) {\\\\n this.lastNeed = 2;\\\\n this.lastTotal = 4;\\\\n this.lastChar[0] = buf[buf.length - 2];\\\\n this.lastChar[1] = buf[buf.length - 1];\\\\n return r.slice(0, -1);\\\\n }\\\\n }\\\\n return r;\\\\n }\\\\n this.lastNeed = 1;\\\\n this.lastTotal = 2;\\\\n this.lastChar[0] = buf[buf.length - 1];\\\\n return buf.toString('utf16le', i, buf.length - 1);\\\\n}\\\\n\\\\n// For UTF-16LE we do not explicitly append special replacement characters if we\\\\n// end on a partial character, we simply let v8 handle that.\\\\nfunction utf16End(buf) {\\\\n var r = buf && buf.length ? this.write(buf) : '';\\\\n if (this.lastNeed) {\\\\n var end = this.lastTotal - this.lastNeed;\\\\n return r + this.lastChar.toString('utf16le', 0, end);\\\\n }\\\\n return r;\\\\n}\\\\n\\\\nfunction base64Text(buf, i) {\\\\n var n = (buf.length - i) % 3;\\\\n if (n === 0) return buf.toString('base64', i);\\\\n this.lastNeed = 3 - n;\\\\n this.lastTotal = 3;\\\\n if (n === 1) {\\\\n this.lastChar[0] = buf[buf.length - 1];\\\\n } else {\\\\n this.lastChar[0] = buf[buf.length - 2];\\\\n this.lastChar[1] = buf[buf.length - 1];\\\\n }\\\\n return buf.toString('base64', i, buf.length - n);\\\\n}\\\\n\\\\nfunction base64End(buf) {\\\\n var r = buf && buf.length ? this.write(buf) : '';\\\\n if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);\\\\n return r;\\\\n}\\\\n\\\\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\\\\nfunction simpleWrite(buf) {\\\\n return buf.toString(this.encoding);\\\\n}\\\\n\\\\nfunction simpleEnd(buf) {\\\\n return buf && buf.length ? this.write(buf) : '';\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/string_decoder/lib/string_decoder.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/supports-color/index.js\\\":\\n/*!**********************************************!*\\\\\\n !*** ./node_modules/supports-color/index.js ***!\\n \\\\**********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\nvar argv = process.argv;\\\\n\\\\nvar terminator = argv.indexOf('--');\\\\nvar hasFlag = function (flag) {\\\\n\\\\tflag = '--' + flag;\\\\n\\\\tvar pos = argv.indexOf(flag);\\\\n\\\\treturn pos !== -1 && (terminator !== -1 ? pos < terminator : true);\\\\n};\\\\n\\\\nmodule.exports = (function () {\\\\n\\\\tif ('FORCE_COLOR' in process.env) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif (hasFlag('no-color') ||\\\\n\\\\t\\\\thasFlag('no-colors') ||\\\\n\\\\t\\\\thasFlag('color=false')) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\tif (hasFlag('color') ||\\\\n\\\\t\\\\thasFlag('colors') ||\\\\n\\\\t\\\\thasFlag('color=true') ||\\\\n\\\\t\\\\thasFlag('color=always')) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif (process.stdout && !process.stdout.isTTY) {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\tif (process.platform === 'win32') {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif ('COLORTERM' in process.env) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\tif (process.env.TERM === 'dumb') {\\\\n\\\\t\\\\treturn false;\\\\n\\\\t}\\\\n\\\\n\\\\tif (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) {\\\\n\\\\t\\\\treturn true;\\\\n\\\\t}\\\\n\\\\n\\\\treturn false;\\\\n})();\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/supports-color/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads-plugin/dist/loader.js?{\\\\\\\"name\\\\\\\":\\\\\\\"1\\\\\\\"}!./node_modules/geotiff/src/decoder.worker.js\\\":\\n/*!**************************************************************************************************************!*\\\\\\n !*** ./node_modules/threads-plugin/dist/loader.js?{\\\"name\\\":\\\"1\\\"}!./node_modules/geotiff/src/decoder.worker.js ***!\\n \\\\**************************************************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = __webpack_require__.p + \\\\\\\"1.98868fb1f149804098e1.worker.worker.js\\\\\\\"\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/geotiff/src/decoder.worker.js?./node_modules/threads-plugin/dist/loader.js?%7B%22name%22:%221%22%7D\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/common.js\\\":\\n/*!*************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/common.js ***!\\n \\\\*************************************************/\\n/*! exports provided: registerSerializer, deserialize, serialize */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerSerializer\\\\\\\", function() { return registerSerializer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"deserialize\\\\\\\", function() { return deserialize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"serialize\\\\\\\", function() { return serialize; });\\\\n/* harmony import */ var _serializers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./serializers */ \\\\\\\"./node_modules/threads/dist-esm/serializers.js\\\\\\\");\\\\n\\\\nlet registeredSerializer = _serializers__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"DefaultSerializer\\\\\\\"];\\\\nfunction registerSerializer(serializer) {\\\\n registeredSerializer = Object(_serializers__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"extendSerializer\\\\\\\"])(registeredSerializer, serializer);\\\\n}\\\\nfunction deserialize(message) {\\\\n return registeredSerializer.deserialize(message);\\\\n}\\\\nfunction serialize(input) {\\\\n return registeredSerializer.serialize(input);\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/common.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/index.js\\\":\\n/*!************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/index.js ***!\\n \\\\************************************************/\\n/*! exports provided: registerSerializer, Pool, spawn, Thread, isWorkerRuntime, BlobWorker, Worker, expose, DefaultSerializer, Transfer */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerSerializer\\\\\\\", function() { return _common__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"registerSerializer\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _master_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./master/index */ \\\\\\\"./node_modules/threads/dist-esm/master/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Pool\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"spawn\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"spawn\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Thread\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"isWorkerRuntime\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"BlobWorker\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"BlobWorker\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Worker\\\\\\\", function() { return _master_index__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Worker\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _worker_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./worker/index */ \\\\\\\"./node_modules/threads/dist-esm/worker/index.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"expose\\\\\\\", function() { return _worker_index__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"expose\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _serializers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./serializers */ \\\\\\\"./node_modules/threads/dist-esm/serializers.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"DefaultSerializer\\\\\\\", function() { return _serializers__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"DefaultSerializer\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./transferable */ \\\\\\\"./node_modules/threads/dist-esm/transferable.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Transfer\\\\\\\", function() { return _transferable__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"Transfer\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/get-bundle-url.browser.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/get-bundle-url.browser.js ***!\\n \\\\************************************************************************/\\n/*! exports provided: getBaseURL, getBundleURL */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getBaseURL\\\\\\\", function() { return getBaseURL; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getBundleURL\\\\\\\", function() { return getBundleURLCached; });\\\\n// Source: \\\\nlet bundleURL;\\\\nfunction getBundleURLCached() {\\\\n if (!bundleURL) {\\\\n bundleURL = getBundleURL();\\\\n }\\\\n return bundleURL;\\\\n}\\\\nfunction getBundleURL() {\\\\n // Attempt to find the URL of the current script and use that as the base URL\\\\n try {\\\\n throw new Error;\\\\n }\\\\n catch (err) {\\\\n const matches = (\\\\\\\"\\\\\\\" + err.stack).match(/(https?|file|ftp|chrome-extension|moz-extension):\\\\\\\\/\\\\\\\\/[^)\\\\\\\\n]+/g);\\\\n if (matches) {\\\\n return getBaseURL(matches[0]);\\\\n }\\\\n }\\\\n return \\\\\\\"/\\\\\\\";\\\\n}\\\\nfunction getBaseURL(url) {\\\\n return (\\\\\\\"\\\\\\\" + url).replace(/^((?:https?|file|ftp|chrome-extension|moz-extension):\\\\\\\\/\\\\\\\\/.+)?\\\\\\\\/[^/]+(?:\\\\\\\\?.*)?$/, '$1') + '/';\\\\n}\\\\n\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/get-bundle-url.browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/implementation.browser.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/implementation.browser.js ***!\\n \\\\************************************************************************/\\n/*! exports provided: defaultPoolSize, getWorkerImplementation, isWorkerRuntime */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"defaultPoolSize\\\\\\\", function() { return defaultPoolSize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getWorkerImplementation\\\\\\\", function() { return getWorkerImplementation; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony import */ var _get_bundle_url_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-bundle-url.browser */ \\\\\\\"./node_modules/threads/dist-esm/master/get-bundle-url.browser.js\\\\\\\");\\\\n// tslint:disable max-classes-per-file\\\\n\\\\nconst defaultPoolSize = typeof navigator !== \\\\\\\"undefined\\\\\\\" && navigator.hardwareConcurrency\\\\n ? navigator.hardwareConcurrency\\\\n : 4;\\\\nconst isAbsoluteURL = (value) => /^[a-zA-Z][a-zA-Z\\\\\\\\d+\\\\\\\\-.]*:/.test(value);\\\\nfunction createSourceBlobURL(code) {\\\\n const blob = new Blob([code], { type: \\\\\\\"application/javascript\\\\\\\" });\\\\n return URL.createObjectURL(blob);\\\\n}\\\\nfunction selectWorkerImplementation() {\\\\n if (typeof Worker === \\\\\\\"undefined\\\\\\\") {\\\\n // Might happen on Safari, for instance\\\\n // The idea is to only fail if the constructor is actually used\\\\n return class NoWebWorker {\\\\n constructor() {\\\\n throw Error(\\\\\\\"No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn't support workers in workers.\\\\\\\");\\\\n }\\\\n };\\\\n }\\\\n class WebWorker extends Worker {\\\\n constructor(url, options) {\\\\n var _a, _b;\\\\n if (typeof url === \\\\\\\"string\\\\\\\" && options && options._baseURL) {\\\\n url = new URL(url, options._baseURL);\\\\n }\\\\n else if (typeof url === \\\\\\\"string\\\\\\\" && !isAbsoluteURL(url) && Object(_get_bundle_url_browser__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getBundleURL\\\\\\\"])().match(/^file:\\\\\\\\/\\\\\\\\//i)) {\\\\n url = new URL(url, Object(_get_bundle_url_browser__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getBundleURL\\\\\\\"])().replace(/\\\\\\\\/[^\\\\\\\\/]+$/, \\\\\\\"/\\\\\\\"));\\\\n if ((_a = options === null || options === void 0 ? void 0 : options.CORSWorkaround) !== null && _a !== void 0 ? _a : true) {\\\\n url = createSourceBlobURL(`importScripts(${JSON.stringify(url)});`);\\\\n }\\\\n }\\\\n if (typeof url === \\\\\\\"string\\\\\\\" && isAbsoluteURL(url)) {\\\\n // Create source code blob loading JS file via `importScripts()`\\\\n // to circumvent worker CORS restrictions\\\\n if ((_b = options === null || options === void 0 ? void 0 : options.CORSWorkaround) !== null && _b !== void 0 ? _b : true) {\\\\n url = createSourceBlobURL(`importScripts(${JSON.stringify(url)});`);\\\\n }\\\\n }\\\\n super(url, options);\\\\n }\\\\n }\\\\n class BlobWorker extends WebWorker {\\\\n constructor(blob, options) {\\\\n const url = window.URL.createObjectURL(blob);\\\\n super(url, options);\\\\n }\\\\n static fromText(source, options) {\\\\n const blob = new window.Blob([source], { type: \\\\\\\"text/javascript\\\\\\\" });\\\\n return new BlobWorker(blob, options);\\\\n }\\\\n }\\\\n return {\\\\n blob: BlobWorker,\\\\n default: WebWorker\\\\n };\\\\n}\\\\nlet implementation;\\\\nfunction getWorkerImplementation() {\\\\n if (!implementation) {\\\\n implementation = selectWorkerImplementation();\\\\n }\\\\n return implementation;\\\\n}\\\\nfunction isWorkerRuntime() {\\\\n const isWindowContext = typeof self !== \\\\\\\"undefined\\\\\\\" && typeof Window !== \\\\\\\"undefined\\\\\\\" && self instanceof Window;\\\\n return typeof self !== \\\\\\\"undefined\\\\\\\" && self.postMessage && !isWindowContext ? true : false;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/implementation.browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/implementation.js\\\":\\n/*!****************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/implementation.js ***!\\n \\\\****************************************************************/\\n/*! exports provided: defaultPoolSize, getWorkerImplementation, isWorkerRuntime */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"defaultPoolSize\\\\\\\", function() { return defaultPoolSize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getWorkerImplementation\\\\\\\", function() { return getWorkerImplementation; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony import */ var _implementation_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./implementation.browser */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.browser.js\\\\\\\");\\\\n/* harmony import */ var _implementation_node__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./implementation.node */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.node.js\\\\\\\");\\\\n/*\\\\n * This file is only a stub to make './implementation' resolve to the right module.\\\\n */\\\\n// We alias `src/master/implementation` to `src/master/implementation.browser` for web\\\\n// browsers already in the package.json, so if get here, it's safe to pass-through the\\\\n// node implementation\\\\n\\\\n\\\\nconst runningInNode = typeof process !== 'undefined' && process.arch !== 'browser' && 'pid' in process;\\\\nconst implementation = runningInNode ? _implementation_node__WEBPACK_IMPORTED_MODULE_1__ : _implementation_browser__WEBPACK_IMPORTED_MODULE_0__;\\\\n/** Default size of pools. Depending on the platform the value might vary from device to device. */\\\\nconst defaultPoolSize = implementation.defaultPoolSize;\\\\nconst getWorkerImplementation = implementation.getWorkerImplementation;\\\\n/** Returns `true` if this code is currently running in a worker. */\\\\nconst isWorkerRuntime = implementation.isWorkerRuntime;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/implementation.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/implementation.node.js\\\":\\n/*!*********************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/implementation.node.js ***!\\n \\\\*********************************************************************/\\n/*! exports provided: defaultPoolSize, getWorkerImplementation, isWorkerRuntime */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"defaultPoolSize\\\\\\\", function() { return defaultPoolSize; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"getWorkerImplementation\\\\\\\", function() { return getWorkerImplementation; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony import */ var callsites__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! callsites */ \\\\\\\"./node_modules/callsites/index.js\\\\\\\");\\\\n/* harmony import */ var callsites__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(callsites__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! events */ \\\\\\\"events\\\\\\\");\\\\n/* harmony import */ var events__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! os */ \\\\\\\"os\\\\\\\");\\\\n/* harmony import */ var os__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_2__);\\\\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! path */ \\\\\\\"path\\\\\\\");\\\\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__);\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! url */ \\\\\\\"url\\\\\\\");\\\\n/* harmony import */ var url__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);\\\\n/// \\\\n// tslint:disable function-constructor no-eval no-duplicate-super max-classes-per-file\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nlet tsNodeAvailable;\\\\nconst defaultPoolSize = Object(os__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"cpus\\\\\\\"])().length;\\\\nfunction detectTsNode() {\\\\n if (typeof require === \\\\\\\"function\\\\\\\") {\\\\n // Webpack build: => No ts-node required or possible\\\\n return false;\\\\n }\\\\n if (tsNodeAvailable) {\\\\n return tsNodeAvailable;\\\\n }\\\\n try {\\\\n eval(\\\\\\\"require\\\\\\\").resolve(\\\\\\\"ts-node\\\\\\\");\\\\n tsNodeAvailable = true;\\\\n }\\\\n catch (error) {\\\\n if (error && error.code === \\\\\\\"MODULE_NOT_FOUND\\\\\\\") {\\\\n tsNodeAvailable = false;\\\\n }\\\\n else {\\\\n // Re-throw\\\\n throw error;\\\\n }\\\\n }\\\\n return tsNodeAvailable;\\\\n}\\\\nfunction createTsNodeModule(scriptPath) {\\\\n const content = `\\\\n require(\\\\\\\"ts-node/register/transpile-only\\\\\\\");\\\\n require(${JSON.stringify(scriptPath)});\\\\n `;\\\\n return content;\\\\n}\\\\nfunction rebaseScriptPath(scriptPath, ignoreRegex) {\\\\n const parentCallSite = callsites__WEBPACK_IMPORTED_MODULE_0___default()().find((callsite) => {\\\\n const filename = callsite.getFileName();\\\\n return Boolean(filename &&\\\\n !filename.match(ignoreRegex) &&\\\\n !filename.match(/[\\\\\\\\/\\\\\\\\\\\\\\\\]master[\\\\\\\\/\\\\\\\\\\\\\\\\]implementation/) &&\\\\n !filename.match(/^internal\\\\\\\\/process/));\\\\n });\\\\n const rawCallerPath = parentCallSite ? parentCallSite.getFileName() : null;\\\\n let callerPath = rawCallerPath ? rawCallerPath : null;\\\\n if (callerPath && callerPath.startsWith('file:')) {\\\\n callerPath = Object(url__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"fileURLToPath\\\\\\\"])(callerPath);\\\\n }\\\\n const rebasedScriptPath = callerPath ? path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"join\\\\\\\"](path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"dirname\\\\\\\"](callerPath), scriptPath) : scriptPath;\\\\n return rebasedScriptPath;\\\\n}\\\\nfunction resolveScriptPath(scriptPath, baseURL) {\\\\n const makeRelative = (filePath) => {\\\\n // eval() hack is also webpack-related\\\\n return path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"isAbsolute\\\\\\\"](filePath) ? filePath : path__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"join\\\\\\\"](baseURL || eval(\\\\\\\"__dirname\\\\\\\"), filePath);\\\\n };\\\\n const workerFilePath = typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require.resolve(makeRelative(scriptPath))\\\\n : eval(\\\\\\\"require\\\\\\\").resolve(makeRelative(rebaseScriptPath(scriptPath, /[\\\\\\\\/\\\\\\\\\\\\\\\\]worker_threads[\\\\\\\\/\\\\\\\\\\\\\\\\]/)));\\\\n return workerFilePath;\\\\n}\\\\nfunction initWorkerThreadsWorker() {\\\\n // Webpack hack\\\\n const NativeWorker = typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require(\\\\\\\"worker_threads\\\\\\\").Worker\\\\n : eval(\\\\\\\"require\\\\\\\")(\\\\\\\"worker_threads\\\\\\\").Worker;\\\\n let allWorkers = [];\\\\n class Worker extends NativeWorker {\\\\n constructor(scriptPath, options) {\\\\n const resolvedScriptPath = options && options.fromSource\\\\n ? null\\\\n : resolveScriptPath(scriptPath, (options || {})._baseURL);\\\\n if (!resolvedScriptPath) {\\\\n // `options.fromSource` is true\\\\n const sourceCode = scriptPath;\\\\n super(sourceCode, Object.assign(Object.assign({}, options), { eval: true }));\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.tsx?$/i) && detectTsNode()) {\\\\n super(createTsNodeModule(resolvedScriptPath), Object.assign(Object.assign({}, options), { eval: true }));\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.asar[\\\\\\\\/\\\\\\\\\\\\\\\\]/)) {\\\\n // See \\\\n super(resolvedScriptPath.replace(/\\\\\\\\.asar([\\\\\\\\/\\\\\\\\\\\\\\\\])/, \\\\\\\".asar.unpacked$1\\\\\\\"), options);\\\\n }\\\\n else {\\\\n super(resolvedScriptPath, options);\\\\n }\\\\n this.mappedEventListeners = new WeakMap();\\\\n allWorkers.push(this);\\\\n }\\\\n addEventListener(eventName, rawListener) {\\\\n const listener = (message) => {\\\\n rawListener({ data: message });\\\\n };\\\\n this.mappedEventListeners.set(rawListener, listener);\\\\n this.on(eventName, listener);\\\\n }\\\\n removeEventListener(eventName, rawListener) {\\\\n const listener = this.mappedEventListeners.get(rawListener) || rawListener;\\\\n this.off(eventName, listener);\\\\n }\\\\n }\\\\n const terminateWorkersAndMaster = () => {\\\\n // we should terminate all workers and then gracefully shutdown self process\\\\n Promise.all(allWorkers.map(worker => worker.terminate())).then(() => process.exit(0), () => process.exit(1));\\\\n allWorkers = [];\\\\n };\\\\n // Take care to not leave orphaned processes behind. See #147.\\\\n process.on(\\\\\\\"SIGINT\\\\\\\", () => terminateWorkersAndMaster());\\\\n process.on(\\\\\\\"SIGTERM\\\\\\\", () => terminateWorkersAndMaster());\\\\n class BlobWorker extends Worker {\\\\n constructor(blob, options) {\\\\n super(Buffer.from(blob).toString(\\\\\\\"utf-8\\\\\\\"), Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n static fromText(source, options) {\\\\n return new Worker(source, Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n }\\\\n return {\\\\n blob: BlobWorker,\\\\n default: Worker\\\\n };\\\\n}\\\\nfunction initTinyWorker() {\\\\n const TinyWorker = __webpack_require__(/*! tiny-worker */ \\\\\\\"./node_modules/tiny-worker/lib/index.js\\\\\\\");\\\\n let allWorkers = [];\\\\n class Worker extends TinyWorker {\\\\n constructor(scriptPath, options) {\\\\n // Need to apply a work-around for Windows or it will choke upon the absolute path\\\\n // (`Error [ERR_INVALID_PROTOCOL]: Protocol 'c:' not supported`)\\\\n const resolvedScriptPath = options && options.fromSource\\\\n ? null\\\\n : process.platform === \\\\\\\"win32\\\\\\\"\\\\n ? `file:///${resolveScriptPath(scriptPath).replace(/\\\\\\\\\\\\\\\\/g, \\\\\\\"/\\\\\\\")}`\\\\n : resolveScriptPath(scriptPath);\\\\n if (!resolvedScriptPath) {\\\\n // `options.fromSource` is true\\\\n const sourceCode = scriptPath;\\\\n super(new Function(sourceCode), [], { esm: true });\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.tsx?$/i) && detectTsNode()) {\\\\n super(new Function(createTsNodeModule(resolveScriptPath(scriptPath))), [], { esm: true });\\\\n }\\\\n else if (resolvedScriptPath.match(/\\\\\\\\.asar[\\\\\\\\/\\\\\\\\\\\\\\\\]/)) {\\\\n // See \\\\n super(resolvedScriptPath.replace(/\\\\\\\\.asar([\\\\\\\\/\\\\\\\\\\\\\\\\])/, \\\\\\\".asar.unpacked$1\\\\\\\"), [], { esm: true });\\\\n }\\\\n else {\\\\n super(resolvedScriptPath, [], { esm: true });\\\\n }\\\\n allWorkers.push(this);\\\\n this.emitter = new events__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"EventEmitter\\\\\\\"]();\\\\n this.onerror = (error) => this.emitter.emit(\\\\\\\"error\\\\\\\", error);\\\\n this.onmessage = (message) => this.emitter.emit(\\\\\\\"message\\\\\\\", message);\\\\n }\\\\n addEventListener(eventName, listener) {\\\\n this.emitter.addListener(eventName, listener);\\\\n }\\\\n removeEventListener(eventName, listener) {\\\\n this.emitter.removeListener(eventName, listener);\\\\n }\\\\n terminate() {\\\\n allWorkers = allWorkers.filter(worker => worker !== this);\\\\n return super.terminate();\\\\n }\\\\n }\\\\n const terminateWorkersAndMaster = () => {\\\\n // we should terminate all workers and then gracefully shutdown self process\\\\n Promise.all(allWorkers.map(worker => worker.terminate())).then(() => process.exit(0), () => process.exit(1));\\\\n allWorkers = [];\\\\n };\\\\n // Take care to not leave orphaned processes behind\\\\n // See \\\\n process.on(\\\\\\\"SIGINT\\\\\\\", () => terminateWorkersAndMaster());\\\\n process.on(\\\\\\\"SIGTERM\\\\\\\", () => terminateWorkersAndMaster());\\\\n class BlobWorker extends Worker {\\\\n constructor(blob, options) {\\\\n super(Buffer.from(blob).toString(\\\\\\\"utf-8\\\\\\\"), Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n static fromText(source, options) {\\\\n return new Worker(source, Object.assign(Object.assign({}, options), { fromSource: true }));\\\\n }\\\\n }\\\\n return {\\\\n blob: BlobWorker,\\\\n default: Worker\\\\n };\\\\n}\\\\nlet implementation;\\\\nlet isTinyWorker;\\\\nfunction selectWorkerImplementation() {\\\\n try {\\\\n isTinyWorker = false;\\\\n return initWorkerThreadsWorker();\\\\n }\\\\n catch (error) {\\\\n // tslint:disable-next-line no-console\\\\n console.debug(\\\\\\\"Node worker_threads not available. Trying to fall back to tiny-worker polyfill...\\\\\\\");\\\\n isTinyWorker = true;\\\\n return initTinyWorker();\\\\n }\\\\n}\\\\nfunction getWorkerImplementation() {\\\\n if (!implementation) {\\\\n implementation = selectWorkerImplementation();\\\\n }\\\\n return implementation;\\\\n}\\\\nfunction isWorkerRuntime() {\\\\n if (isTinyWorker) {\\\\n return typeof self !== \\\\\\\"undefined\\\\\\\" && self.postMessage ? true : false;\\\\n }\\\\n else {\\\\n // Webpack hack\\\\n const isMainThread = typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require(\\\\\\\"worker_threads\\\\\\\").isMainThread\\\\n : eval(\\\\\\\"require\\\\\\\")(\\\\\\\"worker_threads\\\\\\\").isMainThread;\\\\n return !isMainThread;\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/implementation.node.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: Pool, spawn, Thread, isWorkerRuntime, BlobWorker, Worker */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"BlobWorker\\\\\\\", function() { return BlobWorker; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Worker\\\\\\\", function() { return Worker; });\\\\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./implementation */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return _implementation__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"isWorkerRuntime\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pool */ \\\\\\\"./node_modules/threads/dist-esm/master/pool.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return _pool__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Pool\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _spawn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./spawn */ \\\\\\\"./node_modules/threads/dist-esm/master/spawn.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"spawn\\\\\\\", function() { return _spawn__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"spawn\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./thread */ \\\\\\\"./node_modules/threads/dist-esm/master/thread.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return _thread__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"Thread\\\\\\\"]; });\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n/** Separate class to spawn workers from source code blobs or strings. */\\\\nconst BlobWorker = Object(_implementation__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getWorkerImplementation\\\\\\\"])().blob;\\\\n/** Worker implementation. Either web worker or a node.js Worker class. */\\\\nconst Worker = Object(_implementation__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"getWorkerImplementation\\\\\\\"])().default;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/invocation-proxy.js\\\":\\n/*!******************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/invocation-proxy.js ***!\\n \\\\******************************************************************/\\n/*! exports provided: createProxyFunction, createProxyModule */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"createProxyFunction\\\\\\\", function() { return createProxyFunction; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"createProxyModule\\\\\\\", function() { return createProxyModule; });\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \\\\\\\"./node_modules/debug/src/index.js\\\\\\\");\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony import */ var _observable_promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../observable-promise */ \\\\\\\"./node_modules/threads/dist-esm/observable-promise.js\\\\\\\");\\\\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../transferable */ \\\\\\\"./node_modules/threads/dist-esm/transferable.js\\\\\\\");\\\\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/messages */ \\\\\\\"./node_modules/threads/dist-esm/types/messages.js\\\\\\\");\\\\n/*\\\\n * This source file contains the code for proxying calls in the master thread to calls in the workers\\\\n * by `.postMessage()`-ing.\\\\n *\\\\n * Keep in mind that this code can make or break the program's performance! Need to optimize more\\u2026\\\\n */\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:messages\\\\\\\");\\\\nlet nextJobUID = 1;\\\\nconst dedupe = (array) => Array.from(new Set(array));\\\\nconst isJobErrorMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerMessageType\\\\\\\"].error;\\\\nconst isJobResultMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerMessageType\\\\\\\"].result;\\\\nconst isJobStartMessage = (data) => data && data.type === _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerMessageType\\\\\\\"].running;\\\\nfunction createObservableForJob(worker, jobUID) {\\\\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n let asyncType;\\\\n const messageHandler = ((event) => {\\\\n debugMessages(\\\\\\\"Message from worker:\\\\\\\", event.data);\\\\n if (!event.data || event.data.uid !== jobUID)\\\\n return;\\\\n if (isJobStartMessage(event.data)) {\\\\n asyncType = event.data.resultType;\\\\n }\\\\n else if (isJobResultMessage(event.data)) {\\\\n if (asyncType === \\\\\\\"promise\\\\\\\") {\\\\n if (typeof event.data.payload !== \\\\\\\"undefined\\\\\\\") {\\\\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.payload));\\\\n }\\\\n observer.complete();\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n }\\\\n else {\\\\n if (event.data.payload) {\\\\n observer.next(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.payload));\\\\n }\\\\n if (event.data.complete) {\\\\n observer.complete();\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n }\\\\n }\\\\n }\\\\n else if (isJobErrorMessage(event.data)) {\\\\n const error = Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.error);\\\\n if (asyncType === \\\\\\\"promise\\\\\\\" || !asyncType) {\\\\n observer.error(error);\\\\n }\\\\n else {\\\\n observer.error(error);\\\\n }\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n }\\\\n });\\\\n worker.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n return () => {\\\\n if (asyncType === \\\\\\\"observable\\\\\\\" || !asyncType) {\\\\n const cancelMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"MasterMessageType\\\\\\\"].cancel,\\\\n uid: jobUID\\\\n };\\\\n worker.postMessage(cancelMessage);\\\\n }\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n };\\\\n });\\\\n}\\\\nfunction prepareArguments(rawArgs) {\\\\n if (rawArgs.length === 0) {\\\\n // Exit early if possible\\\\n return {\\\\n args: [],\\\\n transferables: []\\\\n };\\\\n }\\\\n const args = [];\\\\n const transferables = [];\\\\n for (const arg of rawArgs) {\\\\n if (Object(_transferable__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"isTransferDescriptor\\\\\\\"])(arg)) {\\\\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"serialize\\\\\\\"])(arg.send));\\\\n transferables.push(...arg.transferables);\\\\n }\\\\n else {\\\\n args.push(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"serialize\\\\\\\"])(arg));\\\\n }\\\\n }\\\\n return {\\\\n args,\\\\n transferables: transferables.length === 0 ? transferables : dedupe(transferables)\\\\n };\\\\n}\\\\nfunction createProxyFunction(worker, method) {\\\\n return ((...rawArgs) => {\\\\n const uid = nextJobUID++;\\\\n const { args, transferables } = prepareArguments(rawArgs);\\\\n const runMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"MasterMessageType\\\\\\\"].run,\\\\n uid,\\\\n method,\\\\n args\\\\n };\\\\n debugMessages(\\\\\\\"Sending command to run function to worker:\\\\\\\", runMessage);\\\\n try {\\\\n worker.postMessage(runMessage, transferables);\\\\n }\\\\n catch (error) {\\\\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"ObservablePromise\\\\\\\"].from(Promise.reject(error));\\\\n }\\\\n return _observable_promise__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"ObservablePromise\\\\\\\"].from(Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"multicast\\\\\\\"])(createObservableForJob(worker, uid)));\\\\n });\\\\n}\\\\nfunction createProxyModule(worker, methodNames) {\\\\n const proxy = {};\\\\n for (const methodName of methodNames) {\\\\n proxy[methodName] = createProxyFunction(worker, methodName);\\\\n }\\\\n return proxy;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/invocation-proxy.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/pool-types.js\\\":\\n/*!************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/pool-types.js ***!\\n \\\\************************************************************/\\n/*! exports provided: PoolEventType */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"PoolEventType\\\\\\\", function() { return PoolEventType; });\\\\n/** Pool event type. Specifies the type of each `PoolEvent`. */\\\\nvar PoolEventType;\\\\n(function (PoolEventType) {\\\\n PoolEventType[\\\\\\\"initialized\\\\\\\"] = \\\\\\\"initialized\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskCanceled\\\\\\\"] = \\\\\\\"taskCanceled\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskCompleted\\\\\\\"] = \\\\\\\"taskCompleted\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskFailed\\\\\\\"] = \\\\\\\"taskFailed\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskQueued\\\\\\\"] = \\\\\\\"taskQueued\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskQueueDrained\\\\\\\"] = \\\\\\\"taskQueueDrained\\\\\\\";\\\\n PoolEventType[\\\\\\\"taskStart\\\\\\\"] = \\\\\\\"taskStart\\\\\\\";\\\\n PoolEventType[\\\\\\\"terminated\\\\\\\"] = \\\\\\\"terminated\\\\\\\";\\\\n})(PoolEventType || (PoolEventType = {}));\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool-types.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/pool.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/pool.js ***!\\n \\\\******************************************************/\\n/*! exports provided: PoolEventType, Thread, Pool */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Pool\\\\\\\", function() { return Pool; });\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \\\\\\\"./node_modules/debug/src/index.js\\\\\\\");\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n/* harmony import */ var _ponyfills__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ponyfills */ \\\\\\\"./node_modules/threads/dist-esm/ponyfills.js\\\\\\\");\\\\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./implementation */ \\\\\\\"./node_modules/threads/dist-esm/master/implementation.js\\\\\\\");\\\\n/* harmony import */ var _pool_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pool-types */ \\\\\\\"./node_modules/threads/dist-esm/master/pool-types.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"PoolEventType\\\\\\\", function() { return _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"]; });\\\\n\\\\n/* harmony import */ var _thread__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./thread */ \\\\\\\"./node_modules/threads/dist-esm/master/thread.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return _thread__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"Thread\\\\\\\"]; });\\\\n\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nlet nextPoolID = 1;\\\\nfunction createArray(size) {\\\\n const array = [];\\\\n for (let index = 0; index < size; index++) {\\\\n array.push(index);\\\\n }\\\\n return array;\\\\n}\\\\nfunction delay(ms) {\\\\n return new Promise(resolve => setTimeout(resolve, ms));\\\\n}\\\\nfunction flatMap(array, mapper) {\\\\n return array.reduce((flattened, element) => [...flattened, ...mapper(element)], []);\\\\n}\\\\nfunction slugify(text) {\\\\n return text.replace(/\\\\\\\\W/g, \\\\\\\" \\\\\\\").trim().replace(/\\\\\\\\s+/g, \\\\\\\"-\\\\\\\");\\\\n}\\\\nfunction spawnWorkers(spawnWorker, count) {\\\\n return createArray(count).map(() => ({\\\\n init: spawnWorker(),\\\\n runningTasks: []\\\\n }));\\\\n}\\\\nclass WorkerPool {\\\\n constructor(spawnWorker, optionsOrSize) {\\\\n this.eventSubject = new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Subject\\\\\\\"]();\\\\n this.initErrors = [];\\\\n this.isClosing = false;\\\\n this.nextTaskID = 1;\\\\n this.taskQueue = [];\\\\n const options = typeof optionsOrSize === \\\\\\\"number\\\\\\\"\\\\n ? { size: optionsOrSize }\\\\n : optionsOrSize || {};\\\\n const { size = _implementation__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"defaultPoolSize\\\\\\\"] } = options;\\\\n this.debug = debug__WEBPACK_IMPORTED_MODULE_0___default()(`threads:pool:${slugify(options.name || String(nextPoolID++))}`);\\\\n this.options = options;\\\\n this.workers = spawnWorkers(spawnWorker, size);\\\\n this.eventObservable = Object(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"multicast\\\\\\\"])(observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Observable\\\\\\\"].from(this.eventSubject));\\\\n Promise.all(this.workers.map(worker => worker.init)).then(() => this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].initialized,\\\\n size: this.workers.length\\\\n }), error => {\\\\n this.debug(\\\\\\\"Error while initializing pool worker:\\\\\\\", error);\\\\n this.eventSubject.error(error);\\\\n this.initErrors.push(error);\\\\n });\\\\n }\\\\n findIdlingWorker() {\\\\n const { concurrency = 1 } = this.options;\\\\n return this.workers.find(worker => worker.runningTasks.length < concurrency);\\\\n }\\\\n runPoolTask(worker, task) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const workerID = this.workers.indexOf(worker) + 1;\\\\n this.debug(`Running task #${task.id} on worker #${workerID}...`);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskStart,\\\\n taskID: task.id,\\\\n workerID\\\\n });\\\\n try {\\\\n const returnValue = yield task.run(yield worker.init);\\\\n this.debug(`Task #${task.id} completed successfully`);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskCompleted,\\\\n returnValue,\\\\n taskID: task.id,\\\\n workerID\\\\n });\\\\n }\\\\n catch (error) {\\\\n this.debug(`Task #${task.id} failed`);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed,\\\\n taskID: task.id,\\\\n error,\\\\n workerID\\\\n });\\\\n }\\\\n });\\\\n }\\\\n run(worker, task) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const runPromise = (() => __awaiter(this, void 0, void 0, function* () {\\\\n const removeTaskFromWorkersRunningTasks = () => {\\\\n worker.runningTasks = worker.runningTasks.filter(someRunPromise => someRunPromise !== runPromise);\\\\n };\\\\n // Defer task execution by one tick to give handlers time to subscribe\\\\n yield delay(0);\\\\n try {\\\\n yield this.runPoolTask(worker, task);\\\\n }\\\\n finally {\\\\n removeTaskFromWorkersRunningTasks();\\\\n if (!this.isClosing) {\\\\n this.scheduleWork();\\\\n }\\\\n }\\\\n }))();\\\\n worker.runningTasks.push(runPromise);\\\\n });\\\\n }\\\\n scheduleWork() {\\\\n this.debug(`Attempt de-queueing a task in order to run it...`);\\\\n const availableWorker = this.findIdlingWorker();\\\\n if (!availableWorker)\\\\n return;\\\\n const nextTask = this.taskQueue.shift();\\\\n if (!nextTask) {\\\\n this.debug(`Task queue is empty`);\\\\n this.eventSubject.next({ type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueueDrained });\\\\n return;\\\\n }\\\\n this.run(availableWorker, nextTask);\\\\n }\\\\n taskCompletion(taskID) {\\\\n return new Promise((resolve, reject) => {\\\\n const eventSubscription = this.events().subscribe(event => {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskCompleted && event.taskID === taskID) {\\\\n eventSubscription.unsubscribe();\\\\n resolve(event.returnValue);\\\\n }\\\\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed && event.taskID === taskID) {\\\\n eventSubscription.unsubscribe();\\\\n reject(event.error);\\\\n }\\\\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].terminated) {\\\\n eventSubscription.unsubscribe();\\\\n reject(Error(\\\\\\\"Pool has been terminated before task was run.\\\\\\\"));\\\\n }\\\\n });\\\\n });\\\\n }\\\\n settled(allowResolvingImmediately = false) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const getCurrentlyRunningTasks = () => flatMap(this.workers, worker => worker.runningTasks);\\\\n const taskFailures = [];\\\\n const failureSubscription = this.eventObservable.subscribe(event => {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed) {\\\\n taskFailures.push(event.error);\\\\n }\\\\n });\\\\n if (this.initErrors.length > 0) {\\\\n return Promise.reject(this.initErrors[0]);\\\\n }\\\\n if (allowResolvingImmediately && this.taskQueue.length === 0) {\\\\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"allSettled\\\\\\\"])(getCurrentlyRunningTasks());\\\\n return taskFailures;\\\\n }\\\\n yield new Promise((resolve, reject) => {\\\\n const subscription = this.eventObservable.subscribe({\\\\n next(event) {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueueDrained) {\\\\n subscription.unsubscribe();\\\\n resolve(void 0);\\\\n }\\\\n },\\\\n error: reject // make a pool-wide error reject the completed() result promise\\\\n });\\\\n });\\\\n yield Object(_ponyfills__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"allSettled\\\\\\\"])(getCurrentlyRunningTasks());\\\\n failureSubscription.unsubscribe();\\\\n return taskFailures;\\\\n });\\\\n }\\\\n completed(allowResolvingImmediately = false) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n const settlementPromise = this.settled(allowResolvingImmediately);\\\\n const earlyExitPromise = new Promise((resolve, reject) => {\\\\n const subscription = this.eventObservable.subscribe({\\\\n next(event) {\\\\n if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueueDrained) {\\\\n subscription.unsubscribe();\\\\n resolve(settlementPromise);\\\\n }\\\\n else if (event.type === _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskFailed) {\\\\n subscription.unsubscribe();\\\\n reject(event.error);\\\\n }\\\\n },\\\\n error: reject // make a pool-wide error reject the completed() result promise\\\\n });\\\\n });\\\\n const errors = yield Promise.race([\\\\n settlementPromise,\\\\n earlyExitPromise\\\\n ]);\\\\n if (errors.length > 0) {\\\\n throw errors[0];\\\\n }\\\\n });\\\\n }\\\\n events() {\\\\n return this.eventObservable;\\\\n }\\\\n queue(taskFunction) {\\\\n const { maxQueuedJobs = Infinity } = this.options;\\\\n if (this.isClosing) {\\\\n throw Error(`Cannot schedule pool tasks after terminate() has been called.`);\\\\n }\\\\n if (this.initErrors.length > 0) {\\\\n throw this.initErrors[0];\\\\n }\\\\n const taskID = this.nextTaskID++;\\\\n const taskCompletion = this.taskCompletion(taskID);\\\\n taskCompletion.catch((error) => {\\\\n // Prevent unhandled rejections here as we assume the user will use\\\\n // `pool.completed()`, `pool.settled()` or `task.catch()` to handle errors\\\\n this.debug(`Task #${taskID} errored:`, error);\\\\n });\\\\n const task = {\\\\n id: taskID,\\\\n run: taskFunction,\\\\n cancel: () => {\\\\n if (this.taskQueue.indexOf(task) === -1)\\\\n return;\\\\n this.taskQueue = this.taskQueue.filter(someTask => someTask !== task);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskCanceled,\\\\n taskID: task.id\\\\n });\\\\n },\\\\n then: taskCompletion.then.bind(taskCompletion)\\\\n };\\\\n if (this.taskQueue.length >= maxQueuedJobs) {\\\\n throw Error(\\\\\\\"Maximum number of pool tasks queued. Refusing to queue another one.\\\\\\\\n\\\\\\\" +\\\\n \\\\\\\"This usually happens for one of two reasons: We are either at peak \\\\\\\" +\\\\n \\\\\\\"workload right now or some tasks just won't finish, thus blocking the pool.\\\\\\\");\\\\n }\\\\n this.debug(`Queueing task #${task.id}...`);\\\\n this.taskQueue.push(task);\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].taskQueued,\\\\n taskID: task.id\\\\n });\\\\n this.scheduleWork();\\\\n return task;\\\\n }\\\\n terminate(force) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n this.isClosing = true;\\\\n if (!force) {\\\\n yield this.completed(true);\\\\n }\\\\n this.eventSubject.next({\\\\n type: _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"].terminated,\\\\n remainingQueue: [...this.taskQueue]\\\\n });\\\\n this.eventSubject.complete();\\\\n yield Promise.all(this.workers.map((worker) => __awaiter(this, void 0, void 0, function* () { return _thread__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"Thread\\\\\\\"].terminate(yield worker.init); })));\\\\n });\\\\n }\\\\n}\\\\nWorkerPool.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"];\\\\n/**\\\\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\\\\n */\\\\nfunction PoolConstructor(spawnWorker, optionsOrSize) {\\\\n // The function exists only so we don't need to use `new` to create a pool (we still can, though).\\\\n // If the Pool is a class or not is an implementation detail that should not concern the user.\\\\n return new WorkerPool(spawnWorker, optionsOrSize);\\\\n}\\\\nPoolConstructor.EventType = _pool_types__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"PoolEventType\\\\\\\"];\\\\n/**\\\\n * Thread pool constructor. Creates a new pool and spawns its worker threads.\\\\n */\\\\nconst Pool = PoolConstructor;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/pool.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/spawn.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/spawn.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: spawn */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"spawn\\\\\\\", function() { return spawn; });\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! debug */ \\\\\\\"./node_modules/debug/src/index.js\\\\\\\");\\\\n/* harmony import */ var debug__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(debug__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony import */ var _promise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../promise */ \\\\\\\"./node_modules/threads/dist-esm/promise.js\\\\\\\");\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n/* harmony import */ var _types_master__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../types/master */ \\\\\\\"./node_modules/threads/dist-esm/types/master.js\\\\\\\");\\\\n/* harmony import */ var _invocation_proxy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./invocation-proxy */ \\\\\\\"./node_modules/threads/dist-esm/master/invocation-proxy.js\\\\\\\");\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\nconst debugMessages = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:messages\\\\\\\");\\\\nconst debugSpawn = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:spawn\\\\\\\");\\\\nconst debugThreadUtils = debug__WEBPACK_IMPORTED_MODULE_0___default()(\\\\\\\"threads:master:thread-utils\\\\\\\");\\\\nconst isInitMessage = (data) => data && data.type === \\\\\\\"init\\\\\\\";\\\\nconst isUncaughtErrorMessage = (data) => data && data.type === \\\\\\\"uncaughtError\\\\\\\";\\\\nconst initMessageTimeout = typeof process !== \\\\\\\"undefined\\\\\\\" && process.env.THREADS_WORKER_INIT_TIMEOUT\\\\n ? Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT, 10)\\\\n : 10000;\\\\nfunction withTimeout(promise, timeoutInMs, errorMessage) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n let timeoutHandle;\\\\n const timeout = new Promise((resolve, reject) => {\\\\n timeoutHandle = setTimeout(() => reject(Error(errorMessage)), timeoutInMs);\\\\n });\\\\n const result = yield Promise.race([\\\\n promise,\\\\n timeout\\\\n ]);\\\\n clearTimeout(timeoutHandle);\\\\n return result;\\\\n });\\\\n}\\\\nfunction receiveInitMessage(worker) {\\\\n return new Promise((resolve, reject) => {\\\\n const messageHandler = ((event) => {\\\\n debugMessages(\\\\\\\"Message from worker before finishing initialization:\\\\\\\", event.data);\\\\n if (isInitMessage(event.data)) {\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n resolve(event.data);\\\\n }\\\\n else if (isUncaughtErrorMessage(event.data)) {\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n reject(Object(_common__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"deserialize\\\\\\\"])(event.data.error));\\\\n }\\\\n });\\\\n worker.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n });\\\\n}\\\\nfunction createEventObservable(worker, workerTermination) {\\\\n return new observable_fns__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"Observable\\\\\\\"](observer => {\\\\n const messageHandler = ((messageEvent) => {\\\\n const workerEvent = {\\\\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].message,\\\\n data: messageEvent.data\\\\n };\\\\n observer.next(workerEvent);\\\\n });\\\\n const rejectionHandler = ((errorEvent) => {\\\\n debugThreadUtils(\\\\\\\"Unhandled promise rejection event in thread:\\\\\\\", errorEvent);\\\\n const workerEvent = {\\\\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].internalError,\\\\n error: Error(errorEvent.reason)\\\\n };\\\\n observer.next(workerEvent);\\\\n });\\\\n worker.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n worker.addEventListener(\\\\\\\"unhandledrejection\\\\\\\", rejectionHandler);\\\\n workerTermination.then(() => {\\\\n const terminationEvent = {\\\\n type: _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].termination\\\\n };\\\\n worker.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n worker.removeEventListener(\\\\\\\"unhandledrejection\\\\\\\", rejectionHandler);\\\\n observer.next(terminationEvent);\\\\n observer.complete();\\\\n });\\\\n });\\\\n}\\\\nfunction createTerminator(worker) {\\\\n const [termination, resolver] = Object(_promise__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"createPromiseWithResolver\\\\\\\"])();\\\\n const terminate = () => __awaiter(this, void 0, void 0, function* () {\\\\n debugThreadUtils(\\\\\\\"Terminating worker\\\\\\\");\\\\n // Newer versions of worker_threads workers return a promise\\\\n yield worker.terminate();\\\\n resolver();\\\\n });\\\\n return { terminate, termination };\\\\n}\\\\nfunction setPrivateThreadProps(raw, worker, workerEvents, terminate) {\\\\n const workerErrors = workerEvents\\\\n .filter(event => event.type === _types_master__WEBPACK_IMPORTED_MODULE_5__[\\\\\\\"WorkerEventType\\\\\\\"].internalError)\\\\n .map(errorEvent => errorEvent.error);\\\\n // tslint:disable-next-line prefer-object-spread\\\\n return Object.assign(raw, {\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$errors\\\\\\\"]]: workerErrors,\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$events\\\\\\\"]]: workerEvents,\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$terminate\\\\\\\"]]: terminate,\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"$worker\\\\\\\"]]: worker\\\\n });\\\\n}\\\\n/**\\\\n * Spawn a new thread. Takes a fresh worker instance, wraps it in a thin\\\\n * abstraction layer to provide the transparent API and verifies that\\\\n * the worker has initialized successfully.\\\\n *\\\\n * @param worker Instance of `Worker`. Either a web worker, `worker_threads` worker or `tiny-worker` worker.\\\\n * @param [options]\\\\n * @param [options.timeout] Init message timeout. Default: 10000 or set by environment variable.\\\\n */\\\\nfunction spawn(worker, options) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n debugSpawn(\\\\\\\"Initializing new thread\\\\\\\");\\\\n const timeout = options && options.timeout ? options.timeout : initMessageTimeout;\\\\n const initMessage = yield withTimeout(receiveInitMessage(worker), timeout, `Timeout: Did not receive an init message from worker after ${timeout}ms. Make sure the worker calls expose().`);\\\\n const exposed = initMessage.exposed;\\\\n const { termination, terminate } = createTerminator(worker);\\\\n const events = createEventObservable(worker, termination);\\\\n if (exposed.type === \\\\\\\"function\\\\\\\") {\\\\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"createProxyFunction\\\\\\\"])(worker);\\\\n return setPrivateThreadProps(proxy, worker, events, terminate);\\\\n }\\\\n else if (exposed.type === \\\\\\\"module\\\\\\\") {\\\\n const proxy = Object(_invocation_proxy__WEBPACK_IMPORTED_MODULE_6__[\\\\\\\"createProxyModule\\\\\\\"])(worker, exposed.methods);\\\\n return setPrivateThreadProps(proxy, worker, events, terminate);\\\\n }\\\\n else {\\\\n const type = exposed.type;\\\\n throw Error(`Worker init message states unexpected type of expose(): ${type}`);\\\\n }\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/spawn.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/master/thread.js\\\":\\n/*!********************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/master/thread.js ***!\\n \\\\********************************************************/\\n/*! exports provided: Thread */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Thread\\\\\\\", function() { return Thread; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n\\\\nfunction fail(message) {\\\\n throw Error(message);\\\\n}\\\\n/** Thread utility functions. Use them to manage or inspect a `spawn()`-ed thread. */\\\\nconst Thread = {\\\\n /** Return an observable that can be used to subscribe to all errors happening in the thread. */\\\\n errors(thread) {\\\\n return thread[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$errors\\\\\\\"]] || fail(\\\\\\\"Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise.\\\\\\\");\\\\n },\\\\n /** Return an observable that can be used to subscribe to internal events happening in the thread. Useful for debugging. */\\\\n events(thread) {\\\\n return thread[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$events\\\\\\\"]] || fail(\\\\\\\"Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise.\\\\\\\");\\\\n },\\\\n /** Terminate a thread. Remember to terminate every thread when you are done using it. */\\\\n terminate(thread) {\\\\n return thread[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$terminate\\\\\\\"]]();\\\\n }\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/master/thread.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/observable-promise.js\\\":\\n/*!*************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/observable-promise.js ***!\\n \\\\*************************************************************/\\n/*! exports provided: ObservablePromise */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"ObservablePromise\\\\\\\", function() { return ObservablePromise; });\\\\n/* harmony import */ var observable_fns__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! observable-fns */ \\\\\\\"./node_modules/observable-fns/dist.esm/index.js\\\\\\\");\\\\n\\\\nconst doNothing = () => undefined;\\\\nconst returnInput = (input) => input;\\\\nconst runDeferred = (fn) => Promise.resolve().then(fn);\\\\nfunction fail(error) {\\\\n throw error;\\\\n}\\\\nfunction isThenable(thing) {\\\\n return thing && typeof thing.then === \\\\\\\"function\\\\\\\";\\\\n}\\\\n/**\\\\n * Creates a hybrid, combining the APIs of an Observable and a Promise.\\\\n *\\\\n * It is used to proxy async process states when we are initially not sure\\\\n * if that async process will yield values once (-> Promise) or multiple\\\\n * times (-> Observable).\\\\n *\\\\n * Note that the observable promise inherits some of the observable's characteristics:\\\\n * The `init` function will be called *once for every time anyone subscribes to it*.\\\\n *\\\\n * If this is undesired, derive a hot observable from it using `makeHot()` and\\\\n * subscribe to that.\\\\n */\\\\nclass ObservablePromise extends observable_fns__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"Observable\\\\\\\"] {\\\\n constructor(init) {\\\\n super((originalObserver) => {\\\\n // tslint:disable-next-line no-this-assignment\\\\n const self = this;\\\\n const observer = Object.assign(Object.assign({}, originalObserver), { complete() {\\\\n originalObserver.complete();\\\\n self.onCompletion();\\\\n }, error(error) {\\\\n originalObserver.error(error);\\\\n self.onError(error);\\\\n },\\\\n next(value) {\\\\n originalObserver.next(value);\\\\n self.onNext(value);\\\\n } });\\\\n try {\\\\n this.initHasRun = true;\\\\n return init(observer);\\\\n }\\\\n catch (error) {\\\\n observer.error(error);\\\\n }\\\\n });\\\\n this.initHasRun = false;\\\\n this.fulfillmentCallbacks = [];\\\\n this.rejectionCallbacks = [];\\\\n this.firstValueSet = false;\\\\n this.state = \\\\\\\"pending\\\\\\\";\\\\n }\\\\n onNext(value) {\\\\n if (!this.firstValueSet) {\\\\n this.firstValue = value;\\\\n this.firstValueSet = true;\\\\n }\\\\n }\\\\n onError(error) {\\\\n this.state = \\\\\\\"rejected\\\\\\\";\\\\n this.rejection = error;\\\\n for (const onRejected of this.rejectionCallbacks) {\\\\n // Promisifying the call to turn errors into unhandled promise rejections\\\\n // instead of them failing sync and cancelling the iteration\\\\n runDeferred(() => onRejected(error));\\\\n }\\\\n }\\\\n onCompletion() {\\\\n this.state = \\\\\\\"fulfilled\\\\\\\";\\\\n for (const onFulfilled of this.fulfillmentCallbacks) {\\\\n // Promisifying the call to turn errors into unhandled promise rejections\\\\n // instead of them failing sync and cancelling the iteration\\\\n runDeferred(() => onFulfilled(this.firstValue));\\\\n }\\\\n }\\\\n then(onFulfilledRaw, onRejectedRaw) {\\\\n const onFulfilled = onFulfilledRaw || returnInput;\\\\n const onRejected = onRejectedRaw || fail;\\\\n let onRejectedCalled = false;\\\\n return new Promise((resolve, reject) => {\\\\n const rejectionCallback = (error) => {\\\\n if (onRejectedCalled)\\\\n return;\\\\n onRejectedCalled = true;\\\\n try {\\\\n resolve(onRejected(error));\\\\n }\\\\n catch (anotherError) {\\\\n reject(anotherError);\\\\n }\\\\n };\\\\n const fulfillmentCallback = (value) => {\\\\n try {\\\\n resolve(onFulfilled(value));\\\\n }\\\\n catch (error) {\\\\n rejectionCallback(error);\\\\n }\\\\n };\\\\n if (!this.initHasRun) {\\\\n this.subscribe({ error: rejectionCallback });\\\\n }\\\\n if (this.state === \\\\\\\"fulfilled\\\\\\\") {\\\\n return resolve(onFulfilled(this.firstValue));\\\\n }\\\\n if (this.state === \\\\\\\"rejected\\\\\\\") {\\\\n onRejectedCalled = true;\\\\n return resolve(onRejected(this.rejection));\\\\n }\\\\n this.fulfillmentCallbacks.push(fulfillmentCallback);\\\\n this.rejectionCallbacks.push(rejectionCallback);\\\\n });\\\\n }\\\\n catch(onRejected) {\\\\n return this.then(undefined, onRejected);\\\\n }\\\\n finally(onCompleted) {\\\\n const handler = onCompleted || doNothing;\\\\n return this.then((value) => {\\\\n handler();\\\\n return value;\\\\n }, () => handler());\\\\n }\\\\n static from(thing) {\\\\n if (isThenable(thing)) {\\\\n return new ObservablePromise(observer => {\\\\n const onFulfilled = (value) => {\\\\n observer.next(value);\\\\n observer.complete();\\\\n };\\\\n const onRejected = (error) => {\\\\n observer.error(error);\\\\n };\\\\n thing.then(onFulfilled, onRejected);\\\\n });\\\\n }\\\\n else {\\\\n return super.from(thing);\\\\n }\\\\n }\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/observable-promise.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/ponyfills.js\\\":\\n/*!****************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/ponyfills.js ***!\\n \\\\****************************************************/\\n/*! exports provided: allSettled */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"allSettled\\\\\\\", function() { return allSettled; });\\\\n// Based on \\\\nfunction allSettled(values) {\\\\n return Promise.all(values.map(item => {\\\\n const onFulfill = (value) => {\\\\n return { status: 'fulfilled', value };\\\\n };\\\\n const onReject = (reason) => {\\\\n return { status: 'rejected', reason };\\\\n };\\\\n const itemPromise = Promise.resolve(item);\\\\n try {\\\\n return itemPromise.then(onFulfill, onReject);\\\\n }\\\\n catch (error) {\\\\n return Promise.reject(error);\\\\n }\\\\n }));\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/ponyfills.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/promise.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/promise.js ***!\\n \\\\**************************************************/\\n/*! exports provided: createPromiseWithResolver */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"createPromiseWithResolver\\\\\\\", function() { return createPromiseWithResolver; });\\\\nconst doNothing = () => undefined;\\\\n/**\\\\n * Creates a new promise and exposes its resolver function.\\\\n * Use with care!\\\\n */\\\\nfunction createPromiseWithResolver() {\\\\n let alreadyResolved = false;\\\\n let resolvedTo;\\\\n let resolver = doNothing;\\\\n const promise = new Promise(resolve => {\\\\n if (alreadyResolved) {\\\\n resolve(resolvedTo);\\\\n }\\\\n else {\\\\n resolver = resolve;\\\\n }\\\\n });\\\\n const exposedResolver = (value) => {\\\\n alreadyResolved = true;\\\\n resolvedTo = value;\\\\n resolver(resolvedTo);\\\\n };\\\\n return [promise, exposedResolver];\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/promise.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/serializers.js\\\":\\n/*!******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/serializers.js ***!\\n \\\\******************************************************/\\n/*! exports provided: extendSerializer, DefaultSerializer */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"extendSerializer\\\\\\\", function() { return extendSerializer; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"DefaultSerializer\\\\\\\", function() { return DefaultSerializer; });\\\\nfunction extendSerializer(extend, implementation) {\\\\n const fallbackDeserializer = extend.deserialize.bind(extend);\\\\n const fallbackSerializer = extend.serialize.bind(extend);\\\\n return {\\\\n deserialize(message) {\\\\n return implementation.deserialize(message, fallbackDeserializer);\\\\n },\\\\n serialize(input) {\\\\n return implementation.serialize(input, fallbackSerializer);\\\\n }\\\\n };\\\\n}\\\\nconst DefaultErrorSerializer = {\\\\n deserialize(message) {\\\\n return Object.assign(Error(message.message), {\\\\n name: message.name,\\\\n stack: message.stack\\\\n });\\\\n },\\\\n serialize(error) {\\\\n return {\\\\n __error_marker: \\\\\\\"$$error\\\\\\\",\\\\n message: error.message,\\\\n name: error.name,\\\\n stack: error.stack\\\\n };\\\\n }\\\\n};\\\\nconst isSerializedError = (thing) => thing && typeof thing === \\\\\\\"object\\\\\\\" && \\\\\\\"__error_marker\\\\\\\" in thing && thing.__error_marker === \\\\\\\"$$error\\\\\\\";\\\\nconst DefaultSerializer = {\\\\n deserialize(message) {\\\\n if (isSerializedError(message)) {\\\\n return DefaultErrorSerializer.deserialize(message);\\\\n }\\\\n else {\\\\n return message;\\\\n }\\\\n },\\\\n serialize(input) {\\\\n if (input instanceof Error) {\\\\n return DefaultErrorSerializer.serialize(input);\\\\n }\\\\n else {\\\\n return input;\\\\n }\\\\n }\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/serializers.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/symbols.js\\\":\\n/*!**************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/symbols.js ***!\\n \\\\**************************************************/\\n/*! exports provided: $errors, $events, $terminate, $transferable, $worker */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$errors\\\\\\\", function() { return $errors; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$events\\\\\\\", function() { return $events; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$terminate\\\\\\\", function() { return $terminate; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$transferable\\\\\\\", function() { return $transferable; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"$worker\\\\\\\", function() { return $worker; });\\\\nconst $errors = Symbol(\\\\\\\"thread.errors\\\\\\\");\\\\nconst $events = Symbol(\\\\\\\"thread.events\\\\\\\");\\\\nconst $terminate = Symbol(\\\\\\\"thread.terminate\\\\\\\");\\\\nconst $transferable = Symbol(\\\\\\\"thread.transferable\\\\\\\");\\\\nconst $worker = Symbol(\\\\\\\"thread.worker\\\\\\\");\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/symbols.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/transferable.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/transferable.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: isTransferDescriptor, Transfer */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isTransferDescriptor\\\\\\\", function() { return isTransferDescriptor; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Transfer\\\\\\\", function() { return Transfer; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n\\\\nfunction isTransferable(thing) {\\\\n if (!thing || typeof thing !== \\\\\\\"object\\\\\\\")\\\\n return false;\\\\n // Don't check too thoroughly, since the list of transferable things in JS might grow over time\\\\n return true;\\\\n}\\\\nfunction isTransferDescriptor(thing) {\\\\n return thing && typeof thing === \\\\\\\"object\\\\\\\" && thing[_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$transferable\\\\\\\"]];\\\\n}\\\\nfunction Transfer(payload, transferables) {\\\\n if (!transferables) {\\\\n if (!isTransferable(payload))\\\\n throw Error();\\\\n transferables = [payload];\\\\n }\\\\n return {\\\\n [_symbols__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"$transferable\\\\\\\"]]: true,\\\\n send: payload,\\\\n transferables\\\\n };\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/transferable.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/types/master.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/types/master.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: WorkerEventType */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"WorkerEventType\\\\\\\", function() { return WorkerEventType; });\\\\n/* harmony import */ var _symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbols */ \\\\\\\"./node_modules/threads/dist-esm/symbols.js\\\\\\\");\\\\n/// \\\\n// tslint:disable max-classes-per-file\\\\n\\\\n/** Event as emitted by worker thread. Subscribe to using `Thread.events(thread)`. */\\\\nvar WorkerEventType;\\\\n(function (WorkerEventType) {\\\\n WorkerEventType[\\\\\\\"internalError\\\\\\\"] = \\\\\\\"internalError\\\\\\\";\\\\n WorkerEventType[\\\\\\\"message\\\\\\\"] = \\\\\\\"message\\\\\\\";\\\\n WorkerEventType[\\\\\\\"termination\\\\\\\"] = \\\\\\\"termination\\\\\\\";\\\\n})(WorkerEventType || (WorkerEventType = {}));\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/types/master.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/types/messages.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/types/messages.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: MasterMessageType, WorkerMessageType */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"MasterMessageType\\\\\\\", function() { return MasterMessageType; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"WorkerMessageType\\\\\\\", function() { return WorkerMessageType; });\\\\n/////////////////////////////\\\\n// Messages sent by master:\\\\nvar MasterMessageType;\\\\n(function (MasterMessageType) {\\\\n MasterMessageType[\\\\\\\"cancel\\\\\\\"] = \\\\\\\"cancel\\\\\\\";\\\\n MasterMessageType[\\\\\\\"run\\\\\\\"] = \\\\\\\"run\\\\\\\";\\\\n})(MasterMessageType || (MasterMessageType = {}));\\\\n////////////////////////////\\\\n// Messages sent by worker:\\\\nvar WorkerMessageType;\\\\n(function (WorkerMessageType) {\\\\n WorkerMessageType[\\\\\\\"error\\\\\\\"] = \\\\\\\"error\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"init\\\\\\\"] = \\\\\\\"init\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"result\\\\\\\"] = \\\\\\\"result\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"running\\\\\\\"] = \\\\\\\"running\\\\\\\";\\\\n WorkerMessageType[\\\\\\\"uncaughtError\\\\\\\"] = \\\\\\\"uncaughtError\\\\\\\";\\\\n})(WorkerMessageType || (WorkerMessageType = {}));\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/types/messages.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.browser.js\\\":\\n/*!************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.browser.js ***!\\n \\\\************************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/// \\\\n// tslint:disable no-shadowed-variable\\\\nconst isWorkerRuntime = function isWorkerRuntime() {\\\\n const isWindowContext = typeof self !== \\\\\\\"undefined\\\\\\\" && typeof Window !== \\\\\\\"undefined\\\\\\\" && self instanceof Window;\\\\n return typeof self !== \\\\\\\"undefined\\\\\\\" && self.postMessage && !isWindowContext ? true : false;\\\\n};\\\\nconst postMessageToMaster = function postMessageToMaster(data, transferList) {\\\\n self.postMessage(data, transferList);\\\\n};\\\\nconst subscribeToMasterMessages = function subscribeToMasterMessages(onMessage) {\\\\n const messageHandler = (messageEvent) => {\\\\n onMessage(messageEvent.data);\\\\n };\\\\n const unsubscribe = () => {\\\\n self.removeEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n };\\\\n self.addEventListener(\\\\\\\"message\\\\\\\", messageHandler);\\\\n return unsubscribe;\\\\n};\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = ({\\\\n isWorkerRuntime,\\\\n postMessageToMaster,\\\\n subscribeToMasterMessages\\\\n});\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.browser.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.js\\\":\\n/*!****************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.js ***!\\n \\\\****************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _implementation_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./implementation.browser */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.browser.js\\\\\\\");\\\\n/* harmony import */ var _implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./implementation.tiny-worker */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\\\\\");\\\\n/* harmony import */ var _implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1__);\\\\n/* harmony import */ var _implementation_worker_threads__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./implementation.worker_threads */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.worker_threads.js\\\\\\\");\\\\n// tslint:disable no-var-requires\\\\n/*\\\\n * This file is only a stub to make './implementation' resolve to the right module.\\\\n */\\\\n\\\\n\\\\n\\\\nconst runningInNode = typeof process !== 'undefined' && process.arch !== 'browser' && 'pid' in process;\\\\nfunction selectNodeImplementation() {\\\\n try {\\\\n _implementation_worker_threads__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"].testImplementation();\\\\n return _implementation_worker_threads__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"default\\\\\\\"];\\\\n }\\\\n catch (error) {\\\\n return _implementation_tiny_worker__WEBPACK_IMPORTED_MODULE_1___default.a;\\\\n }\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = (runningInNode\\\\n ? selectNodeImplementation()\\\\n : _implementation_browser__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"]);\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\":\\n/*!****************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js ***!\\n \\\\****************************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"module.exports = function() {\\\\n return __webpack_require__(/*! !./node_modules/worker-loader/dist/workers/InlineWorker.js */ \\\\\\\"./node_modules/worker-loader/dist/workers/InlineWorker.js\\\\\\\")(\\\\\\\"/******/ (function(modules) { // webpackBootstrap\\\\\\\\n/******/ \\\\\\\\t// The module cache\\\\\\\\n/******/ \\\\\\\\tvar installedModules = {};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// The require function\\\\\\\\n/******/ \\\\\\\\tfunction __webpack_require__(moduleId) {\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Check if module is in cache\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(installedModules[moduleId]) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\treturn installedModules[moduleId].exports;\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t}\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Create a new module (and put it into the cache)\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tvar module = installedModules[moduleId] = {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\ti: moduleId,\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tl: false,\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\texports: {}\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Execute the module function\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Flag the module as loaded\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tmodule.l = true;\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t// Return the exports of the module\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\treturn module.exports;\\\\\\\\n/******/ \\\\\\\\t}\\\\\\\\n/******/\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// expose the modules object (__webpack_modules__)\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.m = modules;\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// expose the module cache\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.c = installedModules;\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// define getter function for harmony exports\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.d = function(exports, name, getter) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(!__webpack_require__.o(exports, name)) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t}\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// define __esModule on exports\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.r = function(exports) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t}\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tObject.defineProperty(exports, '__esModule', { value: true });\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// create a fake namespace object\\\\\\\\n/******/ \\\\\\\\t// mode & 1: value is a module id, require it\\\\\\\\n/******/ \\\\\\\\t// mode & 2: merge all properties of value into the ns\\\\\\\\n/******/ \\\\\\\\t// mode & 4: return value when already ns object\\\\\\\\n/******/ \\\\\\\\t// mode & 8|1: behave like require\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.t = function(value, mode) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(mode & 1) value = __webpack_require__(value);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(mode & 8) return value;\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tvar ns = Object.create(null);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t__webpack_require__.r(ns);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\treturn ns;\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// getDefaultExport function for compatibility with non-harmony modules\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.n = function(module) {\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\tvar getter = module && module.__esModule ?\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tfunction getDefault() { return module['default']; } :\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t\\\\\\\\tfunction getModuleExports() { return module; };\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\t__webpack_require__.d(getter, 'a', getter);\\\\\\\\n/******/ \\\\\\\\t\\\\\\\\treturn getter;\\\\\\\\n/******/ \\\\\\\\t};\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// Object.prototype.hasOwnProperty.call\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// __webpack_public_path__\\\\\\\\n/******/ \\\\\\\\t__webpack_require__.p = \\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\";\\\\\\\\n/******/\\\\\\\\n/******/\\\\\\\\n/******/ \\\\\\\\t// Load entry module and return exports\\\\\\\\n/******/ \\\\\\\\treturn __webpack_require__(__webpack_require__.s = \\\\\\\\\\\\\\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\\\\\\\\\\\\\");\\\\\\\\n/******/ })\\\\\\\\n/************************************************************************/\\\\\\\\n/******/ ({\\\\\\\\n\\\\\\\\n/***/ \\\\\\\\\\\\\\\"./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js\\\\\\\\\\\\\\\":\\\\\\\\n/*!****************************************************************************!*\\\\\\\\\\\\\\\\\\\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js ***!\\\\\\\\n \\\\\\\\\\\\\\\\****************************************************************************/\\\\\\\\n/*! exports provided: default */\\\\\\\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\\\\\\\n\\\\\\\\n\\\\\\\\\\\\\\\"use strict\\\\\\\\\\\\\\\";\\\\\\\\neval(\\\\\\\\\\\\\\\"__webpack_require__.r(__webpack_exports__);\\\\\\\\\\\\\\\\n/// \\\\\\\\\\\\\\\\n// tslint:disable no-shadowed-variable\\\\\\\\\\\\\\\\nif (typeof self === \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"undefined\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\") {\\\\\\\\\\\\\\\\n global.self = global;\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\nconst isWorkerRuntime = function isWorkerRuntime() {\\\\\\\\\\\\\\\\n return typeof self !== \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"undefined\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" && self.postMessage ? true : false;\\\\\\\\\\\\\\\\n};\\\\\\\\\\\\\\\\nconst postMessageToMaster = function postMessageToMaster(data) {\\\\\\\\\\\\\\\\n // TODO: Warn that Transferables are not supported on first attempt to use feature\\\\\\\\\\\\\\\\n self.postMessage(data);\\\\\\\\\\\\\\\\n};\\\\\\\\\\\\\\\\nlet muxingHandlerSetUp = false;\\\\\\\\\\\\\\\\nconst messageHandlers = new Set();\\\\\\\\\\\\\\\\nconst subscribeToMasterMessages = function subscribeToMasterMessages(onMessage) {\\\\\\\\\\\\\\\\n if (!muxingHandlerSetUp) {\\\\\\\\\\\\\\\\n // We have one multiplexing message handler as tiny-worker's\\\\\\\\\\\\\\\\n // addEventListener() only allows you to set a single message handler\\\\\\\\\\\\\\\\n self.addEventListener(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", ((event) => {\\\\\\\\\\\\\\\\n messageHandlers.forEach(handler => handler(event.data));\\\\\\\\\\\\\\\\n }));\\\\\\\\\\\\\\\\n muxingHandlerSetUp = true;\\\\\\\\\\\\\\\\n }\\\\\\\\\\\\\\\\n messageHandlers.add(onMessage);\\\\\\\\\\\\\\\\n const unsubscribe = () => messageHandlers.delete(onMessage);\\\\\\\\\\\\\\\\n return unsubscribe;\\\\\\\\\\\\\\\\n};\\\\\\\\\\\\\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"] = ({\\\\\\\\\\\\\\\\n isWorkerRuntime,\\\\\\\\\\\\\\\\n postMessageToMaster,\\\\\\\\\\\\\\\\n subscribeToMasterMessages\\\\\\\\\\\\\\\\n});\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js?\\\\\\\\\\\\\\\");\\\\\\\\n\\\\\\\\n/***/ })\\\\\\\\n\\\\\\\\n/******/ });\\\\\\\", null);\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.tiny-worker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/implementation.worker_threads.js\\\":\\n/*!*******************************************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/implementation.worker_threads.js ***!\\n \\\\*******************************************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _worker_threads__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../worker_threads */ \\\\\\\"./node_modules/threads/dist-esm/worker_threads.js\\\\\\\");\\\\n\\\\nfunction assertMessagePort(port) {\\\\n if (!port) {\\\\n throw Error(\\\\\\\"Invariant violation: MessagePort to parent is not available.\\\\\\\");\\\\n }\\\\n return port;\\\\n}\\\\nconst isWorkerRuntime = function isWorkerRuntime() {\\\\n return !Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])().isMainThread;\\\\n};\\\\nconst postMessageToMaster = function postMessageToMaster(data, transferList) {\\\\n assertMessagePort(Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])().parentPort).postMessage(data, transferList);\\\\n};\\\\nconst subscribeToMasterMessages = function subscribeToMasterMessages(onMessage) {\\\\n const parentPort = Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])().parentPort;\\\\n if (!parentPort) {\\\\n throw Error(\\\\\\\"Invariant violation: MessagePort to parent is not available.\\\\\\\");\\\\n }\\\\n const messageHandler = (message) => {\\\\n onMessage(message);\\\\n };\\\\n const unsubscribe = () => {\\\\n assertMessagePort(parentPort).off(\\\\\\\"message\\\\\\\", messageHandler);\\\\n };\\\\n assertMessagePort(parentPort).on(\\\\\\\"message\\\\\\\", messageHandler);\\\\n return unsubscribe;\\\\n};\\\\nfunction testImplementation() {\\\\n // Will throw if `worker_threads` are not available\\\\n Object(_worker_threads__WEBPACK_IMPORTED_MODULE_0__[\\\\\\\"default\\\\\\\"])();\\\\n}\\\\n/* harmony default export */ __webpack_exports__[\\\\\\\"default\\\\\\\"] = ({\\\\n isWorkerRuntime,\\\\n postMessageToMaster,\\\\n subscribeToMasterMessages,\\\\n testImplementation\\\\n});\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/implementation.worker_threads.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker/index.js\\\":\\n/*!*******************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker/index.js ***!\\n \\\\*******************************************************/\\n/*! exports provided: registerSerializer, Transfer, isWorkerRuntime, expose */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"isWorkerRuntime\\\\\\\", function() { return isWorkerRuntime; });\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"expose\\\\\\\", function() { return expose; });\\\\n/* harmony import */ var is_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! is-observable */ \\\\\\\"./node_modules/is-observable/index.js\\\\\\\");\\\\n/* harmony import */ var is_observable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(is_observable__WEBPACK_IMPORTED_MODULE_0__);\\\\n/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common */ \\\\\\\"./node_modules/threads/dist-esm/common.js\\\\\\\");\\\\n/* harmony import */ var _transferable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../transferable */ \\\\\\\"./node_modules/threads/dist-esm/transferable.js\\\\\\\");\\\\n/* harmony import */ var _types_messages__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../types/messages */ \\\\\\\"./node_modules/threads/dist-esm/types/messages.js\\\\\\\");\\\\n/* harmony import */ var _implementation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./implementation */ \\\\\\\"./node_modules/threads/dist-esm/worker/implementation.js\\\\\\\");\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"registerSerializer\\\\\\\", function() { return _common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"registerSerializer\\\\\\\"]; });\\\\n\\\\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"Transfer\\\\\\\", function() { return _transferable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"Transfer\\\\\\\"]; });\\\\n\\\\nvar __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {\\\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\\\n return new (P || (P = Promise))(function (resolve, reject) {\\\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\\\n function rejected(value) { try { step(generator[\\\\\\\"throw\\\\\\\"](value)); } catch (e) { reject(e); } }\\\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\\\n });\\\\n};\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n\\\\n/** Returns `true` if this code is currently running in a worker. */\\\\nconst isWorkerRuntime = _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime;\\\\nlet exposeCalled = false;\\\\nconst activeSubscriptions = new Map();\\\\nconst isMasterJobCancelMessage = (thing) => thing && thing.type === _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"MasterMessageType\\\\\\\"].cancel;\\\\nconst isMasterJobRunMessage = (thing) => thing && thing.type === _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"MasterMessageType\\\\\\\"].run;\\\\n/**\\\\n * There are issues with `is-observable` not recognizing zen-observable's instances.\\\\n * We are using `observable-fns`, but it's based on zen-observable, too.\\\\n */\\\\nconst isObservable = (thing) => is_observable__WEBPACK_IMPORTED_MODULE_0___default()(thing) || isZenObservable(thing);\\\\nfunction isZenObservable(thing) {\\\\n return thing && typeof thing === \\\\\\\"object\\\\\\\" && typeof thing.subscribe === \\\\\\\"function\\\\\\\";\\\\n}\\\\nfunction deconstructTransfer(thing) {\\\\n return Object(_transferable__WEBPACK_IMPORTED_MODULE_2__[\\\\\\\"isTransferDescriptor\\\\\\\"])(thing)\\\\n ? { payload: thing.send, transferables: thing.transferables }\\\\n : { payload: thing, transferables: undefined };\\\\n}\\\\nfunction postFunctionInitMessage() {\\\\n const initMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].init,\\\\n exposed: {\\\\n type: \\\\\\\"function\\\\\\\"\\\\n }\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(initMessage);\\\\n}\\\\nfunction postModuleInitMessage(methodNames) {\\\\n const initMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].init,\\\\n exposed: {\\\\n type: \\\\\\\"module\\\\\\\",\\\\n methods: methodNames\\\\n }\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(initMessage);\\\\n}\\\\nfunction postJobErrorMessage(uid, rawError) {\\\\n const { payload: error, transferables } = deconstructTransfer(rawError);\\\\n const errorMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].error,\\\\n uid,\\\\n error: Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error)\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(errorMessage, transferables);\\\\n}\\\\nfunction postJobResultMessage(uid, completed, resultValue) {\\\\n const { payload, transferables } = deconstructTransfer(resultValue);\\\\n const resultMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].result,\\\\n uid,\\\\n complete: completed ? true : undefined,\\\\n payload\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(resultMessage, transferables);\\\\n}\\\\nfunction postJobStartMessage(uid, resultType) {\\\\n const startMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].running,\\\\n uid,\\\\n resultType\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(startMessage);\\\\n}\\\\nfunction postUncaughtErrorMessage(error) {\\\\n try {\\\\n const errorMessage = {\\\\n type: _types_messages__WEBPACK_IMPORTED_MODULE_3__[\\\\\\\"WorkerMessageType\\\\\\\"].uncaughtError,\\\\n error: Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error)\\\\n };\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].postMessageToMaster(errorMessage);\\\\n }\\\\n catch (subError) {\\\\n // tslint:disable-next-line no-console\\\\n console.error(\\\\\\\"Not reporting uncaught error back to master thread as it \\\\\\\" +\\\\n \\\\\\\"occured while reporting an uncaught error already.\\\\\\\" +\\\\n \\\\\\\"\\\\\\\\nLatest error:\\\\\\\", subError, \\\\\\\"\\\\\\\\nOriginal error:\\\\\\\", error);\\\\n }\\\\n}\\\\nfunction runFunction(jobUID, fn, args) {\\\\n return __awaiter(this, void 0, void 0, function* () {\\\\n let syncResult;\\\\n try {\\\\n syncResult = fn(...args);\\\\n }\\\\n catch (error) {\\\\n return postJobErrorMessage(jobUID, error);\\\\n }\\\\n const resultType = isObservable(syncResult) ? \\\\\\\"observable\\\\\\\" : \\\\\\\"promise\\\\\\\";\\\\n postJobStartMessage(jobUID, resultType);\\\\n if (isObservable(syncResult)) {\\\\n const subscription = syncResult.subscribe(value => postJobResultMessage(jobUID, false, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(value)), error => {\\\\n postJobErrorMessage(jobUID, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error));\\\\n activeSubscriptions.delete(jobUID);\\\\n }, () => {\\\\n postJobResultMessage(jobUID, true);\\\\n activeSubscriptions.delete(jobUID);\\\\n });\\\\n activeSubscriptions.set(jobUID, subscription);\\\\n }\\\\n else {\\\\n try {\\\\n const result = yield syncResult;\\\\n postJobResultMessage(jobUID, true, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(result));\\\\n }\\\\n catch (error) {\\\\n postJobErrorMessage(jobUID, Object(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"serialize\\\\\\\"])(error));\\\\n }\\\\n }\\\\n });\\\\n}\\\\n/**\\\\n * Expose a function or a module (an object whose values are functions)\\\\n * to the main thread. Must be called exactly once in every worker thread\\\\n * to signal its API to the main thread.\\\\n *\\\\n * @param exposed Function or object whose values are functions\\\\n */\\\\nfunction expose(exposed) {\\\\n if (!_implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime()) {\\\\n throw Error(\\\\\\\"expose() called in the master thread.\\\\\\\");\\\\n }\\\\n if (exposeCalled) {\\\\n throw Error(\\\\\\\"expose() called more than once. This is not possible. Pass an object to expose() if you want to expose multiple functions.\\\\\\\");\\\\n }\\\\n exposeCalled = true;\\\\n if (typeof exposed === \\\\\\\"function\\\\\\\") {\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].subscribeToMasterMessages(messageData => {\\\\n if (isMasterJobRunMessage(messageData) && !messageData.method) {\\\\n runFunction(messageData.uid, exposed, messageData.args.map(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"deserialize\\\\\\\"]));\\\\n }\\\\n });\\\\n postFunctionInitMessage();\\\\n }\\\\n else if (typeof exposed === \\\\\\\"object\\\\\\\" && exposed) {\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].subscribeToMasterMessages(messageData => {\\\\n if (isMasterJobRunMessage(messageData) && messageData.method) {\\\\n runFunction(messageData.uid, exposed[messageData.method], messageData.args.map(_common__WEBPACK_IMPORTED_MODULE_1__[\\\\\\\"deserialize\\\\\\\"]));\\\\n }\\\\n });\\\\n const methodNames = Object.keys(exposed).filter(key => typeof exposed[key] === \\\\\\\"function\\\\\\\");\\\\n postModuleInitMessage(methodNames);\\\\n }\\\\n else {\\\\n throw Error(`Invalid argument passed to expose(). Expected a function or an object, got: ${exposed}`);\\\\n }\\\\n _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].subscribeToMasterMessages(messageData => {\\\\n if (isMasterJobCancelMessage(messageData)) {\\\\n const jobUID = messageData.uid;\\\\n const subscription = activeSubscriptions.get(jobUID);\\\\n if (subscription) {\\\\n subscription.unsubscribe();\\\\n activeSubscriptions.delete(jobUID);\\\\n }\\\\n }\\\\n });\\\\n}\\\\nif (typeof self !== \\\\\\\"undefined\\\\\\\" && typeof self.addEventListener === \\\\\\\"function\\\\\\\" && _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime()) {\\\\n self.addEventListener(\\\\\\\"error\\\\\\\", event => {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(event.error || event), 250);\\\\n });\\\\n self.addEventListener(\\\\\\\"unhandledrejection\\\\\\\", event => {\\\\n const error = event.reason;\\\\n if (error && typeof error.message === \\\\\\\"string\\\\\\\") {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(error), 250);\\\\n }\\\\n });\\\\n}\\\\nif (typeof process !== \\\\\\\"undefined\\\\\\\" && typeof process.on === \\\\\\\"function\\\\\\\" && _implementation__WEBPACK_IMPORTED_MODULE_4__[\\\\\\\"default\\\\\\\"].isWorkerRuntime()) {\\\\n process.on(\\\\\\\"uncaughtException\\\\\\\", (error) => {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(error), 250);\\\\n });\\\\n process.on(\\\\\\\"unhandledRejection\\\\\\\", (error) => {\\\\n if (error && typeof error.message === \\\\\\\"string\\\\\\\") {\\\\n // Post with some delay, so the master had some time to subscribe to messages\\\\n setTimeout(() => postUncaughtErrorMessage(error), 250);\\\\n }\\\\n });\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/threads/dist-esm/worker_threads.js\\\":\\n/*!*********************************************************!*\\\\\\n !*** ./node_modules/threads/dist-esm/worker_threads.js ***!\\n \\\\*********************************************************/\\n/*! exports provided: default */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\\\\\"default\\\\\\\", function() { return getImplementation; });\\\\n// Webpack hack\\\\n// tslint:disable no-eval\\\\nlet implementation;\\\\nfunction selectImplementation() {\\\\n return typeof require === \\\\\\\"function\\\\\\\"\\\\n ? require(\\\\\\\"worker_threads\\\\\\\")\\\\n : eval(\\\\\\\"require\\\\\\\")(\\\\\\\"worker_threads\\\\\\\");\\\\n}\\\\nfunction getImplementation() {\\\\n if (!implementation) {\\\\n implementation = selectImplementation();\\\\n }\\\\n return implementation;\\\\n}\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/threads/dist-esm/worker_threads.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/through2/through2.js\\\":\\n/*!*******************************************!*\\\\\\n !*** ./node_modules/through2/through2.js ***!\\n \\\\*******************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"var Transform = __webpack_require__(/*! readable-stream */ \\\\\\\"./node_modules/readable-stream/readable.js\\\\\\\").Transform\\\\n , inherits = __webpack_require__(/*! inherits */ \\\\\\\"./node_modules/inherits/inherits.js\\\\\\\")\\\\n\\\\nfunction DestroyableTransform(opts) {\\\\n Transform.call(this, opts)\\\\n this._destroyed = false\\\\n}\\\\n\\\\ninherits(DestroyableTransform, Transform)\\\\n\\\\nDestroyableTransform.prototype.destroy = function(err) {\\\\n if (this._destroyed) return\\\\n this._destroyed = true\\\\n \\\\n var self = this\\\\n process.nextTick(function() {\\\\n if (err)\\\\n self.emit('error', err)\\\\n self.emit('close')\\\\n })\\\\n}\\\\n\\\\n// a noop _transform function\\\\nfunction noop (chunk, enc, callback) {\\\\n callback(null, chunk)\\\\n}\\\\n\\\\n\\\\n// create a new export function, used by both the main export and\\\\n// the .ctor export, contains common logic for dealing with arguments\\\\nfunction through2 (construct) {\\\\n return function (options, transform, flush) {\\\\n if (typeof options == 'function') {\\\\n flush = transform\\\\n transform = options\\\\n options = {}\\\\n }\\\\n\\\\n if (typeof transform != 'function')\\\\n transform = noop\\\\n\\\\n if (typeof flush != 'function')\\\\n flush = null\\\\n\\\\n return construct(options, transform, flush)\\\\n }\\\\n}\\\\n\\\\n\\\\n// main export, just make me a transform stream!\\\\nmodule.exports = through2(function (options, transform, flush) {\\\\n var t2 = new DestroyableTransform(options)\\\\n\\\\n t2._transform = transform\\\\n\\\\n if (flush)\\\\n t2._flush = flush\\\\n\\\\n return t2\\\\n})\\\\n\\\\n\\\\n// make me a reusable prototype that I can `new`, or implicitly `new`\\\\n// with a constructor call\\\\nmodule.exports.ctor = through2(function (options, transform, flush) {\\\\n function Through2 (override) {\\\\n if (!(this instanceof Through2))\\\\n return new Through2(override)\\\\n\\\\n this.options = Object.assign({}, options, override)\\\\n\\\\n DestroyableTransform.call(this, this.options)\\\\n }\\\\n\\\\n inherits(Through2, DestroyableTransform)\\\\n\\\\n Through2.prototype._transform = transform\\\\n\\\\n if (flush)\\\\n Through2.prototype._flush = flush\\\\n\\\\n return Through2\\\\n})\\\\n\\\\n\\\\nmodule.exports.obj = through2(function (options, transform, flush) {\\\\n var t2 = new DestroyableTransform(Object.assign({ objectMode: true, highWaterMark: 16 }, options))\\\\n\\\\n t2._transform = transform\\\\n\\\\n if (flush)\\\\n t2._flush = flush\\\\n\\\\n return t2\\\\n})\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/through2/through2.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/tiny-worker/lib/index.js\\\":\\n/*!***********************************************!*\\\\\\n !*** ./node_modules/tiny-worker/lib/index.js ***!\\n \\\\***********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"/* WEBPACK VAR INJECTION */(function(__dirname) {\\\\n\\\\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\\\\\\\"value\\\\\\\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\\\\n\\\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\\\\\"Cannot call a class as a function\\\\\\\"); } }\\\\n\\\\nvar path = __webpack_require__(/*! path */ \\\\\\\"path\\\\\\\"),\\\\n fork = __webpack_require__(/*! child_process */ \\\\\\\"child_process\\\\\\\").fork,\\\\n worker = path.join(__dirname, \\\\\\\"worker.js\\\\\\\"),\\\\n events = /^(error|message)$/,\\\\n defaultPorts = { inspect: 9229, debug: 5858 };\\\\nvar range = { min: 1, max: 300 };\\\\n\\\\nvar Worker = function () {\\\\n\\\\tfunction Worker(arg) {\\\\n\\\\t\\\\tvar _this = this;\\\\n\\\\n\\\\t\\\\tvar args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\\\\n\\\\t\\\\tvar options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { cwd: process.cwd() };\\\\n\\\\n\\\\t\\\\t_classCallCheck(this, Worker);\\\\n\\\\n\\\\t\\\\tvar isfn = typeof arg === \\\\\\\"function\\\\\\\",\\\\n\\\\t\\\\t input = isfn ? arg.toString() : arg;\\\\n\\\\n\\\\t\\\\tif (!options.cwd) {\\\\n\\\\t\\\\t\\\\toptions.cwd = process.cwd();\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t//get all debug related parameters\\\\n\\\\t\\\\tvar debugVars = process.execArgv.filter(function (execArg) {\\\\n\\\\t\\\\t\\\\treturn (/(debug|inspect)/.test(execArg)\\\\n\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t});\\\\n\\\\t\\\\tif (debugVars.length > 0 && !options.noDebugRedirection) {\\\\n\\\\t\\\\t\\\\tif (!options.execArgv) {\\\\n\\\\t\\\\t\\\\t\\\\t//if no execArgs are given copy all arguments\\\\n\\\\t\\\\t\\\\t\\\\tdebugVars = Array.from(process.execArgv);\\\\n\\\\t\\\\t\\\\t\\\\toptions.execArgv = [];\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tvar inspectIndex = debugVars.findIndex(function (debugArg) {\\\\n\\\\t\\\\t\\\\t\\\\t//get index of inspect parameter\\\\n\\\\t\\\\t\\\\t\\\\treturn (/^--inspect(-brk)?(=\\\\\\\\d+)?$/.test(debugArg)\\\\n\\\\t\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t\\\\tvar debugIndex = debugVars.findIndex(function (debugArg) {\\\\n\\\\t\\\\t\\\\t\\\\t//get index of debug parameter\\\\n\\\\t\\\\t\\\\t\\\\treturn (/^--debug(-brk)?(=\\\\\\\\d+)?$/.test(debugArg)\\\\n\\\\t\\\\t\\\\t\\\\t);\\\\n\\\\t\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\t\\\\tvar portIndex = inspectIndex >= 0 ? inspectIndex : debugIndex; //get index of port, inspect has higher priority\\\\n\\\\n\\\\t\\\\t\\\\tif (portIndex >= 0) {\\\\n\\\\t\\\\t\\\\t\\\\tvar match = /^--(debug|inspect)(?:-brk)?(?:=(\\\\\\\\d+))?$/.exec(debugVars[portIndex]); //get port\\\\n\\\\t\\\\t\\\\t\\\\tvar port = defaultPorts[match[1]];\\\\n\\\\t\\\\t\\\\t\\\\tif (match[2]) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tport = parseInt(match[2]);\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t\\\\tdebugVars[portIndex] = \\\\\\\"--\\\\\\\" + match[1] + \\\\\\\"=\\\\\\\" + (port + range.min + Math.floor(Math.random() * (range.max - range.min))); //new parameter\\\\n\\\\n\\\\t\\\\t\\\\t\\\\tif (debugIndex >= 0 && debugIndex !== portIndex) {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\t//remove \\\\\\\"-brk\\\\\\\" from debug if there\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tmatch = /^(--debug)(?:-brk)?(.*)/.exec(debugVars[debugIndex]);\\\\n\\\\t\\\\t\\\\t\\\\t\\\\tdebugVars[debugIndex] = match[1] + (match[2] ? match[2] : \\\\\\\"\\\\\\\");\\\\n\\\\t\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\toptions.execArgv = options.execArgv.concat(debugVars);\\\\n\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\tdelete options.noDebugRedirection;\\\\n\\\\n\\\\t\\\\tthis.child = fork(worker, args, options);\\\\n\\\\t\\\\tthis.onerror = undefined;\\\\n\\\\t\\\\tthis.onmessage = undefined;\\\\n\\\\n\\\\t\\\\tthis.child.on(\\\\\\\"error\\\\\\\", function (e) {\\\\n\\\\t\\\\t\\\\tif (_this.onerror) {\\\\n\\\\t\\\\t\\\\t\\\\t_this.onerror.call(_this, e);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\tthis.child.on(\\\\\\\"message\\\\\\\", function (msg) {\\\\n\\\\t\\\\t\\\\tvar message = JSON.parse(msg);\\\\n\\\\t\\\\t\\\\tvar error = void 0;\\\\n\\\\n\\\\t\\\\t\\\\tif (!message.error && _this.onmessage) {\\\\n\\\\t\\\\t\\\\t\\\\t_this.onmessage.call(_this, message);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\n\\\\t\\\\t\\\\tif (message.error && _this.onerror) {\\\\n\\\\t\\\\t\\\\t\\\\terror = new Error(message.error);\\\\n\\\\t\\\\t\\\\t\\\\terror.stack = message.stack;\\\\n\\\\n\\\\t\\\\t\\\\t\\\\t_this.onerror.call(_this, error);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t});\\\\n\\\\n\\\\t\\\\tthis.child.send({ input: input, isfn: isfn, cwd: options.cwd, esm: options.esm });\\\\n\\\\t}\\\\n\\\\n\\\\t_createClass(Worker, [{\\\\n\\\\t\\\\tkey: \\\\\\\"addEventListener\\\\\\\",\\\\n\\\\t\\\\tvalue: function addEventListener(event, fn) {\\\\n\\\\t\\\\t\\\\tif (events.test(event)) {\\\\n\\\\t\\\\t\\\\t\\\\tthis[\\\\\\\"on\\\\\\\" + event] = fn;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t}, {\\\\n\\\\t\\\\tkey: \\\\\\\"postMessage\\\\\\\",\\\\n\\\\t\\\\tvalue: function postMessage(msg) {\\\\n\\\\t\\\\t\\\\tthis.child.send(JSON.stringify({ data: msg }, null, 0));\\\\n\\\\t\\\\t}\\\\n\\\\t}, {\\\\n\\\\t\\\\tkey: \\\\\\\"terminate\\\\\\\",\\\\n\\\\t\\\\tvalue: function terminate() {\\\\n\\\\t\\\\t\\\\tthis.child.kill(\\\\\\\"SIGINT\\\\\\\");\\\\n\\\\t\\\\t}\\\\n\\\\t}], [{\\\\n\\\\t\\\\tkey: \\\\\\\"setRange\\\\\\\",\\\\n\\\\t\\\\tvalue: function setRange(min, max) {\\\\n\\\\t\\\\t\\\\tif (min >= max) {\\\\n\\\\t\\\\t\\\\t\\\\treturn false;\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t\\\\trange.min = min;\\\\n\\\\t\\\\t\\\\trange.max = max;\\\\n\\\\n\\\\t\\\\t\\\\treturn true;\\\\n\\\\t\\\\t}\\\\n\\\\t}]);\\\\n\\\\n\\\\treturn Worker;\\\\n}();\\\\n\\\\nmodule.exports = Worker;\\\\n\\\\n/* WEBPACK VAR INJECTION */}.call(this, \\\\\\\"/\\\\\\\"))\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/tiny-worker/lib/index.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/txml/tXml.js\\\":\\n/*!***********************************!*\\\\\\n !*** ./node_modules/txml/tXml.js ***!\\n \\\\***********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"// ==ClosureCompiler==\\\\n// @output_file_name default.js\\\\n// @compilation_level SIMPLE_OPTIMIZATIONS\\\\n// ==/ClosureCompiler==\\\\n\\\\n/**\\\\n * @author: Tobias Nickel\\\\n * @created: 06.04.2015\\\\n * I needed a small xmlparser chat can be used in a worker.\\\\n */\\\\n\\\\n/**\\\\n * @typedef tNode \\\\n * @property {string} tagName \\\\n * @property {object} [attributes] \\\\n * @property {tNode|string|number[]} children \\\\n **/\\\\n\\\\n/**\\\\n * parseXML / html into a DOM Object. with no validation and some failur tolerance\\\\n * @param {string} S your XML to parse\\\\n * @param options {object} all other options:\\\\n * searchId {string} the id of a single element, that should be returned. using this will increase the speed rapidly\\\\n * filter {function} filter method, as you know it from Array.filter. but is goes throw the DOM.\\\\n\\\\n * @return {tNode[]}\\\\n */\\\\nfunction tXml(S, options) {\\\\n \\\\\\\"use strict\\\\\\\";\\\\n options = options || {};\\\\n\\\\n var pos = options.pos || 0;\\\\n\\\\n var openBracket = \\\\\\\"<\\\\\\\";\\\\n var openBracketCC = \\\\\\\"<\\\\\\\".charCodeAt(0);\\\\n var closeBracket = \\\\\\\">\\\\\\\";\\\\n var closeBracketCC = \\\\\\\">\\\\\\\".charCodeAt(0);\\\\n var minus = \\\\\\\"-\\\\\\\";\\\\n var minusCC = \\\\\\\"-\\\\\\\".charCodeAt(0);\\\\n var slash = \\\\\\\"/\\\\\\\";\\\\n var slashCC = \\\\\\\"/\\\\\\\".charCodeAt(0);\\\\n var exclamation = '!';\\\\n var exclamationCC = '!'.charCodeAt(0);\\\\n var singleQuote = \\\\\\\"'\\\\\\\";\\\\n var singleQuoteCC = \\\\\\\"'\\\\\\\".charCodeAt(0);\\\\n var doubleQuote = '\\\\\\\"';\\\\n var doubleQuoteCC = '\\\\\\\"'.charCodeAt(0);\\\\n\\\\n /**\\\\n * parsing a list of entries\\\\n */\\\\n function parseChildren() {\\\\n var children = [];\\\\n while (S[pos]) {\\\\n if (S.charCodeAt(pos) == openBracketCC) {\\\\n if (S.charCodeAt(pos + 1) === slashCC) {\\\\n pos = S.indexOf(closeBracket, pos);\\\\n if (pos + 1) pos += 1\\\\n return children;\\\\n } else if (S.charCodeAt(pos + 1) === exclamationCC) {\\\\n if (S.charCodeAt(pos + 2) == minusCC) {\\\\n //comment support\\\\n while (pos !== -1 && !(S.charCodeAt(pos) === closeBracketCC && S.charCodeAt(pos - 1) == minusCC && S.charCodeAt(pos - 2) == minusCC && pos != -1)) {\\\\n pos = S.indexOf(closeBracket, pos + 1);\\\\n }\\\\n if (pos === -1) {\\\\n pos = S.length\\\\n }\\\\n } else {\\\\n // doctypesupport\\\\n pos += 2;\\\\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\\\\n pos++;\\\\n }\\\\n }\\\\n pos++;\\\\n continue;\\\\n }\\\\n var node = parseNode();\\\\n children.push(node);\\\\n } else {\\\\n var text = parseText()\\\\n if (text.trim().length > 0)\\\\n children.push(text);\\\\n pos++;\\\\n }\\\\n }\\\\n return children;\\\\n }\\\\n\\\\n /**\\\\n * returns the text outside of texts until the first '<'\\\\n */\\\\n function parseText() {\\\\n var start = pos;\\\\n pos = S.indexOf(openBracket, pos) - 1;\\\\n if (pos === -2)\\\\n pos = S.length;\\\\n return S.slice(start, pos + 1);\\\\n }\\\\n /**\\\\n * returns text until the first nonAlphebetic letter\\\\n */\\\\n var nameSpacer = '\\\\\\\\n\\\\\\\\t>/= ';\\\\n\\\\n function parseName() {\\\\n var start = pos;\\\\n while (nameSpacer.indexOf(S[pos]) === -1 && S[pos]) {\\\\n pos++;\\\\n }\\\\n return S.slice(start, pos);\\\\n }\\\\n /**\\\\n * is parsing a node, including tagName, Attributes and its children,\\\\n * to parse children it uses the parseChildren again, that makes the parsing recursive\\\\n */\\\\n var NoChildNodes = options.noChildNodes || ['img', 'br', 'input', 'meta', 'link'];\\\\n\\\\n function parseNode() {\\\\n pos++;\\\\n const tagName = parseName();\\\\n const attributes = {};\\\\n let children = [];\\\\n\\\\n // parsing attributes\\\\n while (S.charCodeAt(pos) !== closeBracketCC && S[pos]) {\\\\n var c = S.charCodeAt(pos);\\\\n if ((c > 64 && c < 91) || (c > 96 && c < 123)) {\\\\n //if('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'.indexOf(S[pos])!==-1 ){\\\\n var name = parseName();\\\\n // search beginning of the string\\\\n var code = S.charCodeAt(pos);\\\\n while (code && code !== singleQuoteCC && code !== doubleQuoteCC && !((code > 64 && code < 91) || (code > 96 && code < 123)) && code !== closeBracketCC) {\\\\n pos++;\\\\n code = S.charCodeAt(pos);\\\\n }\\\\n if (code === singleQuoteCC || code === doubleQuoteCC) {\\\\n var value = parseString();\\\\n if (pos === -1) {\\\\n return {\\\\n tagName,\\\\n attributes,\\\\n children,\\\\n };\\\\n }\\\\n } else {\\\\n value = null;\\\\n pos--;\\\\n }\\\\n attributes[name] = value;\\\\n }\\\\n pos++;\\\\n }\\\\n // optional parsing of children\\\\n if (S.charCodeAt(pos - 1) !== slashCC) {\\\\n if (tagName == \\\\\\\"script\\\\\\\") {\\\\n var start = pos + 1;\\\\n pos = S.indexOf('', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 9;\\\\n } else if (tagName == \\\\\\\"style\\\\\\\") {\\\\n var start = pos + 1;\\\\n pos = S.indexOf('', pos);\\\\n children = [S.slice(start, pos - 1)];\\\\n pos += 8;\\\\n } else if (NoChildNodes.indexOf(tagName) == -1) {\\\\n pos++;\\\\n children = parseChildren(name);\\\\n }\\\\n } else {\\\\n pos++;\\\\n }\\\\n return {\\\\n tagName,\\\\n attributes,\\\\n children,\\\\n };\\\\n }\\\\n\\\\n /**\\\\n * is parsing a string, that starts with a char and with the same usually ' or \\\\\\\"\\\\n */\\\\n\\\\n function parseString() {\\\\n var startChar = S[pos];\\\\n var startpos = ++pos;\\\\n pos = S.indexOf(startChar, startpos)\\\\n return S.slice(startpos, pos);\\\\n }\\\\n\\\\n /**\\\\n *\\\\n */\\\\n function findElements() {\\\\n var r = new RegExp('\\\\\\\\\\\\\\\\s' + options.attrName + '\\\\\\\\\\\\\\\\s*=[\\\\\\\\'\\\\\\\"]' + options.attrValue + '[\\\\\\\\'\\\\\\\"]').exec(S)\\\\n if (r) {\\\\n return r.index;\\\\n } else {\\\\n return -1;\\\\n }\\\\n }\\\\n\\\\n var out = null;\\\\n if (options.attrValue !== undefined) {\\\\n options.attrName = options.attrName || 'id';\\\\n var out = [];\\\\n\\\\n while ((pos = findElements()) !== -1) {\\\\n pos = S.lastIndexOf('<', pos);\\\\n if (pos !== -1) {\\\\n out.push(parseNode());\\\\n }\\\\n S = S.substr(pos);\\\\n pos = 0;\\\\n }\\\\n } else if (options.parseNode) {\\\\n out = parseNode()\\\\n } else {\\\\n out = parseChildren();\\\\n }\\\\n\\\\n if (options.filter) {\\\\n out = tXml.filter(out, options.filter);\\\\n }\\\\n\\\\n if (options.setPos) {\\\\n out.pos = pos;\\\\n }\\\\n\\\\n return out;\\\\n}\\\\n\\\\n/**\\\\n * transform the DomObject to an object that is like the object of PHPs simplexmp_load_*() methods.\\\\n * this format helps you to write that is more likely to keep your programm working, even if there a small changes in the XML schema.\\\\n * be aware, that it is not possible to reproduce the original xml from a simplified version, because the order of elements is not saved.\\\\n * therefore your programm will be more flexible and easyer to read.\\\\n *\\\\n * @param {tNode[]} children the childrenList\\\\n */\\\\ntXml.simplify = function simplify(children) {\\\\n var out = {};\\\\n if (!children.length) {\\\\n return '';\\\\n }\\\\n\\\\n if (children.length === 1 && typeof children[0] == 'string') {\\\\n return children[0];\\\\n }\\\\n // map each object\\\\n children.forEach(function(child) {\\\\n if (typeof child !== 'object') {\\\\n return;\\\\n }\\\\n if (!out[child.tagName])\\\\n out[child.tagName] = [];\\\\n var kids = tXml.simplify(child.children||[]);\\\\n out[child.tagName].push(kids);\\\\n if (child.attributes) {\\\\n kids._attributes = child.attributes;\\\\n }\\\\n });\\\\n\\\\n for (var i in out) {\\\\n if (out[i].length == 1) {\\\\n out[i] = out[i][0];\\\\n }\\\\n }\\\\n\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * behaves the same way as Array.filter, if the filter method return true, the element is in the resultList\\\\n * @params children{Array} the children of a node\\\\n * @param f{function} the filter method\\\\n */\\\\ntXml.filter = function(children, f) {\\\\n var out = [];\\\\n children.forEach(function(child) {\\\\n if (typeof(child) === 'object' && f(child)) out.push(child);\\\\n if (child.children) {\\\\n var kids = tXml.filter(child.children, f);\\\\n out = out.concat(kids);\\\\n }\\\\n });\\\\n return out;\\\\n};\\\\n\\\\n/**\\\\n * stringify a previously parsed string object.\\\\n * this is useful,\\\\n * 1. to remove whitespaces\\\\n * 2. to recreate xml data, with some changed data.\\\\n * @param {tNode} O the object to Stringify\\\\n */\\\\ntXml.stringify = function TOMObjToXML(O) {\\\\n var out = '';\\\\n\\\\n function writeChildren(O) {\\\\n if (O)\\\\n for (var i = 0; i < O.length; i++) {\\\\n if (typeof O[i] == 'string') {\\\\n out += O[i].trim();\\\\n } else {\\\\n writeNode(O[i]);\\\\n }\\\\n }\\\\n }\\\\n\\\\n function writeNode(N) {\\\\n out += \\\\\\\"<\\\\\\\" + N.tagName;\\\\n for (var i in N.attributes) {\\\\n if (N.attributes[i] === null) {\\\\n out += ' ' + i;\\\\n } else if (N.attributes[i].indexOf('\\\\\\\"') === -1) {\\\\n out += ' ' + i + '=\\\\\\\"' + N.attributes[i].trim() + '\\\\\\\"';\\\\n } else {\\\\n out += ' ' + i + \\\\\\\"='\\\\\\\" + N.attributes[i].trim() + \\\\\\\"'\\\\\\\";\\\\n }\\\\n }\\\\n out += '>';\\\\n writeChildren(N.children);\\\\n out += '';\\\\n }\\\\n writeChildren(O);\\\\n\\\\n return out;\\\\n};\\\\n\\\\n\\\\n/**\\\\n * use this method to read the textcontent, of some node.\\\\n * It is great if you have mixed content like:\\\\n * this text has some big text and a link\\\\n * @return {string}\\\\n */\\\\ntXml.toContentString = function(tDom) {\\\\n if (Array.isArray(tDom)) {\\\\n var out = '';\\\\n tDom.forEach(function(e) {\\\\n out += ' ' + tXml.toContentString(e);\\\\n out = out.trim();\\\\n });\\\\n return out;\\\\n } else if (typeof tDom === 'object') {\\\\n return tXml.toContentString(tDom.children)\\\\n } else {\\\\n return ' ' + tDom;\\\\n }\\\\n};\\\\n\\\\ntXml.getElementById = function(S, id, simplified) {\\\\n var out = tXml(S, {\\\\n attrValue: id\\\\n });\\\\n return simplified ? tXml.simplify(out) : out[0];\\\\n};\\\\n/**\\\\n * A fast parsing method, that not realy finds by classname,\\\\n * more: the class attribute contains XXX\\\\n * @param\\\\n */\\\\ntXml.getElementsByClassName = function(S, classname, simplified) {\\\\n const out = tXml(S, {\\\\n attrName: 'class',\\\\n attrValue: '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*' + classname + '[a-zA-Z0-9\\\\\\\\-\\\\\\\\s ]*'\\\\n });\\\\n return simplified ? tXml.simplify(out) : out;\\\\n};\\\\n\\\\ntXml.parseStream = function(stream, offset) {\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n if (typeof stream === 'string') {\\\\n var fs = __webpack_require__(/*! fs */ \\\\\\\"fs\\\\\\\");\\\\n stream = fs.createReadStream(stream, { start: offset });\\\\n offset = 0;\\\\n }\\\\n\\\\n var position = offset;\\\\n var data = '';\\\\n stream.on('data', function(chunk) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if(!position) {\\\\n position = lastPos;\\\\n return;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position-1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return;\\\\n } else {\\\\n stream.emit('xml', res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n });\\\\n stream.on('end', function() {\\\\n console.log('end')\\\\n });\\\\n return stream;\\\\n}\\\\n\\\\ntXml.transformStream = function (offset) {\\\\n // require through here, so it will not get added to webpack/browserify\\\\n const through2 = __webpack_require__(/*! through2 */ \\\\\\\"./node_modules/through2/through2.js\\\\\\\");\\\\n if (typeof offset === 'string') {\\\\n offset = offset.length + 2;\\\\n }\\\\n\\\\n var position = offset || 0;\\\\n var data = '';\\\\n const stream = through2({ readableObjectMode: true }, function (chunk, enc, callback) {\\\\n data += chunk;\\\\n var lastPos = 0;\\\\n do {\\\\n position = data.indexOf('<', position) + 1;\\\\n if (!position) {\\\\n position = lastPos;\\\\n return callback();;\\\\n }\\\\n if (data[position + 1] === '/') {\\\\n position = position + 1;\\\\n lastPos = pos;\\\\n continue;\\\\n }\\\\n var res = tXml(data, { pos: position - 1, parseNode: true, setPos: true });\\\\n position = res.pos;\\\\n if (position > (data.length - 1) || position < lastPos) {\\\\n data = data.slice(lastPos);\\\\n position = 0;\\\\n lastPos = 0;\\\\n return callback();;\\\\n } else {\\\\n this.push(res);\\\\n lastPos = position;\\\\n }\\\\n } while (1);\\\\n callback();\\\\n });\\\\n\\\\n return stream;\\\\n}\\\\n\\\\nif (true) {\\\\n module.exports = tXml;\\\\n tXml.xml = tXml;\\\\n}\\\\n//console.clear();\\\\n//console.log('here:',tXml.getElementById('dadavalue','test'));\\\\n//console.log('here:',tXml.getElementsByClassName('dadavalue','test'));\\\\n\\\\n/*\\\\nconsole.clear();\\\\ntXml(d,'content');\\\\n //some testCode\\\\nvar s = document.body.innerHTML.toLowerCase();\\\\nvar start = new Date().getTime();\\\\nvar o = tXml(s,'content');\\\\nvar end = new Date().getTime();\\\\n//console.log(JSON.stringify(o,undefined,'\\\\\\\\t'));\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end-start);\\\\nvar nodeCount=document.querySelectorAll('*').length;\\\\nconsole.log('node count',nodeCount);\\\\nconsole.log(\\\\\\\"speed:\\\\\\\",(1000/(end-start))*nodeCount,'Nodes / second')\\\\n//console.log(JSON.stringify(tXml('testPage

TestPage

this is a testpage

'),undefined,'\\\\\\\\t'));\\\\nvar p = new DOMParser();\\\\nvar s2=''+s+''\\\\nvar start2= new Date().getTime();\\\\nvar o2 = p.parseFromString(s2,'text/html').querySelector('#content')\\\\nvar end2=new Date().getTime();\\\\nconsole.log(\\\\\\\"MILLISECONDS\\\\\\\",end2-start2);\\\\n// */\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/txml/tXml.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/util-deprecate/node.js\\\":\\n/*!*********************************************!*\\\\\\n !*** ./node_modules/util-deprecate/node.js ***!\\n \\\\*********************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\neval(\\\"\\\\n/**\\\\n * For Node.js, simply re-export the core `util.deprecate` function.\\\\n */\\\\n\\\\nmodule.exports = __webpack_require__(/*! util */ \\\\\\\"util\\\\\\\").deprecate;\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/util-deprecate/node.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./node_modules/worker-loader/dist/workers/InlineWorker.js\\\":\\n/*!*****************************************************************!*\\\\\\n !*** ./node_modules/worker-loader/dist/workers/InlineWorker.js ***!\\n \\\\*****************************************************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\n// http://stackoverflow.com/questions/10343913/how-to-create-a-web-worker-from-a-string\\\\n\\\\nvar URL = window.URL || window.webkitURL;\\\\n\\\\nmodule.exports = function (content, url) {\\\\n try {\\\\n try {\\\\n var blob;\\\\n\\\\n try {\\\\n // BlobBuilder = Deprecated, but widely implemented\\\\n var BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder;\\\\n\\\\n blob = new BlobBuilder();\\\\n\\\\n blob.append(content);\\\\n\\\\n blob = blob.getBlob();\\\\n } catch (e) {\\\\n // The proposed API\\\\n blob = new Blob([content]);\\\\n }\\\\n\\\\n return new Worker(URL.createObjectURL(blob));\\\\n } catch (e) {\\\\n return new Worker('data:application/javascript,' + encodeURIComponent(content));\\\\n }\\\\n } catch (e) {\\\\n if (!url) {\\\\n throw Error('Inline worker is not supported');\\\\n }\\\\n\\\\n return new Worker(url);\\\\n }\\\\n};\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./node_modules/worker-loader/dist/workers/InlineWorker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/parseData.js\\\":\\n/*!**************************!*\\\\\\n !*** ./src/parseData.js ***!\\n \\\\**************************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nObject.defineProperty(exports, \\\\\\\"__esModule\\\\\\\", {\\\\n value: true\\\\n});\\\\n\\\\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\\\\\\\"return\\\\\\\"]) _i[\\\\\\\"return\\\\\\\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\\\\\\\"Invalid attempt to destructure non-iterable instance\\\\\\\"); } }; }();\\\\n\\\\nvar _typeof = typeof Symbol === \\\\\\\"function\\\\\\\" && typeof Symbol.iterator === \\\\\\\"symbol\\\\\\\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \\\\\\\"function\\\\\\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\\\\\\"symbol\\\\\\\" : typeof obj; };\\\\n\\\\nexports.default = parseData;\\\\n\\\\nvar _geotiff = __webpack_require__(/*! geotiff */ \\\\\\\"./node_modules/geotiff/src/geotiff.js\\\\\\\");\\\\n\\\\nvar _geotiffPalette = __webpack_require__(/*! geotiff-palette */ \\\\\\\"./node_modules/geotiff-palette/index.js\\\\\\\");\\\\n\\\\nvar _utils = __webpack_require__(/*! ./utils.js */ \\\\\\\"./src/utils.js\\\\\\\");\\\\n\\\\nfunction processResult(result, debug) {\\\\n var noDataValue = result.noDataValue;\\\\n var height = result.height;\\\\n var width = result.width;\\\\n\\\\n return new Promise(function (resolve, reject) {\\\\n result.maxs = [];\\\\n result.mins = [];\\\\n result.ranges = [];\\\\n\\\\n var max = void 0;var min = void 0;\\\\n\\\\n // console.log(\\\\\\\"starting to get min, max and ranges\\\\\\\");\\\\n for (var rasterIndex = 0; rasterIndex < result.numberOfRasters; rasterIndex++) {\\\\n var rows = result.values[rasterIndex];\\\\n if (debug) console.log('[georaster] rows:', rows);\\\\n\\\\n for (var rowIndex = 0; rowIndex < height; rowIndex++) {\\\\n var row = rows[rowIndex];\\\\n\\\\n for (var columnIndex = 0; columnIndex < width; columnIndex++) {\\\\n var value = row[columnIndex];\\\\n if (value != noDataValue && !isNaN(value)) {\\\\n if (typeof min === 'undefined' || value < min) min = value;else if (typeof max === 'undefined' || value > max) max = value;\\\\n }\\\\n }\\\\n }\\\\n\\\\n result.maxs.push(max);\\\\n result.mins.push(min);\\\\n result.ranges.push(max - min);\\\\n }\\\\n\\\\n resolve(result);\\\\n });\\\\n}\\\\n\\\\n/* We're not using async because trying to avoid dependency on babel's polyfill\\\\nThere can be conflicts when GeoRaster is used in another project that is also\\\\nusing @babel/polyfill */\\\\nfunction parseData(data, debug) {\\\\n return new Promise(function (resolve, reject) {\\\\n try {\\\\n if (debug) console.log('starting parseData with', data);\\\\n if (debug) console.log('\\\\\\\\tGeoTIFF:', typeof GeoTIFF === 'undefined' ? 'undefined' : _typeof(GeoTIFF));\\\\n\\\\n var result = {};\\\\n\\\\n var height = void 0,\\\\n width = void 0;\\\\n\\\\n if (data.rasterType === 'object') {\\\\n result.values = data.data;\\\\n result.height = height = data.metadata.height || result.values[0].length;\\\\n result.width = width = data.metadata.width || result.values[0][0].length;\\\\n result.pixelHeight = data.metadata.pixelHeight;\\\\n result.pixelWidth = data.metadata.pixelWidth;\\\\n result.projection = data.metadata.projection;\\\\n result.xmin = data.metadata.xmin;\\\\n result.ymax = data.metadata.ymax;\\\\n result.noDataValue = data.metadata.noDataValue;\\\\n result.numberOfRasters = result.values.length;\\\\n result.xmax = result.xmin + result.width * result.pixelWidth;\\\\n result.ymin = result.ymax - result.height * result.pixelHeight;\\\\n result._data = null;\\\\n resolve(processResult(result));\\\\n } else if (data.rasterType === 'geotiff') {\\\\n result._data = data.data;\\\\n\\\\n var initFunction = _geotiff.fromArrayBuffer;\\\\n if (data.sourceType === 'url') {\\\\n initFunction = _geotiff.fromUrl;\\\\n } else if (data.sourceType === 'Blob') {\\\\n initFunction = _geotiff.fromBlob;\\\\n }\\\\n\\\\n if (debug) console.log('data.rasterType is geotiff');\\\\n resolve(initFunction(data.data).then(function (geotiff) {\\\\n if (debug) console.log('geotiff:', geotiff);\\\\n return geotiff.getImage().then(function (image) {\\\\n try {\\\\n if (debug) console.log('image:', image);\\\\n\\\\n var fileDirectory = image.fileDirectory;\\\\n\\\\n var _ref = image.getGeoKeys() || {},\\\\n GeographicTypeGeoKey = _ref.GeographicTypeGeoKey,\\\\n ProjectedCSTypeGeoKey = _ref.ProjectedCSTypeGeoKey;\\\\n\\\\n result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey || data.metadata.projection;\\\\n if (debug) console.log('projection:', result.projection);\\\\n\\\\n result.height = height = image.getHeight();\\\\n if (debug) console.log('result.height:', result.height);\\\\n result.width = width = image.getWidth();\\\\n if (debug) console.log('result.width:', result.width);\\\\n\\\\n var _image$getResolution = image.getResolution(),\\\\n _image$getResolution2 = _slicedToArray(_image$getResolution, 2),\\\\n resolutionX = _image$getResolution2[0],\\\\n resolutionY = _image$getResolution2[1];\\\\n\\\\n result.pixelHeight = Math.abs(resolutionY);\\\\n result.pixelWidth = Math.abs(resolutionX);\\\\n\\\\n var _image$getOrigin = image.getOrigin(),\\\\n _image$getOrigin2 = _slicedToArray(_image$getOrigin, 2),\\\\n originX = _image$getOrigin2[0],\\\\n originY = _image$getOrigin2[1];\\\\n\\\\n result.xmin = originX;\\\\n result.xmax = result.xmin + width * result.pixelWidth;\\\\n result.ymax = originY;\\\\n result.ymin = result.ymax - height * result.pixelHeight;\\\\n\\\\n result.noDataValue = fileDirectory.GDAL_NODATA ? parseFloat(fileDirectory.GDAL_NODATA) : null;\\\\n\\\\n result.numberOfRasters = fileDirectory.SamplesPerPixel;\\\\n\\\\n if (fileDirectory.ColorMap) {\\\\n result.palette = (0, _geotiffPalette.getPalette)(image);\\\\n }\\\\n\\\\n if (data.sourceType !== 'url') {\\\\n return image.readRasters().then(function (rasters) {\\\\n result.values = rasters.map(function (valuesInOneDimension) {\\\\n return (0, _utils.unflatten)(valuesInOneDimension, { height: height, width: width });\\\\n });\\\\n return processResult(result);\\\\n });\\\\n } else {\\\\n return result;\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n }));\\\\n }\\\\n } catch (error) {\\\\n reject(error);\\\\n console.error('[georaster] error parsing georaster:', error);\\\\n }\\\\n });\\\\n}\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/parseData.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/utils.js\\\":\\n/*!**********************!*\\\\\\n !*** ./src/utils.js ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"\\\\n\\\\nfunction countIn1D(array) {\\\\n return array.reduce(function (counts, value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\nfunction countIn2D(rows) {\\\\n return rows.reduce(function (counts, values) {\\\\n values.forEach(function (value) {\\\\n if (counts[value] === undefined) {\\\\n counts[value] = 1;\\\\n } else {\\\\n counts[value]++;\\\\n }\\\\n });\\\\n return counts;\\\\n }, {});\\\\n}\\\\n\\\\n/*\\\\nTakes in a flattened one dimensional array\\\\nrepresenting two-dimensional pixel values\\\\nand returns an array of arrays.\\\\n*/\\\\nfunction unflatten(valuesInOneDimension, size) {\\\\n var height = size.height,\\\\n width = size.width;\\\\n\\\\n var valuesInTwoDimensions = [];\\\\n for (var y = 0; y < height; y++) {\\\\n var start = y * width;\\\\n var end = start + width;\\\\n valuesInTwoDimensions.push(valuesInOneDimension.slice(start, end));\\\\n }\\\\n return valuesInTwoDimensions;\\\\n}\\\\n\\\\nmodule.exports = { countIn1D: countIn1D, countIn2D: countIn2D, unflatten: unflatten };\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/utils.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"./src/worker.js\\\":\\n/*!***********************!*\\\\\\n !*** ./src/worker.js ***!\\n \\\\***********************/\\n/*! no exports provided */\\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\\n\\n\\\"use strict\\\";\\neval(\\\"__webpack_require__.r(__webpack_exports__);\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parseData.js */ \\\\\\\"./src/parseData.js\\\\\\\");\\\\n/* harmony import */ var _parseData_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_parseData_js__WEBPACK_IMPORTED_MODULE_0__);\\\\n\\\\n\\\\n// this is a bit of a hack to trick geotiff to work with web worker\\\\n// eslint-disable-next-line no-unused-vars\\\\nconst window = self;\\\\n\\\\nonmessage = e => {\\\\n const data = e.data;\\\\n _parseData_js__WEBPACK_IMPORTED_MODULE_0___default()(data).then(result => {\\\\n if (result._data instanceof ArrayBuffer) {\\\\n postMessage(result, [result._data]);\\\\n } else {\\\\n postMessage(result);\\\\n }\\\\n close();\\\\n });\\\\n};\\\\n\\\\n\\\\n//# sourceURL=webpack://GeoRaster/./src/worker.js?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"buffer\\\":\\n/*!*************************!*\\\\\\n !*** external \\\"buffer\\\" ***!\\n \\\\*************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"buffer\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22buffer%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"child_process\\\":\\n/*!********************************!*\\\\\\n !*** external \\\"child_process\\\" ***!\\n \\\\********************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"child_process\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22child_process%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"events\\\":\\n/*!*************************!*\\\\\\n !*** external \\\"events\\\" ***!\\n \\\\*************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"events\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22events%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"fs\\\":\\n/*!*********************!*\\\\\\n !*** external \\\"fs\\\" ***!\\n \\\\*********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"fs\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22fs%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"http\\\":\\n/*!***********************!*\\\\\\n !*** external \\\"http\\\" ***!\\n \\\\***********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"http\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22http%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"https\\\":\\n/*!************************!*\\\\\\n !*** external \\\"https\\\" ***!\\n \\\\************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"https\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22https%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"os\\\":\\n/*!*********************!*\\\\\\n !*** external \\\"os\\\" ***!\\n \\\\*********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"os\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22os%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"path\\\":\\n/*!***********************!*\\\\\\n !*** external \\\"path\\\" ***!\\n \\\\***********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"path\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22path%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"stream\\\":\\n/*!*************************!*\\\\\\n !*** external \\\"stream\\\" ***!\\n \\\\*************************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"stream\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22stream%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"tty\\\":\\n/*!**********************!*\\\\\\n !*** external \\\"tty\\\" ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"tty\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22tty%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"url\\\":\\n/*!**********************!*\\\\\\n !*** external \\\"url\\\" ***!\\n \\\\**********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"url\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22url%22?\\\");\\n\\n/***/ }),\\n\\n/***/ \\\"util\\\":\\n/*!***********************!*\\\\\\n !*** external \\\"util\\\" ***!\\n \\\\***********************/\\n/*! no static exports found */\\n/***/ (function(module, exports) {\\n\\neval(\\\"module.exports = require(\\\\\\\"util\\\\\\\");\\\\n\\\\n//# sourceURL=webpack://GeoRaster/external_%22util%22?\\\");\\n\\n/***/ })\\n\\n/******/ });\",null);};\n\n//# sourceURL=webpack://GeoRaster/./src/worker.js?"); /***/ }), @@ -1497,6 +1630,17 @@ eval("module.exports = require(\"path\");\n\n//# sourceURL=webpack://GeoRaster/e /***/ }), +/***/ "punycode": +/*!***************************!*\ + !*** external "punycode" ***! + \***************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = require(\"punycode\");\n\n//# sourceURL=webpack://GeoRaster/external_%22punycode%22?"); + +/***/ }), + /***/ "stream": /*!*************************!*\ !*** external "stream" ***! diff --git a/dist/georaster.bundle.min.js b/dist/georaster.bundle.min.js index 2f7fadb..c44e9cb 100644 --- a/dist/georaster.bundle.min.js +++ b/dist/georaster.bundle.min.js @@ -1 +1,3 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.GeoRaster=t():e.GeoRaster=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=43)}([function(e,t){e.exports=require("stream")},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return a}));const n=Symbol("thread.errors"),i=Symbol("thread.events"),o=Symbol("thread.terminate"),s=Symbol("thread.transferable"),a=Symbol("thread.worker")},function(e,t){e.exports=require("url")},function(e,t,r){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(69):e.exports=r(71)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e};function o(e){return i.deserialize(e)}function s(e){return i.serialize(e)}},function(e,t){e.exports=require("zlib")},function(e,t,r){try{var n=r(13);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(52)}},function(e,t,r){"use strict";var n=r(17),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var o=Object.create(r(12));o.inherits=r(6);var s=r(26),a=r(29);o.inherits(f,s);for(var c=i(a.prototype),l=0;l/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e);function c(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let l;function u(){return l||(l=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn't support workers in workers.")}};class e extends Worker{constructor(e,t){var r,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!a(e)&&o().match(/^file:\/\//i)&&(e=new URL(e,o().replace(/\/[^\/]+$/,"/")),(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=c(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&a(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=c(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,r){const n=new window.Blob([e],{type:"text/javascript"});return new t(n,r)}}return{blob:t,default:e}}()),l}function f(){const e="undefined"!=typeof self&&"undefined"!=typeof Window&&self instanceof Window;return!("undefined"==typeof self||!self.postMessage||e)}var h=r(38);const d="undefined"!=typeof process&&"browser"!==process.arch&&"pid"in process?h:n,p=d.defaultPoolSize,g=d.getWorkerImplementation;d.isWorkerRuntime},function(e,t){e.exports=require("http")},function(e,t){e.exports=require("path")},function(e,t,r){"use strict";var n,i;r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(n||(n={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(15).Buffer.isBuffer},function(e,t){e.exports=require("util")},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1);function i(e){throw Error(e)}const o={errors:e=>e[n.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[n.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[n.c]()}},function(e,t){e.exports=require("buffer")},function(e,t){e.exports=require("fs")},function(e,t,r){"use strict";"undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,s=arguments.length;switch(s){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function(){e.call(null,t)}));case 3:return process.nextTick((function(){e.call(null,t,r)}));case 4:return process.nextTick((function(){e.call(null,t,r,n)}));default:for(i=new Array(s-1),o=0;o"function"==typeof Symbol,i=e=>n()&&Boolean(Symbol[e]),o=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const s=o("iterator"),a=o("observable"),c=o("species");function l(e,t){const r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function u(e){let t=e.constructor;return void 0!==t&&(t=t[c],null===t&&(t=void 0)),void 0!==t?t:w}function f(e){f.log?f.log(e):setTimeout(()=>{throw e},0)}function h(e){Promise.resolve().then(()=>{try{e()}catch(e){f(e)}})}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=l(t,"unsubscribe");e&&e.call(t)}}catch(e){f(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";const n=e._observer;try{const i=n?l(n,t):void 0;switch(t){case"next":i&&i.call(n,r);break;case"error":if(p(e),!i)throw r;i.call(n,r);break;case"complete":p(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:r})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void h(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const r of t)if(g(e,r.type,r.value),"closed"===e._state)break}}(e))):void g(e,t,r)}class b{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const r=new y(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class y{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){m(this._subscription,"next",e)}error(e){m(this._subscription,"error",e)}complete(){m(this._subscription,"complete")}}class w{constructor(e){if(!(this instanceof w))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,r){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:r}),new b(e,this._subscriber)}pipe(e,...t){let r=this;for(const n of[e,...t])r=n(r);return r}tap(e,t,r){const n="object"!=typeof e||null===e?{next:e,error:t,complete:r}:e;return new w(e=>this.subscribe({next(t){n.next&&n.next(t),e.next(t)},error(t){n.error&&n.error(t),e.error(t)},complete(){n.complete&&n.complete(),e.complete()},start(e){n.start&&n.start(e)}}))}forEach(e){return new Promise((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function n(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,n)}catch(e){r(e),i.unsubscribe()}},error(e){r(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))(t=>this.subscribe({next(r){let n=r;try{n=e(r)}catch(e){return t.error(e)}t.next(n)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))(t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const r=u(this),n=arguments.length>1;let i=!1,o=t;return new r(t=>this.subscribe({next(r){const s=!i;if(i=!0,!s||n)try{o=e(o,r)}catch(e){return t.error(e)}else o=r},error(e){t.error(e)},complete(){if(!i&&!n)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(o),t.complete()}}))}concat(...e){const t=u(this);return new t(r=>{let n,i=0;return function o(s){n=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){i===e.length?(n=void 0,r.complete()):o(t.from(e[i++]))}})}(this),()=>{n&&(n.unsubscribe(),n=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=u(this);return new t(r=>{const n=[],i=this.subscribe({next(i){let s;if(e)try{s=e(i)}catch(e){return r.error(e)}else s=i;const a=t.from(s).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){const e=n.indexOf(a);e>=0&&n.splice(e,1),o()}});n.push(a)},error(e){r.error(e)},complete(){o()}});function o(){i.closed&&0===n.length&&r.complete()}return()=>{n.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,a)](){return this}static from(e){const t="function"==typeof this?this:w;if(null==e)throw new TypeError(e+" is not an object");const r=l(e,a);if(r){const n=r.call(e);if(Object(n)!==n)throw new TypeError(n+" is not an object");return function(e){return e instanceof w}(n)&&n.constructor===t?n:new t(e=>n.subscribe(e))}if(i("iterator")){const r=l(e,s);if(r)return new t(t=>{h(()=>{if(!t.closed){for(const n of r.call(e))if(t.next(n),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:w)(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})})}static get[c](){return this}}n()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:a,hostReportError:f},configurable:!0});t.a=w},,function(e,t){e.exports=require("events")},function(e,t,r){"use strict";r.d(t,"a",(function(){return A}));var n=r(3),i=r.n(n),o=r(21),s=r(4);const a=()=>{};var c,l=r(1);!function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(c||(c={}));var u=r(79);const f=()=>{},h=e=>e,d=e=>Promise.resolve().then(e);function p(e){throw e}class g extends o.a{constructor(e){super(t=>{const r=this,n=Object.assign(Object.assign({},t),{complete(){t.complete(),r.onCompletion()},error(e){t.error(e),r.onError(e)},next(e){t.next(e),r.onNext(e)}});try{return this.initHasRun=!0,e(n)}catch(e){n.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)d(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)d(()=>e(this.firstValue))}then(e,t){const r=e||h,n=t||p;let i=!1;return new Promise((e,t)=>{const o=r=>{if(!i){i=!0;try{e(n(r))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:o}),"fulfilled"===this.state?e(r(this.firstValue)):"rejected"===this.state?(i=!0,e(n(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(r(t))}catch(e){o(e)}}),void this.rejectionCallbacks.push(o))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||f;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new g(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var m=r(42),b=r(11);const y=i()("threads:master:messages");let w=1;function v(e,t){return new o.a(r=>{let n;const i=o=>{var a;if(y("Message from worker:",o.data),o.data&&o.data.uid===t)if((a=o.data)&&a.type===b.b.running)n=o.data.resultType;else if((e=>e&&e.type===b.b.result)(o.data))"promise"===n?(void 0!==o.data.payload&&r.next(Object(s.a)(o.data.payload)),r.complete(),e.removeEventListener("message",i)):(o.data.payload&&r.next(Object(s.a)(o.data.payload)),o.data.complete&&(r.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===b.b.error)(o.data)){const t=Object(s.a)(o.data.error);r.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===n||!n){const r={type:b.a.cancel,uid:t};e.postMessage(r)}e.removeEventListener("message",i)}})}function _(e,t){return(...r)=>{const n=w++,{args:i,transferables:o}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],r=[];for(const n of e)Object(m.a)(n)?(t.push(Object(s.b)(n.send)),r.push(...n.transferables)):t.push(Object(s.b)(n));return{args:t,transferables:0===r.length?r:(n=r,Array.from(new Set(n)))};var n}(r),a={type:b.a.run,uid:n,method:t,args:i};y("Sending command to run function to worker:",a);try{e.postMessage(a,o)}catch(e){return g.from(Promise.reject(e))}return g.from(Object(u.a)(v(e,n)))}}var k=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};const S=i()("threads:master:messages"),x=i()("threads:master:spawn"),E=i()("threads:master:thread-utils"),C="undefined"!=typeof process&&process.env.THREADS_WORKER_INIT_TIMEOUT?Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT,10):1e4;function T(e){const[t,r]=function(){let e,t=!1,r=a;return[new Promise(n=>{t?n(e):r=n}),n=>{t=!0,e=n,r(e)}]}();return{terminate:()=>k(this,void 0,void 0,(function*(){E("Terminating worker"),yield e.terminate(),r()})),termination:t}}function O(e,t,r,n){const i=r.filter(e=>e.type===c.internalError).map(e=>e.error);return Object.assign(e,{[l.a]:i,[l.b]:r,[l.c]:n,[l.e]:t})}function A(e,t){return k(this,void 0,void 0,(function*(){x("Initializing new thread");const r=t&&t.timeout?t.timeout:C,n=(yield function(e,t,r){return k(this,void 0,void 0,(function*(){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>i(Error(r)),t)}),o=yield Promise.race([e,i]);return clearTimeout(n),o}))}(function(e){return new Promise((t,r)=>{const n=i=>{var o;S("Message from worker before finishing initialization:",i.data),(o=i.data)&&"init"===o.type?(e.removeEventListener("message",n),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",n),r(Object(s.a)(i.data.error)))};e.addEventListener("message",n)})}(e),r,`Timeout: Did not receive an init message from worker after ${r}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:a}=T(e),l=function(e,t){return new o.a(r=>{const n=e=>{const t={type:c.message,data:e.data};r.next(t)},i=e=>{E("Unhandled promise rejection event in thread:",e);const t={type:c.internalError,error:Error(e.reason)};r.next(t)};e.addEventListener("message",n),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:c.termination};e.removeEventListener("message",n),e.removeEventListener("unhandledrejection",i),r.next(t),r.complete()})})}(e,i);if("function"===n.type){return O(_(e),e,l,a)}if("module"===n.type){return O(function(e,t){const r={};for(const n of t)r[n]=_(e,n);return r}(e,n.methods),e,l,a)}{const e=n.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n=r(3),i=r.n(n),o=r(41),s=r(79),a=r(21);function c(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}}))}var l,u=r(8);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(l||(l={}));var f=r(14),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new o.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const r="number"==typeof t?{size:t}:t||{},{size:n=u.a}=r;this.debug=i()("threads:pool:"+(r.name||String(d++)).replace(/\W/g," ").trim().replace(/\s+/g,"-")),this.options=r,this.workers=function(e,t){return function(e){const t=[];for(let r=0;r({init:e(),runningTasks:[]}))}(e,n),this.eventObservable=Object(s.a)(a.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:l.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthh(this,void 0,void 0,(function*(){var n;yield(n=0,new Promise(e=>setTimeout(e,n)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==r),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(r)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:l.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,r)=>{const n=this.events().subscribe(i=>{i.type===l.taskCompleted&&i.taskID===e?(n.unsubscribe(),t(i.returnValue)):i.type===l.taskFailed&&i.taskID===e?(n.unsubscribe(),r(i.error)):i.type===l.terminated&&(n.unsubscribe(),r(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return h(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,r)=>[...e,...t(r)],[]);var e,t},r=[],n=this.eventObservable.subscribe(e=>{e.type===l.taskFailed&&r.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield c(t()),r):(yield new Promise((e,t)=>{const r=this.eventObservable.subscribe({next(t){t.type===l.taskQueueDrained&&(r.unsubscribe(),e(void 0))},error:t})}),yield c(t()),n.unsubscribe(),r)}))}completed(e=!1){return h(this,void 0,void 0,(function*(){const t=this.settled(e),r=new Promise((e,r)=>{const n=this.eventObservable.subscribe({next(i){i.type===l.taskQueueDrained?(n.unsubscribe(),e(t)):i.type===l.taskFailed&&(n.unsubscribe(),r(i.error))},error:r})}),n=yield Promise.race([t,r]);if(n.length>0)throw n[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const r=this.nextTaskID++,n=this.taskCompletion(r);n.catch(e=>{this.debug(`Task #${r} errored:`,e)});const i={id:r,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:l.taskCanceled,taskID:i.id}))},then:n.then.bind(n)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won't finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:l.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return h(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:l.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>h(this,void 0,void 0,(function*(){return f.a.terminate(yield e.init)}))))}))}}function g(e,t){return new p(e,t)}p.EventType=l,g.EventType=l;const m=g},function(e,t,r){"use strict";var n=r(17);e.exports=y;var i,o=r(51);y.ReadableState=b;r(23).EventEmitter;var s=function(e,t){return e.listeners(t).length},a=r(27),c=r(18).Buffer,l=global.Uint8Array||function(){};var u=Object.create(r(12));u.inherits=r(6);var f=r(13),h=void 0;h=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p=r(53),g=r(28);u.inherits(y,a);var m=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(i=i||r(7));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=r(30).StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function y(e){if(i=i||r(7),!(this instanceof y))return new y(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function w(e,t,r,n,i){var o,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,k(e)}(e,s)):(i||(o=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):v(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?v(e,s,t,!1):x(e,s)):v(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),O(e)}function x(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(E,e,t))}function E(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;eo.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function D(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):k(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:y;function c(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",m),e.removeListener("finish",b),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){h("onend"),e.end()}i.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,O(e))}}(r);e.on("drain",u);var f=!1;var d=!1;function p(t){h("ondata"),d=!1,!1!==e.write(t)||d||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==D(i.pipes,e))&&!f&&(h("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,d=!0),r.pause())}function g(t){h("onerror",t),y(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",b),y()}function b(){h("onfinish"),e.removeListener("close",m),y()}function y(){h("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",m),e.once("finish",b),e.emit("pipe",r),i.flowing||(h("pipe resume"),r.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?setImmediate:n.nextTick;m.WritableState=g;var a=Object.create(r(12));a.inherits=r(6);var c={deprecate:r(54)},l=r(27),u=r(18).Buffer,f=global.Uint8Array||function(){};var h,d=r(28);function p(){}function g(e,t){o=o||r(7),e=e||{};var a=t instanceof o;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:a&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,o){--t.pendingcb,r?(n.nextTick(o,i),n.nextTick(k,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(o(i),e._writableState.errorEmitted=!0,e.emit("error",i),k(e,t))}(e,r,i,t,o);else{var a=v(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||w(e,r),i?s(y,e,r,a,o):y(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function m(e){if(o=o||r(7),!(h.call(m,this)||this instanceof o))return new m(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function b(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),k(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var a=0,c=!0;r;)o[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;o.allBuffers=c,b(e,t,!0,t.length,o,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,f=r.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,u,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function v(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),k(e,t)}))}function k(e,t){var r=v(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}a.inherits(m,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===m&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,r){var i,o=this._writableState,s=!1,a=!o.objectMode&&(i=e,u.isBuffer(i)||i instanceof f);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=p),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(a||function(e,t,r,i){var o=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),n.nextTick(i,s),o=!1),o}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,r,n,i,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,t,r){t.ending=!0,k(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=d.destroy,m.prototype._undestroy=d.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}},function(e,t,r){"use strict";var n=r(18).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";e.exports=s;var n=r(7),i=Object.create(r(12));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(o.a)(r),t)}async decode(e,t){return new Promise((r,n)=>{this.pool.queue(async i=>{try{const n=await i(e,t);r(n)}catch(e){n(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,r(66))},function(e,t,r){e.exports=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t>24)/500+a,l=a-(e[t+2]<<24>>24)/200;c=.95047*(c*c*c>.008856?c*c*c:(c-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),l=1.08883*(l*l*l>.008856?l*l*l:(l-16/116)/7.787),i=3.2406*c+-1.5372*a+-.4986*l,o=-.9689*c+1.8758*a+.0415*l,s=.0557*c+-.204*a+1.057*l,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n[r]=255*Math.max(0,Math.min(1,i)),n[r+1]=255*Math.max(0,Math.min(1,o)),n[r+2]=255*Math.max(0,Math.min(1,s))}return n}function S(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function x(e,t,r){let n=0,i=e.length;const o=i/r;for(;i>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;i-=t}const s=e.slice();for(let t=0;t=e.byteLength);++o){let n;if(2===t){switch(i[0]){case 8:n=new Uint8Array(e,o*a*r*s,a*r*s);break;case 16:n=new Uint16Array(e,o*a*r*s,a*r*s/2);break;case 32:n=new Uint32Array(e,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}S(n,a)}else 3===t&&(n=new Uint8Array(e,o*a*r*s,a*r*s),x(n,a,s))}return e}(r,n,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return r}}class C extends E{decodeBlock(e){return e}}function T(e,t){for(let r=t.length-1;r>=0;r--)e.push(t[r]);return e}function O(e){const t=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,r[e]=e;let n=258,i=9,o=0;function s(){n=258,i=9}function a(e){const t=function(e,t,r){const n=t%8,i=Math.floor(t/8),o=8-n,s=t+r-8*(i+1);let a=8*(i+2)-(t+r);const c=8*(i+2)-t;if(a=Math.max(0,a),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let l=e[i]&2**(8-n)-1;l<<=r-o;let u=l;if(i+1>>a;t<<=Math.max(0,r-c),u+=t}if(s>8&&i+2>>n}return u}(e,o,i);return o+=i,t}function c(e,i){return r[n]=i,t[n]=e,n++,n-1}function l(e){const n=[];for(let i=e;4096!==i;i=t[i])n.push(r[i]);return n}const u=[];s();const f=new Uint8Array(e);let h,d=a(f);for(;257!==d;){if(256===d){for(s(),d=a(f);256===d;)d=a(f);if(257===d)break;if(d>256)throw new Error("corrupted code at scanline "+d);T(u,l(d)),h=d}else if(d=2**i&&(12===i?h=void 0:i++),d=a(f)}return new Uint8Array(u)}class A extends E{decodeBlock(e){return O(e).buffer}}const P=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function I(e,t){let r=0;const n=[];let i=16;for(;i>0&&!e[i-1];)--i;n.push({children:[],index:0});let o,s=n[0];for(let a=0;a0;)s=n.pop();for(s.index++,n.push(s);n.length<=a;)n.push(o={children:[],index:0}),s.children[s.index]=o.children,s=o;r++}a+10)return p--,d>>p&1;if(d=e[h++],255===d){const t=e[h++];if(t)throw new Error("unexpected marker: "+(d<<8|t).toString(16))}return p=7,d>>>7}function m(e){let t,r=e;for(;null!==(t=g());){if(r=r[t],"number"==typeof r)return r;if("object"!=typeof r)throw new Error("invalid huffman sequence")}return null}function b(e){let t=e,r=0;for(;t>0;){const e=g();if(null===e)return;r=r<<1|e,--t}return r}function y(e){const t=b(e);return t>=1<0)return void w--;let r=o;const n=s;for(;r<=n;){const n=m(e.huffmanTableAC),i=15&n,o=n>>4;if(0===i){if(o<15){w=b(o)+(1<>4,0===r)i<15?(w=b(i)+(1<>4;if(0===n){if(o<15)break;i+=16}else{i+=o;t[P[i]]=y(n),i++}}};let D,M,R=0;M=1===x?n[0].blocksPerLine*n[0].blocksPerColumn:l*r.mcusPerColumn;const F=i||M;for(;R=65488&&D<=65495))break;h+=2}return h-f}function M(e,t){const r=[],{blocksPerLine:n,blocksPerColumn:i}=t,o=n<<3,s=new Int32Array(64),a=new Uint8Array(64);function c(e,r,n){const i=t.quantizationTable;let o,s,a,c,l,u,f,h,d;const p=n;let g;for(g=0;g<64;g++)p[g]=e[g]*i[g];for(g=0;g<8;++g){const e=8*g;0!==p[1+e]||0!==p[2+e]||0!==p[3+e]||0!==p[4+e]||0!==p[5+e]||0!==p[6+e]||0!==p[7+e]?(o=5793*p[0+e]+128>>8,s=5793*p[4+e]+128>>8,a=p[2+e],c=p[6+e],l=2896*(p[1+e]-p[7+e])+128>>8,h=2896*(p[1+e]+p[7+e])+128>>8,u=p[3+e]<<4,f=p[5+e]<<4,d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*c+128>>8,a=1567*a-3784*c+128>>8,c=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+u+1>>1,u=h-u+1>>1,h=d,d=o-c+1>>1,o=o+c+1>>1,c=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*u+4017*f+2048>>12,u=4017*u-799*f+2048>>12,f=d,p[0+e]=o+h,p[7+e]=o-h,p[1+e]=s+f,p[6+e]=s-f,p[2+e]=a+u,p[5+e]=a-u,p[3+e]=c+l,p[4+e]=c-l):(d=5793*p[0+e]+512>>10,p[0+e]=d,p[1+e]=d,p[2+e]=d,p[3+e]=d,p[4+e]=d,p[5+e]=d,p[6+e]=d,p[7+e]=d)}for(g=0;g<8;++g){const e=g;0!==p[8+e]||0!==p[16+e]||0!==p[24+e]||0!==p[32+e]||0!==p[40+e]||0!==p[48+e]||0!==p[56+e]?(o=5793*p[0+e]+2048>>12,s=5793*p[32+e]+2048>>12,a=p[16+e],c=p[48+e],l=2896*(p[8+e]-p[56+e])+2048>>12,h=2896*(p[8+e]+p[56+e])+2048>>12,u=p[24+e],f=p[40+e],d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*c+2048>>12,a=1567*a-3784*c+2048>>12,c=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+u+1>>1,u=h-u+1>>1,h=d,d=o-c+1>>1,o=o+c+1>>1,c=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*u+4017*f+2048>>12,u=4017*u-799*f+2048>>12,f=d,p[0+e]=o+h,p[56+e]=o-h,p[8+e]=s+f,p[48+e]=s-f,p[16+e]=a+u,p[40+e]=a-u,p[24+e]=c+l,p[32+e]=c-l):(d=5793*n[g+0]+8192>>14,p[0+e]=d,p[8+e]=d,p[16+e]=d,p[24+e]=d,p[32+e]=d,p[40+e]=d,p[48+e]=d,p[56+e]=d)}for(g=0;g<64;++g){const e=128+(p[g]+8>>4);r[g]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let r=0;r<64;r++){i[P[r]]=e[t++]}else{if(n>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[P[e]]=r()}}this.quantizationTables[15&n]=i}break}case 65472:case 65473:case 65474:{r();const n={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},s=e[t++];let a;for(let r=0;r>4,i=15&e[t+1],o=e[t+2];n.componentsOrder.push(a),n.components[a]={h:r,v:i,quantizationIdx:o},t+=3}i(n),this.frames.push(n);break}case 65476:{const n=r();for(let r=2;r>4==0?this.huffmanTablesDC[15&n]=I(i,s):this.huffmanTablesAC[15&n]=I(i,s)}break}case 65501:r(),this.resetInterval=r();break;case 65498:{r();const n=e[t++],i=[],o=this.frames[0];for(let r=0;r>4],r.huffmanTableAC=this.huffmanTablesAC[15&n],i.push(r)}const s=e[t++],a=e[t++],c=e[t++],l=D(e,t,o,i,this.resetInterval,s,a,c>>4,15&c);t+=l;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+o.toString(16))}o=r()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const a=N(e,n,i);for(let c=0;c{const a=N(e,n,i);for(let c=0;c=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(r){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(r){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(r){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return z(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),o=Math.ceil(this.getHeight()/this.getTileHeight());let s;const{tiles:a}=this;let c,l;1===this.planarConfiguration?s=t*i+e:2===this.planarConfiguration&&(s=r*i*o+t*i+e),this.isTiled?(c=this.fileDirectory.TileOffsets[s],l=this.fileDirectory.TileByteCounts[s]):(c=this.fileDirectory.StripOffsets[s],l=this.fileDirectory.StripByteCounts[s]);const u=await this.source.fetch(c,l);let f;return null===a?f=n.decode(this.fileDirectory,u):a[s]||(f=n.decode(this.fileDirectory,u),a[s]=f),{x:e,y:t,sample:r,data:await f}}async _readRaster(e,t,r,n,i,o,s,a){const c=this.getTileWidth(),l=this.getTileHeight(),u=Math.max(Math.floor(e[0]/c),0),f=Math.min(Math.ceil(e[2]/c),Math.ceil(this.getWidth()/this.getTileWidth())),h=Math.max(Math.floor(e[1]/l),0),d=Math.min(Math.ceil(e[3]/l),Math.ceil(this.getHeight()/this.getTileHeight())),p=e[2]-e[0];let g=this.getBytesPerPixel();const m=[],b=[];for(let e=0;e{const o=i.data,s=new DataView(o),a=i.y*l,f=i.x*c,h=(i.y+1)*l,d=(i.x+1)*c,y=b[u],v=Math.min(l,l-(h-e[3])),_=Math.min(c,c-(d-e[2]));for(let i=Math.max(0,e[1]-a);ic[2]||c[1]>c[3])throw new Error("Invalid subsets");const l=(c[2]-c[0])*(c[3]-c[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index '${t[e]}'.`))}else for(let e=0;es[2]||s[1]>s[3])throw new Error("Invalid subsets");const a=this.fileDirectory.PhotometricInterpretation;if(a===d.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==p.Unspecified&&o){i=[];for(let e=0;e"Item"===e.tagName);e&&(o=o.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(e+(t?o:7-o));n&&(i?0!==s&&(s=255&~(s-1),i=!1):s=255&~s),r+=s*256**o}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class Z{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+2**32*r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}if(n=2**32*t+r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}readInt64(e){let t=0;const r=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let o=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?0!==o&&(o=255&~(o-1),n=!1):o=255&~o),t+=o*256**i}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var $=r(32),Y=r(15),Q=r(16),X=r(9),J=r.n(X),ee=r(20),te=r.n(ee),re=r(2),ne=r.n(re);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,r=!1){const n=e+t,i=[],o=[],s=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let r=[];t.push(r);for(let n=0;n{const t=await e,i=r*this.blockSize,o=Math.min(i+this.blockSize,t.data.byteLength),s=t.data.slice(i,o);this.blockRequests.delete(n),this.blocks.set(n,{data:s,offset:t.offset+i,length:s.byteLength,top:t.offset+o})})())}}this.blockIdsAwaitingRequest=null}const a=[];for(const e of o)this.blockRequests.has(e)&&a.push(this.blockRequests.get(e));await Promise.all(a),await Promise.all(s);return function(e,t,r){const n=t+r,i=new ArrayBuffer(r),o=new Uint8Array(i);for(const r of e){const e=r.offset-t,i=r.top-n;let s,a=0,c=0;e<0?a=-e:e>0&&(c=e),s=i<0?r.length-a:n-r.offset-a;const l=new Uint8Array(r.data,a,s);o.set(l,c)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const r=await this.retrievalFunction(e,t);return r.length?r.length!==r.data.byteLength&&(r.data=r.data.slice(0,r.length)):r.length=r.data.byteLength,r.top=r.offset+r.length,r}}function oe(e,t){const{forceXHR:r}=t;if("function"==typeof fetch&&!r)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${r}-${r+n-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:r,length:n}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:r})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=new XMLHttpRequest;s.open("GET",e),s.responseType="arraybuffer";const a={...t,Range:`bytes=${r}-${r+n-1}`};for(const[e,t]of Object.entries(a))s.setRequestHeader(e,t);s.onload=()=>{const e=s.response;206===s.status?i({data:e,offset:r,length:n}):i({data:e,offset:0,length:e.byteLength})},s.onerror=o,s.send()}),{blockSize:r})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=ne.a.parse(e);("http:"===s.protocol?J.a:te.a).get({...s,headers:{...t,Range:`bytes=${r}-${r+n-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=Y.Buffer.concat(t).buffer;i({data:e,offset:r,length:e.byteLength})})}).on("error",o)}),{blockSize:r})}(e,t);throw new Error("No remote source available")}function se(e){const t=function(e,t,r){return new Promise((n,i)=>{Object(Q.open)(e,t,r,(e,t)=>{e?i(e):n(t)})})}(e,"r");return{async fetch(e,r){const n=await t,{buffer:i}=await function(...e){return new Promise((t,r)=>{Object(Q.read)(...e,(e,n,i)=>{e?r(e):t({bytesRead:n,buffer:i})})})}(n,Y.Buffer.alloc(r),0,r,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,r)=>{Object(Q.close)(e,e=>{e?r(e):t()})})}(e)}}}function ae(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}function ce(e,t){if(e.length{let r=t;for(;0!==e[r];)r++;return r},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const r=ge.ui8;return r[0]=e[t+1],r[1]=e[t+0],ge.i16[0]},readInt:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.i32[0]},readUint:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.ui32[0]},readASCII:(e,t,r)=>r.map(r=>String.fromCharCode(e[t+r])).join(""),readFloat:(e,t)=>{const r=ge.ui8;return ue(4,n=>{r[n]=e[t+3-n]}),ge.fl32[0]},readDouble:(e,t)=>{const r=ge.ui8;return ue(8,n=>{r[n]=e[t+7-n]}),ge.fl64[0]},writeUshort:(e,t,r)=>{e[t]=r>>8&255,e[t+1]=255&r},writeUint:(e,t,r)=>{e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:(e,t,r)=>{ue(r.length,n=>{e[t+n]=r.charCodeAt(n)})},ui8:new Uint8Array(8)};ge.fl64=new Float64Array(ge.ui8.buffer),ge.writeDouble=(e,t,r)=>{ge.fl64[0]=r,ue(8,r=>{e[t+r]=ge.ui8[7-r]})};const me=e=>{const t=new Uint8Array(1e3);let r=4;const n=ge;t[0]=77,t[1]=77,t[3]=42;let i=8;if(n.writeUint(t,r,i),r+=4,e.forEach((r,o)=>{const s=((e,t,r,n)=>{let i=r;const o=Object.keys(n).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,o.length),i+=2;let s=i+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const a=l[o],c=pe[a];if(null==a||void 0===a||void 0===a)throw new Error("unknown type of tag: "+o);let u=n[r];if(void 0===u)throw new Error("failed to get value for key "+r);"ASCII"===a&&"string"==typeof u&&!1===ce(u,"\0")&&(u+="\0");const f=u.length;e.writeUshort(t,i,o),i+=2,e.writeUshort(t,i,c),i+=2,e.writeUint(t,i,f),i+=4;let h=[-1,1,1,2,4,8,0,0,0,0,0,0,8][c]*f,d=i;h>4&&(e.writeUint(t,i,s),d=s),"ASCII"===a?e.writeASCII(t,d,u):"SHORT"===a?ue(f,r=>{e.writeUshort(t,d+2*r,u[r])}):"LONG"===a?ue(f,r=>{e.writeUint(t,d+4*r,u[r])}):"RATIONAL"===a?ue(f,r=>{e.writeUint(t,d+8*r,Math.round(1e4*u[r])),e.writeUint(t,d+8*r+4,1e4)}):"DOUBLE"===a&&ue(f,r=>{e.writeDouble(t,d+8*r,u[r])}),h>4&&(h+=1&h,s+=h),i+=4}return[i,s]})(n,t,i,r);i=s[1],o{ue(i,r=>{ue(n,n=>{o.push(e[n][t][r])})})})),t.ImageLength=r,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=ue(n,()=>8)),be.forEach(e=>{const r=e[0];if(!t[r]){const n=e[1];t[r]=n}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[n]),t.StripByteCounts||(t.StripByteCounts=[n*r*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/r,0]),t.SampleFormat||(t.SampleFormat=ue(n,()=>1));const s=Object.keys(t).filter(e=>ce(e,"GeoKey")).sort((e,t)=>de[e]-de[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,s.length];s.forEach(r=>{const n=Number(de[r]);let i,o,s;e.push(n),"SHORT"===l[n]?(i=1,o=0,s=t[r]):"GeogCitationGeoKey"===r?(i=t.GeoAsciiParams.length,o=Number(de.GeoAsciiParams),s=0):console.log("[geotiff.js] couldn't get TIFFTagLocation for "+r),e.push(o),e.push(i),e.push(s)}),t.GeoKeyDirectory=e}for(const e in s)s.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var r;t[e]&&(t[e]=(r=t[e],Array.isArray(r)?r:[r]))});const a=(e=>{const t={};for(const r in e)"StripOffsets"!==r&&(de[r]||console.error(r,"not in name2code:",Object.keys(de)),t[de[r]]=e[r]);return t})(t);return((e,t,r,n)=>{if(null==r)throw new Error("you passed into encodeImage a width of type "+r);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[r],273:[1e3],278:[r],305:"geotiff.js"};if(n)for(const e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);const o=new Uint8Array(me([i])),s=new Uint8Array(e),a=i[277],c=new Uint8Array(1e3+t*r*a);return ue(o.length,e=>{c[e]=o[e]}),function(e,t){const{length:r}=e;for(let n=0;n{c[1e3+t]=e}),c.buffer})(o,i,r,a)}class we{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let ve=new we;function _e(e=new we){ve=e}function ke(e){switch(e){case h.BYTE:case h.ASCII:case h.SBYTE:case h.UNDEFINED:return 1;case h.SHORT:case h.SSHORT:return 2;case h.LONG:case h.SLONG:case h.FLOAT:case h.IFD:return 4;case h.RATIONAL:case h.SRATIONAL:case h.DOUBLE:case h.LONG8:case h.SLONG8:case h.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function Se(e,t,r,n){let i=null,o=null;const s=ke(t);switch(t){case h.BYTE:case h.ASCII:case h.UNDEFINED:i=new Uint8Array(r),o=e.readUint8;break;case h.SBYTE:i=new Int8Array(r),o=e.readInt8;break;case h.SHORT:i=new Uint16Array(r),o=e.readUint16;break;case h.SSHORT:i=new Int16Array(r),o=e.readInt16;break;case h.LONG:case h.IFD:i=new Uint32Array(r),o=e.readUint32;break;case h.SLONG:i=new Int32Array(r),o=e.readInt32;break;case h.LONG8:case h.IFD8:i=new Array(r),o=e.readUint64;break;case h.SLONG8:i=new Array(r),o=e.readInt64;break;case h.RATIONAL:i=new Uint32Array(2*r),o=e.readUint32;break;case h.SRATIONAL:i=new Int32Array(2*r),o=e.readInt32;break;case h.FLOAT:i=new Float32Array(r),o=e.readFloat32;break;case h.DOUBLE:i=new Float64Array(r),o=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==h.RATIONAL&&t!==h.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tn||o&&o>s)break}}let f=t;if(s){const[e,t]=a.getOrigin(),[r,n]=c.getResolution(a);f=[Math.round((s[0]-e)/r),Math.round((s[1]-t)/n),Math.round((s[2]-e)/r),Math.round((s[3]-t)/n)],f=[Math.min(f[0],f[2]),Math.min(f[1],f[3]),Math.max(f[0],f[2]),Math.max(f[1],f[3])]}return c.readRasters({...e,window:f})}}class Te extends Ce{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const r=this.bigTiff?4048:1024;return new Z(await this.source.fetch(e,void 0!==t?t:r),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=await this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),o=i*t+(this.bigTiff?16:6);n.covers(e,o)||(n=await this.getSlice(e,o));const s={};let c=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new Ee(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new H(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof Ee))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=await this.getSlice(e,r);if(t===Se(n,h.ASCII,t.length,e)){const t=Se(n,h.ASCII,r,e).split("\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>r&&(n=await this.getSlice(e,i));const o=Se(n,h.ASCII,i,e);this.ghostValues={},o.split("\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const r=await e.fetch(0,1024),n=new V(r),i=n.getUint16(0,0);let o;if(18761===i)o=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");o=!1}const s=n.getUint16(2,o);let a;if(42===s)a=!1;else{if(43!==s)throw new TypeError("Invalid magic number.");a=!0;if(8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const c=a?n.getUint64(8,o):n.getUint32(4,o);return new Te(e,o,a,c,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=Te;class Oe extends Ce{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,r=0;for(let n=0;ne.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function Ae(e,t={}){return Te.fromSource(oe(e,t))}async function Pe(e){return Te.fromSource(function(e){return{fetch:async(t,r)=>e.slice(t,t+r)}}(e))}async function Ie(e){return Te.fromSource(se(e))}async function De(e){return Te.fromSource((t=e,{fetch:async(e,r)=>new Promise((n,i)=>{const o=t.slice(e,e+r),s=new FileReader;s.onload=e=>n(e.target.result),s.onerror=i,s.readAsArrayBuffer(o)})}));var t}async function Me(e,t=[],r={}){const n=await Te.fromSource(oe(e,r)),i=await Promise.all(t.map(e=>Te.fromSource(oe(e,r))));return new Oe(n,i)}async function Re(e,t){return ye(e,t)}},function(e,t,r){function n(e,t){"use strict";var r=(t=t||{}).pos||0,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),a="/".charCodeAt(0),c="!".charCodeAt(0),l="'".charCodeAt(0),u='"'.charCodeAt(0);function f(){for(var t=[];e[r];)if(e.charCodeAt(r)==i){if(e.charCodeAt(r+1)===a)return(r=e.indexOf(">",r))+1&&(r+=1),t;if(e.charCodeAt(r+1)===c){if(e.charCodeAt(r+2)==s){for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length)}else for(r+=2;e.charCodeAt(r)!==o&&e[r];)r++;r++;continue}var n=g();t.push(n)}else{var l=h();l.trim().length>0&&t.push(l),r++}return t}function h(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}function d(){for(var t=r;-1==="\n\t>/= ".indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var p=t.noChildNodes||["img","br","input","meta","link"];function g(){r++;const t=d(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var s=e.charCodeAt(r);if(s>64&&s<91||s>96&&s<123){for(var c=d(),h=e.charCodeAt(r);h&&h!==l&&h!==u&&!(h>64&&h<91||h>96&&h<123)&&h!==o;)r++,h=e.charCodeAt(r);if(h===l||h===u){var g=m();if(-1===r)return{tagName:t,attributes:n,children:i}}else g=null,r--;n[c]=g}r++}if(e.charCodeAt(r-1)!==a)if("script"==t){var b=r+1;r=e.indexOf("<\/script>",r),i=[e.slice(b,r-1)],r+=9}else if("style"==t){b=r+1;r=e.indexOf("",r),i=[e.slice(b,r-1)],r+=8}else-1==p.indexOf(t)&&(r++,i=f());else r++;return{tagName:t,attributes:n,children:i}}function m(){var t=e[r],n=++r;return r=e.indexOf(t,n),e.slice(n,r)}var b,y=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(y=[];-1!==(b=void 0,b=new RegExp("\\s"+t.attrName+"\\s*=['\"]"+t.attrValue+"['\"]").exec(e),r=b?b.index:-1);)-1!==(r=e.lastIndexOf("<",r))&&y.push(g()),e=e.substr(r),r=0}else y=t.parseNode?g():f();return t.filter&&(y=n.filter(y,t.filter)),t.setPos&&(y.pos=r),y}n.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=n.simplify(e.children||[]);t[e.tagName].push(r),e.attributes&&(r._attributes=e.attributes)}})),t)1==t[r].length&&(t[r]=t[r][0]);return t},n.filter=function(e,t){var r=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&r.push(e),e.children){var i=n.filter(e.children,t);r=r.concat(i)}})),r},n.stringify=function(e){var t="";function r(e){if(e)for(var r=0;r"}return r(e),t},n.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+n.toContentString(e)).trim()})),t}return"object"==typeof e?n.toContentString(e.children):" "+e},n.getElementById=function(e,t,r){var i=n(e,{attrValue:t});return r?n.simplify(i):i[0]},n.getElementsByClassName=function(e,t,r){const i=n(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return r?n.simplify(i):i},n.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=r(16);e=i.createReadStream(e,{start:t}),t=0}var o=t,s="";return e.on("data",(function(t){s+=t;for(var r=0;;){if(!(o=s.indexOf("<",o)+1))return void(o=r);if("/"!==s[o+1]){var i=n(s,{pos:o-1,parseNode:!0,setPos:!0});if((o=i.pos)>s.length-1||oo.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,c,l,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=o.utf8border(h.output,h.next_out),l=h.next_out-c,f=o.buf2string(h.output,c),h.next_out=l,h.avail_out=d-l,l&&i.arraySet(h.output,h.output,c,l,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"defaultPoolSize",(function(){return defaultPoolSize})),__webpack_require__.d(__webpack_exports__,"getWorkerImplementation",(function(){return getWorkerImplementation})),__webpack_require__.d(__webpack_exports__,"isWorkerRuntime",(function(){return isWorkerRuntime}));var callsites__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(39),callsites__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(callsites__WEBPACK_IMPORTED_MODULE_0__),events__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),events__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__),os__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(40),os__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_2__),path__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(10),path__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__),url__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2),url__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);let tsNodeAvailable;const defaultPoolSize=Object(os__WEBPACK_IMPORTED_MODULE_2__.cpus)().length;function detectTsNode(){if("function"==typeof require)return!1;if(tsNodeAvailable)return tsNodeAvailable;try{eval("require").resolve("ts-node"),tsNodeAvailable=!0}catch(e){if(!e||"MODULE_NOT_FOUND"!==e.code)throw e;tsNodeAvailable=!1}return tsNodeAvailable}function createTsNodeModule(e){return`\n require("ts-node/register/transpile-only");\n require(${JSON.stringify(e)});\n `}function rebaseScriptPath(e,t){const r=callsites__WEBPACK_IMPORTED_MODULE_0___default()().find(e=>{const r=e.getFileName();return Boolean(r&&!r.match(t)&&!r.match(/[\/\\]master[\/\\]implementation/)&&!r.match(/^internal\/process/))}),n=r?r.getFileName():null;let i=n||null;i&&i.startsWith("file:")&&(i=Object(url__WEBPACK_IMPORTED_MODULE_4__.fileURLToPath)(i));return i?path__WEBPACK_IMPORTED_MODULE_3__.join(path__WEBPACK_IMPORTED_MODULE_3__.dirname(i),e):e}function resolveScriptPath(scriptPath,baseURL){const makeRelative=filePath=>path__WEBPACK_IMPORTED_MODULE_3__.isAbsolute(filePath)?filePath:path__WEBPACK_IMPORTED_MODULE_3__.join(baseURL||eval("__dirname"),filePath),workerFilePath="function"==typeof require?require.resolve(makeRelative(scriptPath)):eval("require").resolve(makeRelative(rebaseScriptPath(scriptPath,/[\/\\]worker_threads[\/\\]/)));return workerFilePath}function initWorkerThreadsWorker(){const NativeWorker="function"==typeof require?require("worker_threads").Worker:eval("require")("worker_threads").Worker;let allWorkers=[];class Worker extends NativeWorker{constructor(e,t){const r=t&&t.fromSource?null:resolveScriptPath(e,(t||{})._baseURL);if(r)r.match(/\.tsx?$/i)&&detectTsNode()?super(createTsNodeModule(r),Object.assign(Object.assign({},t),{eval:!0})):r.match(/\.asar[\/\\]/)?super(r.replace(/\.asar([\/\\])/,".asar.unpacked$1"),t):super(r,t);else{super(e,Object.assign(Object.assign({},t),{eval:!0}))}this.mappedEventListeners=new WeakMap,allWorkers.push(this)}addEventListener(e,t){const r=e=>{t({data:e})};this.mappedEventListeners.set(t,r),this.on(e,r)}removeEventListener(e,t){const r=this.mappedEventListeners.get(t)||t;this.off(e,r)}}const terminateWorkersAndMaster=()=>{Promise.all(allWorkers.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),allWorkers=[]};process.on("SIGINT",()=>terminateWorkersAndMaster()),process.on("SIGTERM",()=>terminateWorkersAndMaster());class BlobWorker extends Worker{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new Worker(e,Object.assign(Object.assign({},t),{fromSource:!0}))}}return{blob:BlobWorker,default:Worker}}function initTinyWorker(){const e=__webpack_require__(67);let t=[];class r extends e{constructor(e,r){const n=r&&r.fromSource?null:"win32"===process.platform?"file:///"+resolveScriptPath(e).replace(/\\/g,"/"):resolveScriptPath(e);if(n)n.match(/\.tsx?$/i)&&detectTsNode()?super(new Function(createTsNodeModule(resolveScriptPath(e))),[],{esm:!0}):n.match(/\.asar[\/\\]/)?super(n.replace(/\.asar([\/\\])/,".asar.unpacked$1"),[],{esm:!0}):super(n,[],{esm:!0});else{super(new Function(e),[],{esm:!0})}t.push(this),this.emitter=new events__WEBPACK_IMPORTED_MODULE_1__.EventEmitter,this.onerror=e=>this.emitter.emit("error",e),this.onmessage=e=>this.emitter.emit("message",e)}addEventListener(e,t){this.emitter.addListener(e,t)}removeEventListener(e,t){this.emitter.removeListener(e,t)}terminate(){return t=t.filter(e=>e!==this),super.terminate()}}const n=()=>{Promise.all(t.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),t=[]};process.on("SIGINT",()=>n()),process.on("SIGTERM",()=>n());return{blob:class extends r{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new r(e,Object.assign(Object.assign({},t),{fromSource:!0}))}},default:r}}let implementation,isTinyWorker;function selectWorkerImplementation(){try{return isTinyWorker=!1,initWorkerThreadsWorker()}catch(e){return console.debug("Node worker_threads not available. Trying to fall back to tiny-worker polyfill..."),isTinyWorker=!0,initTinyWorker()}}function getWorkerImplementation(){return implementation||(implementation=selectWorkerImplementation()),implementation}function isWorkerRuntime(){if(isTinyWorker)return!("undefined"==typeof self||!self.postMessage);{const isMainThread="function"==typeof require?require("worker_threads").isMainThread:eval("require")("worker_threads").isMainThread;return!isMainThread}}},function(e,t,r){"use strict";const n=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);return Error.prepareStackTrace=e,t};e.exports=n,e.exports.default=n},function(e,t){e.exports=require("os")},function(e,t,r){"use strict";var n=r(21);class i extends n.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(1);function i(e){return e&&"object"==typeof e&&e[n.d]}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},i=r.size;let o=void 0===i?0:i;var s=r.timeout;let a=void 0===s?0:s;null==e?e=null:y(e)?e=Buffer.from(e.toString()):w(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof n||(e=Buffer.from(String(e)))),this[p]={body:e,disturbed:!1,error:null},this.size=o,this.timeout=a,e instanceof n&&e.on("error",(function(e){const r="AbortError"===e.name?e:new h(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[p].error=r}))}function b(){var e=this;if(this[p].disturbed)return m.Promise.reject(new TypeError("body used already for: "+this.url));if(this[p].disturbed=!0,this[p].error)return m.Promise.reject(this[p].error);let t=this.body;if(null===t)return m.Promise.resolve(Buffer.alloc(0));if(w(t)&&(t=t.stream()),Buffer.isBuffer(t))return m.Promise.resolve(t);if(!(t instanceof n))return m.Promise.resolve(Buffer.alloc(0));let r=[],i=0,o=!1;return new m.Promise((function(n,s){let a;e.timeout&&(a=setTimeout((function(){o=!0,s(new h(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(o=!0,s(t)):s(new h(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!o&&null!==t){if(e.size&&i+t.length>e.size)return o=!0,void s(new h(`content size at ${e.url} over limit: ${e.size}`,"max-size"));i+=t.length,r.push(t)}})),t.on("end",(function(){if(!o){clearTimeout(a);try{n(Buffer.concat(r,i))}catch(t){s(new h(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function y(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function w(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function v(e){let t,r,i=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return i instanceof n&&"function"!=typeof i.getBoundary&&(t=new g,r=new g,i.pipe(t),i.pipe(r),e[p].body=t,i=r),i}function _(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":y(e)?"application/x-www-form-urlencoded;charset=UTF-8":w(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?"multipart/form-data;boundary="+e.getBoundary():e instanceof n?null:"text/plain;charset=UTF-8"}function k(e){const t=e.body;return null===t?0:w(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}m.prototype={get body(){return this[p].body},get bodyUsed(){return this[p].disturbed},arrayBuffer(){return b.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return b.call(this).then((function(t){return Object.assign(new f([],{type:e.toLowerCase()}),{[l]:t})}))},json(){var e=this;return b.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return m.Promise.reject(new h(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return b.call(this).then((function(e){return e.toString()}))},buffer(){return b.call(this)},textConverted(){var e=this;return b.call(this).then((function(t){return function(e,t){if("function"!=typeof d)throw new Error("The package `encoding` must be installed to use the textConverted() function");const r=t.get("content-type");let n,i,o="utf-8";r&&(n=/charset=([^;]*)/i.exec(r));i=e.slice(0,1024).toString(),!n&&i&&(n=/0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[O]=Object.create(null),e instanceof A){const t=e.raw(),r=Object.keys(t);for(const e of r)for(const r of t[e])this.append(e,r)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const r=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");r.push(Array.from(t))}for(const e of r){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const r=e[t];this.append(t,r)}}}}get(e){E(e=""+e);const t=T(this[O],e);return void 0===t?null:this[O][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=P(this),n=0;for(;n1&&void 0!==arguments[1]?arguments[1]:"key+value";const r=Object.keys(e[O]).sort();return r.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[O][t].join(", ")}:function(t){return[t.toLowerCase(),e[O][t].join(", ")]})}A.prototype.entries=A.prototype[Symbol.iterator],Object.defineProperty(A.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(A.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const I=Symbol("internal");function D(e,t){const r=Object.create(M);return r[I]={target:e,kind:t,index:0},r}const M=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==M)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[I];const t=e.target,r=e.kind,n=e.index,i=P(t,r);return n>=i.length?{value:void 0,done:!0}:(this[I].index=n+1,{value:i[n],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function R(e){const t=Object.assign({__proto__:null},e[O]),r=T(e[O],"Host");return void 0!==r&&(t[r]=t[r][0]),t}Object.defineProperty(M,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const F=Symbol("Response internals"),j=i.STATUS_CODES;class L{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};m.call(this,e,t);const r=t.status||200,n=new A(t.headers);if(null!=e&&!n.has("Content-Type")){const t=_(e);t&&n.append("Content-Type",t)}this[F]={url:t.url,status:r,statusText:t.statusText||j[r],headers:n,counter:t.counter}}get url(){return this[F].url||""}get status(){return this[F].status}get ok(){return this[F].status>=200&&this[F].status<300}get redirected(){return this[F].counter>0}get statusText(){return this[F].statusText}get headers(){return this[F].headers}clone(){return new L(v(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}m.mixIn(L.prototype),Object.defineProperties(L.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(L.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const U=Symbol("Request internals"),B=o.parse,N=o.format,G="destroy"in n.Readable.prototype;function W(e){return"object"==typeof e&&"object"==typeof e[U]}class q{constructor(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(e)?t=B(e.url):(t=e&&e.href?B(e.href):B(""+e),e={});let n=r.method||e.method||"GET";if(n=n.toUpperCase(),(null!=r.body||W(e)&&null!==e.body)&&("GET"===n||"HEAD"===n))throw new TypeError("Request with GET/HEAD method cannot have body");let i=null!=r.body?r.body:W(e)&&null!==e.body?v(e):null;m.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const o=new A(r.headers||e.headers||{});if(null!=i&&!o.has("Content-Type")){const e=_(i);e&&o.append("Content-Type",e)}let s=W(e)?e.signal:null;if("signal"in r&&(s=r.signal),null!=s&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(s))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[U]={method:n,redirect:r.redirect||e.redirect||"follow",headers:o,parsedURL:t,signal:s},this.follow=void 0!==r.follow?r.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==r.compress?r.compress:void 0===e.compress||e.compress,this.counter=r.counter||e.counter||0,this.agent=r.agent||e.agent}get method(){return this[U].method}get url(){return N(this[U].parsedURL)}get headers(){return this[U].headers}get redirect(){return this[U].redirect}get signal(){return this[U].signal}clone(){return new q(this)}}function K(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}m.mixIn(q.prototype),Object.defineProperty(q.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(q.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),K.prototype=Object.create(Error.prototype),K.prototype.constructor=K,K.prototype.name="AbortError";const z=n.PassThrough,H=o.resolve;function V(e,t){if(!V.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return m.Promise=V.Promise,new V.Promise((function(r,o){const c=new q(e,t),l=function(e){const t=e[U].parsedURL,r=new A(e[U].headers);if(r.has("Accept")||r.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof n.Readable&&!G)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let i=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(i="0"),null!=e.body){const t=k(e);"number"==typeof t&&(i=String(t))}i&&r.set("Content-Length",i),r.has("User-Agent")||r.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!r.has("Accept-Encoding")&&r.set("Accept-Encoding","gzip,deflate");let o=e.agent;return"function"==typeof o&&(o=o(t)),r.has("Connection")||o||r.set("Connection","close"),Object.assign({},t,{method:e.method,headers:R(r),agent:o})}(c),u=("https:"===l.protocol?s:i).request,f=c.signal;let d=null;const p=function(){let e=new K("The user aborted a request.");o(e),c.body&&c.body instanceof n.Readable&&c.body.destroy(e),d&&d.body&&d.body.emit("error",e)};if(f&&f.aborted)return void p();const g=function(){p(),y()},m=u(l);let b;function y(){m.abort(),f&&f.removeEventListener("abort",g),clearTimeout(b)}f&&f.addEventListener("abort",g),c.timeout&&m.once("socket",(function(e){b=setTimeout((function(){o(new h("network timeout at: "+c.url,"request-timeout")),y()}),c.timeout)})),m.on("error",(function(e){o(new h(`request to ${c.url} failed, reason: ${e.message}`,"system",e)),y()})),m.on("response",(function(e){clearTimeout(b);const t=function(e){const t=new A;for(const r of Object.keys(e))if(!S.test(r))if(Array.isArray(e[r]))for(const n of e[r])x.test(n)||(void 0===t[O][r]?t[O][r]=[n]:t[O][r].push(n));else x.test(e[r])||(t[O][r]=[e[r]]);return t}(e.headers);if(V.isRedirect(e.statusCode)){const n=t.get("Location"),i=null===n?null:H(c.url,n);switch(c.redirect){case"error":return o(new h("uri requested responds with a redirect, redirect mode is set to error: "+c.url,"no-redirect")),void y();case"manual":if(null!==i)try{t.set("Location",i)}catch(e){o(e)}break;case"follow":if(null===i)break;if(c.counter>=c.follow)return o(new h("maximum redirect reached at: "+c.url,"max-redirect")),void y();const n={headers:new A(c.headers),follow:c.follow,counter:c.counter+1,agent:c.agent,compress:c.compress,method:c.method,body:c.body,signal:c.signal,timeout:c.timeout,size:c.size};return 303!==e.statusCode&&c.body&&null===k(c)?(o(new h("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void y()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==c.method)||(n.method="GET",n.body=void 0,n.headers.delete("content-length")),r(V(new q(i,n))),void y())}}e.once("end",(function(){f&&f.removeEventListener("abort",g)}));let n=e.pipe(new z);const i={url:c.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:c.size,timeout:c.timeout,counter:c.counter},s=t.get("Content-Encoding");if(!c.compress||"HEAD"===c.method||null===s||204===e.statusCode||304===e.statusCode)return d=new L(n,i),void r(d);const l={flush:a.Z_SYNC_FLUSH,finishFlush:a.Z_SYNC_FLUSH};if("gzip"==s||"x-gzip"==s)return n=n.pipe(a.createGunzip(l)),d=new L(n,i),void r(d);if("deflate"!=s&&"x-deflate"!=s){if("br"==s&&"function"==typeof a.createBrotliDecompress)return n=n.pipe(a.createBrotliDecompress()),d=new L(n,i),void r(d);d=new L(n,i),r(d)}else{e.pipe(new z).once("data",(function(e){n=8==(15&e[0])?n.pipe(a.createInflate()):n.pipe(a.createInflateRaw()),d=new L(n,i),r(d)}))}})),function(e,t){const r=t.body;null===r?e.end():w(r)?r.stream().pipe(e):Buffer.isBuffer(r)?(e.write(r),e.end()):r.pipe(e)}(m,c)}))}V.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},V.Promise=global.Promise,t.default=V},function(e,t,r){"use strict";e.exports=function(){return r(47)('!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=41)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return a}));const n=Symbol("thread.errors"),i=Symbol("thread.events"),o=Symbol("thread.terminate"),s=Symbol("thread.transferable"),a=Symbol("thread.worker")},function(e,t,r){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(62):e.exports=r(64)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e};function o(e){return i.deserialize(e)}function s(e){return i.serialize(e)}},function(e,t,r){try{var n=r(9);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(45)}},function(e,t,r){"use strict";var n=r(13),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=f;var o=Object.create(r(8));o.inherits=r(3);var s=r(24),a=r(27);o.inherits(f,s);for(var c=i(a.prototype),l=0;l/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.test(e);function c(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let l;function u(){return l||(l=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn\'t support workers in workers.")}};class e extends Worker{constructor(e,t){var r,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!a(e)&&o().match(/^file:\\/\\//i)&&(e=new URL(e,o().replace(/\\/[^\\/]+$/,"/")),(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=c(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&a(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=c(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,r){const n=new window.Blob([e],{type:"text/javascript"});return new t(n,r)}}return{blob:t,default:e}}()),l}function f(){const e="undefined"!=typeof self&&"undefined"!=typeof Window&&self instanceof Window;return!("undefined"==typeof self||!self.postMessage||e)}var h=r(35);const d="undefined"!=typeof process&&"browser"!==process.arch&&"pid"in process?h:n,p=d.defaultPoolSize,g=d.getWorkerImplementation;d.isWorkerRuntime},function(e,t){e.exports=require("path")},function(e,t,r){"use strict";var n,i;r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(n||(n={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(11).Buffer.isBuffer},function(e,t){e.exports=require("util")},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(0);function i(e){throw Error(e)}const o={errors:e=>e[n.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[n.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[n.c]()}},function(e,t){e.exports=require("buffer")},function(e,t){e.exports=require("fs")},function(e,t,r){"use strict";"undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError(\'"callback" argument must be a function\');var i,o,s=arguments.length;switch(s){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function(){e.call(null,t)}));case 3:return process.nextTick((function(){e.call(null,t,r)}));case 4:return process.nextTick((function(){e.call(null,t,r,n)}));default:for(i=new Array(s-1),o=0;o"function"==typeof Symbol,i=e=>n()&&Boolean(Symbol[e]),o=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const s=o("iterator"),a=o("observable"),c=o("species");function l(e,t){const r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function u(e){let t=e.constructor;return void 0!==t&&(t=t[c],null===t&&(t=void 0)),void 0!==t?t:y}function f(e){f.log?f.log(e):setTimeout(()=>{throw e},0)}function h(e){Promise.resolve().then(()=>{try{e()}catch(e){f(e)}})}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=l(t,"unsubscribe");e&&e.call(t)}}catch(e){f(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";const n=e._observer;try{const i=n?l(n,t):void 0;switch(t){case"next":i&&i.call(n,r);break;case"error":if(p(e),!i)throw r;i.call(n,r);break;case"complete":p(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:r})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void h(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const r of t)if(g(e,r.type,r.value),"closed"===e._state)break}}(e))):void g(e,t,r)}class b{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const r=new w(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class w{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){m(this._subscription,"next",e)}error(e){m(this._subscription,"error",e)}complete(){m(this._subscription,"complete")}}class y{constructor(e){if(!(this instanceof y))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,r){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:r}),new b(e,this._subscriber)}pipe(e,...t){let r=this;for(const n of[e,...t])r=n(r);return r}tap(e,t,r){const n="object"!=typeof e||null===e?{next:e,error:t,complete:r}:e;return new y(e=>this.subscribe({next(t){n.next&&n.next(t),e.next(t)},error(t){n.error&&n.error(t),e.error(t)},complete(){n.complete&&n.complete(),e.complete()},start(e){n.start&&n.start(e)}}))}forEach(e){return new Promise((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function n(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,n)}catch(e){r(e),i.unsubscribe()}},error(e){r(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))(t=>this.subscribe({next(r){let n=r;try{n=e(r)}catch(e){return t.error(e)}t.next(n)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))(t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const r=u(this),n=arguments.length>1;let i=!1,o=t;return new r(t=>this.subscribe({next(r){const s=!i;if(i=!0,!s||n)try{o=e(o,r)}catch(e){return t.error(e)}else o=r},error(e){t.error(e)},complete(){if(!i&&!n)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(o),t.complete()}}))}concat(...e){const t=u(this);return new t(r=>{let n,i=0;return function o(s){n=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){i===e.length?(n=void 0,r.complete()):o(t.from(e[i++]))}})}(this),()=>{n&&(n.unsubscribe(),n=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=u(this);return new t(r=>{const n=[],i=this.subscribe({next(i){let s;if(e)try{s=e(i)}catch(e){return r.error(e)}else s=i;const a=t.from(s).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){const e=n.indexOf(a);e>=0&&n.splice(e,1),o()}});n.push(a)},error(e){r.error(e)},complete(){o()}});function o(){i.closed&&0===n.length&&r.complete()}return()=>{n.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,a)](){return this}static from(e){const t="function"==typeof this?this:y;if(null==e)throw new TypeError(e+" is not an object");const r=l(e,a);if(r){const n=r.call(e);if(Object(n)!==n)throw new TypeError(n+" is not an object");return function(e){return e instanceof y}(n)&&n.constructor===t?n:new t(e=>n.subscribe(e))}if(i("iterator")){const r=l(e,s);if(r)return new t(t=>{h(()=>{if(!t.closed){for(const n of r.call(e))if(t.next(n),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:y)(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})})}static get[c](){return this}}n()&&Object.defineProperty(y,Symbol("extensions"),{value:{symbol:a,hostReportError:f},configurable:!0});t.a=y},,function(e,t){e.exports=require("events")},function(e,t,r){"use strict";r.d(t,"a",(function(){return A}));var n=r(1),i=r.n(n),o=r(17),s=r(2);const a=()=>{};var c,l=r(0);!function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(c||(c={}));var u=r(73);const f=()=>{},h=e=>e,d=e=>Promise.resolve().then(e);function p(e){throw e}class g extends o.a{constructor(e){super(t=>{const r=this,n=Object.assign(Object.assign({},t),{complete(){t.complete(),r.onCompletion()},error(e){t.error(e),r.onError(e)},next(e){t.next(e),r.onNext(e)}});try{return this.initHasRun=!0,e(n)}catch(e){n.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)d(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)d(()=>e(this.firstValue))}then(e,t){const r=e||h,n=t||p;let i=!1;return new Promise((e,t)=>{const o=r=>{if(!i){i=!0;try{e(n(r))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:o}),"fulfilled"===this.state?e(r(this.firstValue)):"rejected"===this.state?(i=!0,e(n(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(r(t))}catch(e){o(e)}}),void this.rejectionCallbacks.push(o))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||f;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new g(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var m=r(39),b=r(7);const w=i()("threads:master:messages");let y=1;function v(e,t){return new o.a(r=>{let n;const i=o=>{var a;if(w("Message from worker:",o.data),o.data&&o.data.uid===t)if((a=o.data)&&a.type===b.b.running)n=o.data.resultType;else if((e=>e&&e.type===b.b.result)(o.data))"promise"===n?(void 0!==o.data.payload&&r.next(Object(s.a)(o.data.payload)),r.complete(),e.removeEventListener("message",i)):(o.data.payload&&r.next(Object(s.a)(o.data.payload)),o.data.complete&&(r.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===b.b.error)(o.data)){const t=Object(s.a)(o.data.error);r.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===n||!n){const r={type:b.a.cancel,uid:t};e.postMessage(r)}e.removeEventListener("message",i)}})}function _(e,t){return(...r)=>{const n=y++,{args:i,transferables:o}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],r=[];for(const n of e)Object(m.a)(n)?(t.push(Object(s.b)(n.send)),r.push(...n.transferables)):t.push(Object(s.b)(n));return{args:t,transferables:0===r.length?r:(n=r,Array.from(new Set(n)))};var n}(r),a={type:b.a.run,uid:n,method:t,args:i};w("Sending command to run function to worker:",a);try{e.postMessage(a,o)}catch(e){return g.from(Promise.reject(e))}return g.from(Object(u.a)(v(e,n)))}}var k=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};const S=i()("threads:master:messages"),x=i()("threads:master:spawn"),C=i()("threads:master:thread-utils"),E="undefined"!=typeof process&&process.env.THREADS_WORKER_INIT_TIMEOUT?Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT,10):1e4;function T(e){const[t,r]=function(){let e,t=!1,r=a;return[new Promise(n=>{t?n(e):r=n}),n=>{t=!0,e=n,r(e)}]}();return{terminate:()=>k(this,void 0,void 0,(function*(){C("Terminating worker"),yield e.terminate(),r()})),termination:t}}function O(e,t,r,n){const i=r.filter(e=>e.type===c.internalError).map(e=>e.error);return Object.assign(e,{[l.a]:i,[l.b]:r,[l.c]:n,[l.e]:t})}function A(e,t){return k(this,void 0,void 0,(function*(){x("Initializing new thread");const r=t&&t.timeout?t.timeout:E,n=(yield function(e,t,r){return k(this,void 0,void 0,(function*(){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>i(Error(r)),t)}),o=yield Promise.race([e,i]);return clearTimeout(n),o}))}(function(e){return new Promise((t,r)=>{const n=i=>{var o;S("Message from worker before finishing initialization:",i.data),(o=i.data)&&"init"===o.type?(e.removeEventListener("message",n),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",n),r(Object(s.a)(i.data.error)))};e.addEventListener("message",n)})}(e),r,`Timeout: Did not receive an init message from worker after ${r}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:a}=T(e),l=function(e,t){return new o.a(r=>{const n=e=>{const t={type:c.message,data:e.data};r.next(t)},i=e=>{C("Unhandled promise rejection event in thread:",e);const t={type:c.internalError,error:Error(e.reason)};r.next(t)};e.addEventListener("message",n),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:c.termination};e.removeEventListener("message",n),e.removeEventListener("unhandledrejection",i),r.next(t),r.complete()})})}(e,i);if("function"===n.type){return O(_(e),e,l,a)}if("module"===n.type){return O(function(e,t){const r={};for(const n of t)r[n]=_(e,n);return r}(e,n.methods),e,l,a)}{const e=n.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n=r(1),i=r.n(n),o=r(38),s=r(73),a=r(17);function c(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}}))}var l,u=r(5);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(l||(l={}));var f=r(10),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new o.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const r="number"==typeof t?{size:t}:t||{},{size:n=u.a}=r;this.debug=i()("threads:pool:"+(r.name||String(d++)).replace(/\\W/g," ").trim().replace(/\\s+/g,"-")),this.options=r,this.workers=function(e,t){return function(e){const t=[];for(let r=0;r({init:e(),runningTasks:[]}))}(e,n),this.eventObservable=Object(s.a)(a.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:l.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthh(this,void 0,void 0,(function*(){var n;yield(n=0,new Promise(e=>setTimeout(e,n)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==r),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(r)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:l.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,r)=>{const n=this.events().subscribe(i=>{i.type===l.taskCompleted&&i.taskID===e?(n.unsubscribe(),t(i.returnValue)):i.type===l.taskFailed&&i.taskID===e?(n.unsubscribe(),r(i.error)):i.type===l.terminated&&(n.unsubscribe(),r(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return h(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,r)=>[...e,...t(r)],[]);var e,t},r=[],n=this.eventObservable.subscribe(e=>{e.type===l.taskFailed&&r.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield c(t()),r):(yield new Promise((e,t)=>{const r=this.eventObservable.subscribe({next(t){t.type===l.taskQueueDrained&&(r.unsubscribe(),e(void 0))},error:t})}),yield c(t()),n.unsubscribe(),r)}))}completed(e=!1){return h(this,void 0,void 0,(function*(){const t=this.settled(e),r=new Promise((e,r)=>{const n=this.eventObservable.subscribe({next(i){i.type===l.taskQueueDrained?(n.unsubscribe(),e(t)):i.type===l.taskFailed&&(n.unsubscribe(),r(i.error))},error:r})}),n=yield Promise.race([t,r]);if(n.length>0)throw n[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const r=this.nextTaskID++,n=this.taskCompletion(r);n.catch(e=>{this.debug(`Task #${r} errored:`,e)});const i={id:r,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:l.taskCanceled,taskID:i.id}))},then:n.then.bind(n)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won\'t finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:l.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return h(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:l.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>h(this,void 0,void 0,(function*(){return f.a.terminate(yield e.init)}))))}))}}function g(e,t){return new p(e,t)}p.EventType=l,g.EventType=l;const m=g},function(e,t){e.exports=require("http")},function(e,t){e.exports=require("stream")},function(e,t,r){"use strict";var n=r(13);e.exports=w;var i,o=r(44);w.ReadableState=b;r(19).EventEmitter;var s=function(e,t){return e.listeners(t).length},a=r(25),c=r(14).Buffer,l=global.Uint8Array||function(){};var u=Object.create(r(8));u.inherits=r(3);var f=r(9),h=void 0;h=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p=r(46),g=r(26);u.inherits(w,a);var m=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(i=i||r(4));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=r(28).StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function w(e){if(i=i||r(4),!(this instanceof w))return new w(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function y(e,t,r,n,i){var o,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,k(e)}(e,s)):(i||(o=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):v(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?v(e,s,t,!1):x(e,s)):v(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),O(e)}function x(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;eo.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error(\'"endReadable()" called on non-empty stream\');t.endEmitted||(t.ended=!0,n.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function D(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):k(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?A(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},w.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},w.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:w;function c(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",m),e.removeListener("finish",b),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",w),r.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){h("onend"),e.end()}i.endEmitted?n.nextTick(a):r.once("end",a),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,O(e))}}(r);e.on("drain",u);var f=!1;var d=!1;function p(t){h("ondata"),d=!1,!1!==e.write(t)||d||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==D(i.pipes,e))&&!f&&(h("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,d=!0),r.pause())}function g(t){h("onerror",t),w(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function m(){e.removeListener("finish",b),w()}function b(){h("onfinish"),e.removeListener("close",m),w()}function w(){h("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",m),e.once("finish",b),e.emit("pipe",r),i.flowing||(h("pipe resume"),r.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?setImmediate:n.nextTick;m.WritableState=g;var a=Object.create(r(8));a.inherits=r(3);var c={deprecate:r(47)},l=r(25),u=r(14).Buffer,f=global.Uint8Array||function(){};var h,d=r(26);function p(){}function g(e,t){o=o||r(4),e=e||{};var a=t instanceof o;this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:a&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,o=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,o){--t.pendingcb,r?(n.nextTick(o,i),n.nextTick(k,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(o(i),e._writableState.errorEmitted=!0,e.emit("error",i),k(e,t))}(e,r,i,t,o);else{var a=v(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||y(e,r),i?s(w,e,r,a,o):w(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function m(e){if(o=o||r(4),!(h.call(m,this)||this instanceof o))return new m(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function b(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),k(e,t)}function y(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var a=0,c=!0;r;)o[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;o.allBuffers=c,b(e,t,!0,t.length,o,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,f=r.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,u,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function v(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),k(e,t)}))}function k(e,t){var r=v(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}a.inherits(m,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===m&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(e,t,r){var i,o=this._writableState,s=!1,a=!o.objectMode&&(i=e,u.isBuffer(i)||i instanceof f);return a&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=p),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(a||function(e,t,r,i){var o=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),n.nextTick(i,s),o=!1),o}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,r,n,i,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,t,r){t.ending=!0,k(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),m.prototype.destroy=d.destroy,m.prototype._undestroy=d.undestroy,m.prototype._destroy=function(e,t){this.end(),t(e)}},function(e,t,r){"use strict";var n=r(14).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";e.exports=s;var n=r(4),i=Object.create(r(8));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(o.a)(r),t)}async decode(e,t){return new Promise((r,n)=>{this.pool.queue(async i=>{try{const n=await i(e,t);r(n)}catch(e){n(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,r(59))},function(e,t,r){e.exports=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\\s,]+/),i=n.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;ta)&&(a=p))}e.maxs.push(a),e.mins.push(c),e.ranges.push(a-c)}o(e)}))}},function(e,t,r){function n(e,t){"use strict";var r=(t=t||{}).pos||0,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),a="/".charCodeAt(0),c="!".charCodeAt(0),l="\'".charCodeAt(0),u=\'"\'.charCodeAt(0);function f(){for(var t=[];e[r];)if(e.charCodeAt(r)==i){if(e.charCodeAt(r+1)===a)return(r=e.indexOf(">",r))+1&&(r+=1),t;if(e.charCodeAt(r+1)===c){if(e.charCodeAt(r+2)==s){for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length)}else for(r+=2;e.charCodeAt(r)!==o&&e[r];)r++;r++;continue}var n=g();t.push(n)}else{var l=h();l.trim().length>0&&t.push(l),r++}return t}function h(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}function d(){for(var t=r;-1==="\\n\\t>/= ".indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var p=t.noChildNodes||["img","br","input","meta","link"];function g(){r++;const t=d(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var s=e.charCodeAt(r);if(s>64&&s<91||s>96&&s<123){for(var c=d(),h=e.charCodeAt(r);h&&h!==l&&h!==u&&!(h>64&&h<91||h>96&&h<123)&&h!==o;)r++,h=e.charCodeAt(r);if(h===l||h===u){var g=m();if(-1===r)return{tagName:t,attributes:n,children:i}}else g=null,r--;n[c]=g}r++}if(e.charCodeAt(r-1)!==a)if("script"==t){var b=r+1;r=e.indexOf("<\\/script>",r),i=[e.slice(b,r-1)],r+=9}else if("style"==t){b=r+1;r=e.indexOf("",r),i=[e.slice(b,r-1)],r+=8}else-1==p.indexOf(t)&&(r++,i=f());else r++;return{tagName:t,attributes:n,children:i}}function m(){var t=e[r],n=++r;return r=e.indexOf(t,n),e.slice(n,r)}var b,w=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(w=[];-1!==(b=void 0,b=new RegExp("\\\\s"+t.attrName+"\\\\s*=[\'\\"]"+t.attrValue+"[\'\\"]").exec(e),r=b?b.index:-1);)-1!==(r=e.lastIndexOf("<",r))&&w.push(g()),e=e.substr(r),r=0}else w=t.parseNode?g():f();return t.filter&&(w=n.filter(w,t.filter)),t.setPos&&(w.pos=r),w}n.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=n.simplify(e.children||[]);t[e.tagName].push(r),e.attributes&&(r._attributes=e.attributes)}})),t)1==t[r].length&&(t[r]=t[r][0]);return t},n.filter=function(e,t){var r=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&r.push(e),e.children){var i=n.filter(e.children,t);r=r.concat(i)}})),r},n.stringify=function(e){var t="";function r(e){if(e)for(var r=0;r",r(e.children),t+=""}return r(e),t},n.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+n.toContentString(e)).trim()})),t}return"object"==typeof e?n.toContentString(e.children):" "+e},n.getElementById=function(e,t,r){var i=n(e,{attrValue:t});return r?n.simplify(i):i[0]},n.getElementsByClassName=function(e,t,r){const i=n(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return r?n.simplify(i):i},n.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=r(12);e=i.createReadStream(e,{start:t}),t=0}var o=t,s="";return e.on("data",(function(t){s+=t;for(var r=0;;){if(!(o=s.indexOf("<",o)+1))return void(o=r);if("/"!==s[o+1]){var i=n(s,{pos:o-1,parseNode:!0,setPos:!0});if((o=i.pos)>s.length-1||oo.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,c,l,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=o.utf8border(h.output,h.next_out),l=h.next_out-c,f=o.buf2string(h.output,c),h.next_out=l,h.avail_out=d-l,l&&i.arraySet(h.output,h.output,c,l,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"defaultPoolSize",(function(){return defaultPoolSize})),__webpack_require__.d(__webpack_exports__,"getWorkerImplementation",(function(){return getWorkerImplementation})),__webpack_require__.d(__webpack_exports__,"isWorkerRuntime",(function(){return isWorkerRuntime}));var callsites__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(36),callsites__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(callsites__WEBPACK_IMPORTED_MODULE_0__),events__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(19),events__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__),os__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(37),os__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_2__),path__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(6),path__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__),url__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(16),url__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);let tsNodeAvailable;const defaultPoolSize=Object(os__WEBPACK_IMPORTED_MODULE_2__.cpus)().length;function detectTsNode(){if("function"==typeof require)return!1;if(tsNodeAvailable)return tsNodeAvailable;try{eval("require").resolve("ts-node"),tsNodeAvailable=!0}catch(e){if(!e||"MODULE_NOT_FOUND"!==e.code)throw e;tsNodeAvailable=!1}return tsNodeAvailable}function createTsNodeModule(e){return`\\n require("ts-node/register/transpile-only");\\n require(${JSON.stringify(e)});\\n `}function rebaseScriptPath(e,t){const r=callsites__WEBPACK_IMPORTED_MODULE_0___default()().find(e=>{const r=e.getFileName();return Boolean(r&&!r.match(t)&&!r.match(/[\\/\\\\]master[\\/\\\\]implementation/)&&!r.match(/^internal\\/process/))}),n=r?r.getFileName():null;let i=n||null;i&&i.startsWith("file:")&&(i=Object(url__WEBPACK_IMPORTED_MODULE_4__.fileURLToPath)(i));return i?path__WEBPACK_IMPORTED_MODULE_3__.join(path__WEBPACK_IMPORTED_MODULE_3__.dirname(i),e):e}function resolveScriptPath(scriptPath,baseURL){const makeRelative=filePath=>path__WEBPACK_IMPORTED_MODULE_3__.isAbsolute(filePath)?filePath:path__WEBPACK_IMPORTED_MODULE_3__.join(baseURL||eval("__dirname"),filePath),workerFilePath="function"==typeof require?require.resolve(makeRelative(scriptPath)):eval("require").resolve(makeRelative(rebaseScriptPath(scriptPath,/[\\/\\\\]worker_threads[\\/\\\\]/)));return workerFilePath}function initWorkerThreadsWorker(){const NativeWorker="function"==typeof require?require("worker_threads").Worker:eval("require")("worker_threads").Worker;let allWorkers=[];class Worker extends NativeWorker{constructor(e,t){const r=t&&t.fromSource?null:resolveScriptPath(e,(t||{})._baseURL);if(r)r.match(/\\.tsx?$/i)&&detectTsNode()?super(createTsNodeModule(r),Object.assign(Object.assign({},t),{eval:!0})):r.match(/\\.asar[\\/\\\\]/)?super(r.replace(/\\.asar([\\/\\\\])/,".asar.unpacked$1"),t):super(r,t);else{super(e,Object.assign(Object.assign({},t),{eval:!0}))}this.mappedEventListeners=new WeakMap,allWorkers.push(this)}addEventListener(e,t){const r=e=>{t({data:e})};this.mappedEventListeners.set(t,r),this.on(e,r)}removeEventListener(e,t){const r=this.mappedEventListeners.get(t)||t;this.off(e,r)}}const terminateWorkersAndMaster=()=>{Promise.all(allWorkers.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),allWorkers=[]};process.on("SIGINT",()=>terminateWorkersAndMaster()),process.on("SIGTERM",()=>terminateWorkersAndMaster());class BlobWorker extends Worker{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new Worker(e,Object.assign(Object.assign({},t),{fromSource:!0}))}}return{blob:BlobWorker,default:Worker}}function initTinyWorker(){const e=__webpack_require__(60);let t=[];class r extends e{constructor(e,r){const n=r&&r.fromSource?null:"win32"===process.platform?"file:///"+resolveScriptPath(e).replace(/\\\\/g,"/"):resolveScriptPath(e);if(n)n.match(/\\.tsx?$/i)&&detectTsNode()?super(new Function(createTsNodeModule(resolveScriptPath(e))),[],{esm:!0}):n.match(/\\.asar[\\/\\\\]/)?super(n.replace(/\\.asar([\\/\\\\])/,".asar.unpacked$1"),[],{esm:!0}):super(n,[],{esm:!0});else{super(new Function(e),[],{esm:!0})}t.push(this),this.emitter=new events__WEBPACK_IMPORTED_MODULE_1__.EventEmitter,this.onerror=e=>this.emitter.emit("error",e),this.onmessage=e=>this.emitter.emit("message",e)}addEventListener(e,t){this.emitter.addListener(e,t)}removeEventListener(e,t){this.emitter.removeListener(e,t)}terminate(){return t=t.filter(e=>e!==this),super.terminate()}}const n=()=>{Promise.all(t.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),t=[]};process.on("SIGINT",()=>n()),process.on("SIGTERM",()=>n());return{blob:class extends r{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new r(e,Object.assign(Object.assign({},t),{fromSource:!0}))}},default:r}}let implementation,isTinyWorker;function selectWorkerImplementation(){try{return isTinyWorker=!1,initWorkerThreadsWorker()}catch(e){return console.debug("Node worker_threads not available. Trying to fall back to tiny-worker polyfill..."),isTinyWorker=!0,initTinyWorker()}}function getWorkerImplementation(){return implementation||(implementation=selectWorkerImplementation()),implementation}function isWorkerRuntime(){if(isTinyWorker)return!("undefined"==typeof self||!self.postMessage);{const isMainThread="function"==typeof require?require("worker_threads").isMainThread:eval("require")("worker_threads").isMainThread;return!isMainThread}}},function(e,t,r){"use strict";const n=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);return Error.prepareStackTrace=e,t};e.exports=n,e.exports.default=n},function(e,t){e.exports=require("os")},function(e,t,r){"use strict";var n=r(17);class i extends n.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(0);function i(e){return e&&"object"==typeof e&&e[n.d]}},function(e,t){e.exports=require("https")},function(e,t,r){"use strict";r.r(t);var n=r(32),i=r.n(n);self;onmessage=e=>{const t=e.data;i()(t).then(e=>{e._data instanceof ArrayBuffer?postMessage(e,[e._data]):postMessage(e),close()})}},function(e,t,r){var n=r(43).Transform,i=r(3);function o(e){n.call(this,e),this._destroyed=!1}function s(e,t,r){r(null,e)}function a(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=s),"function"!=typeof n&&(n=null),e(t,r,n)}}i(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;process.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},e.exports=a((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),e.exports.ctor=a((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),o.call(this,this.options)}return i(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),e.exports.obj=a((function(e,t,r){var n=new o(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))},function(e,t,r){var n=r(23);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(24)).Stream=n||t,t.Readable=t,t.Writable=r(27),t.Duplex=r(4),t.Transform=r(29),t.PassThrough=r(48))},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t,r){"use strict";var n=r(14).Buffer,i=r(9);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=o,i=a,t.copy(r,i),a+=s.data.length,s=s.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t,r){e.exports=r(9).deprecate},function(e,t,r){"use strict";e.exports=o;var n=r(29),i=Object.create(r(8));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}i.inherits=r(3),i.inherits(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n=r(15),i=r(50),o=r(51),s=r(52),a=r(53);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function d(e,t){var r,n;return e?(n=new l,e.state=n,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function b(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function w(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=o(r.check,F,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,P=8+(15&(g>>>=4)),0===r.wbits)r.wbits=P;else if(P>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(F[0]=255&g,F[1]=g>>>8&255,r.check=o(r.check,F,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>8&255,F[2]=g>>>16&255,F[3]=g>>>24&255,r.check=o(r.check,F,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>8),512&r.flags&&(F[0]=255&g,F[1]=g>>>8&255,r.check=o(r.check,F,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>>8&255,r.check=o(r.check,F,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>d&&(_=d),_&&(r.head&&(P=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,l,f,_,P)),512&r.flags&&(r.check=o(r.check,l,_,f)),d-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;_=0;do{P=l[f+_++],r.head&&P&&r.length<65536&&(r.head.name+=String.fromCharCode(P))}while(P&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===d)break e;d--,g+=l[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(b(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===d)break e;d--,g+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>d&&(_=d),_>p&&(_=p),0===_)break e;n.arraySet(u,l,f,_,h),d-=_,f+=_,p-=_,h+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===d)break e;d--,g+=l[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[j[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,D={bits:r.lenbits},I=a(0,r.lens,0,19,r.lencode,0,r.work,D),r.lenbits=D.bits,I){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,E=65535&R,!((x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=x,m-=x,r.lens[r.have++]=E;else{if(16===E){for(M=x+2;m>>=x,m-=x,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}P=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===E){for(M=x+3;m>>=x)),g>>>=3,m-=3}else{for(M=x+7;m>>=x)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=P}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,D={bits:r.lenbits},I=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,D),r.lenbits=D.bits,I){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,D={bits:r.distbits},I=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,D),r.distbits=D.bits,I){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,r.hold=g,r.bits=m,s(e,v),h=e.next_out,u=e.output,p=e.avail_out,f=e.next_in,l=e.input,d=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;C=(R=r.lencode[g&(1<>>16&255,E=65535&R,!((x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>T)])>>>16&255,E=65535&R,!(T+(x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=T,m-=T,r.back+=T}if(g>>>=x,m-=x,r.back+=x,r.length=E,0===C){r.mode=26;break}if(32&C){r.back=-1,r.mode=12;break}if(64&C){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&C,r.mode=22;case 22:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;C=(R=r.distcode[g&(1<>>16&255,E=65535&R,!((x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>T)])>>>16&255,E=65535&R,!(T+(x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=T,m-=T,r.back+=T}if(g>>>=x,m-=x,r.back+=x,64&C){e.msg="invalid distance code",r.mode=30;break}r.offset=E,r.extra=15&C,r.mode=24;case 24:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=v-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,k=r.wsize-_):k=r.wnext-_,_>r.length&&(_=r.length),S=r.window}else S=u,k=h-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{u[h++]=S[k++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;u[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===d)break e;d--,g|=l[f++]<>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a>>8^o[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,s,a,c,l,u,f,h,d,p,g,m,b,w,y,v,_,k,S,x,C,E;r=e.state,n=e.next_in,C=e.input,i=n+(e.avail_in-5),o=e.next_out,E=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),c=r.dmax,l=r.wsize,u=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,m=r.distcode,b=(1<>>=v=y>>>24,p-=v,0===(v=y>>>16&255))E[o++]=65535&y;else{if(!(16&v)){if(0==(64&v)){y=g[(65535&y)+(d&(1<>>=v,p-=v),p<15&&(d+=C[n++]<>>=v=y>>>24,p-=v,!(16&(v=y>>>16&255))){if(0==(64&v)){y=m[(65535&y)+(d&(1<c){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=v,p-=v,k>(v=o-s)){if((v=k-v)>u&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,x=h,0===f){if(S+=l-v,v<_){_-=v;do{E[o++]=h[S++]}while(--v);S=o-k,x=E}}else if(f2;)E[o++]=x[S++],E[o++]=x[S++],E[o++]=x[S++],_-=3;_&&(E[o++]=x[S++],_>1&&(E[o++]=x[S++]))}else{S=o-k;do{E[o++]=E[S++],E[o++]=E[S++],E[o++]=E[S++],_-=3}while(_>2);_&&(E[o++]=E[S++],_>1&&(E[o++]=E[S++]))}break}}break}}while(n>3,d&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===F[E];E--);if(T>E&&(T=E),0===E)return l[u++]=20971520,l[u++]=20971520,h.bits=1,0;for(C=1;C0&&(0===e||1!==E))return-1;for(j[1]=0,S=1;S<15;S++)j[S+1]=j[S]+F[S];for(x=0;x852||2===e&&I>592)return 1;for(;;){y=S-A,f[x]w?(v=L[U+f[x]],_=M[R+f[x]]):(v=96,_=0),d=1<>A)+(p-=d)]=y<<24|v<<16|_|0}while(0!==p);for(d=1<>=1;if(0!==d?(D&=d-1,D+=d):D=0,x++,0==--F[S]){if(S===E)break;S=t[r+f[x]]}if(S>T&&(D&m)!==g){for(0===A&&(A=T),b+=C,P=1<<(O=S-A);O+A852||2===e&&I>592)return 1;l[g=D&m]=T<<24|O<<16|b-u|0}}return 0!==D&&(l[b+D]=S-A<<24|64<<16|0),h.bits=T,0}},function(e,t,r){"use strict";var n=r(15),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)l[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return c(l,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){e.exports=r.p+"0.ce4fa17e796500cc1eca.worker.worker.js"},function(e,t,r){"use strict";(function(t){var n=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{cwd:process.cwd()};i(this,e);var c="function"==typeof t,f=c?t.toString():t;o.cwd||(o.cwd=process.cwd());var h=process.execArgv.filter((function(e){return/(debug|inspect)/.test(e)}));if(h.length>0&&!o.noDebugRedirection){o.execArgv||(h=Array.from(process.execArgv),o.execArgv=[]);var d=h.findIndex((function(e){return/^--inspect(-brk)?(=\\d+)?$/.test(e)})),p=h.findIndex((function(e){return/^--debug(-brk)?(=\\d+)?$/.test(e)})),g=d>=0?d:p;if(g>=0){var m=/^--(debug|inspect)(?:-brk)?(?:=(\\d+))?$/.exec(h[g]),b=l[m[1]];m[2]&&(b=parseInt(m[2])),h[g]="--"+m[1]+"="+(b+u.min+Math.floor(Math.random()*(u.max-u.min))),p>=0&&p!==g&&(m=/^(--debug)(?:-brk)?(.*)/.exec(h[p]),h[p]=m[1]+(m[2]?m[2]:""))}o.execArgv=o.execArgv.concat(h)}delete o.noDebugRedirection,this.child=s(a,n,o),this.onerror=void 0,this.onmessage=void 0,this.child.on("error",(function(e){r.onerror&&r.onerror.call(r,e)})),this.child.on("message",(function(e){var t=JSON.parse(e),n=void 0;!t.error&&r.onmessage&&r.onmessage.call(r,t),t.error&&r.onerror&&((n=new Error(t.error)).stack=t.stack,r.onerror.call(r,n))})),this.child.send({input:f,isfn:c,cwd:o.cwd,esm:o.esm})}return n(e,[{key:"addEventListener",value:function(e,t){c.test(e)&&(this["on"+e]=t)}},{key:"postMessage",value:function(e){this.child.send(JSON.stringify({data:e},null,0))}},{key:"terminate",value:function(){this.child.kill("SIGINT")}}],[{key:"setRange",value:function(e,t){return!(e>=t)&&(u.min=e,u.max=t,!0)}}]),e}();e.exports=f}).call(this,"/")},function(e,t){e.exports=require("child_process")},function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(31)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){var r=1e3,n=6e4,i=60*n,o=24*i;function s(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=n)return s(e,t,n,"minute");if(t>=r)return s(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){const n=r(65),i=r(9);t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r(66);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{}),e.exports=r(31)(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\\n").map(e=>e.trim()).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,t){e.exports=require("tty")},function(e,t,r){"use strict";var n=process.argv,i=n.indexOf("--"),o=function(e){e="--"+e;var t=n.indexOf(e);return-1!==t&&(-1===i||t{t&&console.log("starting getPalette with image",e);const{fileDirectory:r}=e,{BitsPerSample:n,ColorMap:i,ImageLength:o,ImageWidth:s,PhotometricInterpretation:a,SampleFormat:c,SamplesPerPixel:l}=r;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can\'t make a palette.");const u=Math.pow(2,n);t&&console.log("[geotiff-palette]: count:",u);const f=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",f),f!==u)throw new Error("[geotiff-palette]: can\'t handle situations where the color map has more or less values than the number of possible values in a raster");const h=f,d=h+f,p=[];for(let e=0;e>24)/500+a,l=a-(e[t+2]<<24>>24)/200;c=.95047*(c*c*c>.008856?c*c*c:(c-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),l=1.08883*(l*l*l>.008856?l*l*l:(l-16/116)/7.787),i=3.2406*c+-1.5372*a+-.4986*l,o=-.9689*c+1.8758*a+.0415*l,s=.0557*c+-.204*a+1.057*l,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n[r]=255*Math.max(0,Math.min(1,i)),n[r+1]=255*Math.max(0,Math.min(1,o)),n[r+2]=255*Math.max(0,Math.min(1,s))}return n}function S(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function x(e,t,r){let n=0,i=e.length;const o=i/r;for(;i>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;i-=t}const s=e.slice();for(let t=0;t=e.byteLength);++o){let n;if(2===t){switch(i[0]){case 8:n=new Uint8Array(e,o*a*r*s,a*r*s);break;case 16:n=new Uint16Array(e,o*a*r*s,a*r*s/2);break;case 32:n=new Uint32Array(e,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}S(n,a)}else 3===t&&(n=new Uint8Array(e,o*a*r*s,a*r*s),x(n,a,s))}return e}(r,n,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return r}}class E extends C{decodeBlock(e){return e}}function T(e,t){for(let r=t.length-1;r>=0;r--)e.push(t[r]);return e}function O(e){const t=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,r[e]=e;let n=258,i=9,o=0;function s(){n=258,i=9}function a(e){const t=function(e,t,r){const n=t%8,i=Math.floor(t/8),o=8-n,s=t+r-8*(i+1);let a=8*(i+2)-(t+r);const c=8*(i+2)-t;if(a=Math.max(0,a),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let l=e[i]&2**(8-n)-1;l<<=r-o;let u=l;if(i+1>>a;t<<=Math.max(0,r-c),u+=t}if(s>8&&i+2>>n}return u}(e,o,i);return o+=i,t}function c(e,i){return r[n]=i,t[n]=e,n++,n-1}function l(e){const n=[];for(let i=e;4096!==i;i=t[i])n.push(r[i]);return n}const u=[];s();const f=new Uint8Array(e);let h,d=a(f);for(;257!==d;){if(256===d){for(s(),d=a(f);256===d;)d=a(f);if(257===d)break;if(d>256)throw new Error("corrupted code at scanline "+d);T(u,l(d)),h=d}else if(d=2**i&&(12===i?h=void 0:i++),d=a(f)}return new Uint8Array(u)}class A extends C{decodeBlock(e){return O(e).buffer}}const P=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function I(e,t){let r=0;const n=[];let i=16;for(;i>0&&!e[i-1];)--i;n.push({children:[],index:0});let o,s=n[0];for(let a=0;a0;)s=n.pop();for(s.index++,n.push(s);n.length<=a;)n.push(o={children:[],index:0}),s.children[s.index]=o.children,s=o;r++}a+10)return p--,d>>p&1;if(d=e[h++],255===d){const t=e[h++];if(t)throw new Error("unexpected marker: "+(d<<8|t).toString(16))}return p=7,d>>>7}function m(e){let t,r=e;for(;null!==(t=g());){if(r=r[t],"number"==typeof r)return r;if("object"!=typeof r)throw new Error("invalid huffman sequence")}return null}function b(e){let t=e,r=0;for(;t>0;){const e=g();if(null===e)return;r=r<<1|e,--t}return r}function w(e){const t=b(e);return t>=1<0)return void y--;let r=o;const n=s;for(;r<=n;){const n=m(e.huffmanTableAC),i=15&n,o=n>>4;if(0===i){if(o<15){y=b(o)+(1<>4,0===r)i<15?(y=b(i)+(1<>4;if(0===n){if(o<15)break;i+=16}else{i+=o;t[P[i]]=w(n),i++}}};let D,M,R=0;M=1===x?n[0].blocksPerLine*n[0].blocksPerColumn:l*r.mcusPerColumn;const F=i||M;for(;R=65488&&D<=65495))break;h+=2}return h-f}function M(e,t){const r=[],{blocksPerLine:n,blocksPerColumn:i}=t,o=n<<3,s=new Int32Array(64),a=new Uint8Array(64);function c(e,r,n){const i=t.quantizationTable;let o,s,a,c,l,u,f,h,d;const p=n;let g;for(g=0;g<64;g++)p[g]=e[g]*i[g];for(g=0;g<8;++g){const e=8*g;0!==p[1+e]||0!==p[2+e]||0!==p[3+e]||0!==p[4+e]||0!==p[5+e]||0!==p[6+e]||0!==p[7+e]?(o=5793*p[0+e]+128>>8,s=5793*p[4+e]+128>>8,a=p[2+e],c=p[6+e],l=2896*(p[1+e]-p[7+e])+128>>8,h=2896*(p[1+e]+p[7+e])+128>>8,u=p[3+e]<<4,f=p[5+e]<<4,d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*c+128>>8,a=1567*a-3784*c+128>>8,c=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+u+1>>1,u=h-u+1>>1,h=d,d=o-c+1>>1,o=o+c+1>>1,c=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*u+4017*f+2048>>12,u=4017*u-799*f+2048>>12,f=d,p[0+e]=o+h,p[7+e]=o-h,p[1+e]=s+f,p[6+e]=s-f,p[2+e]=a+u,p[5+e]=a-u,p[3+e]=c+l,p[4+e]=c-l):(d=5793*p[0+e]+512>>10,p[0+e]=d,p[1+e]=d,p[2+e]=d,p[3+e]=d,p[4+e]=d,p[5+e]=d,p[6+e]=d,p[7+e]=d)}for(g=0;g<8;++g){const e=g;0!==p[8+e]||0!==p[16+e]||0!==p[24+e]||0!==p[32+e]||0!==p[40+e]||0!==p[48+e]||0!==p[56+e]?(o=5793*p[0+e]+2048>>12,s=5793*p[32+e]+2048>>12,a=p[16+e],c=p[48+e],l=2896*(p[8+e]-p[56+e])+2048>>12,h=2896*(p[8+e]+p[56+e])+2048>>12,u=p[24+e],f=p[40+e],d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*c+2048>>12,a=1567*a-3784*c+2048>>12,c=d,d=l-f+1>>1,l=l+f+1>>1,f=d,d=h+u+1>>1,u=h-u+1>>1,h=d,d=o-c+1>>1,o=o+c+1>>1,c=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*l+3406*h+2048>>12,l=3406*l-2276*h+2048>>12,h=d,d=799*u+4017*f+2048>>12,u=4017*u-799*f+2048>>12,f=d,p[0+e]=o+h,p[56+e]=o-h,p[8+e]=s+f,p[48+e]=s-f,p[16+e]=a+u,p[40+e]=a-u,p[24+e]=c+l,p[32+e]=c-l):(d=5793*n[g+0]+8192>>14,p[0+e]=d,p[8+e]=d,p[16+e]=d,p[24+e]=d,p[32+e]=d,p[40+e]=d,p[48+e]=d,p[56+e]=d)}for(g=0;g<64;++g){const e=128+(p[g]+8>>4);r[g]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let r=0;r<64;r++){i[P[r]]=e[t++]}else{if(n>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[P[e]]=r()}}this.quantizationTables[15&n]=i}break}case 65472:case 65473:case 65474:{r();const n={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},s=e[t++];let a;for(let r=0;r>4,i=15&e[t+1],o=e[t+2];n.componentsOrder.push(a),n.components[a]={h:r,v:i,quantizationIdx:o},t+=3}i(n),this.frames.push(n);break}case 65476:{const n=r();for(let r=2;r>4==0?this.huffmanTablesDC[15&n]=I(i,s):this.huffmanTablesAC[15&n]=I(i,s)}break}case 65501:r(),this.resetInterval=r();break;case 65498:{r();const n=e[t++],i=[],o=this.frames[0];for(let r=0;r>4],r.huffmanTableAC=this.huffmanTablesAC[15&n],i.push(r)}const s=e[t++],a=e[t++],c=e[t++],l=D(e,t,o,i,this.resetInterval,s,a,c>>4,15&c);t+=l;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+o.toString(16))}o=r()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const a=B(e,n,i);for(let c=0;c{const a=B(e,n,i);for(let c=0;c=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(r){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(r){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(r){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return z(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),o=Math.ceil(this.getHeight()/this.getTileHeight());let s;const{tiles:a}=this;let c,l;1===this.planarConfiguration?s=t*i+e:2===this.planarConfiguration&&(s=r*i*o+t*i+e),this.isTiled?(c=this.fileDirectory.TileOffsets[s],l=this.fileDirectory.TileByteCounts[s]):(c=this.fileDirectory.StripOffsets[s],l=this.fileDirectory.StripByteCounts[s]);const u=await this.source.fetch(c,l);let f;return null===a?f=n.decode(this.fileDirectory,u):a[s]||(f=n.decode(this.fileDirectory,u),a[s]=f),{x:e,y:t,sample:r,data:await f}}async _readRaster(e,t,r,n,i,o,s,a){const c=this.getTileWidth(),l=this.getTileHeight(),u=Math.max(Math.floor(e[0]/c),0),f=Math.min(Math.ceil(e[2]/c),Math.ceil(this.getWidth()/this.getTileWidth())),h=Math.max(Math.floor(e[1]/l),0),d=Math.min(Math.ceil(e[3]/l),Math.ceil(this.getHeight()/this.getTileHeight())),p=e[2]-e[0];let g=this.getBytesPerPixel();const m=[],b=[];for(let e=0;e{const o=i.data,s=new DataView(o),a=i.y*l,f=i.x*c,h=(i.y+1)*l,d=(i.x+1)*c,w=b[u],v=Math.min(l,l-(h-e[3])),_=Math.min(c,c-(d-e[2]));for(let i=Math.max(0,e[1]-a);ic[2]||c[1]>c[3])throw new Error("Invalid subsets");const l=(c[2]-c[0])*(c[3]-c[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index \'${t[e]}\'.`))}else for(let e=0;es[2]||s[1]>s[3])throw new Error("Invalid subsets");const a=this.fileDirectory.PhotometricInterpretation;if(a===d.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==p.Unspecified&&o){i=[];for(let e=0;e"Item"===e.tagName);e&&(o=o.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(e+(t?o:7-o));n&&(i?0!==s&&(s=255&~(s-1),i=!1):s=255&~s),r+=s*256**o}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class Z{constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+2**32*r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}if(n=2**32*t+r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}readInt64(e){let t=0;const r=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let o=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?0!==o&&(o=255&~(o-1),n=!1):o=255&~o),t+=o*256**i}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var $=r(30),Y=r(11),Q=r(12),X=r(22),J=r.n(X),ee=r(40),te=r.n(ee),re=r(16),ne=r.n(re);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,r=!1){const n=e+t,i=[],o=[],s=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let r=[];t.push(r);for(let n=0;n{const t=await e,i=r*this.blockSize,o=Math.min(i+this.blockSize,t.data.byteLength),s=t.data.slice(i,o);this.blockRequests.delete(n),this.blocks.set(n,{data:s,offset:t.offset+i,length:s.byteLength,top:t.offset+o})})())}}this.blockIdsAwaitingRequest=null}const a=[];for(const e of o)this.blockRequests.has(e)&&a.push(this.blockRequests.get(e));await Promise.all(a),await Promise.all(s);return function(e,t,r){const n=t+r,i=new ArrayBuffer(r),o=new Uint8Array(i);for(const r of e){const e=r.offset-t,i=r.top-n;let s,a=0,c=0;e<0?a=-e:e>0&&(c=e),s=i<0?r.length-a:n-r.offset-a;const l=new Uint8Array(r.data,a,s);o.set(l,c)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const r=await this.retrievalFunction(e,t);return r.length?r.length!==r.data.byteLength&&(r.data=r.data.slice(0,r.length)):r.length=r.data.byteLength,r.top=r.offset+r.length,r}}function oe(e,t){const{forceXHR:r}=t;if("function"==typeof fetch&&!r)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${r}-${r+n-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:r,length:n}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:r})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=new XMLHttpRequest;s.open("GET",e),s.responseType="arraybuffer";const a={...t,Range:`bytes=${r}-${r+n-1}`};for(const[e,t]of Object.entries(a))s.setRequestHeader(e,t);s.onload=()=>{const e=s.response;206===s.status?i({data:e,offset:r,length:n}):i({data:e,offset:0,length:e.byteLength})},s.onerror=o,s.send()}),{blockSize:r})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=ne.a.parse(e);("http:"===s.protocol?J.a:te.a).get({...s,headers:{...t,Range:`bytes=${r}-${r+n-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=Y.Buffer.concat(t).buffer;i({data:e,offset:r,length:e.byteLength})})}).on("error",o)}),{blockSize:r})}(e,t);throw new Error("No remote source available")}function se(e){const t=function(e,t,r){return new Promise((n,i)=>{Object(Q.open)(e,t,r,(e,t)=>{e?i(e):n(t)})})}(e,"r");return{async fetch(e,r){const n=await t,{buffer:i}=await function(...e){return new Promise((t,r)=>{Object(Q.read)(...e,(e,n,i)=>{e?r(e):t({bytesRead:n,buffer:i})})})}(n,Y.Buffer.alloc(r),0,r,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,r)=>{Object(Q.close)(e,e=>{e?r(e):t()})})}(e)}}}function ae(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}function ce(e,t){if(e.length{let r=t;for(;0!==e[r];)r++;return r},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const r=ge.ui8;return r[0]=e[t+1],r[1]=e[t+0],ge.i16[0]},readInt:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.i32[0]},readUint:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.ui32[0]},readASCII:(e,t,r)=>r.map(r=>String.fromCharCode(e[t+r])).join(""),readFloat:(e,t)=>{const r=ge.ui8;return ue(4,n=>{r[n]=e[t+3-n]}),ge.fl32[0]},readDouble:(e,t)=>{const r=ge.ui8;return ue(8,n=>{r[n]=e[t+7-n]}),ge.fl64[0]},writeUshort:(e,t,r)=>{e[t]=r>>8&255,e[t+1]=255&r},writeUint:(e,t,r)=>{e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:(e,t,r)=>{ue(r.length,n=>{e[t+n]=r.charCodeAt(n)})},ui8:new Uint8Array(8)};ge.fl64=new Float64Array(ge.ui8.buffer),ge.writeDouble=(e,t,r)=>{ge.fl64[0]=r,ue(8,r=>{e[t+r]=ge.ui8[7-r]})};const me=e=>{const t=new Uint8Array(1e3);let r=4;const n=ge;t[0]=77,t[1]=77,t[3]=42;let i=8;if(n.writeUint(t,r,i),r+=4,e.forEach((r,o)=>{const s=((e,t,r,n)=>{let i=r;const o=Object.keys(n).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,o.length),i+=2;let s=i+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const a=l[o],c=pe[a];if(null==a||void 0===a||void 0===a)throw new Error("unknown type of tag: "+o);let u=n[r];if(void 0===u)throw new Error("failed to get value for key "+r);"ASCII"===a&&"string"==typeof u&&!1===ce(u,"\\0")&&(u+="\\0");const f=u.length;e.writeUshort(t,i,o),i+=2,e.writeUshort(t,i,c),i+=2,e.writeUint(t,i,f),i+=4;let h=[-1,1,1,2,4,8,0,0,0,0,0,0,8][c]*f,d=i;h>4&&(e.writeUint(t,i,s),d=s),"ASCII"===a?e.writeASCII(t,d,u):"SHORT"===a?ue(f,r=>{e.writeUshort(t,d+2*r,u[r])}):"LONG"===a?ue(f,r=>{e.writeUint(t,d+4*r,u[r])}):"RATIONAL"===a?ue(f,r=>{e.writeUint(t,d+8*r,Math.round(1e4*u[r])),e.writeUint(t,d+8*r+4,1e4)}):"DOUBLE"===a&&ue(f,r=>{e.writeDouble(t,d+8*r,u[r])}),h>4&&(h+=1&h,s+=h),i+=4}return[i,s]})(n,t,i,r);i=s[1],o{ue(i,r=>{ue(n,n=>{o.push(e[n][t][r])})})})),t.ImageLength=r,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=ue(n,()=>8)),be.forEach(e=>{const r=e[0];if(!t[r]){const n=e[1];t[r]=n}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[n]),t.StripByteCounts||(t.StripByteCounts=[n*r*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/r,0]),t.SampleFormat||(t.SampleFormat=ue(n,()=>1));const s=Object.keys(t).filter(e=>ce(e,"GeoKey")).sort((e,t)=>de[e]-de[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,s.length];s.forEach(r=>{const n=Number(de[r]);let i,o,s;e.push(n),"SHORT"===l[n]?(i=1,o=0,s=t[r]):"GeogCitationGeoKey"===r?(i=t.GeoAsciiParams.length,o=Number(de.GeoAsciiParams),s=0):console.log("[geotiff.js] couldn\'t get TIFFTagLocation for "+r),e.push(o),e.push(i),e.push(s)}),t.GeoKeyDirectory=e}for(const e in s)s.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var r;t[e]&&(t[e]=(r=t[e],Array.isArray(r)?r:[r]))});const a=(e=>{const t={};for(const r in e)"StripOffsets"!==r&&(de[r]||console.error(r,"not in name2code:",Object.keys(de)),t[de[r]]=e[r]);return t})(t);return((e,t,r,n)=>{if(null==r)throw new Error("you passed into encodeImage a width of type "+r);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[r],273:[1e3],278:[r],305:"geotiff.js"};if(n)for(const e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);const o=new Uint8Array(me([i])),s=new Uint8Array(e),a=i[277],c=new Uint8Array(1e3+t*r*a);return ue(o.length,e=>{c[e]=o[e]}),function(e,t){const{length:r}=e;for(let n=0;n{c[1e3+t]=e}),c.buffer})(o,i,r,a)}class ye{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let ve=new ye;function _e(e=new ye){ve=e}function ke(e){switch(e){case h.BYTE:case h.ASCII:case h.SBYTE:case h.UNDEFINED:return 1;case h.SHORT:case h.SSHORT:return 2;case h.LONG:case h.SLONG:case h.FLOAT:case h.IFD:return 4;case h.RATIONAL:case h.SRATIONAL:case h.DOUBLE:case h.LONG8:case h.SLONG8:case h.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function Se(e,t,r,n){let i=null,o=null;const s=ke(t);switch(t){case h.BYTE:case h.ASCII:case h.UNDEFINED:i=new Uint8Array(r),o=e.readUint8;break;case h.SBYTE:i=new Int8Array(r),o=e.readInt8;break;case h.SHORT:i=new Uint16Array(r),o=e.readUint16;break;case h.SSHORT:i=new Int16Array(r),o=e.readInt16;break;case h.LONG:case h.IFD:i=new Uint32Array(r),o=e.readUint32;break;case h.SLONG:i=new Int32Array(r),o=e.readInt32;break;case h.LONG8:case h.IFD8:i=new Array(r),o=e.readUint64;break;case h.SLONG8:i=new Array(r),o=e.readInt64;break;case h.RATIONAL:i=new Uint32Array(2*r),o=e.readUint32;break;case h.SRATIONAL:i=new Int32Array(2*r),o=e.readInt32;break;case h.FLOAT:i=new Float32Array(r),o=e.readFloat32;break;case h.DOUBLE:i=new Float64Array(r),o=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==h.RATIONAL&&t!==h.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tn||o&&o>s)break}}let f=t;if(s){const[e,t]=a.getOrigin(),[r,n]=c.getResolution(a);f=[Math.round((s[0]-e)/r),Math.round((s[1]-t)/n),Math.round((s[2]-e)/r),Math.round((s[3]-t)/n)],f=[Math.min(f[0],f[2]),Math.min(f[1],f[3]),Math.max(f[0],f[2]),Math.max(f[1],f[3])]}return c.readRasters({...e,window:f})}}class Te extends Ee{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const r=this.bigTiff?4048:1024;return new Z(await this.source.fetch(e,void 0!==t?t:r),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=await this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),o=i*t+(this.bigTiff?16:6);n.covers(e,o)||(n=await this.getSlice(e,o));const s={};let c=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new Ce(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new H(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof Ce))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=await this.getSlice(e,r);if(t===Se(n,h.ASCII,t.length,e)){const t=Se(n,h.ASCII,r,e).split("\\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>r&&(n=await this.getSlice(e,i));const o=Se(n,h.ASCII,i,e);this.ghostValues={},o.split("\\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const r=await e.fetch(0,1024),n=new V(r),i=n.getUint16(0,0);let o;if(18761===i)o=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");o=!1}const s=n.getUint16(2,o);let a;if(42===s)a=!1;else{if(43!==s)throw new TypeError("Invalid magic number.");a=!0;if(8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const c=a?n.getUint64(8,o):n.getUint32(4,o);return new Te(e,o,a,c,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=Te;class Oe extends Ee{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,r=0;for(let n=0;ne.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function Ae(e,t={}){return Te.fromSource(oe(e,t))}async function Pe(e){return Te.fromSource(function(e){return{fetch:async(t,r)=>e.slice(t,t+r)}}(e))}async function Ie(e){return Te.fromSource(se(e))}async function De(e){return Te.fromSource((t=e,{fetch:async(e,r)=>new Promise((n,i)=>{const o=t.slice(e,e+r),s=new FileReader;s.onload=e=>n(e.target.result),s.onerror=i,s.readAsArrayBuffer(o)})}));var t}async function Me(e,t=[],r={}){const n=await Te.fromSource(oe(e,r)),i=await Promise.all(t.map(e=>Te.fromSource(oe(e,r))));return new Oe(n,i)}async function Re(e,t){return we(e,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(5);Object(n.b)().blob;const i=Object(n.b)().default},,,function(e,t,r){"use strict";var n=r(17),i=r(38);var o=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let r,s=0;return new n.a(n=>{r||(r=e.subscribe(t));const i=t.subscribe(n);return s++,()=>{s--,i.unsubscribe(),0===s&&(o(r),r=void 0)}})}}]);',null)}},function(e,t,r){"use strict";var n=window.URL||window.webkitURL;e.exports=function(e,t){try{try{var r;try{(r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder)).append(e),r=r.getBlob()}catch(t){r=new Blob([e])}return new Worker(n.createObjectURL(r))}catch(t){return new Worker("data:application/javascript,"+encodeURIComponent(e))}}catch(e){if(!t)throw Error("Inline worker is not supported");return new Worker(t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){return new Promise((function(r,l){try{t&&console.log("starting parseData with",e),t&&console.log("\tGeoTIFF:","undefined"==typeof GeoTIFF?"undefined":i(GeoTIFF));var u={},f=void 0,h=void 0;if("object"===e.rasterType)u.values=e.data,u.height=f=e.metadata.height||u.values[0].length,u.width=h=e.metadata.width||u.values[0][0].length,u.pixelHeight=e.metadata.pixelHeight,u.pixelWidth=e.metadata.pixelWidth,u.projection=e.metadata.projection,u.xmin=e.metadata.xmin,u.ymax=e.metadata.ymax,u.noDataValue=e.metadata.noDataValue,u.numberOfRasters=u.values.length,u.xmax=u.xmin+u.width*u.pixelWidth,u.ymin=u.ymax-u.height*u.pixelHeight,u._data=null,r(c(u));else if("geotiff"===e.rasterType){u._data=e.data;var d=o.fromArrayBuffer;"url"===e.sourceType&&(d=o.fromUrl),t&&console.log("data.rasterType is geotiff"),r(d(e.data).then((function(r){return t&&console.log("geotiff:",r),r.getImage().then((function(r){try{t&&console.log("image:",r);var i=r.fileDirectory,o=r.getGeoKeys(),d=o.GeographicTypeGeoKey,p=o.ProjectedCSTypeGeoKey;u.projection=p||d,t&&console.log("projection:",u.projection),u.height=f=r.getHeight(),t&&console.log("result.height:",u.height),u.width=h=r.getWidth(),t&&console.log("result.width:",u.width);var g=r.getResolution(),m=n(g,2),b=m[0],y=m[1];u.pixelHeight=Math.abs(y),u.pixelWidth=Math.abs(b);var w=r.getOrigin(),v=n(w,2),_=v[0],k=v[1];return u.xmin=_,u.xmax=u.xmin+h*u.pixelWidth,u.ymax=k,u.ymin=u.ymax-f*u.pixelHeight,u.noDataValue=i.GDAL_NODATA?parseFloat(i.GDAL_NODATA):null,u.numberOfRasters=i.SamplesPerPixel,i.ColorMap&&(u.palette=(0,s.getPalette)(r)),"url"!==e.sourceType?r.readRasters().then((function(e){return u.values=e.map((function(e){return(0,a.unflatten)(e,{height:f,width:h})})),c(u)})):u}catch(e){l(e),console.error("[georaster] error parsing georaster:",e)}}))})))}}catch(e){l(e),console.error("[georaster] error parsing georaster:",e)}}))};var o=r(35),s=r(74),a=r(34);function c(e,t){var r=e.noDataValue,n=e.height,i=e.width;return new Promise((function(o,s){e.maxs=[],e.mins=[],e.ranges=[];for(var a=void 0,c=void 0,l=0;la)&&(a=p))}e.maxs.push(a),e.mins.push(c),e.ranges.push(a-c)}o(e)}))}},function(e,t,r){var n=r(50).Transform,i=r(6);function o(e){n.call(this,e),this._destroyed=!1}function s(e,t,r){r(null,e)}function a(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=s),"function"!=typeof n&&(n=null),e(t,r,n)}}i(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;process.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},e.exports=a((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),e.exports.ctor=a((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),o.call(this,this.options)}return i(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),e.exports.obj=a((function(e,t,r){var n=new o(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))},function(e,t,r){var n=r(0);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(26)).Stream=n||t,t.Readable=t,t.Writable=r(29),t.Duplex=r(7),t.Transform=r(31),t.PassThrough=r(55))},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},function(e,t,r){"use strict";var n=r(18).Buffer,i=r(13);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,o=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=o,i=a,t.copy(r,i),a+=s.data.length,s=s.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t,r){e.exports=r(13).deprecate},function(e,t,r){"use strict";e.exports=o;var n=r(31),i=Object.create(r(12));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}i.inherits=r(6),i.inherits(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n=r(19),i=r(57),o=r(58),s=r(59),a=r(60);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function d(e,t){var r,n;return e?(n=new l,e.state=n,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function b(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function y(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=o(r.check,F,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,P=8+(15&(g>>>=4)),0===r.wbits)r.wbits=P;else if(P>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(F[0]=255&g,F[1]=g>>>8&255,r.check=o(r.check,F,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>8&255,F[2]=g>>>16&255,F[3]=g>>>24&255,r.check=o(r.check,F,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>8),512&r.flags&&(F[0]=255&g,F[1]=g>>>8&255,r.check=o(r.check,F,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===d)break e;d--,g+=l[f++]<>>8&255,r.check=o(r.check,F,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>d&&(_=d),_&&(r.head&&(P=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,l,f,_,P)),512&r.flags&&(r.check=o(r.check,l,_,f)),d-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;_=0;do{P=l[f+_++],r.head&&P&&r.length<65536&&(r.head.name+=String.fromCharCode(P))}while(P&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===d)break e;d--,g+=l[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===d)break e;d--,g+=l[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(b(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===d)break e;d--,g+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>d&&(_=d),_>p&&(_=p),0===_)break e;n.arraySet(u,l,f,_,h),d-=_,f+=_,p-=_,h+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===d)break e;d--,g+=l[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[j[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,D={bits:r.lenbits},I=a(0,r.lens,0,19,r.lencode,0,r.work,D),r.lenbits=D.bits,I){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,C=65535&R,!((x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=x,m-=x,r.lens[r.have++]=C;else{if(16===C){for(M=x+2;m>>=x,m-=x,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}P=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===C){for(M=x+3;m>>=x)),g>>>=3,m-=3}else{for(M=x+7;m>>=x)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=P}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,D={bits:r.lenbits},I=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,D),r.lenbits=D.bits,I){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,D={bits:r.distbits},I=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,D),r.distbits=D.bits,I){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,r.hold=g,r.bits=m,s(e,v),h=e.next_out,u=e.output,p=e.avail_out,f=e.next_in,l=e.input,d=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;E=(R=r.lencode[g&(1<>>16&255,C=65535&R,!((x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>T)])>>>16&255,C=65535&R,!(T+(x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=T,m-=T,r.back+=T}if(g>>>=x,m-=x,r.back+=x,r.length=C,0===E){r.mode=26;break}if(32&E){r.back=-1,r.mode=12;break}if(64&E){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&E,r.mode=22;case 22:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;E=(R=r.distcode[g&(1<>>16&255,C=65535&R,!((x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>T)])>>>16&255,C=65535&R,!(T+(x=R>>>24)<=m);){if(0===d)break e;d--,g+=l[f++]<>>=T,m-=T,r.back+=T}if(g>>>=x,m-=x,r.back+=x,64&E){e.msg="invalid distance code",r.mode=30;break}r.offset=C,r.extra=15&E,r.mode=24;case 24:if(r.extra){for(M=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=v-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,k=r.wsize-_):k=r.wnext-_,_>r.length&&(_=r.length),S=r.window}else S=u,k=h-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{u[h++]=S[k++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;u[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===d)break e;d--,g|=l[f++]<>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a>>8^o[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,s,a,c,l,u,f,h,d,p,g,m,b,y,w,v,_,k,S,x,E,C;r=e.state,n=e.next_in,E=e.input,i=n+(e.avail_in-5),o=e.next_out,C=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),c=r.dmax,l=r.wsize,u=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,m=r.distcode,b=(1<>>=v=w>>>24,p-=v,0===(v=w>>>16&255))C[o++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=g[(65535&w)+(d&(1<>>=v,p-=v),p<15&&(d+=E[n++]<>>=v=w>>>24,p-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=m[(65535&w)+(d&(1<c){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=v,p-=v,k>(v=o-s)){if((v=k-v)>u&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,x=h,0===f){if(S+=l-v,v<_){_-=v;do{C[o++]=h[S++]}while(--v);S=o-k,x=C}}else if(f2;)C[o++]=x[S++],C[o++]=x[S++],C[o++]=x[S++],_-=3;_&&(C[o++]=x[S++],_>1&&(C[o++]=x[S++]))}else{S=o-k;do{C[o++]=C[S++],C[o++]=C[S++],C[o++]=C[S++],_-=3}while(_>2);_&&(C[o++]=C[S++],_>1&&(C[o++]=C[S++]))}break}}break}}while(n>3,d&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===F[C];C--);if(T>C&&(T=C),0===C)return l[u++]=20971520,l[u++]=20971520,h.bits=1,0;for(E=1;E0&&(0===e||1!==C))return-1;for(j[1]=0,S=1;S<15;S++)j[S+1]=j[S]+F[S];for(x=0;x852||2===e&&I>592)return 1;for(;;){w=S-A,f[x]y?(v=L[U+f[x]],_=M[R+f[x]]):(v=96,_=0),d=1<>A)+(p-=d)]=w<<24|v<<16|_|0}while(0!==p);for(d=1<>=1;if(0!==d?(D&=d-1,D+=d):D=0,x++,0==--F[S]){if(S===C)break;S=t[r+f[x]]}if(S>T&&(D&m)!==g){for(0===A&&(A=T),b+=E,P=1<<(O=S-A);O+A852||2===e&&I>592)return 1;l[g=D&m]=T<<24|O<<16|b-u|0}}return 0!==D&&(l[b+D]=S-A<<24|64<<16|0),h.bits=T,0}},function(e,t,r){"use strict";var n=r(19),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)l[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return c(l,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){e.exports=r.p+"0.georaster.bundle.min.worker.js"},function(e,t,r){"use strict";(function(t){var n=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{cwd:process.cwd()};i(this,e);var c="function"==typeof t,f=c?t.toString():t;o.cwd||(o.cwd=process.cwd());var h=process.execArgv.filter((function(e){return/(debug|inspect)/.test(e)}));if(h.length>0&&!o.noDebugRedirection){o.execArgv||(h=Array.from(process.execArgv),o.execArgv=[]);var d=h.findIndex((function(e){return/^--inspect(-brk)?(=\d+)?$/.test(e)})),p=h.findIndex((function(e){return/^--debug(-brk)?(=\d+)?$/.test(e)})),g=d>=0?d:p;if(g>=0){var m=/^--(debug|inspect)(?:-brk)?(?:=(\d+))?$/.exec(h[g]),b=l[m[1]];m[2]&&(b=parseInt(m[2])),h[g]="--"+m[1]+"="+(b+u.min+Math.floor(Math.random()*(u.max-u.min))),p>=0&&p!==g&&(m=/^(--debug)(?:-brk)?(.*)/.exec(h[p]),h[p]=m[1]+(m[2]?m[2]:""))}o.execArgv=o.execArgv.concat(h)}delete o.noDebugRedirection,this.child=s(a,n,o),this.onerror=void 0,this.onmessage=void 0,this.child.on("error",(function(e){r.onerror&&r.onerror.call(r,e)})),this.child.on("message",(function(e){var t=JSON.parse(e),n=void 0;!t.error&&r.onmessage&&r.onmessage.call(r,t),t.error&&r.onerror&&((n=new Error(t.error)).stack=t.stack,r.onerror.call(r,n))})),this.child.send({input:f,isfn:c,cwd:o.cwd,esm:o.esm})}return n(e,[{key:"addEventListener",value:function(e,t){c.test(e)&&(this["on"+e]=t)}},{key:"postMessage",value:function(e){this.child.send(JSON.stringify({data:e},null,0))}},{key:"terminate",value:function(){this.child.kill("SIGINT")}}],[{key:"setRange",value:function(e,t){return!(e>=t)&&(u.min=e,u.max=t,!0)}}]),e}();e.exports=f}).call(this,"/")},function(e,t){e.exports=require("child_process")},function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(33)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){var r=1e3,n=6e4,i=60*n,o=24*i;function s(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=n)return s(e,t,n,"minute");if(t>=r)return s(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){const n=r(72),i=r(13);t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r(73);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{}),e.exports=r(33)(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,t){e.exports=require("tty")},function(e,t,r){"use strict";var n=process.argv,i=n.indexOf("--"),o=function(e){e="--"+e;var t=n.indexOf(e);return-1!==t&&(-1===i||t{t&&console.log("starting getPalette with image",e);const{fileDirectory:r}=e,{BitsPerSample:n,ColorMap:i,ImageLength:o,ImageWidth:s,PhotometricInterpretation:a,SampleFormat:c,SamplesPerPixel:l}=r;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can't make a palette.");const u=Math.pow(2,n);t&&console.log("[geotiff-palette]: count:",u);const f=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",f),f!==u)throw new Error("[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster");const h=f,d=h+f,p=[];for(let e=0;e{try{return e[f][h]}catch(e){console.error(e)}});if(d.every(e=>void 0!==e&&e!==n)){const n=e*(4*t)+4*r;if(1===a){const e=Math.round(d[0]),t=Math.round((e-i[0])/o[0]*255);u[n]=t,u[n+1]=t,u[n+2]=t,u[n+3]=255}else if(3===a)try{const[e,t,r]=d;u[n]=e,u[n+1]=t,u[n+2]=r,u[n+3]=255}catch(e){console.error(e)}else if(4===a)try{const[e,t,r,i]=d;u[n]=e,u[n+1]=t,u[n+2]=r,u[n+3]=i}catch(e){console.error(e)}}}return new ImageData(u,t,r)}}(e,i,n);return o.putImageData(s,0,0),r}}r.r(t),r.d(t,"default",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(8);Object(n.b)().blob;const i=Object(n.b)().default},,,function(e,t,r){"use strict";var n=r(21),i=r(41);var o=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let r,s=0;return new n.a(n=>{r||(r=e.subscribe(t));const i=t.subscribe(n);return s++,()=>{s--,i.unsubscribe(),0===s&&(o(r),r=void 0)}})}}])})); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.GeoRaster=t():e.GeoRaster=t()}("undefined"!=typeof self?self:this,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(r,i,function(t){return e[t]}.bind(null,i));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=46)}([function(e,t){e.exports=require("stream")},function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"d",(function(){return p})),a.d(t,"e",(function(){return d}));const r=Symbol("thread.errors"),i=Symbol("thread.events"),n=Symbol("thread.terminate"),p=Symbol("thread.transferable"),d=Symbol("thread.worker")},function(e,t,a){"use strict";const r=a(27),i=a(53),n={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},p=Symbol("failure");function d(e){return r.ucs2.decode(e).length}function o(e,t){const a=e[t];return isNaN(a)?void 0:String.fromCodePoint(a)}function s(e){return e>=48&&e<=57}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function m(e){return s(e)||e>=65&&e<=70||e>=97&&e<=102}function u(e){return"."===e||"%2e"===e.toLowerCase()}function c(e){return 2===e.length&&l(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function f(e){return void 0!==n[e]}function h(e){return f(e.scheme)}function v(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t="0"+t),"%"+t}function w(e){return e<=31||e>126}const g=new Set([32,34,35,60,62,63,96,123,125]);function b(e){return w(e)||g.has(e)}const y=new Set([47,58,59,61,64,91,92,93,94,124]);function _(e){return b(e)||y.has(e)}function S(e,t){const a=String.fromCodePoint(e);return t(e)?function(e){const t=new Buffer(e);let a="";for(let e=0;e=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e)return 0;return(10===t?/[^0-9]/:16===t?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?p:parseInt(e,t)}function E(e,t){if("["===e[0])return"]"!==e[e.length-1]?p:function(e){const t=[0,0,0,0,0,0,0,0];let a=0,i=null,n=0;if(58===(e=r.ucs2.decode(e))[n]){if(58!==e[n+1])return p;n+=2,++a,i=a}for(;n6)return p;let r=0;for(;void 0!==e[n];){let i=null;if(r>0){if(!(46===e[n]&&r<4))return p;++n}if(!s(e[n]))return p;for(;s(e[n]);){const t=parseInt(o(e,n));if(null===i)i=t;else{if(0===i)return p;i=10*i+t}if(i>255)return p;++n}t[a]=256*t[a]+i,++r,2!==r&&4!==r||++a}if(4!==r)return p;break}if(58===e[n]){if(++n,void 0===e[n])return p}else if(void 0!==e[n])return p;t[a]=r,++a}if(null!==i){let e=a-i;for(a=7;0!==a&&e>0;){const r=t[i+e-1];t[i+e-1]=t[a],t[a]=r,--a,--e}}else if(null===i&&8!==a)return p;return t}(e.substring(1,e.length-1));if(!t)return function(e){if(t=e,-1!==t.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return p;var t;let a="";const i=r.ucs2.decode(e);for(let e=0;e1&&t.pop(),t.length>4)return e;const a=[];for(const r of t){if(""===r)return e;const t=T(r);if(t===p)return e;a.push(t)}for(let e=0;e255)return p;if(a[a.length-1]>=Math.pow(256,5-a.length))return p;let r=a.pop(),i=0;for(const e of a)r+=e*Math.pow(256,3-i),++i;return r}(n);return"number"==typeof d||d===p?d:n}function k(e){return"number"==typeof e?function(e){let t="",a=e;for(let e=1;e<=4;++e)t=String(a%256)+t,4!==e&&(t="."+t),a=Math.floor(a/256);return t}(e):e instanceof Array?"["+function(e){let t="";const a=function(e){let t=null,a=1,r=null,i=0;for(let n=0;na&&(t=r,a=i),r=null,i=0):(null===r&&(r=n),++i);i>a&&(t=r,a=i);return{idx:t,len:a}}(e).idx;let r=!1;for(let i=0;i<=7;++i)if(!r||0!==e[i])if(r&&(r=!1),a!==i)t+=e[i].toString(16),7!==i&&(t+=":");else{t+=0===i?"::":":",r=!0}return t}(e)+"]":e}function D(e){const t=e.path;var a;0!==t.length&&("file"===e.scheme&&1===t.length&&(a=t[0],/^[A-Za-z]:$/.test(a))||t.pop())}function C(e){return""!==e.username||""!==e.password}function N(e,t,a,i,n){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=a||"utf-8",this.stateOverride=n,this.url=i,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const d=function(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(d!==this.input&&(this.parseError=!0),this.input=d,this.state=n||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=r.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),a=this["parse "+this.state](e,t);if(!a)break;if(a===p){this.failure=!0;break}}}N.prototype["parse scheme start"]=function(e,t){if(l(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,p;this.state="no scheme",--this.pointer}return!0},N.prototype["parse scheme"]=function(e,t){if(function(e){return l(e)||s(e)}(e)||43===e||45===e||46===e)this.buffer+=t.toLowerCase();else if(58===e){if(this.stateOverride){if(h(this.url)&&!f(this.buffer))return!1;if(!h(this.url)&&f(this.buffer))return!1;if((C(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&(""===this.url.host||null===this.url.host))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;"file"===this.url.scheme?(47===this.input[this.pointer+1]&&47===this.input[this.pointer+2]||(this.parseError=!0),this.state="file"):h(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":h(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,p;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},N.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?p:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},N.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},N.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},N.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):h(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},N.prototype["parse relative slash"]=function(e){return!h(this.url)||47!==e&&92!==e?47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},N.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},N.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},N.prototype["parse authority"]=function(e,t){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const e=d(this.buffer);for(let t=0;tMath.pow(2,16)-1)return this.parseError=!0,p;this.url.port=e===(a=this.url.scheme,n[a])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var a;return!0};const x=new Set([47,92,63,35]);N.prototype["parse file"]=function(e){var t,a;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(t=e,a=this.input[this.pointer+1],!l(t)||58!==a&&124!==a)||this.input.length-this.pointer-1>=2&&!x.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),D(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},N.prototype["parse file slash"]=function(e){var t;return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(t=this.base.path[0]).length&&l(t.codePointAt(0))&&":"===t[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},N.prototype["parse file host"]=function(e,t){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&c(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=E(this.buffer,h(this.url));if(e===p)return p;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},N.prototype["parse path start"]=function(e){return h(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},N.prototype["parse path"]=function(e){if(isNaN(e)||47===e||h(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(h(this.url)&&92===e&&(this.parseError=!0),".."===(t=(t=this.buffer).toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t?(D(this.url),47===e||h(this.url)&&92===e||this.url.path.push("")):!u(this.buffer)||47===e||h(this.url)&&92===e?u(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&c(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||m(this.input[this.pointer+1])&&m(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=S(e,b);var t;return!0},N.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||m(this.input[this.pointer+1])&&m(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+S(e,w))),!0},N.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&35===e){h(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");const t=new Buffer(this.buffer);for(let e=0;e126||34===t[e]||35===t[e]||60===t[e]||62===t[e]?this.url.query+=v(t[e]):this.url.query+=String.fromCodePoint(t[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||m(this.input[this.pointer+1])&&m(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=t;return!0},N.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||m(this.input[this.pointer+1])&&m(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=S(e,w))),!0},e.exports.serializeURL=function(e,t){let a=e.scheme+":";if(null!==e.host?(a+="//",""===e.username&&""===e.password||(a+=e.username,""!==e.password&&(a+=":"+e.password),a+="@"),a+=k(e.host),null!==e.port&&(a+=":"+e.port)):null===e.host&&"file"===e.scheme&&(a+="//"),e.cannotBeABaseURL)a+=e.path[0];else for(const t of e.path)a+="/"+t;return null!==e.query&&(a+="?"+e.query),t||null===e.fragment||(a+="#"+e.fragment),a},e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(e){let t=e.scheme+"://";return t+=k(e.host),null!==e.port&&(t+=":"+e.port),t}({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const a=new N(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return a.failure?"failure":a.url},e.exports.setTheUsername=function(e,t){e.username="";const a=r.ucs2.decode(t);for(let t=0;tObject.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?r.deserialize(e):e;var t},serialize:e=>e instanceof Error?r.serialize(e):e};function n(e){return i.deserialize(e)}function p(e){return i.serialize(e)}},function(e,t){e.exports=require("zlib")},function(e,t,a){"use strict";const r={};function i(e,t,a){a||(a=Error);class i extends a{constructor(e,a,r){super(function(e,a,r){return"string"==typeof t?t:t(e,a,r)}(e,a,r))}}i.prototype.name=a.name,i.prototype.code=e,r[e]=i}function n(e,t){if(Array.isArray(e)){const a=e.length;return e=e.map(e=>String(e)),a>2?`one of ${t} ${e.slice(0,a-1).join(", ")}, or `+e[a-1]:2===a?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,a){let r,i;if("string"==typeof t&&function(e,t,a){return e.substr(!a||a<0?0:+a,t.length)===t}(t,"not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be",p=e,d=" argument",(void 0===o||o>p.length)&&(o=p.length),p.substring(o-d.length,o)===d)i=`The ${e} ${r} ${n(t,"type")}`;else{i=`The "${e}" ${function(e,t,a){return"number"!=typeof a&&(a=0),!(a+t.length>e.length)&&-1!==e.indexOf(t,a)}(e,".")?"property":"argument"} ${r} ${n(t,"type")}`}var p,d,o;return i+=". Received type "+typeof a,i}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=r},function(e,t){e.exports=require("buffer")},function(e,t,a){try{var r=a(15);if("function"!=typeof r.inherits)throw"";e.exports=r.inherits}catch(t){e.exports=a(61)}},function(e,t,a){"use strict";var r=Object.keys||function(e){var t=[];for(var a in e)t.push(a);return t};e.exports=s;var i=a(28),n=a(32);a(9)(s,i);for(var p=r(n.prototype),d=0;d/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e);function o(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let s;function l(){return s||(s=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn't support workers in workers.")}};class e extends Worker{constructor(e,t){var a,r;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!d(e)&&n().match(/^file:\/\//i)&&(e=new URL(e,n().replace(/\/[^\/]+$/,"/")),(null===(a=null==t?void 0:t.CORSWorkaround)||void 0===a||a)&&(e=o(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&d(e)&&(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=o(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,a){const r=new window.Blob([e],{type:"text/javascript"});return new t(r,a)}}return{blob:t,default:e}}()),s}function m(){const e="undefined"!=typeof self&&"undefined"!=typeof Window&&self instanceof Window;return!("undefined"==typeof self||!self.postMessage||e)}var u=a(41);const c="undefined"!=typeof process&&"browser"!==process.arch&&"pid"in process?u:r,f=c.defaultPoolSize,h=c.getWorkerImplementation;c.isWorkerRuntime},function(e,t){e.exports=require("http")},function(e,t){e.exports=require("path")},function(e,t,a){"use strict";var r,i;a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(r||(r={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t){e.exports=require("util")},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(1);function i(e){throw Error(e)}const n={errors:e=>e[r.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[r.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[r.c]()}},function(e,t){e.exports=require("fs")},function(e,t,a){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var a=t.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(var r in a)i(a,r)&&(e[r]=a[r])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,a,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(a,a+r),i);else for(var n=0;n"function"==typeof Symbol,i=e=>r()&&Boolean(Symbol[e]),n=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const p=n("iterator"),d=n("observable"),o=n("species");function s(e,t){const a=e[t];if(null!=a){if("function"!=typeof a)throw new TypeError(a+" is not a function");return a}}function l(e){let t=e.constructor;return void 0!==t&&(t=t[o],null===t&&(t=void 0)),void 0!==t?t:b}function m(e){m.log?m.log(e):setTimeout(()=>{throw e},0)}function u(e){Promise.resolve().then(()=>{try{e()}catch(e){m(e)}})}function c(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=s(t,"unsubscribe");e&&e.call(t)}}catch(e){m(e)}}function f(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function h(e,t,a){e._state="running";const r=e._observer;try{const i=r?s(r,t):void 0;switch(t){case"next":i&&i.call(r,a);break;case"error":if(f(e),!i)throw a;i.call(r,a);break;case"complete":f(e),i&&i.call(r)}}catch(e){m(e)}"closed"===e._state?c(e):"running"===e._state&&(e._state="ready")}function v(e,t,a){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:a})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:a}],void u(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const a of t)if(h(e,a.type,a.value),"closed"===e._state)break}}(e))):void h(e,t,a)}class w{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const a=new g(this);try{this._cleanup=t.call(void 0,a)}catch(e){a.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(f(this),c(this))}}class g{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){v(this._subscription,"next",e)}error(e){v(this._subscription,"error",e)}complete(){v(this._subscription,"complete")}}class b{constructor(e){if(!(this instanceof b))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,a){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:a}),new w(e,this._subscriber)}pipe(e,...t){let a=this;for(const r of[e,...t])a=r(a);return a}tap(e,t,a){const r="object"!=typeof e||null===e?{next:e,error:t,complete:a}:e;return new b(e=>this.subscribe({next(t){r.next&&r.next(t),e.next(t)},error(t){r.error&&r.error(t),e.error(t)},complete(){r.complete&&r.complete(),e.complete()},start(e){r.start&&r.start(e)}}))}forEach(e){return new Promise((t,a)=>{if("function"!=typeof e)return void a(new TypeError(e+" is not a function"));function r(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,r)}catch(e){a(e),i.unsubscribe()}},error(e){a(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))(t=>this.subscribe({next(a){let r=a;try{r=e(a)}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))(t=>this.subscribe({next(a){try{if(!e(a))return}catch(e){return t.error(e)}t.next(a)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const a=l(this),r=arguments.length>1;let i=!1,n=t;return new a(t=>this.subscribe({next(a){const p=!i;if(i=!0,!p||r)try{n=e(n,a)}catch(e){return t.error(e)}else n=a},error(e){t.error(e)},complete(){if(!i&&!r)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(n),t.complete()}}))}concat(...e){const t=l(this);return new t(a=>{let r,i=0;return function n(p){r=p.subscribe({next(e){a.next(e)},error(e){a.error(e)},complete(){i===e.length?(r=void 0,a.complete()):n(t.from(e[i++]))}})}(this),()=>{r&&(r.unsubscribe(),r=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=l(this);return new t(a=>{const r=[],i=this.subscribe({next(i){let p;if(e)try{p=e(i)}catch(e){return a.error(e)}else p=i;const d=t.from(p).subscribe({next(e){a.next(e)},error(e){a.error(e)},complete(){const e=r.indexOf(d);e>=0&&r.splice(e,1),n()}});r.push(d)},error(e){a.error(e)},complete(){n()}});function n(){i.closed&&0===r.length&&a.complete()}return()=>{r.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,d)](){return this}static from(e){const t="function"==typeof this?this:b;if(null==e)throw new TypeError(e+" is not an object");const a=s(e,d);if(a){const r=a.call(e);if(Object(r)!==r)throw new TypeError(r+" is not an object");return function(e){return e instanceof b}(r)&&r.constructor===t?r:new t(e=>r.subscribe(e))}if(i("iterator")){const a=s(e,p);if(a)return new t(t=>{u(()=>{if(!t.closed){for(const r of a.call(e))if(t.next(r),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{u(()=>{if(!t.closed){for(const a of e)if(t.next(a),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:b)(t=>{u(()=>{if(!t.closed){for(const a of e)if(t.next(a),t.closed)return;t.complete()}})})}static get[o](){return this}}r()&&Object.defineProperty(b,Symbol("extensions"),{value:{symbol:d,hostReportError:m},configurable:!0});t.a=b},,function(e,t,a){"use strict";var r=a(7).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,a,n){if("function"==typeof a)return e(t,null,a);a||(a={}),n=function(e){var t=!1;return function(){if(!t){t=!0;for(var a=arguments.length,r=new Array(a),i=0;i{};var o,s=a(1);!function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(o||(o={}));var l=a(91);const m=()=>{},u=e=>e,c=e=>Promise.resolve().then(e);function f(e){throw e}class h extends n.a{constructor(e){super(t=>{const a=this,r=Object.assign(Object.assign({},t),{complete(){t.complete(),a.onCompletion()},error(e){t.error(e),a.onError(e)},next(e){t.next(e),a.onNext(e)}});try{return this.initHasRun=!0,e(r)}catch(e){r.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)c(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)c(()=>e(this.firstValue))}then(e,t){const a=e||u,r=t||f;let i=!1;return new Promise((e,t)=>{const n=a=>{if(!i){i=!0;try{e(r(a))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:n}),"fulfilled"===this.state?e(a(this.firstValue)):"rejected"===this.state?(i=!0,e(r(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(a(t))}catch(e){n(e)}}),void this.rejectionCallbacks.push(n))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||m;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new h(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var v=a(45),w=a(14);const g=i()("threads:master:messages");let b=1;function y(e,t){return new n.a(a=>{let r;const i=n=>{var d;if(g("Message from worker:",n.data),n.data&&n.data.uid===t)if((d=n.data)&&d.type===w.b.running)r=n.data.resultType;else if((e=>e&&e.type===w.b.result)(n.data))"promise"===r?(void 0!==n.data.payload&&a.next(Object(p.a)(n.data.payload)),a.complete(),e.removeEventListener("message",i)):(n.data.payload&&a.next(Object(p.a)(n.data.payload)),n.data.complete&&(a.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===w.b.error)(n.data)){const t=Object(p.a)(n.data.error);a.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===r||!r){const a={type:w.a.cancel,uid:t};e.postMessage(a)}e.removeEventListener("message",i)}})}function _(e,t){return(...a)=>{const r=b++,{args:i,transferables:n}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],a=[];for(const r of e)Object(v.a)(r)?(t.push(Object(p.b)(r.send)),a.push(...r.transferables)):t.push(Object(p.b)(r));return{args:t,transferables:0===a.length?a:(r=a,Array.from(new Set(r)))};var r}(a),d={type:w.a.run,uid:r,method:t,args:i};g("Sending command to run function to worker:",d);try{e.postMessage(d,n)}catch(e){return h.from(Promise.reject(e))}return h.from(Object(l.a)(y(e,r)))}}var S=function(e,t,a,r){return new(a||(a=Promise))((function(i,n){function p(e){try{o(r.next(e))}catch(e){n(e)}}function d(e){try{o(r.throw(e))}catch(e){n(e)}}function o(e){var t;e.done?i(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(p,d)}o((r=r.apply(e,t||[])).next())}))};const T=i()("threads:master:messages"),E=i()("threads:master:spawn"),k=i()("threads:master:thread-utils"),D="undefined"!=typeof process&&process.env.THREADS_WORKER_INIT_TIMEOUT?Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT,10):1e4;function C(e){const[t,a]=function(){let e,t=!1,a=d;return[new Promise(r=>{t?r(e):a=r}),r=>{t=!0,e=r,a(e)}]}();return{terminate:()=>S(this,void 0,void 0,(function*(){k("Terminating worker"),yield e.terminate(),a()})),termination:t}}function N(e,t,a,r){const i=a.filter(e=>e.type===o.internalError).map(e=>e.error);return Object.assign(e,{[s.a]:i,[s.b]:a,[s.c]:r,[s.e]:t})}function x(e,t){return S(this,void 0,void 0,(function*(){E("Initializing new thread");const a=t&&t.timeout?t.timeout:D,r=(yield function(e,t,a){return S(this,void 0,void 0,(function*(){let r;const i=new Promise((e,i)=>{r=setTimeout(()=>i(Error(a)),t)}),n=yield Promise.race([e,i]);return clearTimeout(r),n}))}(function(e){return new Promise((t,a)=>{const r=i=>{var n;T("Message from worker before finishing initialization:",i.data),(n=i.data)&&"init"===n.type?(e.removeEventListener("message",r),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",r),a(Object(p.a)(i.data.error)))};e.addEventListener("message",r)})}(e),a,`Timeout: Did not receive an init message from worker after ${a}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:d}=C(e),s=function(e,t){return new n.a(a=>{const r=e=>{const t={type:o.message,data:e.data};a.next(t)},i=e=>{k("Unhandled promise rejection event in thread:",e);const t={type:o.internalError,error:Error(e.reason)};a.next(t)};e.addEventListener("message",r),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:o.termination};e.removeEventListener("message",r),e.removeEventListener("unhandledrejection",i),a.next(t),a.complete()})})}(e,i);if("function"===r.type){return N(_(e),e,s,d)}if("module"===r.type){return N(function(e,t){const a={};for(const r of t)a[r]=_(e,r);return a}(e,r.methods),e,s,d)}{const e=r.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}},function(e,t,a){"use strict";a.d(t,"a",(function(){return v}));var r=a(4),i=a.n(r),n=a(44),p=a(91),d=a(20);function o(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),a=e=>({status:"rejected",reason:e}),r=Promise.resolve(e);try{return r.then(t,a)}catch(e){return Promise.reject(e)}}))}var s,l=a(11);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(s||(s={}));var m=a(16),u=function(e,t,a,r){return new(a||(a=Promise))((function(i,n){function p(e){try{o(r.next(e))}catch(e){n(e)}}function d(e){try{o(r.throw(e))}catch(e){n(e)}}function o(e){var t;e.done?i(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(p,d)}o((r=r.apply(e,t||[])).next())}))};let c=1;class f{constructor(e,t){this.eventSubject=new n.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const a="number"==typeof t?{size:t}:t||{},{size:r=l.a}=a;this.debug=i()("threads:pool:"+(a.name||String(c++)).replace(/\W/g," ").trim().replace(/\s+/g,"-")),this.options=a,this.workers=function(e,t){return function(e){const t=[];for(let a=0;a({init:e(),runningTasks:[]}))}(e,r),this.eventObservable=Object(p.a)(d.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:s.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthu(this,void 0,void 0,(function*(){var r;yield(r=0,new Promise(e=>setTimeout(e,r)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==a),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(a)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:s.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,a)=>{const r=this.events().subscribe(i=>{i.type===s.taskCompleted&&i.taskID===e?(r.unsubscribe(),t(i.returnValue)):i.type===s.taskFailed&&i.taskID===e?(r.unsubscribe(),a(i.error)):i.type===s.terminated&&(r.unsubscribe(),a(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return u(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,a)=>[...e,...t(a)],[]);var e,t},a=[],r=this.eventObservable.subscribe(e=>{e.type===s.taskFailed&&a.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield o(t()),a):(yield new Promise((e,t)=>{const a=this.eventObservable.subscribe({next(t){t.type===s.taskQueueDrained&&(a.unsubscribe(),e(void 0))},error:t})}),yield o(t()),r.unsubscribe(),a)}))}completed(e=!1){return u(this,void 0,void 0,(function*(){const t=this.settled(e),a=new Promise((e,a)=>{const r=this.eventObservable.subscribe({next(i){i.type===s.taskQueueDrained?(r.unsubscribe(),e(t)):i.type===s.taskFailed&&(r.unsubscribe(),a(i.error))},error:a})}),r=yield Promise.race([t,a]);if(r.length>0)throw r[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const a=this.nextTaskID++,r=this.taskCompletion(a);r.catch(e=>{this.debug(`Task #${a} errored:`,e)});const i={id:a,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:s.taskCanceled,taskID:i.id}))},then:r.then.bind(r)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won't finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:s.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return u(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:s.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>u(this,void 0,void 0,(function*(){return m.a.terminate(yield e.init)}))))}))}}function h(e,t){return new f(e,t)}f.EventType=s,h.EventType=s;const v=h},function(e,t,a){"use strict";t.URL=a(49).interface,t.serializeURL=a(2).serializeURL,t.serializeURLOrigin=a(2).serializeURLOrigin,t.basicURLParse=a(2).basicURLParse,t.setTheUsername=a(2).setTheUsername,t.setThePassword=a(2).setThePassword,t.serializeHost=a(2).serializeHost,t.serializeInteger=a(2).serializeInteger,t.parseURL=a(2).parseURL},function(e,t){e.exports=require("punycode")},function(e,t,a){"use strict";var r;e.exports=E,E.ReadableState=T;a(23).EventEmitter;var i=function(e,t){return e.listeners(t).length},n=a(29),p=a(8).Buffer,d=global.Uint8Array||function(){};var o,s=a(15);o=s&&s.debuglog?s.debuglog("stream"):function(){};var l,m,u,c=a(60),f=a(30),h=a(31).getHighWaterMark,v=a(7).codes,w=v.ERR_INVALID_ARG_TYPE,g=v.ERR_STREAM_PUSH_AFTER_EOF,b=v.ERR_METHOD_NOT_IMPLEMENTED,y=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;a(9)(E,n);var _=f.errorOrDestroy,S=["error","close","destroy","pause","resume"];function T(e,t,i){r=r||a(10),e=e||{},"boolean"!=typeof i&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=h(this,e,"readableHighWaterMark",i),this.buffer=new c,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=a(33).StringDecoder),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function E(e){if(r=r||a(10),!(this instanceof E))return new E(e);var t=this instanceof r;this._readableState=new T(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),n.call(this)}function k(e,t,a,r,i){o("readableAddChunk",t);var n,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(o("onEofChunk"),t.ended)return;if(t.decoder){var a=t.decoder.end();a&&a.length&&(t.buffer.push(a),t.length+=t.objectMode?1:a.length)}t.ended=!0,t.sync?N(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,x(e)))}(e,s);else if(i||(n=function(e,t){var a;r=t,p.isBuffer(r)||r instanceof d||"string"==typeof t||void 0===t||e.objectMode||(a=new w("chunk",["string","Buffer","Uint8Array"],t));var r;return a}(s,t)),n)_(e,n);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===p.prototype||(t=function(e){return p.from(e)}(t)),r)s.endEmitted?_(e,new y):D(e,s,t,!0);else if(s.ended)_(e,new g);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!a?(t=s.decoder.write(t),s.objectMode||0!==t.length?D(e,s,t,!1):A(e,s)):D(e,s,t,!1)}else r||(s.reading=!1,A(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function N(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(x,e))}function x(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,M(e)}function A(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(O,e,t))}function O(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function P(e){o("readable nexttick read 0"),e.read(0)}function I(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),M(e),t.flowing&&!t.reading&&e.read(0)}function M(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function V(e,t){return 0===t.length?null:(t.objectMode?a=t.buffer.shift():!e||e>=t.length?(a=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):a=t.buffer.consume(e,t.decoder),a);var a}function L(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(F,t,e))}function F(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var a=t._writableState;(!a||a.autoDestroy&&a.finished)&&t.destroy()}}function j(e,t){for(var a=0,r=e.length;a=t.highWaterMark:t.length>0)||t.ended))return o("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):N(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&L(this),null;var r,i=t.needReadable;return o("need readable",i),(0===t.length||t.length-e0?V(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),a!==e&&t.ended&&L(this)),null!==r&&this.emit("data",r),r},E.prototype._read=function(e){_(this,new b("_read()"))},E.prototype.pipe=function(e,t){var a=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,o("pipe count=%d opts=%j",r.pipesCount,t);var n=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?d:h;function p(t,i){o("onunpipe"),t===a&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,o("cleanup"),e.removeListener("close",c),e.removeListener("finish",f),e.removeListener("drain",s),e.removeListener("error",u),e.removeListener("unpipe",p),a.removeListener("end",d),a.removeListener("end",h),a.removeListener("data",m),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s())}function d(){o("onend"),e.end()}r.endEmitted?process.nextTick(n):a.once("end",n),e.on("unpipe",p);var s=function(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,M(e))}}(a);e.on("drain",s);var l=!1;function m(t){o("ondata");var i=e.write(t);o("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==j(r.pipes,e))&&!l&&(o("false write response, pause",r.awaitDrain),r.awaitDrain++),a.pause())}function u(t){o("onerror",t),h(),e.removeListener("error",u),0===i(e,"error")&&_(e,t)}function c(){e.removeListener("finish",f),h()}function f(){o("onfinish"),e.removeListener("close",c),h()}function h(){o("unpipe"),a.unpipe(e)}return a.on("data",m),function(e,t,a){if("function"==typeof e.prependListener)return e.prependListener(t,a);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(a):e._events[t]=[a,e._events[t]]:e.on(t,a)}(e,"error",u),e.once("close",c),e.once("finish",f),e.emit("pipe",a),r.flowing||(o("pipe resume"),a.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,a={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,a)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var n=0;n0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,o("on readable",r.length,r.reading),r.length?N(this):r.reading||process.nextTick(P,this))),a},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var a=n.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(R,this),a},E.prototype.removeAllListeners=function(e){var t=n.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(R,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(I,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,a=this._readableState,r=!1;for(var i in e.on("end",(function(){if(o("wrapped end"),a.decoder&&!a.ended){var e=a.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(o("wrapped data"),a.decoder&&(i=a.decoder.write(i)),a.objectMode&&null==i)||(a.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var n=0;n-1))throw new y(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,a){a(new f("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,a){var r=this._writableState;return"function"==typeof e?(a=e,e=null,t=null):"function"==typeof t&&(a=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,a){t.ending=!0,A(e,t),a&&(t.finished?process.nextTick(a):e.once("finish",a));t.ended=!0,e.writable=!1}(this,r,a),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=l.destroy,E.prototype._undestroy=l.undestroy,E.prototype._destroy=function(e,t){t(e)}},function(e,t,a){"use strict";var r=a(63).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=o,this.end=s,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=l,this.end=m,t=3;break;default:return this.write=u,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function p(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function d(e){var t=this.lastTotal-this.lastNeed,a=function(e,t,a){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==a?a:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function o(e,t){if((e.length-t)%2==0){var a=e.toString("utf16le",t);if(a){var r=a.charCodeAt(a.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],a.slice(0,-1)}return a}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var a=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,a)}return t}function l(e,t){var a=(e.length-t)%3;return 0===a?e.toString("base64",t):(this.lastNeed=3-a,this.lastTotal=3,1===a?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-a))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}t.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,a;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";a=this.lastNeed,this.lastNeed=0}else a=0;return a=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=a;var r=e.length-(a-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,a){"use strict";e.exports=l;var r=a(7).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,n=r.ERR_MULTIPLE_CALLBACK,p=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,d=r.ERR_TRANSFORM_WITH_LENGTH_0,o=a(10);function s(e,t){var a=this._transformState;a.transforming=!1;var r=a.writecb;if(null===r)return this.emit("error",new n);a.writechunk=null,a.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(n.a)(a),t)}async decode(e,t){return new Promise((a,r)=>{this.pool.queue(async i=>{try{const r=await i(e,t);a(r)}catch(e){r(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,a(78))},function(e,t,a){e.exports=function(e){function t(e){let a,i,n,p=null;function d(...e){if(!d.enabled)return;const r=d,i=Number(new Date),n=i-(a||i);r.diff=n,r.prev=a,r.curr=i,a=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let p=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(a,i)=>{if("%%"===a)return"%";p++;const n=t.formatters[i];if("function"==typeof n){const t=e[p];a=n.call(r,t),e.splice(p,1),p--}return a}),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return d.namespace=e,d.useColors=t.useColors(),d.color=t.selectColor(e),d.extend=r,d.destroy=t.destroy,Object.defineProperty(d,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==p?p:(i!==t.namespaces&&(i=t.namespaces,n=t.enabled(e)),n),set:e=>{p=e}}),"function"==typeof t.init&&t.init(d),d}function r(e,a){const r=t(this.namespace+(void 0===a?":":a)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let a;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(a=0;a{t[a]=e[a]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let a=0;for(let t=0;t>24)/500+d,s=d-(e[t+2]<<24>>24)/200;o=.95047*(o*o*o>.008856?o*o*o:(o-16/116)/7.787),d=1*(d*d*d>.008856?d*d*d:(d-16/116)/7.787),s=1.08883*(s*s*s>.008856?s*s*s:(s-16/116)/7.787),i=3.2406*o+-1.5372*d+-.4986*s,n=-.9689*o+1.8758*d+.0415*s,p=.0557*o+-.204*d+1.057*s,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,p=p>.0031308?1.055*p**(1/2.4)-.055:12.92*p,r[a]=255*Math.max(0,Math.min(1,i)),r[a+1]=255*Math.max(0,Math.min(1,n)),r[a+2]=255*Math.max(0,Math.min(1,p))}return r}function T(e,t){let a=e.length-t,r=0;do{for(let a=t;a>0;a--)e[r+t]+=e[r],r++;a-=t}while(a>0)}function E(e,t,a){let r=0,i=e.length;const n=i/a;for(;i>t;){for(let a=t;a>0;--a)e[r+t]+=e[r],++r;i-=t}const p=e.slice();for(let t=0;t=e.byteLength);++n){let r;if(2===t){switch(i[0]){case 8:r=new Uint8Array(e,n*d*a*p,d*a*p);break;case 16:r=new Uint16Array(e,n*d*a*p,d*a*p/2);break;case 32:r=new Uint32Array(e,n*d*a*p,d*a*p/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}T(r,d)}else 3===t&&(r=new Uint8Array(e,n*d*a*p,d*a*p),E(r,d,p))}return e}(a,r,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return a}}class D extends k{decodeBlock(e){return e}}function C(e,t){for(let a=t.length-1;a>=0;a--)e.push(t[a]);return e}function N(e){const t=new Uint16Array(4093),a=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,a[e]=e;let r=258,i=9,n=0;function p(){r=258,i=9}function d(e){const t=function(e,t,a){const r=t%8,i=Math.floor(t/8),n=8-r,p=t+a-8*(i+1);let d=8*(i+2)-(t+a);const o=8*(i+2)-t;if(d=Math.max(0,d),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let s=e[i]&2**(8-r)-1;s<<=a-n;let l=s;if(i+1>>d;t<<=Math.max(0,a-o),l+=t}if(p>8&&i+2>>r}return l}(e,n,i);return n+=i,t}function o(e,i){return a[r]=i,t[r]=e,r++,r-1}function s(e){const r=[];for(let i=e;4096!==i;i=t[i])r.push(a[i]);return r}const l=[];p();const m=new Uint8Array(e);let u,c=d(m);for(;257!==c;){if(256===c){for(p(),c=d(m);256===c;)c=d(m);if(257===c)break;if(c>256)throw new Error("corrupted code at scanline "+c);C(l,s(c)),u=c}else if(c=2**i&&(12===i?u=void 0:i++),c=d(m)}return new Uint8Array(l)}class x extends k{decodeBlock(e){return N(e).buffer}}const A=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function O(e,t){let a=0;const r=[];let i=16;for(;i>0&&!e[i-1];)--i;r.push({children:[],index:0});let n,p=r[0];for(let d=0;d0;)p=r.pop();for(p.index++,r.push(p);r.length<=d;)r.push(n={children:[],index:0}),p.children[p.index]=n.children,p=n;a++}d+10)return f--,c>>f&1;if(c=e[u++],255===c){const t=e[u++];if(t)throw new Error("unexpected marker: "+(c<<8|t).toString(16))}return f=7,c>>>7}function v(e){let t,a=e;for(;null!==(t=h());){if(a=a[t],"number"==typeof a)return a;if("object"!=typeof a)throw new Error("invalid huffman sequence")}return null}function w(e){let t=e,a=0;for(;t>0;){const e=h();if(null===e)return;a=a<<1|e,--t}return a}function g(e){const t=w(e);return t>=1<0)return void b--;let a=n;const r=p;for(;a<=r;){const r=v(e.huffmanTableAC),i=15&r,n=r>>4;if(0===i){if(n<15){b=w(n)+(1<>4,0===a)i<15?(b=w(i)+(1<>4;if(0===r){if(n<15)break;i+=16}else{i+=n;t[A[i]]=g(r),i++}}};let R,P,I=0;P=1===E?r[0].blocksPerLine*r[0].blocksPerColumn:s*a.mcusPerColumn;const M=i||P;for(;I=65488&&R<=65495))break;u+=2}return u-m}function P(e,t){const a=[],{blocksPerLine:r,blocksPerColumn:i}=t,n=r<<3,p=new Int32Array(64),d=new Uint8Array(64);function o(e,a,r){const i=t.quantizationTable;let n,p,d,o,s,l,m,u,c;const f=r;let h;for(h=0;h<64;h++)f[h]=e[h]*i[h];for(h=0;h<8;++h){const e=8*h;0!==f[1+e]||0!==f[2+e]||0!==f[3+e]||0!==f[4+e]||0!==f[5+e]||0!==f[6+e]||0!==f[7+e]?(n=5793*f[0+e]+128>>8,p=5793*f[4+e]+128>>8,d=f[2+e],o=f[6+e],s=2896*(f[1+e]-f[7+e])+128>>8,u=2896*(f[1+e]+f[7+e])+128>>8,l=f[3+e]<<4,m=f[5+e]<<4,c=n-p+1>>1,n=n+p+1>>1,p=c,c=3784*d+1567*o+128>>8,d=1567*d-3784*o+128>>8,o=c,c=s-m+1>>1,s=s+m+1>>1,m=c,c=u+l+1>>1,l=u-l+1>>1,u=c,c=n-o+1>>1,n=n+o+1>>1,o=c,c=p-d+1>>1,p=p+d+1>>1,d=c,c=2276*s+3406*u+2048>>12,s=3406*s-2276*u+2048>>12,u=c,c=799*l+4017*m+2048>>12,l=4017*l-799*m+2048>>12,m=c,f[0+e]=n+u,f[7+e]=n-u,f[1+e]=p+m,f[6+e]=p-m,f[2+e]=d+l,f[5+e]=d-l,f[3+e]=o+s,f[4+e]=o-s):(c=5793*f[0+e]+512>>10,f[0+e]=c,f[1+e]=c,f[2+e]=c,f[3+e]=c,f[4+e]=c,f[5+e]=c,f[6+e]=c,f[7+e]=c)}for(h=0;h<8;++h){const e=h;0!==f[8+e]||0!==f[16+e]||0!==f[24+e]||0!==f[32+e]||0!==f[40+e]||0!==f[48+e]||0!==f[56+e]?(n=5793*f[0+e]+2048>>12,p=5793*f[32+e]+2048>>12,d=f[16+e],o=f[48+e],s=2896*(f[8+e]-f[56+e])+2048>>12,u=2896*(f[8+e]+f[56+e])+2048>>12,l=f[24+e],m=f[40+e],c=n-p+1>>1,n=n+p+1>>1,p=c,c=3784*d+1567*o+2048>>12,d=1567*d-3784*o+2048>>12,o=c,c=s-m+1>>1,s=s+m+1>>1,m=c,c=u+l+1>>1,l=u-l+1>>1,u=c,c=n-o+1>>1,n=n+o+1>>1,o=c,c=p-d+1>>1,p=p+d+1>>1,d=c,c=2276*s+3406*u+2048>>12,s=3406*s-2276*u+2048>>12,u=c,c=799*l+4017*m+2048>>12,l=4017*l-799*m+2048>>12,m=c,f[0+e]=n+u,f[56+e]=n-u,f[8+e]=p+m,f[48+e]=p-m,f[16+e]=d+l,f[40+e]=d-l,f[24+e]=o+s,f[32+e]=o-s):(c=5793*r[h+0]+8192>>14,f[0+e]=c,f[8+e]=c,f[16+e]=c,f[24+e]=c,f[32+e]=c,f[40+e]=c,f[48+e]=c,f[56+e]=c)}for(h=0;h<64;++h){const e=128+(f[h]+8>>4);a[h]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let a=0;a<64;a++){i[A[a]]=e[t++]}else{if(r>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[A[e]]=a()}}this.quantizationTables[15&r]=i}break}case 65472:case 65473:case 65474:{a();const r={extended:65473===n,progressive:65474===n,precision:e[t++],scanLines:a(),samplesPerLine:a(),components:{},componentsOrder:[]},p=e[t++];let d;for(let a=0;a>4,i=15&e[t+1],n=e[t+2];r.componentsOrder.push(d),r.components[d]={h:a,v:i,quantizationIdx:n},t+=3}i(r),this.frames.push(r);break}case 65476:{const r=a();for(let a=2;a>4==0?this.huffmanTablesDC[15&r]=O(i,p):this.huffmanTablesAC[15&r]=O(i,p)}break}case 65501:a(),this.resetInterval=a();break;case 65498:{a();const r=e[t++],i=[],n=this.frames[0];for(let a=0;a>4],a.huffmanTableAC=this.huffmanTablesAC[15&r],i.push(a)}const p=e[t++],d=e[t++],o=e[t++],s=R(e,t,n,i,this.resetInterval,p,d,o>>4,15&o);t+=s;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+n.toString(16))}n=a()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const d=B(e,r,i);for(let o=0;o{const d=B(e,r,i);for(let o=0;o=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,a=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(a){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(a){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(a){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return z(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,a,r){const i=Math.ceil(this.getWidth()/this.getTileWidth()),n=Math.ceil(this.getHeight()/this.getTileHeight());let p;const{tiles:d}=this;let o,s;1===this.planarConfiguration?p=t*i+e:2===this.planarConfiguration&&(p=a*i*n+t*i+e),this.isTiled?(o=this.fileDirectory.TileOffsets[p],s=this.fileDirectory.TileByteCounts[p]):(o=this.fileDirectory.StripOffsets[p],s=this.fileDirectory.StripByteCounts[p]);const l=await this.source.fetch(o,s);let m;return null===d?m=r.decode(this.fileDirectory,l):d[p]||(m=r.decode(this.fileDirectory,l),d[p]=m),{x:e,y:t,sample:a,data:await m}}async _readRaster(e,t,a,r,i,n,p,d){const o=this.getTileWidth(),s=this.getTileHeight(),l=Math.max(Math.floor(e[0]/o),0),m=Math.min(Math.ceil(e[2]/o),Math.ceil(this.getWidth()/this.getTileWidth())),u=Math.max(Math.floor(e[1]/s),0),c=Math.min(Math.ceil(e[3]/s),Math.ceil(this.getHeight()/this.getTileHeight())),f=e[2]-e[0];let h=this.getBytesPerPixel();const v=[],w=[];for(let e=0;e{const n=i.data,p=new DataView(n),d=i.y*s,m=i.x*o,u=(i.y+1)*s,c=(i.x+1)*o,g=w[l],y=Math.min(s,s-(u-e[3])),_=Math.min(o,o-(c-e[2]));for(let i=Math.max(0,e[1]-d);io[2]||o[1]>o[3])throw new Error("Invalid subsets");const s=(o[2]-o[0])*(o[3]-o[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index '${t[e]}'.`))}else for(let e=0;ep[2]||p[1]>p[3])throw new Error("Invalid subsets");const d=this.fileDirectory.PhotometricInterpretation;if(d===c.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==f.Unspecified&&n){i=[];for(let e=0;e"Item"===e.tagName);e&&(n=n.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let n=0;n<8;n++){let p=this._dataView.getUint8(e+(t?n:7-n));r&&(i?0!==p&&(p=255&~(p-1),i=!1):p=255&~p),a+=p*256**n}return r&&(a=-a),a}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class ${constructor(e,t,a,r){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=a,this._bigTiff=r}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),a=this.readUint32(e+4);let r;if(this._littleEndian){if(r=t+2**32*a,!Number.isSafeInteger(r))throw new Error(r+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return r}if(r=2**32*t+a,!Number.isSafeInteger(r))throw new Error(r+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return r}readInt64(e){let t=0;const a=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let r=!0;for(let i=0;i<8;i++){let n=this._dataView.getUint8(e+(this._littleEndian?i:7-i));a&&(r?0!==n&&(n=255&~(n-1),r=!1):n=255&~n),t+=n*256**i}return a&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var Z=a(35),Y=a(8),X=a(17),Q=a(12),J=a.n(Q),ee=a(19),te=a.n(ee),ae=a(3),re=a.n(ae);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,a=!1){const r=e+t,i=[],n=[],p=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let a=[];t.push(a);for(let r=0;r{const t=await e,i=a*this.blockSize,n=Math.min(i+this.blockSize,t.data.byteLength),p=t.data.slice(i,n);this.blockRequests.delete(r),this.blocks.set(r,{data:p,offset:t.offset+i,length:p.byteLength,top:t.offset+n})})())}}this.blockIdsAwaitingRequest=null}const d=[];for(const e of n)this.blockRequests.has(e)&&d.push(this.blockRequests.get(e));await Promise.all(d),await Promise.all(p);return function(e,t,a){const r=t+a,i=new ArrayBuffer(a),n=new Uint8Array(i);for(const a of e){const e=a.offset-t,i=a.top-r;let p,d=0,o=0;e<0?d=-e:e>0&&(o=e),p=i<0?a.length-d:r-a.offset-d;const s=new Uint8Array(a.data,d,p);n.set(s,o)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const a=await this.retrievalFunction(e,t);return a.length?a.length!==a.data.byteLength&&(a.data=a.data.slice(0,a.length)):a.length=a.data.byteLength,a.top=a.offset+a.length,a}}function ne(e,t){const{forceXHR:a}=t;if("function"==typeof fetch&&!a)return function(e,{headers:t={},blockSize:a}={}){return new ie(async(a,r)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${a}-${a+r-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:a,length:r}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:a})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:a}={}){return new ie(async(a,r)=>new Promise((i,n)=>{const p=new XMLHttpRequest;p.open("GET",e),p.responseType="arraybuffer";const d={...t,Range:`bytes=${a}-${a+r-1}`};for(const[e,t]of Object.entries(d))p.setRequestHeader(e,t);p.onload=()=>{const e=p.response;206===p.status?i({data:e,offset:a,length:r}):i({data:e,offset:0,length:e.byteLength})},p.onerror=n,p.send()}),{blockSize:a})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:a}={}){return new ie(async(a,r)=>new Promise((i,n)=>{const p=re.a.parse(e);("http:"===p.protocol?J.a:te.a).get({...p,headers:{...t,Range:`bytes=${a}-${a+r-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=Y.Buffer.concat(t).buffer;i({data:e,offset:a,length:e.byteLength})})}).on("error",n)}),{blockSize:a})}(e,t);throw new Error("No remote source available")}function pe(e){const t=function(e,t,a){return new Promise((r,i)=>{Object(X.open)(e,t,a,(e,t)=>{e?i(e):r(t)})})}(e,"r");return{async fetch(e,a){const r=await t,{buffer:i}=await function(...e){return new Promise((t,a)=>{Object(X.read)(...e,(e,r,i)=>{e?a(e):t({bytesRead:r,buffer:i})})})}(r,Y.Buffer.alloc(a),0,a,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,a)=>{Object(X.close)(e,e=>{e?a(e):t()})})}(e)}}}function de(e,t){for(const a in t)t.hasOwnProperty(a)&&(e[a]=t[a])}function oe(e,t){if(e.length{let a=t;for(;0!==e[a];)a++;return a},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const a=he.ui8;return a[0]=e[t+1],a[1]=e[t+0],he.i16[0]},readInt:(e,t)=>{const a=he.ui8;return a[0]=e[t+3],a[1]=e[t+2],a[2]=e[t+1],a[3]=e[t+0],he.i32[0]},readUint:(e,t)=>{const a=he.ui8;return a[0]=e[t+3],a[1]=e[t+2],a[2]=e[t+1],a[3]=e[t+0],he.ui32[0]},readASCII:(e,t,a)=>a.map(a=>String.fromCharCode(e[t+a])).join(""),readFloat:(e,t)=>{const a=he.ui8;return le(4,r=>{a[r]=e[t+3-r]}),he.fl32[0]},readDouble:(e,t)=>{const a=he.ui8;return le(8,r=>{a[r]=e[t+7-r]}),he.fl64[0]},writeUshort:(e,t,a)=>{e[t]=a>>8&255,e[t+1]=255&a},writeUint:(e,t,a)=>{e[t]=a>>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+3]=a>>0&255},writeASCII:(e,t,a)=>{le(a.length,r=>{e[t+r]=a.charCodeAt(r)})},ui8:new Uint8Array(8)};he.fl64=new Float64Array(he.ui8.buffer),he.writeDouble=(e,t,a)=>{he.fl64[0]=a,le(8,a=>{e[t+a]=he.ui8[7-a]})};const ve=e=>{const t=new Uint8Array(1e3);let a=4;const r=he;t[0]=77,t[1]=77,t[3]=42;let i=8;if(r.writeUint(t,a,i),a+=4,e.forEach((a,n)=>{const p=((e,t,a,r)=>{let i=a;const n=Object.keys(r).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,n.length),i+=2;let p=i+12*n.length+4;for(const a of n){let n=null;"number"==typeof a?n=a:"string"==typeof a&&(n=parseInt(a,10));const d=s[n],o=fe[d];if(null==d||void 0===d||void 0===d)throw new Error("unknown type of tag: "+n);let l=r[a];if(void 0===l)throw new Error("failed to get value for key "+a);"ASCII"===d&&"string"==typeof l&&!1===oe(l,"\0")&&(l+="\0");const m=l.length;e.writeUshort(t,i,n),i+=2,e.writeUshort(t,i,o),i+=2,e.writeUint(t,i,m),i+=4;let u=[-1,1,1,2,4,8,0,0,0,0,0,0,8][o]*m,c=i;u>4&&(e.writeUint(t,i,p),c=p),"ASCII"===d?e.writeASCII(t,c,l):"SHORT"===d?le(m,a=>{e.writeUshort(t,c+2*a,l[a])}):"LONG"===d?le(m,a=>{e.writeUint(t,c+4*a,l[a])}):"RATIONAL"===d?le(m,a=>{e.writeUint(t,c+8*a,Math.round(1e4*l[a])),e.writeUint(t,c+8*a+4,1e4)}):"DOUBLE"===d&&le(m,a=>{e.writeDouble(t,c+8*a,l[a])}),u>4&&(u+=1&u,p+=u),i+=4}return[i,p]})(r,t,i,a);i=p[1],n{le(i,a=>{le(r,r=>{n.push(e[r][t][a])})})})),t.ImageLength=a,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=le(r,()=>8)),we.forEach(e=>{const a=e[0];if(!t[a]){const r=e[1];t[a]=r}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[r]),t.StripByteCounts||(t.StripByteCounts=[r*a*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/a,0]),t.SampleFormat||(t.SampleFormat=le(r,()=>1));const p=Object.keys(t).filter(e=>oe(e,"GeoKey")).sort((e,t)=>ce[e]-ce[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,p.length];p.forEach(a=>{const r=Number(ce[a]);let i,n,p;e.push(r),"SHORT"===s[r]?(i=1,n=0,p=t[a]):"GeogCitationGeoKey"===a?(i=t.GeoAsciiParams.length,n=Number(ce.GeoAsciiParams),p=0):console.log("[geotiff.js] couldn't get TIFFTagLocation for "+a),e.push(n),e.push(i),e.push(p)}),t.GeoKeyDirectory=e}for(const e in p)p.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var a;t[e]&&(t[e]=(a=t[e],Array.isArray(a)?a:[a]))});const d=(e=>{const t={};for(const a in e)"StripOffsets"!==a&&(ce[a]||console.error(a,"not in name2code:",Object.keys(ce)),t[ce[a]]=e[a]);return t})(t);return((e,t,a,r)=>{if(null==a)throw new Error("you passed into encodeImage a width of type "+a);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[a],273:[1e3],278:[a],305:"geotiff.js"};if(r)for(const e in r)r.hasOwnProperty(e)&&(i[e]=r[e]);const n=new Uint8Array(ve([i])),p=new Uint8Array(e),d=i[277],o=new Uint8Array(1e3+t*a*d);return le(n.length,e=>{o[e]=n[e]}),function(e,t){const{length:a}=e;for(let r=0;r{o[1e3+t]=e}),o.buffer})(n,i,a,d)}class be{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let ye=new be;function _e(e=new be){ye=e}function Se(e){switch(e){case u.BYTE:case u.ASCII:case u.SBYTE:case u.UNDEFINED:return 1;case u.SHORT:case u.SSHORT:return 2;case u.LONG:case u.SLONG:case u.FLOAT:case u.IFD:return 4;case u.RATIONAL:case u.SRATIONAL:case u.DOUBLE:case u.LONG8:case u.SLONG8:case u.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function Te(e,t,a,r){let i=null,n=null;const p=Se(t);switch(t){case u.BYTE:case u.ASCII:case u.UNDEFINED:i=new Uint8Array(a),n=e.readUint8;break;case u.SBYTE:i=new Int8Array(a),n=e.readInt8;break;case u.SHORT:i=new Uint16Array(a),n=e.readUint16;break;case u.SSHORT:i=new Int16Array(a),n=e.readInt16;break;case u.LONG:case u.IFD:i=new Uint32Array(a),n=e.readUint32;break;case u.SLONG:i=new Int32Array(a),n=e.readInt32;break;case u.LONG8:case u.IFD8:i=new Array(a),n=e.readUint64;break;case u.SLONG8:i=new Array(a),n=e.readInt64;break;case u.RATIONAL:i=new Uint32Array(2*a),n=e.readUint32;break;case u.SRATIONAL:i=new Int32Array(2*a),n=e.readInt32;break;case u.FLOAT:i=new Float32Array(a),n=e.readFloat32;break;case u.DOUBLE:i=new Float64Array(a),n=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==u.RATIONAL&&t!==u.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tr||n&&n>p)break}}let m=t;if(p){const[e,t]=d.getOrigin(),[a,r]=o.getResolution(d);m=[Math.round((p[0]-e)/a),Math.round((p[1]-t)/r),Math.round((p[2]-e)/a),Math.round((p[3]-t)/r)],m=[Math.min(m[0],m[2]),Math.min(m[1],m[3]),Math.max(m[0],m[2]),Math.max(m[1],m[3])]}return o.readRasters({...e,window:m})}}class Ce extends De{constructor(e,t,a,r,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=a,this.firstIFDOffset=r,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const a=this.bigTiff?4048:1024;return new $(await this.source.fetch(e,void 0!==t?t:a),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,a=this.bigTiff?8:2;let r=await this.getSlice(e);const i=this.bigTiff?r.readUint64(e):r.readUint16(e),n=i*t+(this.bigTiff?16:6);r.covers(e,n)||(r=await this.getSlice(e,n));const p={};let o=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new ke(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new K(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof ke))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",a=t.length+100;let r=await this.getSlice(e,a);if(t===Te(r,u.ASCII,t.length,e)){const t=Te(r,u.ASCII,a,e).split("\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>a&&(r=await this.getSlice(e,i));const n=Te(r,u.ASCII,i,e);this.ghostValues={},n.split("\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const a=await e.fetch(0,1024),r=new H(a),i=r.getUint16(0,0);let n;if(18761===i)n=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");n=!1}const p=r.getUint16(2,n);let d;if(42===p)d=!1;else{if(43!==p)throw new TypeError("Invalid magic number.");d=!0;if(8!==r.getUint16(4,n))throw new Error("Unsupported offset byte-size.")}const o=d?r.getUint64(8,n):r.getUint32(4,n);return new Ce(e,n,d,o,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=Ce;class Ne extends De{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,a=0;for(let r=0;re.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function xe(e,t={}){return Ce.fromSource(ne(e,t))}async function Ae(e){return Ce.fromSource(function(e){return{fetch:async(t,a)=>e.slice(t,t+a)}}(e))}async function Oe(e){return Ce.fromSource(pe(e))}async function Re(e){return Ce.fromSource((t=e,{fetch:async(e,a)=>new Promise((r,i)=>{const n=t.slice(e,e+a),p=new FileReader;p.onload=e=>r(e.target.result),p.onerror=i,p.readAsArrayBuffer(n)})}));var t}async function Pe(e,t=[],a={}){const r=await Ce.fromSource(ne(e,a)),i=await Promise.all(t.map(e=>Ce.fromSource(ne(e,a))));return new Ne(r,i)}async function Ie(e,t){return ge(e,t)}},function(e,t,a){function r(e,t){"use strict";var a=(t=t||{}).pos||0,i="<".charCodeAt(0),n=">".charCodeAt(0),p="-".charCodeAt(0),d="/".charCodeAt(0),o="!".charCodeAt(0),s="'".charCodeAt(0),l='"'.charCodeAt(0);function m(){for(var t=[];e[a];)if(e.charCodeAt(a)==i){if(e.charCodeAt(a+1)===d)return(a=e.indexOf(">",a))+1&&(a+=1),t;if(e.charCodeAt(a+1)===o){if(e.charCodeAt(a+2)==p){for(;-1!==a&&(e.charCodeAt(a)!==n||e.charCodeAt(a-1)!=p||e.charCodeAt(a-2)!=p||-1==a);)a=e.indexOf(">",a+1);-1===a&&(a=e.length)}else for(a+=2;e.charCodeAt(a)!==n&&e[a];)a++;a++;continue}var r=h();t.push(r)}else{var s=u();s.trim().length>0&&t.push(s),a++}return t}function u(){var t=a;return-2===(a=e.indexOf("<",a)-1)&&(a=e.length),e.slice(t,a+1)}function c(){for(var t=a;-1==="\n\t>/= ".indexOf(e[a])&&e[a];)a++;return e.slice(t,a)}var f=t.noChildNodes||["img","br","input","meta","link"];function h(){a++;const t=c(),r={};let i=[];for(;e.charCodeAt(a)!==n&&e[a];){var p=e.charCodeAt(a);if(p>64&&p<91||p>96&&p<123){for(var o=c(),u=e.charCodeAt(a);u&&u!==s&&u!==l&&!(u>64&&u<91||u>96&&u<123)&&u!==n;)a++,u=e.charCodeAt(a);if(u===s||u===l){var h=v();if(-1===a)return{tagName:t,attributes:r,children:i}}else h=null,a--;r[o]=h}a++}if(e.charCodeAt(a-1)!==d)if("script"==t){var w=a+1;a=e.indexOf("<\/script>",a),i=[e.slice(w,a-1)],a+=9}else if("style"==t){w=a+1;a=e.indexOf("",a),i=[e.slice(w,a-1)],a+=8}else-1==f.indexOf(t)&&(a++,i=m());else a++;return{tagName:t,attributes:r,children:i}}function v(){var t=e[a],r=++a;return a=e.indexOf(t,r),e.slice(r,a)}var w,g=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(g=[];-1!==(w=void 0,w=new RegExp("\\s"+t.attrName+"\\s*=['\"]"+t.attrValue+"['\"]").exec(e),a=w?w.index:-1);)-1!==(a=e.lastIndexOf("<",a))&&g.push(h()),e=e.substr(a),a=0}else g=t.parseNode?h():m();return t.filter&&(g=r.filter(g,t.filter)),t.setPos&&(g.pos=a),g}r.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var a in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var a=r.simplify(e.children||[]);t[e.tagName].push(a),e.attributes&&(a._attributes=e.attributes)}})),t)1==t[a].length&&(t[a]=t[a][0]);return t},r.filter=function(e,t){var a=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&a.push(e),e.children){var i=r.filter(e.children,t);a=a.concat(i)}})),a},r.stringify=function(e){var t="";function a(e){if(e)for(var a=0;a"}return a(e),t},r.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+r.toContentString(e)).trim()})),t}return"object"==typeof e?r.toContentString(e.children):" "+e},r.getElementById=function(e,t,a){var i=r(e,{attrValue:t});return a?r.simplify(i):i[0]},r.getElementsByClassName=function(e,t,a){const i=r(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return a?r.simplify(i):i},r.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=a(17);e=i.createReadStream(e,{start:t}),t=0}var n=t,p="";return e.on("data",(function(t){p+=t;for(var a=0;;){if(!(n=p.indexOf("<",n)+1))return void(n=a);if("/"!==p[n+1]){var i=r(p,{pos:n-1,parseNode:!0,setPos:!0});if((n=i.pos)>p.length-1||nn.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var a=r.inflateInit2(this.strm,t.windowBits);if(a!==p.Z_OK)throw new Error(d[a]);if(this.header=new s,r.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=n.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(a=r.inflateSetDictionary(this.strm,t.dictionary))!==p.Z_OK))throw new Error(d[a])}function u(e,t){var a=new m(t);if(a.push(e,!0),a.err)throw a.msg||d[a.err];return a.result}m.prototype.push=function(e,t){var a,d,o,s,m,u=this.strm,c=this.options.chunkSize,f=this.options.dictionary,h=!1;if(this.ended)return!1;d=t===~~t?t:!0===t?p.Z_FINISH:p.Z_NO_FLUSH,"string"==typeof e?u.input=n.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?u.input=new Uint8Array(e):u.input=e,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new i.Buf8(c),u.next_out=0,u.avail_out=c),(a=r.inflate(u,p.Z_NO_FLUSH))===p.Z_NEED_DICT&&f&&(a=r.inflateSetDictionary(this.strm,f)),a===p.Z_BUF_ERROR&&!0===h&&(a=p.Z_OK,h=!1),a!==p.Z_STREAM_END&&a!==p.Z_OK)return this.onEnd(a),this.ended=!0,!1;u.next_out&&(0!==u.avail_out&&a!==p.Z_STREAM_END&&(0!==u.avail_in||d!==p.Z_FINISH&&d!==p.Z_SYNC_FLUSH)||("string"===this.options.to?(o=n.utf8border(u.output,u.next_out),s=u.next_out-o,m=n.buf2string(u.output,o),u.next_out=s,u.avail_out=c-s,s&&i.arraySet(u.output,u.output,o,s,0),this.onData(m)):this.onData(i.shrinkBuf(u.output,u.next_out)))),0===u.avail_in&&0===u.avail_out&&(h=!0)}while((u.avail_in>0||0===u.avail_out)&&a!==p.Z_STREAM_END);return a===p.Z_STREAM_END&&(d=p.Z_FINISH),d===p.Z_FINISH?(a=r.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===p.Z_OK):d!==p.Z_SYNC_FLUSH||(this.onEnd(p.Z_OK),u.avail_out=0,!0)},m.prototype.onData=function(e){this.chunks.push(e)},m.prototype.onEnd=function(e){e===p.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=m,t.inflate=u,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},t.ungzip=u},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"defaultPoolSize",(function(){return defaultPoolSize})),__webpack_require__.d(__webpack_exports__,"getWorkerImplementation",(function(){return getWorkerImplementation})),__webpack_require__.d(__webpack_exports__,"isWorkerRuntime",(function(){return isWorkerRuntime}));var callsites__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(42),callsites__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(callsites__WEBPACK_IMPORTED_MODULE_0__),events__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(23),events__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__),os__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(43),os__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_2__),path__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(13),path__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__),url__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3),url__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);let tsNodeAvailable;const defaultPoolSize=Object(os__WEBPACK_IMPORTED_MODULE_2__.cpus)().length;function detectTsNode(){if("function"==typeof require)return!1;if(tsNodeAvailable)return tsNodeAvailable;try{eval("require").resolve("ts-node"),tsNodeAvailable=!0}catch(e){if(!e||"MODULE_NOT_FOUND"!==e.code)throw e;tsNodeAvailable=!1}return tsNodeAvailable}function createTsNodeModule(e){return`\n require("ts-node/register/transpile-only");\n require(${JSON.stringify(e)});\n `}function rebaseScriptPath(e,t){const a=callsites__WEBPACK_IMPORTED_MODULE_0___default()().find(e=>{const a=e.getFileName();return Boolean(a&&!a.match(t)&&!a.match(/[\/\\]master[\/\\]implementation/)&&!a.match(/^internal\/process/))}),r=a?a.getFileName():null;let i=r||null;i&&i.startsWith("file:")&&(i=Object(url__WEBPACK_IMPORTED_MODULE_4__.fileURLToPath)(i));return i?path__WEBPACK_IMPORTED_MODULE_3__.join(path__WEBPACK_IMPORTED_MODULE_3__.dirname(i),e):e}function resolveScriptPath(scriptPath,baseURL){const makeRelative=filePath=>path__WEBPACK_IMPORTED_MODULE_3__.isAbsolute(filePath)?filePath:path__WEBPACK_IMPORTED_MODULE_3__.join(baseURL||eval("__dirname"),filePath),workerFilePath="function"==typeof require?require.resolve(makeRelative(scriptPath)):eval("require").resolve(makeRelative(rebaseScriptPath(scriptPath,/[\/\\]worker_threads[\/\\]/)));return workerFilePath}function initWorkerThreadsWorker(){const NativeWorker="function"==typeof require?require("worker_threads").Worker:eval("require")("worker_threads").Worker;let allWorkers=[];class Worker extends NativeWorker{constructor(e,t){const a=t&&t.fromSource?null:resolveScriptPath(e,(t||{})._baseURL);if(a)a.match(/\.tsx?$/i)&&detectTsNode()?super(createTsNodeModule(a),Object.assign(Object.assign({},t),{eval:!0})):a.match(/\.asar[\/\\]/)?super(a.replace(/\.asar([\/\\])/,".asar.unpacked$1"),t):super(a,t);else{super(e,Object.assign(Object.assign({},t),{eval:!0}))}this.mappedEventListeners=new WeakMap,allWorkers.push(this)}addEventListener(e,t){const a=e=>{t({data:e})};this.mappedEventListeners.set(t,a),this.on(e,a)}removeEventListener(e,t){const a=this.mappedEventListeners.get(t)||t;this.off(e,a)}}const terminateWorkersAndMaster=()=>{Promise.all(allWorkers.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),allWorkers=[]};process.on("SIGINT",()=>terminateWorkersAndMaster()),process.on("SIGTERM",()=>terminateWorkersAndMaster());class BlobWorker extends Worker{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new Worker(e,Object.assign(Object.assign({},t),{fromSource:!0}))}}return{blob:BlobWorker,default:Worker}}function initTinyWorker(){const e=__webpack_require__(79);let t=[];class a extends e{constructor(e,a){const r=a&&a.fromSource?null:"win32"===process.platform?"file:///"+resolveScriptPath(e).replace(/\\/g,"/"):resolveScriptPath(e);if(r)r.match(/\.tsx?$/i)&&detectTsNode()?super(new Function(createTsNodeModule(resolveScriptPath(e))),[],{esm:!0}):r.match(/\.asar[\/\\]/)?super(r.replace(/\.asar([\/\\])/,".asar.unpacked$1"),[],{esm:!0}):super(r,[],{esm:!0});else{super(new Function(e),[],{esm:!0})}t.push(this),this.emitter=new events__WEBPACK_IMPORTED_MODULE_1__.EventEmitter,this.onerror=e=>this.emitter.emit("error",e),this.onmessage=e=>this.emitter.emit("message",e)}addEventListener(e,t){this.emitter.addListener(e,t)}removeEventListener(e,t){this.emitter.removeListener(e,t)}terminate(){return t=t.filter(e=>e!==this),super.terminate()}}const r=()=>{Promise.all(t.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),t=[]};process.on("SIGINT",()=>r()),process.on("SIGTERM",()=>r());return{blob:class extends a{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new a(e,Object.assign(Object.assign({},t),{fromSource:!0}))}},default:a}}let implementation,isTinyWorker;function selectWorkerImplementation(){try{return isTinyWorker=!1,initWorkerThreadsWorker()}catch(e){return console.debug("Node worker_threads not available. Trying to fall back to tiny-worker polyfill..."),isTinyWorker=!0,initTinyWorker()}}function getWorkerImplementation(){return implementation||(implementation=selectWorkerImplementation()),implementation}function isWorkerRuntime(){if(isTinyWorker)return!("undefined"==typeof self||!self.postMessage);{const isMainThread="function"==typeof require?require("worker_threads").isMainThread:eval("require")("worker_threads").isMainThread;return!isMainThread}}},function(e,t,a){"use strict";const r=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);return Error.prepareStackTrace=e,t};e.exports=r,e.exports.default=r},function(e,t){e.exports=require("os")},function(e,t,a){"use strict";var r=a(20);class i extends r.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var r=a(1);function i(e){return e&&"object"==typeof e&&e[r.d]}},function(e,t,a){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:{},i=a.size;let n=void 0===i?0:i;var p=a.timeout;let d=void 0===p?0:p;null==e?e=null:b(e)?e=Buffer.from(e.toString()):y(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof r||(e=Buffer.from(String(e)))),this[h]={body:e,disturbed:!1,error:null},this.size=n,this.timeout=d,e instanceof r&&e.on("error",(function(e){const a="AbortError"===e.name?e:new c(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[h].error=a}))}function g(){var e=this;if(this[h].disturbed)return w.Promise.reject(new TypeError("body used already for: "+this.url));if(this[h].disturbed=!0,this[h].error)return w.Promise.reject(this[h].error);let t=this.body;if(null===t)return w.Promise.resolve(Buffer.alloc(0));if(y(t)&&(t=t.stream()),Buffer.isBuffer(t))return w.Promise.resolve(t);if(!(t instanceof r))return w.Promise.resolve(Buffer.alloc(0));let a=[],i=0,n=!1;return new w.Promise((function(r,p){let d;e.timeout&&(d=setTimeout((function(){n=!0,p(new c(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(n=!0,p(t)):p(new c(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!n&&null!==t){if(e.size&&i+t.length>e.size)return n=!0,void p(new c(`content size at ${e.url} over limit: ${e.size}`,"max-size"));i+=t.length,a.push(t)}})),t.on("end",(function(){if(!n){clearTimeout(d);try{r(Buffer.concat(a,i))}catch(t){p(new c(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function b(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function y(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function _(e){let t,a,i=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return i instanceof r&&"function"!=typeof i.getBoundary&&(t=new v,a=new v,i.pipe(t),i.pipe(a),e[h].body=t,i=a),i}function S(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":b(e)?"application/x-www-form-urlencoded;charset=UTF-8":y(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?"multipart/form-data;boundary="+e.getBoundary():e instanceof r?null:"text/plain;charset=UTF-8"}function T(e){const t=e.body;return null===t?0:y(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}w.prototype={get body(){return this[h].body},get bodyUsed(){return this[h].disturbed},arrayBuffer(){return g.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return g.call(this).then((function(t){return Object.assign(new u([],{type:e.toLowerCase()}),{[l]:t})}))},json(){var e=this;return g.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return w.Promise.reject(new c(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return g.call(this).then((function(e){return e.toString()}))},buffer(){return g.call(this)},textConverted(){var e=this;return g.call(this).then((function(t){return function(e,t){if("function"!=typeof f)throw new Error("The package `encoding` must be installed to use the textConverted() function");const a=t.get("content-type");let r,i,n="utf-8";a&&(r=/charset=([^;]*)/i.exec(a));i=e.slice(0,1024).toString(),!r&&i&&(r=/0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[x]=Object.create(null),e instanceof A){const t=e.raw(),a=Object.keys(t);for(const e of a)for(const a of t[e])this.append(e,a)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const a=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");a.push(Array.from(t))}for(const e of a){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const a=e[t];this.append(t,a)}}}}get(e){D(e=""+e);const t=N(this[x],e);return void 0===t?null:this[x][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,a=O(this),r=0;for(;r1&&void 0!==arguments[1]?arguments[1]:"key+value";const a=Object.keys(e[x]).sort();return a.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[x][t].join(", ")}:function(t){return[t.toLowerCase(),e[x][t].join(", ")]})}A.prototype.entries=A.prototype[Symbol.iterator],Object.defineProperty(A.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(A.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const R=Symbol("internal");function P(e,t){const a=Object.create(I);return a[R]={target:e,kind:t,index:0},a}const I=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==I)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[R];const t=e.target,a=e.kind,r=e.index,i=O(t,a);return r>=i.length?{value:void 0,done:!0}:(this[R].index=r+1,{value:i[r],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function M(e){const t=Object.assign({__proto__:null},e[x]),a=N(e[x],"Host");return void 0!==a&&(t[a]=t[a][0]),t}Object.defineProperty(I,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const V=Symbol("Response internals"),L=i.STATUS_CODES;class F{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w.call(this,e,t);const a=t.status||200,r=new A(t.headers);if(null!=e&&!r.has("Content-Type")){const t=S(e);t&&r.append("Content-Type",t)}this[V]={url:t.url,status:a,statusText:t.statusText||L[a],headers:r,counter:t.counter}}get url(){return this[V].url||""}get status(){return this[V].status}get ok(){return this[V].status>=200&&this[V].status<300}get redirected(){return this[V].counter>0}get statusText(){return this[V].statusText}get headers(){return this[V].headers}clone(){return new F(_(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}w.mixIn(F.prototype),Object.defineProperties(F.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(F.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const j=Symbol("Request internals"),B=n.URL||p.URL,U=n.parse,G=n.format;function W(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new B(e).toString()),U(e)}const q="destroy"in r.Readable.prototype;function z(e){return"object"==typeof e&&"object"==typeof e[j]}class K{constructor(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};z(e)?t=W(e.url):(t=e&&e.href?W(e.href):W(""+e),e={});let r=a.method||e.method||"GET";if(r=r.toUpperCase(),(null!=a.body||z(e)&&null!==e.body)&&("GET"===r||"HEAD"===r))throw new TypeError("Request with GET/HEAD method cannot have body");let i=null!=a.body?a.body:z(e)&&null!==e.body?_(e):null;w.call(this,i,{timeout:a.timeout||e.timeout||0,size:a.size||e.size||0});const n=new A(a.headers||e.headers||{});if(null!=i&&!n.has("Content-Type")){const e=S(i);e&&n.append("Content-Type",e)}let p=z(e)?e.signal:null;if("signal"in a&&(p=a.signal),null!=p&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(p))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[j]={method:r,redirect:a.redirect||e.redirect||"follow",headers:n,parsedURL:t,signal:p},this.follow=void 0!==a.follow?a.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==a.compress?a.compress:void 0===e.compress||e.compress,this.counter=a.counter||e.counter||0,this.agent=a.agent||e.agent}get method(){return this[j].method}get url(){return G(this[j].parsedURL)}get headers(){return this[j].headers}get redirect(){return this[j].redirect}get signal(){return this[j].signal}clone(){return new K(this)}}function H(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}w.mixIn(K.prototype),Object.defineProperty(K.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(K.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),H.prototype=Object.create(Error.prototype),H.prototype.constructor=H,H.prototype.name="AbortError";const $=n.URL||p.URL,Z=r.PassThrough;function Y(e,t){if(!Y.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return w.Promise=Y.Promise,new Y.Promise((function(a,n){const p=new K(e,t),s=function(e){const t=e[j].parsedURL,a=new A(e[j].headers);if(a.has("Accept")||a.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof r.Readable&&!q)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let i=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(i="0"),null!=e.body){const t=T(e);"number"==typeof t&&(i=String(t))}i&&a.set("Content-Length",i),a.has("User-Agent")||a.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!a.has("Accept-Encoding")&&a.set("Accept-Encoding","gzip,deflate");let n=e.agent;return"function"==typeof n&&(n=n(t)),a.has("Connection")||n||a.set("Connection","close"),Object.assign({},t,{method:e.method,headers:M(a),agent:n})}(p),l=("https:"===s.protocol?d:i).request,m=p.signal;let u=null;const f=function(){let e=new H("The user aborted a request.");n(e),p.body&&p.body instanceof r.Readable&&p.body.destroy(e),u&&u.body&&u.body.emit("error",e)};if(m&&m.aborted)return void f();const h=function(){f(),g()},v=l(s);let w;function g(){v.abort(),m&&m.removeEventListener("abort",h),clearTimeout(w)}m&&m.addEventListener("abort",h),p.timeout&&v.once("socket",(function(e){w=setTimeout((function(){n(new c("network timeout at: "+p.url,"request-timeout")),g()}),p.timeout)})),v.on("error",(function(e){n(new c(`request to ${p.url} failed, reason: ${e.message}`,"system",e)),g()})),v.on("response",(function(e){clearTimeout(w);const t=function(e){const t=new A;for(const a of Object.keys(e))if(!E.test(a))if(Array.isArray(e[a]))for(const r of e[a])k.test(r)||(void 0===t[x][a]?t[x][a]=[r]:t[x][a].push(r));else k.test(e[a])||(t[x][a]=[e[a]]);return t}(e.headers);if(Y.isRedirect(e.statusCode)){const r=t.get("Location");let i=null;try{i=null===r?null:new $(r,p.url).toString()}catch(e){if("manual"!==p.redirect)return n(new c("uri requested responds with an invalid redirect URL: "+r,"invalid-redirect")),void g()}switch(p.redirect){case"error":return n(new c("uri requested responds with a redirect, redirect mode is set to error: "+p.url,"no-redirect")),void g();case"manual":if(null!==i)try{t.set("Location",i)}catch(e){n(e)}break;case"follow":if(null===i)break;if(p.counter>=p.follow)return n(new c("maximum redirect reached at: "+p.url,"max-redirect")),void g();const r={headers:new A(p.headers),follow:p.follow,counter:p.counter+1,agent:p.agent,compress:p.compress,method:p.method,body:p.body,signal:p.signal,timeout:p.timeout,size:p.size};if(!function(e,t){const a=new $(t).hostname,r=new $(e).hostname;return a===r||"."===a[a.length-r.length-1]&&a.endsWith(r)}(p.url,i))for(const e of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(e);return 303!==e.statusCode&&p.body&&null===T(p)?(n(new c("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void g()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==p.method)||(r.method="GET",r.body=void 0,r.headers.delete("content-length")),a(Y(new K(i,r))),void g())}}e.once("end",(function(){m&&m.removeEventListener("abort",h)}));let r=e.pipe(new Z);const i={url:p.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:p.size,timeout:p.timeout,counter:p.counter},d=t.get("Content-Encoding");if(!p.compress||"HEAD"===p.method||null===d||204===e.statusCode||304===e.statusCode)return u=new F(r,i),void a(u);const s={flush:o.Z_SYNC_FLUSH,finishFlush:o.Z_SYNC_FLUSH};if("gzip"==d||"x-gzip"==d)return r=r.pipe(o.createGunzip(s)),u=new F(r,i),void a(u);if("deflate"!=d&&"x-deflate"!=d){if("br"==d&&"function"==typeof o.createBrotliDecompress)return r=r.pipe(o.createBrotliDecompress()),u=new F(r,i),void a(u);u=new F(r,i),a(u)}else{e.pipe(new Z).once("data",(function(e){r=8==(15&e[0])?r.pipe(o.createInflate()):r.pipe(o.createInflateRaw()),u=new F(r,i),a(u)}))}})),function(e,t){const a=t.body;null===a?e.end():y(a)?a.stream().pipe(e):Buffer.isBuffer(a)?(e.write(a),e.end()):a.pipe(e)}(v,p)}))}Y.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},Y.Promise=global.Promise,t.default=Y},function(e,t,a){"use strict";const r=a(50),i=a(51),n=a(52),p=i.implSymbol;function d(t){if(!this||this[p]||!(this instanceof d))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const a=[];for(let e=0;e!!e&&e[p]instanceof n.implementation,create(e,t){let a=Object.create(d.prototype);return this.setup(a,e,t),a},setup(e,t,a){a||(a={}),a.wrapper=e,e[p]=new n.implementation(t,a),e[p][i.wrapperSymbol]=e},interface:d,expose:{Window:{URL:d},Worker:{URL:d}}}},function(e,t,a){"use strict";var r={};function i(e){return e<0?-1:1}function n(e,t){t.unsigned||--e;const a=t.unsigned?0:-Math.pow(2,e),r=Math.pow(2,e)-1,n=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),p=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,d){d||(d={});let o=+e;if(d.enforceRange){if(!Number.isFinite(o))throw new TypeError("Argument is not a finite number");if(o=i(o)*Math.floor(Math.abs(o)),or)throw new TypeError("Argument is not in byte range");return o}if(!isNaN(o)&&d.clamp)return o=function(e){return e%1==.5&&0==(1&e)?Math.floor(e):Math.round(e)}(o),or&&(o=r),o;if(!Number.isFinite(o)||0===o)return 0;if(o=i(o)*Math.floor(Math.abs(o)),o%=n,!t.unsigned&&o>=p)return o-n;if(t.unsigned)if(o<0)o+=n;else if(-0===o)return 0;return o}}e.exports=r,r.void=function(){},r.boolean=function(e){return!!e},r.byte=n(8,{unsigned:!1}),r.octet=n(8,{unsigned:!0}),r.short=n(16,{unsigned:!1}),r["unsigned short"]=n(16,{unsigned:!0}),r.long=n(32,{unsigned:!1}),r["unsigned long"]=n(32,{unsigned:!0}),r["long long"]=n(32,{unsigned:!1,moduloBitLength:64}),r["unsigned long long"]=n(32,{unsigned:!0,moduloBitLength:64}),r.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},r["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},r.float=r.double,r["unrestricted float"]=r["unrestricted double"],r.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},r.ByteString=function(e,t){const a=String(e);let r=void 0;for(let e=0;void 0!==(r=a.codePointAt(e));++e)if(r>255)throw new TypeError("Argument is not a valid bytestring");return a},r.USVString=function(e){const t=String(e),a=t.length,r=[];for(let e=0;e57343)r.push(String.fromCodePoint(i));else if(56320<=i&&i<=57343)r.push(String.fromCodePoint(65533));else if(e===a-1)r.push(String.fromCodePoint(65533));else{const a=t.charCodeAt(e+1);if(56320<=a&&a<=57343){const t=1023&i,n=1023&a;r.push(String.fromCodePoint(65536+1024*t+n)),++e}else r.push(String.fromCodePoint(65533))}}return r.join("")},r.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},r.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}},function(e,t,a){"use strict";e.exports.mixin=function(e,t){const a=Object.getOwnPropertyNames(t);for(let r=0;r=e)return n;n[0][0]>e?a=r-1:t=r+1}return null}var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function s(e){return e.replace(o,"_").length}var l=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function m(e,t){"xn--"===e.substr(0,4)&&(e=r.toUnicode(e));var a=!1;(p(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(l))&&(a=!0);for(var i=s(e),o=0;o253||0===d.length)&&(n.error=!0);for(var o=0;o63||0===p.length){n.error=!0;break}}return n.error?null:p.join(".")},e.exports.toUnicode=function(e,t){var a=u(e,t,n.NONTRANSITIONAL);return{domain:a.string,error:a.error}},e.exports.PROCESSING_OPTIONS=n},function(e){e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')},function(e,t,a){"use strict";e.exports=function(){return a(56)('!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=41)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return a}));const n=Symbol("thread.errors"),i=Symbol("thread.events"),o=Symbol("thread.terminate"),s=Symbol("thread.transferable"),a=Symbol("thread.worker")},function(e,t,r){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(65):e.exports=r(67)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return s}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})};let i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e};function o(e){return i.deserialize(e)}function s(e){return i.serialize(e)}},function(e,t,r){"use strict";const n={};function i(e,t,r){r||(r=Error);class i extends r{constructor(e,r,n){super(function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(e,r,n))}}i.prototype.name=r.name,i.prototype.code=e,n[e]=i}function o(e,t){if(Array.isArray(e)){const r=e.length;return e=e.map(e=>String(e)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}i("ERR_INVALID_OPT_VALUE",(function(e,t){return\'The value "\'+t+\'" is invalid for option "\'+e+\'"\'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,r){let n,i;if("string"==typeof t&&function(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be",s=e,a=" argument",(void 0===l||l>s.length)&&(l=s.length),s.substring(l-a.length,l)===a)i=`The ${e} ${n} ${o(t,"type")}`;else{i=`The "${e}" ${function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument"} ${n} ${o(t,"type")}`}var s,a,l;return i+=". Received type "+typeof r,i}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t){e.exports=require("buffer")},function(e,t,r){try{var n=r(10);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(45)}},function(e,t,r){"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var i=r(23),o=r(27);r(5)(c,i);for(var s=n(o.prototype),a=0;a/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.test(e);function l(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let c;function u(){return c||(c=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn\'t support workers in workers.")}};class e extends Worker{constructor(e,t){var r,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!a(e)&&o().match(/^file:\\/\\//i)&&(e=new URL(e,o().replace(/\\/[^\\/]+$/,"/")),(null===(r=null==t?void 0:t.CORSWorkaround)||void 0===r||r)&&(e=l(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&a(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=l(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,r){const n=new window.Blob([e],{type:"text/javascript"});return new t(n,r)}}return{blob:t,default:e}}()),c}function f(){const e="undefined"!=typeof self&&"undefined"!=typeof Window&&self instanceof Window;return!("undefined"==typeof self||!self.postMessage||e)}var h=r(35);const d="undefined"!=typeof process&&"browser"!==process.arch&&"pid"in process?h:n,p=d.defaultPoolSize,g=d.getWorkerImplementation;d.isWorkerRuntime},function(e,t){e.exports=require("path")},function(e,t,r){"use strict";var n,i;r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e.cancel="cancel",e.run="run"}(n||(n={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(i||(i={}))},function(e,t){e.exports=require("util")},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(0);function i(e){throw Error(e)}const o={errors:e=>e[n.a]||i("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[n.b]||i("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[n.c]()}},function(e,t){e.exports=require("fs")},function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o"function"==typeof Symbol,i=e=>n()&&Boolean(Symbol[e]),o=e=>i(e)?Symbol[e]:"@@"+e;i("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"));const s=o("iterator"),a=o("observable"),l=o("species");function c(e,t){const r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function u(e){let t=e.constructor;return void 0!==t&&(t=t[l],null===t&&(t=void 0)),void 0!==t?t:w}function f(e){f.log?f.log(e):setTimeout(()=>{throw e},0)}function h(e){Promise.resolve().then(()=>{try{e()}catch(e){f(e)}})}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=c(t,"unsubscribe");e&&e.call(t)}}catch(e){f(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";const n=e._observer;try{const i=n?c(n,t):void 0;switch(t){case"next":i&&i.call(n,r);break;case"error":if(p(e),!i)throw r;i.call(n,r);break;case"complete":p(e),i&&i.call(n)}}catch(e){f(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:r})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void h(()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const r of t)if(g(e,r.type,r.value),"closed"===e._state)break}}(e))):void g(e,t,r)}class m{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const r=new y(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class y{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){b(this._subscription,"next",e)}error(e){b(this._subscription,"error",e)}complete(){b(this._subscription,"complete")}}class w{constructor(e){if(!(this instanceof w))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,r){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:r}),new m(e,this._subscriber)}pipe(e,...t){let r=this;for(const n of[e,...t])r=n(r);return r}tap(e,t,r){const n="object"!=typeof e||null===e?{next:e,error:t,complete:r}:e;return new w(e=>this.subscribe({next(t){n.next&&n.next(t),e.next(t)},error(t){n.error&&n.error(t),e.error(t)},complete(){n.complete&&n.complete(),e.complete()},start(e){n.start&&n.start(e)}}))}forEach(e){return new Promise((t,r)=>{if("function"!=typeof e)return void r(new TypeError(e+" is not a function"));function n(){i.unsubscribe(),t(void 0)}const i=this.subscribe({next(t){try{e(t,n)}catch(e){r(e),i.unsubscribe()}},error(e){r(e)},complete(){t(void 0)}})})}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))(t=>this.subscribe({next(r){let n=r;try{n=e(r)}catch(e){return t.error(e)}t.next(n)},error(e){t.error(e)},complete(){t.complete()}}))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(u(this))(t=>this.subscribe({next(r){try{if(!e(r))return}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}}))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const r=u(this),n=arguments.length>1;let i=!1,o=t;return new r(t=>this.subscribe({next(r){const s=!i;if(i=!0,!s||n)try{o=e(o,r)}catch(e){return t.error(e)}else o=r},error(e){t.error(e)},complete(){if(!i&&!n)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(o),t.complete()}}))}concat(...e){const t=u(this);return new t(r=>{let n,i=0;return function o(s){n=s.subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){i===e.length?(n=void 0,r.complete()):o(t.from(e[i++]))}})}(this),()=>{n&&(n.unsubscribe(),n=void 0)}})}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=u(this);return new t(r=>{const n=[],i=this.subscribe({next(i){let s;if(e)try{s=e(i)}catch(e){return r.error(e)}else s=i;const a=t.from(s).subscribe({next(e){r.next(e)},error(e){r.error(e)},complete(){const e=n.indexOf(a);e>=0&&n.splice(e,1),o()}});n.push(a)},error(e){r.error(e)},complete(){o()}});function o(){i.closed&&0===n.length&&r.complete()}return()=>{n.forEach(e=>e.unsubscribe()),i.unsubscribe()}})}[(Symbol.observable,a)](){return this}static from(e){const t="function"==typeof this?this:w;if(null==e)throw new TypeError(e+" is not an object");const r=c(e,a);if(r){const n=r.call(e);if(Object(n)!==n)throw new TypeError(n+" is not an object");return function(e){return e instanceof w}(n)&&n.constructor===t?n:new t(e=>n.subscribe(e))}if(i("iterator")){const r=c(e,s);if(r)return new t(t=>{h(()=>{if(!t.closed){for(const n of r.call(e))if(t.next(n),t.closed)return;t.complete()}})})}if(Array.isArray(e))return new t(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})});throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:w)(t=>{h(()=>{if(!t.closed){for(const r of e)if(t.next(r),t.closed)return;t.complete()}})})}static get[l](){return this}}n()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:a,hostReportError:f},configurable:!0});t.a=w},,function(e,t,r){"use strict";var n=r(3).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i{};var l,c=r(0);!function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(l||(l={}));var u=r(76);const f=()=>{},h=e=>e,d=e=>Promise.resolve().then(e);function p(e){throw e}class g extends o.a{constructor(e){super(t=>{const r=this,n=Object.assign(Object.assign({},t),{complete(){t.complete(),r.onCompletion()},error(e){t.error(e),r.onError(e)},next(e){t.next(e),r.onNext(e)}});try{return this.initHasRun=!0,e(n)}catch(e){n.error(e)}}),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)d(()=>t(e))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)d(()=>e(this.firstValue))}then(e,t){const r=e||h,n=t||p;let i=!1;return new Promise((e,t)=>{const o=r=>{if(!i){i=!0;try{e(n(r))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:o}),"fulfilled"===this.state?e(r(this.firstValue)):"rejected"===this.state?(i=!0,e(n(this.rejection))):(this.fulfillmentCallbacks.push(t=>{try{e(r(t))}catch(e){o(e)}}),void this.rejectionCallbacks.push(o))})}catch(e){return this.then(void 0,e)}finally(e){const t=e||f;return this.then(e=>(t(),e),()=>t())}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new g(t=>{e.then(e=>{t.next(e),t.complete()},e=>{t.error(e)})}):super.from(e)}}var b=r(39),m=r(9);const y=i()("threads:master:messages");let w=1;function _(e,t){return new o.a(r=>{let n;const i=o=>{var a;if(y("Message from worker:",o.data),o.data&&o.data.uid===t)if((a=o.data)&&a.type===m.b.running)n=o.data.resultType;else if((e=>e&&e.type===m.b.result)(o.data))"promise"===n?(void 0!==o.data.payload&&r.next(Object(s.a)(o.data.payload)),r.complete(),e.removeEventListener("message",i)):(o.data.payload&&r.next(Object(s.a)(o.data.payload)),o.data.complete&&(r.complete(),e.removeEventListener("message",i)));else if((e=>e&&e.type===m.b.error)(o.data)){const t=Object(s.a)(o.data.error);r.error(t),e.removeEventListener("message",i)}};return e.addEventListener("message",i),()=>{if("observable"===n||!n){const r={type:m.a.cancel,uid:t};e.postMessage(r)}e.removeEventListener("message",i)}})}function v(e,t){return(...r)=>{const n=w++,{args:i,transferables:o}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],r=[];for(const n of e)Object(b.a)(n)?(t.push(Object(s.b)(n.send)),r.push(...n.transferables)):t.push(Object(s.b)(n));return{args:t,transferables:0===r.length?r:(n=r,Array.from(new Set(n)))};var n}(r),a={type:m.a.run,uid:n,method:t,args:i};y("Sending command to run function to worker:",a);try{e.postMessage(a,o)}catch(e){return g.from(Promise.reject(e))}return g.from(Object(u.a)(_(e,n)))}}var k=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};const S=i()("threads:master:messages"),E=i()("threads:master:spawn"),x=i()("threads:master:thread-utils"),T="undefined"!=typeof process&&process.env.THREADS_WORKER_INIT_TIMEOUT?Number.parseInt(process.env.THREADS_WORKER_INIT_TIMEOUT,10):1e4;function C(e){const[t,r]=function(){let e,t=!1,r=a;return[new Promise(n=>{t?n(e):r=n}),n=>{t=!0,e=n,r(e)}]}();return{terminate:()=>k(this,void 0,void 0,(function*(){x("Terminating worker"),yield e.terminate(),r()})),termination:t}}function O(e,t,r,n){const i=r.filter(e=>e.type===l.internalError).map(e=>e.error);return Object.assign(e,{[c.a]:i,[c.b]:r,[c.c]:n,[c.e]:t})}function R(e,t){return k(this,void 0,void 0,(function*(){E("Initializing new thread");const r=t&&t.timeout?t.timeout:T,n=(yield function(e,t,r){return k(this,void 0,void 0,(function*(){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>i(Error(r)),t)}),o=yield Promise.race([e,i]);return clearTimeout(n),o}))}(function(e){return new Promise((t,r)=>{const n=i=>{var o;S("Message from worker before finishing initialization:",i.data),(o=i.data)&&"init"===o.type?(e.removeEventListener("message",n),t(i.data)):(e=>e&&"uncaughtError"===e.type)(i.data)&&(e.removeEventListener("message",n),r(Object(s.a)(i.data.error)))};e.addEventListener("message",n)})}(e),r,`Timeout: Did not receive an init message from worker after ${r}ms. Make sure the worker calls expose().`)).exposed,{termination:i,terminate:a}=C(e),c=function(e,t){return new o.a(r=>{const n=e=>{const t={type:l.message,data:e.data};r.next(t)},i=e=>{x("Unhandled promise rejection event in thread:",e);const t={type:l.internalError,error:Error(e.reason)};r.next(t)};e.addEventListener("message",n),e.addEventListener("unhandledrejection",i),t.then(()=>{const t={type:l.termination};e.removeEventListener("message",n),e.removeEventListener("unhandledrejection",i),r.next(t),r.complete()})})}(e,i);if("function"===n.type){return O(v(e),e,c,a)}if("module"===n.type){return O(function(e,t){const r={};for(const n of t)r[n]=v(e,n);return r}(e,n.methods),e,c,a)}{const e=n.type;throw Error("Worker init message states unexpected type of expose(): "+e)}}))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return b}));var n=r(1),i=r.n(n),o=r(38),s=r(76),a=r(15);function l(e){return Promise.all(e.map(e=>{const t=e=>({status:"fulfilled",value:e}),r=e=>({status:"rejected",reason:e}),n=Promise.resolve(e);try{return n.then(t,r)}catch(e){return Promise.reject(e)}}))}var c,u=r(7);!function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(c||(c={}));var f=r(11),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new o.a,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const r="number"==typeof t?{size:t}:t||{},{size:n=u.a}=r;this.debug=i()("threads:pool:"+(r.name||String(d++)).replace(/\\W/g," ").trim().replace(/\\s+/g,"-")),this.options=r,this.workers=function(e,t){return function(e){const t=[];for(let r=0;r({init:e(),runningTasks:[]}))}(e,n),this.eventObservable=Object(s.a)(a.a.from(this.eventSubject)),Promise.all(this.workers.map(e=>e.init)).then(()=>this.eventSubject.next({type:c.initialized,size:this.workers.length}),e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)})}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find(t=>t.runningTasks.lengthh(this,void 0,void 0,(function*(){var n;yield(n=0,new Promise(e=>setTimeout(e,n)));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter(e=>e!==r),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(r)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:c.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise((t,r)=>{const n=this.events().subscribe(i=>{i.type===c.taskCompleted&&i.taskID===e?(n.unsubscribe(),t(i.returnValue)):i.type===c.taskFailed&&i.taskID===e?(n.unsubscribe(),r(i.error)):i.type===c.terminated&&(n.unsubscribe(),r(Error("Pool has been terminated before task was run.")))})})}settled(e=!1){return h(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce((e,r)=>[...e,...t(r)],[]);var e,t},r=[],n=this.eventObservable.subscribe(e=>{e.type===c.taskFailed&&r.push(e.error)});return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield l(t()),r):(yield new Promise((e,t)=>{const r=this.eventObservable.subscribe({next(t){t.type===c.taskQueueDrained&&(r.unsubscribe(),e(void 0))},error:t})}),yield l(t()),n.unsubscribe(),r)}))}completed(e=!1){return h(this,void 0,void 0,(function*(){const t=this.settled(e),r=new Promise((e,r)=>{const n=this.eventObservable.subscribe({next(i){i.type===c.taskQueueDrained?(n.unsubscribe(),e(t)):i.type===c.taskFailed&&(n.unsubscribe(),r(i.error))},error:r})}),n=yield Promise.race([t,r]);if(n.length>0)throw n[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const r=this.nextTaskID++,n=this.taskCompletion(r);n.catch(e=>{this.debug(`Task #${r} errored:`,e)});const i={id:r,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(i)&&(this.taskQueue=this.taskQueue.filter(e=>e!==i),this.eventSubject.next({type:c.taskCanceled,taskID:i.id}))},then:n.then.bind(n)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won\'t finish, thus blocking the pool.");return this.debug(`Queueing task #${i.id}...`),this.taskQueue.push(i),this.eventSubject.next({type:c.taskQueued,taskID:i.id}),this.scheduleWork(),i}terminate(e){return h(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:c.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map(e=>h(this,void 0,void 0,(function*(){return f.a.terminate(yield e.init)}))))}))}}function g(e,t){return new p(e,t)}p.EventType=c,g.EventType=c;const b=g},function(e,t){e.exports=require("http")},function(e,t){e.exports=require("stream")},function(e,t,r){"use strict";var n;e.exports=E,E.ReadableState=S;r(18).EventEmitter;var i=function(e,t){return e.listeners(t).length},o=r(24),s=r(4).Buffer,a=global.Uint8Array||function(){};var l,c=r(10);l=c&&c.debuglog?c.debuglog("stream"):function(){};var u,f,h,d=r(44),p=r(25),g=r(26).getHighWaterMark,b=r(3).codes,m=b.ERR_INVALID_ARG_TYPE,y=b.ERR_STREAM_PUSH_AFTER_EOF,w=b.ERR_METHOD_NOT_IMPLEMENTED,_=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(5)(E,o);var v=p.errorOrDestroy,k=["error","close","destroy","pause","resume"];function S(e,t,i){n=n||r(6),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(u||(u=r(28).StringDecoder),this.decoder=new u(e.encoding),this.encoding=e.encoding)}function E(e){if(n=n||r(6),!(this instanceof E))return new E(e);var t=this instanceof n;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),o.call(this)}function x(e,t,r,n,i){l("readableAddChunk",t);var o,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?O(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,R(e)))}(e,c);else if(i||(o=function(e,t){var r;n=t,s.isBuffer(n)||n instanceof a||"string"==typeof t||void 0===t||e.objectMode||(r=new m("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(c,t)),o)v(e,o);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),n)c.endEmitted?v(e,new _):T(e,c,t,!0);else if(c.ended)v(e,new y);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(t=c.decoder.write(t),c.objectMode||0!==t.length?T(e,c,t,!1):A(e,c)):T(e,c,t,!1)}else n||(c.reading=!1,A(e,c));return!c.ended&&(c.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(R,e))}function R(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function A(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){l("readable nexttick read 0"),e.read(0)}function M(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function F(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function j(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(U,t,e))}function U(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function N(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?j(this):O(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&j(this),null;var n,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?F(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&j(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){v(this,new w("_read()"))},E.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,l("pipe count=%d opts=%j",n.pipesCount,t);var o=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?a:g;function s(t,i){l("onunpipe"),t===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,l("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",s),r.removeListener("end",a),r.removeListener("end",g),r.removeListener("data",f),u=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function a(){l("onend"),e.end()}n.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,L(e))}}(r);e.on("drain",c);var u=!1;function f(t){l("ondata");var i=e.write(t);l("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==N(n.pipes,e))&&!u&&(l("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function h(t){l("onerror",t),g(),e.removeListener("error",h),0===i(e,"error")&&v(e,t)}function d(){e.removeListener("finish",p),g()}function p(){l("onfinish"),e.removeListener("close",d),g()}function g(){l("unpipe"),r.unpipe(e)}return r.on("data",f),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",d),e.once("finish",p),e.emit("pipe",r),n.flowing||(l("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,l("on readable",n.length,n.reading),n.length?O(this):n.reading||process.nextTick(I,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=o.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(D,this),r},E.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(D,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(M,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new p("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,A(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=u.destroy,E.prototype._undestroy=u.undestroy,E.prototype._destroy=function(e,t){t(e)}},function(e,t,r){"use strict";var n=r(47).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=u,this.end=f,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(e.lastNeed=i-1),i;if(--n=0)return i>0&&(e.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){"use strict";e.exports=u;var n=r(3).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(6);function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthObject(o.a)(r),t)}async decode(e,t){return new Promise((r,n)=>{this.pool.queue(async i=>{try{const n=await i(e,t);r(n)}catch(e){n(e)}})})}destroy(){this.pool.terminate(!0)}}}).call(this,r(62))},function(e,t,r){e.exports=function(e){function t(e){let r,i,o,s=null;function a(...e){if(!a.enabled)return;const n=a,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\\s,]+/),i=n.length;for(r=0;r{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;ta)&&(a=p))}e.maxs.push(a),e.mins.push(l),e.ranges.push(a-l)}o(e)}))}},function(e,t,r){function n(e,t){"use strict";var r=(t=t||{}).pos||0,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),a="/".charCodeAt(0),l="!".charCodeAt(0),c="\'".charCodeAt(0),u=\'"\'.charCodeAt(0);function f(){for(var t=[];e[r];)if(e.charCodeAt(r)==i){if(e.charCodeAt(r+1)===a)return(r=e.indexOf(">",r))+1&&(r+=1),t;if(e.charCodeAt(r+1)===l){if(e.charCodeAt(r+2)==s){for(;-1!==r&&(e.charCodeAt(r)!==o||e.charCodeAt(r-1)!=s||e.charCodeAt(r-2)!=s||-1==r);)r=e.indexOf(">",r+1);-1===r&&(r=e.length)}else for(r+=2;e.charCodeAt(r)!==o&&e[r];)r++;r++;continue}var n=g();t.push(n)}else{var c=h();c.trim().length>0&&t.push(c),r++}return t}function h(){var t=r;return-2===(r=e.indexOf("<",r)-1)&&(r=e.length),e.slice(t,r+1)}function d(){for(var t=r;-1==="\\n\\t>/= ".indexOf(e[r])&&e[r];)r++;return e.slice(t,r)}var p=t.noChildNodes||["img","br","input","meta","link"];function g(){r++;const t=d(),n={};let i=[];for(;e.charCodeAt(r)!==o&&e[r];){var s=e.charCodeAt(r);if(s>64&&s<91||s>96&&s<123){for(var l=d(),h=e.charCodeAt(r);h&&h!==c&&h!==u&&!(h>64&&h<91||h>96&&h<123)&&h!==o;)r++,h=e.charCodeAt(r);if(h===c||h===u){var g=b();if(-1===r)return{tagName:t,attributes:n,children:i}}else g=null,r--;n[l]=g}r++}if(e.charCodeAt(r-1)!==a)if("script"==t){var m=r+1;r=e.indexOf("<\\/script>",r),i=[e.slice(m,r-1)],r+=9}else if("style"==t){m=r+1;r=e.indexOf("",r),i=[e.slice(m,r-1)],r+=8}else-1==p.indexOf(t)&&(r++,i=f());else r++;return{tagName:t,attributes:n,children:i}}function b(){var t=e[r],n=++r;return r=e.indexOf(t,n),e.slice(n,r)}var m,y=null;if(void 0!==t.attrValue){t.attrName=t.attrName||"id";for(y=[];-1!==(m=void 0,m=new RegExp("\\\\s"+t.attrName+"\\\\s*=[\'\\"]"+t.attrValue+"[\'\\"]").exec(e),r=m?m.index:-1);)-1!==(r=e.lastIndexOf("<",r))&&y.push(g()),e=e.substr(r),r=0}else y=t.parseNode?g():f();return t.filter&&(y=n.filter(y,t.filter)),t.setPos&&(y.pos=r),y}n.simplify=function(e){var t={};if(!e.length)return"";if(1===e.length&&"string"==typeof e[0])return e[0];for(var r in e.forEach((function(e){if("object"==typeof e){t[e.tagName]||(t[e.tagName]=[]);var r=n.simplify(e.children||[]);t[e.tagName].push(r),e.attributes&&(r._attributes=e.attributes)}})),t)1==t[r].length&&(t[r]=t[r][0]);return t},n.filter=function(e,t){var r=[];return e.forEach((function(e){if("object"==typeof e&&t(e)&&r.push(e),e.children){var i=n.filter(e.children,t);r=r.concat(i)}})),r},n.stringify=function(e){var t="";function r(e){if(e)for(var r=0;r",r(e.children),t+=""}return r(e),t},n.toContentString=function(e){if(Array.isArray(e)){var t="";return e.forEach((function(e){t=(t+=" "+n.toContentString(e)).trim()})),t}return"object"==typeof e?n.toContentString(e.children):" "+e},n.getElementById=function(e,t,r){var i=n(e,{attrValue:t});return r?n.simplify(i):i[0]},n.getElementsByClassName=function(e,t,r){const i=n(e,{attrName:"class",attrValue:"[a-zA-Z0-9-s ]*"+t+"[a-zA-Z0-9-s ]*"});return r?n.simplify(i):i},n.parseStream=function(e,t){if("string"==typeof t&&(t=t.length+2),"string"==typeof e){var i=r(12);e=i.createReadStream(e,{start:t}),t=0}var o=t,s="";return e.on("data",(function(t){s+=t;for(var r=0;;){if(!(o=s.indexOf("<",o)+1))return void(o=r);if("/"!==s[o+1]){var i=n(s,{pos:o-1,parseNode:!0,setPos:!0});if((o=i.pos)>s.length-1||oo.length-1||i=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new c,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function h(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,l,c,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?h.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==s.Z_STREAM_END&&(0!==h.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(h.output,h.next_out),c=h.next_out-l,f=o.buf2string(h.output,l),h.next_out=c,h.avail_out=d-c,c&&i.arraySet(h.output,h.output,l,c,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=h,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.ungzip=h},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"defaultPoolSize",(function(){return defaultPoolSize})),__webpack_require__.d(__webpack_exports__,"getWorkerImplementation",(function(){return getWorkerImplementation})),__webpack_require__.d(__webpack_exports__,"isWorkerRuntime",(function(){return isWorkerRuntime}));var callsites__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(36),callsites__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(callsites__WEBPACK_IMPORTED_MODULE_0__),events__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(18),events__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(events__WEBPACK_IMPORTED_MODULE_1__),os__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(37),os__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(os__WEBPACK_IMPORTED_MODULE_2__),path__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8),path__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__),url__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(14),url__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(url__WEBPACK_IMPORTED_MODULE_4__);let tsNodeAvailable;const defaultPoolSize=Object(os__WEBPACK_IMPORTED_MODULE_2__.cpus)().length;function detectTsNode(){if("function"==typeof require)return!1;if(tsNodeAvailable)return tsNodeAvailable;try{eval("require").resolve("ts-node"),tsNodeAvailable=!0}catch(e){if(!e||"MODULE_NOT_FOUND"!==e.code)throw e;tsNodeAvailable=!1}return tsNodeAvailable}function createTsNodeModule(e){return`\\n require("ts-node/register/transpile-only");\\n require(${JSON.stringify(e)});\\n `}function rebaseScriptPath(e,t){const r=callsites__WEBPACK_IMPORTED_MODULE_0___default()().find(e=>{const r=e.getFileName();return Boolean(r&&!r.match(t)&&!r.match(/[\\/\\\\]master[\\/\\\\]implementation/)&&!r.match(/^internal\\/process/))}),n=r?r.getFileName():null;let i=n||null;i&&i.startsWith("file:")&&(i=Object(url__WEBPACK_IMPORTED_MODULE_4__.fileURLToPath)(i));return i?path__WEBPACK_IMPORTED_MODULE_3__.join(path__WEBPACK_IMPORTED_MODULE_3__.dirname(i),e):e}function resolveScriptPath(scriptPath,baseURL){const makeRelative=filePath=>path__WEBPACK_IMPORTED_MODULE_3__.isAbsolute(filePath)?filePath:path__WEBPACK_IMPORTED_MODULE_3__.join(baseURL||eval("__dirname"),filePath),workerFilePath="function"==typeof require?require.resolve(makeRelative(scriptPath)):eval("require").resolve(makeRelative(rebaseScriptPath(scriptPath,/[\\/\\\\]worker_threads[\\/\\\\]/)));return workerFilePath}function initWorkerThreadsWorker(){const NativeWorker="function"==typeof require?require("worker_threads").Worker:eval("require")("worker_threads").Worker;let allWorkers=[];class Worker extends NativeWorker{constructor(e,t){const r=t&&t.fromSource?null:resolveScriptPath(e,(t||{})._baseURL);if(r)r.match(/\\.tsx?$/i)&&detectTsNode()?super(createTsNodeModule(r),Object.assign(Object.assign({},t),{eval:!0})):r.match(/\\.asar[\\/\\\\]/)?super(r.replace(/\\.asar([\\/\\\\])/,".asar.unpacked$1"),t):super(r,t);else{super(e,Object.assign(Object.assign({},t),{eval:!0}))}this.mappedEventListeners=new WeakMap,allWorkers.push(this)}addEventListener(e,t){const r=e=>{t({data:e})};this.mappedEventListeners.set(t,r),this.on(e,r)}removeEventListener(e,t){const r=this.mappedEventListeners.get(t)||t;this.off(e,r)}}const terminateWorkersAndMaster=()=>{Promise.all(allWorkers.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),allWorkers=[]};process.on("SIGINT",()=>terminateWorkersAndMaster()),process.on("SIGTERM",()=>terminateWorkersAndMaster());class BlobWorker extends Worker{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new Worker(e,Object.assign(Object.assign({},t),{fromSource:!0}))}}return{blob:BlobWorker,default:Worker}}function initTinyWorker(){const e=__webpack_require__(63);let t=[];class r extends e{constructor(e,r){const n=r&&r.fromSource?null:"win32"===process.platform?"file:///"+resolveScriptPath(e).replace(/\\\\/g,"/"):resolveScriptPath(e);if(n)n.match(/\\.tsx?$/i)&&detectTsNode()?super(new Function(createTsNodeModule(resolveScriptPath(e))),[],{esm:!0}):n.match(/\\.asar[\\/\\\\]/)?super(n.replace(/\\.asar([\\/\\\\])/,".asar.unpacked$1"),[],{esm:!0}):super(n,[],{esm:!0});else{super(new Function(e),[],{esm:!0})}t.push(this),this.emitter=new events__WEBPACK_IMPORTED_MODULE_1__.EventEmitter,this.onerror=e=>this.emitter.emit("error",e),this.onmessage=e=>this.emitter.emit("message",e)}addEventListener(e,t){this.emitter.addListener(e,t)}removeEventListener(e,t){this.emitter.removeListener(e,t)}terminate(){return t=t.filter(e=>e!==this),super.terminate()}}const n=()=>{Promise.all(t.map(e=>e.terminate())).then(()=>process.exit(0),()=>process.exit(1)),t=[]};process.on("SIGINT",()=>n()),process.on("SIGTERM",()=>n());return{blob:class extends r{constructor(e,t){super(Buffer.from(e).toString("utf-8"),Object.assign(Object.assign({},t),{fromSource:!0}))}static fromText(e,t){return new r(e,Object.assign(Object.assign({},t),{fromSource:!0}))}},default:r}}let implementation,isTinyWorker;function selectWorkerImplementation(){try{return isTinyWorker=!1,initWorkerThreadsWorker()}catch(e){return console.debug("Node worker_threads not available. Trying to fall back to tiny-worker polyfill..."),isTinyWorker=!0,initTinyWorker()}}function getWorkerImplementation(){return implementation||(implementation=selectWorkerImplementation()),implementation}function isWorkerRuntime(){if(isTinyWorker)return!("undefined"==typeof self||!self.postMessage);{const isMainThread="function"==typeof require?require("worker_threads").isMainThread:eval("require")("worker_threads").isMainThread;return!isMainThread}}},function(e,t,r){"use strict";const n=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);return Error.prepareStackTrace=e,t};e.exports=n,e.exports.default=n},function(e,t){e.exports=require("os")},function(e,t,r){"use strict";var n=r(15);class i extends n.a{constructor(){super(e=>(this._observers.add(e),()=>this._observers.delete(e))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(0);function i(e){return e&&"object"==typeof e&&e[n.d]}},function(e,t){e.exports=require("https")},function(e,t,r){"use strict";r.r(t);var n=r(32),i=r.n(n);self;onmessage=e=>{const t=e.data;i()(t).then(e=>{e._data instanceof ArrayBuffer?postMessage(e,[e._data]):postMessage(e),close()})}},function(e,t,r){var n=r(43).Transform,i=r(5);function o(e){n.call(this,e),this._destroyed=!1}function s(e,t,r){r(null,e)}function a(e){return function(t,r,n){return"function"==typeof t&&(n=r,r=t,t={}),"function"!=typeof r&&(r=s),"function"!=typeof n&&(n=null),e(t,r,n)}}i(o,n),o.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;process.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},e.exports=a((function(e,t,r){var n=new o(e);return n._transform=t,r&&(n._flush=r),n})),e.exports.ctor=a((function(e,t,r){function n(t){if(!(this instanceof n))return new n(t);this.options=Object.assign({},e,t),o.call(this,this.options)}return i(n,o),n.prototype._transform=t,r&&(n.prototype._flush=r),n})),e.exports.obj=a((function(e,t,r){var n=new o(Object.assign({objectMode:!0,highWaterMark:16},e));return n._transform=t,r&&(n._flush=r),n}))},function(e,t,r){var n=r(22);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n.Readable,Object.assign(e.exports,n),e.exports.Stream=n):((t=e.exports=r(23)).Stream=n||t,t.Readable=t,t.Writable=r(27),t.Duplex=r(6),t.Transform=r(29),t.PassThrough=r(50),t.finished=r(17),t.pipeline=r(51))},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,i=s.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=i,n=a,s.prototype.copy.call(t,r,n),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:l,value:function(e,t){return a(this,function(e){for(var t=1;t */\nvar n=r(4),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";var n;function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(17),s=Symbol("lastResolve"),a=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(e,t){return{value:e,done:t}}function p(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[u]=null,e[s]=null,e[a]=null,t(d(r,!1)))}}function g(e){process.nextTick(p,e)}var b=Object.getPrototypeOf((function(){})),m=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var e=this,t=this[l];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(t,r){process.nextTick((function(){e[l]?r(e[l]):t(d(void 0,!0))}))}));var r,n=this[u];if(n)r=new Promise(function(e,t){return function(r,n){e.then((function(){t[c]?r(d(void 0,!0)):t[f](r,n)}),n)}}(n,this));else{var i=this[h].read();if(null!==i)return Promise.resolve(d(i,!1));r=new Promise(this[f])}return this[u]=r,r}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[h].destroy(null,(function(e){e?r(e):t(d(void 0,!0))}))}))})),n),b);e.exports=function(e){var t,r=Object.create(m,(i(t={},h,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,c,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var n=r[h].read();n?(r[u]=null,r[s]=null,r[a]=null,e(d(n,!1))):(r[s]=e,r[a]=t)},writable:!0}),t));return r[u]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[a];return null!==t&&(r[u]=null,r[s]=null,r[a]=null,t(e)),void(r[l]=e)}var n=r[s];null!==n&&(r[u]=null,r[s]=null,r[a]=null,n(d(void 0,!0))),r[c]=!0})),e.on("readable",g.bind(null,r)),r}},function(e,t,r){"use strict";function n(e,t,r,n,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var s=e.apply(t,r);function a(e){n(s,i,o,a,l,"next",e)}function l(e){n(s,i,o,a,l,"throw",e)}a(void 0)}))}}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(3).codes.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){var n;if(t&&"function"==typeof t.next)n=t;else if(t&&t[Symbol.asyncIterator])n=t[Symbol.asyncIterator]();else{if(!t||!t[Symbol.iterator])throw new a("iterable",["Iterable"],t);n=t[Symbol.iterator]()}var l=new e(function(e){for(var t=1;t0,(function(e){n||(n=e),e&&s.forEach(c),o||(s.forEach(c),i(n))}))}));return t.reduce(u)}},function(e,t,r){"use strict";var n=r(13),i=r(53),o=r(54),s=r(55),a=r(56);function l(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function d(e,t){var r,n;return e?(n=new c,e.state=n,n.window=null,0!==(r=h(e,t))&&(e.state=null),r):-2}var p,g,b=!0;function m(e){if(b){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),b=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function y(e,t,r,i){var o,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((o=s.wsize-s.wnext)>i&&(o=i),n.arraySet(s.window,t,r-i,o,s.wnext),(i-=o)?(n.arraySet(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=o(r.check,L,2,0),g=0,b=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(b-=4,A=8+(15&(g>>>=4)),0===r.wbits)r.wbits=A;else if(A>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&g,L[1]=g>>>8&255,r.check=o(r.check,L,2,0)),g=0,b=0,r.mode=3;case 3:for(;b<32;){if(0===d)break e;d--,g+=c[f++]<>>8&255,L[2]=g>>>16&255,L[3]=g>>>24&255,r.check=o(r.check,L,4,0)),g=0,b=0,r.mode=4;case 4:for(;b<16;){if(0===d)break e;d--,g+=c[f++]<>8),512&r.flags&&(L[0]=255&g,L[1]=g>>>8&255,r.check=o(r.check,L,2,0)),g=0,b=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===d)break e;d--,g+=c[f++]<>>8&255,r.check=o(r.check,L,2,0)),g=0,b=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((v=r.length)>d&&(v=d),v&&(r.head&&(A=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,c,f,v,A)),512&r.flags&&(r.check=o(r.check,c,v,f)),d-=v,f+=v,r.length-=v),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break e;v=0;do{A=c[f+v++],r.head&&A&&r.length<65536&&(r.head.name+=String.fromCharCode(A))}while(A&&v>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;b<32;){if(0===d)break e;d--,g+=c[f++]<>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===d)break e;d--,g+=c[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(m(r),r.mode=20,6===t){g>>>=2,b-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,b-=2;break;case 14:for(g>>>=7&b,b-=7&b;b<32;){if(0===d)break e;d--,g+=c[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,b=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(v=r.length){if(v>d&&(v=d),v>p&&(v=p),0===v)break e;n.arraySet(u,c,f,v,h),d-=v,f+=v,p-=v,h+=v,r.length-=v;break}r.mode=12;break;case 17:for(;b<14;){if(0===d)break e;d--,g+=c[f++]<>>=5,b-=5,r.ndist=1+(31&g),g>>>=5,b-=5,r.ncode=4+(15&g),g>>>=4,b-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,b-=3}for(;r.have<19;)r.lens[F[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,D={bits:r.lenbits},P=a(0,r.lens,0,19,r.lencode,0,r.work,D),r.lenbits=D.bits,P){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,T=65535&M,!((E=M>>>24)<=b);){if(0===d)break e;d--,g+=c[f++]<>>=E,b-=E,r.lens[r.have++]=T;else{if(16===T){for(I=E+2;b>>=E,b-=E,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}A=r.lens[r.have-1],v=3+(3&g),g>>>=2,b-=2}else if(17===T){for(I=E+3;b>>=E)),g>>>=3,b-=3}else{for(I=E+7;b>>=E)),g>>>=7,b-=7}if(r.have+v>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;v--;)r.lens[r.have++]=A}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,D={bits:r.lenbits},P=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,D),r.lenbits=D.bits,P){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,D={bits:r.distbits},P=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,D),r.distbits=D.bits,P){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(d>=6&&p>=258){e.next_out=h,e.avail_out=p,e.next_in=f,e.avail_in=d,r.hold=g,r.bits=b,s(e,_),h=e.next_out,u=e.output,p=e.avail_out,f=e.next_in,c=e.input,d=e.avail_in,g=r.hold,b=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;x=(M=r.lencode[g&(1<>>16&255,T=65535&M,!((E=M>>>24)<=b);){if(0===d)break e;d--,g+=c[f++]<>C)])>>>16&255,T=65535&M,!(C+(E=M>>>24)<=b);){if(0===d)break e;d--,g+=c[f++]<>>=C,b-=C,r.back+=C}if(g>>>=E,b-=E,r.back+=E,r.length=T,0===x){r.mode=26;break}if(32&x){r.back=-1,r.mode=12;break}if(64&x){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&x,r.mode=22;case 22:if(r.extra){for(I=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;x=(M=r.distcode[g&(1<>>16&255,T=65535&M,!((E=M>>>24)<=b);){if(0===d)break e;d--,g+=c[f++]<>C)])>>>16&255,T=65535&M,!(C+(E=M>>>24)<=b);){if(0===d)break e;d--,g+=c[f++]<>>=C,b-=C,r.back+=C}if(g>>>=E,b-=E,r.back+=E,64&x){e.msg="invalid distance code",r.mode=30;break}r.offset=T,r.extra=15&x,r.mode=24;case 24:if(r.extra){for(I=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(v=_-p,r.offset>v){if((v=r.offset-v)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}v>r.wnext?(v-=r.wnext,k=r.wsize-v):k=r.wnext-v,v>r.length&&(v=r.length),S=r.window}else S=u,k=h-r.offset,v=r.length;v>p&&(v=p),p-=v,r.length-=v;do{u[h++]=S[k++]}while(--v);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;u[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===d)break e;d--,g|=c[f++]<>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(i=i+t[n++]|0)|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a>>8^o[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,i,o,s,a,l,c,u,f,h,d,p,g,b,m,y,w,_,v,k,S,E,x,T;r=e.state,n=e.next_in,x=e.input,i=n+(e.avail_in-5),o=e.next_out,T=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),l=r.dmax,c=r.wsize,u=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,b=r.distcode,m=(1<>>=_=w>>>24,p-=_,0===(_=w>>>16&255))T[o++]=65535&w;else{if(!(16&_)){if(0==(64&_)){w=g[(65535&w)+(d&(1<<_)-1)];continue t}if(32&_){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}v=65535&w,(_&=15)&&(p<_&&(d+=x[n++]<>>=_,p-=_),p<15&&(d+=x[n++]<>>=_=w>>>24,p-=_,!(16&(_=w>>>16&255))){if(0==(64&_)){w=b[(65535&w)+(d&(1<<_)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(k=65535&w,p<(_&=15)&&(d+=x[n++]<l){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=_,p-=_,k>(_=o-s)){if((_=k-_)>u&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,E=h,0===f){if(S+=c-_,_2;)T[o++]=E[S++],T[o++]=E[S++],T[o++]=E[S++],v-=3;v&&(T[o++]=E[S++],v>1&&(T[o++]=E[S++]))}else{S=o-k;do{T[o++]=T[S++],T[o++]=T[S++],T[o++]=T[S++],v-=3}while(v>2);v&&(T[o++]=T[S++],v>1&&(T[o++]=T[S++]))}break}}break}}while(n>3,d&=(1<<(p-=v<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===L[T];T--);if(C>T&&(C=T),0===T)return c[u++]=20971520,c[u++]=20971520,h.bits=1,0;for(x=1;x0&&(0===e||1!==T))return-1;for(F[1]=0,S=1;S<15;S++)F[S+1]=F[S]+L[S];for(E=0;E852||2===e&&P>592)return 1;for(;;){w=S-R,f[E]y?(_=j[U+f[E]],v=I[M+f[E]]):(_=96,v=0),d=1<>R)+(p-=d)]=w<<24|_<<16|v|0}while(0!==p);for(d=1<>=1;if(0!==d?(D&=d-1,D+=d):D=0,E++,0==--L[S]){if(S===T)break;S=t[r+f[E]]}if(S>C&&(D&b)!==g){for(0===R&&(R=C),m+=x,A=1<<(O=S-R);O+R852||2===e&&P>592)return 1;c[g=D&b]=C<<24|O<<16|m-u|0}}return 0!==D&&(c[m+D]=S-R<<24|64<<16|0),h.bits=C,0}},function(e,t,r){"use strict";var n=r(13),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function l(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return l(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)c[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r1?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return l(c,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){e.exports=r.p+"0.5a10394fad935889335e.worker.worker.js"},function(e,t,r){"use strict";(function(t){var n=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{cwd:process.cwd()};i(this,e);var l="function"==typeof t,f=l?t.toString():t;o.cwd||(o.cwd=process.cwd());var h=process.execArgv.filter((function(e){return/(debug|inspect)/.test(e)}));if(h.length>0&&!o.noDebugRedirection){o.execArgv||(h=Array.from(process.execArgv),o.execArgv=[]);var d=h.findIndex((function(e){return/^--inspect(-brk)?(=\\d+)?$/.test(e)})),p=h.findIndex((function(e){return/^--debug(-brk)?(=\\d+)?$/.test(e)})),g=d>=0?d:p;if(g>=0){var b=/^--(debug|inspect)(?:-brk)?(?:=(\\d+))?$/.exec(h[g]),m=c[b[1]];b[2]&&(m=parseInt(b[2])),h[g]="--"+b[1]+"="+(m+u.min+Math.floor(Math.random()*(u.max-u.min))),p>=0&&p!==g&&(b=/^(--debug)(?:-brk)?(.*)/.exec(h[p]),h[p]=b[1]+(b[2]?b[2]:""))}o.execArgv=o.execArgv.concat(h)}delete o.noDebugRedirection,this.child=s(a,n,o),this.onerror=void 0,this.onmessage=void 0,this.child.on("error",(function(e){r.onerror&&r.onerror.call(r,e)})),this.child.on("message",(function(e){var t=JSON.parse(e),n=void 0;!t.error&&r.onmessage&&r.onmessage.call(r,t),t.error&&r.onerror&&((n=new Error(t.error)).stack=t.stack,r.onerror.call(r,n))})),this.child.send({input:f,isfn:l,cwd:o.cwd,esm:o.esm})}return n(e,[{key:"addEventListener",value:function(e,t){l.test(e)&&(this["on"+e]=t)}},{key:"postMessage",value:function(e){this.child.send(JSON.stringify({data:e},null,0))}},{key:"terminate",value:function(){this.child.kill("SIGINT")}}],[{key:"setRange",value:function(e,t){return!(e>=t)&&(u.min=e,u.max=t,!0)}}]),e}();e.exports=f}).call(this,"/")},function(e,t){e.exports=require("child_process")},function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(31)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){var r=1e3,n=6e4,i=60*n,o=24*i;function s(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var a=typeof e;if("string"===a&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===a&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return s(e,t,o,"day");if(t>=i)return s(e,t,i,"hour");if(t>=n)return s(e,t,n,"minute");if(t>=r)return s(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){const n=r(68),i=r(10);t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r(69);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{}),e.exports=r(31)(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\\n").map(e=>e.trim()).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,t){e.exports=require("tty")},function(e,t,r){"use strict";var n=process.argv,i=n.indexOf("--"),o=function(e){e="--"+e;var t=n.indexOf(e);return-1!==t&&(-1===i||t{t&&console.log("starting getPalette with image",e);const{fileDirectory:r}=e,{BitsPerSample:n,ColorMap:i,ImageLength:o,ImageWidth:s,PhotometricInterpretation:a,SampleFormat:l,SamplesPerPixel:c}=r;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can\'t make a palette.");const u=Math.pow(2,n);t&&console.log("[geotiff-palette]: count:",u);const f=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",f),f!==u)throw new Error("[geotiff-palette]: can\'t handle situations where the color map has more or less values than the number of possible values in a raster");const h=f,d=h+f,p=[];for(let e=0;e>24)/500+a,c=a-(e[t+2]<<24>>24)/200;l=.95047*(l*l*l>.008856?l*l*l:(l-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),c=1.08883*(c*c*c>.008856?c*c*c:(c-16/116)/7.787),i=3.2406*l+-1.5372*a+-.4986*c,o=-.9689*l+1.8758*a+.0415*c,s=.0557*l+-.204*a+1.057*c,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n[r]=255*Math.max(0,Math.min(1,i)),n[r+1]=255*Math.max(0,Math.min(1,o)),n[r+2]=255*Math.max(0,Math.min(1,s))}return n}function S(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function E(e,t,r){let n=0,i=e.length;const o=i/r;for(;i>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;i-=t}const s=e.slice();for(let t=0;t=e.byteLength);++o){let n;if(2===t){switch(i[0]){case 8:n=new Uint8Array(e,o*a*r*s,a*r*s);break;case 16:n=new Uint16Array(e,o*a*r*s,a*r*s/2);break;case 32:n=new Uint32Array(e,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}S(n,a)}else 3===t&&(n=new Uint8Array(e,o*a*r*s,a*r*s),E(n,a,s))}return e}(r,n,t?e.TileWidth:e.ImageWidth,t?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return r}}class T extends x{decodeBlock(e){return e}}function C(e,t){for(let r=t.length-1;r>=0;r--)e.push(t[r]);return e}function O(e){const t=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,r[e]=e;let n=258,i=9,o=0;function s(){n=258,i=9}function a(e){const t=function(e,t,r){const n=t%8,i=Math.floor(t/8),o=8-n,s=t+r-8*(i+1);let a=8*(i+2)-(t+r);const l=8*(i+2)-t;if(a=Math.max(0,a),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;let c=e[i]&2**(8-n)-1;c<<=r-o;let u=c;if(i+1>>a;t<<=Math.max(0,r-l),u+=t}if(s>8&&i+2>>n}return u}(e,o,i);return o+=i,t}function l(e,i){return r[n]=i,t[n]=e,n++,n-1}function c(e){const n=[];for(let i=e;4096!==i;i=t[i])n.push(r[i]);return n}const u=[];s();const f=new Uint8Array(e);let h,d=a(f);for(;257!==d;){if(256===d){for(s(),d=a(f);256===d;)d=a(f);if(257===d)break;if(d>256)throw new Error("corrupted code at scanline "+d);C(u,c(d)),h=d}else if(d=2**i&&(12===i?h=void 0:i++),d=a(f)}return new Uint8Array(u)}class R extends x{decodeBlock(e){return O(e).buffer}}const A=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function P(e,t){let r=0;const n=[];let i=16;for(;i>0&&!e[i-1];)--i;n.push({children:[],index:0});let o,s=n[0];for(let a=0;a0;)s=n.pop();for(s.index++,n.push(s);n.length<=a;)n.push(o={children:[],index:0}),s.children[s.index]=o.children,s=o;r++}a+10)return p--,d>>p&1;if(d=e[h++],255===d){const t=e[h++];if(t)throw new Error("unexpected marker: "+(d<<8|t).toString(16))}return p=7,d>>>7}function b(e){let t,r=e;for(;null!==(t=g());){if(r=r[t],"number"==typeof r)return r;if("object"!=typeof r)throw new Error("invalid huffman sequence")}return null}function m(e){let t=e,r=0;for(;t>0;){const e=g();if(null===e)return;r=r<<1|e,--t}return r}function y(e){const t=m(e);return t>=1<0)return void w--;let r=o;const n=s;for(;r<=n;){const n=b(e.huffmanTableAC),i=15&n,o=n>>4;if(0===i){if(o<15){w=m(o)+(1<>4,0===r)i<15?(w=m(i)+(1<>4;if(0===n){if(o<15)break;i+=16}else{i+=o;t[A[i]]=y(n),i++}}};let D,I,M=0;I=1===E?n[0].blocksPerLine*n[0].blocksPerColumn:c*r.mcusPerColumn;const L=i||I;for(;M=65488&&D<=65495))break;h+=2}return h-f}function I(e,t){const r=[],{blocksPerLine:n,blocksPerColumn:i}=t,o=n<<3,s=new Int32Array(64),a=new Uint8Array(64);function l(e,r,n){const i=t.quantizationTable;let o,s,a,l,c,u,f,h,d;const p=n;let g;for(g=0;g<64;g++)p[g]=e[g]*i[g];for(g=0;g<8;++g){const e=8*g;0!==p[1+e]||0!==p[2+e]||0!==p[3+e]||0!==p[4+e]||0!==p[5+e]||0!==p[6+e]||0!==p[7+e]?(o=5793*p[0+e]+128>>8,s=5793*p[4+e]+128>>8,a=p[2+e],l=p[6+e],c=2896*(p[1+e]-p[7+e])+128>>8,h=2896*(p[1+e]+p[7+e])+128>>8,u=p[3+e]<<4,f=p[5+e]<<4,d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*l+128>>8,a=1567*a-3784*l+128>>8,l=d,d=c-f+1>>1,c=c+f+1>>1,f=d,d=h+u+1>>1,u=h-u+1>>1,h=d,d=o-l+1>>1,o=o+l+1>>1,l=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*c+3406*h+2048>>12,c=3406*c-2276*h+2048>>12,h=d,d=799*u+4017*f+2048>>12,u=4017*u-799*f+2048>>12,f=d,p[0+e]=o+h,p[7+e]=o-h,p[1+e]=s+f,p[6+e]=s-f,p[2+e]=a+u,p[5+e]=a-u,p[3+e]=l+c,p[4+e]=l-c):(d=5793*p[0+e]+512>>10,p[0+e]=d,p[1+e]=d,p[2+e]=d,p[3+e]=d,p[4+e]=d,p[5+e]=d,p[6+e]=d,p[7+e]=d)}for(g=0;g<8;++g){const e=g;0!==p[8+e]||0!==p[16+e]||0!==p[24+e]||0!==p[32+e]||0!==p[40+e]||0!==p[48+e]||0!==p[56+e]?(o=5793*p[0+e]+2048>>12,s=5793*p[32+e]+2048>>12,a=p[16+e],l=p[48+e],c=2896*(p[8+e]-p[56+e])+2048>>12,h=2896*(p[8+e]+p[56+e])+2048>>12,u=p[24+e],f=p[40+e],d=o-s+1>>1,o=o+s+1>>1,s=d,d=3784*a+1567*l+2048>>12,a=1567*a-3784*l+2048>>12,l=d,d=c-f+1>>1,c=c+f+1>>1,f=d,d=h+u+1>>1,u=h-u+1>>1,h=d,d=o-l+1>>1,o=o+l+1>>1,l=d,d=s-a+1>>1,s=s+a+1>>1,a=d,d=2276*c+3406*h+2048>>12,c=3406*c-2276*h+2048>>12,h=d,d=799*u+4017*f+2048>>12,u=4017*u-799*f+2048>>12,f=d,p[0+e]=o+h,p[56+e]=o-h,p[8+e]=s+f,p[48+e]=s-f,p[16+e]=a+u,p[40+e]=a-u,p[24+e]=l+c,p[32+e]=l-c):(d=5793*n[g+0]+8192>>14,p[0+e]=d,p[8+e]=d,p[16+e]=d,p[24+e]=d,p[32+e]=d,p[40+e]=d,p[48+e]=d,p[56+e]=d)}for(g=0;g<64;++g){const e=128+(p[g]+8>>4);r[g]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let r=0;r<64;r++){i[A[r]]=e[t++]}else{if(n>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){i[A[e]]=r()}}this.quantizationTables[15&n]=i}break}case 65472:case 65473:case 65474:{r();const n={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},s=e[t++];let a;for(let r=0;r>4,i=15&e[t+1],o=e[t+2];n.componentsOrder.push(a),n.components[a]={h:r,v:i,quantizationIdx:o},t+=3}i(n),this.frames.push(n);break}case 65476:{const n=r();for(let r=2;r>4==0?this.huffmanTablesDC[15&n]=P(i,s):this.huffmanTablesAC[15&n]=P(i,s)}break}case 65501:r(),this.resetInterval=r();break;case 65498:{r();const n=e[t++],i=[],o=this.frames[0];for(let r=0;r>4],r.huffmanTableAC=this.huffmanTablesAC[15&n],i.push(r)}const s=e[t++],a=e[t++],l=e[t++],c=D(e,t,o,i,this.resetInterval,s,a,l>>4,15&l);t+=c;break}case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker "+o.toString(16))}o=r()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e{const a=B(e,n,i);for(let l=0;l{const a=B(e,n,i);for(let l=0;l=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);const t=this.fileDirectory.BitsPerSample[e];if(t%8!=0)throw new Error(`Sample bit-width of ${t} is not supported.`);return t/8}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,r=this.fileDirectory.BitsPerSample[e];switch(t){case 1:switch(r){case 8:return DataView.prototype.getUint8;case 16:return DataView.prototype.getUint16;case 32:return DataView.prototype.getUint32}break;case 2:switch(r){case 8:return DataView.prototype.getInt8;case 16:return DataView.prototype.getInt16;case 32:return DataView.prototype.getInt32}break;case 3:switch(r){case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getArrayForSample(e,t){return H(this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,this.fileDirectory.BitsPerSample[e],t)}async getTileOrStrip(e,t,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),o=Math.ceil(this.getHeight()/this.getTileHeight());let s;const{tiles:a}=this;let l,c;1===this.planarConfiguration?s=t*i+e:2===this.planarConfiguration&&(s=r*i*o+t*i+e),this.isTiled?(l=this.fileDirectory.TileOffsets[s],c=this.fileDirectory.TileByteCounts[s]):(l=this.fileDirectory.StripOffsets[s],c=this.fileDirectory.StripByteCounts[s]);const u=await this.source.fetch(l,c);let f;return null===a?f=n.decode(this.fileDirectory,u):a[s]||(f=n.decode(this.fileDirectory,u),a[s]=f),{x:e,y:t,sample:r,data:await f}}async _readRaster(e,t,r,n,i,o,s,a){const l=this.getTileWidth(),c=this.getTileHeight(),u=Math.max(Math.floor(e[0]/l),0),f=Math.min(Math.ceil(e[2]/l),Math.ceil(this.getWidth()/this.getTileWidth())),h=Math.max(Math.floor(e[1]/c),0),d=Math.min(Math.ceil(e[3]/c),Math.ceil(this.getHeight()/this.getTileHeight())),p=e[2]-e[0];let g=this.getBytesPerPixel();const b=[],m=[];for(let e=0;e{const o=i.data,s=new DataView(o),a=i.y*c,f=i.x*l,h=(i.y+1)*c,d=(i.x+1)*l,y=m[u],_=Math.min(c,c-(h-e[3])),v=Math.min(l,l-(d-e[2]));for(let i=Math.max(0,e[1]-a);i<_;++i)for(let o=Math.max(0,e[0]-f);ol[2]||l[1]>l[3])throw new Error("Invalid subsets");const c=(l[2]-l[0])*(l[3]-l[1]);if(t&&t.length){for(let e=0;e=this.fileDirectory.SamplesPerPixel)return Promise.reject(new RangeError(`Invalid sample index \'${t[e]}\'.`))}else for(let e=0;es[2]||s[1]>s[3])throw new Error("Invalid subsets");const a=this.fileDirectory.PhotometricInterpretation;if(a===d.RGB){let i=[0,1,2];if(this.fileDirectory.ExtraSamples!==p.Unspecified&&o){i=[];for(let e=0;e"Item"===e.tagName);e&&(o=o.filter(t=>Number(t.attributes.sample)===e));for(let e=0;e0;let i=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(e+(t?o:7-o));n&&(i?0!==s&&(s=255&~(s-1),i=!1):s=255&~s),r+=s*256**o}return n&&(r=-r),r}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}class ${constructor(e,t,r,n){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=r,this._bigTiff=n}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),r=this.readUint32(e+4);let n;if(this._littleEndian){if(n=t+2**32*r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}if(n=2**32*t+r,!Number.isSafeInteger(n))throw new Error(n+" exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues");return n}readInt64(e){let t=0;const r=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let o=this._dataView.getUint8(e+(this._littleEndian?i:7-i));r&&(n?0!==o&&(o=255&~(o-1),n=!1):o=255&~o),t+=o*256**i}return r&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}var Z=r(30),Y=r(4),Q=r(12),X=r(21),J=r.n(X),ee=r(40),te=r.n(ee),re=r(14),ne=r.n(re);class ie{constructor(e,{blockSize:t=65536}={}){this.retrievalFunction=e,this.blockSize=t,this.blockRequests=new Map,this.blocks=new Map,this.blockIdsAwaitingRequest=null}async fetch(e,t,r=!1){const n=e+t,i=[],o=[],s=[];for(let t=Math.floor(e/this.blockSize)*this.blockSize;tsetTimeout(t,e))}(),this.blockIdsAwaitingRequest){const e=function(e){if(0===e.length)return[];const t=[];let r=[];t.push(r);for(let n=0;n{const t=await e,i=r*this.blockSize,o=Math.min(i+this.blockSize,t.data.byteLength),s=t.data.slice(i,o);this.blockRequests.delete(n),this.blocks.set(n,{data:s,offset:t.offset+i,length:s.byteLength,top:t.offset+o})})())}}this.blockIdsAwaitingRequest=null}const a=[];for(const e of o)this.blockRequests.has(e)&&a.push(this.blockRequests.get(e));await Promise.all(a),await Promise.all(s);return function(e,t,r){const n=t+r,i=new ArrayBuffer(r),o=new Uint8Array(i);for(const r of e){const e=r.offset-t,i=r.top-n;let s,a=0,l=0;e<0?a=-e:e>0&&(l=e),s=i<0?r.length-a:n-r.offset-a;const c=new Uint8Array(r.data,a,s);o.set(c,l)}return i}(i.map(e=>this.blocks.get(e)),e,t)}async requestData(e,t){const r=await this.retrievalFunction(e,t);return r.length?r.length!==r.data.byteLength&&(r.data=r.data.slice(0,r.length)):r.length=r.data.byteLength,r.top=r.offset+r.length,r}}function oe(e,t){const{forceXHR:r}=t;if("function"==typeof fetch&&!r)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>{const i=await fetch(e,{headers:{...t,Range:`bytes=${r}-${r+n-1}`}});if(i.ok){if(206===i.status){return{data:i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer,offset:r,length:n}}{const e=i.arrayBuffer?await i.arrayBuffer():(await i.buffer()).buffer;return{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")},{blockSize:r})}(e,t);if("undefined"!=typeof XMLHttpRequest)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=new XMLHttpRequest;s.open("GET",e),s.responseType="arraybuffer";const a={...t,Range:`bytes=${r}-${r+n-1}`};for(const[e,t]of Object.entries(a))s.setRequestHeader(e,t);s.onload=()=>{const e=s.response;206===s.status?i({data:e,offset:r,length:n}):i({data:e,offset:0,length:e.byteLength})},s.onerror=o,s.send()}),{blockSize:r})}(e,t);if(J.a.get)return function(e,{headers:t={},blockSize:r}={}){return new ie(async(r,n)=>new Promise((i,o)=>{const s=ne.a.parse(e);("http:"===s.protocol?J.a:te.a).get({...s,headers:{...t,Range:`bytes=${r}-${r+n-1}`}},e=>{const t=[];e.on("data",e=>{t.push(e)}),e.on("end",()=>{const e=Y.Buffer.concat(t).buffer;i({data:e,offset:r,length:e.byteLength})})}).on("error",o)}),{blockSize:r})}(e,t);throw new Error("No remote source available")}function se(e){const t=function(e,t,r){return new Promise((n,i)=>{Object(Q.open)(e,t,r,(e,t)=>{e?i(e):n(t)})})}(e,"r");return{async fetch(e,r){const n=await t,{buffer:i}=await function(...e){return new Promise((t,r)=>{Object(Q.read)(...e,(e,n,i)=>{e?r(e):t({bytesRead:n,buffer:i})})})}(n,Y.Buffer.alloc(r),0,r,e);return i.buffer},async close(){const e=await t;return await function(e){return new Promise((t,r)=>{Object(Q.close)(e,e=>{e?r(e):t()})})}(e)}}}function ae(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[r]=t[r])}function le(e,t){if(e.length{let r=t;for(;0!==e[r];)r++;return r},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const r=ge.ui8;return r[0]=e[t+1],r[1]=e[t+0],ge.i16[0]},readInt:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.i32[0]},readUint:(e,t)=>{const r=ge.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],ge.ui32[0]},readASCII:(e,t,r)=>r.map(r=>String.fromCharCode(e[t+r])).join(""),readFloat:(e,t)=>{const r=ge.ui8;return ue(4,n=>{r[n]=e[t+3-n]}),ge.fl32[0]},readDouble:(e,t)=>{const r=ge.ui8;return ue(8,n=>{r[n]=e[t+7-n]}),ge.fl64[0]},writeUshort:(e,t,r)=>{e[t]=r>>8&255,e[t+1]=255&r},writeUint:(e,t,r)=>{e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255},writeASCII:(e,t,r)=>{ue(r.length,n=>{e[t+n]=r.charCodeAt(n)})},ui8:new Uint8Array(8)};ge.fl64=new Float64Array(ge.ui8.buffer),ge.writeDouble=(e,t,r)=>{ge.fl64[0]=r,ue(8,r=>{e[t+r]=ge.ui8[7-r]})};const be=e=>{const t=new Uint8Array(1e3);let r=4;const n=ge;t[0]=77,t[1]=77,t[3]=42;let i=8;if(n.writeUint(t,r,i),r+=4,e.forEach((r,o)=>{const s=((e,t,r,n)=>{let i=r;const o=Object.keys(n).filter(e=>null!=e&&"undefined"!==e);e.writeUshort(t,i,o.length),i+=2;let s=i+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const a=c[o],l=pe[a];if(null==a||void 0===a||void 0===a)throw new Error("unknown type of tag: "+o);let u=n[r];if(void 0===u)throw new Error("failed to get value for key "+r);"ASCII"===a&&"string"==typeof u&&!1===le(u,"\\0")&&(u+="\\0");const f=u.length;e.writeUshort(t,i,o),i+=2,e.writeUshort(t,i,l),i+=2,e.writeUint(t,i,f),i+=4;let h=[-1,1,1,2,4,8,0,0,0,0,0,0,8][l]*f,d=i;h>4&&(e.writeUint(t,i,s),d=s),"ASCII"===a?e.writeASCII(t,d,u):"SHORT"===a?ue(f,r=>{e.writeUshort(t,d+2*r,u[r])}):"LONG"===a?ue(f,r=>{e.writeUint(t,d+4*r,u[r])}):"RATIONAL"===a?ue(f,r=>{e.writeUint(t,d+8*r,Math.round(1e4*u[r])),e.writeUint(t,d+8*r+4,1e4)}):"DOUBLE"===a&&ue(f,r=>{e.writeDouble(t,d+8*r,u[r])}),h>4&&(h+=1&h,s+=h),i+=4}return[i,s]})(n,t,i,r);i=s[1],o{ue(i,r=>{ue(n,n=>{o.push(e[n][t][r])})})})),t.ImageLength=r,delete t.height,t.ImageWidth=i,delete t.width,t.BitsPerSample||(t.BitsPerSample=ue(n,()=>8)),me.forEach(e=>{const r=e[0];if(!t[r]){const n=e[1];t[r]=n}}),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[n]),t.StripByteCounts||(t.StripByteCounts=[n*r*i]),t.ModelPixelScale||(t.ModelPixelScale=[360/i,180/r,0]),t.SampleFormat||(t.SampleFormat=ue(n,()=>1));const s=Object.keys(t).filter(e=>le(e,"GeoKey")).sort((e,t)=>de[e]-de[t]);if(!t.GeoKeyDirectory){const e=[1,1,0,s.length];s.forEach(r=>{const n=Number(de[r]);let i,o,s;e.push(n),"SHORT"===c[n]?(i=1,o=0,s=t[r]):"GeogCitationGeoKey"===r?(i=t.GeoAsciiParams.length,o=Number(de.GeoAsciiParams),s=0):console.log("[geotiff.js] couldn\'t get TIFFTagLocation for "+r),e.push(o),e.push(i),e.push(s)}),t.GeoKeyDirectory=e}for(const e in s)s.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","PhotometricInterpretation","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach(e=>{var r;t[e]&&(t[e]=(r=t[e],Array.isArray(r)?r:[r]))});const a=(e=>{const t={};for(const r in e)"StripOffsets"!==r&&(de[r]||console.error(r,"not in name2code:",Object.keys(de)),t[de[r]]=e[r]);return t})(t);return((e,t,r,n)=>{if(null==r)throw new Error("you passed into encodeImage a width of type "+r);if(null==t)throw new Error("you passed into encodeImage a width of type "+t);const i={256:[t],257:[r],273:[1e3],278:[r],305:"geotiff.js"};if(n)for(const e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);const o=new Uint8Array(be([i])),s=new Uint8Array(e),a=i[277],l=new Uint8Array(1e3+t*r*a);return ue(o.length,e=>{l[e]=o[e]}),function(e,t){const{length:r}=e;for(let n=0;n{l[1e3+t]=e}),l.buffer})(o,i,r,a)}class we{log(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let _e=new we;function ve(e=new we){_e=e}function ke(e){switch(e){case h.BYTE:case h.ASCII:case h.SBYTE:case h.UNDEFINED:return 1;case h.SHORT:case h.SSHORT:return 2;case h.LONG:case h.SLONG:case h.FLOAT:case h.IFD:return 4;case h.RATIONAL:case h.SRATIONAL:case h.DOUBLE:case h.LONG8:case h.SLONG8:case h.IFD8:return 8;default:throw new RangeError("Invalid field type: "+e)}}function Se(e,t,r,n){let i=null,o=null;const s=ke(t);switch(t){case h.BYTE:case h.ASCII:case h.UNDEFINED:i=new Uint8Array(r),o=e.readUint8;break;case h.SBYTE:i=new Int8Array(r),o=e.readInt8;break;case h.SHORT:i=new Uint16Array(r),o=e.readUint16;break;case h.SSHORT:i=new Int16Array(r),o=e.readInt16;break;case h.LONG:case h.IFD:i=new Uint32Array(r),o=e.readUint32;break;case h.SLONG:i=new Int32Array(r),o=e.readInt32;break;case h.LONG8:case h.IFD8:i=new Array(r),o=e.readUint64;break;case h.SLONG8:i=new Array(r),o=e.readInt64;break;case h.RATIONAL:i=new Uint32Array(2*r),o=e.readUint32;break;case h.SRATIONAL:i=new Int32Array(2*r),o=e.readInt32;break;case h.FLOAT:i=new Float32Array(r),o=e.readFloat32;break;case h.DOUBLE:i=new Float64Array(r),o=e.readFloat64;break;default:throw new RangeError("Invalid field type: "+t)}if(t!==h.RATIONAL&&t!==h.SRATIONAL)for(let t=0;te.getWidth()-t.getWidth());for(let t=0;tn||o&&o>s)break}}let f=t;if(s){const[e,t]=a.getOrigin(),[r,n]=l.getResolution(a);f=[Math.round((s[0]-e)/r),Math.round((s[1]-t)/n),Math.round((s[2]-e)/r),Math.round((s[3]-t)/n)],f=[Math.min(f[0],f[2]),Math.min(f[1],f[3]),Math.max(f[0],f[2]),Math.max(f[1],f[3])]}return l.readRasters({...e,window:f})}}class Ce extends Te{constructor(e,t,r,n,i={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=n,this.cache=i.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const r=this.bigTiff?4048:1024;return new $(await this.source.fetch(e,void 0!==t?t:r),e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let n=await this.getSlice(e);const i=this.bigTiff?n.readUint64(e):n.readUint16(e),o=i*t+(this.bigTiff?16:6);n.covers(e,o)||(n=await this.getSlice(e,o));const s={};let l=e+(this.bigTiff?8:2);for(let e=0;e{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new xe(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new z(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof xe))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let n=await this.getSlice(e,r);if(t===Se(n,h.ASCII,t.length,e)){const t=Se(n,h.ASCII,r,e).split("\\n")[0],i=Number(t.split("=")[1].split(" ")[0])+t.length;i>r&&(n=await this.getSlice(e,i));const o=Se(n,h.ASCII,i,e);this.ghostValues={},o.split("\\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,t){const r=await e.fetch(0,1024),n=new V(r),i=n.getUint16(0,0);let o;if(18761===i)o=!0;else{if(19789!==i)throw new TypeError("Invalid byte order value.");o=!1}const s=n.getUint16(2,o);let a;if(42===s)a=!1;else{if(43!==s)throw new TypeError("Invalid magic number.");a=!0;if(8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const l=a?n.getUint64(8,o):n.getUint32(4,o);return new Ce(e,o,a,l,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=Ce;class Oe extends Te{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,r=0;for(let n=0;ne.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function Re(e,t={}){return Ce.fromSource(oe(e,t))}async function Ae(e){return Ce.fromSource(function(e){return{fetch:async(t,r)=>e.slice(t,t+r)}}(e))}async function Pe(e){return Ce.fromSource(se(e))}async function De(e){return Ce.fromSource((t=e,{fetch:async(e,r)=>new Promise((n,i)=>{const o=t.slice(e,e+r),s=new FileReader;s.onload=e=>n(e.target.result),s.onerror=i,s.readAsArrayBuffer(o)})}));var t}async function Ie(e,t=[],r={}){const n=await Ce.fromSource(oe(e,r)),i=await Promise.all(t.map(e=>Ce.fromSource(oe(e,r))));return new Oe(n,i)}async function Me(e,t){return ye(e,t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(7);Object(n.b)().blob;const i=Object(n.b)().default},,,function(e,t,r){"use strict";var n=r(15),i=r(38);var o=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let r,s=0;return new n.a(n=>{r||(r=e.subscribe(t));const i=t.subscribe(n);return s++,()=>{s--,i.unsubscribe(),0===s&&(o(r),r=void 0)}})}}]);',null)}},function(e,t,a){"use strict";var r=window.URL||window.webkitURL;e.exports=function(e,t){try{try{var a;try{(a=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder)).append(e),a=a.getBlob()}catch(t){a=new Blob([e])}return new Worker(r.createObjectURL(a))}catch(t){return new Worker("data:application/javascript,"+encodeURIComponent(e))}}catch(e){if(!t)throw Error("Inline worker is not supported");return new Worker(t)}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var a=[],r=!0,i=!1,n=void 0;try{for(var p,d=e[Symbol.iterator]();!(r=(p=d.next()).done)&&(a.push(p.value),!t||a.length!==t);r=!0);}catch(e){i=!0,n=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw n}}return a}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){return new Promise((function(a,s){try{t&&console.log("starting parseData with",e),t&&console.log("\tGeoTIFF:","undefined"==typeof GeoTIFF?"undefined":i(GeoTIFF));var l={},m=void 0,u=void 0;if("object"===e.rasterType)l.values=e.data,l.height=m=e.metadata.height||l.values[0].length,l.width=u=e.metadata.width||l.values[0][0].length,l.pixelHeight=e.metadata.pixelHeight,l.pixelWidth=e.metadata.pixelWidth,l.projection=e.metadata.projection,l.xmin=e.metadata.xmin,l.ymax=e.metadata.ymax,l.noDataValue=e.metadata.noDataValue,l.numberOfRasters=l.values.length,l.xmax=l.xmin+l.width*l.pixelWidth,l.ymin=l.ymax-l.height*l.pixelHeight,l._data=null,a(o(l));else if("geotiff"===e.rasterType){l._data=e.data;var c=n.fromArrayBuffer;"url"===e.sourceType?c=n.fromUrl:"Blob"===e.sourceType&&(c=n.fromBlob),t&&console.log("data.rasterType is geotiff"),a(c(e.data).then((function(a){return t&&console.log("geotiff:",a),a.getImage().then((function(a){try{t&&console.log("image:",a);var i=a.fileDirectory,n=a.getGeoKeys()||{},c=n.GeographicTypeGeoKey,f=n.ProjectedCSTypeGeoKey;l.projection=f||c||e.metadata.projection,t&&console.log("projection:",l.projection),l.height=m=a.getHeight(),t&&console.log("result.height:",l.height),l.width=u=a.getWidth(),t&&console.log("result.width:",l.width);var h=a.getResolution(),v=r(h,2),w=v[0],g=v[1];l.pixelHeight=Math.abs(g),l.pixelWidth=Math.abs(w);var b=a.getOrigin(),y=r(b,2),_=y[0],S=y[1];return l.xmin=_,l.xmax=l.xmin+u*l.pixelWidth,l.ymax=S,l.ymin=l.ymax-m*l.pixelHeight,l.noDataValue=i.GDAL_NODATA?parseFloat(i.GDAL_NODATA):null,l.numberOfRasters=i.SamplesPerPixel,i.ColorMap&&(l.palette=(0,p.getPalette)(a)),"url"!==e.sourceType?a.readRasters().then((function(e){return l.values=e.map((function(e){return(0,d.unflatten)(e,{height:m,width:u})})),o(l)})):l}catch(e){s(e),console.error("[georaster] error parsing georaster:",e)}}))})))}}catch(e){s(e),console.error("[georaster] error parsing georaster:",e)}}))};var n=a(38),p=a(86),d=a(37);function o(e,t){var a=e.noDataValue,r=e.height,i=e.width;return new Promise((function(n,p){e.maxs=[],e.mins=[],e.ranges=[];for(var d=void 0,o=void 0,s=0;sd)&&(d=f))}e.maxs.push(d),e.mins.push(o),e.ranges.push(d-o)}n(e)}))}},function(e,t,a){var r=a(59).Transform,i=a(9);function n(e){r.call(this,e),this._destroyed=!1}function p(e,t,a){a(null,e)}function d(e){return function(t,a,r){return"function"==typeof t&&(r=a,a=t,t={}),"function"!=typeof a&&(a=p),"function"!=typeof r&&(r=null),e(t,a,r)}}i(n,r),n.prototype.destroy=function(e){if(!this._destroyed){this._destroyed=!0;var t=this;process.nextTick((function(){e&&t.emit("error",e),t.emit("close")}))}},e.exports=d((function(e,t,a){var r=new n(e);return r._transform=t,a&&(r._flush=a),r})),e.exports.ctor=d((function(e,t,a){function r(t){if(!(this instanceof r))return new r(t);this.options=Object.assign({},e,t),n.call(this,this.options)}return i(r,n),r.prototype._transform=t,a&&(r.prototype._flush=a),r})),e.exports.obj=d((function(e,t,a){var r=new n(Object.assign({objectMode:!0,highWaterMark:16},e));return r._transform=t,a&&(r._flush=a),r}))},function(e,t,a){var r=a(0);"disable"===process.env.READABLE_STREAM&&r?(e.exports=r.Readable,Object.assign(e.exports,r),e.exports.Stream=r):((t=e.exports=a(28)).Stream=r||t,t.Readable=t,t.Writable=a(32),t.Duplex=a(10),t.Transform=a(34),t.PassThrough=a(66),t.finished=a(22),t.pipeline=a(67))},function(e,t,a){"use strict";function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function n(e,t){for(var a=0;a0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,a=""+t.data;t=t.next;)a+=e+t.data;return a}},{key:"concat",value:function(e){if(0===this.length)return p.alloc(0);for(var t,a,r,i=p.allocUnsafe(e>>>0),n=this.head,d=0;n;)t=n.data,a=i,r=d,p.prototype.copy.call(t,a,r),d+=n.data.length,n=n.next;return i}},{key:"consume",value:function(e,t){var a;return ei.length?i.length:e;if(n===i.length?r+=i:r+=i.slice(0,e),0==(e-=n)){n===i.length?(++a,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(n));break}++a}return this.length-=a,r}},{key:"_getBuffer",value:function(e){var t=p.allocUnsafe(e),a=this.head,r=1;for(a.data.copy(t),e-=a.data.length;a=a.next;){var i=a.data,n=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,n),0==(e-=n)){n===i.length?(++r,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=i.slice(n));break}++r}return this.length-=r,t}},{key:o,value:function(e,t){return d(this,function(e){for(var t=1;t */ +var r=a(8),i=r.Buffer;function n(e,t){for(var a in e)t[a]=e[a]}function p(e,t,a){return i(e,t,a)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(n(r,t),t.Buffer=p),p.prototype=Object.create(i.prototype),n(i,p),p.from=function(e,t,a){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,a)},p.alloc=function(e,t,a){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof a?r.fill(t,a):r.fill(t):r.fill(0),r},p.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},p.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,a){"use strict";var r;function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var n=a(22),p=Symbol("lastResolve"),d=Symbol("lastReject"),o=Symbol("error"),s=Symbol("ended"),l=Symbol("lastPromise"),m=Symbol("handlePromise"),u=Symbol("stream");function c(e,t){return{value:e,done:t}}function f(e){var t=e[p];if(null!==t){var a=e[u].read();null!==a&&(e[l]=null,e[p]=null,e[d]=null,t(c(a,!1)))}}function h(e){process.nextTick(f,e)}var v=Object.getPrototypeOf((function(){})),w=Object.setPrototypeOf((i(r={get stream(){return this[u]},next:function(){var e=this,t=this[o];if(null!==t)return Promise.reject(t);if(this[s])return Promise.resolve(c(void 0,!0));if(this[u].destroyed)return new Promise((function(t,a){process.nextTick((function(){e[o]?a(e[o]):t(c(void 0,!0))}))}));var a,r=this[l];if(r)a=new Promise(function(e,t){return function(a,r){e.then((function(){t[s]?a(c(void 0,!0)):t[m](a,r)}),r)}}(r,this));else{var i=this[u].read();if(null!==i)return Promise.resolve(c(i,!1));a=new Promise(this[m])}return this[l]=a,a}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,a){e[u].destroy(null,(function(e){e?a(e):t(c(void 0,!0))}))}))})),r),v);e.exports=function(e){var t,a=Object.create(w,(i(t={},u,{value:e,writable:!0}),i(t,p,{value:null,writable:!0}),i(t,d,{value:null,writable:!0}),i(t,o,{value:null,writable:!0}),i(t,s,{value:e._readableState.endEmitted,writable:!0}),i(t,m,{value:function(e,t){var r=a[u].read();r?(a[l]=null,a[p]=null,a[d]=null,e(c(r,!1))):(a[p]=e,a[d]=t)},writable:!0}),t));return a[l]=null,n(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=a[d];return null!==t&&(a[l]=null,a[p]=null,a[d]=null,t(e)),void(a[o]=e)}var r=a[p];null!==r&&(a[l]=null,a[p]=null,a[d]=null,r(c(void 0,!0))),a[s]=!0})),e.on("readable",h.bind(null,a)),a}},function(e,t,a){"use strict";function r(e,t,a,r,i,n,p){try{var d=e[n](p),o=d.value}catch(e){return void a(e)}d.done?t(o):Promise.resolve(o).then(r,i)}function i(e){return function(){var t=this,a=arguments;return new Promise((function(i,n){var p=e.apply(t,a);function d(e){r(p,i,n,d,o,"next",e)}function o(e){r(p,i,n,d,o,"throw",e)}d(void 0)}))}}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function p(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var d=a(7).codes.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,a){var r;if(t&&"function"==typeof t.next)r=t;else if(t&&t[Symbol.asyncIterator])r=t[Symbol.asyncIterator]();else{if(!t||!t[Symbol.iterator])throw new d("iterable",["Iterable"],t);r=t[Symbol.iterator]()}var o=new e(function(e){for(var t=1;t0,(function(e){r||(r=e),e&&p.forEach(s),n||(p.forEach(s),i(r))}))}));return t.reduce(l)}},function(e,t,a){"use strict";var r=a(18),i=a(69),n=a(70),p=a(71),d=a(72);function o(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function s(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):-2}function m(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,l(e)):-2}function u(e,t){var a,r;return e&&e.state?(r=e.state,t<0?(a=0,t=-t):(a=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=a,r.wbits=t,m(e))):-2}function c(e,t){var a,r;return e?(r=new s,e.state=r,r.window=null,0!==(a=u(e,t))&&(e.state=null),a):-2}var f,h,v=!0;function w(e){if(v){var t;for(f=new r.Buf32(512),h=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(d(1,e.lens,0,288,f,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;d(2,e.lens,0,32,h,0,e.work,{bits:5}),v=!1}e.lencode=f,e.lenbits=9,e.distcode=h,e.distbits=5}function g(e,t,a,i){var n,p=e.state;return null===p.window&&(p.wsize=1<=p.wsize?(r.arraySet(p.window,t,a-p.wsize,p.wsize,0),p.wnext=0,p.whave=p.wsize):((n=p.wsize-p.wnext)>i&&(n=i),r.arraySet(p.window,t,a-i,n,p.wnext),(i-=n)?(r.arraySet(p.window,t,a-i,i,0),p.wnext=i,p.whave=p.wsize):(p.wnext+=n,p.wnext===p.wsize&&(p.wnext=0),p.whave>>8&255,a.check=n(a.check,M,2,0),h=0,v=0,a.mode=2;break}if(a.flags=0,a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){e.msg="incorrect header check",a.mode=30;break}if(8!=(15&h)){e.msg="unknown compression method",a.mode=30;break}if(v-=4,A=8+(15&(h>>>=4)),0===a.wbits)a.wbits=A;else if(A>a.wbits){e.msg="invalid window size",a.mode=30;break}a.dmax=1<>8&1),512&a.flags&&(M[0]=255&h,M[1]=h>>>8&255,a.check=n(a.check,M,2,0)),h=0,v=0,a.mode=3;case 3:for(;v<32;){if(0===c)break e;c--,h+=s[m++]<>>8&255,M[2]=h>>>16&255,M[3]=h>>>24&255,a.check=n(a.check,M,4,0)),h=0,v=0,a.mode=4;case 4:for(;v<16;){if(0===c)break e;c--,h+=s[m++]<>8),512&a.flags&&(M[0]=255&h,M[1]=h>>>8&255,a.check=n(a.check,M,2,0)),h=0,v=0,a.mode=5;case 5:if(1024&a.flags){for(;v<16;){if(0===c)break e;c--,h+=s[m++]<>>8&255,a.check=n(a.check,M,2,0)),h=0,v=0}else a.head&&(a.head.extra=null);a.mode=6;case 6:if(1024&a.flags&&((_=a.length)>c&&(_=c),_&&(a.head&&(A=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Array(a.head.extra_len)),r.arraySet(a.head.extra,s,m,_,A)),512&a.flags&&(a.check=n(a.check,s,_,m)),c-=_,m+=_,a.length-=_),a.length))break e;a.length=0,a.mode=7;case 7:if(2048&a.flags){if(0===c)break e;_=0;do{A=s[m+_++],a.head&&A&&a.length<65536&&(a.head.name+=String.fromCharCode(A))}while(A&&_>9&1,a.head.done=!0),e.adler=a.check=0,a.mode=12;break;case 10:for(;v<32;){if(0===c)break e;c--,h+=s[m++]<>>=7&v,v-=7&v,a.mode=27;break}for(;v<3;){if(0===c)break e;c--,h+=s[m++]<>>=1)){case 0:a.mode=14;break;case 1:if(w(a),a.mode=20,6===t){h>>>=2,v-=2;break e}break;case 2:a.mode=17;break;case 3:e.msg="invalid block type",a.mode=30}h>>>=2,v-=2;break;case 14:for(h>>>=7&v,v-=7&v;v<32;){if(0===c)break e;c--,h+=s[m++]<>>16^65535)){e.msg="invalid stored block lengths",a.mode=30;break}if(a.length=65535&h,h=0,v=0,a.mode=15,6===t)break e;case 15:a.mode=16;case 16:if(_=a.length){if(_>c&&(_=c),_>f&&(_=f),0===_)break e;r.arraySet(l,s,m,_,u),c-=_,m+=_,f-=_,u+=_,a.length-=_;break}a.mode=12;break;case 17:for(;v<14;){if(0===c)break e;c--,h+=s[m++]<>>=5,v-=5,a.ndist=1+(31&h),h>>>=5,v-=5,a.ncode=4+(15&h),h>>>=4,v-=4,a.nlen>286||a.ndist>30){e.msg="too many length or distance symbols",a.mode=30;break}a.have=0,a.mode=18;case 18:for(;a.have>>=3,v-=3}for(;a.have<19;)a.lens[V[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,R={bits:a.lenbits},O=d(0,a.lens,0,19,a.lencode,0,a.work,R),a.lenbits=R.bits,O){e.msg="invalid code lengths set",a.mode=30;break}a.have=0,a.mode=19;case 19:for(;a.have>>16&255,D=65535&I,!((E=I>>>24)<=v);){if(0===c)break e;c--,h+=s[m++]<>>=E,v-=E,a.lens[a.have++]=D;else{if(16===D){for(P=E+2;v>>=E,v-=E,0===a.have){e.msg="invalid bit length repeat",a.mode=30;break}A=a.lens[a.have-1],_=3+(3&h),h>>>=2,v-=2}else if(17===D){for(P=E+3;v>>=E)),h>>>=3,v-=3}else{for(P=E+7;v>>=E)),h>>>=7,v-=7}if(a.have+_>a.nlen+a.ndist){e.msg="invalid bit length repeat",a.mode=30;break}for(;_--;)a.lens[a.have++]=A}}if(30===a.mode)break;if(0===a.lens[256]){e.msg="invalid code -- missing end-of-block",a.mode=30;break}if(a.lenbits=9,R={bits:a.lenbits},O=d(1,a.lens,0,a.nlen,a.lencode,0,a.work,R),a.lenbits=R.bits,O){e.msg="invalid literal/lengths set",a.mode=30;break}if(a.distbits=6,a.distcode=a.distdyn,R={bits:a.distbits},O=d(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,R),a.distbits=R.bits,O){e.msg="invalid distances set",a.mode=30;break}if(a.mode=20,6===t)break e;case 20:a.mode=21;case 21:if(c>=6&&f>=258){e.next_out=u,e.avail_out=f,e.next_in=m,e.avail_in=c,a.hold=h,a.bits=v,p(e,y),u=e.next_out,l=e.output,f=e.avail_out,m=e.next_in,s=e.input,c=e.avail_in,h=a.hold,v=a.bits,12===a.mode&&(a.back=-1);break}for(a.back=0;k=(I=a.lencode[h&(1<>>16&255,D=65535&I,!((E=I>>>24)<=v);){if(0===c)break e;c--,h+=s[m++]<>C)])>>>16&255,D=65535&I,!(C+(E=I>>>24)<=v);){if(0===c)break e;c--,h+=s[m++]<>>=C,v-=C,a.back+=C}if(h>>>=E,v-=E,a.back+=E,a.length=D,0===k){a.mode=26;break}if(32&k){a.back=-1,a.mode=12;break}if(64&k){e.msg="invalid literal/length code",a.mode=30;break}a.extra=15&k,a.mode=22;case 22:if(a.extra){for(P=a.extra;v>>=a.extra,v-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=23;case 23:for(;k=(I=a.distcode[h&(1<>>16&255,D=65535&I,!((E=I>>>24)<=v);){if(0===c)break e;c--,h+=s[m++]<>C)])>>>16&255,D=65535&I,!(C+(E=I>>>24)<=v);){if(0===c)break e;c--,h+=s[m++]<>>=C,v-=C,a.back+=C}if(h>>>=E,v-=E,a.back+=E,64&k){e.msg="invalid distance code",a.mode=30;break}a.offset=D,a.extra=15&k,a.mode=24;case 24:if(a.extra){for(P=a.extra;v>>=a.extra,v-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){e.msg="invalid distance too far back",a.mode=30;break}a.mode=25;case 25:if(0===f)break e;if(_=y-f,a.offset>_){if((_=a.offset-_)>a.whave&&a.sane){e.msg="invalid distance too far back",a.mode=30;break}_>a.wnext?(_-=a.wnext,S=a.wsize-_):S=a.wnext-_,_>a.length&&(_=a.length),T=a.window}else T=l,S=u-a.offset,_=a.length;_>f&&(_=f),f-=_,a.length-=_;do{l[u++]=T[S++]}while(--_);0===a.length&&(a.mode=21);break;case 26:if(0===f)break e;l[u++]=a.length,f--,a.mode=21;break;case 27:if(a.wrap){for(;v<32;){if(0===c)break e;c--,h|=s[m++]<>>16&65535|0,p=0;0!==a;){a-=p=a>2e3?2e3:a;do{n=n+(i=i+t[r++]|0)|0}while(--p);i%=65521,n%=65521}return i|n<<16|0}},function(e,t,a){"use strict";var r=function(){for(var e,t=[],a=0;a<256;a++){e=a;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[a]=e}return t}();e.exports=function(e,t,a,i){var n=r,p=i+a;e^=-1;for(var d=i;d>>8^n[255&(e^t[d])];return-1^e}},function(e,t,a){"use strict";e.exports=function(e,t){var a,r,i,n,p,d,o,s,l,m,u,c,f,h,v,w,g,b,y,_,S,T,E,k,D;a=e.state,r=e.next_in,k=e.input,i=r+(e.avail_in-5),n=e.next_out,D=e.output,p=n-(t-e.avail_out),d=n+(e.avail_out-257),o=a.dmax,s=a.wsize,l=a.whave,m=a.wnext,u=a.window,c=a.hold,f=a.bits,h=a.lencode,v=a.distcode,w=(1<>>=y=b>>>24,f-=y,0===(y=b>>>16&255))D[n++]=65535&b;else{if(!(16&y)){if(0==(64&y)){b=h[(65535&b)+(c&(1<>>=y,f-=y),f<15&&(c+=k[r++]<>>=y=b>>>24,f-=y,!(16&(y=b>>>16&255))){if(0==(64&y)){b=v[(65535&b)+(c&(1<o){e.msg="invalid distance too far back",a.mode=30;break e}if(c>>>=y,f-=y,S>(y=n-p)){if((y=S-y)>l&&a.sane){e.msg="invalid distance too far back",a.mode=30;break e}if(T=0,E=u,0===m){if(T+=s-y,y<_){_-=y;do{D[n++]=u[T++]}while(--y);T=n-S,E=D}}else if(m2;)D[n++]=E[T++],D[n++]=E[T++],D[n++]=E[T++],_-=3;_&&(D[n++]=E[T++],_>1&&(D[n++]=E[T++]))}else{T=n-S;do{D[n++]=D[T++],D[n++]=D[T++],D[n++]=D[T++],_-=3}while(_>2);_&&(D[n++]=D[T++],_>1&&(D[n++]=D[T++]))}break}}break}}while(r>3,c&=(1<<(f-=_<<3))-1,e.next_in=r,e.next_out=n,e.avail_in=r=1&&0===M[D];D--);if(C>D&&(C=D),0===D)return s[l++]=20971520,s[l++]=20971520,u.bits=1,0;for(k=1;k0&&(0===e||1!==D))return-1;for(V[1]=0,T=1;T<15;T++)V[T+1]=V[T]+M[T];for(E=0;E852||2===e&&O>592)return 1;for(;;){b=T-x,m[E]g?(y=L[F+m[E]],_=P[I+m[E]]):(y=96,_=0),c=1<>x)+(f-=c)]=b<<24|y<<16|_|0}while(0!==f);for(c=1<>=1;if(0!==c?(R&=c-1,R+=c):R=0,E++,0==--M[T]){if(T===D)break;T=t[a+m[E]]}if(T>C&&(R&v)!==h){for(0===x&&(x=C),w+=k,A=1<<(N=T-x);N+x852||2===e&&O>592)return 1;s[h=R&v]=C<<24|N<<16|w-l|0}}return 0!==R&&(s[w+R]=T-x<<24|64<<16|0),u.bits=C,0}},function(e,t,a){"use strict";var r=a(18),i=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){n=!1}for(var p=new r.Buf8(256),d=0;d<256;d++)p[d]=d>=252?6:d>=248?5:d>=240?4:d>=224?3:d>=192?2:1;function o(e,t){if(t<65534&&(e.subarray&&n||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var a="",p=0;p>>6,t[p++]=128|63&a):a<65536?(t[p++]=224|a>>>12,t[p++]=128|a>>>6&63,t[p++]=128|63&a):(t[p++]=240|a>>>18,t[p++]=128|a>>>12&63,t[p++]=128|a>>>6&63,t[p++]=128|63&a);return t},t.buf2binstring=function(e){return o(e,e.length)},t.binstring2buf=function(e){for(var t=new r.Buf8(e.length),a=0,i=t.length;a4)s[r++]=65533,a+=n-1;else{for(i&=2===n?31:3===n?15:7;n>1&&a1?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return o(s,r)},t.utf8border=function(e,t){var a;for((t=t||e.length)>e.length&&(t=e.length),a=t-1;a>=0&&128==(192&e[a]);)a--;return a<0||0===a?t:a+p[e[a]]>t?a:t}},function(e,t,a){"use strict";e.exports={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,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,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,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,a){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t,a){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,a){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,a){e.exports=a.p+"0.georaster.bundle.min.worker.js"},function(e,t,a){"use strict";(function(t){var r=function(){function e(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{cwd:process.cwd()};i(this,e);var o="function"==typeof t,m=o?t.toString():t;n.cwd||(n.cwd=process.cwd());var u=process.execArgv.filter((function(e){return/(debug|inspect)/.test(e)}));if(u.length>0&&!n.noDebugRedirection){n.execArgv||(u=Array.from(process.execArgv),n.execArgv=[]);var c=u.findIndex((function(e){return/^--inspect(-brk)?(=\d+)?$/.test(e)})),f=u.findIndex((function(e){return/^--debug(-brk)?(=\d+)?$/.test(e)})),h=c>=0?c:f;if(h>=0){var v=/^--(debug|inspect)(?:-brk)?(?:=(\d+))?$/.exec(u[h]),w=s[v[1]];v[2]&&(w=parseInt(v[2])),u[h]="--"+v[1]+"="+(w+l.min+Math.floor(Math.random()*(l.max-l.min))),f>=0&&f!==h&&(v=/^(--debug)(?:-brk)?(.*)/.exec(u[f]),u[f]=v[1]+(v[2]?v[2]:""))}n.execArgv=n.execArgv.concat(u)}delete n.noDebugRedirection,this.child=p(d,r,n),this.onerror=void 0,this.onmessage=void 0,this.child.on("error",(function(e){a.onerror&&a.onerror.call(a,e)})),this.child.on("message",(function(e){var t=JSON.parse(e),r=void 0;!t.error&&a.onmessage&&a.onmessage.call(a,t),t.error&&a.onerror&&((r=new Error(t.error)).stack=t.stack,a.onerror.call(a,r))})),this.child.send({input:m,isfn:o,cwd:n.cwd,esm:n.esm})}return r(e,[{key:"addEventListener",value:function(e,t){o.test(e)&&(this["on"+e]=t)}},{key:"postMessage",value:function(e){this.child.send(JSON.stringify({data:e},null,0))}},{key:"terminate",value:function(){this.child.kill("SIGINT")}}],[{key:"setRange",value:function(e,t){return!(e>=t)&&(l.min=e,l.max=t,!0)}}]),e}();e.exports=m}).call(this,"/")},function(e,t){e.exports=require("child_process")},function(e,t,a){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const a="color: "+this.color;t.splice(1,0,a,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,a)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=a(36)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){var a=1e3,r=6e4,i=60*r,n=24*i;function p(e,t,a,r){var i=t>=1.5*a;return Math.round(e/a)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var d=typeof e;if("string"===d&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var p=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*p;case"weeks":case"week":case"w":return 6048e5*p;case"days":case"day":case"d":return p*n;case"hours":case"hour":case"hrs":case"hr":case"h":return p*i;case"minutes":case"minute":case"mins":case"min":case"m":return p*r;case"seconds":case"second":case"secs":case"sec":case"s":return p*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}(e);if("number"===d&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=n)return p(e,t,n,"day");if(t>=i)return p(e,t,i,"hour");if(t>=r)return p(e,t,r,"minute");if(t>=a)return p(e,t,a,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=n)return Math.round(e/n)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=a)return Math.round(e/a)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,a){const r=a(84),i=a(15);t.init=function(e){e.inspectOpts={};const a=Object.keys(t.inspectOpts);for(let r=0;r{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=a(85);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const a=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[a]=r,e},{}),e.exports=a(36)(t);const{formatters:n}=e.exports;n.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},n.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},function(e,t){e.exports=require("tty")},function(e,t,a){"use strict";var r=process.argv,i=r.indexOf("--"),n=function(e){e="--"+e;var t=r.indexOf(e);return-1!==t&&(-1===i||t{t&&console.log("starting getPalette with image",e);const{fileDirectory:a}=e,{BitsPerSample:r,ColorMap:i,ImageLength:n,ImageWidth:p,PhotometricInterpretation:d,SampleFormat:o,SamplesPerPixel:s}=a;if(!i)throw new Error("[geotiff-palette]: the image does not contain a color map, so we can't make a palette.");const l=Math.pow(2,r);t&&console.log("[geotiff-palette]: count:",l);const m=i.length/3;if(t&&console.log("[geotiff-palette]: bandSize:",m),m!==l)throw new Error("[geotiff-palette]: can't handle situations where the color map has more or less values than the number of possible values in a raster");const u=m,c=u+m,f=[];for(let e=0;e{try{return e[m][u]}catch(e){console.error(e)}});if(c.every(e=>void 0!==e&&e!==r)){const r=e*(4*t)+4*a;if(1===d){const e=Math.round(c[0]),t=Math.round((e-i[0])/n[0]*255);l[r]=t,l[r+1]=t,l[r+2]=t,l[r+3]=255}else if(3===d)try{const[e,t,a]=c;l[r]=e,l[r+1]=t,l[r+2]=a,l[r+3]=255}catch(e){console.error(e)}else if(4===d)try{const[e,t,a,i]=c;l[r]=e,l[r+1]=t,l[r+2]=a,l[r+3]=i}catch(e){console.error(e)}}}return new ImageData(l,t,a)}}(e,i,r);return n.putImageData(p,0,0),a}}a.r(t),a.d(t,"default",(function(){return r}))},function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var r=a(11);Object(r.b)().blob;const i=Object(r.b)().default},,,function(e,t,a){"use strict";var r=a(20),i=a(44);var n=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()};t.a=function(e){const t=new i.a;let a,p=0;return new r.a(r=>{a||(a=e.subscribe(t));const i=t.subscribe(r);return p++,()=>{p--,i.unsubscribe(),0===p&&(n(a),a=void 0)}})}}])})); \ No newline at end of file diff --git a/src/index.js b/src/index.js index ef94d2a..ba0dbab 100644 --- a/src/index.js +++ b/src/index.js @@ -74,6 +74,7 @@ class GeoRaster { this._data = data; this.rasterType = 'geotiff'; this.sourceType = 'ArrayBuffer'; + this._metadata = metadata; } else if (Array.isArray(data) && metadata) { this._data = data; this.rasterType = 'object'; diff --git a/src/parseData.js b/src/parseData.js index 2ef27ab..8212f2f 100644 --- a/src/parseData.js +++ b/src/parseData.js @@ -90,9 +90,9 @@ export default function parseData(data, debug) { const { GeographicTypeGeoKey, ProjectedCSTypeGeoKey, - } = image.getGeoKeys(); + } = (image.getGeoKeys() || {}); - result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey; + result.projection = ProjectedCSTypeGeoKey || GeographicTypeGeoKey || data.metadata.projection if (debug) console.log('projection:', result.projection); result.height = height = image.getHeight();