{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/2d/layers/BaseDynamicLayerView2D.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,2BAAsB,CAAC,2BAA4B,CAAC,2BAA0C,CAAC,2BAA2B,CAAC,2BAAe,CAAC,2BAA0B,CAAC,2BAAwB,CAAC,2BAAmC,CAAC,mCAAE,gCAAgC,aAAa,iEAAiE,mBAAmB,aAAa,+CAA+C,uDAAuD,YAAY,gCAAgC,2CAA2C,8BAA8B,iCAAiC,+BAA+B,gHAAgH,wHAAwH,EAAE,+BAA+B,uIAAuI,mCAAmC,oCAAoC,gCAAgC,qBAAqB,6CAA6C,oCAAoC,gCAAgC,EAAE,kCAAkC,kDAAkD,uCAAuC,gCAAgC,GAAG,GAAG,mCAAmC,oDAAoD,sFAAsF,gCAAgC,gHAAgH,gDAAgD;AAAA,oGAAE,C","file":"js/chunk-2d0f0401.f0fb1179.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\",\"../../../core/Logger\",\"../../../core/promiseUtils\",\"../../../core/accessorSupport/decorators\",\"../engine/BitmapContainer\",\"./LayerView2D\",\"./support/ExportStrategy\",\"../../layers/LayerView\",\"../../layers/RefreshableLayerView\"],(function(t,e,r,i,n,o,a,s,p,u,h){\"use strict\";var c=i.getLogger(\"esri.views.2d.layers.BaseDynamicLayerView2D\");return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.hitTest=function(){return null},e.prototype.update=function(t){this.strategy.update(t).catch((function(t){n.isAbortError(t)||c.error(t)})),this.notifyChange(\"updating\")},e.prototype.attach=function(){this._bitmapContainer=new a.BitmapContainer,this.container.addChild(this._bitmapContainer),this.strategy=new p({container:this._bitmapContainer,fetchSource:this.fetchBitmapData.bind(this),requestUpdate:this.requestUpdate.bind(this)})},e.prototype.detach=function(){this.strategy.destroy(),this.strategy=null,this.container.removeChild(this._bitmapContainer),this._bitmapContainer.removeAllChildren()},e.prototype.moveStart=function(){},e.prototype.viewChange=function(){},e.prototype.moveEnd=function(){this.requestUpdate()},e.prototype.fetchBitmapData=function(t,e,r){return this.layer.fetchImage(t,e,r,{timestamp:this.refreshTimestamp})},e.prototype.doRefresh=function(){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){return this.requestUpdate(),[2]}))}))},e.prototype.isUpdating=function(){return this.strategy.updating||this.updateRequested},r.__decorate([o.property()],e.prototype,\"strategy\",void 0),r.__decorate([o.property({dependsOn:[\"strategy.updating\"]})],e.prototype,\"updating\",void 0),e=r.__decorate([o.subclass(\"esri.views.2d.layers.BaseDynamicLayerView2D\")],e)}(h.RefreshableLayerView(s.LayerView2DMixin(u)))}));"],"sourceRoot":""}