/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../chunks/_rollupPluginBabelHelpers","../../../core/Error","../../../core/maybe","../../../renderers/support/rasterRendererHelper","../support/utils"],(function(e,r,t,n,o,s){"use strict";function a(e){return l.apply(this,arguments)}function l(){return(l=r._asyncToGenerator((function*(e){e=yield s.processRasterRendererParameters(e);const r=o.createColormapRenderer(e.layer.rasterInfo);if(n.isNone(r))throw new t("raster-colormap-renderer:not-supported","Only single band data with colormap is supported");return{renderer:r}}))).apply(this,arguments)}e.createRenderer=a,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
