@arcgis/core 5.1.0-next.131 → 5.1.0-next.133

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 (34) 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/81cd819c236066dc1654.js +1 -0
  4. package/assets/esri/core/workers/chunks/{4e59e5a5d0ff887ff899.js → b4eb102f35315bfd6966.js} +1 -1
  5. package/assets/esri/core/workers/chunks/bdb2077d25525853975f.js +1 -0
  6. package/assets/esri/core/workers/chunks/da7f85916ae799950317.js +1 -0
  7. package/assets/esri/core/workers/chunks/{0754cb7df69cc3698a27.js → fad4ce7392b89c606656.js} +1 -1
  8. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +4 -0
  9. package/assets/esri/themes/dark/main.css +1 -1
  10. package/assets/esri/themes/light/main.css +1 -1
  11. package/assets/esri/themes/light/view.css +1 -1
  12. package/config.js +1 -1
  13. package/kernel.js +1 -1
  14. package/layers/mixins/SceneService.js +1 -1
  15. package/package.json +1 -1
  16. package/support/revision.js +1 -1
  17. package/symbols/WebStyleSymbol.js +1 -1
  18. package/undoredo/support/ApplySetItem.js +1 -1
  19. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  20. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  21. package/views/2d/layers/support/annodime/virtualFields.js +1 -1
  22. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  23. package/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +1 -1
  24. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  25. package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
  26. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  27. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  28. package/views/draw/DrawTool.js +1 -1
  29. package/widgets/OrientedImageryViewer/css.js +1 -1
  30. package/widgets/OrientedImageryViewer.js +1 -1
  31. package/widgets/Print/PrintViewModel.js +1 -1
  32. package/assets/esri/core/workers/chunks/1c689bb502657b1f173b.js +0 -1
  33. package/assets/esri/core/workers/chunks/753e0b21e57c12c742ee.js +0 -1
  34. package/assets/esri/core/workers/chunks/aa5f36d7ed59c625ba78.js +0 -1
