import{getLogger as e}from"../utilities/log.js";const o=e("symbol");export function isVolumetric(e){return isSymbol3D(e)&&e.symbolLayers.some((e=>"object"===e.type||"path"===e.type||"extrude"===e.type))}const l=/^esri\.symbols\.\w+Symbol(3D)?$/;export function isSymbol(e){return l.test(e?.declaredClass)}export function isCIMSymbol(e){return"esri.symbols.CIMSymbol"===e?.declaredClass}export function isCIMPointSymbol(e){return isCIMSymbol(e)&&"CIMPointSymbol"===e.data.symbol?.type}export function isCIMLineSymbol(e){return isCIMSymbol(e)&&"CIMLineSymbol"===e.data.symbol?.type}export function isCIMPolygonSymbol(e){return isCIMSymbol(e)&&"CIMPolygonSymbol"===e.data.symbol?.type}export function isCimSymbol(e){return o.warn("isCimSymbol is deprecated and will be removed in a future version. Use isCIMSymbol instead."),isCIMSymbol(e)}export function isLabelSymbol3D(e){return"esri.symbols.LabelSymbol3D"===e?.declaredClass}export function isLineSymbol3D(e){return"esri.symbols.LineSymbol3D"===e?.declaredClass}export function isMeshSymbol3D(e){return"esri.symbols.MeshSymbol3D"===e?.declaredClass}export function isPictureFillSymbol(e){return"esri.symbols.PictureFillSymbol"===e?.declaredClass}export function isPictureMarkerSymbol(e){return"esri.symbols.PictureMarkerSymbol"===e?.declaredClass}export function isPointSymbol3D(e){return"esri.symbols.PointSymbol3D"===e?.declaredClass}export function isPolygonSymbol3D(e){return"esri.symbols.PolygonSymbol3D"===e?.declaredClass}export function isSimpleFillSymbol(e){return"esri.symbols.SimpleFillSymbol"===e?.declaredClass}export function isSimpleLineSymbol(e){return"esri.symbols.SimpleLineSymbol"===e?.declaredClass}export function isSimpleMarkerSymbol(e){return"esri.symbols.SimpleMarkerSymbol"===e?.declaredClass}export function isWebStyleSymbol(e){return"esri.symbols.WebStyleSymbol"===e?.declaredClass}export function isTextSymbol(e){return"esri.symbols.TextSymbol"===e?.declaredClass}export function isSymbol3D(e){return isPointSymbol3D(e)||isLineSymbol3D(e)||isPolygonSymbol3D(e)||isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPointGeometrySymbol(e){return isSimpleMarkerSymbol(e)||isPictureMarkerSymbol(e)||isWebStyleSymbol(e)||isTextSymbol(e)||isCIMSymbol(e)||isPointSymbol3D(e)||isLabelSymbol3D(e)}export function isMeshGeometrySymbol(e){return isMeshSymbol3D(e)||isLabelSymbol3D(e)}export function isPolylineGeometrySymbol(e){return isSimpleLineSymbol(e)||isTextSymbol(e)||isCIMSymbol(e)||isLineSymbol3D(e)||isLabelSymbol3D(e)}export function isPolygonGeometrySymbol(e){return isSimpleFillSymbol(e)||isPictureFillSymbol(e)||isSimpleMarkerSymbol(e)||isTextSymbol(e)||isCIMSymbol(e)||isPolygonSymbol3D(e)||isLabelSymbol3D(e)}export function isIconSymbol3DLayer(e){return"esri.symbols.IconSymbol3DLayer"===e?.declaredClass}export function isObjectSymbol3DLayer(e){return"esri.symbols.ObjectSymbol3DLayer"===e?.declaredClass}export function isPathSymbol3DLayer(e){return"esri.symbols.PathSymbol3DLayer"===e?.declaredClass}export function isLineSymbol3DLayer(e){return"esri.symbols.LineSymbol3DLayer"===e?.declaredClass}export function isFillSymbol3DLayer(e){return"esri.symbols.FillSymbol3DLayer"===e?.declaredClass}export function isExtrudeSymbol3DLayer(e){return"esri.symbols.ExtrudeSymbol3DLayer"===e?.declaredClass}