import{executeQuery as r,executeCount as e}from"../../support/_graphicsQuery.js";import{isGraphicsLayer as s}from"../../utilities/_layers.js";import{QueryProviderBase as t}from"./QueryProviderBase.js";export class GraphicsLayerQueryProvider extends t{isSupported(r){const{layer:e}=r;return s(e)&&r.capabilities.supportsQuery}_query(e,s,t){const i=e.layer;return r(s,e,i.graphics,t)}_count(r,s,t){const i=r.layer;return e(s,r,i.graphics,t)}}