@@ -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}}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5804,7642],{46130(e,t,r){r.d(t,{v:()=>n});var o=r(76553);function n(e){e?.writtenProperties&&e.writtenProperties.forEach(({target:e,propName:t,newOrigin:r})=>{(0,o.H)(e)&&r&&e.originOf(t)!==r&&e.updateOrigin(t,r)})}},35522(e,t,r){r.d(t,{$A:()=>C,Bw:()=>s,C:()=>a,Cc:()=>A,DI:()=>x,Il:()=>$,Io:()=>v,Ln:()=>g,Om:()=>b,Qr:()=>p,Re:()=>c,S8:()=>I,T9:()=>y,WQ:()=>l,Z0:()=>R,_S:()=>h,aI:()=>U,ei:()=>Z,fw:()=>j,g7:()=>N,gL:()=>P,hG:()=>M,hZ:()=>i,hs:()=>m,jb:()=>F,jk:()=>f,lo:()=>k,lw:()=>u,m3:()=>w,oW:()=>O,t2:()=>q,tn:()=>d,uE:()=>E,xg:()=>D,ze:()=>S});var o=r(51850),n=r(34304);function s(e){const t=e[0],r=e[1],o=e[2];return Math.sqrt(t*t+r*r+o*o)}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function i(e,t,r,o){return e[0]=t,e[1]=r,e[2]=o,e}function l(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function c(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function u(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function p(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function h(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function f(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function y(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function m(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function g(e,t,r,o){return e[0]=t[0]+r[0]*o,e[1]=t[1]+r[1]*o,e[2]=t[2]+r[2]*o,e}function v(e,t){const r=t[0]-e[0],o=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+o*o+n*n)}function M(e,t){const r=t[0]-e[0],o=t[1]-e[1],n=t[2]-e[2];return r*r+o*o+n*n}function w(e){const t=e[0],r=e[1],o=e[2];return t*t+r*r+o*o}function S(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function I(e,t){const r=t[0],o=t[1],n=t[2];let s=r*r+o*o+n*n;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function b(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function C(e,t,r){const o=t[0],n=t[1],s=t[2],a=r[0],i=r[1],l=r[2];return e[0]=n*l-s*i,e[1]=s*a-o*l,e[2]=o*i-n*a,e}function A(e,t,r,o){const n=t[0],s=t[1],a=t[2];return e[0]=n+o*(r[0]-n),e[1]=s+o*(r[1]-s),e[2]=a+o*(r[2]-a),e}function R(e,t,r){const o=t[0],n=t[1],s=t[2];return e[0]=r[0]*o+r[4]*n+r[8]*s+r[12],e[1]=r[1]*o+r[5]*n+r[9]*s+r[13],e[2]=r[2]*o+r[6]*n+r[10]*s+r[14],e}function Z(e,t,r){const o=t[0],n=t[1],s=t[2];return e[0]=o*r[0]+n*r[3]+s*r[6],e[1]=o*r[1]+n*r[4]+s*r[7],e[2]=o*r[2]+n*r[5]+s*r[8],e}function P(e,t,r){return j(e,t,r[0],r[1],r[2],r[3])}function j(e,t,r,o,n,s){const a=t[0],i=t[1],l=t[2],c=o*l-n*i,u=n*a-r*l,p=r*i-o*a,d=o*p-n*u,h=n*c-r*p,f=r*u-o*c,y=2*s;return e[0]=a+c*y+2*d,e[1]=i+u*y+2*h,e[2]=l+p*y+2*f,e}function N(e,t){I(T,e),I(L,t);const r=b(T,L);return r>1?0:r<-1?Math.PI:Math.acos(r)}const T=(0,o.vt)(),L=(0,o.vt)();function q(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function U(e,t){if(e===t)return!0;const r=e[0],o=e[1],s=e[2],a=t[0],i=t[1],l=t[2],c=(0,n.FD)();return Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(o-i)<=c*Math.max(1,Math.abs(o),Math.abs(i))&&Math.abs(s-l)<=c*Math.max(1,Math.abs(s),Math.abs(l))}function O(e,t,r){const o=r[0]-t[0],n=r[1]-t[1],s=r[2]-t[2];let a=o*o+n*n+s*s;return a>0?(a=1/Math.sqrt(a),e[0]=o*a,e[1]=n*a,e[2]=s*a,e):(e[0]=0,e[1]=0,e[2]=0,e)}const F=c,_=u,K=p,D=v,k=M,$=s,E=w;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:N,bezier:function(e,t,r,o,n,s){const a=1-s,i=a*a,l=s*s,c=i*a,u=3*s*i,p=3*l*a,d=l*s;return e[0]=t[0]*c+r[0]*u+o[0]*p+n[0]*d,e[1]=t[1]*c+r[1]*u+o[1]*p+n[1]*d,e[2]=t[2]*c+r[2]*u+o[2]*p+n[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:a,cross:C,crossAndNormalize:function(e,t,r){const o=t[0],n=t[1],s=t[2],a=r[0],i=r[1],l=r[2],c=n*l-s*i,u=s*a-o*l,p=o*i-n*a,d=Math.sqrt(c*c+u*u+p*p);return e[0]=c/d,e[1]=u/d,e[2]=p/d,e},direction:O,dist:D,distance:v,div:K,divide:p,dot:b,equals:U,exactEquals:q,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,o,n,s){const a=s*s,i=a*(2*s-3)+1,l=a*(s-2)+s,c=a*(s-1),u=a*(3-2*s);return e[0]=t[0]*i+r[0]*l+o[0]*c+n[0]*u,e[1]=t[1]*i+r[1]*l+o[1]*c+n[1]*u,e[2]=t[2]*i+r[2]*l+o[2]*c+n[2]*u,e},inverse:x,len:$,length:s,lerp:A,max:y,min:f,mul:_,multiply:u,negate:S,normalize:I,random:function(e,t=1){const r=n.Ov,o=2*r()*Math.PI,s=2*r()-1,a=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(o)*a,e[1]=Math.sin(o)*a,e[2]=s*t,e},rotateX:function(e,t,r,o){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0],s[1]=n[1]*Math.cos(o)-n[2]*Math.sin(o),s[2]=n[1]*Math.sin(o)+n[2]*Math.cos(o),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateY:function(e,t,r,o){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[2]*Math.sin(o)+n[0]*Math.cos(o),s[1]=n[1],s[2]=n[2]*Math.cos(o)-n[0]*Math.sin(o),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateZ:function(e,t,r,o){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0]*Math.cos(o)-n[1]*Math.sin(o),s[1]=n[0]*Math.sin(o)+n[1]*Math.cos(o),s[2]=n[2],e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:g,set:i,sign:h,sqrDist:k,sqrLen:E,squaredDistance:M,squaredLength:w,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:F,subtract:c,transformMat3:Z,transformMat4:R,transformQuat:P,transformQuatValues:j},Symbol.toStringTag,{value:"Module"}))},76553(e,t,r){function o(e){return e&&"getAtOrigin"in e&&"originOf"in e}r.d(t,{H:()=>o})},65806(e,t,r){r.d(t,{g:()=>a});var o=r(51850),n=r(91218),s=r(9762);function a(e,t,r,o){if((0,n.canProjectWithoutEngine)(e.spatialReference,r))return i[0]=e.x,i[1]=e.y,i[2]=e.z??0,(0,s.projectBuffer)(i,e.spatialReference,0,t,r,0);const a=(0,n.tryProject)(e,r,o);return!!a&&(t[0]=a.x,t[1]=a.y,t[2]=a.z??0,!0)}const i=(0,o.vt)()},27993(e,t,r){r.d(t,{F:()=>i});var o=r(91218),n=r(16930),s=r(9762),a=r(65806);function i(e,t,r,n){return!(null==t||null==n||e.length<2)&&((0,o.canProjectWithoutEngine)(t,n)?(0,s.projectBuffer)(e,t,0,r,n,0,1):(l.x=e[0],l.y=e[1],l.z=e[2],l.spatialReference=t,(0,a.g)(l,r,n)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:n.A.WGS84,type:"point"}},58947(e,t,r){r.d(t,{w6:()=>I,qM:()=>A});var o=r(5482),n=r(11254),s=r(49186),a=r(53966),i=r(17676),l=r(91429),c=r(46130),u=r(5443),p=r(54239),d=r(16930),h=r(60694),f=r(10873),y=r(83898),m=r(73179);var g=r(20655),v=r(80812),M=r(88788),w=r(91682),S=r(26121),x=r(36005);const I=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.spatialReference=null,this.fullExtent=null,this.heightModelInfo=null,this.minScale=0,this.maxScale=0,this.version={major:Number.NaN,minor:Number.NaN,versionString:""},this.copyright=null,this.sublayerTitleMode="item-title",this.title=null,this.layerId=null,this.url=null,this.indexInfo=null,this._debouncedSaveOperations=(0,i.sg)(async(e,t,r)=>{switch(e){case 0:return this._save(t);case 1:return this._saveAs(r,t)}})}readSpatialReference(e,t){return C(t)}readFullExtent(e,t,r){if(null!=e&&"object"==typeof e){const o=null==e.spatialReference?{...e,spatialReference:C(t)}:e;return u.A.fromJSON(o,r)}const o=t.store,n=C(t);return null==n||null==o?.extent||!Array.isArray(o.extent)||o.extent.some(e=>e<b)?null:new u.A({xmin:o.extent[0],ymin:o.extent[1],xmax:o.extent[2],ymax:o.extent[3],spatialReference:n})}parseVersionString(e){const t={major:Number.NaN,minor:Number.NaN,versionString:e},r=e.split(".");return r.length>=2&&(t.major=parseInt(r[0],10),t.minor=parseInt(r[1],10)),t}readVersion(e,t){const r=t.store,o=null!=r.version?r.version.toString():"";return this.parseVersionString(o)}readTitlePortalItem(e){return"item-title"!==this.sublayerTitleMode?void 0:e}readTitleService(e,t){if("item-title"===this.sublayerTitleMode)return this.url?(0,h.yG)(this.url,t.name):t.name;let r=t.name;if(!r&&this.url){const e=(0,h.qg)(this.url);null!=e&&(r=e.title)}const o=this.portalItem?.title;return"item-title-and-service-name"===this.sublayerTitleMode&&o&&(r=o+" - "+r),(0,h.cr)(r)}get parsedUrl(){return(0,m.h)(this,{separator:"layers"})}async _fetchIndexAndUpdateExtent(e,t){this.indexInfo=(0,y.F)(this.parsedUrl?.path??"",this.rootNode,e,this.customParameters,this.apiKey,a.A.getLogger(this),t);const{fullExtent:r}=this;null==r||r.hasZ||this._updateExtent(r,await this.indexInfo)}_updateExtent(e,t){if("page"===t?.type){const r=t.rootIndex%t.pageSize,o=t.rootPage?.nodes?.[r];A(e,o?.obb)}else if("node"===t?.type){const r=t.rootNode?.mbs;if(!Array.isArray(r)||4!==r.length||r[0]<b)return;const o=r[2],n=r[3];e.zmin=o-n,e.zmax=o+n}}async _fetchService(e){if(null==this.url)throw new s.A("sceneservice:url-not-set","Scene service can not be loaded without valid portal item or url");if(null==this.layerId&&/SceneServer\/*$/i.test(this.url)){const t=await this._fetchFirstLayerId(e);null!=t&&(this.layerId=t)}return this._fetchServiceLayer(e)}async _fetchFirstLayerId(e){const t=await(0,n.A)(this.url??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});if(t.data&&Array.isArray(t.data.layers)&&t.data.layers.length>0)return t.data.layers[0].id}async _fetchServiceLayer(e){const t=await(0,n.A)(this.parsedUrl?.path??"",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e});t.ssl&&this.url&&(this.url=this.url.replace(/^http:/i,"https:"));let r=!1;if(t.data.layerType&&"Voxel"===t.data.layerType&&(r=!0),r)return this._fetchVoxelServiceLayer();const o=t.data;this.read(o,this._getServiceContext()),this.validateLayer(o)}async _fetchVoxelServiceLayer(e){const t=(await(0,n.A)(this.parsedUrl?.path+"/layer",{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,this._getServiceContext()),this.validateLayer(t)}_getServiceContext(){return{origin:"service",portalItem:this.portalItem,portal:this.portalItem?.portal,url:this.parsedUrl}}async _ensureLoadBeforeSave(){await this.load(),"beforeSave"in this&&"function"==typeof this.beforeSave&&await this.beforeSave()}validateLayer(e){}async _saveAs(e,t){const r={...P,...t};let o=v.default.from(e);if(!o)throw new s.A("sceneservice:portal-item-required","_saveAs() requires a portal item to save to");o.id&&(o=o.clone(),o.id=null);const n=o.portal||g.A.getDefault();await this._ensureLoadBeforeSave(),o.type=Z,o.portal=n;const a=(0,M.m)(o,"portal-item",!0),i={layers:[this.write({},a)]};return await Promise.all(a.resources.pendingOperations??[]),await this._validateAgainstJSONSchema(i,a,r),this.url&&(o.url=this.url),o.title||(o.title=this.title),R(o,r,1),await n.signIn(),await n.user.addItem({item:o,folder:r?.folder,data:i}),await(0,w.r)(this.resourceReferences,a),this.portalItem=o,(0,c.v)(a),a.portalItem=o,o}async _save(e){const t={...P,...e};if(!this.portalItem)throw new s.A("sceneservice:portal-item-not-set","Portal item to save to has not been set on this SceneService");if(this.portalItem.type!==Z)throw new s.A("sceneservice:portal-item-wrong-type",`Portal item needs to have type "${Z}"`);await this._ensureLoadBeforeSave();const r=(0,M.m)(this.portalItem,"portal-item",!0),o=this.write({},r),a=await async function(e,t){const r=await e.fetchData("json")??{};return Array.isArray(r.layers)||(r.layers=await async function(e,t){const r=await async function(e){const t=N(e.url);if(!t)return null;const r=(await(0,n.A)(t,{query:{f:"json"},responseType:"json"})).data.layers;if(!Array.isArray(r))return null;const o=r.filter(({id:e})=>null!=e).map(({id:e})=>({id:e}));return o.length?o:null}(e).catch(()=>null);return r?.some(({id:e})=>e===t.id)?r:[t]}(e,t)),function(e,t){const r=e.findIndex(({id:e})=>e===t.id);-1===r?e.push(t):e[r]=t}(r.layers,t),r}(this.portalItem,o);await Promise.all(r.resources.pendingOperations??[]),await this._validateAgainstJSONSchema(a,r,t);const i=function(e,t){return t&&function(e,t){const r=N(e);return!!r&&r===T(t).url}(e.url,t)?e.url:t}(this.portalItem,this.url);return i&&(this.portalItem.url=i),this.portalItem.title||(this.portalItem.title=this.title),R(this.portalItem,t,0),await(0,w.S)(this.portalItem,a,this.resourceReferences,r),(0,c.v)(r),this.portalItem}async _validateAgainstJSONSchema(e,t,r){const o=r?.validationOptions;(0,S.ci)(t,{errorName:"sceneservice:save"},{ignoreUnsupported:o?.ignoreUnsupported,supplementalUnsupportedErrors:["scenemodification:unsupported"]});const n=o?.enabled,i=null;if(n&&i){const t=(await i()).validate(e,r.portalItemLayerType);if(!t.length)return;const n=`Layer item did not validate:\n${t.join("\n")}`;if(a.A.getLogger(this).error(`_validateAgainstJSONSchema(): ${n}`),"throw"===o.failPolicy){const e=t.map(e=>new s.A("sceneservice:schema-validation",e));throw new s.A("sceneservice-validate:error","Failed to save layer item due to schema validation, see `details.errors`.",{validationErrors:e})}}}};return(0,o.Cg)([(0,l.MZ)(f.id)],r.prototype,"id",void 0),(0,o.Cg)([(0,l.MZ)({type:d.A})],r.prototype,"spatialReference",void 0),(0,o.Cg)([(0,x.w)("spatialReference",["spatialReference","store.indexCRS","store.geographicCRS"])],r.prototype,"readSpatialReference",null),(0,o.Cg)([(0,l.MZ)({type:u.A})],r.prototype,"fullExtent",void 0),(0,o.Cg)([(0,x.w)("fullExtent",["fullExtent","store.extent","spatialReference","store.indexCRS","store.geographicCRS"])],r.prototype,"readFullExtent",null),(0,o.Cg)([(0,l.MZ)({readOnly:!0,type:p.A})],r.prototype,"heightModelInfo",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:{source:"minScale"},write:!1}}}})],r.prototype,"minScale",void 0),(0,o.Cg)([(0,l.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:{source:"maxScale"},write:!1}}}})],r.prototype,"maxScale",void 0),(0,o.Cg)([(0,l.MZ)({readOnly:!0})],r.prototype,"version",void 0),(0,o.Cg)([(0,x.w)("version",["store.version"])],r.prototype,"readVersion",null),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:{source:"copyrightText"}}})],r.prototype,"copyright",void 0),(0,o.Cg)([(0,l.MZ)({type:String,json:{read:!1}})],r.prototype,"sublayerTitleMode",void 0),(0,o.Cg)([(0,l.MZ)({type:String})],r.prototype,"title",void 0),(0,o.Cg)([(0,x.w)("portal-item","title")],r.prototype,"readTitlePortalItem",null),(0,o.Cg)([(0,x.w)("service","title",["name"])],r.prototype,"readTitleService",null),(0,o.Cg)([(0,l.MZ)({type:Number,json:{origins:{service:{read:{source:"id"}},"portal-item":{write:{target:"id",isRequired:!0,ignoreOrigin:!0},read:!1}}}})],r.prototype,"layerId",void 0),(0,o.Cg)([(0,l.MZ)((0,m.b)({separator:"layers"}))],r.prototype,"url",void 0),(0,o.Cg)([(0,l.MZ)({readOnly:!0})],r.prototype,"parsedUrl",null),(0,o.Cg)([(0,l.MZ)({readOnly:!0})],r.prototype,"store",void 0),(0,o.Cg)([(0,l.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],r.prototype,"rootNode",void 0),r=(0,o.Cg)([(0,l.$K)("esri.layers.mixins.SceneService")],r),r},b=-1e38;function C(e){if(null!=e.spatialReference)return d.A.fromJSON(e.spatialReference);const t=e.store,r=t.indexCRS||t.geographicCRS,o=r&&parseInt(r.slice(r.lastIndexOf("/")+1),10);return null!=o?new d.A(o):null}function A(e,t){if(null==t?.center||null==t.halfSize)throw new s.A("sceneservice:invalid-node-page","Invalid node page.");if(t.center[0]<b)return;const r=t.halfSize,o=t.center[2],n=Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]);e.zmin=o-n,e.zmax=o+n}function R(e,t,r){e.typeKeywords||(e.typeKeywords=[]);const o=t.getTypeKeywords();for(const t of o)e.typeKeywords.push(t);e.typeKeywords&&(e.typeKeywords=e.typeKeywords.filter((e,t,r)=>r.indexOf(e)===t),1===r&&(e.typeKeywords=e.typeKeywords.filter(e=>"Hosted Service"!==e)))}const Z="Scene Service",P={getTypeKeywords:()=>[],portalItemLayerType:"unknown",validationOptions:{enabled:!0,ignoreUnsupported:!1,failPolicy:"throw"}},j={layerId:null};function N(e){if(!e)return null;const t=T(e);if(null!=t.layerId)return null;const r=(0,h.qg)(t.url);return null==r||"SceneServer"===r.serverType?t.url:null}function T(e){return(0,h.HZ)({layer:j,url:e,nonStandardUrlAllowed:!0})}},83898(e,t,r){r.d(t,{F:()=>s});var o=r(11254),n=r(49186);async function s(e,t,r,s,a,i,l){let c=null;if(null!=r){const t=`${e}/nodepages/`,n=t+Math.floor(r.rootIndex/r.nodesPerPage);try{return{type:"page",rootPage:(await(0,o.A)(n,{query:{f:"json",...s,token:a},responseType:"json",signal:l})).data,rootIndex:r.rootIndex,pageSize:r.nodesPerPage,lodMetric:r.lodSelectionMetricType,urlPrefix:t}}catch(e){null!=i&&i.warn("#fetchIndexInfo()","Failed to load root node page. Falling back to node documents.",n,e),c=e}}if(!t)return null;const u=t?.split("/").pop(),p=`${e}/nodes/`,d=p+u;try{return{type:"node",rootNode:(await(0,o.A)(d,{query:{f:"json",...s,token:a},responseType:"json",signal:l})).data,urlPrefix:p}}catch(e){throw new n.A("sceneservice:root-node-missing","Root node missing.",{pageError:c,nodeError:e,url:d})}}},50805(e,t,r){r.d(t,{L0:()=>m,Ot:()=>d,W4:()=>i,uV:()=>u});var o=r(5482),n=r(25482),s=r(91429),a=r(93223);let i=class extends n.o{constructor(){super(...arguments),this.nodesPerPage=null,this.rootIndex=0,this.lodSelectionMetricType=null}};(0,o.Cg)([(0,s.MZ)({type:Number})],i.prototype,"nodesPerPage",void 0),(0,o.Cg)([(0,s.MZ)({type:Number})],i.prototype,"rootIndex",void 0),(0,o.Cg)([(0,s.MZ)({type:String})],i.prototype,"lodSelectionMetricType",void 0),i=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SNodePageDefinition")],i);let l=class extends n.o{constructor(){super(...arguments),this.factor=1}};(0,o.Cg)([(0,s.MZ)({type:Number,json:{read:{source:"textureSetDefinitionId"}}})],l.prototype,"id",void 0),(0,o.Cg)([(0,s.MZ)({type:Number})],l.prototype,"factor",void 0),l=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SMaterialTexture")],l);let c=class extends n.o{constructor(){super(...arguments),this.baseColorFactor=[1,1,1,1],this.baseColorTexture=null,this.metallicRoughnessTexture=null,this.metallicFactor=1,this.roughnessFactor=1}};(0,o.Cg)([(0,s.MZ)({type:[Number]})],c.prototype,"baseColorFactor",void 0),(0,o.Cg)([(0,s.MZ)({type:l})],c.prototype,"baseColorTexture",void 0),(0,o.Cg)([(0,s.MZ)({type:l})],c.prototype,"metallicRoughnessTexture",void 0),(0,o.Cg)([(0,s.MZ)({type:Number})],c.prototype,"metallicFactor",void 0),(0,o.Cg)([(0,s.MZ)({type:Number})],c.prototype,"roughnessFactor",void 0),c=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SMaterialPBRMetallicRoughness")],c);let u=class extends n.o{constructor(){super(...arguments),this.alphaMode="opaque",this.alphaCutoff=.25,this.doubleSided=!1,this.cullFace="none",this.normalTexture=null,this.occlusionTexture=null,this.emissiveTexture=null,this.emissiveFactor=null,this.pbrMetallicRoughness=null}};(0,o.Cg)([(0,a.e)({opaque:"opaque",mask:"mask",blend:"blend"})],u.prototype,"alphaMode",void 0),(0,o.Cg)([(0,s.MZ)({type:Number})],u.prototype,"alphaCutoff",void 0),(0,o.Cg)([(0,s.MZ)({type:Boolean})],u.prototype,"doubleSided",void 0),(0,o.Cg)([(0,a.e)({none:"none",back:"back",front:"front"})],u.prototype,"cullFace",void 0),(0,o.Cg)([(0,s.MZ)({type:l})],u.prototype,"normalTexture",void 0),(0,o.Cg)([(0,s.MZ)({type:l})],u.prototype,"occlusionTexture",void 0),(0,o.Cg)([(0,s.MZ)({type:l})],u.prototype,"emissiveTexture",void 0),(0,o.Cg)([(0,s.MZ)({type:[Number]})],u.prototype,"emissiveFactor",void 0),(0,o.Cg)([(0,s.MZ)({type:c})],u.prototype,"pbrMetallicRoughness",void 0),u=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SMaterialDefinition")],u);let p=class extends n.o{};(0,o.Cg)([(0,s.MZ)({type:String,json:{read:{source:["name","index"],reader:(e,t)=>null!=e?e:`${t.index}`}}})],p.prototype,"name",void 0),(0,o.Cg)([(0,a.e)({jpg:"jpg",png:"png",dds:"dds","ktx-etc2":"ktx-etc2",ktx2:"ktx2",basis:"basis"})],p.prototype,"format",void 0),p=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3STextureFormat")],p);let d=class extends n.o{constructor(){super(...arguments),this.atlas=!1}};(0,o.Cg)([(0,s.MZ)({type:[p]})],d.prototype,"formats",void 0),(0,o.Cg)([(0,s.MZ)({type:Boolean})],d.prototype,"atlas",void 0),d=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3STextureSetDefinition")],d);let h=class extends n.o{};(0,o.Cg)([(0,a.e)({Float32:"Float32",UInt64:"UInt64",UInt32:"UInt32",UInt16:"UInt16",UInt8:"UInt8"})],h.prototype,"type",void 0),(0,o.Cg)([(0,s.MZ)({type:Number})],h.prototype,"component",void 0),h=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SGeometryAttribute")],h);let f=class extends n.o{};(0,o.Cg)([(0,a.e)({draco:"draco"})],f.prototype,"encoding",void 0),(0,o.Cg)([(0,s.MZ)({type:[String]})],f.prototype,"attributes",void 0),f=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SGeometryCompressedAttributes")],f);let y=class extends n.o{constructor(){super(...arguments),this.offset=0}};(0,o.Cg)([(0,s.MZ)({type:Number})],y.prototype,"offset",void 0),(0,o.Cg)([(0,s.MZ)({type:h})],y.prototype,"position",void 0),(0,o.Cg)([(0,s.MZ)({type:h})],y.prototype,"normal",void 0),(0,o.Cg)([(0,s.MZ)({type:h})],y.prototype,"uv0",void 0),(0,o.Cg)([(0,s.MZ)({type:h})],y.prototype,"color",void 0),(0,o.Cg)([(0,s.MZ)({type:h})],y.prototype,"uvRegion",void 0),(0,o.Cg)([(0,s.MZ)({type:h})],y.prototype,"featureId",void 0),(0,o.Cg)([(0,s.MZ)({type:h})],y.prototype,"faceRange",void 0),(0,o.Cg)([(0,s.MZ)({type:f})],y.prototype,"compressedAttributes",void 0),y=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SGeometryBuffer")],y);let m=class extends n.o{};(0,o.Cg)([(0,a.e)({triangle:"triangle"})],m.prototype,"topology",void 0),(0,o.Cg)([(0,s.MZ)()],m.prototype,"geometryBuffers",void 0),m=(0,o.Cg)([(0,s.$K)("esri.layers.support.I3SLayerDefinitions.I3SGeometryDefinition")],m)},88788(e,t,r){r.d(t,{m:()=>a,v:()=>s});var o=r(84952),n=r(20655);function s(e,t){return{...i(e,t),readResourcePaths:[]}}function a(e,t,r){const n=(0,o.An)(e.itemUrl);return{...i(e,t),messages:[],writtenProperties:[],blockedRelativeUrls:[],verifyItemRelativeUrls:n?{rootPath:n.path,writtenUrls:[]}:null,resources:r?{toAdd:[],toUpdate:[],toKeep:[],pendingOperations:[]}:null}}function i(e,t){return{origin:t,url:(0,o.An)(e.itemUrl),portal:e.portal||n.A.getDefault(),portalItem:e}}},15804(e,t,r){r.d(t,{addOrUpdateResources:()=>i,bg:()=>d,cL:()=>p,fetchResources:()=>a,removeAllResources:()=>c,removeResource:()=>l});var o=r(11254),n=r(49186),s=r(84952);async function a(e,t={},r){await e.load(r);const o=(0,s.fj)(e.itemUrl,"resources"),{start:n=1,num:a=10,sortOrder:i="asc",sortField:l="resource"}=t,c={query:{start:n,num:a,sortOrder:i,sortField:l,token:e.apiKey},signal:r?.signal},u=await e.portal.request(o,c);return{total:u.total,nextStart:u.nextStart,resources:u.resources.map(({created:t,size:r,resource:o})=>({created:new Date(t),size:r,resource:e.resourceFromPath(o)}))}}async function i(e,t,r,o){const a=new Map;for(const{resource:e,content:o,compress:s,access:i}of t){if(!e.hasPath())throw new n.A(`portal-item-resource-${r}:invalid-path`,"Resource does not have a valid path");const[t,l]=u(e.path),c=`${t}/${s??""}/${i??""}`;a.has(c)||a.set(c,{prefix:t,compress:s,access:i,files:[]}),a.get(c).files.push({fileName:l,content:o})}await e.load(o);const i=(0,s.fj)(e.userItemUrl,"add"===r?"addResources":"updateResources");for(const{prefix:t,compress:r,access:n,files:s}of a.values()){const a=25;for(let l=0;l<s.length;l+=a){const c=s.slice(l,l+a),u=new FormData;t&&"."!==t&&u.append("resourcesPrefix",t),r&&u.append("compress","true"),n&&u.append("access",n);let p=0;for(const{fileName:e,content:t}of c)u.append("file"+ ++p,t,e);u.append("f","json"),await e.portal.request(i,{method:"post",body:u,signal:o?.signal})}}}async function l(e,t,r){if(!t.hasPath())throw new n.A("portal-item-resources-remove:invalid-path","Resource does not have a valid path");await e.load(r);const o=(0,s.fj)(e.userItemUrl,"removeResources");await e.portal.request(o,{method:"post",query:{resource:t.path},signal:r?.signal}),t.portalItem=null}async function c(e,t){await e.load(t);const r=(0,s.fj)(e.userItemUrl,"removeResources");return e.portal.request(r,{method:"post",query:{deleteAll:!0},signal:t?.signal})}function u(e){const t=e.lastIndexOf("/");return-1===t?[".",e]:[e.slice(0,t),e.slice(t+1)]}async function p(e){return"blob"===e.type?e.blob:"json"===e.type?new Blob([e.jsonString],{type:"application/json"}):(await(0,o.A)(e.url,{responseType:"blob"})).data}function d(e,t){if(!e.hasPath())return null;const[r,,o]=function(e){const[t,r]=function(e){const t=(0,s.Zo)(e);return null==t?[e,""]:[e.slice(0,e.length-t.length-1),`.${t}`]}(e),[o,n]=u(t);return[o,n,r]}(e.path);return e.portalItem.resourceFromPath((0,s.fj)(r,t+o))}},91682(e,t,r){r.d(t,{S:()=>l,r:()=>i});var o=r(49186),n=r(17676),s=r(13069),a=r(15804);async function i(e,t,r){const o=await c(e,t,r);await u(o,t,r)}async function l(e,t,r,o,n){const s=await c(r,o,n);await e.update({data:t}),await u(s,o,n)}async function c(e,t,i){if(!t?.resources)return;const l=t.portalItem===e.portalItem?new Set(e.paths):new Set;e.paths.length=0,e.portalItem=t.portalItem;const c=new Set(t.resources.toKeep.map(e=>e.resource.path)),u=new Set,p=[];c.forEach(t=>{l.delete(t),e.paths.push(t)});const d=[],h=[],f=[];for(const r of t.resources.toUpdate)if(l.delete(r.resource.path),c.has(r.resource.path)||u.has(r.resource.path)){const{resource:t,content:o,finish:n}=r,i=(0,a.bg)(t,(0,s.lk)());e.paths.push(i.path),d.push({resource:i,content:await(0,a.cL)(o),compress:r.compress}),n&&f.push(()=>n(i))}else{e.paths.push(r.resource.path),h.push({resource:r.resource,content:await(0,a.cL)(r.content),compress:r.compress});const t=r.finish;t&&f.push(()=>t(r.resource)),u.add(r.resource.path)}for(const r of t.resources.toAdd)if(e.paths.push(r.resource.path),l.has(r.resource.path))l.delete(r.resource.path);else{d.push({resource:r.resource,content:await(0,a.cL)(r.content),compress:r.compress});const e=r.finish;e&&f.push(()=>e(r.resource))}if(d.length||h.length){const{addOrUpdateResources:e}=await Promise.resolve().then(r.bind(r,15804));await e(t.portalItem,d,"add",i),await e(t.portalItem,h,"update",i)}if(f.forEach(e=>e()),0===p.length)return l;const y=await(0,n.Ol)(p);if((0,n.Te)(i),y.length>0)throw new o.A("save:resources","Failed to save one or more resources",{errors:y});return l}async function u(e,t,r){if(!e||!t.portalItem)return;const o=[];for(const n of e){const e=t.portalItem.resourceFromPath(n);o.push(e.portalItem.removeResource(e,r))}await(0,n.Lx)(o)}},26121(e,t,r){r.d(t,{I6:()=>l,ci:()=>i,dL:()=>a});var o=r(49186),n=r(77548),s=r(59923);async function a(e){const t=[];for(const r of e.allLayers)if("beforeSave"in r&&"function"==typeof r.beforeSave){const e=r.beforeSave();e&&t.push(e)}await Promise.allSettled(t)}function i(e,t,r){let n=(e.messages??[]).filter(({type:e})=>"error"===e).map(({name:e,message:t,details:r})=>new o.A(e,t,r));if(e.blockedRelativeUrls&&(n=n.concat(e.blockedRelativeUrls.map(e=>(0,s.GL)("url",`Relative url '${e}' is not supported`)))),r){const{ignoreUnsupported:e,supplementalUnsupportedErrors:t=[],requiredPropertyChecksDisabled:o}=r;e&&(n=n.filter(({name:e})=>!(s.MG.has(e)||t.includes(e)))),o&&(n=n.filter(e=>"web-document-write:property-required"!==e.name))}if(n.length>0)throw new o.A(t.errorName,"Failed to save due to unsupported or invalid content. See 'details.errors' for more detailed information",{errors:n})}function l(e){return(0,n.qd)(e).some(e=>!!e.charts?.length)}}}]);