{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/2d/layers/BitmapTileLayerView2D.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/BitmapTileContainer.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/ClippingInfo.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/ImageryBitmapSource.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/ClipArea.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/Bitmap.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/Mesh2D.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/Geometry.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/TileContainer.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/Path.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/BitmapTile.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/LayerView2D.js","webpack:///./node_modules/arcgis-js-api/views/layers/support/ClipRect.js","webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLContainer.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,2BAA0C,CAAC,2BAA+B,CAAC,mCAAE,oBAAoB,aAAa,sCAAsC,SAAS,qEAAqE,mBAAmB,aAAa,+CAA+C,sDAAsD,iLAAiL,+BAA+B,kFAAkF,8EAA8E,KAAK;AAAA,oGAAE,C;;;;;;;ACxBlwB;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,2BAA0C,CAAC,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GAAmG,GAAG,0CAA0C,4BAA4B,WAAW,KAAK,sBAAsB,iCAAiC,2DAA2D,iCAAiC,2DAA2D,4CAA4C,WAAW,4EAA4E,mBAAmB,yCAAyC,kBAAkB,qEAAqE,yCAAyC,0BAA0B,GAAG,cAAc,YAAY;AAAA,oGAAE,C","file":"js/chunk-62f327d1.0df127a0.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/accessorSupport/decorators\",\"../engine/BitmapTileContainer\"],(function(e,i,t,r,n){\"use strict\";Object.defineProperty(i,\"__esModule\",{value:!0}),i.BitmapTileLayerView2D=void 0,i.BitmapTileLayerView2D=function(e){return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return t.__extends(i,e),i.prototype.attach=function(){this.view.timeline.record(this.layer.title+\" (BitmapTileLayer) Attach\"),this._bitmapView=new n.BitmapTileContainer(this._tileInfoView),this.container.addChild(this._bitmapView)},i.prototype.detach=function(){this.container.removeChild(this._bitmapView),this._bitmapView.removeAllChildren()},i=t.__decorate([r.subclass(\"esri.views.2d.layers.BitmapTileLayerView2D\")],i)}(e)}}));","// 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/support/aaBoundingRect\",\"./BitmapTile\",\"./brushes\",\"./webgl/enums\",\"./webgl/TileContainer\"],(function(e,t,r,i,n,s,a,o){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.BitmapTileContainer=void 0;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.createTile=function(e){var t=this._tileInfoView.getTileBounds(i.create(),e);return new n.BitmapTile(e,t,this._tileInfoView.tileInfo.size)},t.prototype.destroyTile=function(){},t.prototype.prepareRenderPasses=function(t){var i=this,n=t.registerRenderPass({name:\"bitmap (tile)\",brushes:[s.brushes.bitmap],target:function(){return i.children.map((function(e){return e.bitmap}))},drawPhase:a.WGLDrawPhase.MAP});return r.__spreadArrays(e.prototype.prepareRenderPasses.call(this,t),[n])},t.prototype.doRender=function(t){this.visible&&t.drawPhase===a.WGLDrawPhase.MAP&&e.prototype.doRender.call(this,t)},t}(o.default);t.BitmapTileContainer=p}));","// 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/Error\",\"../../../../core/Logger\",\"../../../../core/maybe\",\"../DisplayObject\",\"./Mesh2D\",\"../../../webgl/VertexArrayObject\"],(function(e,t,r,i,o,s,a,c,h){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var n=o.getLogger(\"esri.views.2d.engine.webgl.ClippingInfo\"),p=function(e){return parseFloat(e)/100},f=function(e){function t(t,r){var i=e.call(this)||this;return i._clip=r,i._cache={},i.stage=t,i._handle=r.watch(\"version\",(function(){return i._invalidate()})),i.ready(),i}return r.__extends(t,e),t.fromClipArea=function(e,r){return new t(e,r)},t.prototype._destroyGL=function(){s.isSome(this._cache.mesh)&&(this._cache.mesh.destroy(),this._cache.mesh=null),s.isSome(this._cache.vao)&&(this._cache.vao.dispose(),this._cache.vao=null)},t.prototype.destroy=function(){this._destroyGL(),this._handle.remove()},t.prototype.getVAO=function(e,t,r,i){var o=t.size,a=o[0],c=o[1];if(\"geometry\"!==this._clip.type&&this._lastWidth===a&&this._lastHeight===c||(this._lastWidth=a,this._lastHeight=c,this._destroyGL()),s.isNone(this._cache.vao)){var n=this._createMesh(t,this._clip),p=n.getIndexBuffer(e),f=n.getVertexBuffers(e);this._cache.mesh=n,this._cache.vao=new h(e,r,i,f,p)}return this._cache.vao},t.prototype._invalidate=function(){this._destroyGL(),this.requestRender()},t.prototype._createScreenRect=function(e,t){var r=e.size,i=r[0],o=r[1],s=\"string\"==typeof t.left?p(t.left)*i:t.left,a=\"string\"==typeof t.right?p(t.right)*i:t.right,c=\"string\"==typeof t.top?p(t.top)*o:t.top,h=\"string\"==typeof t.bottom?p(t.bottom)*o:t.bottom,n=s,f=c;return{x:n,y:f,width:Math.max(i-a-n,0),height:Math.max(o-h-f,0)}},t.prototype._createMesh=function(e,t){switch(t.type){case\"rect\":return c.default.fromRect(this._createScreenRect(e,t));case\"path\":return c.default.fromPath(t);case\"geometry\":return c.default.fromGeometry(e,t);default:return n.error(new i(\"mapview-bad-type\",\"Unable to create ClippingInfo mesh from clip of type: ${clip.type}\")),c.default.fromRect({x:0,y:0,width:1,height:1})}},t}(a.DisplayObject);t.default=f}));","// 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\"],(function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var i=function(){function e(e,t,i){this.pixelBlock=e,this.extent=t,this.originalPixelBlock=i}return Object.defineProperty(e.prototype,\"width\",{get:function(){return this.pixelBlock?this.pixelBlock.width:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"height\",{get:function(){return this.pixelBlock?this.pixelBlock.height:0},enumerable:!1,configurable:!0}),e.prototype.render=function(e){var t=this.pixelBlock;if(t){var i=this.filter({pixelBlock:t}),l=i.pixelBlock.getAsRGBA(),r=e.createImageData(i.pixelBlock.width,i.pixelBlock.height);r.data.set(l),e.putImageData(r,0,0)}},e.prototype.getRenderedRasterPixels=function(){var e=this.filter({pixelBlock:this.pixelBlock});return{width:e.pixelBlock.width,height:e.pixelBlock.height,renderedRasterPixels:new Uint8Array(e.pixelBlock.getAsRGBA().buffer)}},e}();t.default=i}));","// 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/JSONSupport\",\"../../../core/accessorSupport/decorators\"],(function(r,e,t,s,o){\"use strict\";return function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return t.__extends(e,r),e=t.__decorate([o.subclass(\"esri.views.layers.support.ClipArea\")],e)}(s.JSONSupport)}));","// 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/libs/gl-matrix-2/mat3\",\"../../../core/libs/gl-matrix-2/mat3f32\",\"../../../core/libs/gl-matrix-2/vec2f32\",\"../../webgl\",\"./DisplayObject\",\"./ImageryBitmapSource\"],(function(t,e,i,r,n,s,o,a,u){\"use strict\";function h(t,e,i){var r={target:3553,pixelFormat:6408,internalFormat:6408,dataType:5121,wrapMode:33071};return e&&i&&(r.width=e,r.height=i),new o.Texture(t,r)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.Bitmap=void 0;var c=function(t){function e(e,i){void 0===e&&(e=null),void 0===i&&(i=!0);var r=t.call(this)||this;return r.requestRenderOnSourceChangedEnabled=i,r._textureInvalidated=!0,r.stencilRef=0,r.coordScale=[1,1],r._height=void 0,r.pixelRatio=1,r.resolution=0,r.rotation=0,r._source=null,r._width=void 0,r.x=0,r.y=0,r.transforms={dvs:n.mat3f32.create()},r.source=e,r.requestRender=r.requestRender.bind(r),r}return i.__extends(e,t),Object.defineProperty(e.prototype,\"isSourceScaled\",{get:function(){return this.width!==this.sourceWidth||this.height!==this.sourceHeight},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"height\",{get:function(){return void 0!==this._height?this._height:this.sourceHeight},set:function(t){this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"source\",{get:function(){return this._source},set:function(t){this._source=t,this.invalidateTexture()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"sourceHeight\",{get:function(){return this._source instanceof HTMLImageElement?this._source.naturalHeight:this._source.height},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"sourceWidth\",{get:function(){return this._source instanceof HTMLImageElement?this._source.naturalWidth:this._source.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,\"width\",{get:function(){return void 0!==this._width?this._width:this.sourceWidth},set:function(t){this._width=t},enumerable:!1,configurable:!0}),e.prototype.invalidateTexture=function(){this._textureInvalidated||(this._textureInvalidated=!0,this.requestRenderOnSourceChangedEnabled&&this.requestRender())},e.prototype.setTransform=function(t){var e=r.mat3.identity(this.transforms.dvs),i=t.toScreenNoRotation([0,0],this.x,this.y),n=i[0],o=i[1],a=this.resolution/this.pixelRatio/t.resolution,u=a*this.width,h=a*this.height,c=Math.PI*this.rotation/180;r.mat3.translate(e,e,s.vec2f32.fromValues(n,o)),r.mat3.translate(e,e,s.vec2f32.fromValues(u/2,h/2)),r.mat3.rotate(e,e,-c),r.mat3.translate(e,e,s.vec2f32.fromValues(-u/2,-h/2)),r.mat3.scaleByVec2(e,e,s.vec2f32.fromValues(u,h)),r.mat3.multiply(this.transforms.dvs,t.displayViewMat3,e)},e.prototype.setSamplingProfile=function(t){this._texture&&(t.mips&&!this._texture.descriptor.hasMipmap&&this._texture.generateMipmap(),this._texture.setSamplingMode(t.samplingMode))},e.prototype.bind=function(t,e){var i=t.context;this._texture&&i.bindTexture(this._texture,e)},e.prototype.updateTexture=function(t){var e,i=t.context;if(!this.stage)return null===(e=this._texture)||void 0===e||e.dispose(),void(this._texture=null);if(this._textureInvalidated){this._textureInvalidated=!1,this._texture||(this.source?this._texture=h(i,this.sourceWidth,this.sourceHeight):this._texture=h(i));var r=this.source;if(r){if(this._texture.resize(this.sourceWidth,this.sourceHeight),function(t){return t&&\"render\"in t}(r))if(r instanceof u.default){var n=r.getRenderedRasterPixels();this._texture.setData(n.renderedRasterPixels)}else this._texture.setData(function(t){var e=document.createElement(\"canvas\");return e.width=t.width,e.height=t.height,t.render(e.getContext(\"2d\")),e}(r));else(function(t){return t&&!(\"render\"in t)})(r)&&this._texture.setData(r);this.ready()}else this._texture.setData(null)}},e.prototype.onAttach=function(){this.invalidateTexture()},e.prototype.onDetach=function(){this.invalidateTexture()},e}(a.DisplayObject);e.Bitmap=c}));","// 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/Error\",\"../../../../core/Logger\",\"../../../../core/maybe\",\"../../../../core/libs/earcut/earcut\",\"../../../../core/libs/gl-matrix-2/vec2\",\"../../../../core/libs/gl-matrix-2/vec2f64\",\"../../../../layers/graphics/featureConversionUtils\",\"../../../../layers/graphics/OptimizedGeometry\",\"./number\",\"../../../webgl/BufferObject\"],(function(e,r,t,n,o,i,c,a,f,s,u,h,y){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var m=o.getLogger(\"esri.views.2d.engine.webgl.Mesh2D\"),g=function(e,r,t,n){for(var o=0,i=1;i0:o<0},v=function(e,r){for(var t=e.coords,n=e.lengths,o=[],i=0,a=0;i=o&&(a=!0),t=r&&a}return t},t.prototype.requestUpdate=function(){this.updateRequested||(this.updateRequested=!0,this.suspended||this.view.requestUpdate())},t.prototype.processUpdate=function(e){!this.isFulfilled()||this.isResolved()?(this._set(\"updateParameters\",e),this.updateRequested&&!this.suspended&&(this.updateRequested=!1,this.update(e))):this.updateRequested=!1},t.prototype.isUpdating=function(){return!1},t.prototype.isRendering=function(){return!1},t.prototype.canResume=function(){return!!e.prototype.canResume.call(this)&&this.isVisibleAtScale(this.view.scale)},i.__decorate([a.property({type:l,set:function(e){var t=o.referenceSetter(e,this._get(\"clips\"),l);this._set(\"clips\",t)}})],t.prototype,\"clips\",void 0),i.__decorate([a.property()],t.prototype,\"moving\",void 0),i.__decorate([a.property()],t.prototype,\"attached\",void 0),i.__decorate([a.property()],t.prototype,\"container\",void 0),i.__decorate([a.property({dependsOn:[\"view.scale\",\"layer.minScale\",\"layer.maxScale\"]})],t.prototype,\"suspended\",void 0),i.__decorate([a.property({readOnly:!0})],t.prototype,\"updateParameters\",void 0),i.__decorate([a.property()],t.prototype,\"updateRequested\",void 0),i.__decorate([a.property({dependsOn:[\"attached\",\"updateRequested\",\"suspended\"]})],t.prototype,\"updating\",null),i.__decorate([a.property()],t.prototype,\"view\",void 0),t=i.__decorate([a.subclass(\"esri.views.2d.layers.LayerView2D\")],t)}(e)}}));","// 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/accessorSupport/decorators\",\"./ClipArea\"],(function(t,e,r,o,p){\"use strict\";return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=\"rect\",e.left=null,e.right=null,e.top=null,e.bottom=null,e}var p;return r.__extends(e,t),p=e,e.prototype.clone=function(){return new p({left:this.left,right:this.right,top:this.top,bottom:this.bottom})},Object.defineProperty(e.prototype,\"version\",{get:function(){return(this._get(\"version\")||0)+1},enumerable:!1,configurable:!0}),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"left\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"right\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"top\",void 0),r.__decorate([o.property({type:[Number,String],json:{write:!0}})],e.prototype,\"bottom\",void 0),r.__decorate([o.property({readOnly:!0,dependsOn:[\"left\",\"right\",\"top\",\"bottom\"]})],e.prototype,\"version\",null),e=p=r.__decorate([o.subclass(\"esri.views.layers.support.ClipRect\")],e)}(p)}));","// 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/has\",\"../../../../core/maybe\",\"../brushes\",\"../Container\",\"./ClippingInfo\",\"./enums\"],(function(e,t,r,n,i,s,o,a,p){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.name=t.constructor.name,t}return r.__extends(t,e),Object.defineProperty(t.prototype,\"clips\",{set:function(e){this._clips=e,this.children.forEach((function(t){return t.clips=e})),this._updateClippingInfo()},enumerable:!1,configurable:!0}),t.prototype.doRender=function(e){this.updateTransitionProperties(e.deltaTime);var t=this.createRenderParams(e),r=t.painter,n=t.globalOpacity,i=t.profiler,s=t.drawPhase===p.WGLDrawPhase.LABEL?1:n*this.computedOpacity;i.recordContainerStart(this.name),r.beforeRenderLayer(t,this._clippingInfos?255:0,s),this.updateTransforms(e.state),this.renderChildren(t),r.compositeLayer(t,s),i.recordContainerEnd()},t.prototype.renderChildren=function(e){i.isNone(this._renderPasses)&&(this._renderPasses=this.prepareRenderPasses(e.painter));for(var t=0,r=this._renderPasses;t