@arcgis/core 5.1.0-next.130 → 5.1.0-next.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{993fee0e91303eb1f01f.js → 1a094eabd7509a188953.js} +1 -1
  3. package/assets/esri/core/workers/chunks/{f321eaf3390ab443b14c.js → 2d7a4b669804d0c5029b.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{b5017e83a99a8051f212.js → 35e9635784595b1d6635.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{d2e94ecf08a56dd43311.js → 48a59c621477f9bac915.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{fc4641f3c93f43c8c193.js → 530cf0964d55410ffb56.js} +2 -2
  7. package/assets/esri/core/workers/chunks/{6af021050d5d04be7a20.js → 77d896325dffe574d248.js} +1 -1
  8. package/assets/esri/core/workers/chunks/81cd819c236066dc1654.js +1 -0
  9. package/assets/esri/core/workers/chunks/{aac27340f93ab69f3a9c.js → 8bd5abb68a546d1e0525.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{36e7b92f173896e9f1e2.js → 92b60ec8033eb8dc2b44.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{b076e0ca68ea80bc2559.js → 95b34718081a71bf0681.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{395736b49abaaa1c3405.js → 9b914d04c228b02fde2d.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{4e59e5a5d0ff887ff899.js → b4eb102f35315bfd6966.js} +1 -1
  14. package/assets/esri/core/workers/chunks/bdb2077d25525853975f.js +1 -0
  15. package/assets/esri/core/workers/chunks/da7f85916ae799950317.js +1 -0
  16. package/assets/esri/core/workers/chunks/{10b668186063770d63bd.js → dfb19701b488089874fd.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{0e94786db78770868c63.js → e5b57c43b5e0b1d5ccdd.js} +2 -2
  18. package/assets/esri/core/workers/chunks/{33838536a7436b1d449e.js → ef8bb03a67004dd8959a.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{e833cf582c3afa99aeee.js → fad4ce7392b89c606656.js} +1 -1
  20. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -0
  21. package/assets/esri/themes/dark/main.css +1 -1
  22. package/assets/esri/themes/light/main.css +1 -1
  23. package/assets/esri/themes/light/view.css +1 -1
  24. package/config.js +1 -1
  25. package/kernel.js +1 -1
  26. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  27. package/layers/mixins/SceneService.js +1 -1
  28. package/networks/CircuitManager.d.ts +247 -1
  29. package/networks/UnitIdentifierManager.d.ts +40 -3
  30. package/networks/UtilityNetwork.d.ts +0 -11
  31. package/networks/support/Circuit.d.ts +0 -1
  32. package/networks/support/CircuitLocation.d.ts +0 -1
  33. package/networks/support/CircuitPath.d.ts +0 -1
  34. package/networks/support/CircuitPathConnectivityElement.d.ts +0 -1
  35. package/networks/support/CircuitSection.d.ts +0 -1
  36. package/networks/support/NamedTraceConfiguration.d.ts +1 -7
  37. package/networks/support/Subcircuit.d.ts +0 -1
  38. package/networks/support/UNTraceConfiguration.d.ts +0 -4
  39. package/networks/support/jsonTypes.d.ts +1 -1
  40. package/package.json +2 -2
  41. package/rest/networks/circuits/support/CircuitTraceResult.d.ts +0 -1
  42. package/rest/networks/circuits/support/CircuitVerifyResult.d.ts +0 -1
  43. package/rest/networks/support/TelecomNetworkElement.d.ts +0 -1
  44. package/rest/networks/support/TraceLocation.d.ts +1 -11
  45. package/rest/networks/support/TraceParameters.d.ts +1 -7
  46. package/rest/networks/support/TraceResult.d.ts +0 -2
  47. package/rest/networks/unitIdentifiers/support/UnitQueryResult.d.ts +0 -1
  48. package/support/revision.js +1 -1
  49. package/symbols/WebStyleSymbol.js +1 -1
  50. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  51. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  52. package/views/2d/layers/support/annodime/virtualFields.js +1 -1
  53. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  54. package/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +1 -1
  55. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  56. package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
  57. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  58. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  59. package/views/draw/DrawTool.js +1 -1
  60. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  61. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  62. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  63. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  64. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  65. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  66. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  67. package/widgets/BatchAttributeForm.js +1 -1
  68. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  69. package/widgets/Editor.js +1 -1
  70. package/widgets/Features/FeaturesViewModel.js +1 -1
  71. package/widgets/OrientedImageryViewer/css.js +1 -1
  72. package/widgets/OrientedImageryViewer.js +1 -1
  73. package/widgets/Popup.js +1 -1
  74. package/widgets/Print/PrintViewModel.js +1 -1
  75. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +3 -2
  76. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  77. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  78. package/assets/esri/core/workers/chunks/1c689bb502657b1f173b.js +0 -1
  79. package/assets/esri/core/workers/chunks/753e0b21e57c12c742ee.js +0 -1
  80. package/assets/esri/core/workers/chunks/aa5f36d7ed59c625ba78.js +0 -1
  81. /package/assets/esri/core/workers/chunks/{fc4641f3c93f43c8c193.js.LICENSE.txt → 530cf0964d55410ffb56.js.LICENSE.txt} +0 -0
  82. /package/assets/esri/core/workers/chunks/{0e94786db78770868c63.js.LICENSE.txt → e5b57c43b5e0b1d5ccdd.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{62885(e,t,o){o.d(t,{H:()=>s,V:()=>i});var r=o(7762);function i(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(i=e)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?t.addMany(e):e&&t.add(e)),t;var i}function s(e){return e}},40863(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(4718),l=o(799),n=o(91429),a=o(30524),p=o(20378),y=o(36005),h=o(43937),u=o(93223);let c=r=class extends p.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,s.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],c.prototype,"data",void 0),(0,i.Cg)([(0,y.w)("data",["symbol"])],c.prototype,"readData",null),(0,i.Cg)([(0,h.K)("data",{})],c.prototype,"writeData",null),(0,i.Cg)([(0,u.e)({CIMSymbolReference:"cim"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],c)},26449(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(91429),l=o(3904),n=o(51734),a=o(28975),p=o(93223);let y=class extends l.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,i.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:!0}})],y.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)(n.J)],y.prototype,"edges",void 0),y=r=(0,i.Cg)([(0,s.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},65851(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(91429),s=o(31593),l=o(20378);let n=class extends l.A{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":s.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol")],n)},27845(e,t,o){o.d(t,{A:()=>S});var r=o(5482),i=o(91429),s=o(3904),l=o(51734),n=o(44633),a=o(16264),p=o(20603),y=o(33386),h=o(28975),u=o(93223);let c=class extends h.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],c.prototype,"colorMixMode",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],c);var d,g=o(68197),m=o(25482),b=o(90629),w=o(67222),f=o(8887);let C=d=class extends m.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,b.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new d(e)}};(0,r.Cg)([(0,i.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,r.Cg)([(0,i.MZ)({...w.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(p.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:f.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=d=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);const v=C;var A;let S=class extends s.A{static{A=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new n.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??y.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new c({color:(e.color??y.u7).clone()}),pattern:e.style&&"solid"!==e.style?new a.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:c,json:{write:!0}})],S.prototype,"material",void 0),(0,r.Cg)([(0,i.MZ)(p.r)],S.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,r.Cg)([(0,i.MZ)({type:v,json:{write:!0}})],S.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)(l.J)],S.prototype,"edges",void 0),S=A=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],S)},11831(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(25482),l=o(90629),n=o(91429),a=o(5760);let p=r=class extends s.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,l.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,n.MZ)({type:a.h9,json:{default:"none",write:!0}})],p.prototype,"decoration",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"family",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:(e,t,o)=>({enabled:!o||!o.textSymbol3D})}}})],p.prototype,"size",null),(0,i.Cg)([(0,n.wg)("size")],p.prototype,"castSize",null),(0,i.Cg)([(0,n.MZ)({type:a._R,json:{default:"normal",write:!0}})],p.prototype,"style",void 0),(0,i.Cg)([(0,n.MZ)({type:a.NM,json:{default:"normal",write:!0}})],p.prototype,"weight",void 0),p=r=(0,i.Cg)([(0,n.$K)("esri.symbols.Font")],p)},80138(e,t,o){o.d(t,{A:()=>D});var r,i=o(5482),s=o(4718),l=o(53966),n=o(84952),a=o(91429),p=o(3904),y=o(33386),h=o(66552),u=o(25482),c=o(97159),d=o(36005),g=o(43937),m=o(93223);const b=(0,h.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends u.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,c.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,c.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,i.Cg)([(0,d.w)("href")],w.prototype,"readHref",null),(0,i.Cg)([(0,g.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,i.Cg)([(0,m.e)(b)],w.prototype,"primitive",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const f=w;var C,v=o(67222),A=o(97515),S=o(27066),M=o(69622);let Z=C=class extends M.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new C({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"y",void 0),Z=C=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);const j=Z;var x,z=o(68197),L=o(90629);let $=x=class extends u.o{constructor(e){super(e),this.color=new z.A([0,0,0,1])}get size(){return this._get("size")??(0,L.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new x(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,i.Cg)([(0,a.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],$.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],$.prototype,"size",null),$=x=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],$);const O=$;var k,N=o(28975);let D=class extends p.A{static{k=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=new A.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new k({anchor:this.anchor,anchorPosition:(0,s.o8)(this.anchorPosition),enabled:this.enabled,material:(0,s.o8)(this.material),outline:(0,s.o8)(this.outline),resource:(0,s.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,s.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||y.ON,o=_(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||y.ON).clone()}:null;return new k({size:e.size,angle:e.angle,resource:{primitive:q(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,y.U9)(e.color)?y.ON:e.color,o=_(e);return new k({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromCIMSymbol(e){return new k({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function _(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=K(e.xoffset),i=K(e.yoffset);return(r||i)&&t&&o?{x:-r/t,y:i/o}:null}function K(e){return isFinite(e)?e:0}(0,i.Cg)([(0,a.MZ)({type:N.A,json:{write:!0}})],D.prototype,"material",void 0),(0,i.Cg)([(0,a.MZ)({type:f,json:{write:!0}})],D.prototype,"resource",void 0),(0,i.Cg)([(0,m.e)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],D.prototype,"size",null),(0,i.Cg)([(0,m.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],D.prototype,"anchor",void 0),(0,i.Cg)([(0,a.MZ)({type:j,json:{type:[Number],read:{reader:e=>new j({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,a.MZ)({type:O,json:{write:!0}})],D.prototype,"outline",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],D.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)(S.D)],D.prototype,"occludedVisibility",void 0),D=k=(0,i.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],D);const P={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return P[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},13313(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(58185),y=o(10224),h=o(59483),u=o(4900),c=o(93223);const d=s.A.ofType({base:null,key:"type",typeMap:{text:y.A}});let g=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new s.A([y.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(h.oG)],g.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,i.Cg)([(0,a.MZ)({type:d})],g.prototype,"symbolLayers",null),(0,i.Cg)([(0,c.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,i.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],g)},97887(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(11506),p=o(66525),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),c=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let d=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new s.A([a.A.fromSimpleLineSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:u,json:{type:c}})],d.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,h.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,i.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},11506(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(90629),s=o(91429),l=o(68197),n=o(69540),a=o(25482),p=o(56507),y=o(83213);let h=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,s.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],h.prototype,"placement",void 0),(0,r.Cg)([(0,s.MZ)({type:y.z,json:{default:"arrow",write:!0}})],h.prototype,"style",void 0),(0,r.Cg)([(0,s.MZ)({type:l.A,json:{type:[p.jz],default:null,write:!0}})],h.prototype,"color",void 0),h=(0,r.Cg)([(0,s.$K)("esri.symbols.LineStyleMarker3D")],h);var u,c=o(3904),d=o(44633),g=o(20603),m=o(33386),b=o(67222),w=o(28975),f=o(8887),C=o(93223);let v=class extends c.A{static{u=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.imagePattern=null,this.marker=null}get size(){return this._get("size")??(0,i.PN)(1)}set size(e){this._set("size",e)}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new u(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,i.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||m.ON).clone()}),marker:e.marker?new h({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new u(t)}};(0,r.Cg)([(0,s.MZ)({type:w.A,json:{write:!0}})],v.prototype,"material",void 0),(0,r.Cg)([(0,C.e)({Line:"line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:f.e,json:{write:!0,default:"miter"}})],v.prototype,"join",void 0),(0,r.Cg)([(0,s.MZ)({type:f.M4,json:{write:!0,default:"butt"}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,s.MZ)({...b.pI,json:{write:{isRequired:!0}}})],v.prototype,"size",null),(0,r.Cg)([(0,s.MZ)(g.v)],v.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)()],v.prototype,"imagePattern",void 0),(0,r.Cg)([(0,s.MZ)({types:{key:"type",base:h,typeMap:{style:h}},json:{write:!0}})],v.prototype,"marker",void 0),v=u=(0,r.Cg)([(0,s.$K)("esri.symbols.LineSymbol3DLayer")],v)},89420(e,t,o){o.d(t,{A:()=>a});var r=o(5482),i=o(90629),s=o(91429),l=o(56507),n=o(20378);let a=class extends n.A{constructor(e){super(e),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get size(){return this._get("size")??9}set size(e){this._set("size",e)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,r.Cg)([(0,s.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"xoffset",null),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"yoffset",null),(0,r.Cg)([(0,s.MZ)({cast:e=>"auto"===e?e:(0,l.GB)((0,i.cr)(e)),json:{write:!0}})],a.prototype,"size",null),a=(0,r.Cg)([(0,s.$K)("esri.symbols.MarkerSymbol")],a)},68548(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(27845),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let c=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new u}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u})],c.prototype,"symbolLayers",null),(0,i.Cg)([(0,h.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],c)},51216(e,t,o){o.d(t,{A:()=>C});var r,i=o(5482),s=o(91429),l=o(3904),n=o(66552),a=o(25482),p=o(97159),y=o(93223);const h=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{read:p.r,write:p.w}})],u.prototype,"href",void 0),(0,i.Cg)([(0,y.e)(h)],u.prototype,"primitive",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const c=u;var d,g=o(69622);let m=d=class extends g.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new d({x:this.x,y:this.y,z:this.z})}};(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"x",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"y",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"z",void 0),m=d=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],m);const b=m;var w,f=o(28975);let C=class extends l.A{static{w=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new w({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i.Cg)([(0,s.MZ)({type:f.A,json:{write:!0}})],C.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],C.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)({type:c,json:{write:!0}})],C.prototype,"resource",void 0),(0,i.Cg)([(0,y.e)({Object:"object"},{readOnly:!0})],C.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"width",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"height",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"depth",void 0),(0,i.Cg)([(0,y.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],C.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],C.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"heading",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"tilt",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"roll",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],C.prototype,"isPrimitive",null),C=w=(0,i.Cg)([(0,s.$K)("esri.symbols.ObjectSymbol3DLayer")],C)},66525(e,t,o){o.d(t,{A:()=>h});var r,i=o(5482),s=o(91429),l=o(3904),n=o(28975),a=o(8887),p=o(93223),y=o(36005);let h=class extends l.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,i.Cg)([(0,s.MZ)({type:n.A,json:{write:!0}})],h.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,i.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,i.Cg)([(0,s.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,i.Cg)([(0,s.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,i.Cg)([(0,y.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,i.Cg)([(0,y.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,i.Cg)([(0,s.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,i.Cg)([(0,s.$K)("esri.symbols.PathSymbol3DLayer")],h)},58592(e,t,o){o.d(t,{A:()=>u});var r,i=o(5482),s=o(4718),l=o(90629),n=o(91429),a=o(89420),p=o(77040),y=o(93223),h=o(36005);let u=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("size",e)}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,s.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,i.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)(p.ku)],u.prototype,"url",void 0),(0,i.Cg)([(0,n.MZ)(p.k7)],u.prototype,"source",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",null),(0,i.Cg)([(0,h.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",null),(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",null),u=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],u)},75981(e,t,o){o.d(t,{A:()=>w});var r,i=o(5482),s=o(68197),l=o(7762),n=o(4718),a=o(91429),p=o(80138),y=o(51216),h=o(58185),u=o(10224),c=o(59483),d=o(8893),g=o(4900),m=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:p.A,object:y.A,text:u.A}});let w=r=class extends h.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,c.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([p.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new s.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([p.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([u.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(c.oG)],w.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},65365(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(26449),p=o(27845),y=o(80138),h=o(51216),u=o(58185),c=o(34723),d=o(93223);const g=s.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:h.A,water:c.A}});let m=r=class extends u.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,d.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PolygonSymbol3D")],m)},94985(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(91429),p=o(65851),y=o(31593),h=o(93223);const u=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=r=class extends p.A{constructor(...e){super(...e),this.color=new s.A([0,0,0,.25]),this.outline=new y.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.style=e),t&&(r.outline=t),o&&(r.color=o),r}clone(){return new r({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i.Cg)([(0,a.MZ)({type:s.A})],c.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)()],c.prototype,"outline",void 0),(0,i.Cg)([(0,h.e)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"style",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleFillSymbol")],c)},31593(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(66552),s=o(4718),l=o(90629),n=o(91429),a=o(20378),p=o(93223);let y=class extends a.A{constructor(e){super(e),this.type="simple-line"}get width(){return this._get("width")??.75}set width(e){this._set("width",e)}hash(){return`${this.type}.${this.width}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],y.prototype,"width",null),y=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbol")],y);var h,u=o(68197),c=o(25482),d=o(83213),g=o(43937),m=o(36005);let b=h=class extends c.o{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,o,r){t[o]="web-map"===r?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,o,r){"web-map"===r?.origin||(t[o]=e)}clone(){return new h({color:(0,s.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r.Cg)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],b.prototype,"placement",void 0),(0,r.Cg)([(0,p.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],b.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:d.z})],b.prototype,"style",void 0),(0,r.Cg)([(0,g.K)("style")],b.prototype,"writeStyle",null),(0,r.Cg)([(0,n.MZ)({type:u.A,value:null,json:{write:{allowNull:!0}}})],b.prototype,"color",null),(0,r.Cg)([(0,m.w)("color")],b.prototype,"readColor",null),(0,r.Cg)([(0,g.K)("color")],b.prototype,"writeColor",null),b=h=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbolMarker")],b);const w=b;var f;const C=new i.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let v=f=class extends y{constructor(...e){super(...e),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(e,t,o,r,i,s){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=o&&(n.width=(0,l.cr)(o)),null!=r&&(n.cap=r),null!=i&&(n.join=i),null!=s&&(n.miterLimit=(0,l.cr)(s)),n}clone(){return new f({color:(0,s.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:C.apiValues,json:{read:C.read,write:C.write}})],v.prototype,"style",void 0),(0,r.Cg)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"join",void 0),(0,r.Cg)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":w}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],v.prototype,"marker",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],v.prototype,"miterLimit",void 0),v=f=(0,r.Cg)([(0,n.$K)("esri.symbols.SimpleLineSymbol")],v)},53930(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(90629),p=o(91429),y=o(89420),h=o(31593),u=o(43937),c=o(93223);const d=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let g=r=class extends y.A{constructor(...e){super(...e),this.color=new s.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new h.A}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e)return e;const i={};return e&&(i.style=e),null!=t&&(i.size=(0,a.cr)(t)),o&&(i.outline=o),r&&(i.color=r),i}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}get size(){return this._get("size")??12}set size(e){this._set("size",e)}set path(e){this.style="path",this._set("path",e)}clone(){return new r({angle:this.angle,color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,i.Cg)([(0,p.MZ)({type:s.A})],g.prototype,"color",void 0),(0,i.Cg)([(0,u.K)("color")],g.prototype,"writeColor",null),(0,i.Cg)([(0,c.e)({esriSMS:"simple-marker"},{readOnly:!0})],g.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)()],g.prototype,"size",null),(0,i.Cg)([(0,p.MZ)({type:d.apiValues,json:{read:d.read,write:d.write}})],g.prototype,"style",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],g.prototype,"path",null),(0,i.Cg)([(0,p.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":h.A}},json:{default:null,write:!0}})],g.prototype,"outline",void 0),g=r=(0,i.Cg)([(0,p.$K)("esri.symbols.SimpleMarkerSymbol")],g)},20378(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(66552),l=o(25482),n=o(91429),a=o(36005);const p=new s.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let y=0,h=class extends l.o{constructor(e){super(e),this.id="sym"+y++,this.type=null,this.color=new i.A([0,0,0,1])}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}async collectRequiredFields(e,t){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,r.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:i.A,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,r.Cg)([(0,a.w)("color")],h.prototype,"readColor",null),h=(0,r.Cg)([(0,n.$K)("esri.symbols.Symbol")],h)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(5482),i=o(7762),s=o(62885),l=o(53966),n=o(84952),a=o(67076),p=o(91429),y=o(20655),h=o(97159),u=o(26449),c=o(27845),d=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(20378),f=o(3904),C=o(10224),v=o(34723),A=o(98751),S=o(57212),M=o(36005),Z=o(43937);const j={icon:d.A,object:m.A,line:g.A,path:b.A,fill:c.A,extrude:u.A,text:C.A,water:v.A},x=i.A.ofType({base:f.A,key:"type",typeMap:j,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||i.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,s.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,h.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,h.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof f.A||e&&j[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,p.MZ)({type:x,nonNullable:!0,json:{write:!0}}),(0,p.wg)(s.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,p.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,M.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,Z.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,p.MZ)({type:S.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,p.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,p.$K)("esri.symbols.Symbol3D")],z)},3904(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(25482),s=o(91429),l=o(43937);let n=class extends i.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,s.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,s.$K)("esri.symbols.Symbol3DLayer")],n)},68249(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(11831),y=o(20378),h=o(5760),u=o(93223),c=o(43937);let d=r=class extends y.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new p.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),o&&(r.color=o),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}castLineWidth(e){return(0,n.cr)(e)}writeLineHeight(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:n.cr})],d.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],d.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...h.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,i.Cg)([(0,u.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...h.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],d.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,i.Cg)([(0,c.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(h.Tb)],d.prototype,"lineHeight",void 0),(0,i.Cg)([(0,c.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=r=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],d)},10224(e,t,o){o.d(t,{A:()=>A});var r,i=o(5482),s=o(4718),l=o(91429),n=o(11831),a=o(3904),p=o(67222),y=o(97515),h=o(27066),u=o(68197),c=o(25482);let d=r=class extends c.o{constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,s.o8)(this.color),size:this.size};return new r(e)}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],d.prototype,"color",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],d.prototype,"size",null),d=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],d);var g=o(28975),m=o(69540);let b=class extends((0,m.OU)(c.o)){constructor(e){super(e),this.color=null}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],b.prototype,"color",void 0),b=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],b);var w,f=o(5760),C=o(43937),v=o(93223);let A=class extends a.A{static{w=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=new y.A({mode:"adaptive"})}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const i={...r,textSymbol3D:!0};t.font=e.write({},i),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new w({enabled:this.enabled,font:(0,s.o8)(this.font),halo:(0,s.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,s.o8)(this.background),occludedVisibility:(0,s.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new w({font:null!=e.font?e.font.clone():new n.A,halo:S(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new b({color:e.backgroundColor.clone()}):null,occludedVisibility:null})}};function S(e,t){return e&&null!=t&&t>0?new d({color:(0,s.o8)(e),size:t}):null}(0,i.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],A.prototype,"font",null),(0,i.Cg)([(0,C.K)("font")],A.prototype,"writeFont",null),(0,i.Cg)([(0,l.MZ)({type:d,json:{write:!0}})],A.prototype,"halo",void 0),(0,i.Cg)([(0,l.MZ)({...f.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({...f.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,i.Cg)([(0,l.MZ)({type:g.A,json:{write:!0}})],A.prototype,"material",void 0),(0,i.Cg)([(0,l.MZ)({type:b,json:{write:!0}})],A.prototype,"background",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],A.prototype,"size",null),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,i.Cg)([(0,v.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({...f.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,l.MZ)(h.D)],A.prototype,"occludedVisibility",void 0),A=w=(0,i.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],A)},34723(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(68197),l=o(91429),n=o(56507),a=o(3904),p=o(93223);let y=class extends a.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i.Cg)([(0,l.MZ)({type:s.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],y.prototype,"color",void 0),(0,i.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,i.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,i.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const h=new s.A([0,119,190])},29169(e,t,o){o.d(t,{A:()=>d});var r=o(5482),i=o(53966),s=o(17676),l=o(91429),n=o(20655),a=o(97159),p=o(20378),y=o(57212);const h=new(o(66344).q)(500);var u,c=o(93223);let d=u=class extends p.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:n.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new u({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=h,r=this._fetchCacheKey,l=t.get(r);if(l)return l.clone();const{resolveWebStyleSymbol:n}=await o.e(7883).then(o.bind(o,27883));(0,s.Te)(e);const a=n(this,{portal:this.portal},e);a.catch(e=>{i.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const p=await a;return t.put(r,p.clone()),p}};(0,r.Cg)([(0,l.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"styleName",void 0),(0,r.Cg)([(0,l.MZ)({type:n.A,json:{write:!1}})],d.prototype,"portal",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{read:a.r,write:a.w}})],d.prototype,"styleUrl",void 0),(0,r.Cg)([(0,l.MZ)({type:y.V,json:{read:!1}})],d.prototype,"thumbnail",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,r.Cg)([(0,c.e)({styleSymbolReference:"web-style"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],d.prototype,"_fetchCacheKey",null),d=u=(0,r.Cg)([(0,l.$K)("esri.symbols.WebStyleSymbol")],d)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(25482),s=o(91429);let l=class extends i.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,s.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,s.$K)("esri.symbols.callouts.Callout3D")],l)},8893(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(4595),y=o(25482),h=o(67222);let u=r=class extends y.o{constructor(e){super(e),this.color=new s.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],u.prototype,"color",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],u);const c=u;var d,g=o(93223);let m=d=class extends p.A{constructor(e){super(e),this.type="line",this.color=new s.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,i.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,i.Cg)([(0,a.MZ)({type:c,json:{write:!0}})],m.prototype,"border",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"visible",null),m=d=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],m)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>s,oG:()=>n});var r=o(4595),i=o(8893);function s(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!s(e)}const n={types:{key:"type",base:r.A,typeMap:{line:i.A}},json:{write:!0}}},4792(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(25482),l=o(4718),n=o(90629),a=o(91429),p=o(67222);let y=class extends s.o{constructor(e){super(e),this.color=new i.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],y);const h=y},39065(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a},51734(e,t,o){o.d(t,{J:()=>h});var r,i=o(4792),s=o(5482),l=o(91429),n=o(93223);let a=r=class extends i.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const h={types:{key:"type",base:i.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},36533(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e)}};(0,r.Cg)([(0,l.MZ)({type:["style","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.LinePattern3D")],n)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(5482),i=o(66552),s=o(91429),l=o(36533),n=o(93223);const a=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let p=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,s.MZ)({type:["style"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,r.Cg)([(0,n.e)(a),(0,s.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=(0,r.Cg)([(0,s.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,l.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.Pattern3D")],n)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(91429),s=o(3955);let l=class extends s.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],l.prototype,"style",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],l)},20603(e,t,o){o.d(t,{r:()=>n,v:()=>a});var r=o(36533),i=o(44633),s=o(3955),l=o(16264);const n={types:{key:"type",base:s.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:i.A}},json:{write:!0}}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.mode="adaptive"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n)},98751(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(69622),l=o(91429),n=o(20655);let a=r=class extends s.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,i.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(5482),i=o(69540),s=o(25482),l=o(91429),n=o(67222),a=o(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,range:{min:0},json:{write:!0}})],p.prototype,"strength",void 0),(0,r.Cg)([(0,a.e)({emissive:"emissive",color:"color"}),(0,l.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,l.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],y)},4900(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(25482),l=o(91429),n=o(67222);let a=r=class extends s.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,i.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},57212(e,t,o){o.d(t,{V:()=>n});var r,i=o(5482),s=o(69622),l=o(91429);let n=r=class extends s.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,i.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},33386(e,t,o){o.d(t,{ON:()=>i,U9:()=>l,u7:()=>s});var r=o(68197);const i=new r.A("white"),s=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},83213(e,t,o){o.d(t,{x:()=>r,z:()=>i});const r=["begin","end","begin-end"],i=["arrow","circle","square","diamond","cross","x"]},67222(e,t,o){o.d(t,{EW:()=>p,pI:()=>y});var r=o(68197),i=o(90629),s=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,i=t.color;return i&&Array.isArray(i)?new r.A([i[0]||0,i[1]||0,i[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function p(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[s.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[s.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:s.jz}},writer:a}}}}const y={type:Number,cast:i.cr,json:{write:!0}}},27066(e,t,o){o.d(t,{D:()=>r});const r={type:o(97515).A,json:{write:!0,default:null}}},8887(e,t,o){o.d(t,{Fq:()=>n,M4:()=>a,Nv:()=>p,e:()=>y}),o(51850);var r=o(70328);const i=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),s=(0,r.fA)(-.5,-.5,0,.5,.5,1),l=(0,r.fA)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return i;case"cylinder":case"cone":case"inverted-cone":return s;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"],y=["miter","bevel","round"]},5760(e,t,o){o.d(t,{NM:()=>n,Tb:()=>a,_R:()=>l,h9:()=>s,rM:()=>p,x0:()=>y,y7:()=>h});var r=o(34727),i=o(56507);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},p={type:["left","right","center"],nonNullable:!0},y={type:["baseline","top","middle","bottom"],nonNullable:!0},h=8},33910(e,t,o){o.d(t,{dp:()=>W,$y:()=>x,wk:()=>z,Y7:()=>O,wC:()=>$,Ac:()=>k,Bu:()=>D,Es:()=>L,q8:()=>N,em:()=>K,Rv:()=>q,xK:()=>_,On:()=>P});var r,i=o(56507),s=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(5482),h=o(4718),u=o(90629),c=o(91429),d=o(65851),g=o(77040),m=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const i={};return e&&(i.url=e),t&&(i.outline=t),null!=o&&(i.width=(0,u.cr)(o)),null!=r&&(i.height=(0,u.cr)(r)),i}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){const e=new r({color:(0,h.o8)(this.color),height:this.height,outline:(0,h.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,h.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,y.Cg)([(0,c.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,y.Cg)([(0,m.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,y.Cg)([(0,c.MZ)(g.ku)],b.prototype,"url",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"width",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"height",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,y.Cg)([(0,c.MZ)(g.k7)],b.prototype,"source",void 0),b=r=(0,y.Cg)([(0,c.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),f=o(75981),C=o(65365),v=o(94985),A=o(31593),S=o(53930),M=o(20378),Z=o(68249),j=o(29169);function x(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const L={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},$=(M.A,v.A,l.A,{base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,"point-3d":f.A,cim:l.A},errorContext:"symbol"}),O={base:M.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"polygon-3d":C.A,cim:l.A},errorContext:"symbol"},N={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},D=(0,s.C)({types:L}),_={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},K={base:M.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},P=(M.A,n.A,a.A,p.A,f.A,C.A,j.A,{base:M.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"}),q={base:M.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},W=(0,i.aq)(L)},77040(e,t,o){o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),i=o(97159);function s(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,i.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):s(t.url,o)}},write:{writer(e,t,o,s){!function(e,t,o,s){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,i.w)(o.url,t,"url",s)}else(0,i.w)(e,t,"url",s)}(e,t,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=s(t.url,o)),r}}}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{62885(e,t,o){o.d(t,{H:()=>s,V:()=>i});var r=o(7762);function i(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(i=e)&&(Array.isArray(i)||"items"in i&&Array.isArray(i.items))?t.addMany(e):e&&t.add(e)),t;var i}function s(e){return e}},40863(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(4718),l=o(799),n=o(91429),a=o(30524),p=o(20378),y=o(36005),h=o(43937),u=o(93223);let c=r=class extends p.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,s.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],c.prototype,"data",void 0),(0,i.Cg)([(0,y.w)("data",["symbol"])],c.prototype,"readData",null),(0,i.Cg)([(0,h.K)("data",{})],c.prototype,"writeData",null),(0,i.Cg)([(0,u.e)({CIMSymbolReference:"cim"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],c)},26449(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(91429),l=o(3904),n=o(51734),a=o(28975),p=o(93223);let y=class extends l.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,i.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,i.Cg)([(0,s.MZ)({type:a.A,json:{write:!0}})],y.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)(n.J)],y.prototype,"edges",void 0),y=r=(0,i.Cg)([(0,s.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},65851(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(91429),s=o(31593),l=o(20378);let n=class extends l.A{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":s.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol")],n)},27845(e,t,o){o.d(t,{A:()=>S});var r=o(5482),i=o(91429),s=o(3904),l=o(51734),n=o(44633),a=o(16264),p=o(20603),y=o(33386),h=o(28975),u=o(93223);let c=class extends h.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],c.prototype,"colorMixMode",void 0),c=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DFillMaterial")],c);var d,g=o(68197),m=o(25482),b=o(90629),w=o(67222),f=o(8887);let C=d=class extends m.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,b.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new d(e)}};(0,r.Cg)([(0,i.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,r.Cg)([(0,i.MZ)({...w.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(p.v)],C.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:f.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=d=(0,r.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DOutline")],C);const v=C;var A;let S=class extends s.A{static{A=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new n.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??y.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new c({color:(e.color??y.u7).clone()}),pattern:e.style&&"solid"!==e.style?new a.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:c,json:{write:!0}})],S.prototype,"material",void 0),(0,r.Cg)([(0,i.MZ)(p.r)],S.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,r.Cg)([(0,i.MZ)({type:v,json:{write:!0}})],S.prototype,"outline",void 0),(0,r.Cg)([(0,i.MZ)(l.J)],S.prototype,"edges",void 0),S=A=(0,r.Cg)([(0,i.$K)("esri.symbols.FillSymbol3DLayer")],S)},11831(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(25482),l=o(90629),n=o(91429),a=o(5760);let p=r=class extends s.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,l.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,i.Cg)([(0,n.MZ)({type:a.h9,json:{default:"none",write:!0}})],p.prototype,"decoration",void 0),(0,i.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"family",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:(e,t,o)=>({enabled:!o||!o.textSymbol3D})}}})],p.prototype,"size",null),(0,i.Cg)([(0,n.wg)("size")],p.prototype,"castSize",null),(0,i.Cg)([(0,n.MZ)({type:a._R,json:{default:"normal",write:!0}})],p.prototype,"style",void 0),(0,i.Cg)([(0,n.MZ)({type:a.NM,json:{default:"normal",write:!0}})],p.prototype,"weight",void 0),p=r=(0,i.Cg)([(0,n.$K)("esri.symbols.Font")],p)},80138(e,t,o){o.d(t,{A:()=>D});var r,i=o(5482),s=o(4718),l=o(53966),n=o(84952),a=o(91429),p=o(3904),y=o(33386),h=o(66552),u=o(25482),c=o(97159),d=o(36005),g=o(43937),m=o(93223);const b=(0,h.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends u.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,c.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,c.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,i.Cg)([(0,d.w)("href")],w.prototype,"readHref",null),(0,i.Cg)([(0,g.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,i.Cg)([(0,m.e)(b)],w.prototype,"primitive",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const f=w;var C,v=o(67222),A=o(97515),S=o(27066),M=o(69622);let Z=C=class extends M.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new C({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"x",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"y",void 0),Z=C=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);const j=Z;var x,z=o(68197),L=o(90629);let $=x=class extends u.o{constructor(e){super(e),this.color=new z.A([0,0,0,1])}get size(){return this._get("size")??(0,L.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new x(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,i.Cg)([(0,a.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],$.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],$.prototype,"size",null),$=x=(0,i.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],$);const O=$;var k,N=o(28975);let D=class extends p.A{static{k=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=new A.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new k({anchor:this.anchor,anchorPosition:(0,s.o8)(this.anchorPosition),enabled:this.enabled,material:(0,s.o8)(this.material),outline:(0,s.o8)(this.outline),resource:(0,s.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,s.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||y.ON,o=_(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||y.ON).clone()}:null;return new k({size:e.size,angle:e.angle,resource:{primitive:q(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,y.U9)(e.color)?y.ON:e.color,o=_(e);return new k({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromCIMSymbol(e){return new k({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function _(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=K(e.xoffset),i=K(e.yoffset);return(r||i)&&t&&o?{x:-r/t,y:i/o}:null}function K(e){return isFinite(e)?e:0}(0,i.Cg)([(0,a.MZ)({type:N.A,json:{write:!0}})],D.prototype,"material",void 0),(0,i.Cg)([(0,a.MZ)({type:f,json:{write:!0}})],D.prototype,"resource",void 0),(0,i.Cg)([(0,m.e)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],D.prototype,"size",null),(0,i.Cg)([(0,m.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],D.prototype,"anchor",void 0),(0,i.Cg)([(0,a.MZ)({type:j,json:{type:[Number],read:{reader:e=>new j({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,a.MZ)({type:O,json:{write:!0}})],D.prototype,"outline",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],D.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)(S.D)],D.prototype,"occludedVisibility",void 0),D=k=(0,i.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],D);const P={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return P[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},13313(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(58185),y=o(10224),h=o(59483),u=o(4900),c=o(93223);const d=s.A.ofType({base:null,key:"type",typeMap:{text:y.A}});let g=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new d}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new s.A([y.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(h.oG)],g.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,i.Cg)([(0,a.MZ)({type:d})],g.prototype,"symbolLayers",null),(0,i.Cg)([(0,c.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,i.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],g)},97887(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(11506),p=o(66525),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),c=s.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let d=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new s.A([a.A.fromSimpleLineSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:u,json:{type:c}})],d.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,h.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,i.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],d)},11506(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(90629),s=o(91429),l=o(68197),n=o(69540),a=o(25482),p=o(56507),y=o(83213);let h=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,s.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],h.prototype,"placement",void 0),(0,r.Cg)([(0,s.MZ)({type:y.z,json:{default:"arrow",write:!0}})],h.prototype,"style",void 0),(0,r.Cg)([(0,s.MZ)({type:l.A,json:{type:[p.jz],default:null,write:!0}})],h.prototype,"color",void 0),h=(0,r.Cg)([(0,s.$K)("esri.symbols.LineStyleMarker3D")],h);var u,c=o(3904),d=o(44633),g=o(20603),m=o(33386),b=o(67222),w=o(28975),f=o(8887),C=o(93223);let v=class extends c.A{static{u=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.imagePattern=null,this.marker=null}get size(){return this._get("size")??(0,i.PN)(1)}set size(e){this._set("size",e)}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new u(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,i.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new d.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||m.ON).clone()}),marker:e.marker?new h({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new u(t)}};(0,r.Cg)([(0,s.MZ)({type:w.A,json:{write:!0}})],v.prototype,"material",void 0),(0,r.Cg)([(0,C.e)({Line:"line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:f.e,json:{write:!0,default:"miter"}})],v.prototype,"join",void 0),(0,r.Cg)([(0,s.MZ)({type:f.M4,json:{write:!0,default:"butt"}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,s.MZ)({...b.pI,json:{write:{isRequired:!0}}})],v.prototype,"size",null),(0,r.Cg)([(0,s.MZ)(g.v)],v.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)()],v.prototype,"imagePattern",void 0),(0,r.Cg)([(0,s.MZ)({types:{key:"type",base:h,typeMap:{style:h}},json:{write:!0}})],v.prototype,"marker",void 0),v=u=(0,r.Cg)([(0,s.$K)("esri.symbols.LineSymbol3DLayer")],v)},89420(e,t,o){o.d(t,{A:()=>a});var r=o(5482),i=o(90629),s=o(91429),l=o(56507),n=o(20378);let a=class extends n.A{constructor(e){super(e),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get size(){return this._get("size")??9}set size(e){this._set("size",e)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,r.Cg)([(0,s.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"xoffset",null),(0,r.Cg)([(0,s.MZ)({type:Number,cast:i.cr,json:{write:!0}})],a.prototype,"yoffset",null),(0,r.Cg)([(0,s.MZ)({cast:e=>"auto"===e?e:(0,l.GB)((0,i.cr)(e)),json:{write:!0}})],a.prototype,"size",null),a=(0,r.Cg)([(0,s.$K)("esri.symbols.MarkerSymbol")],a)},68548(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(27845),y=o(58185),h=o(93223);const u=s.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let c=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new u}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:u})],c.prototype,"symbolLayers",null),(0,i.Cg)([(0,h.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],c)},51216(e,t,o){o.d(t,{A:()=>C});var r,i=o(5482),s=o(91429),l=o(3904),n=o(66552),a=o(25482),p=o(97159),y=o(93223);const h=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{read:p.r,write:p.w}})],u.prototype,"href",void 0),(0,i.Cg)([(0,y.e)(h)],u.prototype,"primitive",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const c=u;var d,g=o(69622);let m=d=class extends g.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new d({x:this.x,y:this.y,z:this.z})}};(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"x",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"y",void 0),(0,i.Cg)([(0,s.MZ)({type:Number})],m.prototype,"z",void 0),m=d=(0,i.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],m);const b=m;var w,f=o(28975);let C=class extends l.A{static{w=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new w({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,i.Cg)([(0,s.MZ)({type:f.A,json:{write:!0}})],C.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],C.prototype,"castShadows",void 0),(0,i.Cg)([(0,s.MZ)({type:c,json:{write:!0}})],C.prototype,"resource",void 0),(0,i.Cg)([(0,y.e)({Object:"object"},{readOnly:!0})],C.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"width",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"height",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"depth",void 0),(0,i.Cg)([(0,y.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],C.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],C.prototype,"anchorPosition",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"heading",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"tilt",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],C.prototype,"roll",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],C.prototype,"isPrimitive",null),C=w=(0,i.Cg)([(0,s.$K)("esri.symbols.ObjectSymbol3DLayer")],C)},66525(e,t,o){o.d(t,{A:()=>h});var r,i=o(5482),s=o(91429),l=o(3904),n=o(28975),a=o(8887),p=o(93223),y=o(36005);let h=class extends l.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,i.Cg)([(0,s.MZ)({type:n.A,json:{write:!0}})],h.prototype,"material",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,i.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,i.Cg)([(0,s.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,i.Cg)([(0,s.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,i.Cg)([(0,y.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,i.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,i.Cg)([(0,y.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,i.Cg)([(0,s.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,i.Cg)([(0,s.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,i.Cg)([(0,s.$K)("esri.symbols.PathSymbol3DLayer")],h)},58592(e,t,o){o.d(t,{A:()=>u});var r,i=o(5482),s=o(4718),l=o(90629),n=o(91429),a=o(89420),p=o(77040),y=o(93223),h=o(36005);let u=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("size",e)}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,s.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,i.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)(p.ku)],u.prototype,"url",void 0),(0,i.Cg)([(0,n.MZ)(p.k7)],u.prototype,"source",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",null),(0,i.Cg)([(0,h.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,i.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",null),(0,i.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",null),u=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],u)},75981(e,t,o){o.d(t,{A:()=>w});var r,i=o(5482),s=o(68197),l=o(7762),n=o(4718),a=o(91429),p=o(80138),y=o(51216),h=o(58185),u=o(10224),c=o(59483),d=o(8893),g=o(4900),m=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:p.A,object:y.A,text:u.A}});let w=r=class extends h.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,c.LH)(this)}hasVisibleVerticalOffset(){return(0,c.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([p.A.fromCIMSymbol(e)]),callout:new d.A({size:.5,color:new s.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([p.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([u.A.fromTextSymbol(e)])})}};(0,i.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,i.Cg)([(0,a.MZ)(c.oG)],w.prototype,"callout",void 0),(0,i.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,i.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},65365(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(7762),l=o(4718),n=o(91429),a=o(26449),p=o(27845),y=o(80138),h=o(51216),u=o(58185),c=o(34723),d=o(93223);const g=s.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:h.A,water:c.A}});let m=r=class extends u.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new s.A([p.A.fromSimpleFillSymbol(e)])})}};(0,i.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,i.Cg)([(0,d.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,i.Cg)([(0,n.$K)("esri.symbols.PolygonSymbol3D")],m)},94985(e,t,o){o.d(t,{A:()=>c});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(91429),p=o(65851),y=o(31593),h=o(93223);const u=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=r=class extends p.A{constructor(...e){super(...e),this.color=new s.A([0,0,0,.25]),this.outline=new y.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.style=e),t&&(r.outline=t),o&&(r.color=o),r}clone(){return new r({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,i.Cg)([(0,a.MZ)({type:s.A})],c.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)()],c.prototype,"outline",void 0),(0,i.Cg)([(0,h.e)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],c.prototype,"style",void 0),c=r=(0,i.Cg)([(0,a.$K)("esri.symbols.SimpleFillSymbol")],c)},31593(e,t,o){o.d(t,{A:()=>v});var r=o(5482),i=o(66552),s=o(4718),l=o(90629),n=o(91429),a=o(20378),p=o(93223);let y=class extends a.A{constructor(e){super(e),this.type="simple-line"}get width(){return this._get("width")??.75}set width(e){this._set("width",e)}hash(){return`${this.type}.${this.width}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],y.prototype,"width",null),y=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbol")],y);var h,u=o(68197),c=o(25482),d=o(83213),g=o(43937),m=o(36005);let b=h=class extends c.o{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,o,r){t[o]="web-map"===r?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,o,r){"web-map"===r?.origin||(t[o]=e)}clone(){return new h({color:(0,s.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r.Cg)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],b.prototype,"placement",void 0),(0,r.Cg)([(0,p.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],b.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:d.z})],b.prototype,"style",void 0),(0,r.Cg)([(0,g.K)("style")],b.prototype,"writeStyle",null),(0,r.Cg)([(0,n.MZ)({type:u.A,value:null,json:{write:{allowNull:!0}}})],b.prototype,"color",null),(0,r.Cg)([(0,m.w)("color")],b.prototype,"readColor",null),(0,r.Cg)([(0,g.K)("color")],b.prototype,"writeColor",null),b=h=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbolMarker")],b);const w=b;var f;const C=new i.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let v=f=class extends y{constructor(...e){super(...e),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(e,t,o,r,i,s){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=o&&(n.width=(0,l.cr)(o)),null!=r&&(n.cap=r),null!=i&&(n.join=i),null!=s&&(n.miterLimit=(0,l.cr)(s)),n}clone(){return new f({color:(0,s.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:C.apiValues,json:{read:C.read,write:C.write}})],v.prototype,"style",void 0),(0,r.Cg)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"join",void 0),(0,r.Cg)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":w}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],v.prototype,"marker",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],v.prototype,"miterLimit",void 0),v=f=(0,r.Cg)([(0,n.$K)("esri.symbols.SimpleLineSymbol")],v)},53930(e,t,o){o.d(t,{A:()=>g});var r,i=o(5482),s=o(68197),l=o(66552),n=o(4718),a=o(90629),p=o(91429),y=o(89420),h=o(31593),u=o(43937),c=o(93223);const d=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let g=r=class extends y.A{constructor(...e){super(...e),this.color=new s.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new h.A}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e)return e;const i={};return e&&(i.style=e),null!=t&&(i.size=(0,a.cr)(t)),o&&(i.outline=o),r&&(i.color=r),i}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}get size(){return this._get("size")??12}set size(e){this._set("size",e)}set path(e){this.style="path",this._set("path",e)}clone(){return new r({angle:this.angle,color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,i.Cg)([(0,p.MZ)({type:s.A})],g.prototype,"color",void 0),(0,i.Cg)([(0,u.K)("color")],g.prototype,"writeColor",null),(0,i.Cg)([(0,c.e)({esriSMS:"simple-marker"},{readOnly:!0})],g.prototype,"type",void 0),(0,i.Cg)([(0,p.MZ)()],g.prototype,"size",null),(0,i.Cg)([(0,p.MZ)({type:d.apiValues,json:{read:d.read,write:d.write}})],g.prototype,"style",void 0),(0,i.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],g.prototype,"path",null),(0,i.Cg)([(0,p.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":h.A}},json:{default:null,write:!0}})],g.prototype,"outline",void 0),g=r=(0,i.Cg)([(0,p.$K)("esri.symbols.SimpleMarkerSymbol")],g)},20378(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(66552),l=o(25482),n=o(91429),a=o(36005);const p=new s.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let y=0,h=class extends l.o{constructor(e){super(e),this.id="sym"+y++,this.type=null,this.color=new i.A([0,0,0,1])}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}async collectRequiredFields(e,t){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,r.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:i.A,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,r.Cg)([(0,a.w)("color")],h.prototype,"readColor",null),h=(0,r.Cg)([(0,n.$K)("esri.symbols.Symbol")],h)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(5482),i=o(7762),s=o(62885),l=o(53966),n=o(84952),a=o(67076),p=o(91429),y=o(20655),h=o(97159),u=o(26449),c=o(27845),d=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(20378),f=o(3904),C=o(10224),v=o(34723),A=o(98751),S=o(57212),M=o(36005),Z=o(43937);const j={icon:d.A,object:m.A,line:g.A,path:b.A,fill:c.A,extrude:u.A,text:C.A,water:v.A},x=i.A.ofType({base:f.A,key:"type",typeMap:j,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||i.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,s.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,h.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,h.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof f.A||e&&j[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,p.MZ)({type:x,nonNullable:!0,json:{write:!0}}),(0,p.wg)(s.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,p.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,M.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,Z.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,p.MZ)({type:S.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,p.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,p.$K)("esri.symbols.Symbol3D")],z)},3904(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(25482),s=o(91429),l=o(43937);let n=class extends i.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,s.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,s.$K)("esri.symbols.Symbol3DLayer")],n)},68249(e,t,o){o.d(t,{A:()=>d});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(11831),y=o(20378),h=o(5760),u=o(93223),c=o(43937);let d=r=class extends y.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new p.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),o&&(r.color=o),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}castLineWidth(e){return(0,n.cr)(e)}writeLineHeight(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"backgroundColor",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"borderLineColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:n.cr})],d.prototype,"borderLineSize",void 0),(0,i.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],d.prototype,"font",void 0),(0,i.Cg)([(0,a.MZ)({...h.rM,json:{write:!0}})],d.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"kerning",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{write:!0}})],d.prototype,"haloColor",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"haloSize",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rightToLeft",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"rotated",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"text",void 0),(0,i.Cg)([(0,u.e)({esriTS:"text"},{readOnly:!0})],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)({...h.x0,json:{write:!0}})],d.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"xoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],d.prototype,"yoffset",null),(0,i.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],d.prototype,"angle",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,i.Cg)([(0,a.MZ)({type:Number})],d.prototype,"lineWidth",null),(0,i.Cg)([(0,c.K)("lineWidth")],d.prototype,"writeLineWidth",null),(0,i.Cg)([(0,a.wg)("lineWidth")],d.prototype,"castLineWidth",null),(0,i.Cg)([(0,a.MZ)(h.Tb)],d.prototype,"lineHeight",void 0),(0,i.Cg)([(0,c.K)("lineHeight")],d.prototype,"writeLineHeight",null),d=r=(0,i.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],d)},10224(e,t,o){o.d(t,{A:()=>A});var r,i=o(5482),s=o(4718),l=o(91429),n=o(11831),a=o(3904),p=o(67222),y=o(97515),h=o(27066),u=o(68197),c=o(25482);let d=r=class extends c.o{constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,s.o8)(this.color),size:this.size};return new r(e)}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],d.prototype,"color",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],d.prototype,"size",null),d=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],d);var g=o(28975),m=o(69540);let b=class extends((0,m.OU)(c.o)){constructor(e){super(e),this.color=null}};(0,i.Cg)([(0,l.MZ)((0,p.EW)())],b.prototype,"color",void 0),b=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],b);var w,f=o(5760),C=o(43937),v=o(93223);let A=class extends a.A{static{w=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=new y.A({mode:"adaptive"})}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const i={...r,textSymbol3D:!0};t.font=e.write({},i),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new w({enabled:this.enabled,font:(0,s.o8)(this.font),halo:(0,s.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,s.o8)(this.background),occludedVisibility:(0,s.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new w({font:null!=e.font?e.font.clone():new n.A,halo:S(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new b({color:e.backgroundColor.clone()}):null,occludedVisibility:null})}};function S(e,t){return e&&null!=t&&t>0?new d({color:(0,s.o8)(e),size:t}):null}(0,i.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],A.prototype,"font",null),(0,i.Cg)([(0,C.K)("font")],A.prototype,"writeFont",null),(0,i.Cg)([(0,l.MZ)({type:d,json:{write:!0}})],A.prototype,"halo",void 0),(0,i.Cg)([(0,l.MZ)({...f.rM,json:{default:"center",write:!0}})],A.prototype,"horizontalAlignment",void 0),(0,i.Cg)([(0,l.MZ)({...f.Tb,json:{default:1,write:!0}})],A.prototype,"lineHeight",void 0),(0,i.Cg)([(0,l.MZ)({type:g.A,json:{write:!0}})],A.prototype,"material",void 0),(0,i.Cg)([(0,l.MZ)({type:b,json:{write:!0}})],A.prototype,"background",void 0),(0,i.Cg)([(0,l.MZ)(p.pI)],A.prototype,"size",null),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],A.prototype,"text",void 0),(0,i.Cg)([(0,v.e)({Text:"text"},{readOnly:!0})],A.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({...f.x0,json:{default:"baseline",write:!0}})],A.prototype,"verticalAlignment",void 0),(0,i.Cg)([(0,l.MZ)(h.D)],A.prototype,"occludedVisibility",void 0),A=w=(0,i.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],A)},34723(e,t,o){o.d(t,{A:()=>y});var r,i=o(5482),s=o(68197),l=o(91429),n=o(56507),a=o(3904),p=o(93223);let y=class extends a.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,i.Cg)([(0,l.MZ)({type:s.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],y.prototype,"color",void 0),(0,i.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,i.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,i.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const h=new s.A([0,119,190])},29169(e,t,o){o.d(t,{A:()=>d});var r=o(5482),i=o(53966),s=o(17676),l=o(91429),n=o(20655),a=o(97159),p=o(20378),y=o(57212);const h=new(o(66344).q)(500);var u,c=o(93223);let d=u=class extends p.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:n.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new u({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=h,r=`${this._fetchCacheKey}:${e?.acceptedFormats?.join(",")}`,l=t.get(r);if(l)return await Promise.resolve(),(0,s.Te)(e),l.clone();const{resolveWebStyleSymbol:n}=await o.e(7883).then(o.bind(o,27883));(0,s.Te)(e);const a=n(this,{portal:this.portal},e);a.catch(e=>{i.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const p=await a;return t.put(r,p.clone()),p}};(0,r.Cg)([(0,l.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"styleName",void 0),(0,r.Cg)([(0,l.MZ)({type:n.A,json:{write:!1}})],d.prototype,"portal",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{read:a.r,write:a.w}})],d.prototype,"styleUrl",void 0),(0,r.Cg)([(0,l.MZ)({type:y.V,json:{read:!1}})],d.prototype,"thumbnail",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,r.Cg)([(0,c.e)({styleSymbolReference:"web-style"},{readOnly:!0})],d.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],d.prototype,"_fetchCacheKey",null),d=u=(0,r.Cg)([(0,l.$K)("esri.symbols.WebStyleSymbol")],d)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(25482),s=o(91429);let l=class extends i.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,s.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,s.$K)("esri.symbols.callouts.Callout3D")],l)},8893(e,t,o){o.d(t,{A:()=>m});var r,i=o(5482),s=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(4595),y=o(25482),h=o(67222);let u=r=class extends y.o{constructor(e){super(e),this.color=new s.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],u.prototype,"color",void 0),u=r=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],u);const c=u;var d,g=o(93223);let m=d=class extends p.A{constructor(e){super(e),this.type="line",this.color=new s.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new d({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,i.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,i.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,i.Cg)([(0,a.MZ)({type:c,json:{write:!0}})],m.prototype,"border",void 0),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"visible",null),m=d=(0,i.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],m)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>s,oG:()=>n});var r=o(4595),i=o(8893);function s(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!s(e)}const n={types:{key:"type",base:r.A,typeMap:{line:i.A}},json:{write:!0}}},4792(e,t,o){o.d(t,{A:()=>h});var r=o(5482),i=o(68197),s=o(25482),l=o(4718),n=o(90629),a=o(91429),p=o(67222);let y=class extends s.o{constructor(e){super(e),this.color=new i.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],y);const h=y},39065(e,t,o){o.d(t,{A:()=>p});var r,i=o(5482),s=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a},51734(e,t,o){o.d(t,{J:()=>h});var r,i=o(4792),s=o(5482),l=o(91429),n=o(93223);let a=r=class extends i.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const h={types:{key:"type",base:i.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},36533(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e)}};(0,r.Cg)([(0,l.MZ)({type:["style","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.LinePattern3D")],n)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(5482),i=o(66552),s=o(91429),l=o(36533),n=o(93223);const a=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let p=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,s.MZ)({type:["style"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,r.Cg)([(0,n.e)(a),(0,s.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=(0,r.Cg)([(0,s.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,l.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.Pattern3D")],n)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(5482),i=o(91429),s=o(3955);let l=class extends s.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],l.prototype,"style",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.StylePattern3D")],l)},20603(e,t,o){o.d(t,{r:()=>n,v:()=>a});var r=o(36533),i=o(44633),s=o(3955),l=o(16264);const n={types:{key:"type",base:s.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:i.A}},json:{write:!0}}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(5482),i=o(69540),s=o(25482),l=o(91429);let n=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.mode="adaptive"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n)},98751(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(69622),l=o(91429),n=o(20655);let a=r=class extends s.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,i.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,i.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(5482),i=o(69540),s=o(25482),l=o(91429),n=o(67222),a=o(93223);let p=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,range:{min:0},json:{write:!0}})],p.prototype,"strength",void 0),(0,r.Cg)([(0,a.e)({emissive:"emissive",color:"color"}),(0,l.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,i.OU)(s.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,l.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],y)},4900(e,t,o){o.d(t,{A:()=>a});var r,i=o(5482),s=o(25482),l=o(91429),n=o(67222);let a=r=class extends s.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,i.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,i.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},57212(e,t,o){o.d(t,{V:()=>n});var r,i=o(5482),s=o(69622),l=o(91429);let n=r=class extends s.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,i.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,i.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},33386(e,t,o){o.d(t,{ON:()=>i,U9:()=>l,u7:()=>s});var r=o(68197);const i=new r.A("white"),s=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},83213(e,t,o){o.d(t,{x:()=>r,z:()=>i});const r=["begin","end","begin-end"],i=["arrow","circle","square","diamond","cross","x"]},67222(e,t,o){o.d(t,{EW:()=>p,pI:()=>y});var r=o(68197),i=o(90629),s=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,i=t.color;return i&&Array.isArray(i)?new r.A([i[0]||0,i[1]||0,i[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function p(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[s.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[s.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:s.jz}},writer:a}}}}const y={type:Number,cast:i.cr,json:{write:!0}}},27066(e,t,o){o.d(t,{D:()=>r});const r={type:o(97515).A,json:{write:!0,default:null}}},8887(e,t,o){o.d(t,{Fq:()=>n,M4:()=>a,Nv:()=>p,e:()=>y}),o(51850);var r=o(70328);const i=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),s=(0,r.fA)(-.5,-.5,0,.5,.5,1),l=(0,r.fA)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return i;case"cylinder":case"cone":case"inverted-cone":return s;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"],y=["miter","bevel","round"]},5760(e,t,o){o.d(t,{NM:()=>n,Tb:()=>a,_R:()=>l,h9:()=>s,rM:()=>p,x0:()=>y,y7:()=>h});var r=o(34727),i=o(56507);const s=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,i.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0},p={type:["left","right","center"],nonNullable:!0},y={type:["baseline","top","middle","bottom"],nonNullable:!0},h=8},33910(e,t,o){o.d(t,{dp:()=>W,$y:()=>x,wk:()=>z,Y7:()=>O,wC:()=>$,Ac:()=>k,Bu:()=>D,Es:()=>L,q8:()=>N,em:()=>K,Rv:()=>q,xK:()=>_,On:()=>P});var r,i=o(56507),s=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(5482),h=o(4718),u=o(90629),c=o(91429),d=o(65851),g=o(77040),m=o(93223);let b=r=class extends d.A{constructor(...e){super(...e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const i={};return e&&(i.url=e),t&&(i.outline=t),null!=o&&(i.width=(0,u.cr)(o)),null!=r&&(i.height=(0,u.cr)(r)),i}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){const e=new r({color:(0,h.o8)(this.color),height:this.height,outline:(0,h.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,h.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,y.Cg)([(0,c.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,y.Cg)([(0,m.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,y.Cg)([(0,c.MZ)(g.ku)],b.prototype,"url",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"width",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"height",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,y.Cg)([(0,c.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,y.Cg)([(0,c.MZ)(g.k7)],b.prototype,"source",void 0),b=r=(0,y.Cg)([(0,c.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),f=o(75981),C=o(65365),v=o(94985),A=o(31593),S=o(53930),M=o(20378),Z=o(68249),j=o(29169);function x(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const L={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},$=(M.A,v.A,l.A,{base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,"point-3d":f.A,cim:l.A},errorContext:"symbol"}),O={base:M.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},k={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"polygon-3d":C.A,cim:l.A},errorContext:"symbol"},N={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},D=(0,s.C)({types:L}),_={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},K={base:M.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},P=(M.A,n.A,a.A,p.A,f.A,C.A,j.A,{base:M.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"}),q={base:M.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},W=(0,i.aq)(L)},77040(e,t,o){o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),i=o(97159);function s(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,i.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):s(t.url,o)}},write:{writer(e,t,o,s){!function(e,t,o,s){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,i.w)(o.url,t,"url",s)}else(0,i.w)(e,t,"url",s)}(e,t,this.source,s)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=s(t.url,o)),r}}}}}}]);