/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{createComplexSymbolInstances as e}from"../../features/schema/processor/symbols/ComplexSymbolSchema.js";import{dimensionSymbols as i}from"./dimensionSymbols.js";import{getStyleCollection as n}from"./utils.js";async function r(e,i){const r=n(e),l={};for(const n of r){l[n.iD??0]=await s(n,i)}return{type:"dimension-feature",meshes:l}}async function s(n,r){const s=i.processDimensionStyle(n),l={schemaOptions:r,uniforms:{visualVariableColor:null,visualVariableOpacity:null,visualVariableRotation:null,visualVariableSizeStops:null,visualVariableSizeScaleStops:null,visualVariableSizeOutlineScaleStops:null,visualVariableSizeUnitValue:null,visualVariableSizeMinMaxValue:null}};return{beginDimensionLine:await e({type:"CIMSymbolReference",primitiveOverrides:s.primitiveOverrides,symbol:s.beginDimensionLineSymbol},l),endDimensionLine:await e({type:"CIMSymbolReference",primitiveOverrides:s.primitiveOverrides,symbol:s.endDimensionLineSymbol},l),beginExtensionLine:await e({type:"CIMSymbolReference",primitiveOverrides:s.primitiveOverrides,symbol:s.beginExtensionLineSymbol},l),endExtensionLine:await e({type:"CIMSymbolReference",primitiveOverrides:s.primitiveOverrides,symbol:s.endExtensionLineSymbol},l),textPoint:await e({type:"CIMSymbolReference",primitiveOverrides:s.primitiveOverrides,symbol:s.textSymbol},l)}}export{r as getStyleMatcherSchemas};
