@arcgis/core 4.27.0-next.20230521 → 4.27.0-next.20230522

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 (173) hide show
  1. package/Graphic.js +1 -1
  2. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  3. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  4. package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
  5. package/arcade/featureset/sources/FeatureLayerRelated.js +1 -1
  6. package/arcade/functions/featuresetbase.js +1 -1
  7. package/assets/esri/core/workers/RemoteClient.js +1 -1
  8. package/assets/esri/core/workers/chunks/0d02856e55d20b99fc8b.js +1 -0
  9. package/assets/esri/core/workers/chunks/{69242c66492717c7388c.js → 0fcb8d408696075338e2.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{1edc5c06874cb12c5478.js → 17f313e548281bb5db3e.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{b91c155de9a89e4e6971.js → 187c3b971ed0fc4363ef.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{85c6ce93aa41e6b65997.js → 18db07d739a713cc0465.js} +1 -1
  13. package/assets/esri/core/workers/chunks/28286014a575042619ee.js +1 -0
  14. package/assets/esri/core/workers/chunks/{692dfeb2e255fdc0ade2.js → 39288fa69561d21f04f8.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{2b9d3e60977934a6d471.js → 3bc6b5f0643364749ef8.js} +1 -1
  16. package/assets/esri/core/workers/chunks/45e5ad704d18dd0857ce.js +1 -0
  17. package/assets/esri/core/workers/chunks/{62d9d15f0d00a75da42c.js → 4670b17ae2ed3c13d344.js} +1 -1
  18. package/assets/esri/core/workers/chunks/4d24efa01d1accc5a5f0.js +1 -0
  19. package/assets/esri/core/workers/chunks/52575f021a14dd961de8.js +1 -0
  20. package/assets/esri/core/workers/chunks/{6312783626bacf52df7a.js → 55486c644e8b01326a0d.js} +1 -1
  21. package/assets/esri/core/workers/chunks/5576858f56314afcb4d5.js +1 -0
  22. package/assets/esri/core/workers/chunks/5a4c04bf4f57e74457c5.js +1 -0
  23. package/assets/esri/core/workers/chunks/70d6e5edf05ef7079fa8.js +1 -0
  24. package/assets/esri/core/workers/chunks/71bdf8f10aee0077f681.js +1 -0
  25. package/assets/esri/core/workers/chunks/72b2c3c8e76da699690c.js +1 -0
  26. package/assets/esri/core/workers/chunks/78ce0b1af62435d8ebf4.js +1 -0
  27. package/assets/esri/core/workers/chunks/791f529e90135398b3d5.js +1 -0
  28. package/assets/esri/core/workers/chunks/8d3abfe6fdc5ac8d6cb7.js +1 -0
  29. package/assets/esri/core/workers/chunks/96d339abcd917f1f0ae1.js +1 -0
  30. package/assets/esri/core/workers/chunks/97cdbec7532cfcdf9ad2.js +1 -0
  31. package/assets/esri/core/workers/chunks/{f3f6035a17f7dcd19675.js → 9ab400a89dd701778d2c.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{1488b3d48232844b8bb4.js → 9fe349f43d5ff5a4ac2d.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{22396dd3717d17a5d235.js → a1c31bb8c12831539328.js} +1 -1
  34. package/assets/esri/core/workers/chunks/b4e2dc6b3d06b426e596.js +1 -0
  35. package/assets/esri/core/workers/chunks/{48abcb2d88f22e6e9fde.js → c2cb9fa18c77f0c5104e.js} +1 -1
  36. package/assets/esri/core/workers/chunks/cad7a2092ea7f51dbd8b.js +1 -0
  37. package/assets/esri/core/workers/chunks/d725dbbdeb05322e6d88.js +1 -0
  38. package/assets/esri/core/workers/chunks/df3e497d12ed77bae168.js +1 -0
  39. package/assets/esri/core/workers/chunks/{4d5f71d84c85f45c97ea.js → ed6f6e539a915ba9e64d.js} +1 -1
  40. package/assets/esri/core/workers/chunks/fb080339bfaf32731ca6.js +1 -0
  41. package/assets/esri/themes/base/_core.scss +2 -0
  42. package/assets/esri/themes/base/widgets/_FloorFilter.scss +6 -0
  43. package/assets/esri/themes/base/widgets/_UtilityNetworkValidateTopology.scss +40 -0
  44. package/assets/esri/themes/dark/main.css +1 -1
  45. package/assets/esri/themes/light/main.css +1 -1
  46. package/assets/esri/themes/light/view.css +1 -1
  47. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  48. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  49. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  50. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  51. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  52. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  53. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  54. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  55. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  56. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  57. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  58. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  59. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  60. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  61. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  62. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  63. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  64. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  65. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  66. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  67. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  68. package/assets/esri/widgets/Editor/t9n/Editor_nb.json +1 -1
  69. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  70. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  71. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  72. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  73. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  74. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  75. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  76. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  77. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  78. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  79. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  80. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  81. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  82. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  83. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  84. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  85. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  86. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology.json +1 -1
  87. package/assets/esri/widgets/UtilityNetworkValidateTopology/t9n/UtilityNetworkValidateTopology_en.json +1 -1
  88. package/chunks/mat4.js +1 -1
  89. package/core/accessorSupport/write.js +1 -1
  90. package/core/fontUtils.js +1 -1
  91. package/core/libs/gl-matrix-2/math/mat4.js +1 -1
  92. package/geometry/Mesh.js +1 -1
  93. package/geometry/support/MeshGeoreferencedRelativeVertexSpace.d.ts +4 -0
  94. package/geometry/support/MeshGeoreferencedRelativeVertexSpace.js +5 -0
  95. package/geometry/support/MeshGeoreferencedVertexSpace.d.ts +4 -0
  96. package/geometry/support/MeshGeoreferencedVertexSpace.js +5 -0
  97. package/geometry/support/MeshLocalVertexSpace.d.ts +4 -0
  98. package/geometry/support/MeshLocalVertexSpace.js +5 -0
  99. package/geometry/support/MeshTransform.d.ts +4 -0
  100. package/geometry/support/MeshTransform.js +1 -1
  101. package/geometry/support/meshUtils/ElevationSamplerWorker.js +1 -1
  102. package/geometry/support/meshUtils/centerAt.js +1 -1
  103. package/geometry/support/meshUtils/exporters/gltf/geometry.js +1 -1
  104. package/geometry/support/meshUtils/exporters/gltf/gltf.js +1 -1
  105. package/geometry/support/meshUtils/geographicUtils.js +1 -1
  106. package/geometry/support/meshUtils/georeference.js +1 -1
  107. package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
  108. package/geometry/support/meshUtils/merge.js +1 -1
  109. package/geometry/support/meshUtils/offset.js +1 -1
  110. package/geometry/support/meshUtils/primitives.js +1 -1
  111. package/geometry/support/meshUtils/rotate.js +1 -1
  112. package/geometry/support/meshUtils/scale.js +1 -1
  113. package/interfaces.d.ts +227 -1
  114. package/layers/VoxelWasmPerSceneView.js +1 -1
  115. package/layers/graphics/data/attributeSupport.js +1 -1
  116. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  117. package/networks/support/TopologyValidationJobInfo.js +1 -1
  118. package/package.json +1 -1
  119. package/popup/FieldInfo.js +1 -1
  120. package/portal/Portal.js +1 -1
  121. package/rest/support/FeatureSet.js +1 -1
  122. package/rest/support/meshFeatureSet.js +1 -1
  123. package/support/revision.js +1 -1
  124. package/symbols/cim/cimAnalyzer.js +1 -1
  125. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  126. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  127. package/views/3d/interactive/editingTools/meshFastUpdateUtils.js +1 -1
  128. package/views/3d/interactive/editingTools/moveGraphic/GraphicMoveTool.js +1 -1
  129. package/views/3d/interactive/editingTools/transformGraphic/GraphicTransformTool.js +1 -1
  130. package/views/3d/interactive/editingTools/transformGraphic/ScaleRotateMeshAdapter.js +1 -1
  131. package/views/3d/interactive/editingTools/transformGraphic/undoRecords.js +1 -1
  132. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  133. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  134. package/views/3d/layers/graphics/Graphics3DMeshObject3DGraphicLayer.js +1 -1
  135. package/views/3d/layers/i3s/I3SClientNodeLoader.js +1 -1
  136. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  137. package/views/3d/state/utils/navigationUtils.js +1 -1
  138. package/views/3d/support/DisplayQualityProfile.js +1 -1
  139. package/views/3d/support/QualitySettings.js +1 -1
  140. package/views/3d/webgl-engine/lib/Camera.js +1 -1
  141. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  142. package/views/3d/webgl-engine/lib/RenderPluginManager.js +1 -1
  143. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  144. package/views/3d/webgl-engine/lib/TextRenderParameters.js +1 -1
  145. package/views/interactive/dragEventPipeline.js +1 -1
  146. package/widgets/BasemapGallery/support/PortalBasemapsSource.js +1 -1
  147. package/widgets/Editor/Edits.js +1 -1
  148. package/widgets/Editor/Upload.js +1 -1
  149. package/widgets/Editor/workflowUtils.js +1 -1
  150. package/widgets/Feature/support/featureUtils.js +1 -1
  151. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  152. package/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js +5 -0
  153. package/widgets/UtilityNetworkValidateTopology.js +5 -0
  154. package/assets/esri/core/workers/chunks/163bf2e13abbdd298374.js +0 -1
  155. package/assets/esri/core/workers/chunks/23f73f81aea461c0c6e6.js +0 -1
  156. package/assets/esri/core/workers/chunks/2640204c4655aa535ccb.js +0 -1
  157. package/assets/esri/core/workers/chunks/2bf42d060f877566b989.js +0 -1
  158. package/assets/esri/core/workers/chunks/34ec9623a1bece86a82b.js +0 -1
  159. package/assets/esri/core/workers/chunks/3bf52139340827794c3b.js +0 -1
  160. package/assets/esri/core/workers/chunks/52d02021e858820bc4fa.js +0 -1
  161. package/assets/esri/core/workers/chunks/64b8f65e2ef6cbf08380.js +0 -1
  162. package/assets/esri/core/workers/chunks/78aede1e114deefacb54.js +0 -1
  163. package/assets/esri/core/workers/chunks/7ef100158ca28631fcaf.js +0 -1
  164. package/assets/esri/core/workers/chunks/93ad67930aa7d4a4b0ac.js +0 -1
  165. package/assets/esri/core/workers/chunks/964795dfb57f0d0635d0.js +0 -1
  166. package/assets/esri/core/workers/chunks/99ce0a202dcd3d7dc290.js +0 -1
  167. package/assets/esri/core/workers/chunks/abe6c99a1a719543dbe8.js +0 -1
  168. package/assets/esri/core/workers/chunks/c3bf44146fddfe8990f7.js +0 -1
  169. package/assets/esri/core/workers/chunks/cbe817e966b57599bafd.js +0 -1
  170. package/assets/esri/core/workers/chunks/e15b5d7e46a834eacc57.js +0 -1
  171. package/assets/esri/core/workers/chunks/e1e0b3580e2c3098c9f4.js +0 -1
  172. package/assets/esri/core/workers/chunks/e305d20e4424451cab5b.js +0 -1
  173. package/assets/esri/core/workers/chunks/e6836c84470fb6bd25bf.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3874],{22303:(e,t,r)=>{r.d(t,{Z:()=>h});var o,s,i=r(35270),l=r(22021),n=r(75215);function a(e){return(0,l.uZ)((0,n.vU)(e),0,255)}function u(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}class p{static blendColors(e,t,r,o=new p){return o.r=Math.round(e.r+(t.r-e.r)*r),o.g=Math.round(e.g+(t.g-e.g)*r),o.b=Math.round(e.b+(t.b-e.b)*r),o.a=e.a+(t.a-e.a)*r,o._sanitize()}static fromRgb(e,t){const r=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(r){const e=r[2].split(/\s*,\s*/),o=r[1];if("rgb"===o&&3===e.length||"rgba"===o&&4===e.length){const r=e[0];if("%"===r.charAt(r.length-1)){const r=e.map((e=>2.56*parseFloat(e)));return 4===e.length&&(r[3]=parseFloat(e[3])),p.fromArray(r,t)}return p.fromArray(e.map((e=>parseFloat(e))),t)}if("hsl"===o&&3===e.length||"hsla"===o&&4===e.length)return p.fromArray((0,i.B7)(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3])),t)}return null}static fromHex(e,t=new p){if(4!==e.length&&7!==e.length||"#"!==e[0])return null;const r=4===e.length?4:8,o=(1<<r)-1;let s=Number("0x"+e.substr(1));return isNaN(s)?null:(["b","g","r"].forEach((e=>{const i=s&o;s>>=r,t[e]=4===r?17*i:i})),t.a=1,t)}static fromArray(e,t=new p){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,i.St)(e)?(0,i.h$)(e):null;return r&&p.fromArray(r,t)||p.fromRgb(e,t)||p.fromHex(e,t)}static fromJSON(e){return e&&new p([e[0],e[1],e[2],e[3]/255])}static toUnitRGB(e){return null!=e?[e.r/255,e.g/255,e.b/255]:null}static toUnitRGBA(e){return null!=e?[e.r/255,e.g/255,e.b/255,null!=e.a?e.a:1]:null}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){return"string"==typeof e?p.fromString(e,this):Array.isArray(e)?p.fromArray(e,this):(this._set(e.r??0,e.g??0,e.b??0,e.a??1),e instanceof p||this._sanitize()),this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(){const e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return`#${e.length<2?"0"+e:e}${t.length<2?"0"+t:t}${r.length<2?"0"+r:r}`}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=p.AlphaMode.ALWAYS){const t=a(this.r),r=a(this.g),o=a(this.b);return e===p.AlphaMode.ALWAYS||1!==this.a?[t,r,o,a(255*this.a)]:[t,r,o]}clone(){return new p(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=Math.round(u(this.r,0,255)),this.g=Math.round(u(this.g,0,255)),this.b=Math.round(u(this.b,0,255)),this.a=u(this.a,0,1),this}_set(e,t,r,o){this.r=e,this.g=t,this.b=r,this.a=o}}p.prototype.declaredClass="esri.Color",(s=(o=p||(p={})).AlphaMode||(o.AlphaMode={}))[s.ALWAYS=0]="ALWAYS",s[s.UNLESS_OPAQUE=1]="UNLESS_OPAQUE";const h=p},6352:(e,t,r)=>{r.d(t,{a:()=>d});var o,s=r(43697),i=r(22303),l=r(96674),n=r(22974),a=r(5600),u=(r(75215),r(52011)),p=r(37308);let h=o=class extends l.wq{constructor(){super(...arguments),this.color=new i.Z("white")}clone(){return new o({color:(0,n.d9)(this.color)})}};(0,s._)([(0,a.Cb)(p.a)],h.prototype,"color",void 0),h=o=(0,s._)([(0,u.j)("esri.symbols.callouts.LineCallout3DBorder")],h);const d=h;Object.freeze(Object.defineProperty({__proto__:null,default:d},Symbol.toStringTag,{value:"Module"}))},35270:(e,t,r)=>{r.d(t,{B7:()=>a,St:()=>s,VL:()=>l,h$:()=>i,rW:()=>u});const o={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function s(e){return!!o[e]||!!o[e.toLowerCase()]}function i(e){return o[e]??o[e.toLowerCase()]}function l(e){return[...i(e)]}function n(e,t,r){r<0&&++r,r>1&&--r;const o=6*r;return o<1?e+(t-e)*o:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function a(e,t,r,o=1){const s=(e%360+360)%360/360,i=r<=.5?r*(t+1):r+t-r*t,l=2*r-i;return[Math.round(255*n(l,i,s+1/3)),Math.round(255*n(l,i,s)),Math.round(255*n(l,i,s-1/3)),o]}function u(e){const t=e.length>5,r=t?8:4,o=(1<<r)-1,s=t?1:17,i=t?9===e.length:5===e.length;let l=Number("0x"+e.substr(1));if(isNaN(l))return null;const n=[0,0,0,1];let a;return i&&(a=l&o,l>>=r,n[3]=s*a/255),a=l&o,l>>=r,n[2]=s*a,a=l&o,l>>=r,n[1]=s*a,a=l&o,l>>=r,n[0]=s*a,n}},83379:(e,t,r)=>{r.d(t,{Z:()=>m});var o=r(43697),s=r(20102),i=r(70586),l=r(609),n=r(95330),a=r(20941),u=r(5600),p=r(52011);const h="loaded",d=e=>{let t=class extends e{constructor(...e){super(...e),this._loadController=null,this.loadError=null,this.loadStatus="not-loaded",this._set("loadWarnings",[]),this.addResolvingPromise(new Promise((e=>{const t=this.load.bind(this);this.load=r=>{const o=new Promise(((e,t)=>{const o=(0,n.$F)(r,t);this.destroyed&&t(new s.Z("load:instance-destroyed",`Instance of '${this.declaredClass||this.constructor.name}' is already destroyed`,{instance:this})),this.when(e,t).finally((()=>{o&&o.remove()}))}));if("not-loaded"===this.loadStatus){this._set("loadStatus","loading");const e=this._loadController=new AbortController;t({signal:e.signal}),(0,n.fu)(e.signal,(()=>{this._promiseProps.abort()}))}return e(),o}}))),this.when((()=>{this._set("loadStatus",h),this._loadController=null}),(e=>{this._set("loadStatus","failed"),this._set("loadError",e),this._loadController=null}))}destroy(){this._loadController=(0,i.IM)(this._loadController),this._set("loadError",null),this._set("loadWarnings",[])}get loaded(){return this.loadStatus===h}get loadWarnings(){return this._get("loadWarnings")}load(){return null}cancelLoad(){return this.isFulfilled()||(this._set("loadError",new s.Z("load:cancelled","Cancelled")),this._loadController?.abort()),this}};return(0,o._)([(0,u.Cb)({readOnly:!0})],t.prototype,"loaded",null),(0,o._)([(0,u.Cb)({readOnly:!0})],t.prototype,"loadError",void 0),(0,o._)([(0,u.Cb)({clonable:!1})],t.prototype,"loadStatus",void 0),(0,o._)([(0,u.Cb)({type:[a.Z],readOnly:!0})],t.prototype,"loadWarnings",null),t=(0,o._)([(0,p.j)("esri.core.Loadable")],t),t};let y=class extends(d(l.D)){};var c;y=(0,o._)([(0,p.j)("esri.core.Loadable")],y),(c=y||(y={})).LoadableMixin=d,c.isLoadable=function(e){return!(!e||!e.load)};const m=y},609:(e,t,r)=>{r.d(t,{D:()=>d,v:()=>h});var o,s,i=r(43697),l=r(92036),n=r(70586),a=r(95330),u=r(52011);(s=o||(o={}))[s.PENDING=0]="PENDING",s[s.RESOLVED=1]="RESOLVED",s[s.REJECTED=2]="REJECTED";class p{constructor(){this._resolver=(0,a.hh)(),this._status=o.PENDING,this._resolvingPromises=[],this._resolver.promise.then((()=>{this._status=o.RESOLVED,this._cleanUp()}),(()=>{this._status=o.REJECTED,this._cleanUp()})),this.promise=this._resolver.promise}destroy(){this._cleanUp()}addResolvingPromise(e){this._resolvingPromises.push(e),this._tryResolve()}isResolved(){return this._status===o.RESOLVED}isRejected(){return this._status===o.REJECTED}isFulfilled(){return this._status!==o.PENDING}abort(){this._resolver.reject((0,a.zE)())}_cleanUp(){this._allPromise=null,this._resolvingPromises=null}_tryResolve(){if(this.isFulfilled())return;const e=(0,a.hh)(),t=[...this._resolvingPromises,(0,n.j0)(e.promise)],r=this._allPromise=Promise.all(t);r.then((()=>{this.isFulfilled()||this._allPromise!==r||this._resolver.resolve()}),(e=>{this.isFulfilled()||this._allPromise!==r||(0,a.D_)(e)||this._resolver.reject(e)})),e.resolve()}}const h=e=>{let t=class extends e{constructor(...e){super(...e),this._promiseProps=new p,this.addResolvingPromise(Promise.resolve())}destroy(){this._promiseProps?.destroy()}isResolved(){return this._promiseProps.isResolved()}isRejected(){return this._promiseProps.isRejected()}isFulfilled(){return this._promiseProps.isFulfilled()}when(e,t){return this._promiseProps.promise.then((()=>this)).then(e,t)}catch(e){return this.when(null,e)}addResolvingPromise(e){e&&!this._promiseProps.isFulfilled()&&this._promiseProps.addResolvingPromise("_promiseProps"in e?e.when():e)}};return t=(0,i._)([(0,u.j)("esri.core.Promise")],t),t};let d=class extends(h(l.Z)){};d=(0,i._)([(0,u.j)("esri.core.Promise")],d)},70921:(e,t,r)=>{r.d(t,{R:()=>i,Z:()=>s});var o=r(46791);function s(e,t,r=o.Z){return t||(t=new r),t===e||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},62357:(e,t,r)=>{r.d(t,{F2:()=>l,Wz:()=>n,t_:()=>a,vW:()=>u});const o=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,s="screenUtils.toPt: input not recognized!",i=96;function l(e){return e?e/72*i:0}function n(e){return e?72*e/i:0}function a(e){if("string"==typeof e){const t=e.match(o);if(t){const r=Number(t[1]),o=t[3]&&t[3].toLowerCase(),s="-"===e.charAt(0),i="px"===o?n(r):r;return s?-i:i}return console.warn(s),null}return e}function u(e=0,t=0){return{x:e,y:t}}},70171:(e,t,r)=>{let o;r.d(t,{Kd:()=>l,Ze:()=>p,qe:()=>a});const s=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale;function i(){return s??globalThis.navigator?.language??"en"}function l(){return void 0===o&&(o=i()),o}const n=[];function a(e){return n.push(e),{remove(){n.splice(n.indexOf(e),1)}}}const u=[];function p(e){return u.push(e),{remove(){n.splice(u.indexOf(e),1)}}}globalThis.addEventListener?.("languagechange",(function(){const e=i();o!==e&&(o=e,[...u].forEach((t=>{t.call(null,e)})),[...n].forEach((t=>{t.call(null,e)})))}))},84230:(e,t,r)=>{r.d(t,{A2:()=>l,S1:()=>p,fb:()=>i,ln:()=>h,oP:()=>u,rQ:()=>n,y2:()=>a});var o=r(40330),s=r(3172);const i={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function l(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function n(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function a(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}async function u(e,t){const r=o.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const i=e.toLowerCase().indexOf("/rest/services");if(-1===i)return null;const l=`${e.substring(0,i)}/rest/info`,n=null!=t?t.signal:null,{data:a}=await(0,s.default)(l,{query:{f:"json"},responseType:"json",signal:n});return a?.owningSystemUrl||null}function p(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function h(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}},48522:(e,t,r)=>{r.d(t,{Z:()=>P});var o=r(43697),s=r(68773),i=r(40330),l=r(3172),n=r(20102),a=r(96674),u=r(83379),p=r(70586),h=r(95330),d=r(5600),y=r(75215),c=(r(67676),r(80442),r(71715)),m=r(52011),b=r(6570),f=r(70171);let g;var v=r(41253),_=r(92036);let w=class extends _.Z{constructor(e){super(e),this.nextQueryParams=null,this.queryParams=null,this.results=null,this.total=null}};(0,o._)([(0,d.Cb)()],w.prototype,"nextQueryParams",void 0),(0,o._)([(0,d.Cb)()],w.prototype,"queryParams",void 0),(0,o._)([(0,d.Cb)()],w.prototype,"results",void 0),(0,o._)([(0,d.Cb)()],w.prototype,"total",void 0),w=(0,o._)([(0,m.j)("esri.portal.PortalQueryResult")],w);const C=w;var S,Z=r(86082),j=r(71058);let x;const O={PortalGroup:()=>Promise.resolve().then(r.bind(r,68916)),PortalItem:()=>Promise.all([r.e(5235),r.e(9880)]).then(r.bind(r,15235)),PortalUser:()=>Promise.resolve().then(r.bind(r,86082))};let L=S=class extends((0,a.eC)(u.Z)){constructor(e){super(e),this._esriIdCredentialCreateHandle=null,this.access=null,this.allSSL=!1,this.authMode="auto",this.authorizedCrossOriginDomains=null,this.basemapGalleryGroupQuery=null,this.basemapGalleryGroupQuery3D=null,this.bingKey=null,this.canListApps=!1,this.canListData=!1,this.canListPreProvisionedItems=!1,this.canProvisionDirectPurchase=!1,this.canSearchPublic=!0,this.canShareBingPublic=!1,this.canSharePublic=!1,this.canSignInArcGIS=!1,this.canSignInIDP=!1,this.colorSetsGroupQuery=null,this.commentsEnabled=!1,this.created=null,this.culture=null,this.customBaseUrl=null,this.defaultBasemap=null,this.defaultDevBasemap=null,this.defaultExtent=null,this.defaultVectorBasemap=null,this.description=null,this.devBasemapGalleryGroupQuery=null,this.eueiEnabled=null,this.featuredGroups=null,this.featuredItemsGroupQuery=null,this.galleryTemplatesGroupQuery=null,this.livingAtlasGroupQuery=null,this.hasCategorySchema=!1,this.helperServices=null,this.homePageFeaturedContent=null,this.homePageFeaturedContentCount=null,this.httpPort=null,this.httpsPort=null,this.id=null,this.ipCntryCode=null,this.isPortal=!1,this.isReadOnly=!1,this.layerTemplatesGroupQuery=null,this.maxTokenExpirationMinutes=null,this.modified=null,this.name=null,this.portalHostname=null,this.portalMode=null,this.portalProperties=null,this.region=null,this.rotatorPanels=null,this.showHomePageDescription=!1,this.sourceJSON=null,this.supportsHostedServices=!1,this.symbolSetsGroupQuery=null,this.templatesGroupQuery=null,this.units=null,this.url=s.default.portalUrl,this.urlKey=null,this.user=null,this.use3dBasemaps=!0,this.useStandardizedQuery=!1,this.useVectorBasemaps=!1,this.vectorBasemapGalleryGroupQuery=null}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e}destroy(){D.unregister(this),this.defaultBasemap=(0,p.SC)(this.defaultBasemap),this.defaultDevBasemap=(0,p.SC)(this.defaultDevBasemap),this.defaultVectorBasemap=(0,p.SC)(this.defaultVectorBasemap),this._esriIdCredentialCreateHandle=(0,p.hw)(this._esriIdCredentialCreateHandle)}readAuthorizedCrossOriginDomains(e){if(e)for(const t of e)s.default.request.trustedServers.includes(t)||s.default.request.trustedServers.push(t);return e}readDefaultBasemap(e){return this._readBasemap(e)}readDefaultDevBasemap(e){return this._readBasemap(e)}readDefaultVectorBasemap(e){return this._readBasemap(e)}get extraQuery(){const e=!(this.user&&this.user.orgId)||this.canSearchPublic;return this.id&&!e?` AND orgid:${this.id}`:null}get isOrganization(){return!!this.access}get itemPageUrl(){return this.url?`${this.url}/home/item.html`:null}get restUrl(){let e=this.url;if(e){const t=e.indexOf("/sharing");e=t>0?e.substring(0,t):this.url.replace(/\/+$/,""),e+="/sharing/rest"}return e}get thumbnailUrl(){const e=this.restUrl,t=this.thumbnail;return e&&t?this._normalizeSSL(e+"/portals/self/resources/"+t):null}readUrlKey(e){return e?e.toLowerCase():e}readUser(e){let t=null;return e&&(t=Z.default.fromJSON(e),t.portal=this),t}load(e){const t=Promise.all([r.e(5235),r.e(3668)]).then(r.bind(r,93668)).then((({default:t})=>{(0,h.k_)(e),x=t})).then((()=>this.sourceJSON?this.sourceJSON:this.fetchSelf(this.authMode,!1,e))).then((e=>{if(i.id){const e=i.id;this.credential=e.findCredential(this.restUrl),this.credential||this.authMode!==S.AUTH_MODE_AUTO||(this._esriIdCredentialCreateHandle?.remove(),this._esriIdCredentialCreateHandle=e.on("credential-create",function(e){const t=i.id;return()=>{const r=e.deref();r&&t.findCredential(r.restUrl)&&r.signIn().catch((()=>{}))}}(new WeakRef(this))),D.register(this,this._esriIdCredentialCreateHandle,this))}this.sourceJSON=e,this.read(e)}));return this.addResolvingPromise(t),Promise.resolve(this)}async createElevationLayers(){await this.load();const e=this._getHelperService("defaultElevationLayers"),t=(await Promise.all([r.e(4547),r.e(5235),r.e(9016),r.e(5665),r.e(3602)]).then(r.bind(r,65665))).default;return e?e.map((e=>new t({id:e.id,url:e.url}))):[]}async fetchBasemaps(e,t){const r=await this._fetchBasemaps(e,t);if(!0===t?.include3d&&!1!==this.use3dBasemaps){const o=await this._fetchBasemaps3D(e,t);r.unshift(...o)}return r}fetchCategorySchema(e){return this.hasCategorySchema?this.request(this.restUrl+"/portals/self/categorySchema",e).then((e=>e.categorySchema)):(0,h.Hc)(e)?Promise.reject((0,h.zE)()):Promise.resolve([])}fetchFeaturedGroups(e){const t=this.featuredGroups,r=new v.Z;if(r.num=100,r.sortField="title",t&&t.length){const o=[];for(const e of t)o.push(`(title:"${e.title}" AND owner:${e.owner})`);return r.query=o.join(" OR "),this.queryGroups(r,e).then((e=>e.results))}return(0,h.Hc)(e)?Promise.reject((0,h.zE)()):Promise.resolve([])}fetchRegions(e){const t=this.user?.culture||this.culture||(0,f.Kd)();return this.request(this.restUrl+"/portals/regions",{...e,query:{culture:t}})}fetchSettings(e){const t=this.user?.culture||this.culture||(0,f.Kd)();return this.request(this.restUrl+"/portals/self/settings",{...e,query:{culture:t}})}static getDefault(){return g&&!g.destroyed||(g=new S),g}queryGroups(e,t){return this.queryPortal("/community/groups",e,"PortalGroup",t)}queryItems(e,t){return this.queryPortal("/search",e,"PortalItem",t)}queryUsers(e,t){return e.sortField||(e.sortField="username"),this.queryPortal("/community/users",e,"PortalUser",t)}fetchSelf(e=this.authMode,t=!1,r){const o=this.restUrl+"/portals/self",s={authMode:e,query:{culture:(0,f.Kd)().toLowerCase()},...r};return"auto"===s.authMode&&(s.authMode="no-prompt"),t&&(s.query.default=!0),this.request(o,s)}queryPortal(e,t,r,o){const s=(0,y.se)(v.Z,t),i=t=>this.request(this.restUrl+e,{...s.toRequestOptions(this),...o}).then((e=>{const r=s.clone();return r.start=e.nextStart,new C({nextQueryParams:r,queryParams:s,total:e.total,results:S._resultsToTypedArray(t,{portal:this},e,o)})})).then((e=>Promise.all(e.results.map((t=>"function"==typeof t.when?t.when():e))).then((()=>e),(t=>((0,h.r9)(t),e)))));return r&&O[r]?O[r]().then((({default:e})=>((0,h.k_)(o),i(e)))):i()}signIn(){if(this.authMode===S.AUTH_MODE_ANONYMOUS)return Promise.reject(new n.Z("portal:invalid-auth-mode",`Current "authMode"' is "${this.authMode}"`));if("failed"===this.loadStatus)return Promise.reject(this.loadError);const e=e=>Promise.resolve().then((()=>"not-loaded"===this.loadStatus?(e||(this.authMode="immediate"),this.load().then((()=>null))):"loading"===this.loadStatus?this.load().then((()=>this.credential?null:(this.credential=e,this.fetchSelf("immediate")))):this.user&&this.credential===e?null:(this.credential=e,this.fetchSelf("immediate")))).then((e=>{e&&(this.sourceJSON=e,this.read(e))}));return i.id?i.id.getCredential(this.restUrl).then((t=>e(t))):e(this.credential)}normalizeUrl(e){const t=this.credential&&this.credential.token;return this._normalizeSSL(t?e+(e.includes("?")?"&":"?")+"token="+t:e)}requestToTypedArray(e,t,r){return this.request(e,t).then((e=>{const t=S._resultsToTypedArray(r,{portal:this},e);return Promise.all(t.map((t=>"function"==typeof t.when?t.when():e))).then((()=>t),(()=>t))}))}request(e,t={}){const r={f:"json",...t.query},{authMode:o=(this.authMode===S.AUTH_MODE_ANONYMOUS?"anonymous":"auto"),body:s=null,cacheBust:i=!1,method:n="auto",responseType:a="json",signal:u}=t,p={authMode:o,body:s,cacheBust:i,method:n,query:r,responseType:a,timeout:0,signal:u};return(0,l.default)(this._normalizeSSL(e),p).then((e=>e.data))}toJSON(){throw new n.Z("internal:not-yet-implemented","Portal.toJSON is not yet implemented")}static fromJSON(e){if(!e)return null;if(e.declaredClass)throw new Error("JSON object is already hydrated");return new S({sourceJSON:e})}_getHelperService(e){const t=this.helperServices&&this.helperServices[e];if(!t)throw new n.Z("portal:service-not-found",`The \`helperServices\` do not include an entry named "${e}"`);return t}async _fetchBasemaps(e,t){const r=new v.Z;r.query=e||(s.default.apiKey&&(0,j.r)(this.url)?this.devBasemapGalleryGroupQuery:this.useVectorBasemaps?this.vectorBasemapGalleryGroupQuery:this.basemapGalleryGroupQuery),r.disableExtraQuery=!0;const o=await this.queryGroups(r,t);if(!o.total)return[];const i=o.results[0];r.num=100,r.query='type:"Web Map" -type:"Web Application"',r.sortField=i.sortField||"name",r.sortOrder=i.sortOrder||"desc";const l=await i.queryItems(r,t);return l.total?l.results.filter((e=>"Web Map"===e.type)).map((e=>new x({portalItem:e}))):[]}async _fetchBasemaps3D(e,t){const r=e||this.basemapGalleryGroupQuery3D;if(!r)return[];const o=new v.Z({query:r,disableExtraQuery:!0}),s=await this.queryGroups(o,t);if(!s.total)return[];const i=s.results[0];o.num=100,o.query='type:"Web Scene"',o.sortField=i.sortField||"name",o.sortOrder=i.sortOrder||"desc";const l=await i.queryItems(o,t);return l.total?l.results.filter((e=>"Web Scene"===e.type)).map((e=>new x({portalItem:e}))):[]}_normalizeSSL(e){return e.replace(/^http:/i,"https:").replace(":7080",":7443")}_readBasemap(e){if(e){const t=x.fromJSON(e);return t.portalItem={portal:this},t}return null}static _resultsToTypedArray(e,t,r,o){let s=[];if(r){const i=null!=o?o.signal:null;s=r.listings||r.notifications||r.userInvitations||r.tags||r.items||r.groups||r.comments||r.provisions||r.results||r.relatedItems||r,(e||t)&&(s=s.map((r=>{const o=Object.assign(e?e.fromJSON(r):r,t);return"function"==typeof o.load&&o.load(i),o})))}else s=[];return s}};L.AUTH_MODE_ANONYMOUS="anonymous",L.AUTH_MODE_AUTO="auto",L.AUTH_MODE_IMMEDIATE="immediate",(0,o._)([(0,d.Cb)()],L.prototype,"access",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"allSSL",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"authMode",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"authorizedCrossOriginDomains",void 0),(0,o._)([(0,c.r)("authorizedCrossOriginDomains")],L.prototype,"readAuthorizedCrossOriginDomains",null),(0,o._)([(0,d.Cb)()],L.prototype,"basemapGalleryGroupQuery",void 0),(0,o._)([(0,d.Cb)({json:{name:"3DBasemapGalleryGroupQuery"}})],L.prototype,"basemapGalleryGroupQuery3D",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"bingKey",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canListApps",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canListData",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canListPreProvisionedItems",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canProvisionDirectPurchase",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSearchPublic",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canShareBingPublic",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSharePublic",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSignInArcGIS",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"canSignInIDP",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"colorSetsGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"commentsEnabled",void 0),(0,o._)([(0,d.Cb)({type:Date})],L.prototype,"created",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"credential",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"culture",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"currentVersion",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"customBaseUrl",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"defaultBasemap",void 0),(0,o._)([(0,c.r)("defaultBasemap")],L.prototype,"readDefaultBasemap",null),(0,o._)([(0,d.Cb)()],L.prototype,"defaultDevBasemap",void 0),(0,o._)([(0,c.r)("defaultDevBasemap")],L.prototype,"readDefaultDevBasemap",null),(0,o._)([(0,d.Cb)({type:b.Z})],L.prototype,"defaultExtent",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"defaultVectorBasemap",void 0),(0,o._)([(0,c.r)("defaultVectorBasemap")],L.prototype,"readDefaultVectorBasemap",null),(0,o._)([(0,d.Cb)()],L.prototype,"description",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"devBasemapGalleryGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"eueiEnabled",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"extraQuery",null),(0,o._)([(0,d.Cb)()],L.prototype,"featuredGroups",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"featuredItemsGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"galleryTemplatesGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"livingAtlasGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"hasCategorySchema",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"helpBase",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"helperServices",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"helpMap",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"homePageFeaturedContent",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"homePageFeaturedContentCount",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"httpPort",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"httpsPort",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"id",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"ipCntryCode",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"isOrganization",null),(0,o._)([(0,d.Cb)()],L.prototype,"isPortal",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"isReadOnly",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"itemPageUrl",null),(0,o._)([(0,d.Cb)()],L.prototype,"layerTemplatesGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"maxTokenExpirationMinutes",void 0),(0,o._)([(0,d.Cb)({type:Date})],L.prototype,"modified",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"name",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"portalHostname",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"portalMode",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"portalProperties",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"region",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"restUrl",null),(0,o._)([(0,d.Cb)()],L.prototype,"rotatorPanels",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"showHomePageDescription",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"sourceJSON",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"staticImagesUrl",void 0),(0,o._)([(0,d.Cb)({json:{name:"2DStylesGroupQuery"}})],L.prototype,"stylesGroupQuery2d",void 0),(0,o._)([(0,d.Cb)({json:{name:"stylesGroupQuery"}})],L.prototype,"stylesGroupQuery3d",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"supportsHostedServices",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"symbolSetsGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"templatesGroupQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"thumbnail",void 0),(0,o._)([(0,d.Cb)({readOnly:!0})],L.prototype,"thumbnailUrl",null),(0,o._)([(0,d.Cb)()],L.prototype,"units",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"url",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"urlKey",void 0),(0,o._)([(0,c.r)("urlKey")],L.prototype,"readUrlKey",null),(0,o._)([(0,d.Cb)()],L.prototype,"user",void 0),(0,o._)([(0,c.r)("user")],L.prototype,"readUser",null),(0,o._)([(0,d.Cb)()],L.prototype,"use3dBasemaps",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"useStandardizedQuery",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"useVectorBasemaps",void 0),(0,o._)([(0,d.Cb)()],L.prototype,"vectorBasemapGalleryGroupQuery",void 0),L=S=(0,o._)([(0,m.j)("esri.portal.Portal")],L);const P=L,D=new FinalizationRegistry((e=>{e.remove()}))},68916:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var o=r(43697),s=r(20102),i=r(96674),l=r(70586),n=r(5600),a=r(75215),u=(r(67676),r(80442),r(52011)),p=r(41253);let h=class extends i.wq{constructor(e){super(e),this.access=null,this.created=null,this.description=null,this.id=null,this.isInvitationOnly=!1,this.modified=null,this.owner=null,this.portal=null,this.snippet=null,this.sortField=null,this.sortOrder=null,this.tags=null,this.title=null}get thumbnailUrl(){const e=this.url,t=this.thumbnail;return e&&t&&this.portal?this.portal?.normalizeUrl(`${e}/info/${t}?f=json`):null}get url(){const e=this.get("portal.restUrl");return e?e+"/community/groups/"+this.id:null}fetchCategorySchema(e){return(0,l.s3)(this.portal).request(this.url+"/categorySchema",e).then((t=>{const r=t.categorySchema||[];return r.some((e=>"contentCategorySetsGroupQuery.LivingAtlas"===e.source))?this._fetchCategorySchemaSet("LivingAtlas",e):r}))}fetchMembers(e){return(0,l.s3)(this.portal).request(this.url+"/users",e)}getThumbnailUrl(e){let t=this.thumbnailUrl;return t&&e&&(t+=`&w=${e}`),t}toJSON(){throw new s.Z("internal:not-yet-implemented","PortalGroup.toJSON is not yet implemented")}queryItems(e,t){let r=(0,a.se)(p.Z,e);const o=(0,l.s3)(this.portal);return parseFloat(o.currentVersion)>5?(r=r||new p.Z,o.queryPortal(`/content/groups/${this.id}/search`,r,"PortalItem",t)):(r=r?r.clone():new p.Z,r.query="group:"+this.id+(r.query?" "+r.query:""),o.queryItems(r,t))}_fetchCategorySchemaSet(e,t){const r=(0,l.s3)(this.portal);return r.fetchSelf(r.authMode,!0,t).then((e=>{const o=e.contentCategorySetsGroupQuery;if(o){const e=new p.Z;return e.disableExtraQuery=!0,e.num=1,e.query=o,r.queryGroups(e,t)}throw new s.Z("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery value not found")})).then((r=>{if(r.total){const o=r.results[0],s=new p.Z;return s.num=1,s.query=`typekeywords:"${e}"`,o.queryItems(s,t)}throw new s.Z("portal-group:fetchCategorySchema","contentCategorySetsGroupQuery group not found")})).then((e=>e.total?e.results[0].fetchData("json",t).then((e=>{const t=e&&e.categorySchema;return t&&t.length?t:[]})):[]))}};(0,o._)([(0,n.Cb)()],h.prototype,"access",void 0),(0,o._)([(0,n.Cb)({type:Date})],h.prototype,"created",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"description",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"id",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"isInvitationOnly",void 0),(0,o._)([(0,n.Cb)({type:Date})],h.prototype,"modified",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"owner",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"portal",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"snippet",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"sortField",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"sortOrder",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"tags",void 0),(0,o._)([(0,n.Cb)()],h.prototype,"thumbnail",void 0),(0,o._)([(0,n.Cb)({readOnly:!0})],h.prototype,"thumbnailUrl",null),(0,o._)([(0,n.Cb)()],h.prototype,"title",void 0),(0,o._)([(0,n.Cb)({readOnly:!0})],h.prototype,"url",null),h=(0,o._)([(0,u.j)("esri.portal.PortalGroup")],h);const d=h},41253:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(92036),l=r(35454),n=r(22974),a=r(5600),u=(r(75215),r(52011)),p=r(6570),h=r(82971),d=r(40488);const y=new l.X({avgRating:"avg-rating",numRatings:"num-ratings",numComments:"num-comments",numViews:"num-views"});let c=o=class extends i.Z{constructor(e){super(e),this.categories=null,this.disableExtraQuery=!1,this.extent=null,this.filter=null,this.num=10,this.query=null,this.sortField=null,this.start=1}get sortOrder(){return this._get("sortOrder")||"asc"}set sortOrder(e){"asc"!==e&&"desc"!==e||this._set("sortOrder",e)}clone(){return new o({categories:this.categories?(0,n.d9)(this.categories):null,disableExtraQuery:this.disableExtraQuery,extent:this.extent?this.extent.clone():null,filter:this.filter,num:this.num,query:this.query,sortField:this.sortField,sortOrder:this.sortOrder,start:this.start})}toRequestOptions(e,t){let r=[];this.categories&&(r=this.categories.map((e=>Array.isArray(e)?JSON.stringify(e):e)));let o="";if(this.extent){const e=(0,d.iV)(this.extent,h.Z.WGS84);null!=e&&(o=`${e.xmin},${e.ymin},${e.xmax},${e.ymax}`)}let s=this.query;!this.disableExtraQuery&&e.extraQuery&&(s="("+s+")"+e.extraQuery);const i={categories:r,bbox:o,q:s,filter:this.filter,num:this.num,sortField:null,sortOrder:null,start:this.start};return this.sortField&&(i.sortField=this.sortField.split(",").map((e=>y.toJSON(e.trim()))).join(","),i.sortOrder=this.sortOrder),{query:{...t,...i}}}};(0,s._)([(0,a.Cb)()],c.prototype,"categories",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"disableExtraQuery",void 0),(0,s._)([(0,a.Cb)({type:p.Z})],c.prototype,"extent",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"filter",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"num",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"query",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"sortField",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"sortOrder",null),(0,s._)([(0,a.Cb)()],c.prototype,"start",void 0),c=o=(0,s._)([(0,u.j)("esri.portal.PortalQueryParams")],c);const m=c},86082:(e,t,r)=>{r.r(t),r.d(t,{default:()=>y});var o=r(43697),s=r(20102),i=r(96674),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011));let a=class extends i.wq{constructor(e){super(e),this.created=null,this.id=null,this.portal=null,this.title=null,this.username=null}get url(){const e=this.get("portal.restUrl");return e?`${e}/content/users/${this.username}/${this.id}`:null}toJSON(){throw new s.Z("internal:not-yet-implemented","PortalFolder.toJSON is not yet implemented")}};(0,o._)([(0,l.Cb)({type:Date})],a.prototype,"created",void 0),(0,o._)([(0,l.Cb)()],a.prototype,"id",void 0),(0,o._)([(0,l.Cb)()],a.prototype,"portal",void 0),(0,o._)([(0,l.Cb)()],a.prototype,"title",void 0),(0,o._)([(0,l.Cb)({readOnly:!0})],a.prototype,"url",null),(0,o._)([(0,l.Cb)()],a.prototype,"username",void 0),a=(0,o._)([(0,n.j)("esri.portal.PortalFolder")],a);const u=a;var p,h=r(68916);let d=p=class extends i.wq{constructor(...e){super(...e),this.access=null,this.created=null,this.culture=null,this.description=null,this.email=null,this.fullName=null,this.modified=null,this.orgId=null,this.portal=null,this.preferredView=null,this.privileges=null,this.region=null,this.role=null,this.roleId=null,this.sourceJSON=null,this.units=null,this.username=null,this.userType=null}get thumbnailUrl(){const e=this.url,t=this.thumbnail;return e&&t?this.portal.normalizeUrl(`${e}/info/${t}?f=json`):null}get userContentUrl(){const e=this.get("portal.restUrl");return e?`${e}/content/users/${this.username}`:null}get url(){const e=this.get("portal.restUrl");return e?`${e}/community/users/${this.username}`:null}addItem(e){const t=e&&e.item,r=e&&e.data,o=e&&e.folder,s={method:"post"};t&&(s.query=t.createPostQuery(),null!=r&&("string"==typeof r?s.query.text=r:"object"==typeof r&&(s.query.text=JSON.stringify(r))));let i=this.userContentUrl;return o&&(i+="/"+("string"==typeof o?o:o.id)),this.portal.request(i+"/addItem",s).then((e=>(t.id=e.id,t.portal=this.portal,t.loaded?t.reload():t.load())))}deleteItem(e){let t=this.userContentUrl;return e.ownerFolder&&(t+="/"+e.ownerFolder),this.portal.request(t+`/items/${e.id}/delete`,{method:"post"}).then((()=>{e.id=null,e.portal=null}))}deleteItems(e){const t=this.userContentUrl+"/deleteItems",r=e.map((e=>e.id));if(r.length){const o={method:"post",query:{items:r.join(",")}};return this.portal.request(t,o).then((()=>{e.forEach((e=>{e.id=null,e.portal=null}))}))}return Promise.resolve(void 0)}fetchFolders(){return this.portal.request(this.userContentUrl??"",{query:{num:1}}).then((e=>{let t;return t=e&&e.folders?e.folders.map((e=>{const t=u.fromJSON(e);return t.portal=this.portal,t})):[],t}))}fetchGroups(){return this.portal.request(this.url??"").then((e=>{let t;return t=e&&e.groups?e.groups.map((e=>{const t=h.default.fromJSON(e);return t.portal=this.portal,t})):[],t}))}fetchItems(e){const t=e??{};let o,s=this.userContentUrl??"";return t.folder&&(s+="/"+t.folder.id),Promise.all([r.e(5235),r.e(9880)]).then(r.bind(r,15235)).then((({default:e})=>{o=e;const r={folders:!1,num:t.num||10,start:t.start||1,sortField:t.sortField||"created",sortOrder:t.sortOrder||"asc"};return this.portal.request(s,{query:r})})).then((e=>{let t;return e&&e.items?(t=e.items.map((e=>{const t=o.fromJSON(e);return t.portal=this.portal,t})),Promise.all(t.map((e=>e.load()))).catch((e=>e)).then((()=>({items:t,nextStart:e.nextStart,total:e.total})))):{items:[],nextStart:-1,total:0}}))}fetchTags(){return this.portal.request(this.url+"/tags").then((e=>e.tags))}getThumbnailUrl(e){let t=this.thumbnailUrl;return t&&e&&(t+=`&w=${e}`),t}queryFavorites(e){return this.favGroupId?(this._favGroup||(this._favGroup=new h.default({id:this.favGroupId,portal:this.portal})),this._favGroup.queryItems(e)):Promise.reject(new s.Z("internal:unknown","Unknown internal error",{internalError:"Unknown favGroupId"}))}toJSON(){throw new s.Z("internal:not-yet-implemented","PortalGroup.toJSON is not yet implemented")}static fromJSON(e){if(!e)return null;if(e.declaredClass)throw new Error("JSON object is already hydrated");const t=new p;return t.sourceJSON=e,t.read(e),t}};(0,o._)([(0,l.Cb)()],d.prototype,"access",void 0),(0,o._)([(0,l.Cb)({type:Date})],d.prototype,"created",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"culture",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"description",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"email",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"favGroupId",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"fullName",void 0),(0,o._)([(0,l.Cb)({type:Date})],d.prototype,"modified",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"orgId",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"portal",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"preferredView",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"privileges",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"region",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"role",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"roleId",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"sourceJSON",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"thumbnail",void 0),(0,o._)([(0,l.Cb)({readOnly:!0})],d.prototype,"thumbnailUrl",null),(0,o._)([(0,l.Cb)()],d.prototype,"units",void 0),(0,o._)([(0,l.Cb)({readOnly:!0})],d.prototype,"userContentUrl",null),(0,o._)([(0,l.Cb)({readOnly:!0})],d.prototype,"url",null),(0,o._)([(0,l.Cb)()],d.prototype,"username",void 0),(0,o._)([(0,l.Cb)()],d.prototype,"userType",void 0),d=p=(0,o._)([(0,n.j)("esri.portal.PortalUser")],d);const y=d},72245:(e,t,r)=>{r.d(t,{K3:()=>s,Rx:()=>i});var o=r(80442);const s=()=>!!(0,o.Z)("enable-feature:force-wosr"),i=()=>!!(0,o.Z)("enable-feature:SceneLayer-editing");((e="i3s-patching")=>{switch(o.Z.add("enable-i3s-patching",!1,!0,!0),o.Z.add("enable-feature:direct-3d-object-feature-layer-display",!1,!0,!0),o.Z.add("enable-feature:SceneLayer-editing",!0,!0,!0),e){case"feature-layer-view":o.Z.add("enable-feature:direct-3d-object-feature-layer-display",!0,!0,!0);break;case"i3s-patching":o.Z.add("enable-i3s-patching",!0,!0,!0)}})("i3s-patching")},9790:(e,t,r)=>{r.d(t,{se:()=>A,cT:()=>P,dU:()=>D,S9:()=>k,LB:()=>z,AH:()=>N,yK:()=>q,S6:()=>$,QT:()=>M,f_:()=>U});var o,s=r(75215),i=r(63213),l=r(17386),n=(r(38445),r(21218)),a=(r(95191),r(31134),r(50575),r(20825)),u=r(98587),p=(r(38128),r(40908),r(3456)),h=(r(17143),r(96742),r(43697)),d=r(22974),y=r(62357),c=r(5600),m=r(36030),b=r(52011),f=r(94075);let g=o=class extends n.Z{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(e,t,r,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=r&&(s.width=(0,y.t_)(r)),null!=o&&(s.height=(0,y.t_)(o)),s}clone(){const e=new o({color:(0,d.d9)(this.color),height:this.height,outline:this.outline&&this.outline.clone(),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,d.d9)(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,h._)([(0,m.J)({esriPFS:"picture-fill"},{readOnly:!0})],g.prototype,"type",void 0),(0,h._)([(0,c.Cb)(f.KA)],g.prototype,"url",void 0),(0,h._)([(0,c.Cb)({type:Number,json:{write:!0}})],g.prototype,"xscale",void 0),(0,h._)([(0,c.Cb)({type:Number,json:{write:!0}})],g.prototype,"yscale",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"width",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"height",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"xoffset",void 0),(0,h._)([(0,c.Cb)({type:Number,cast:y.t_,json:{write:!0}})],g.prototype,"yoffset",void 0),(0,h._)([(0,c.Cb)(f.Ds)],g.prototype,"source",void 0),g=o=(0,h._)([(0,b.j)("esri.symbols.PictureFillSymbol")],g);const v=g;var _=r(37898),w=r(42143),C=r(86114),S=r(20256),Z=r(4095),j=r(77987),x=r(89164),O=(r(87223),r(95868),r(78724)),L=(r(2283),r(44398),r(59390));function P(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 D(e){if(!e)return!1;switch(e.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}r(69496),r(6352);const z={base:x.Z,key:"type",typeMap:{"simple-fill":S.Z,"picture-fill":v,"picture-marker":_.Z,"simple-line":Z.Z,"simple-marker":j.Z,text:O.Z,"label-3d":a.Z,"line-3d":u.Z,"mesh-3d":p.Z,"point-3d":w.Z,"polygon-3d":C.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"},N={base:x.Z,key:"type",typeMap:{"picture-marker":_.Z,"simple-marker":j.Z,text:O.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"},k=(0,i.d)({types:z}),M={base:x.Z,key:"type",typeMap:{"simple-fill":S.Z,"picture-fill":v,"picture-marker":_.Z,"simple-line":Z.Z,"simple-marker":j.Z,text:O.Z,"line-3d":u.Z,"mesh-3d":p.Z,"point-3d":w.Z,"polygon-3d":C.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"},q={base:x.Z,key:"type",typeMap:{text:O.Z,"label-3d":a.Z},errorContext:"symbol"},U=(x.Z,a.Z,u.Z,p.Z,w.Z,C.Z,L.Z,{base:x.Z,key:"type",typeMap:{"line-3d":u.Z,"mesh-3d":p.Z,"point-3d":w.Z,"polygon-3d":C.Z,"web-style":L.Z,cim:l.Z},errorContext:"symbol"}),$={base:x.Z,key:"type",typeMap:{"label-3d":a.Z},errorContext:"symbol"},A=(0,s.N7)(z)},17386:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(22974),l=r(19153),n=r(5600),a=(r(75215),r(36030)),u=r(71715),p=r(52011),h=r(30556),d=r(35671),y=r(89164);let c=o=class extends y.Z{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 r=this.data.primitiveOverrides;if(r){const o=r.map((r=>{const o=r.valueExpressionInfo;return(0,d.io)(e,t,o.expression)}));await Promise.all(o)}}}clone(){return new o({data:(0,i.d9)(this.data)})}hash(){return(0,l.hP)(JSON.stringify(this.data)).toString()}};(0,s._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"color",void 0),(0,s._)([(0,n.Cb)({json:{write:!0}})],c.prototype,"data",void 0),(0,s._)([(0,u.r)("data",["symbol"])],c.prototype,"readData",null),(0,s._)([(0,h.c)("data",{})],c.prototype,"writeData",null),(0,s._)([(0,a.J)({CIMSymbolReference:"cim"},{readOnly:!0})],c.prototype,"type",void 0),c=o=(0,s._)([(0,p.j)("esri.symbols.CIMSymbol")],c);const m=c},38445:(e,t,r)=>{r.d(t,{Z:()=>d});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(52011),a=r(95868),u=r(56332),p=r(52879);let h=o=class extends a.Z{constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new o({edges:this.edges&&this.edges.clone(),enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,size:this.size})}};(0,s._)([(0,l.J)({Extrude:"extrude"},{readOnly:!0})],h.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],h.prototype,"size",void 0),(0,s._)([(0,i.Cb)({type:p.b,json:{write:!0}})],h.prototype,"material",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s._)([(0,i.Cb)(u.Z)],h.prototype,"edges",void 0),h=o=(0,s._)([(0,n.j)("esri.symbols.ExtrudeSymbol3DLayer")],h);const d=h},21218:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(5600),i=(r(75215),r(67676),r(80442),r(52011)),l=r(4095),n=r(89164);let a=class extends n.Z{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline&&this.outline.hash()}`}};(0,o._)([(0,s.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":l.Z}},json:{default:null,write:!0}})],a.prototype,"outline",void 0),(0,o._)([(0,s.Cb)({type:["simple-fill","picture-fill"],readOnly:!0})],a.prototype,"type",void 0),a=(0,o._)([(0,i.j)("esri.symbols.FillSymbol")],a);const u=a},95191:(e,t,r)=>{r.d(t,{Z:()=>j});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(52011),a=r(95868),u=r(56332),p=r(4618),h=r(74721),d=r(17495),y=r(50178),c=(r(92604),r(20102),r(52879));let m=o=class extends c.b{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:null!=this.color?this.color.clone():null,colorMixMode:this.colorMixMode};return new o(e)}};(0,s._)([(0,l.J)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=o=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DFillMaterial")],m);var b,f=r(22303),g=r(96674),v=r(62357),_=r(37308),w=r(45119);let C=b=class extends g.wq{constructor(e){super(e),this.color=new f.Z([0,0,0,1]),this.size=(0,v.Wz)(1),this.pattern=null,this.patternCap="butt"}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 b(e)}};var S;(0,s._)([(0,i.Cb)(_.a)],C.prototype,"color",void 0),(0,s._)([(0,i.Cb)(_.y)],C.prototype,"size",void 0),(0,s._)([(0,i.Cb)(d.D)],C.prototype,"pattern",void 0),(0,s._)([(0,i.Cb)({type:w.Hc,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],C.prototype,"patternCap",void 0),C=b=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DOutline")],C);let Z=S=class extends a.Z{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 S(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"inside-frame"!==e.outline.style&&"solid"!==e.outline.style?new p.Z({style:e.outline.style}):null,r={size:e.outline?.width??0,color:(e.outline?.color??y.ix).clone(),pattern:t};return t&&e.outline?.cap&&(r.patternCap=e.outline.cap),new S({material:new m({color:(e.color??y.l9).clone()}),pattern:e.style&&"solid"!==e.style?new h.Z({style:e.style}):null,outline:r})}};(0,s._)([(0,l.J)({Fill:"fill"},{readOnly:!0})],Z.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:m,json:{write:!0}})],Z.prototype,"material",void 0),(0,s._)([(0,i.Cb)(d.q)],Z.prototype,"pattern",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],Z.prototype,"castShadows",void 0),(0,s._)([(0,i.Cb)({type:C,json:{write:!0}})],Z.prototype,"outline",void 0),(0,s._)([(0,i.Cb)(u.Z)],Z.prototype,"edges",void 0),Z=S=(0,s._)([(0,n.j)("esri.symbols.FillSymbol3DLayer")],Z);const j=Z},31134:(e,t,r)=>{r.d(t,{Z:()=>d});var o,s=r(43697),i=r(96674),l=r(62357),n=r(5600),a=r(90578),u=(r(67676),r(80442),r(52011)),p=r(61565);let h=o=class extends i.wq{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.size=9,this.style="normal",this.weight="normal"}castSize(e){return(0,l.t_)(e)}clone(){return new o({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,s._)([(0,n.Cb)({type:p.JT,json:{default:"none",write:!0}})],h.prototype,"decoration",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],h.prototype,"family",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{write:{overridePolicy:(e,t,r)=>({enabled:!r||!r.textSymbol3D})}}})],h.prototype,"size",void 0),(0,s._)([(0,a.p)("size")],h.prototype,"castSize",null),(0,s._)([(0,n.Cb)({type:p.g6,json:{default:"normal",write:!0}})],h.prototype,"style",void 0),(0,s._)([(0,n.Cb)({type:p.vC,json:{default:"normal",write:!0}})],h.prototype,"weight",void 0),h=o=(0,s._)([(0,u.j)("esri.symbols.Font")],h);const d=h},50575:(e,t,r)=>{r.d(t,{Z:()=>q});var o,s=r(43697),i=r(92604),l=r(81271),n=r(5600),a=(r(75215),r(67676),r(80442),r(36030)),u=r(52011),p=r(95868),h=r(50178),d=r(35454),y=r(96674),c=r(71715),m=r(30556),b=r(25929);const f=(0,d.w)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let g=o=class extends y.wq{constructor(e){super(e)}readHref(e,t,r){return e?(0,b.f)(e,r):t.dataURI}writeHref(e,t,r,o){e&&((0,l.HK)(e)?t.dataURI=e:(t.href=(0,b.t)(e,o),(0,l.YP)(t.href)&&(t.href=(0,l.Fv)(t.href))))}clone(){return new o({href:this.href,primitive:this.primitive})}};(0,s._)([(0,n.Cb)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],g.prototype,"href",void 0),(0,s._)([(0,c.r)("href")],g.prototype,"readHref",null),(0,s._)([(0,m.c)("href",{href:{type:String},dataURI:{type:String}})],g.prototype,"writeHref",null),(0,s._)([(0,a.J)(f)],g.prototype,"primitive",void 0),g=o=(0,s._)([(0,u.j)("esri.symbols.support.IconSymbol3DLayerResource")],g);var v,_=r(37308),w=r(92036);let C=v=class extends w.Z{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new v({x:this.x,y:this.y})}};(0,s._)([(0,n.Cb)({type:Number})],C.prototype,"x",void 0),(0,s._)([(0,n.Cb)({type:Number})],C.prototype,"y",void 0),C=v=(0,s._)([(0,u.j)("esri.symbols.support.Symbol3DAnchorPosition2D")],C);var S,Z=r(22303),j=r(62357);let x=S=class extends y.wq{constructor(e){super(e),this.color=new Z.Z([0,0,0,1]),this.size=(0,j.Wz)(1)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new S(e)}};(0,s._)([(0,n.Cb)(_.a)],x.prototype,"color",void 0),(0,s._)([(0,n.Cb)(_.y)],x.prototype,"size",void 0),x=S=(0,s._)([(0,u.j)("esri.symbols.support.Symbol3DIconOutline")],x);var O,L=r(52879);const P="esri.symbols.IconSymbol3DLayer";let D=O=class extends p.Z{constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null}clone(){return new O({anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),enabled:this.enabled,material:null!=this.material?this.material.clone():null,outline:null!=this.outline?this.outline.clone():null,resource:this.resource&&this.resource.clone(),size:this.size})}static fromSimpleMarkerSymbol(e){const t=e.color||h.ix,r=z(e),o=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||h.ix).clone()}:null;return new O({size:e.size,resource:{primitive:M(e.style)},material:{color:t},outline:o,anchor:r?"relative":void 0,anchorPosition:r})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,h.rx)(e.color)?h.ix:e.color,r=z(e);return new O({size:e.width<=e.height?e.height:e.width,resource:{href:e.url},material:{color:t.clone()},anchor:r?"relative":void 0,anchorPosition:r})}static fromCIMSymbol(e){return new O({resource:{href:(0,l._l)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function z(e){const t="width"in e?e.width:e.size,r="height"in e?e.height:e.size,o=N(e.xoffset),s=N(e.yoffset);return(o||s)&&t&&r?{x:-o/t,y:s/r}:null}function N(e){return isFinite(e)?e:0}(0,s._)([(0,n.Cb)({type:L.b,json:{write:!0}})],D.prototype,"material",void 0),(0,s._)([(0,n.Cb)({type:g,json:{write:!0}})],D.prototype,"resource",void 0),(0,s._)([(0,a.J)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,s._)([(0,n.Cb)(_.y)],D.prototype,"size",void 0),(0,s._)([(0,a.J)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"}),(0,n.Cb)({json:{default:"center"}})],D.prototype,"anchor",void 0),(0,s._)([(0,n.Cb)({type:C,json:{type:[Number],read:{reader:e=>new C({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,s._)([(0,n.Cb)({type:x,json:{write:!0}})],D.prototype,"outline",void 0),D=O=(0,s._)([(0,u.j)(P)],D);const k={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function M(e){return k[e]||(i.Z.getLogger(P).warn(`${e} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}const q=D},20825:(e,t,r)=>{r.d(t,{Z:()=>b});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(87223),h=r(2283),d=r(84275),y=r(7413);const c=i.Z.ofType({base:null,key:"type",typeMap:{text:h.Z}});let m=o=class extends p.Z{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new c,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,d.gv)(this)}hasVisibleVerticalOffset(){return(0,d.Uy)(this)}clone(){return new o({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail),callout:(0,l.d9)(this.callout),verticalOffset:(0,l.d9)(this.verticalOffset)})}static fromTextSymbol(e){return new o({symbolLayers:[h.Z.fromTextSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:y.Z,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s._)([(0,n.Cb)(d.Y2)],m.prototype,"callout",void 0),(0,s._)([(0,n.Cb)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s._)([(0,n.Cb)({type:c})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=o=(0,s._)([(0,u.j)("esri.symbols.LabelSymbol3D")],m);const b=m},98587:(e,t,r)=>{r.d(t,{Z:()=>b});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(38128),h=r(96742),d=r(87223);const y=i.Z.ofType({base:null,key:"type",typeMap:{line:p.Z,path:h.Z}}),c=i.Z.ofType({base:null,key:"type",typeMap:{line:p.Z,path:h.Z}});let m=o=class extends d.Z{constructor(e){super(e),this.symbolLayers=new y,this.type="line-3d"}clone(){return new o({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new o({symbolLayers:[p.Z.fromSimpleLineSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:y,json:{type:c}})],m.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=o=(0,s._)([(0,u.j)("esri.symbols.LineSymbol3D")],m);const b=m},38128:(e,t,r)=>{r.d(t,{Z:()=>Z});var o=r(43697),s=r(62357),i=r(5600),l=r(75215),n=(r(67676),r(80442),r(36030)),a=r(52011),u=r(22303),p=r(2368),h=r(96674),d=r(57742);let y=class extends((0,p.J)(h.wq)){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,o._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],y.prototype,"type",void 0),(0,o._)([(0,i.Cb)({type:d.J,json:{default:"begin-end",write:!0}})],y.prototype,"placement",void 0),(0,o._)([(0,i.Cb)({type:d.k,json:{default:"arrow",write:!0}})],y.prototype,"style",void 0),(0,o._)([(0,i.Cb)({type:u.Z,json:{type:[l.z8],default:null,write:!0}})],y.prototype,"color",void 0),y=(0,o._)([(0,a.j)("esri.symbols.LineStyleMarker3D")],y);const c=y;var m,b=r(95868),f=r(4618),g=r(17495),v=r(50178),_=r(37308),w=r(52879),C=r(45119);let S=m=class extends b.Z{constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.Wz)(1),this.pattern=null,this.marker=null}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,marker:null!=this.marker?this.marker.clone():null};return new m(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.Wz)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style&&"inside-frame"!==e.style?new f.Z({style:e.style}):null,material:new w.b({color:(e.color||v.ix).clone()}),marker:e.marker?new c({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new m(t)}};(0,o._)([(0,i.Cb)({type:w.b,json:{write:!0}})],S.prototype,"material",void 0),(0,o._)([(0,n.J)({Line:"line"},{readOnly:!0})],S.prototype,"type",void 0),(0,o._)([(0,i.Cb)({type:C.w2,json:{write:!0,default:"miter"}})],S.prototype,"join",void 0),(0,o._)([(0,i.Cb)({type:C.Hc,json:{write:!0,default:"butt"}})],S.prototype,"cap",void 0),(0,o._)([(0,i.Cb)(_.y)],S.prototype,"size",void 0),(0,o._)([(0,i.Cb)(g.D)],S.prototype,"pattern",void 0),(0,o._)([(0,i.Cb)({types:{key:"type",base:c,typeMap:{style:c}},json:{write:!0}})],S.prototype,"marker",void 0),S=m=(0,o._)([(0,a.j)("esri.symbols.LineSymbol3DLayer")],S);const Z=S},40908:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(62357),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011)),n=r(89164);let a=class extends n.Z{constructor(e){super(e),this.angle=0,this.type=null,this.xoffset=0,this.yoffset=0,this.size=9}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,o._)([(0,i.Cb)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,o._)([(0,i.Cb)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,o._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"xoffset",void 0),(0,o._)([(0,i.Cb)({type:Number,cast:s.t_,json:{write:!0}})],a.prototype,"yoffset",void 0),(0,o._)([(0,i.Cb)({type:Number,cast:e=>"auto"===e?e:(0,s.t_)(e),json:{write:!0}})],a.prototype,"size",void 0),a=(0,o._)([(0,l.j)("esri.symbols.MarkerSymbol")],a);const u=a},3456:(e,t,r)=>{r.d(t,{Z:()=>c});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(95191),h=r(87223);const d=i.Z.ofType({base:null,key:"type",typeMap:{fill:p.Z}});let y=o=class extends h.Z{constructor(e){super(e),this.symbolLayers=new d,this.type="mesh-3d"}clone(){return new o({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new o({symbolLayers:[p.Z.fromSimpleFillSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:d})],y.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],y.prototype,"type",void 0),y=o=(0,s._)([(0,u.j)("esri.symbols.MeshSymbol3D")],y);const c=y},17143:(e,t,r)=>{r.d(t,{Z:()=>_});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(52011),a=r(95868),u=r(35454),p=r(96674),h=r(25929);const d=(0,u.w)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let y=o=class extends p.wq{clone(){return new o({href:this.href,primitive:this.primitive})}};(0,s._)([(0,i.Cb)({type:String,json:{read:h.r,write:h.w}})],y.prototype,"href",void 0),(0,s._)([(0,l.J)(d)],y.prototype,"primitive",void 0),y=o=(0,s._)([(0,n.j)("esri.symbols.support.ObjectSymbol3DLayerResource")],y);var c,m=r(92036);let b=c=class extends m.Z{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new c({x:this.x,y:this.y,z:this.z})}};(0,s._)([(0,i.Cb)({type:Number})],b.prototype,"x",void 0),(0,s._)([(0,i.Cb)({type:Number})],b.prototype,"y",void 0),(0,s._)([(0,i.Cb)({type:Number})],b.prototype,"z",void 0),b=c=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DAnchorPosition3D")],b);var f,g=r(52879);let v=f=class extends a.Z{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 f({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition&&this.anchorPosition.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,resource:this.resource&&this.resource.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s._)([(0,i.Cb)({type:g.b,json:{write:!0}})],v.prototype,"material",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],v.prototype,"castShadows",void 0),(0,s._)([(0,i.Cb)({type:y,json:{write:!0}})],v.prototype,"resource",void 0),(0,s._)([(0,l.J)({Object:"object"},{readOnly:!0})],v.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"width",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"height",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"depth",void 0),(0,s._)([(0,l.J)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"}),(0,i.Cb)({json:{default:"origin"}})],v.prototype,"anchor",void 0),(0,s._)([(0,i.Cb)({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}}}}})],v.prototype,"anchorPosition",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"heading",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"tilt",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,s._)([(0,i.Cb)({readOnly:!0})],v.prototype,"isPrimitive",null),v=f=(0,s._)([(0,n.j)("esri.symbols.ObjectSymbol3DLayer")],v);const _=v},96742:(e,t,r)=>{r.d(t,{Z:()=>y});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(36030)),n=r(71715),a=r(52011),u=r(95868),p=r(52879),h=r(45119);let d=o=class extends u.Z{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 o({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,s._)([(0,i.Cb)({type:p.b,json:{write:!0}})],d.prototype,"material",void 0),(0,s._)([(0,i.Cb)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s._)([(0,l.J)({Path:"path"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:["circle","quad"],json:{write:!0,default:"circle"}})],d.prototype,"profile",void 0),(0,s._)([(0,i.Cb)({type:h.w2,json:{write:!0,default:"miter"}})],d.prototype,"join",void 0),(0,s._)([(0,i.Cb)({type:h.KW,json:{write:!0,default:"butt"}})],d.prototype,"cap",void 0),(0,s._)([(0,i.Cb)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],d.prototype,"width",void 0),(0,s._)([(0,n.r)("width",["width","size","height"])],d.prototype,"readWidth",null),(0,s._)([(0,i.Cb)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s._)([(0,n.r)("height",["height","size","width"])],d.prototype,"readHeight",null),(0,s._)([(0,i.Cb)({type:["center","bottom","top"],json:{write:!0,default:"center"}})],d.prototype,"anchor",void 0),(0,s._)([(0,i.Cb)({type:["heading","all"],json:{write:!0,default:"all"}})],d.prototype,"profileRotation",void 0),d=o=(0,s._)([(0,a.j)("esri.symbols.PathSymbol3DLayer")],d);const y=d},37898:(e,t,r)=>{r.d(t,{Z:()=>c});var o,s=r(43697),i=r(22974),l=r(62357),n=r(5600),a=(r(75215),r(36030)),u=r(71715),p=r(52011),h=r(40908),d=r(94075);let y=o=class extends h.Z{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const o={};return e&&(o.url=e),null!=t&&(o.width=(0,l.t_)(t)),null!=r&&(o.height=(0,l.t_)(r)),o}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new o({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.d9)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s._)([(0,n.Cb)({json:{write:!1}})],y.prototype,"color",void 0),(0,s._)([(0,a.J)({esriPMS:"picture-marker"},{readOnly:!0})],y.prototype,"type",void 0),(0,s._)([(0,n.Cb)(d.KA)],y.prototype,"url",void 0),(0,s._)([(0,n.Cb)(d.Ds)],y.prototype,"source",void 0),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],y.prototype,"height",void 0),(0,s._)([(0,u.r)("height",["height","size"])],y.prototype,"readHeight",null),(0,s._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],y.prototype,"width",void 0),(0,s._)([(0,n.Cb)({json:{write:!1}})],y.prototype,"size",void 0),y=o=(0,s._)([(0,p.j)("esri.symbols.PictureMarkerSymbol")],y);const c=y},42143:(e,t,r)=>{r.d(t,{Z:()=>g});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(50575),h=r(17143),d=r(87223),y=r(2283),c=r(84275),m=r(7413);const b=i.Z.ofType({base:null,key:"type",typeMap:{icon:p.Z,object:h.Z,text:y.Z}});let f=o=class extends d.Z{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.gv)(this)}hasVisibleVerticalOffset(){return(0,c.Uy)(this)}clone(){return new o({verticalOffset:(0,l.d9)(this.verticalOffset),callout:(0,l.d9)(this.callout),styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new o({symbolLayers:[p.Z.fromSimpleMarkerSymbol(e)]})}static fromPictureMarkerSymbol(e){return new o({symbolLayers:[p.Z.fromPictureMarkerSymbol(e)]})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const r=e.data.symbol;return new o(r?.callout?{symbolLayers:[p.Z.fromCIMSymbol(e)],callout:{type:"line",size:.5,color:[0,0,0]},verticalOffset:{screenLength:40}}:{symbolLayers:[p.Z.fromCIMSymbol(e)]})}static fromTextSymbol(e){return new o({symbolLayers:[y.Z.fromTextSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:m.Z,json:{write:!0}})],f.prototype,"verticalOffset",void 0),(0,s._)([(0,n.Cb)(c.Y2)],f.prototype,"callout",void 0),(0,s._)([(0,n.Cb)({type:b,json:{origins:{"web-scene":{write:!0}}}})],f.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({PointSymbol3D:"point-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=o=(0,s._)([(0,u.j)("esri.symbols.PointSymbol3D")],f);const g=f},86114:(e,t,r)=>{r.d(t,{Z:()=>_});var o,s=r(43697),i=r(46791),l=r(22974),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=r(38445),h=r(95191),d=r(50575),y=r(38128),c=r(17143),m=r(87223),b=r(2283),f=r(44398);const g=i.Z.ofType({base:null,key:"type",typeMap:{extrude:p.Z,fill:h.Z,icon:d.Z,line:y.Z,object:c.Z,text:b.Z,water:f.Z}});let v=o=class extends m.Z{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new o({styleOrigin:(0,l.d9)(this.styleOrigin),symbolLayers:(0,l.d9)(this.symbolLayers),thumbnail:(0,l.d9)(this.thumbnail)})}static fromJSON(e){const t=new o;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const r=t.symbolLayers.at(0),o=t.symbolLayers.at(1);!o.enabled||e.symbolLayers&&e.symbolLayers[1]&&!1===e.symbolLayers[1].enable||(r.outline={size:o.size,color:null!=o.material?o.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new o({symbolLayers:[h.Z.fromSimpleFillSymbol(e)]})}};(0,s._)([(0,n.Cb)({type:g,json:{write:!0}})],v.prototype,"symbolLayers",void 0),(0,s._)([(0,a.J)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],v.prototype,"type",void 0),v=o=(0,s._)([(0,u.j)("esri.symbols.PolygonSymbol3D")],v);const _=v},20256:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(22303),l=r(35454),n=r(22974),a=r(5600),u=(r(75215),r(36030)),p=r(52011),h=r(21218),d=r(4095);const y=new l.X({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let c=o=class extends h.Z{constructor(...e){super(...e),this.color=new i.Z([0,0,0,.25]),this.outline=new d.Z,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e)return e;const o={};return e&&(o.style=e),t&&(o.outline=t),r&&(o.color=r),o}clone(){return new o({color:(0,n.d9)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,s._)([(0,a.Cb)()],c.prototype,"color",void 0),(0,s._)([(0,a.Cb)()],c.prototype,"outline",void 0),(0,s._)([(0,u.J)({esriSFS:"simple-fill"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,a.Cb)({type:y.apiValues,json:{read:y.read,write:y.write}})],c.prototype,"style",void 0),c=o=(0,s._)([(0,p.j)("esri.symbols.SimpleFillSymbol")],c);const m=c},4095:(e,t,r)=>{r.d(t,{Z:()=>Z});var o=r(43697),s=r(35454),i=r(22974),l=r(62357),n=r(5600),a=(r(75215),r(36030)),u=r(52011),p=(r(67676),r(80442),r(89164));let h=class extends p.Z{constructor(e){super(e),this.type="simple-line",this.width=.75}hash(){return`${this.type}.${this.width}`}};(0,o._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],h.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:Number,cast:l.t_,json:{write:!0}})],h.prototype,"width",void 0),h=(0,o._)([(0,u.j)("esri.symbols.LineSymbol")],h);const d=h;var y,c=r(22303),m=r(96674),b=r(71715),f=r(30556),g=r(57742);let v=y=class extends m.wq{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,r,o){t[r]="web-map"===o?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return e&&null!=e[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,r,o){"web-map"===o?.origin||(t[r]=e)}clone(){return new y({color:(0,i.d9)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,o._)([(0,n.Cb)({type:["begin","end","begin-end"],json:{write:!0}})],v.prototype,"placement",void 0),(0,o._)([(0,a.J)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.Cb)({json:{origins:{"web-map":{write:!1}}}})],v.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:g.k})],v.prototype,"style",void 0),(0,o._)([(0,f.c)("style")],v.prototype,"writeStyle",null),(0,o._)([(0,n.Cb)({type:c.Z,value:null,json:{write:{allowNull:!0}}})],v.prototype,"color",null),(0,o._)([(0,b.r)("color")],v.prototype,"readColor",null),(0,o._)([(0,f.c)("color")],v.prototype,"writeColor",null),v=y=(0,o._)([(0,u.j)("esri.symbols.LineSymbolMarker")],v);const _=v;var w;const C=new s.X({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSInsideFrame:"inside-frame",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let S=w=class extends d{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,r,o,s,i){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=r&&(n.width=(0,l.t_)(r)),null!=o&&(n.cap=o),null!=s&&(n.join=s),null!=i&&(n.miterLimit=(0,l.t_)(i)),n}clone(){return new w({color:(0,i.d9)(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,o._)([(0,a.J)({esriSLS:"simple-line"},{readOnly:!0})],S.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:C.apiValues,json:{read:C.read,write:C.write}})],S.prototype,"style",void 0),(0,o._)([(0,n.Cb)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,r)=>({enabled:"round"!==e&&(null==r||null==r.origin)})}}})],S.prototype,"cap",void 0),(0,o._)([(0,n.Cb)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,r)=>({enabled:"round"!==e&&(null==r||null==r.origin)})}}})],S.prototype,"join",void 0),(0,o._)([(0,n.Cb)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":_}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],S.prototype,"marker",void 0),(0,o._)([(0,n.Cb)({type:Number,json:{read:!1,write:!1}})],S.prototype,"miterLimit",void 0),S=w=(0,o._)([(0,u.j)("esri.symbols.SimpleLineSymbol")],S);const Z=S},77987:(e,t,r)=>{r.d(t,{Z:()=>f});var o,s=r(43697),i=r(22303),l=r(35454),n=r(22974),a=r(62357),u=r(5600),p=(r(75215),r(36030)),h=r(52011),d=r(30556),y=r(40908),c=r(4095);const m=new l.X({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let b=o=class extends y.Z{constructor(...e){super(...e),this.color=new i.Z([255,255,255,.25]),this.type="simple-marker",this.size=12,this.style="circle",this.outline=new c.Z}normalizeCtorArgs(e,t,r,o){if(e&&"string"!=typeof e)return e;const s={};return e&&(s.style=e),null!=t&&(s.size=(0,a.t_)(t)),r&&(s.outline=r),o&&(s.color=o),s}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}set path(e){this.style="path",this._set("path",e)}clone(){return new o({angle:this.angle,color:(0,n.d9)(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,s._)([(0,u.Cb)()],b.prototype,"color",void 0),(0,s._)([(0,d.c)("color")],b.prototype,"writeColor",null),(0,s._)([(0,p.J)({esriSMS:"simple-marker"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,u.Cb)()],b.prototype,"size",void 0),(0,s._)([(0,u.Cb)({type:m.apiValues,json:{read:m.read,write:m.write}})],b.prototype,"style",void 0),(0,s._)([(0,u.Cb)({type:String,json:{write:!0}})],b.prototype,"path",null),(0,s._)([(0,u.Cb)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":c.Z}},json:{default:null,write:!0}})],b.prototype,"outline",void 0),b=o=(0,s._)([(0,h.j)("esri.symbols.SimpleMarkerSymbol")],b);const f=b},89164:(e,t,r)=>{r.d(t,{Z:()=>y});var o=r(43697),s=r(22303),i=r(35454),l=r(96674),n=r(5600),a=(r(75215),r(67676),r(80442),r(71715)),u=r(52011);const p=new i.X({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 h=0,d=class extends l.wq{constructor(e){super(e),this.id="sym"+h++,this.type=null,this.color=new s.Z([0,0,0,1])}readColor(e){return e&&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,o._)([(0,n.Cb)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write}}})],d.prototype,"type",void 0),(0,o._)([(0,n.Cb)({type:s.Z,json:{write:{allowNull:!0}}})],d.prototype,"color",void 0),(0,o._)([(0,a.r)("color")],d.prototype,"readColor",null),d=(0,o._)([(0,u.j)("esri.symbols.Symbol")],d);const y=d},87223:(e,t,r)=>{r.d(t,{Z:()=>z});var o=r(43697),s=r(46791),i=r(70921),l=r(92604),n=r(81271),a=r(20941),u=r(5600),p=r(90578),h=(r(67676),r(80442),r(71715)),d=r(52011),y=r(30556),c=r(48522),m=r(25929),b=r(38445),f=r(95191),g=r(50575),v=r(38128),_=r(17143),w=r(96742),C=r(89164),S=r(95868),Z=r(2283),j=r(44398),x=r(71144),O=r(23203);const L={icon:g.Z,object:_.Z,line:v.Z,path:w.Z,fill:f.Z,extrude:b.Z,text:Z.Z,water:j.Z},P=s.Z.ofType({base:S.Z,key:"type",typeMap:L,errorContext:"symbol-layer"});let D=class extends C.Z{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadatas&&this.__accessor__.metadatas.symbolLayers,r=t&&t.type||s.Z;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.Z.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,i.Z)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,r){if(e.styleUrl&&e.name){const t=(0,m.f)(e.styleUrl,r);return new x.Z({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new x.Z({portal:r&&r.portal||c.Z.getDefault(),styleName:e.styleName,name:e.name});r&&r.messages&&r.messages.push(new a.Z("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:r,definition:e}))}writeStyleOrigin(e,t,r,o){if(e.styleUrl&&e.name){let r=(0,m.t)(e.styleUrl,o);(0,n.YP)(r)&&(r=(0,n.Fv)(r)),t.styleOrigin={styleUrl:r,name:e.name}}else e.styleName&&e.name&&(e.portal&&o&&o.portal&&!(0,n.tm)(e.portal.restUrl,o.portal.restUrl)?o&&o.messages&&o.messages.push(new a.Z("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 S.Z||e&&L[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,o._)([(0,u.Cb)({json:{read:!1,write:!1}})],D.prototype,"color",null),(0,o._)([(0,u.Cb)({type:P,nonNullable:!0,json:{write:!0}}),(0,p.p)(i.R)],D.prototype,"symbolLayers",null),(0,o._)([(0,u.Cb)({type:x.Z})],D.prototype,"styleOrigin",void 0),(0,o._)([(0,h.r)("styleOrigin")],D.prototype,"readStyleOrigin",null),(0,o._)([(0,y.c)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],D.prototype,"writeStyleOrigin",null),(0,o._)([(0,u.Cb)({type:O.p,json:{read:!1}})],D.prototype,"thumbnail",void 0),(0,o._)([(0,u.Cb)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],D.prototype,"type",void 0),D=(0,o._)([(0,d.j)("esri.symbols.Symbol3D")],D);const z=D},95868:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011)),n=r(30556);let a=class extends s.wq{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,r){e||(t[r]=e)}};(0,o._)([(0,i.Cb)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,o._)([(0,n.c)("enabled")],a.prototype,"writeEnabled",null),(0,o._)([(0,i.Cb)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0})],a.prototype,"type",void 0),a=(0,o._)([(0,l.j)("esri.symbols.Symbol3DLayer")],a);const u=a},78724:(e,t,r)=>{r.d(t,{Z:()=>f});var o,s=r(43697),i=r(22303),l=r(22974),n=r(62357),a=r(5600),u=r(90578),p=r(36030),h=r(52011),d=r(30556),y=r(31134),c=r(89164),m=r(61565);let b=o=class extends c.Z{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new y.Z,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.haloSize=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.xoffset=0,this.yoffset=0,this.angle=0,this.width=null,this.lineWidth=192,this.lineHeight=1}normalizeCtorArgs(e,t,r){if(e&&"string"!=typeof e)return e;const o={};return e&&(o.text=e),t&&(o.font=t),r&&(o.color=r),o}writeLineWidth(e,t,r,o){o&&"string"!=typeof o?o.origin:t[r]=e}castLineWidth(e){return(0,n.t_)(e)}writeLineHeight(e,t,r,o){o&&"string"!=typeof o?o.origin:t[r]=e}clone(){return new o({angle:this.angle,backgroundColor:(0,l.d9)(this.backgroundColor),borderLineColor:(0,l.d9)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.d9)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.d9)(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&&this.backgroundColor.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor&&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,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"backgroundColor",void 0),(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"borderLineColor",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0},cast:n.t_})],b.prototype,"borderLineSize",void 0),(0,s._)([(0,a.Cb)({type:y.Z,json:{write:!0}})],b.prototype,"font",void 0),(0,s._)([(0,a.Cb)({...m.x0,json:{write:!0}})],b.prototype,"horizontalAlignment",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"kerning",void 0),(0,s._)([(0,a.Cb)({type:i.Z,json:{write:!0}})],b.prototype,"haloColor",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"haloSize",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"rightToLeft",void 0),(0,s._)([(0,a.Cb)({type:Boolean,json:{write:!0}})],b.prototype,"rotated",void 0),(0,s._)([(0,a.Cb)({type:String,json:{write:!0}})],b.prototype,"text",void 0),(0,s._)([(0,p.J)({esriTS:"text"},{readOnly:!0})],b.prototype,"type",void 0),(0,s._)([(0,a.Cb)({...m.Nj,json:{write:!0}})],b.prototype,"verticalAlignment",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"xoffset",void 0),(0,s._)([(0,a.Cb)({type:Number,cast:n.t_,json:{write:!0}})],b.prototype,"yoffset",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],b.prototype,"angle",void 0),(0,s._)([(0,a.Cb)({type:Number,json:{write:!0}})],b.prototype,"width",void 0),(0,s._)([(0,a.Cb)({type:Number})],b.prototype,"lineWidth",void 0),(0,s._)([(0,d.c)("lineWidth")],b.prototype,"writeLineWidth",null),(0,s._)([(0,u.p)("lineWidth")],b.prototype,"castLineWidth",null),(0,s._)([(0,a.Cb)(m.Ck)],b.prototype,"lineHeight",void 0),(0,s._)([(0,d.c)("lineHeight")],b.prototype,"writeLineHeight",null),b=o=(0,s._)([(0,h.j)("esri.symbols.TextSymbol")],b);const f=b},2283:(e,t,r)=>{r.d(t,{Z:()=>S});var o,s=r(43697),i=r(22974),l=r(5600),n=(r(75215),r(36030)),a=r(52011),u=r(30556),p=r(31134),h=r(95868),d=r(37308),y=r(22303),c=r(96674);let m=o=class extends c.wq{constructor(){super(...arguments),this.color=new y.Z([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.d9)(this.color),size:this.size};return new o(e)}};(0,s._)([(0,l.Cb)(d.a)],m.prototype,"color",void 0),(0,s._)([(0,l.Cb)(d.y)],m.prototype,"size",void 0),m=o=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DHalo")],m);var b=r(52879),f=r(2368);r(67676),r(80442);let g=class extends((0,f.J)(c.wq)){constructor(e){super(e),this.color=null}};(0,s._)([(0,l.Cb)(d.a)],g.prototype,"color",void 0),g=(0,s._)([(0,a.j)("esri.symbols.support.Symbol3DTextBackground")],g);var v,_=r(61565);let w=v=class extends h.Z{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"}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,r,o){const s={...o,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font&&null!=this.font.size?this.font.size:9}set size(e){this._userSize=e,null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new v({enabled:this.enabled,font:this.font&&(0,i.d9)(this.font),halo:this.halo&&(0,i.d9)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.d9)(this.background)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new v({font:null!=e.font?e.font.clone():new p.Z,halo:C(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new b.b({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new g({color:e.backgroundColor.clone()}):null})}};function C(e,t){return e&&null!=t&&t>0?new m({color:(0,i.d9)(e),size:t}):null}(0,s._)([(0,l.Cb)({type:p.Z,json:{write:!0}})],w.prototype,"font",null),(0,s._)([(0,u.c)("font")],w.prototype,"writeFont",null),(0,s._)([(0,l.Cb)({type:m,json:{write:!0}})],w.prototype,"halo",void 0),(0,s._)([(0,l.Cb)({..._.x0,json:{default:"center",write:!0}})],w.prototype,"horizontalAlignment",void 0),(0,s._)([(0,l.Cb)({..._.Ck,json:{default:1,write:!0}})],w.prototype,"lineHeight",void 0),(0,s._)([(0,l.Cb)({type:b.b,json:{write:!0}})],w.prototype,"material",void 0),(0,s._)([(0,l.Cb)({type:g,json:{write:!0}})],w.prototype,"background",void 0),(0,s._)([(0,l.Cb)(d.y)],w.prototype,"size",null),(0,s._)([(0,l.Cb)({type:String,json:{write:!0}})],w.prototype,"text",void 0),(0,s._)([(0,n.J)({Text:"text"},{readOnly:!0})],w.prototype,"type",void 0),(0,s._)([(0,l.Cb)({..._.Nj,json:{default:"baseline",write:!0}})],w.prototype,"verticalAlignment",void 0),w=v=(0,s._)([(0,a.j)("esri.symbols.TextSymbol3DLayer")],w);const S=w},44398:(e,t,r)=>{r.d(t,{Z:()=>c});var o,s=r(43697),i=r(22303),l=r(22974),n=r(5600),a=r(75215),u=r(36030),p=r(52011),h=r(95868);let d=o=class extends h.Z{constructor(e){super(e),this.color=y.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new o({color:(0,l.d9)(this.color),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s._)([(0,n.Cb)({type:i.Z,nonNullable:!0,json:{type:[a.z8],write:(e,t,r)=>t[r]=e.toArray(i.Z.AlphaMode.UNLESS_OPAQUE),default:()=>y.clone(),defaultEquals:e=>e.toCss(!0)===y.toCss(!0)}})],d.prototype,"color",void 0),(0,s._)([(0,u.J)({Water:"water"},{readOnly:!0})],d.prototype,"type",void 0),(0,s._)([(0,n.Cb)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],d.prototype,"waterbodySize",void 0),(0,s._)([(0,n.Cb)({type:Number,json:{write:!0,default:null}})],d.prototype,"waveDirection",void 0),(0,s._)([(0,n.Cb)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],d.prototype,"waveStrength",void 0),d=o=(0,s._)([(0,p.j)("esri.symbols.WaterSymbol3DLayer")],d);const y=new i.Z([0,119,190]),c=d},59390:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(92604),l=r(95330),n=r(5600),a=(r(75215),r(67676),r(80442),r(36030)),u=r(52011),p=r(48522),h=r(25929),d=r(89164),y=r(23203);let c=o=class extends d.Z{constructor(e){super(e),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:p.Z.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 o({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol("webRef",e)}fetchCIMSymbol(e){return this._fetchSymbol("cimRef",e)}async _fetchSymbol(e,t){const o=null!=t?t.cache:null,s=o?this._fetchCacheKey:null;if(null!=o){const e=s&&o.get(s);if(e)return e.clone()}const{resolveWebStyleSymbol:n}=await r.e(4499).then(r.bind(r,74499));(0,l.k_)(t);const a=n(this,{portal:this.portal},e,t);a.catch((e=>{i.Z.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)}));const u=await a;return"webRef"===e&&"point-3d"===u.type||"cimRef"===e&&"cim"===u.type?(null!=o&&o.set(s,u.clone()),u):null}};(0,s._)([(0,n.Cb)({json:{write:!1}})],c.prototype,"color",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"styleName",void 0),(0,s._)([(0,n.Cb)({type:p.Z,json:{write:!1}})],c.prototype,"portal",void 0),(0,s._)([(0,n.Cb)({type:String,json:{read:h.r,write:h.w}})],c.prototype,"styleUrl",void 0),(0,s._)([(0,n.Cb)({type:y.p,json:{read:!1}})],c.prototype,"thumbnail",void 0),(0,s._)([(0,n.Cb)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,s._)([(0,a.J)({styleSymbolReference:"web-style"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,n.Cb)()],c.prototype,"_fetchCacheKey",null),c=o=(0,s._)([(0,u.j)("esri.symbols.WebStyleSymbol")],c);const m=c},27539:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011));let n=class extends s.wq{constructor(e){super(e),this.visible=!0}clone(){}};(0,o._)([(0,i.Cb)({type:["line"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),(0,o._)([(0,i.Cb)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,o._)([(0,l.j)("esri.symbols.callouts.Callout3D")],n);const a=n},69496:(e,t,r)=>{r.d(t,{Z:()=>m});var o,s=r(43697),i=r(22303),l=r(22974),n=r(62357),a=r(5600),u=(r(75215),r(36030)),p=r(52011),h=r(27539),d=r(6352),y=r(37308);let c=o=class extends h.Z{constructor(e){super(e),this.type="line",this.color=new i.Z([0,0,0,1]),this.size=(0,n.Wz)(1),this.border=null}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new o({color:(0,l.d9)(this.color),size:this.size,border:(0,l.d9)(this.border)})}};(0,s._)([(0,u.J)({line:"line"},{readOnly:!0})],c.prototype,"type",void 0),(0,s._)([(0,a.Cb)(y.a)],c.prototype,"color",void 0),(0,s._)([(0,a.Cb)(y.y)],c.prototype,"size",void 0),(0,s._)([(0,a.Cb)({type:d.a,json:{write:!0}})],c.prototype,"border",void 0),(0,s._)([(0,a.Cb)({readOnly:!0})],c.prototype,"visible",null),c=o=(0,s._)([(0,p.j)("esri.symbols.callouts.LineCallout3D")],c);const m=c},84275:(e,t,r)=>{r.d(t,{Uy:()=>i,Y2:()=>n,gv:()=>l});var o=r(27539),s=r(69496);function i(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)return!1;if(!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t&&!!t.visible&&!!i(e)}const n={types:{key:"type",base:o.Z,typeMap:{line:s.Z}},json:{write:!0}}},56332:(e,t,r)=>{r.d(t,{Z:()=>v});var o=r(43697),s=r(22303),i=r(96674),l=r(22974),n=r(62357),a=r(5600),u=(r(75215),r(52011)),p=r(37308);let h=class extends i.wq{constructor(e){super(e),this.color=new s.Z([0,0,0,1]),this.extensionLength=0,this.size=(0,n.Wz)(1)}clone(){}cloneProperties(){return{color:(0,l.d9)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,o._)([(0,a.Cb)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],h.prototype,"type",void 0),(0,o._)([(0,a.Cb)(p.a)],h.prototype,"color",void 0),(0,o._)([(0,a.Cb)({...p.y,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],h.prototype,"extensionLength",void 0),(0,o._)([(0,a.Cb)(p.y)],h.prototype,"size",void 0),h=(0,o._)([(0,u.j)("esri.symbols.edges.Edges3D")],h);const d=h;r(92604),r(67676),r(80442),r(20102);var y,c=r(36030);let m=y=class extends d{constructor(e){super(e),this.type="sketch"}clone(){return new y(this.cloneProperties())}};(0,o._)([(0,c.J)({sketch:"sketch"},{readOnly:!0})],m.prototype,"type",void 0),m=y=(0,o._)([(0,u.j)("esri.symbols.edges.SketchEdges3D")],m);const b=m;var f;let g=f=class extends d{constructor(e){super(e),this.type="solid"}clone(){return new f(this.cloneProperties())}};(0,o._)([(0,c.J)({solid:"solid"},{readOnly:!0})],g.prototype,"type",void 0),g=f=(0,o._)([(0,u.j)("esri.symbols.support.SolidEdges3D")],g);const v={types:{key:"type",base:d,typeMap:{solid:g,sketch:b}},json:{write:!0}}},32626:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011));let n=class extends s.wq{constructor(e){super(e)}clone(){}};(0,o._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,o._)([(0,l.j)("esri.symbols.patterns.LinePattern3D")],n);const a=n},4618:(e,t,r)=>{r.d(t,{Z:()=>d});var o,s=r(43697),i=r(35454),l=r(5600),n=(r(75215),r(67676),r(80442),r(36030)),a=r(52011),u=r(32626);const p=(0,i.w)()({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 h=o=class extends u.Z{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new o(e)}};(0,s._)([(0,l.Cb)({type:["style"]})],h.prototype,"type",void 0),(0,s._)([(0,n.J)(p),(0,l.Cb)({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"]})],h.prototype,"style",void 0),h=o=(0,s._)([(0,a.j)("esri.symbols.patterns.LineStylePattern3D")],h);const d=h},41776:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(43697),s=r(96674),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011));let n=class extends s.wq{constructor(e){super(e)}clone(){}};(0,o._)([(0,i.Cb)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,o._)([(0,l.j)("esri.symbols.patterns.Pattern3D")],n);const a=n},74721:(e,t,r)=>{r.d(t,{Z:()=>u});var o,s=r(43697),i=r(5600),l=(r(75215),r(67676),r(80442),r(52011)),n=r(41776);let a=o=class extends n.Z{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new o(e)}};(0,s._)([(0,i.Cb)({type:["style"]})],a.prototype,"type",void 0),(0,s._)([(0,i.Cb)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:!0}})],a.prototype,"style",void 0),a=o=(0,s._)([(0,l.j)("esri.symbols.patterns.StylePattern3D")],a);const u=a},17495:(e,t,r)=>{r.d(t,{D:()=>a,q:()=>n});var o=r(32626),s=r(4618),i=r(41776),l=r(74721);const n={types:{key:"type",base:i.Z,typeMap:{style:l.Z}},json:{write:!0}},a={types:{key:"type",base:o.Z,typeMap:{style:s.Z}},json:{write:!0}}},71144:(e,t,r)=>{r.d(t,{Z:()=>p});var o,s=r(43697),i=r(92036),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011)),a=r(48522);let u=o=class extends i.Z{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new o({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s._)([(0,l.Cb)({type:String})],u.prototype,"name",void 0),(0,s._)([(0,l.Cb)({type:String})],u.prototype,"styleUrl",void 0),(0,s._)([(0,l.Cb)({type:String})],u.prototype,"styleName",void 0),(0,s._)([(0,l.Cb)({type:a.Z})],u.prototype,"portal",void 0),u=o=(0,s._)([(0,n.j)("esri.symbols.support.StyleOrigin")],u);const p=u},52879:(e,t,r)=>{r.d(t,{b:()=>u});var o,s=r(43697),i=r(96674),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011)),a=r(37308);let u=o=class extends i.wq{constructor(e){super(e),this.color=null}clone(){const e={color:null!=this.color?this.color.clone():null};return new o(e)}};(0,s._)([(0,l.Cb)(a.a)],u.prototype,"color",void 0),u=o=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DMaterial")],u)},7413:(e,t,r)=>{r.d(t,{Z:()=>p});var o,s=r(43697),i=r(96674),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011)),a=r(37308);let u=o=class extends i.wq{constructor(e){super(e),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new o({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s._)([(0,l.Cb)(a.y)],u.prototype,"screenLength",void 0),(0,s._)([(0,l.Cb)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],u.prototype,"minWorldLength",void 0),(0,s._)([(0,l.Cb)({type:Number,json:{write:!0}})],u.prototype,"maxWorldLength",void 0),u=o=(0,s._)([(0,n.j)("esri.symbols.support.Symbol3DVerticalOffset")],u);const p=u},23203:(e,t,r)=>{r.d(t,{p:()=>a});var o,s=r(43697),i=r(92036),l=r(5600),n=(r(75215),r(67676),r(80442),r(52011));let a=o=class extends i.Z{constructor(){super(...arguments),this.url=""}clone(){return new o({url:this.url})}};(0,s._)([(0,l.Cb)({type:String})],a.prototype,"url",void 0),a=o=(0,s._)([(0,n.j)("esri.symbols.support.Thumbnail")],a)},50178:(e,t,r)=>{r.d(t,{ix:()=>s,l9:()=>i,rx:()=>l});var o=r(22303);const s=new o.Z("white"),i=(new o.Z("black"),new o.Z([255,255,255,0]));function l(e){return 0===e.r&&0===e.g&&0===e.b}},21878:(e,t,r)=>{r.d(t,{im:()=>Z,cW:()=>_,vX:()=>w});var o=r(9790),s=r(20102),i=r(84230),l=r(87223),n=r(59390),a=r(42143),u=r(4095),p=r(98587),h=r(77987),d=r(37898),y=r(20256),c=r(3456),m=r(86114),b=r(78724),f=r(20825);const g={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};function v(e,t=g){if(!e)return{symbol:null};const{retainId:r=g.retainId,ignoreDrivers:i=g.ignoreDrivers,hasLabelingContext:l=g.hasLabelingContext,retainCIM:v=g.retainCIM}=t;let _=null;if((0,o.dU)(e)||e instanceof n.Z)_=e.clone();else if("cim"===e.type){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return{error:new s.Z("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${t||"unknown"}' is unsupported in 3D`,{symbol:e})};_=v?e.clone():a.Z.fromCIMSymbol(e)}else if(e instanceof u.Z)_=p.Z.fromSimpleLineSymbol(e);else if(e instanceof h.Z)_=a.Z.fromSimpleMarkerSymbol(e);else if(e instanceof d.Z)_=a.Z.fromPictureMarkerSymbol(e);else if(e instanceof y.Z)_=t.geometryType&&"mesh"===t.geometryType?c.Z.fromSimpleFillSymbol(e):m.Z.fromSimpleFillSymbol(e);else{if(!(e instanceof b.Z))return{error:new s.Z("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};_=l?f.Z.fromTextSymbol(e):a.Z.fromTextSymbol(e)}return r&&_&&"cim"!==_.type&&(_.id=e.id),i&&(0,o.dU)(_)&&_.symbolLayers.forEach((e=>e.ignoreDrivers=!0)),{symbol:_}}function _(e,t,r,o){const s=S(e,{},{context:o,isLabelSymbol:!1});null!=s&&(t[r]=s)}function w(e,t,r,o){const s=S(e,{},{context:o,isLabelSymbol:!0});null!=s&&(t[r]=s)}function C(e){return e instanceof l.Z||e instanceof n.Z}function S(e,t,r){if(null==e)return null;const{context:o,isLabelSymbol:l}=r,n=o?.origin,a=o?.messages;if("web-scene"===n&&!C(e)){const r=v(e,{retainCIM:!0,hasLabelingContext:l});return null!=r.symbol?r.symbol.write(t,o):(a?.push(new s.Z("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in scenes. Use 3D symbology instead when working with WebScene and SceneView`,{symbol:e,context:o,error:r.error})),null)}return("web-map"===n||"portal-item"===n&&!(0,i.A2)(o?.layer))&&C(e)?(a?.push(new s.Z("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in web maps and portal items. Use 2D symbology and CIMSymbol instead when working with MapView`,{symbol:e,context:o})),null):e.write(t,o)}function Z(e,t){return(0,o.S9)(e,null,t)}},57742:(e,t,r)=>{r.d(t,{J:()=>o,k:()=>s});const o=["begin","end","begin-end"],s=["arrow","circle","square","diamond","cross","x"]},37308:(e,t,r)=>{r.d(t,{a:()=>n,y:()=>a});var o=r(22303),s=r(62357),i=r(75215),l=r(65242);const n={type:o.Z,json:{type:[i.z8],default:null,read:{source:["color","transparency"],reader:function(e,t){const r=null!=t.transparency?(0,l.b)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new o.Z([s[0]||0,s[1]||0,s[2]||0,r]):null}},write:{target:{color:{type:[i.z8]},transparency:{type:i.z8}},writer:function(e,t){t.color=e.toJSON().slice(0,3);const r=(0,l.a)(e.a);0!==r&&(t.transparency=r)}}}},a={type:Number,cast:s.t_,json:{write:!0}}},27883:(e,t,r)=>{r.d(t,{EJ:()=>c,KV:()=>d,n2:()=>h,v9:()=>y,wm:()=>f});var o=r(3172),s=r(20102),i=r(95330),l=r(81271),n=r(48522),a=r(41253),u=r(72245);let p={};function h(e,t,r){return e&&null!=e.styleUrl?async function(e,t){try{return{data:(await c(e,t)).data,baseUrl:(0,l.Yd)(e),styleUrl:e}}catch(e){return(0,i.r9)(e),null}}(e.styleUrl,r):e&&null!=e.styleName?function(e,t,r){const o=null!=t.portal?t.portal:n.Z.getDefault();let i;const l=`${o.url} - ${o.user&&o.user.username} - ${e}`;return p[l]||(p[l]=function(e,t,r){return t.load(r).then((()=>{const o=new a.Z({disableExtraQuery:!0,query:`owner:${m} AND type:${b} AND typekeywords:"${e}"`});return t.queryItems(o,r)})).then((({results:t})=>{let o=null;const i=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some((e=>e.toLowerCase()===i));if(t&&e.type===b&&e.owner===m){o=e;break}}if(!o)throw new s.Z("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return o.load(r)}))}(e,o,r).then((e=>(i=e,e.fetchData()))).then((t=>({data:t,baseUrl:i.itemUrl??"",styleName:e})))),p[l]}(e.styleName,t,r):Promise.reject(new s.Z("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function d(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function y(e,t,r=["gltf"]){if("cimRef"===t)return e.cimRef;if(e.formatInfos&&!(0,u.K3)())for(const t of r){const r=e.formatInfos.find((e=>e.type===t));if(r)return r.href}return e.webRef}function c(e,t){const r={responseType:"json",query:{f:"json"},...t};return(0,o.default)((0,l.Fv)(e),r)}const m="esri_en",b="Style",f="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"},45119:(e,t,r)=>{r.d(t,{Hc:()=>a,KW:()=>u,Uz:()=>n,w2:()=>p}),r(80442),r(65617);var o=r(60437);const s=(0,o.al)(-.5,-.5,-.5,.5,.5,.5),i=(0,o.al)(-.5,-.5,0,.5,.5,1),l=(0,o.al)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return s;case"cylinder":case"cone":case"inverted-cone":return i;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],u=[...a,"none"],p=["miter","bevel","round"]},61565:(e,t,r)=>{r.d(t,{Ck:()=>a,JT:()=>i,M8:()=>h,Nj:()=>p,g6:()=>l,vC:()=>n,x0:()=>u});var o=r(22021),s=r(75215);const i=["none","underline","line-through"],l=["normal","italic","oblique"],n=["normal","lighter","bold","bolder"],a={type:Number,cast:e=>{const t=(0,s.q9)(e);return 0===t?1:(0,o.uZ)(t,.1,4)},nonNullable:!0},u={type:["left","right","center"],nonNullable:!0},p={type:["baseline","top","middle","bottom"],nonNullable:!0},h=8},94075:(e,t,r)=>{r.d(t,{Ds:()=>n,KA:()=>l});var o=r(81271),s=r(25929);function i(e,t){return function(e){return!(null==e||"service"!==e.origin&&"portal-item"!==e.origin||"feature"!==e.layer?.type&&"stream"!==e.layer?.type)}(t)&&!(0,o.YP)(e)&&t?.layer?.parsedUrl?(0,o.v_)(t.layer.parsedUrl.path,"images",e):(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,r){return t.imageData?(0,o._l)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,r)}},write:{writer(e,t,r,i){!function(e,t,r,i){if((0,o.HK)(e)){const l=(0,o.sJ)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,r&&r.imageData===t.imageData&&r.url&&(0,s.w)(r.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,r){const o={};return t.imageData&&(o.imageData=t.imageData),t.contentType&&(o.contentType=t.contentType),t.url&&(o.url=i(t.url,r)),o}}}}},65242:(e,t,r)=>{r.d(t,{a:()=>s,b:()=>i});var o=r(75215);function s(e){const t=(0,o.vU)(100*(1-e));return Math.max(0,Math.min(t,100))}function i(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);