/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{deepMerge as e}from"../../core/object.js";import{createTypeReader as r}from"../../core/accessorSupport/extensions/serializableProperty/reader.js";import t from"../../symbols/PolygonSymbol3D.js";import o from"../../symbols/Symbol.js";import{write as s}from"../../symbols/support/jsonUtils.js";import{symbolTypesRenderer3D as i,symbolTypes as p,symbolTypesRenderer as l}from"../../symbols/support/typeUtils.js";const y={types:l,json:{write:{writer:s},origins:{"web-scene":{types:i,write:{writer:s},read:{reader:r({types:i})}}}}},m=e({json:{origins:{"web-scene":{write:{isRequired:!0}}}}},y),n={types:{base:o,key:"type",typeMap:{"simple-fill":p.typeMap["simple-fill"],"picture-fill":p.typeMap["picture-fill"],"polygon-3d":p.typeMap["polygon-3d"],cim:p.typeMap.cim}},json:{write:{writer:s},origins:{"web-scene":{type:t,write:{writer:s}}}}},a={cast:e=>null==e||"string"==typeof e||"number"==typeof e?e:`${e}`,json:{type:String,write:{writer:(e,r)=>{r.value=e?.toString()}}}};export{n as rendererBackgroundFillSymbolProperty,y as rendererSymbolProperty,m as requiredRendererSymbolProperty,a as uniqueValueProperty};
