/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../../chunks/_rollupPluginBabelHelpers","../support/FeatureSet","../support/IdSet","../support/shared"],(function(t,e,n,r){"use strict";let u=function(e){function u(t){var u;return(u=e.call(this,t)||this).declaredClass="esri.layers.featureset.sources.Empty",u._maxProcessing=1e3,u._wset=new n([],[],!1,null),u._parent=t.parentfeatureset,u._databaseType=r.FeatureServiceDatabaseType.Standardised,u}t._inheritsLoose(u,e);var a=u.prototype;return a._getSet=function(){var e=t._asyncToGenerator((function*(){return this._wset}));function n(){return e.apply(this,arguments)}return n}(),a.optimisePagingFeatureQueries=function(){},a._isInFeatureSet=function(){return r.IdState.NotInFeatureSet},a._getFeature=function(){var e=t._asyncToGenerator((function*(){throw new Error("No Feature Found in EmptySet")}));function n(){return e.apply(this,arguments)}return n}(),a.queryAttachments=function(){var e=t._asyncToGenerator((function*(){return[]}));function n(){return e.apply(this,arguments)}return n}(),a._getFeatures=function(){var e=t._asyncToGenerator((function*(){return"success"}));function n(){return e.apply(this,arguments)}return n}(),a._featureFromCache=function(){return null},a._fetchAndRefineFeatures=function(){var e=t._asyncToGenerator((function*(){throw new Error("Fetch and Refine should not be called in this featureset")}));function n(){return e.apply(this,arguments)}return n}(),a._getFilteredSet=function(){var e=t._asyncToGenerator((function*(){return new n([],[],!1,null)}));function r(){return e.apply(this,arguments)}return r}(),a._stat=function(t,e,n,r,u,a,o){return this._manualStat(t,e,a,o)},a._canDoAggregates=function(){var e=t._asyncToGenerator((function*(){return!1}));function n(){return e.apply(this,arguments)}return n}(),u}(e);return u}));
