import{isSceneLayer as e}from"../../utilities/_layers.js";import{isWebScene as r}from"../../utilities/mapping.js";import{ClientSideQueryProvider as t}from"./ClientSideQueryProvider.js";export class SceneLayerClientSideQueryProvider extends t{isSupported(t){const i=!!t._layerView&&r(t.mapExtension?.map),{layer:a}=t;return e(a)&&i&&(t.enableClientSideData||!t.layer.associatedLayer)}_createQuery(e,r,t){const i=super._createQuery(e,r,t);return"mesh"===e.layer.geometryType&&(i.returnGeometry=!1),i}}