// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define(["dojo/_base/declare","dojo/_base/lang","dojo/Deferred","dojo/promise/all","./LayerInfoForDefault"],function(e,f,g,h,k){return e(k,{getSupportTableInfo:function(){var d=new g,a={isSupportedLayer:!1,isSupportQuery:!0,layerType:null,otherReasonCanNotSupport:!0},l=this.getLayerType(),m=this.getLayerObject();h({type:l,layerObject:m}).then(f.hitch(this,function(b){var c=b.type;b=b.layerObject;a.layerType=c;0<=this._getLayerTypesOfSupportTable().indexOf(c)&&(a.isSupportedLayer=!0);(c=b.getLatestObservations())&&
0<c.length&&(a.otherReasonCanNotSupport=!1);d.resolve(a)}),function(){d.resolve(a)});return d}})});