/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../chunks/_rollupPluginBabelHelpers","../../chunks/tslib.es6","../../core/jsonMap","../../core/JSONSupport","../../core/urlUtils","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/enumeration","../../core/accessorSupport/decorators/reader","../../core/accessorSupport/decorators/subclass","../../core/accessorSupport/decorators/writer","../../chunks/persistableUrlUtils"],(function(e,r,o,t,c,s,a,i,n,u,p,l,y,d,f){"use strict";var S;const h=t.strict()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});e.IconSymbol3DLayerResource=S=function(e){function o(r){return e.call(this,r)||this}r._inheritsLoose(o,e);var t=o.prototype;return t.readHref=function(e,r,o){return e?f.fromJSON(e,o):r.dataURI},t.writeHref=function(e,r,o,t){e&&(s.isDataProtocol(e)?r.dataURI=e:(r.href=f.toJSON(e,t),s.isAbsolute(r.href)&&(r.href=s.normalize(r.href))))},t.clone=function(){return new S({href:this.href,primitive:this.primitive})},o}(c.JSONSupport),o.__decorate([a.property({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],e.IconSymbol3DLayerResource.prototype,"href",void 0),o.__decorate([l.reader("href")],e.IconSymbol3DLayerResource.prototype,"readHref",null),o.__decorate([d.writer("href",{href:{type:String},dataURI:{type:String}})],e.IconSymbol3DLayerResource.prototype,"writeHref",null),o.__decorate([p.enumeration(h)],e.IconSymbol3DLayerResource.prototype,"primitive",void 0),e.IconSymbol3DLayerResource=S=o.__decorate([y.subclass("esri.symbols.support.IconSymbol3DLayerResource")],e.IconSymbol3DLayerResource);const m="circle";e.defaultPrimitive=m,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
