{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/layers/support/RasterWorker.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,2BAAO,CAAC,2BAAgB,CAAC,2BAAyB,CAAC,4BAAc,CAAC,2BAA6B,CAAC,2BAA8B,CAAC,2BAA0C,CAAC,mCAAE,4BAA4B,aAAa,kBAAkB,cAAc,sCAAsC,kDAAkD,MAAM,uCAAuC,gBAAgB,4CAA4C,2CAA2C,GAAG,GAAG,mCAAmC,yFAAyF,mCAAmC,gCAAgC,0CAA0C,kDAAkD,uCAAuC,6MAA6M,GAAG,GAAG,iCAAiC,iFAAiF,gCAAgC,4CAA4C,kDAAkD,UAAU,uCAAuC,2CAA2C,uBAAuB,iKAAiK,GAAG,GAAG,GAAG,GAAG;AAAA,oGAAE,C","file":"js/chunk-2d0ba8fc.3b86fee6.js","sourcesContent":["// COPYRIGHT © 2020 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../geometry\",\"../../core/promiseUtils\",\"./PixelBlock\",\"./rasterFormats/RasterCodec\",\"./rasterFunctions/pixelUtils\",\"../../renderers/support/RasterSymbolizer\"],(function(r,e,t,o,i,n,s,a,c){\"use strict\";return function(){function r(){}return r.prototype.decode=function(r){return t.__awaiter(this,void 0,void 0,(function(){var e;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,s.decode(r.data,r.options)];case 1:return[2,(e=t.sent())&&e.toJSON()]}}))}))},r.prototype.symbolize=function(r){r.pixelBlock=n.fromJSON(r.pixelBlock),r.extent=r.extent?o.Extent.fromJSON(r.extent):null;var e=this.symbolizer.symbolize(r);return i.resolve(e&&e.toJSON())},r.prototype.updateSymbolizer=function(r){return t.__awaiter(this,void 0,void 0,(function(){return t.__generator(this,(function(e){return this.symbolizer=c.fromJSON(r.symbolizerJSON),r.histograms&&this.symbolizer&&this.symbolizer.renderer&&\"histograms\"in this.symbolizer.renderer&&(this.symbolizer.renderer.histograms=r.histograms),[2]}))}))},r.prototype.stretch=function(r){var e=this.symbolizer.simpleStretch(n.fromJSON(r.srcPixelBlock),r.stretchParams);return i.resolve(e&&e.toJSON())},r.prototype.mosaicAndTransform=function(r){return t.__awaiter(this,void 0,void 0,(function(){var e,o,i;return t.__generator(this,(function(t){return e=r.srcPixelBlocks.map((function(r){return r?new n(r):null})),o=a.mosaic(e,r.srcMosaicSize),r.coefs?[2,(i=a.approximateTransform(o,r.destDimension,r.coefs,r.sampleSpacing,r.interpolation))&&i.toJSON()]:[2,o&&o.toJSON()]}))}))},r}()}));"],"sourceRoot":""}