????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/common-es5.js |
(function () { var absMids = { "esri/core/throttle": "./node_modules/arcgis-js-api/core/throttle.js", "esri/geometry/support/meshUtils/deduplicate": "./node_modules/arcgis-js-api/geometry/support/meshUtils/deduplicate.js", "esri/layers/mixins/ArcGISCachedService": "./node_modules/arcgis-js-api/layers/mixins/ArcGISCachedService.js", "esri/layers/support/LercWorker": "./node_modules/arcgis-js-api/layers/support/LercWorker.js", "esri/layers/support/kmlUtils": "./node_modules/arcgis-js-api/layers/support/kmlUtils.js", "esri/layers/support/lazyLayerLoader": "./node_modules/arcgis-js-api/layers/support/lazyLayerLoader.js", "esri/layers/support/rasterFormats/LercCodec": "./node_modules/arcgis-js-api/layers/support/rasterFormats/LercCodec.js", "esri/layers/support/serviceTileInfoProperty": "./node_modules/arcgis-js-api/layers/support/serviceTileInfoProperty.js", "esri/portal/support/jsonContext": "./node_modules/arcgis-js-api/portal/support/jsonContext.js", "esri/portal/support/mapNotesUtils": "./node_modules/arcgis-js-api/portal/support/mapNotesUtils.js", "esri/portal/support/portalLayers": "./node_modules/arcgis-js-api/portal/support/portalLayers.js", "esri/renderers/support/heatmapUtils": "./node_modules/arcgis-js-api/renderers/support/heatmapUtils.js", "esri/views/2d/engine/vectorTiles/TileIndex": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/TileIndex.js", "esri/views/2d/layers/BitmapLayerView2D": "./node_modules/arcgis-js-api/views/2d/layers/BitmapLayerView2D.js", "esri/views/2d/layers/BitmapTileLayerView2D": "./node_modules/arcgis-js-api/views/2d/layers/BitmapTileLayerView2D.js", "esri/views/2d/layers/features/processors/BaseProcessor": "./node_modules/arcgis-js-api/views/2d/layers/features/processors/BaseProcessor.js", "esri/views/2d/layers/features/tileRenderers/BaseTileRenderer": "./node_modules/arcgis-js-api/views/2d/layers/features/tileRenderers/BaseTileRenderer.js", "esri/views/2d/layers/support/ExportStrategy": "./node_modules/arcgis-js-api/views/2d/layers/support/ExportStrategy.js", "esri/views/2d/viewStateUtils": "./node_modules/arcgis-js-api/views/2d/viewStateUtils.js" // "fs" = "./node_modules/node-libs-browser/mock/empty.js" // "path" = "./node_modules/path-browserify/index.js" }; var globalObj = this || window; var jsonpArray = globalObj["webpackJsonp"] = globalObj["webpackJsonp"] || []; if (jsonpArray.registerAbsMids) { jsonpArray.registerAbsMids(absMids); } else { var absMidsWaiting = jsonpArray.absMidsWaiting = jsonpArray.absMidsWaiting || []; absMidsWaiting.push(absMids); } })(), (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["common"], { /***/ "./node_modules/arcgis-js-api/core/throttle.js": /*!*****************************************************!*\ !*** ./node_modules/arcgis-js-api/core/throttle.js ***! \*****************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiCoreThrottleJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t) { function n(e, t, n, r) { var o = null, u = 1e3; "number" == typeof t ? (u = t, r = n) : (o = t, u = n); var i, f = 0, a = function a() { f = 0, e.apply(r, i); }, c = function c() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; o && o.apply(r, e), i = e, u ? f || (f = setTimeout(a, u)) : a(); }; return c.remove = function () { f && (clearTimeout(f), f = 0); }, c.forceUpdate = function () { f && (clearTimeout(f), a()); }, c.hasPendingUpdates = function () { return !!f; }, c; } Object.defineProperty(t, "__esModule", { value: !0 }), t.throttle = n, t["default"] = n; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/geometry/support/meshUtils/deduplicate.js": /*!******************************************************************************!*\ !*** ./node_modules/arcgis-js-api/geometry/support/meshUtils/deduplicate.js ***! \******************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiGeometrySupportMeshUtilsDeduplicateJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../core/mathUtils */ "./node_modules/arcgis-js-api/core/mathUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, n, e) { function t(r, n, t) { var u = r.byteLength / (4 * n), l = new Uint32Array(r, 0, u * n), v = new Uint32Array(u), c = t && t.minReduction || 0, h = t && t.originalIndices || null, s = t && t.componentOffsets || null, d = 0; if (s) for (var g = 0; g < s.length - 1; g++) { var w = s[g + 1] - s[g]; w > d && (d = w); } else d = u; var y = Math.floor(1.1 * d) + 1; (null == o || o.length < 2 * y) && (o = new Uint32Array(e.nextHighestPowerOfTwo(2 * y))); for (var g = 0; g < 2 * y; g++) o[g] = 0; for (var U = 0, b = 1.96, A = 0 !== c ? Math.ceil(4 * b * b / (c * c) * c * (1 - c)) : u, p = 1, M = s ? s[1] : u, g = 0; g < u; g++) { if (g === A) { var m = 1 - U / g; if (m + b * Math.sqrt(m * (1 - m) / g) < c) return null; A *= 2; } if (g === M) { for (var q = 0; q < 2 * y; q++) o[q] = 0; M = s[++p]; } for (var O = g * n, x = a(l, O, n), P = x % y, _ = U; 0 !== o[2 * P + 1];) { if (o[2 * P] === x) { var j = o[2 * P + 1] - 1; if (f(l, O, j * n, n)) { _ = v[j]; break; } } P++, P >= y && (P -= y); } _ === U && (o[2 * P] = x, o[2 * P + 1] = g + 1, U++), v[g] = _; } if (0 !== c && 1 - U / u < c) return null; var k = new Uint32Array(n * U); U = 0; for (var g = 0; g < u; g++) v[g] === U && (i(l, g * n, k, U * n, n), U++); if (h) { for (var C = new Uint32Array(h.length), g = 0; g < C.length; g++) C[g] = v[h[g]]; v = C; } return { buffer: k.buffer, indices: v, uniqueCount: U }; } function f(r, n, e, t) { for (var f = 0; f < t; f++) if (r[n + f] !== r[e + f]) return !1; return !0; } function i(r, n, e, t, f) { for (var i = 0; i < f; i++) e[t + i] = r[n + i]; } function a(r, n, e) { for (var t = 0, f = 0; f < e; f++) t = r[n + f] + t | 0, t = t + (t << 11) + (t >>> 2) | 0; return t >>> 0; } Object.defineProperty(n, "__esModule", { value: !0 }), n.deduplicate = t; var o = null; n["default"] = t; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/layers/mixins/ArcGISCachedService.js": /*!*************************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/mixins/ArcGISCachedService.js ***! \*************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiLayersMixinsArcGISCachedServiceJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. // copyright /** * The copyright text as defined by the service. * * @name copyright * @type {string} * * @memberof module:esri/layers/mixins/ArcGISCachedService */ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__( /*! ../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__( /*! ../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__( /*! ../../geometry */ "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__( /*! ../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__( /*! ../support/serviceTileInfoProperty */ "./node_modules/arcgis-js-api/layers/support/serviceTileInfoProperty.js"), __webpack_require__( /*! ../support/TilemapCache */ "./node_modules/arcgis-js-api/layers/support/TilemapCache.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, p, o, i, l, a, n) { Object.defineProperty(r, "__esModule", { value: !0 }), r.ArcGISCachedService = function (e) { return function (e) { function r() { var r = null !== e && e.apply(this, arguments) || this; return r.copyright = null, r.minScale = 0, r.maxScale = 0, r.spatialReference = null, r.tileInfo = null, r.tilemapCache = null, r; } return p(r, e), r.prototype.readMinScale = function (e, r) { return null != r.minLOD && null != r.maxLOD ? e : 0; }, r.prototype.readMaxScale = function (e, r) { return null != r.minLOD && null != r.maxLOD ? e : 0; }, Object.defineProperty(r.prototype, "supportsBlankTile", { get: function get() { return this.version >= 10.2; }, enumerable: !0, configurable: !0 }), r.prototype.readTilemapCache = function (e, r) { return r.capabilities && r.capabilities.indexOf("Tilemap") > -1 ? new n.TilemapCache({ layer: this }) : null; }, o([l.property({ json: { read: { source: "copyrightText" } } })], r.prototype, "copyright", void 0), o([l.property()], r.prototype, "minScale", void 0), o([l.reader("service", "minScale")], r.prototype, "readMinScale", null), o([l.property()], r.prototype, "maxScale", void 0), o([l.reader("service", "maxScale")], r.prototype, "readMaxScale", null), o([l.property({ type: i.SpatialReference })], r.prototype, "spatialReference", void 0), o([l.property({ readOnly: !0, dependsOn: ["version"] })], r.prototype, "supportsBlankTile", null), o([l.property(a.serviceTileInfoProperty)], r.prototype, "tileInfo", void 0), o([l.property()], r.prototype, "tilemapCache", void 0), o([l.reader("service", "tilemapCache", ["capabilities"])], r.prototype, "readTilemapCache", null), o([l.property()], r.prototype, "version", void 0), r = o([l.subclass("esri.layers.mixins.ArcGISCachedService")], r); }(l.declared(e)); }; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/layers/support/LercWorker.js": /*!*****************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/support/LercWorker.js ***! \*****************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiLayersSupportLercWorkerJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__( /*! ../../core/tsSupport/extendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js"), __webpack_require__( /*! ../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__( /*! ../../core/requireUtils */ "./node_modules/arcgis-js-api/core/requireUtils.js"), __webpack_require__( /*! ../../core/workers */ "./node_modules/arcgis-js-api/core/workers.js"), __webpack_require__.dj.m(module)], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, o, i, u, c) { function s() { return o.create(function (t) { return __webpack_require__.e( /*! AMD require */ "common").then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ./rasterFormats/LercCodec */ "./node_modules/arcgis-js-api/layers/support/rasterFormats/LercCodec.js")]; t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); } function a(e) { var t = p.get(e); return t || (t = { instance: new h(e), ref: 0 }, p.set(e, t)), ++t.ref, t.instance; } function d(e) { if (null != e) { var t = e.scheduler, r = p.get(t); r && --r.ref <= 0 && (r.instance.destroy(), p["delete"](t)); } } function f() { return new l(); } Object.defineProperty(t, "__esModule", { value: !0 }); var l = function () { function e() {} return e.prototype._decode = function (e) { return s().then(function (t) { var r = t.decode, n = r(e.buffer, e.options); return { result: n, transferList: [n.pixelData.buffer] }; }); }, e; }(), h = function (t) { function r(r) { var n = t.call(this) || this; return n.scheduler = r, n._threadInitialized = o.create(function (t) { u.open(i.getAbsMid("./LercWorker", e, c), { strategy: "dedicated", scheduler: r }).then(function (e) { void 0 === n._thread ? (n._thread = e, t()) : (e.close(), t()); }, function () { return t(); }); }), n; } return n(r, t), r.prototype.destroy = function () { this._thread && this._thread.close(), this._thread = null; }, Object.defineProperty(r.prototype, "test", { get: function get() { return { threadInitialized: this._threadInitialized }; }, enumerable: !0, configurable: !0 }), r.prototype.decode = function (e, t, r) { return e && 0 !== e.byteLength ? this._thread ? this._thread.invoke("_decode", { buffer: e, options: t }, { transferList: [e], signal: r }) : s().then(function (n) { var i = n.decode; return o.throwIfAborted(r), i(e, t); }) : o.resolve(null); }, r; }(l); t.LercWorkerMaster = h; var p = new Map(); t.acquireInstance = a, t.releaseInstance = d, t["default"] = f; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/layers/support/kmlUtils.js": /*!***************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/support/kmlUtils.js ***! \***************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiLayersSupportKmlUtilsJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__( /*! ../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__( /*! ../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__( /*! ../../config */ "./node_modules/arcgis-js-api/config.js"), __webpack_require__( /*! ../../PopupTemplate */ "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__( /*! ../../request */ "./node_modules/arcgis-js-api/request.js"), __webpack_require__( /*! ../../core/lang */ "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__( /*! ../../geometry/SpatialReference */ "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__( /*! ../../geometry/support/aaBoundingBox */ "./node_modules/arcgis-js-api/geometry/support/aaBoundingBox.js"), __webpack_require__( /*! ../../geometry/support/boundsUtils */ "./node_modules/arcgis-js-api/geometry/support/boundsUtils.js"), __webpack_require__( /*! ../../renderers/support/jsonUtils */ "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js"), __webpack_require__( /*! ../../tasks/support/FeatureSet */ "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, a, s, i, u, l, f, p, y, c) { function d(e) { var r = e.folders || [], t = r.slice(), o = new Map(), n = new Map(), a = new Map(), s = new Map(), i = new Map(), l = { esriGeometryPoint: n, esriGeometryPolyline: a, esriGeometryPolygon: s }; (e.featureCollection && e.featureCollection.layers || []).forEach(function (e) { var r = u.clone(e); r.featureSet.features = []; var t = e.featureSet.geometryType; o.set(t, r); var i = e.layerDefinition.objectIdField; "esriGeometryPoint" === t ? v(n, i, e.featureSet.features) : "esriGeometryPolyline" === t ? v(a, i, e.featureSet.features) : "esriGeometryPolygon" === t && v(s, i, e.featureSet.features); }), e.groundOverlays && e.groundOverlays.forEach(function (e) { i.set(e.id, e); }), r.forEach(function (r) { r.networkLinkIds.forEach(function (o) { var n = h(o, r.id, e.networkLinks); n && t.push(n); }); }), t.forEach(function (e) { e.featureInfos && (e.points = u.clone(o.get("esriGeometryPoint")), e.polylines = u.clone(o.get("esriGeometryPolyline")), e.polygons = u.clone(o.get("esriGeometryPolygon")), e.mapImages = [], e.featureInfos.map(function (r) { switch (r.type) { case "esriGeometryPoint": case "esriGeometryPolyline": case "esriGeometryPolygon": var t = l[r.type].get(r.id); t && e[G[r.type]].featureSet.features.push(t); break; case "GroundOverlay": var o = i.get(r.id); o && e.mapImages.push(o); } }), e.fullExtent = b([e])); }); var f = b(t); return { folders: r, sublayers: t, extent: f }; } function m(e, r, t, o) { var n = a.kmlServiceUrl; return i(n, { query: { url: e, model: "simple", folders: "", refresh: 0 !== t || void 0, outSR: JSON.stringify(r) }, responseType: "json", signal: o }); } function g(e, r, t, o) { void 0 === t && (t = null), void 0 === o && (o = []); var n = [], a = {}, s = r.sublayers, i = r.folders.map(function (e) { return e.id; }); return s.forEach(function (r) { var s = new e(); if (t ? s.read(r, t) : s.read(r), o.length && i.indexOf(s.id) > -1 && (s.visible = -1 !== o.indexOf(s.id)), a[r.id] = s, null != r.parentFolderId && -1 !== r.parentFolderId) { var u = a[r.parentFolderId]; u.sublayers || (u.sublayers = []), u.sublayers.unshift(s); } else n.unshift(s); }), n; } function v(e, r, t) { t.forEach(function (t) { e.set(t.attributes[r], t); }); } function S(e, r) { var t; return r.some(function (r) { return r.id === e && (t = r, !0); }), t; } function h(e, r, t) { var o = S(e, t); return o && (o.parentFolderId = r, o.networkLink = o), o; } function I(e) { return o(this, void 0, void 0, function () { var r, o, n, a, i, u, l, f, p, d; return t(this, function (t) { switch (t.label) { case 0: r = c.fromJSON(e.featureSet), o = r.features, n = e.layerDefinition, a = y.fromJSON(n.drawingInfo.renderer), i = s.fromJSON(e.popupInfo), u = [], l = 0, f = o, t.label = 1; case 1: return l < f.length ? (p = f[l], [4, a.getSymbolAsync(p)]) : [3, 4]; case 2: d = t.sent(), p.symbol = d, p.popupTemplate = i, p.visible = !!p.attributes.visibility, u.push(p), t.label = 3; case 3: return l++, [3, 1]; case 4: return [2, u]; } }); }); } function b(e) { for (var r = f.create(), t = f.create(f.NEGATIVE_INFINITY), o = 0, n = e; o < n.length; o++) { var a = n[o]; if (a.polygons && a.polygons.featureSet && a.polygons.featureSet.features) for (var s = 0, i = a.polygons.featureSet.features; s < i.length; s++) { var u = i[s]; p.getBoundsXYZ(r, u.geometry), f.expand(t, r, t); } if (a.polylines && a.polylines.featureSet && a.polylines.featureSet.features) for (var y = 0, c = a.polylines.featureSet.features; y < c.length; y++) { var u = c[y]; p.getBoundsXYZ(r, u.geometry), f.expand(t, r, t); } if (a.points && a.points.featureSet && a.points.featureSet.features) for (var d = 0, m = a.points.featureSet.features; d < m.length; d++) { var u = m[d]; p.getBoundsXYZ(r, u.geometry), f.expand(t, r, t); } if (a.mapImages) for (var g = 0, v = a.mapImages; g < v.length; g++) { var u = v[g]; p.getBoundsXYZ(r, u.extent), f.expand(t, r, t); } } return f.equals(t, f.NEGATIVE_INFINITY) ? null : { xmin: t[0], ymin: t[1], zmin: t[2], xmax: t[3], ymax: t[4], zmax: t[5], spatialReference: l.WGS84 }; } Object.defineProperty(r, "__esModule", { value: !0 }); var G = { esriGeometryPoint: "points", esriGeometryPolyline: "polylines", esriGeometryPolygon: "polygons" }; r.parseKML = d, r.fetchService = m, r.sublayersFromJSON = g, r.getGraphics = I, r.computeExtent = b; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/layers/support/lazyLayerLoader.js": /*!**********************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/support/lazyLayerLoader.js ***! \**********************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiLayersSupportLazyLayerLoaderJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) { Object.defineProperty(r, "__esModule", { value: !0 }), r.layerLookupMap = { CSVLayer: function CSVLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 38).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../CSVLayer */ "./node_modules/arcgis-js-api/layers/CSVLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, ElevationLayer: function ElevationLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(4), __webpack_require__.e("common"), __webpack_require__.e(25)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../ElevationLayer */ "./node_modules/arcgis-js-api/layers/ElevationLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, FeatureLayer: function FeatureLayer() { return n.create(function (r) { return Promise.resolve().then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../FeatureLayer */ "./node_modules/arcgis-js-api/layers/FeatureLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, GroupLayer: function GroupLayer() { return n.create(function (r) { return Promise.resolve().then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../GroupLayer */ "./node_modules/arcgis-js-api/layers/GroupLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, GeoRSSLayer: function GeoRSSLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 47).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../GeoRSSLayer */ "./node_modules/arcgis-js-api/layers/GeoRSSLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, ImageryLayer: function ImageryLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(24), __webpack_require__.e("common"), __webpack_require__.e(28)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../ImageryLayer */ "./node_modules/arcgis-js-api/layers/ImageryLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, KMLLayer: function KMLLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e("common"), __webpack_require__.e(40)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../KMLLayer */ "./node_modules/arcgis-js-api/layers/KMLLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, MapImageLayer: function MapImageLayer() { return n.create(function (r) { return Promise.resolve().then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../MapImageLayer */ "./node_modules/arcgis-js-api/layers/MapImageLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, MapNotesLayer: function MapNotesLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 87).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../MapNotesLayer */ "./node_modules/arcgis-js-api/layers/MapNotesLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, OpenStreetMapLayer: function OpenStreetMapLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(12), __webpack_require__.e(49)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../OpenStreetMapLayer */ "./node_modules/arcgis-js-api/layers/OpenStreetMapLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, PointCloudLayer: function PointCloudLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(18), __webpack_require__.e(32)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../PointCloudLayer */ "./node_modules/arcgis-js-api/layers/PointCloudLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, SceneLayer: function SceneLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(9), __webpack_require__.e(41)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../SceneLayer */ "./node_modules/arcgis-js-api/layers/SceneLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, BuildingSceneLayer: function BuildingSceneLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(9), __webpack_require__.e(31)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../BuildingSceneLayer */ "./node_modules/arcgis-js-api/layers/BuildingSceneLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, IntegratedMeshLayer: function IntegratedMeshLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(9), __webpack_require__.e(48)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../IntegratedMeshLayer */ "./node_modules/arcgis-js-api/layers/IntegratedMeshLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, StreamLayer: function StreamLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 42).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../StreamLayer */ "./node_modules/arcgis-js-api/layers/StreamLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, TileLayer: function TileLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(4), __webpack_require__.e("common"), __webpack_require__.e(26)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../TileLayer */ "./node_modules/arcgis-js-api/layers/TileLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, UnknownLayer: function UnknownLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 88).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../UnknownLayer */ "./node_modules/arcgis-js-api/layers/UnknownLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, UnsupportedLayer: function UnsupportedLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 89).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../UnsupportedLayer */ "./node_modules/arcgis-js-api/layers/UnsupportedLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, VectorTileLayer: function VectorTileLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(4), __webpack_require__.e(20), __webpack_require__.e("common"), __webpack_require__.e(35)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../VectorTileLayer */ "./node_modules/arcgis-js-api/layers/VectorTileLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, WebTileLayer: function WebTileLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 12).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../WebTileLayer */ "./node_modules/arcgis-js-api/layers/WebTileLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, WMSLayer: function WMSLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(23), __webpack_require__.e(43)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../WMSLayer */ "./node_modules/arcgis-js-api/layers/WMSLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, WMTSLayer: function WMTSLayer() { return n.create(function (r) { return Promise.all( /*! AMD require */ [__webpack_require__.e(12), __webpack_require__.e(68)]).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../WMTSLayer */ "./node_modules/arcgis-js-api/layers/WMTSLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); }, BingMapsLayer: function BingMapsLayer() { return n.create(function (r) { return __webpack_require__.e( /*! AMD require */ 16).then(function () { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__( /*! ../BingMapsLayer */ "./node_modules/arcgis-js-api/layers/BingMapsLayer.js")]; r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__); }.bind(this))["catch"](__webpack_require__.oe); }); } }; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/layers/support/rasterFormats/LercCodec.js": /*!******************************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/support/rasterFormats/LercCodec.js ***! \******************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiLayersSupportRasterFormatsLercCodecJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__( /*! ../../../core/mathUtils */ "./node_modules/arcgis-js-api/core/mathUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e) { var t = {}; t.defaultNoDataValue = e.clampFloat32(-1 / 0), t.decode = function (s, r) { r = r || {}; var o = r.encodedMaskData || null === r.encodedMaskData, f = l(s, r.inputOffset || 0, o), m = null != r.noDataValue ? e.clampFloat32(r.noDataValue) : t.defaultNoDataValue, u = i(f, r.pixelType || Float32Array, r.encodedMaskData, m, r.returnMask), d = { width: f.width, height: f.height, pixelData: u.resultPixels, minValue: f.pixels.minValue, maxValue: f.pixels.maxValue, noDataValue: m }; return u.resultMask && (d.maskData = u.resultMask), r.returnEncodedMask && f.mask && (d.encodedMaskData = f.mask.bitset ? f.mask.bitset : null), r.returnFileInfo && (d.fileInfo = a(f), r.computeUsedBitDepths && (d.fileInfo.bitDepths = n(f))), d; }; var i = function i(e, t, _i, a, n) { var l = 0, r = e.pixels.numBlocksX, o = e.pixels.numBlocksY, f = Math.floor(e.width / r), m = Math.floor(e.height / o), u = 2 * e.maxZError; _i = _i || (e.mask ? e.mask.bitset : null); var d, c; d = new t(e.width * e.height), n && _i && (c = new Uint8Array(e.width * e.height)); for (var g, h, k = new Float32Array(f * m), x = 0; x <= o; x++) { var w = x !== o ? m : e.height % o; if (0 !== w) for (var p = 0; p <= r; p++) { var y = p !== r ? f : e.width % r; if (0 !== y) { var V, v, B, U = x * e.width * m + p * f, D = e.width - y, M = e.pixels.blocks[l]; M.encoding < 2 ? (0 === M.encoding ? V = M.rawData : (s(M.stuffedData, M.bitsPerPixel, M.numValidPixels, M.offset, u, k, e.pixels.maxValue), V = k), v = 0) : B = 2 === M.encoding ? 0 : M.offset; var b; if (_i) for (h = 0; h < w; h++) { for (7 & U && (b = _i[U >> 3], b <<= 7 & U), g = 0; g < y; g++) 7 & U || (b = _i[U >> 3]), 128 & b ? (c && (c[U] = 1), d[U++] = M.encoding < 2 ? V[v++] : B) : (c && (c[U] = 0), d[U++] = a), b <<= 1; U += D; } else if (M.encoding < 2) for (h = 0; h < w; h++) { for (g = 0; g < y; g++) d[U++] = V[v++]; U += D; } else for (h = 0; h < w; h++) if (d.fill) d.fill(B, U, U + y), U += y + D;else { for (g = 0; g < y; g++) d[U++] = B; U += D; } if (1 === M.encoding && v !== M.numValidPixels) throw "Block and Mask do not match"; l++; } } } return { resultPixels: d, resultMask: c }; }, a = function a(e) { return { fileIdentifierString: e.fileIdentifierString, fileVersion: e.fileVersion, imageType: e.imageType, height: e.height, width: e.width, maxZError: e.maxZError, eofOffset: e.eofOffset, mask: e.mask ? { numBlocksX: e.mask.numBlocksX, numBlocksY: e.mask.numBlocksY, numBytes: e.mask.numBytes, maxValue: e.mask.maxValue } : null, pixels: { numBlocksX: e.pixels.numBlocksX, numBlocksY: e.pixels.numBlocksY, numBytes: e.pixels.numBytes, maxValue: e.pixels.maxValue, minValue: e.pixels.minValue, noDataValue: this.noDataValue } }; }, n = function n(e) { for (var t = e.pixels.numBlocksX * e.pixels.numBlocksY, i = {}, a = 0; a < t; a++) { var n = e.pixels.blocks[a]; 0 === n.encoding ? i.float32 = !0 : 1 === n.encoding ? i[n.bitsPerPixel] = !0 : i[0] = !0; } return Object.keys(i); }, l = function l(e, t, i) { var a = {}, n = new Uint8Array(e, t, 10); if (a.fileIdentifierString = String.fromCharCode.apply(null, n), "CntZImage" != a.fileIdentifierString.trim()) throw "Unexpected file identifier string: " + a.fileIdentifierString; t += 10; var l = new DataView(e, t, 24); if (a.fileVersion = l.getInt32(0, !0), a.imageType = l.getInt32(4, !0), a.height = l.getUint32(8, !0), a.width = l.getUint32(12, !0), a.maxZError = l.getFloat64(16, !0), t += 24, !i) if (l = new DataView(e, t, 16), a.mask = {}, a.mask.numBlocksY = l.getUint32(0, !0), a.mask.numBlocksX = l.getUint32(4, !0), a.mask.numBytes = l.getUint32(8, !0), a.mask.maxValue = l.getFloat32(12, !0), t += 16, a.mask.numBytes > 0) { var s = new Uint8Array(Math.ceil(a.width * a.height / 8)); l = new DataView(e, t, a.mask.numBytes); var r = l.getInt16(0, !0), o = 2, f = 0; do { if (r > 0) for (; r--;) s[f++] = l.getUint8(o++);else { var m = l.getUint8(o++); for (r = -r; r--;) s[f++] = m; } r = l.getInt16(o, !0), o += 2; } while (o < a.mask.numBytes); if (-32768 !== r || f < s.length) throw "Unexpected end of mask RLE encoding"; a.mask.bitset = s, t += a.mask.numBytes; } else if (0 == (a.mask.numBytes | a.mask.numBlocksY | a.mask.maxValue)) { var s = new Uint8Array(Math.ceil(a.width * a.height / 8)); a.mask.bitset = s; } l = new DataView(e, t, 16), a.pixels = {}, a.pixels.numBlocksY = l.getUint32(0, !0), a.pixels.numBlocksX = l.getUint32(4, !0), a.pixels.numBytes = l.getUint32(8, !0), a.pixels.maxValue = l.getFloat32(12, !0), t += 16; var u = a.pixels.numBlocksX, d = a.pixels.numBlocksY, c = u + (a.width % u > 0 ? 1 : 0), g = d + (a.height % d > 0 ? 1 : 0); a.pixels.blocks = new Array(c * g); for (var h = 1e9, k = 0, x = 0; x < g; x++) for (var w = 0; w < c; w++) { var p = 0, y = e.byteLength - t; l = new DataView(e, t, Math.min(10, y)); var V = {}; a.pixels.blocks[k++] = V; var v = l.getUint8(0); if (p++, V.encoding = 63 & v, V.encoding > 3) throw "Invalid block encoding (" + V.encoding + ")"; if (2 !== V.encoding) { if (0 !== v && 2 !== v) { if (v >>= 6, V.offsetType = v, 2 === v) V.offset = l.getInt8(1), p++;else if (1 === v) V.offset = l.getInt16(1, !0), p += 2;else { if (0 !== v) throw "Invalid block offset type"; V.offset = l.getFloat32(1, !0), p += 4; } if (h = Math.min(V.offset, h), 1 === V.encoding) if (v = l.getUint8(p), p++, V.bitsPerPixel = 63 & v, v >>= 6, V.numValidPixelsType = v, 2 === v) V.numValidPixels = l.getUint8(p), p++;else if (1 === v) V.numValidPixels = l.getUint16(p, !0), p += 2;else { if (0 !== v) throw "Invalid valid pixel count type"; V.numValidPixels = l.getUint32(p, !0), p += 4; } } if (t += p, 3 != V.encoding) { var B, U; if (0 === V.encoding) { var D = (a.pixels.numBytes - 1) / 4; if (D !== Math.floor(D)) throw "uncompressed block has invalid length"; B = new ArrayBuffer(4 * D), U = new Uint8Array(B), U.set(new Uint8Array(e, t, 4 * D)); for (var M = new Float32Array(B), b = 0; b < M.length; b++) h = Math.min(h, M[b]); V.rawData = M, t += 4 * D; } else if (1 === V.encoding) { var I = Math.ceil(V.numValidPixels * V.bitsPerPixel / 8), P = Math.ceil(I / 4); B = new ArrayBuffer(4 * P), U = new Uint8Array(B), U.set(new Uint8Array(e, t, I)), V.stuffedData = new Uint32Array(B), t += I; } } } else t++, h = Math.min(h, 0); } return a.pixels.minValue = h, a.eofOffset = t, a; }, s = function s(e, t, i, a, n, l, _s) { var r, o, f, m = (1 << t) - 1, u = 0, d = 0, c = Math.ceil((_s - a) / n), g = 4 * e.length - Math.ceil(t * i / 8); for (e[e.length - 1] <<= 8 * g, r = 0; r < i; r++) { if (0 === d && (f = e[u++], d = 32), d >= t) o = f >>> d - t & m, d -= t;else { var h = t - d; o = (f & m) << h & m, f = e[u++], d = 32 - h, o += f >>> d; } l[r] = o < c ? a + o * n : _s; } return l; }; return t; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/layers/support/serviceTileInfoProperty.js": /*!******************************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/support/serviceTileInfoProperty.js ***! \******************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiLayersSupportServiceTileInfoPropertyJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__( /*! ./TileInfo */ "./node_modules/arcgis-js-api/layers/support/TileInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, i) { function l(e, r, l, o) { if (!e) return null; var t = r.minScale, u = r.maxScale, a = r.minLOD, f = r.maxLOD; if (null != a && null != f) return o && o.ignoreMinMaxLOD ? i.fromJSON(e) : i.fromJSON(n({}, e, { lods: e.lods.filter(function (e) { var r = e.level; return null != r && r >= a && r <= f; }) })); if (0 !== t && 0 !== u) { var c = function c(e) { return Math.round(1e4 * e) / 1e4; }, s = t ? c(t) : 1 / 0, m = u ? c(u) : -1 / 0; return i.fromJSON(n({}, e, { lods: e.lods.filter(function (e) { var r = c(e.scale); return r <= s && r >= m; }) })); } return i.fromJSON(e); } Object.defineProperty(r, "__esModule", { value: !0 }), r.serviceTileInfoProperty = { type: i, json: { origins: { service: { read: { source: ["tileInfo", "minScale", "maxScale", "minLOD", "maxLOD"], reader: l } } } } }, r.readServiceTileInfo = l; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/portal/support/jsonContext.js": /*!******************************************************************!*\ !*** ./node_modules/arcgis-js-api/portal/support/jsonContext.js ***! \******************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiPortalSupportJsonContextJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/urlUtils */ "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__( /*! ../Portal */ "./node_modules/arcgis-js-api/portal/Portal.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o) { function l(e) { return { origin: "portal-item", url: t.urlToObject(e.itemUrl), portal: e.portal || o.getDefault() }; } Object.defineProperty(r, "__esModule", { value: !0 }), r.createForItem = l; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/portal/support/mapNotesUtils.js": /*!********************************************************************!*\ !*** ./node_modules/arcgis-js-api/portal/support/mapNotesUtils.js ***! \********************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiPortalSupportMapNotesUtilsJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r) { function i(e) { var r = ["TITLE", "DESCRIPTION", "IMAGE_URL", "IMAGE_LINK_URL"], i = e.layers || e.featureCollection && e.featureCollection.layers; if (i && Array.isArray(i)) { var n = i[0]; return n.layerDefinition && Array.isArray(n.layerDefinition.fields) && n.layerDefinition.fields.forEach(function (e) { var i = r.indexOf(e.name); i > -1 && r.splice(i, 1); }), !r.length; } } Object.defineProperty(r, "__esModule", { value: !0 }), r.isMapNotesLayer = i; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/portal/support/portalLayers.js": /*!*******************************************************************!*\ !*** ./node_modules/arcgis-js-api/portal/support/portalLayers.js ***! \*******************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiPortalSupportPortalLayersJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__( /*! ../../request */ "./node_modules/arcgis-js-api/request.js"), __webpack_require__( /*! ../../core/Collection */ "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__( /*! ../../core/Error */ "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__( /*! ../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__( /*! ../../layers/support/lazyLayerLoader */ "./node_modules/arcgis-js-api/layers/support/lazyLayerLoader.js"), __webpack_require__( /*! ../PortalItem */ "./node_modules/arcgis-js-api/portal/PortalItem.js"), __webpack_require__( /*! ./mapNotesUtils */ "./node_modules/arcgis-js-api/portal/support/mapNotesUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, a, o, u, s, c, i) { function l(e) { return !e.portalItem || e.portalItem instanceof c || e.portalItem.constructor && e.portalItem.constructor._meta || (e = t({}, e, { portalItem: new c(e.portalItem) })), y(e.portalItem).then(function (r) { var n = t({ portalItem: e.portalItem }, r.properties), a = r.constructor; return u.resolve(new a(n)); }); } function y(e) { return e.load().then(p).then(f); } function p(e) { switch (e.type) { case "Map Service": return m(e); case "Feature Service": return d(e); case "Feature Collection": return h(e); case "Scene Service": return L(e); case "Image Service": return N(e); case "Stream Service": return I(); case "Vector Tile Service": return S(); case "KML": return v(); case "WMTS": return M(); case "WMS": return g(); default: return u.reject(new o("portal:unknown-item-type", "Unknown item type '${type}'", { type: e.type })); } } function f(e) { return (0, s.layerLookupMap[e.className])().then(function (r) { return { constructor: r, properties: e.properties }; }); } function m(e) { return w(e).then(function (e) { return e ? { className: "TileLayer" } : { className: "MapImageLayer" }; }); } function d(e) { return T(e).then(function (e) { if ("object" == typeof e) { var r = {}; return null != e.id && (r.layerId = e.id), { className: "FeatureLayer", properties: r }; } return { className: "GroupLayer" }; }); } function L(e) { return T(e).then(function (r) { if ("object" == typeof r) { var t = {}, n = void 0; if (null != r.id ? (t.layerId = r.id, n = e.url + "/layers/" + r.id) : n = e.url, Array.isArray(e.typeKeywords) && e.typeKeywords.length > 0) for (var a = { IntegratedMesh: "IntegratedMeshLayer", "3DObject": "SceneLayer", Point: "SceneLayer", PointCloud: "PointCloudLayer", Building: "BuildingSceneLayer" }, o = 0, u = Object.keys(a); o < u.length; o++) { var s = u[o]; if (-1 !== e.typeKeywords.indexOf(s)) return { className: a[s] }; } return j(n).then(function (e) { var r = "SceneLayer", n = { Point: "SceneLayer", "3DObject": "SceneLayer", IntegratedMesh: "IntegratedMeshLayer", PointCloud: "PointCloudLayer", Building: "BuildingSceneLayer" }; return e && e.layerType && n[e.layerType] && (r = n[e.layerType]), { className: r, properties: t }; }); } return { className: "GroupLayer" }; }); } function h(e) { return e.load().then(function () { return e.fetchData(); }).then(function (e) { if (e && Array.isArray(e.layers)) { if (i.isMapNotesLayer(e)) return { className: "MapNotesLayer" }; if (1 === e.layers.length) return { className: "FeatureLayer" }; } return { className: "GroupLayer" }; }); } function N(e) { return w(e).then(function (r) { var t = new a(e.typeKeywords); return r ? t.find(function (e) { return "elevation 3d layer" === e.toLowerCase(); }) ? { className: "ElevationLayer" } : { className: "TileLayer" } : { className: "ImageryLayer" }; }); } function I() { return { className: "StreamLayer" }; } function S() { return { className: "VectorTileLayer" }; } function v() { return { className: "KMLLayer" }; } function g() { return { className: "WMSLayer" }; } function M() { return { className: "WMTSLayer" }; } function w(e) { return j(e.url).then(function (e) { return e.tileInfo; }); } function T(e) { return !e.url || e.url.match(/\/\d+$/) ? u.resolve({}) : e.load().then(function () { return e.fetchData(); }).then(function (r) { return r && Array.isArray(r.layers) ? 1 === r.layers.length && { id: r.layers[0].id } : j(e.url).then(function (e) { return e && Array.isArray(e.layers) ? 1 === e.layers.length && { id: e.layers[0].id } : {}; }); }); } function j(e) { return n(e, { responseType: "json", query: { f: "json" } }).then(function (e) { return e.data; }); } Object.defineProperty(r, "__esModule", { value: !0 }), r.fromItem = l, r.selectLayerClassPath = p; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/renderers/support/heatmapUtils.js": /*!**********************************************************************!*\ !*** ./node_modules/arcgis-js-api/renderers/support/heatmapUtils.js ***! \**********************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiRenderersSupportHeatmapUtilsJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../core/global */ "./node_modules/arcgis-js-api/core/global.js"), __webpack_require__( /*! ../../core/mathUtils */ "./node_modules/arcgis-js-api/core/mathUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, a) { function n(t, e, r, a) { for (var n, i = e.blurRadius, o = e.fieldOffset, c = e.field, l = new Float64Array(r * a), h = u(i), g = Math.round(3 * i), m = Number.NEGATIVE_INFINITY, d = f(c, o), y = 0, v = t; y < v.length; y++) for (var p = v[y], s = p.geometry, M = p.attributes, b = s.x - g, w = s.y - g, I = Math.max(0, b), x = Math.max(0, w), A = Math.min(a, s.y + g), U = Math.min(r, s.x + g), F = +d(M), D = x; D < A; D++) for (var N = h[D - w], R = I; R < U; R++) { var C = h[R - b], E = D * r + R; n = l[E] += N * C * F, n > m && (m = n); } return { matrix: l.buffer, max: m }; } function i(t, e, r, a, n, i) { t.canvas.width = t.canvas.height = e, t.clearRect(0, 0, e, e); var u = t.getImageData(0, 0, e, e); r && a && u.data.set(new Uint8ClampedArray(o(e, r, a, n, i))), t.putImageData(u, 0, 0); } function o(t, e, r, n, i) { for (var o = new Uint32Array(t * t), u = ("buffer" in e) ? e : new Float64Array(e), f = ("buffer" in r) ? new Uint32Array(r.buffer) : new Uint32Array(new Uint8Array(r).buffer), c = f.length / (i - n), l = 0; l < u.length; l++) { var h = u[l], g = Math.floor((h - n) * c); o[l] = f[a.clamp(g, 0, f.length - 1)]; } return o.buffer; } function u(t) { for (var e = Math.round(3 * t), r = 2 * t * t, a = new Float64Array(2 * e + 1), n = 0; n <= a.length; n++) a[n] = Math.exp(-Math.pow(n - e, 2) / r) / Math.sqrt(2 * Math.PI) * (t / 2); return a; } function f(t, e) { return "function" == typeof t ? t : t ? "string" == typeof e ? function (e) { return -1 * +e[t]; } : function (r) { return +r[t] + e; } : function () { return 1; }; } Object.defineProperty(e, "__esModule", { value: !0 }), e.generateGradient = function () { if (!("document" in r)) return function () { return null; }; var t = document.createElement("canvas"), e = t.getContext("2d"); return t.height = 512, t.width = 1, function (r) { e.clearRect(0, 0, 1, t.height); for (var a = e.createLinearGradient(0, 0, 0, t.height), n = 0, i = r.colorStops; n < i.length; n++) { var o = i[n], u = o.ratio, f = o.color; a.addColorStop(Math.max(u, .001), "rgba(" + f[0] + ", " + f[1] + ", " + f[2] + ", " + f[3] + ")"); } return e.fillStyle = a, e.fillRect(0, 0, 1, t.height), e.getImageData(0, 0, 1, t.height).data; }; }(), e.calculateHeatmapIntensityInfo = n, e.drawHeatmap = i, e.createHeatmapImageData = o, e.createKernel = u, e.createValueFunction = f; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/TileIndex.js": /*!*****************************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/TileIndex.js ***! \*****************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dEngineVectorTilesTileIndexJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__( /*! ../../../../layers/support/TilemapCache */ "./node_modules/arcgis-js-api/layers/support/TilemapCache.js"), __webpack_require__( /*! ../../tiling/TileKey */ "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o) { return function () { function e(e) { if (e instanceof i.TilemapCache) this._tilemapCache = e;else { if (!(e && "index" in e)) throw new Error("Invalid tilemap!"); this._tilemap = e.index; } } return e.prototype.dataKey = function (e, t) { if (this._tilemapCache) { var i = e.level, l = e.row, a = e.col, n = new o(e); return this._tilemapCache.fetchAvailabilityUpsample(i, l, a, n, t).then(function () { return n; })["catch"](function (e) { if (r.isAbortError(e)) throw e; return n.level = i, n.row = l, n.col = a, n; }); } return this._getIndexedDataKey(e); }, e.prototype.forEach = function (e, t, r, i, o) { this._callback = o, this._maxLevel = t + e, this._forEach(this._tilemap, t, r, i); }, e.prototype._forEach = function (e, t, r, i) { 0 !== e && (this._callback(t, r, i), t !== this._maxLevel && "object" == typeof e && (this._forEach(e[0], t + 1, 2 * r, 2 * i), this._forEach(e[1], t + 1, 2 * r, 2 * i + 1), this._forEach(e[2], t + 1, 2 * r + 1, 2 * i), this._forEach(e[3], t + 1, 2 * r + 1, 2 * i + 1))); }, e.prototype._getIndexedDataKey = function (e) { var t = [e]; if (e.level < 0 || e.row < 0 || e.col < 0 || e.row >> e.level > 0 || e.col >> e.level > 0) return r.resolve(null); for (var i = e; 0 !== i.level;) i = new o(i.level - 1, i.row >> 1, i.col >> 1, i.world), t.push(i); var l, a, n = this._tilemap, c = t.pop(); if (1 === n) return r.resolve(c); for (; t.length;) if (l = t.pop(), a = (1 & l.col) + ((1 & l.row) << 1), n) { if (0 === n[a]) { c = null; break; } if (1 === n[a]) { c = l; break; } c = l, n = n[a]; } return r.resolve(c); }, e; }(); }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/views/2d/layers/BitmapLayerView2D.js": /*!*************************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/layers/BitmapLayerView2D.js ***! \*************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dLayersBitmapLayerView2DJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__( /*! ../../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__( /*! ../../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__( /*! ../engine/BitmapContainer */ "./node_modules/arcgis-js-api/views/2d/engine/BitmapContainer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i, n, o) { Object.defineProperty(r, "__esModule", { value: !0 }), r.BitmapLayerView2D = function (e) { return function (e) { function r() { var r = null !== e && e.apply(this, arguments) || this; return r.container = new o.BitmapContainer(r.clips), r; } return i(r, e), r.prototype.initialize = function () { var e = this; this.handles.add(this.clips.on("change", function () { return e.container.setClips(e.clips); })); }, r = t([n.subclass("esri.views.2d.layers.BitmapLayerView2D")], r); }(n.declared(e)); }; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/views/2d/layers/BitmapTileLayerView2D.js": /*!*****************************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/layers/BitmapTileLayerView2D.js ***! \*****************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dLayersBitmapTileLayerView2DJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__( /*! ../../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__( /*! ../../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__( /*! ../engine/BitmapTileContainer */ "./node_modules/arcgis-js-api/views/2d/engine/BitmapTileContainer.js"), __webpack_require__( /*! ../engine/Container */ "./node_modules/arcgis-js-api/views/2d/engine/Container.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, t, r, n, a, o) { Object.defineProperty(i, "__esModule", { value: !0 }), i.BitmapTileLayerView2D = function (e) { return function (e) { function i() { var i = null !== e && e.apply(this, arguments) || this; return i.container = new o.Container(), i; } return r(i, e), i.prototype.attach = function () { var e = this; this.view.timeline.record(this.layer.title + " (BitmapTileLayer) Attach"), this._bitmapView = new a.BitmapTileContainer(this._tileInfoView, this.clips), this.handles.add(this.clips.on("change", function () { return e._bitmapView.setClips(e.clips); })), this.container.addChild(this._bitmapView); }, i.prototype.detatch = function () { this.container.removeChild(this._bitmapView), this._bitmapView.removeAllChildren(); }, i = t([n.subclass("esri.views.2d.layers.BitmapTileLayerView2D")], i); }(n.declared(e)); }; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/views/2d/layers/features/processors/BaseProcessor.js": /*!*****************************************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/layers/features/processors/BaseProcessor.js ***! \*****************************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dLayersFeaturesProcessorsBaseProcessorJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__( /*! ../../../../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__( /*! ../../../../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__( /*! ../../../../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__( /*! ../../../../../core/HandleOwner */ "./node_modules/arcgis-js-api/core/HandleOwner.js"), __webpack_require__( /*! ../../../../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, p, n, l, s) { Object.defineProperty(t, "__esModule", { value: !0 }); var c = function (e) { function t() { return null !== e && e.apply(this, arguments) || this; } return r(t, e), t.prototype.initialize = function () {}, t.prototype.destroy = function () {}, Object.defineProperty(t.prototype, "supportsTileUpdates", { get: function get() { return !1; }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "spatialReference", { get: function get() { var e = this.get("tileStore.tileScheme.spatialReference"); return e && e.toJSON() || null; }, enumerable: !0, configurable: !0 }), o([s.property({ readOnly: !0 })], t.prototype, "supportsTileUpdates", null), o([s.property({ constructOnly: !0 })], t.prototype, "remoteClient", void 0), o([s.property({ constructOnly: !0 })], t.prototype, "service", void 0), o([s.property({ dependsOn: ["tileStore.tileScheme.spatialReference"] })], t.prototype, "spatialReference", null), o([s.property({ constructOnly: !0 })], t.prototype, "tileInfo", void 0), o([s.property({ constructOnly: !0 })], t.prototype, "tileStore", void 0), t = o([s.subclass("esri.views.2d.layers.features.processors.BaseProcessor")], t); }(s.declared(l.HandleOwner)); t["default"] = c; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/views/2d/layers/features/tileRenderers/BaseTileRenderer.js": /*!***********************************************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/layers/features/tileRenderers/BaseTileRenderer.js ***! \***********************************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dLayersFeaturesTileRenderersBaseTileRendererJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__( /*! ../../../../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__( /*! ../../../../../core/HandleOwner */ "./node_modules/arcgis-js-api/core/HandleOwner.js"), __webpack_require__( /*! ../../../../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n) { Object.defineProperty(t, "__esModule", { value: !0 }); var p = function (e) { function t(t) { var r = e.call(this, t) || this; return r.tiles = new Map(), r; } return r(t, e), t.prototype.destroy = function () { this.tiles.clear(), this.layer = this.layerView = this.tileInfoView = this.tiles = null; }, Object.defineProperty(t.prototype, "updating", { get: function get() { return this.isUpdating(); }, enumerable: !0, configurable: !0 }), t.prototype.acquireTile = function (e) { var t = this, r = this.createTile(e); return r.once("isReady", function () { return t.notifyChange("updating"); }), this.tiles.set(e.id, r), r; }, t.prototype.lockAttributeTextureUpload = function () {}, t.prototype.unlockAttributeTextureUpload = function () {}, t.prototype.forceAttributeTextureUpload = function () {}, t.prototype.forEachTile = function (e) { this.tiles.forEach(e); }, t.prototype.releaseTile = function (e) { this.tiles["delete"](e.key.id), this.disposeTile(e); }, t.prototype.isUpdating = function () { var e = !0; return this.tiles.forEach(function (t) { e = e && t.isReady; }), !e; }, t.prototype.setHighlight = function () {}, t.prototype.invalidateLabels = function () {}, t.prototype.requestUpdate = function () { this.layerView.requestUpdate(); }, o([n.property()], t.prototype, "layer", void 0), o([n.property()], t.prototype, "layerView", void 0), o([n.property()], t.prototype, "tileInfoView", void 0), o([n.property()], t.prototype, "updating", null), t = o([n.subclass("esri.views.2d.layers.features.tileRenderers.BaseTileRenderer")], t); }(n.declared(i.HandleOwner)); t["default"] = p; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/views/2d/layers/support/ExportStrategy.js": /*!******************************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/layers/support/ExportStrategy.js ***! \******************************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dLayersSupportExportStrategyJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__( /*! ../../../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__( /*! ../../../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__( /*! ../../../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__( /*! ../../../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__( /*! ../../../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__( /*! ../../../../core/Accessor */ "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__( /*! ../../../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__( /*! ../../../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__( /*! ../../../../geometry/Extent */ "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__( /*! ../../../../geometry/support/aaBoundingRect */ "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"), __webpack_require__( /*! ../../../../geometry/support/spatialReferenceUtils */ "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__( /*! ../../../../layers/support/TileInfo */ "./node_modules/arcgis-js-api/layers/support/TileInfo.js"), __webpack_require__( /*! ../../engine */ "./node_modules/arcgis-js-api/views/2d/engine.js"), __webpack_require__( /*! ../../viewStateUtils */ "./node_modules/arcgis-js-api/views/2d/viewStateUtils.js"), __webpack_require__( /*! ../../tiling/TileInfoView */ "./node_modules/arcgis-js-api/views/2d/tiling/TileInfoView.js"), __webpack_require__( /*! ../../tiling/TileKey */ "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, a, n, p, s, u, l, c, d, h, g, m, f, y) { var x = c.create(), v = [0, 0], S = new y(0, 0, 0, 0), M = { container: null, fetchSource: null, requestUpdate: null, imageMaxWidth: 2048, imageMaxHeight: 2048, imageRotationSupported: !1, imageNormalizationSupported: !1, hidpi: !1 }; return function (e) { function t(t) { var r = e.call(this, t) || this; return r._imagePromise = null, r.hidpi = M.hidpi, r.imageMaxWidth = M.imageMaxWidth, r.imageMaxHeight = M.imageMaxHeight, r.imageRotationSupported = M.imageRotationSupported, r.imageNormalizationSupported = M.imageNormalizationSupported, r.update = s.debounce(function (e, t) { return i(r, void 0, void 0, function () { var r, i, a, n, p, s, u, l, c, h = this; return o(this, function (o) { return r = e.state, i = d.getInfo(r.spatialReference), a = this.hidpi ? e.pixelRatio : 1, !e.stationary || this.destroyed ? [2] : (this.imageRotationSupported ? (v[0] = r.size[0], v[1] = r.size[1]) : m.getOuterSize(v, r), n = Math.floor(v[0] * a) > this.imageMaxWidth || Math.floor(v[1] * a) > this.imageMaxHeight, p = i && (r.extent.xmin < i.valid[0] || r.extent.xmax > i.valid[1]), s = !this.imageNormalizationSupported && p, u = !n && !s, l = this.imageRotationSupported ? r.rotation : 0, u ? this._imagePromise = this._singleExport(r, v, l, a, t) : (c = Math.min(this.imageMaxWidth, this.imageMaxHeight), s && (c = Math.min(r.worldScreenWidth, c)), this._imagePromise = this._tiledExport(r, c, l, a, t)), [2, this._imagePromise.then(function (e) { h._imagePromise = null; var t = h.container.children.slice(); h.container.removeAllChildren(), e.forEach(h.container.addChild, h.container), h.disposeSource && t.forEach(function (e) { h.disposeSource(e.source); }, h); })["catch"](function (e) { throw h._imagePromise = null, e; })]); }); }); }, 5e3), r; } return a(t, e), t.prototype.destroy = function () {}, Object.defineProperty(t.prototype, "updating", { get: function get() { return null !== this._imagePromise; }, enumerable: !0, configurable: !0 }), t.prototype.updateExports = function (e) { for (var t = 0, r = this.container.children; t < r.length; t++) { var o = r[t]; if (!o.visible || !o.attached) return; e(o) ? console.error("ExportStrategy.updateExports doesn't support promise yet") : (o.invalidateTexture(), o.requestRender()); } }, t.prototype._export = function (e, t, r, o, i, a) { var n = this; return s.resolve().then(function () { return n.fetchSource(e, Math.floor(t * i), Math.floor(r * i), { rotation: o, pixelRatio: i, signal: a }); }).then(function (r) { var a = new g.Bitmap(r); return a.x = e.xmin, a.y = e.ymax, a.resolution = e.width / t, a.rotation = o, a.pixelRatio = i, a; }); }, t.prototype._singleExport = function (e, t, r, o, i) { m.getBBox(x, e.center, e.resolution, t); var a = new l(x[0], x[1], x[2], x[3], e.spatialReference); return this._export(a, t[0], t[1], r, o, i).then(function (e) { return [e]; }); }, t.prototype._tiledExport = function (e, t, r, o, i) { var a = this, n = h.create({ size: t, spatialReference: e.spatialReference, scales: [e.scale] }), p = new f(n), u = p.getTileCoverage(e); if (!u) return null; var c = []; return u.forEach(function (n, s, u, d) { S.set(n, s, u, d), p.getTileBounds(x, S); var h = new l(x[0], x[1], x[2], x[3], e.spatialReference); c.push(a._export(h, t, t, r, o, i)); }), s.all(c); }, n([u.property()], t.prototype, "_imagePromise", void 0), n([u.property()], t.prototype, "container", void 0), n([u.property()], t.prototype, "disposeSource", void 0), n([u.property()], t.prototype, "fetchSource", void 0), n([u.property()], t.prototype, "hidpi", void 0), n([u.property()], t.prototype, "imageMaxWidth", void 0), n([u.property()], t.prototype, "imageMaxHeight", void 0), n([u.property()], t.prototype, "imageRotationSupported", void 0), n([u.property()], t.prototype, "imageNormalizationSupported", void 0), n([u.property()], t.prototype, "requestUpdate", void 0), n([u.property({ dependsOn: ["_imagePromise"] })], t.prototype, "updating", null), t = n([u.subclass("esri.views.2d.layers.support.ExportStrategy")], t); }(u.declared(p)); }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/arcgis-js-api/views/2d/viewStateUtils.js": /*!***************************************************************!*\ !*** ./node_modules/arcgis-js-api/views/2d/viewStateUtils.js ***! \***************************************************************/ /*! no static exports found */ /***/ function node_modulesArcgisJsApiViews2dViewStateUtilsJs(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/4.14/esri/copyright.txt for details. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, n) { function r(t) { return t * i; } function e(t, n, r) { var e = r.resolution, o = r.size; return t[0] = e * (Math.round(n[0] / e) + o[0] % 2 * .5), t[1] = e * (Math.round(n[1] / e) + o[1] % 2 * .5), t; } function o(t, n) { var e = r(n.rotation), o = Math.abs(Math.cos(e)), u = Math.abs(Math.sin(e)), a = n.size, i = a[0], s = a[1]; return t[0] = Math.round(s * u + i * o), t[1] = Math.round(s * o + i * u), t; } function u(t, n, r, e) { var o = n[0], u = n[1], a = e[0], i = e[1], s = .5 * r; return t[0] = o - s * a, t[1] = u - s * i, t[2] = o + s * a, t[3] = u + s * i, t; } function a(t, n) { var r = t[0], e = t[1], o = t[2], u = t[3], a = n[0], i = n[1], s = n[2], M = n[3]; return !(r > s || o < a || e > M || u < i); } Object.defineProperty(n, "__esModule", { value: !0 }); var i = Math.PI / 180; n.snapToPixel = e, n.getOuterSize = o, n.getBBox = u, n.bboxIntersects = a; }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }, /***/ "./node_modules/node-libs-browser/mock/empty.js": /*!******************************************************!*\ !*** ./node_modules/node-libs-browser/mock/empty.js ***! \******************************************************/ /*! no static exports found */ /***/ function node_modulesNodeLibsBrowserMockEmptyJs(module, exports) { /***/ }, /***/ "./node_modules/path-browserify/index.js": /*!***********************************************!*\ !*** ./node_modules/path-browserify/index.js ***! \***********************************************/ /*! no static exports found */ /***/ function node_modulesPathBrowserifyIndexJs(module, exports) { // .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1, // backported and transplited with Babel, with backwards-compat fixes // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to permit // persons to whom the Software is furnished to do so, subject to the // following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. // resolves . and .. elements in a path array with directory names there // must be no slashes, empty elements, or device names (c:\) in the array // (so also no leading and trailing slashes - it does not distinguish // relative and absolute paths) function normalizeArray(parts, allowAboveRoot) { // if the path tries to go above the root, `up` ends up > 0 var up = 0; for (var i = parts.length - 1; i >= 0; i--) { var last = parts[i]; if (last === '.') { parts.splice(i, 1); } else if (last === '..') { parts.splice(i, 1); up++; } else if (up) { parts.splice(i, 1); up--; } } // if the path is allowed to go above the root, restore leading ..s if (allowAboveRoot) { for (; up--; up) { parts.unshift('..'); } } return parts; } // path.resolve([from ...], to) // posix version exports.resolve = function () { var resolvedPath = '', resolvedAbsolute = false; for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { var path = i >= 0 ? arguments[i] : process.cwd(); // Skip empty and invalid entries if (typeof path !== 'string') { throw new TypeError('Arguments to path.resolve must be strings'); } else if (!path) { continue; } resolvedPath = path + '/' + resolvedPath; resolvedAbsolute = path.charAt(0) === '/'; } // At this point the path should be resolved to a full absolute path, but // handle relative paths to be safe (might happen when process.cwd() fails) // Normalize the path resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function (p) { return !!p; }), !resolvedAbsolute).join('/'); return (resolvedAbsolute ? '/' : '') + resolvedPath || '.'; }; // path.normalize(path) // posix version exports.normalize = function (path) { var isAbsolute = exports.isAbsolute(path), trailingSlash = substr(path, -1) === '/'; // Normalize the path path = normalizeArray(filter(path.split('/'), function (p) { return !!p; }), !isAbsolute).join('/'); if (!path && !isAbsolute) { path = '.'; } if (path && trailingSlash) { path += '/'; } return (isAbsolute ? '/' : '') + path; }; // posix version exports.isAbsolute = function (path) { return path.charAt(0) === '/'; }; // posix version exports.join = function () { var paths = Array.prototype.slice.call(arguments, 0); return exports.normalize(filter(paths, function (p, index) { if (typeof p !== 'string') { throw new TypeError('Arguments to path.join must be strings'); } return p; }).join('/')); }; // path.relative(from, to) // posix version exports.relative = function (from, to) { from = exports.resolve(from).substr(1); to = exports.resolve(to).substr(1); function trim(arr) { var start = 0; for (; start < arr.length; start++) { if (arr[start] !== '') break; } var end = arr.length - 1; for (; end >= 0; end--) { if (arr[end] !== '') break; } if (start > end) return []; return arr.slice(start, end - start + 1); } var fromParts = trim(from.split('/')); var toParts = trim(to.split('/')); var length = Math.min(fromParts.length, toParts.length); var samePartsLength = length; for (var i = 0; i < length; i++) { if (fromParts[i] !== toParts[i]) { samePartsLength = i; break; } } var outputParts = []; for (var i = samePartsLength; i < fromParts.length; i++) { outputParts.push('..'); } outputParts = outputParts.concat(toParts.slice(samePartsLength)); return outputParts.join('/'); }; exports.sep = '/'; exports.delimiter = ':'; exports.dirname = function (path) { if (typeof path !== 'string') path = path + ''; if (path.length === 0) return '.'; var code = path.charCodeAt(0); var hasRoot = code === 47 /*/*/ ; var end = -1; var matchedSlash = true; for (var i = path.length - 1; i >= 1; --i) { code = path.charCodeAt(i); if (code === 47 /*/*/ ) { if (!matchedSlash) { end = i; break; } } else { // We saw the first non-path separator matchedSlash = false; } } if (end === -1) return hasRoot ? '/' : '.'; if (hasRoot && end === 1) { // return '//'; // Backwards-compat fix: return '/'; } return path.slice(0, end); }; function basename(path) { if (typeof path !== 'string') path = path + ''; var start = 0; var end = -1; var matchedSlash = true; var i; for (i = path.length - 1; i >= 0; --i) { if (path.charCodeAt(i) === 47 /*/*/ ) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else if (end === -1) { // We saw the first non-path separator, mark this as the end of our // path component matchedSlash = false; end = i + 1; } } if (end === -1) return ''; return path.slice(start, end); } // Uses a mixed approach for backwards-compatibility, as ext behavior changed // in new Node.js versions, so only basename() above is backported here exports.basename = function (path, ext) { var f = basename(path); if (ext && f.substr(-1 * ext.length) === ext) { f = f.substr(0, f.length - ext.length); } return f; }; exports.extname = function (path) { if (typeof path !== 'string') path = path + ''; var startDot = -1; var startPart = 0; var end = -1; var matchedSlash = true; // Track the state of characters (if any) we see before our first dot and // after any path separator we find var preDotState = 0; for (var i = path.length - 1; i >= 0; --i) { var code = path.charCodeAt(i); if (code === 47 /*/*/ ) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; } continue; } if (end === -1) { // We saw the first non-path separator, mark this as the end of our // extension matchedSlash = false; end = i + 1; } if (code === 46 /*.*/ ) { // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { // We saw a non-dot and non-path separator before our dot, so we should // have a good chance at having a non-empty extension preDotState = -1; } } if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot preDotState === 0 || // The (right-most) trimmed path component is exactly '..' preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { return ''; } return path.slice(startDot, end); }; function filter(xs, f) { if (xs.filter) return xs.filter(f); var res = []; for (var i = 0; i < xs.length; i++) { if (f(xs[i], i, xs)) res.push(xs[i]); } return res; } // String.prototype.substr - negative index don't work in IE8 var substr = 'ab'.substr(-1) === 'b' ? function (str, start, len) { return str.substr(start, len); } : function (str, start, len) { if (start < 0) start = str.length + start; return str.substr(start, len); }; /***/ } }]); //# sourceMappingURL=common-es5.js.map