{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/post-processing/Bloom.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,2BAAsB,CAAC,2BAAoB,CAAC,mCAAE,kBAAkB,aAAa,sCAAsC,SAAS,iBAAiB,qFAAqF,aAAa,iKAAiK,oBAAoB,0FAA0F,cAAc,eAAe,oFAAoF,cAAc,YAAY,iFAAiF,cAAc,OAAO,sEAAsE,gBAAgB,sCAAsC,4NAA4N,YAAY,cAAc,qGAAqG,qBAAqB,kCAAkC,6LAA6L,iMAAiM,iBAAiB,+CAA+C,2CAA2C,4OAA4O,wCAAwC,oHAAoH,8CAA8C,cAAc,KAAK,sCAAsC,6CAA6C,GAAG,wKAAwK,wBAAwB,4OAA4O,uBAAuB,mCAAmC,uBAAuB,GAAG,2sBAA2sB,6BAA6B,kMAAkM,kDAAkD,4FAA4F,8DAA8D,gCAAgC,wCAAwC,gGAAgG,oDAAoD,wGAAwG,0DAA0D,EAAE,kIAAkI,EAAE,YAAY,cAAc,uIAAuI,sCAAsC,0DAA0D,EAAE,kIAAkI,sCAAsC,0DAA0D,EAAE,kIAAkI,EAAE,kDAAkD,GAAG,GAAG,UAAU;AAAA,oGAAE,C","file":"js/chunk-2d2172a8.9276395a.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\",\"../../../../../webgl\",\"../../VertexStream\"],(function(t,e,i,s){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.Bloom=void 0;var r=[1,0],o=[0,1],n=[1,.8,.6,.4,.2],a=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],u=function(){function t(){this._intensityFBO=null,this._compositeFBO=null,this._mipsFBOs=new Array(5),this._nMips=5,this._kernelSizeArray=[3,5,7,9,11],this._size=[0,0],this._programDesc={luminosityHighPass:{vsPath:\"post-processing/pp\",fsPath:\"post-processing/bloom/luminosityHighPass\",attributes:{a_position:0}},gaussianBlur:{vsPath:\"post-processing/pp\",fsPath:\"post-processing/bloom/gaussianBlur\",attributes:{a_position:0}},composite:{vsPath:\"post-processing/pp\",fsPath:\"post-processing/bloom/composite\",attributes:{a_position:0}},blit:{vsPath:\"post-processing/pp\",fsPath:\"post-processing/blit\",attributes:{a_position:0}}}}return t.prototype.dispose=function(){if(this._quad&&(this._quad.dispose(),this._quad=null),this._intensityFBO&&(this._intensityFBO.dispose(),this._intensityFBO=null),this._compositeFBO&&(this._compositeFBO.dispose(),this._compositeFBO=null),this._mipsFBOs){for(var t=0;t