// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.7/esri/copyright.txt for details. //>>built define("require exports ../core/tsSupport/extendsHelper ../core/tsSupport/decorateHelper ../core/typescript ./core/errorMessages ./core/ExtensionConfigurationBase".split(" "),function(m,n,h,f,g,k,l){return function(e){function b(){var a=null!==e&&e.apply(this,arguments)||this;a.config=null;return a}h(b,e);b.prototype._initializeResponseReceived=function(a){var c=this;return this.inherited(arguments).then(function(){c.config.dataSourceConfigs||(c.config.dataSourceConfigs=[])})};b.prototype._messageReceived= function(a){switch(a.functionName.toLowerCase()){case "datasourceselected":return this._dataSourceSelectionChanged(a.args);case "mapWidgetSelected":return this._mapWidgetSelectionChanged(a.args.mapWidgetId)}};b.prototype.getDataSourceConfig=function(a){if(!this._isHostInitialized())throw Error(k.hostNotReady);var c=a;"object"===typeof a&&(c=a.id);for(a=0;a