@arcgis/core 5.2.0-next.113 → 5.2.0-next.115

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 (233) hide show
  1. package/Graphic.d.ts +5 -3
  2. package/Ground.d.ts +5 -4
  3. package/applications/Urban/LineImagePattern3D.js +1 -1
  4. package/arcgisGlobal.d.ts +2 -0
  5. package/assets/esri/core/workers/RemoteClient.js +1 -1
  6. package/assets/esri/core/workers/chunks/02f94f9d704f03ddb5c6.js +1 -0
  7. package/assets/esri/core/workers/chunks/{c517e732cab41093b2e0.js → 0312c40d94b248ad71e3.js} +1 -1
  8. package/assets/esri/core/workers/chunks/0463c807b37f01bbc35c.js +1 -0
  9. package/assets/esri/core/workers/chunks/0ff13f7a18b0123d253e.js +1 -0
  10. package/assets/esri/core/workers/chunks/2e0fd0536408053ac6f5.js +1 -0
  11. package/assets/esri/core/workers/chunks/{6b264006b96cbf93d8ed.js → 48d3da636be15581fd7d.js} +1 -1
  12. package/assets/esri/core/workers/chunks/515fe302743c0b46f7e0.js +1 -0
  13. package/assets/esri/core/workers/chunks/{982a396bd4fffa62e911.js → 526cc64ae46dec3fbeda.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{d13cf2e8b24e978ea77c.js → 7243d5721bb6a7329055.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{785206da3962ba23de16.js → 84b89c523d3e16a5ee46.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{484b3e2a220c440ccbb4.js → 9b92c41907e2da80c288.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{4d2553219ffd223b0e90.js → a774006be107e449bc29.js} +1 -1
  18. package/assets/esri/core/workers/chunks/b45ebb1b64ee7314375e.js +1 -0
  19. package/assets/esri/core/workers/chunks/{e0f417992889a6c41095.js → baa8bce361a2677533ec.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{96ebf76661b12128ddd5.js → be4de7111bc21bc69de1.js} +1 -1
  21. package/assets/esri/core/workers/chunks/f18ee2eaa96d103627a6.js +1 -0
  22. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ar.json +1 -1
  23. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.bg.json +1 -1
  24. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.bs.json +1 -1
  25. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ca.json +1 -1
  26. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.cs.json +1 -1
  27. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.da.json +1 -1
  28. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.de.json +1 -1
  29. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.el.json +1 -1
  30. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.es.json +1 -1
  31. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.et.json +1 -1
  32. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.fi.json +1 -1
  33. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.fr.json +1 -1
  34. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.he.json +1 -1
  35. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.hr.json +1 -1
  36. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.hu.json +1 -1
  37. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.id.json +1 -1
  38. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.it.json +1 -1
  39. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ja.json +1 -1
  40. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ko.json +1 -1
  41. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.lt.json +1 -1
  42. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.lv.json +1 -1
  43. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.nl.json +1 -1
  44. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.no.json +1 -1
  45. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pl.json +1 -1
  46. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pt-BR.json +1 -1
  47. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pt-PT.json +1 -1
  48. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ro.json +1 -1
  49. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ru.json +1 -1
  50. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sk.json +1 -1
  51. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sl.json +1 -1
  52. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sr.json +1 -1
  53. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sv.json +1 -1
  54. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.th.json +1 -1
  55. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.tr.json +1 -1
  56. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.uk.json +1 -1
  57. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.vi.json +1 -1
  58. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-CN.json +1 -1
  59. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-HK.json +1 -1
  60. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-TW.json +1 -1
  61. package/assets/esri/views/3d/analysis/VolumeMeasurement/t9n/messages.ja.json +1 -1
  62. package/assets/esri/views/3d/environment/resources/milkyway-band.ktx2 +0 -0
  63. package/assets/esri/widgets/DistanceMeasurement2D/t9n/messages.de.json +1 -1
  64. package/assets/esri/widgets/DistanceMeasurement2D/t9n/messages.ro.json +1 -1
  65. package/assets/esri/widgets/Expand/t9n/messages.id.json +1 -1
  66. package/assets/esri/widgets/Features/t9n/messages.he.json +1 -1
  67. package/assets/esri/widgets/Features/t9n/messages.uk.json +1 -1
  68. package/assets/esri/widgets/Home/t9n/messages.bs.json +1 -1
  69. package/assets/esri/widgets/Home/t9n/messages.de.json +1 -1
  70. package/assets/esri/widgets/Home/t9n/messages.et.json +1 -1
  71. package/assets/esri/widgets/Home/t9n/messages.fi.json +1 -1
  72. package/assets/esri/widgets/Home/t9n/messages.hr.json +1 -1
  73. package/assets/esri/widgets/Home/t9n/messages.hu.json +1 -1
  74. package/assets/esri/widgets/Home/t9n/messages.id.json +1 -1
  75. package/assets/esri/widgets/Home/t9n/messages.lv.json +1 -1
  76. package/assets/esri/widgets/Home/t9n/messages.nl.json +1 -1
  77. package/assets/esri/widgets/Home/t9n/messages.pt-PT.json +1 -1
  78. package/assets/esri/widgets/Home/t9n/messages.th.json +1 -1
  79. package/assets/esri/widgets/Home/t9n/messages.tr.json +1 -1
  80. package/assets/esri/widgets/OrientedImageryViewer/t9n/messages.de.json +1 -1
  81. package/assets/esri/widgets/Print/t9n/messages.es.json +1 -1
  82. package/assets/esri/widgets/Print/t9n/messages.it.json +1 -1
  83. package/assets/esri/widgets/Print/t9n/messages.lt.json +1 -1
  84. package/assets/esri/widgets/Print/t9n/messages.pt-PT.json +1 -1
  85. package/assets/esri/widgets/Print/t9n/messages.sl.json +1 -1
  86. package/assets/esri/widgets/Print/t9n/messages.sr.json +1 -1
  87. package/assets/esri/widgets/Search/t9n/messages.bs.json +1 -1
  88. package/assets/esri/widgets/Search/t9n/messages.de.json +1 -1
  89. package/assets/esri/widgets/Search/t9n/messages.es.json +1 -1
  90. package/assets/esri/widgets/Search/t9n/messages.et.json +1 -1
  91. package/assets/esri/widgets/Search/t9n/messages.fi.json +1 -1
  92. package/assets/esri/widgets/Search/t9n/messages.he.json +1 -1
  93. package/assets/esri/widgets/Search/t9n/messages.hr.json +1 -1
  94. package/assets/esri/widgets/Search/t9n/messages.it.json +1 -1
  95. package/assets/esri/widgets/Search/t9n/messages.lv.json +1 -1
  96. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ar.json +1 -1
  97. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ca.json +1 -1
  98. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.cs.json +1 -1
  99. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.el.json +1 -1
  100. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.es.json +1 -1
  101. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.fi.json +1 -1
  102. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.he.json +1 -1
  103. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.it.json +1 -1
  104. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.lt.json +1 -1
  105. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.lv.json +1 -1
  106. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.pl.json +1 -1
  107. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ro.json +1 -1
  108. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ru.json +1 -1
  109. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.sl.json +1 -1
  110. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.uk.json +1 -1
  111. package/assets/esri/widgets/support/GridControls/t9n/messages.pt-BR.json +1 -1
  112. package/chunks/DeepSky.glsl.js +1 -1
  113. package/chunks/RibbonLine.glsl.js +63 -58
  114. package/config.js +1 -1
  115. package/core/Evented.d.ts +1 -1
  116. package/core/screenUtils.js +1 -1
  117. package/core/units.js +1 -1
  118. package/form/elements/AttachmentElement.d.ts +5 -5
  119. package/form/elements/inputs/attachments/AttachmentInput.d.ts +1 -1
  120. package/graphic/getGraphicOriginTitle.d.ts +10 -0
  121. package/graphic/getGraphicOriginTitle.js +2 -0
  122. package/kernel.js +1 -1
  123. package/layers/FeatureLayer.d.ts +2 -2
  124. package/layers/MapNotesLayer.js +1 -1
  125. package/layers/raster/functions/rasterProjectionHelper.js +1 -1
  126. package/layers/support/FeatureReductionBinning.d.ts +2 -2
  127. package/layers/support/FeatureReductionCluster.d.ts +2 -2
  128. package/layers/support/Field.js +1 -1
  129. package/layers/support/SubtypeSublayer.d.ts +1 -1
  130. package/layers/support/TimeSeriesInfo.d.ts +1 -1
  131. package/layers/support/featurePopupQueryUtils.js +1 -1
  132. package/layers/support/timeSeriesUtils.js +1 -1
  133. package/layers/support/types.d.ts +1 -1
  134. package/layers/types.d.ts +1 -2
  135. package/package.json +3 -3
  136. package/popup/FeatureContent.d.ts +7 -7
  137. package/portal/schemas/definitions.js +1 -1
  138. package/portal/types.d.ts +1 -1
  139. package/renderers/DotDensityRenderer.d.ts +2 -2
  140. package/rest/knowledgeGraph/ReplicaDefinition.d.ts +1 -1
  141. package/rest/knowledgeGraphService.d.ts +2 -2
  142. package/rest/support/OutDistance.d.ts +19 -18
  143. package/rest/support/Query.d.ts +49 -21
  144. package/rest/support/RelationshipQuery.d.ts +1 -1
  145. package/smartMapping/renderers/support/utils.js +1 -1
  146. package/support/revision.js +1 -1
  147. package/symbols/LineSymbol3D.js +1 -1
  148. package/symbols/cim/types.d.ts +32 -0
  149. package/symbols/patterns/LinePattern3D.js +1 -1
  150. package/symbols/patterns/LineStylePattern3D.js +1 -1
  151. package/symbols/patterns/LineTemplatePattern3D.js +1 -1
  152. package/symbols/patterns/utils.js +1 -1
  153. package/views/2d/engine/webgl/util/DimensionMatcher.js +1 -1
  154. package/views/2d/layers/graphics/GraphicStore.js +1 -1
  155. package/views/2d/layers/support/annodime/DimensionInfo.js +1 -1
  156. package/views/2d/support/clippingUtils.js +1 -1
  157. package/views/2d/support/hitTestUtils.js +1 -1
  158. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +1 -1
  159. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  160. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  161. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  162. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  163. package/views/3d/analysis/Viewshed/placementUtils.js +1 -1
  164. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  165. package/views/3d/support/buffer/InterleavedLayout.js +1 -1
  166. package/views/3d/webgl-engine/effects/glow/BlurEmission.js +1 -1
  167. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  168. package/views/3d/webgl-engine/lib/AttributeView.js +2 -0
  169. package/views/3d/webgl-engine/lib/attributeViewUtils.js +2 -0
  170. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  171. package/views/3d/webgl-engine/materials/HUDMaterialBaseInstance.js +1 -1
  172. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  173. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  174. package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
  175. package/views/BreakpointsOwner.d.ts +2 -2
  176. package/views/PopupView.d.ts +64 -2
  177. package/views/SceneView.js +1 -1
  178. package/views/SelectionManager.d.ts +24 -24
  179. package/views/View.js +1 -1
  180. package/views/View2D.js +1 -1
  181. package/views/interactive/support/types.d.ts +0 -1
  182. package/views/layers/FeatureLikeLayerView.js +1 -1
  183. package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
  184. package/views/support/DefaultsFromMap.js +1 -1
  185. package/widgets/Attachments/support/attachmentUtils.d.ts +8 -0
  186. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -0
  187. package/widgets/BasemapLayerList/BasemapLayerListViewModel.js +1 -1
  188. package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +5 -1
  189. package/widgets/BasemapLayerList/types.d.ts +15 -2
  190. package/widgets/BasemapLayerList.d.ts +1 -1
  191. package/widgets/BasemapLayerList.js +1 -1
  192. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  193. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  194. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +14 -0
  195. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  196. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  197. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +29 -2
  198. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  199. package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +1 -5
  200. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  201. package/widgets/BatchAttributeForm/inputs/types.d.ts +8 -1
  202. package/widgets/BatchAttributeForm.js +1 -1
  203. package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +2 -1
  204. package/widgets/CatalogLayerList/CatalogLayerListViewModel.js +1 -1
  205. package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +5 -1
  206. package/widgets/CatalogLayerList/types.d.ts +12 -1
  207. package/widgets/CatalogLayerList.d.ts +2 -1
  208. package/widgets/CatalogLayerList.js +1 -1
  209. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  210. package/widgets/Editor/EditorViewModel.d.ts +2 -2
  211. package/widgets/Editor.d.ts +2 -2
  212. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +6 -6
  213. package/widgets/FeatureTable/support/FeatureStore.d.ts +2 -2
  214. package/widgets/FeatureTable.d.ts +5 -5
  215. package/widgets/LayerList/LayerListVisibleElements.d.ts +4 -1
  216. package/widgets/LayerList.js +1 -1
  217. package/widgets/TableList/ListItem.d.ts +2 -0
  218. package/widgets/TableList/ListItemPanel.d.ts +4 -0
  219. package/widgets/TableList/TableListViewModel.d.ts +4 -0
  220. package/widgets/TableList/TableListViewModel.js +1 -1
  221. package/widgets/TableList/TableListVisibleElements.d.ts +6 -1
  222. package/widgets/TableList/types.d.ts +12 -1
  223. package/widgets/TableList.d.ts +3 -0
  224. package/widgets/TableList.js +1 -1
  225. package/widgets/support/SelectionList/SelectionListViewModel.d.ts +1 -1
  226. package/assets/esri/core/workers/chunks/078ed48eb055dd213ee6.js +0 -1
  227. package/assets/esri/core/workers/chunks/1004e77593dfa506cd5d.js +0 -1
  228. package/assets/esri/core/workers/chunks/510a190a6f0a60ae38c3.js +0 -1
  229. package/assets/esri/core/workers/chunks/cd0f5cd0fefe7f49e3d8.js +0 -1
  230. package/assets/esri/core/workers/chunks/e6fb7b93cf73b05b1079.js +0 -1
  231. package/assets/esri/core/workers/chunks/f86ea5cf4814b458d50b.js +0 -1
  232. package/assets/esri/core/workers/chunks/f9b29d2ce1cd31c0fce1.js +0 -1
  233. package/graphic/graphicOrigins.js +0 -2
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5298],{32198(e,t,r){function i(e,t,r,i){var s,n=arguments.length,o=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(n<3?s(o):n>3?s(t,r,o):s(t,r))||o);return n>3&&o&&Object.defineProperty(t,r,o),o}function s(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var i,s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],r&&(s=i)}if("function"!=typeof i)throw new TypeError("Object not disposable.");s&&(i=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:i,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>i,hk:()=>o,mS:()=>s}),Object.create,Object.create;var n="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var i=new Error(r);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};function o(e){function t(t){e.error=e.hasError?new n(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,i=0;return function s(){for(;r=e.stack.pop();)try{if(!r.async&&1===i)return i=0,e.stack.push(r),Promise.resolve().then(s);if(r.dispose){var n=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(n).then(s,function(e){return t(e),s()})}else i|=1}catch(e){t(e)}if(1===i)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},69540(e,t,r){var i=r(32198),s=r(69622),n=(r(44208),r(4718)),o=(r(53966),r(97768)),a=r(88620),l=r(64108);const p=Symbol("ClonableMixin"),c=e=>{var t;const r=e;let s=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=p}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,i=t.store,s={},l=new Map;for(const t in r){const o=r[t],a=i?.originOf(t),p=o.clonable;if(o.readOnly||!1===p||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let u=null;if("function"==typeof p)u=p(c,e);else if("reference"===p)u=c;else if(u=(0,n.TU)(c,e),null!=c&&null==u)continue;0===a?l.set(t,u):s[t]=u}const p=new(0,Object.getPrototypeOf(this).constructor)(s);if(l.size){const e=(0,a.oY)(p)?.store;if(e)for(const[t,r]of l)e.set(t,r,0)}return p}};return s=(0,i.Cg)([(0,l.$)("esri.core.Clonable")],s),s},u=c(s.A);r.d(t,["OU",0,c,"Pw",0,u])},95488(e,t,r){r.d(t,{I:()=>s});var i=r(11406);class s extends i.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},48526(e,t,r){r.d(t,{A:()=>y});var i,s=r(32198),n=r(4576),o=r(4718),a=r(91429),l=r(5443),p=r(91075),c=r(86738),u=r(16930),h=r(90634),f=r(47610),d=r(56993),m=r(43937);let y=i=class extends p.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:i,spatialReference:s}=e;switch(t??=[],t?.at(0)?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=u.A.WGS84,{...e,hasM:r,hasZ:i,points:t,spatialReference:s}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,h.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:s}=this;return new i({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:s})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,r=e.spatialReference;return null!=t==(null!=r)&&!(null!=t&&null!=r&&!t.equals(r))&&(0,n.aI)(this.points,e.points,f.v6)}addPoint(e){return(0,d.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(r.z=t[2],i=3),this.hasM&&(r.m=t[i]),new c.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new c.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,d.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,s.Cg)([(0,m.K)("points")],y.prototype,"writePoints",null),y=i=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,r){r.d(t,{A:()=>d});var i,s=r(32198),n=r(4718),o=r(91429),a=r(5443),l=r(91075),p=r(86738),c=r(16930),u=r(90634),h=r(56993),f=r(43937);let d=i=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:i,spatialReference:s}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=c.A.WGS84,{...e,hasM:r,hasZ:i,paths:t,spatialReference:s}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,n.o8)(e)}get extent(){const e=(0,u.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,n.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const i=[];for(let t=0,r=e.length;t<r;t++)i[t]=e[t].toArray();t[r]=i}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new i;return e.spatialReference=this.spatialReference,e.paths=(0,n.o8)(this.paths),e.curvePaths=(0,n.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],i=this.hasZ,s=this.hasM;return i&&!s?new p.A(r[0],r[1],r[2],void 0,this.spatialReference):s&&!i?new p.A(r[0],r[1],void 0,r[2],this.spatialReference):i&&s?new p.A(r[0],r[1],r[2],r[3],this.spatialReference):new p.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,h.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,i=t.map(e=>new p.A(e,r));return this.notifyChange("paths"),i}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new p.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,h.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const i=this.paths[e];if(r&&(t<0||t>i.length))return!1;if(!r&&(t<0||t>=i.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,s.Cg)([(0,f.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,s.Cg)([(0,f.K)("paths")],d.prototype,"writePaths",null),d=i=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,r){function i(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function s(e){return void 0!==e.points}function n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function p(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":i(e)?"esriGeometryEnvelope":s(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function u(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>p,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>s,W0:()=>u,ZC:()=>i,fT:()=>n,uW:()=>l})},10333(e,t,r){r.d(t,{A:()=>o});var i=r(32198),s=r(25482),n=r(91429);let o=class extends s.o{get affectsPixelSize(){return!1}forwardTransform(e){return e}inverseTransform(e){return e}};(0,i.Cg)([(0,n.MZ)()],o.prototype,"affectsPixelSize",null),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],o.prototype,"spatialReference",void 0),o=(0,i.Cg)([(0,n.$K)("esri.layers.raster.transforms.BaseRasterTransform")],o)},75414(e,t,r){r.d(t,{A:()=>l});var i,s=r(32198),n=r(91429),o=r(10333),a=r(93223);let l=i=class extends o.A{constructor(){super(...arguments),this.type="gcs-shift",this.tolerance=1e-8}forwardTransform(e){return"point"===(e=e.clone()).type?(e.x>180+this.tolerance&&(e.x-=360),e):(e.xmin>=180-this.tolerance?(e.xmax-=360,e.xmin-=360):e.xmax>180+this.tolerance&&(e.xmin=-180,e.xmax=180),e)}inverseTransform(e){return"point"===(e=e.clone()).type?(e.x<-this.tolerance&&(e.x+=360),e):(e.xmin<-this.tolerance&&(e.xmin+=360,e.xmax+=360),e)}clone(){return new i({tolerance:this.tolerance})}};(0,s.Cg)([(0,a.e)({GCSShiftXform:"gcs-shift"})],l.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)()],l.prototype,"tolerance",void 0),l=i=(0,s.Cg)([(0,n.$K)("esri.layers.raster.transforms.GCSShiftTransform")],l)},43163(e,t,r){r.d(t,{A:()=>d});var i,s=r(32198),n=r(91429),o=r(5443),a=r(86738),l=r(10333),p=r(36005),c=r(43937),u=r(93223);function h(e,t,r){const{x:i,y:s}=t;if(r<2)return{x:e[0]+i*e[2]+s*e[4],y:e[1]+i*e[3]+s*e[5]};if(2===r){const t=i*i,r=s*s,n=i*s;return{x:e[0]+i*e[2]+s*e[4]+t*e[6]+n*e[8]+r*e[10],y:e[1]+i*e[3]+s*e[5]+t*e[7]+n*e[9]+r*e[11]}}const n=i*i,o=s*s,a=i*s,l=n*i,p=n*s,c=i*o,u=s*o;return{x:e[0]+i*e[2]+s*e[4]+n*e[6]+a*e[8]+o*e[10]+l*e[12]+p*e[14]+c*e[16]+u*e[18],y:e[1]+i*e[3]+s*e[5]+n*e[7]+a*e[9]+o*e[11]+l*e[13]+p*e[15]+c*e[17]+u*e[19]}}function f(e,t,r){const{xmin:i,ymin:s,xmax:n,ymax:a,spatialReference:l}=t;let p=[];if(r<2)p.push({x:i,y:a}),p.push({x:n,y:a}),p.push({x:i,y:s}),p.push({x:n,y:s});else{let e=10;for(let t=0;t<e;t++)p.push({x:i,y:s+(a-s)*t/(e-1)}),p.push({x:n,y:s+(a-s)*t/(e-1)});e=8;for(let t=1;t<=e;t++)p.push({x:i+(n-i)*t/e,y:s}),p.push({x:i+(n-i)*t/e,y:a})}p=p.map(t=>h(e,t,r));const c=p.map(e=>e.x),u=p.map(e=>e.y);return new o.A({xmin:Math.min.apply(null,c),xmax:Math.max.apply(null,c),ymin:Math.min.apply(null,u),ymax:Math.max.apply(null,u),spatialReference:l})}let d=i=class extends l.A{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){const{coeffX:r,coeffY:i}=t;if(!r?.length||!i?.length||r.length!==i.length)return null;const s=[];for(let e=0;e<r.length;e++)s.push(r[e]),s.push(i[e]);return s}writeForwardCoefficients(e,t,r){const i=[],s=[];for(let t=0;t<e?.length;t++)t%2==0?i.push(e[t]):s.push(e[t]);t.coeffX=i,t.coeffY=s}get inverseCoefficients(){let e=this._get("inverseCoefficients");const t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){const[t,r,i,s,n,o]=e,a=i*o-n*s,l=n*s-i*o;return[(n*r-t*o)/a,(i*r-t*s)/l,o/a,s/l,-n/a,-i/l]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){const{inverseCoeffX:r,inverseCoeffY:i}=t;if(!r?.length||!i?.length||r.length!==i.length)return null;const s=[];for(let e=0;e<r.length;e++)s.push(r[e]),s.push(i[e]);return s}writeInverseCoefficients(e,t,r){const i=[],s=[];for(let t=0;t<e?.length;t++)t%2==0?i.push(e[t]):s.push(e[t]);t.inverseCoeffX=i,t.inverseCoeffY=s}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){const t=h(this.forwardCoefficients,e,this.polynomialOrder);return new a.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){const t=h(this.inverseCoefficients,e,this.polynomialOrder);return new a.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.inverseCoefficients,e,this.polynomialOrder)}clone(){return new i({polynomialOrder:this.polynomialOrder,forwardCoefficients:this.forwardCoefficients?[...this.forwardCoefficients]:null,inverseCoefficients:this.inverseCoefficients?[...this.inverseCoefficients]:null})}};(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"polynomialOrder",void 0),(0,s.Cg)([(0,n.MZ)()],d.prototype,"forwardCoefficients",void 0),(0,s.Cg)([(0,p.w)("forwardCoefficients",["coeffX","coeffY"])],d.prototype,"readForwardCoefficients",null),(0,s.Cg)([(0,c.K)("forwardCoefficients")],d.prototype,"writeForwardCoefficients",null),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"inverseCoefficients",null),(0,s.Cg)([(0,p.w)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],d.prototype,"readInverseCoefficients",null),(0,s.Cg)([(0,c.K)("inverseCoefficients")],d.prototype,"writeInverseCoefficients",null),(0,s.Cg)([(0,n.MZ)()],d.prototype,"affectsPixelSize",null),(0,s.Cg)([(0,u.e)({PolynomialXform:"polynomial"})],d.prototype,"type",void 0),d=i=(0,s.Cg)([(0,n.$K)("esri.layers.raster.transforms.PolynomialTransform")],d)},39357(e,t,r){r.d(t,{A:()=>a});var i,s=r(32198),n=r(25482),o=r(91429);let a=i=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new i({name:this.name,code:this.code})}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,s.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=i=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,r){r.d(t,{A:()=>c});var i,s=r(32198),n=r(4718),o=r(91429),a=r(39357),l=r(76357),p=r(93223);let c=class extends l.A{static{i=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new i({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,s.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,s.Cg)([(0,p.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=i=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>p});var i=r(32198),s=r(66552),n=r(25482),o=r(91429),a=r(93223);const l=new s.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let p=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),p=(0,i.Cg)([(0,o.$K)("esri.layers.support.Domain")],p)},20437(e,t,r){r.d(t,{A:()=>d});var i,s=r(32198),n=r(66552),o=r(25482),a=r(91429),l=r(78888),p=r(8631),c=r(98453),u=r(36005),h=r(93223);const f=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",marginOfError:"margin-of-error",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let d=class extends o.o{static{i=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?f.fromJSON(r.fieldValueType):null}clone(){return new i({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,s.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,s.Cg)([(0,a.MZ)()],d.prototype,"description",void 0),(0,s.Cg)([(0,u.w)("description")],d.prototype,"readDescription",null),(0,s.Cg)([(0,a.MZ)({types:p.g,json:{read:{reader:p.r},write:!0}})],d.prototype,"domain",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,s.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,s.Cg)([(0,h.e)(c.m)],d.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)()],d.prototype,"valueType",void 0),(0,s.Cg)([(0,u.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=i=(0,s.Cg)([(0,a.$K)("esri.layers.support.Field")],d)},41628(e,t,r){r.d(t,{A:()=>l});var i,s=r(32198),n=r(91429),o=r(76357),a=r(93223);let l=class extends o.A{static{i=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new i({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,s.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,s.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=i=(0,s.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],l)},63966(e,t,r){r.r(t),r.d(t,{default:()=>P});var i=r(5443),s=r(86738),n=r(159),o=r(96271),a=r(94778),l=r(47520),p=r(14140);var c,u=r(99235),h=r(37373),f=r(51927),d=r(34251),m=r(75414),y=r(32198),g=r(91429),v=r(10333),w=r(93223);let x=c=class extends v.A{constructor(){super(...arguments),this.type="identity"}clone(){return new c}};(0,y.Cg)([(0,w.e)({IdentityXform:"identity"})],x.prototype,"type",void 0),x=c=(0,y.Cg)([(0,g.$K)("esri.layers.raster.transforms.IdentityTransform")],x);var C=r(43163);const A={GCSShiftXform:m.A,IdentityXform:x,PolynomialXform:C.A};var S=r(85676),b=r(491);function O(e){if(!e)return{result:null,transferList:[]};const{pixelBlock:t,transferList:r}=e.getTransferableObject();return{result:t,transferList:r}}class P{convertVectorFieldData(e){const t=p.A.fromJSON(e.pixelBlock),r=O((0,d.FI)(t,e.type));return Promise.resolve(r)}convertPixelBlockToFeatures(e){const t=(0,l.L)({pixelBlock:p.A.fromJSON(e.pixelBlock),extent:i.A.fromJSON(e.extent),fieldNames:e.fieldNames,skipFactor:e.skipFactor,skipSpatialReference:!0,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize});return Promise.resolve(t)}sampleVectorFieldData(e){const t=p.A.fromJSON(e.pixelBlock),r=O((0,d.Wu)(t,e.srcDataType,e.tileSize,e.offset,e.maximumVoidPercentage));return Promise.resolve(r)}transformPixels(e){const t=function(e,t,r){const{width:i,height:s,pixels:n}=e;let o=[];o=e.bandMasks?e.bandMasks.map(e=>new Uint8Array(e)):n.map(()=>e.mask?new Uint8Array(e.mask):new Uint8Array(i*s).fill(255));const c="f32",u=n.map((e,i)=>{switch(t){case"log":return function(e,t,r){const i=e.length,s=p.A.createEmptyBand(r,i);for(let r=0;r<i;r++)if(t[r]){const i=e[r];i<=0?t[r]=0:s[r]=Math.log(i)}return s}(e,o[i],c);case"sqrt":return function(e,t,r){const i=e.length,s=p.A.createEmptyBand(r,i);for(let r=0;r<i;r++)if(t[r]){const i=e[r];i<0?t[r]=0:s[r]=Math.sqrt(i)}return s}(e,o[i],c);case"inverse":return function(e,t,r){const i=e.length,s=p.A.createEmptyBand(r,i),[n,o]=(0,a.hP)(r);for(let r=0;r<i;r++)if(!t||t[r]){const t=1/e[r];s[r]=s[r]=Math.max(n,Math.min(t,o))}return s}(e,o[i],c);case"box-cox":return function(e,t,r,i){const s=e.length,n=p.A.createEmptyBand(r,s),[o,l]=(0,a.hP)(r),c=i?.lambda??0,u=i?.shift??0,h=0===c;for(let r=0;r<s;r++)if(t[r]){const i=e[r];if(i<=0)t[r]=0;else if(h)n[r]=Math.log(i+u);else{const e=((i+u)**c-1)/c;n[r]=Math.max(o,Math.min(e,l))}}return n}(e,o[i],c,r);default:return e}}),h="inverse"===t,f=h?e.mask:1===o.length?o[0]:(0,l.YD)(o),d=h?e.bandMasks:1===o.length?void 0:o;return new p.A({width:i,height:s,pixelType:c,bandMasks:d,mask:f,pixels:u})}(p.A.fromJSON(e.pixelBlock),e.transformType,e.transformParameters);return Promise.resolve(O(t))}computeStatisticsHistograms(e){const t=p.A.fromJSON(e.pixelBlock),r=(0,f.eH)(t,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(r)}compositeBands(e){const t=e.pixelBlocks.map(e=>e&&p.A.fromJSON(e)),r=O((0,l.Wy)(t));return Promise.resolve(r)}async decode(e){return O(await(0,o.D)(e.data,e.options))}symbolize(e){const t=e.pixelBlock?p.A.fromJSON(e.pixelBlock):null,r=e.extent?i.A.fromJSON(e.extent):null,s=O(this.symbolizer.symbolize({...e,pixelBlock:t,extent:r}));return Promise.resolve(s)}highlightPixels(e){const t=p.A.fromJSON(e.pixelBlock),r=p.A.fromJSON(e.renderedPixelBlock);return(0,l._F)({pixelBlock:t,renderedPixelBlock:r,highlightOptions:e.highlightOptions}),Promise.resolve(r.toJSON())}async updateSymbolizer(e){this.symbolizer=S.A.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,u.vt)(e.rasterFunctionJSON)}async process(e){return O(this.rasterFunction.process({extent:i.A.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>null!=e?p.A.fromJSON(e):null),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?s.A.fromJSON(e):null),primaryRasterIds:e.primaryRasterIds},e.parameters))}stretch(e){const t=O(this.symbolizer.simpleStretch(p.A.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(t)}estimateStatisticsHistograms(e){const t=(0,f.f4)(p.A.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){const t=(0,l.lD)(p.A.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),r=[];let i;return t&&(i=new Map,t.forEach((e,t)=>{if(e){const{pixelBlock:s,transferList:n}=e.getTransferableObject();i.set(t,s),n.forEach(e=>{r.includes(e)||r.push(e)})}})),Promise.resolve({result:i,transferList:r})}clipTile(e){const t=p.A.fromJSON(e.pixelBlock),r=O((0,l.J$)({...e,pixelBlock:t}));return Promise.resolve(r)}mosaicPixelData(e){const t=e.pixelData.map(e=>({extent:i.A.fromJSON(e.extent),pixelBlock:e.pixelBlock?p.A.fromJSON(e.pixelBlock):null})),r=i.A.fromJSON(e.destExtent),s=(0,l.LY)(t,r),n=O(s?.pixelBlock);return Promise.resolve(n)}async mosaicAndTransform(e){const t=e.srcPixelBlocks.map(e=>e?new p.A(e):null),r=(0,l.z7)(t,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let i,s=r;e.coefs&&(s=(0,l.$i)(r,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(i=(0,l.QF)(e.destDimension,e.gcsGrid),s=(0,d.Y2)(s,e.isUV?"vector-uv":"vector-magdir",i));const{result:n,transferList:o}=O(s);return{result:{pixelBlock:n,localNorthDirections:i},transferList:o}}async createFlowMesh(e,t){const r={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:i,indexData:s,pathData:n}=await(0,b.CW)(e.meshType,e.simulationSettings,r,e.startInfo,t.signal);return{result:{vertexBuffer:i.buffer,indexBuffer:s.buffer,pathBuffer:n.buffer},transferList:[i.buffer,s.buffer]}}async getProjectionOffsetGrid(e){const t=i.A.fromJSON(e.projectedExtent),r=i.A.fromJSON(e.srcBufferExtent);let s=null;e.datumTransformationSteps?.length&&(s=new n.A({steps:e.datumTransformationSteps})),await(0,h.Hh)();const o=e.rasterTransform?function(e){const t=e?.type;if(!t)return null;const r=A[e?.type];if(r){const t=new r;return t.read(e),t}return null}(e.rasterTransform):null;return(0,h.l0)({...e,projectedExtent:t,srcBufferExtent:r,datumTransformation:s,rasterTransform:o})}}},8631(e,t,r){r.d(t,{r:()=>h,g:()=>u});var i,s=r(53177),n=r(76357),o=r(32198),a=r(91429),l=r(93223);let p=class extends n.A{static{i=this}constructor(e){super(e),this.type="inherited"}clone(){return new i}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],p.prototype,"type",void 0),p=i=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],p);var c=r(41628);const u={key:"type",base:n.A,typeMap:{range:c.A,"coded-value":s.A,inherited:p}};function h(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return s.A.fromJSON(e);case"inherited":return p.fromJSON(e)}return null}},98453(e,t,r){const i=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,i])},2485(e,t,r){r.d(t,{A:()=>u});var i,s=r(32198),n=r(68197),o=r(4718),a=r(91429),l=r(78888),p=r(72606),c=r(93223);let u=i=class extends p.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new i({fromColor:(0,o.o8)(this.fromColor),toColor:(0,o.o8)(this.toColor),algorithm:this.algorithm})}};(0,s.Cg)([(0,c.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],u.prototype,"algorithm",void 0),(0,s.Cg)([(0,a.MZ)({type:n.A,json:{type:[l.jz],write:{isRequired:!0}}})],u.prototype,"fromColor",void 0),(0,s.Cg)([(0,a.MZ)({type:n.A,json:{type:[l.jz],write:{isRequired:!0}}})],u.prototype,"toColor",void 0),(0,s.Cg)([(0,a.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=i=(0,s.Cg)([(0,a.$K)("esri.rest.support.AlgorithmicColorRamp")],u)},72606(e,t,r){r.d(t,{A:()=>o});var i=r(32198),s=r(25482),n=r(91429);let o=class extends s.o{constructor(e){super(e),this.type=null}};(0,i.Cg)([(0,n.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,i.Cg)([(0,n.$K)("esri.rest.support.ColorRamp")],o)},1626(e,t,r){r.d(t,{A:()=>u});var i,s=r(32198),n=r(4718),o=r(91429),a=r(2485),l=r(72606),p=r(43937),c=r(36005);let u=i=class extends l.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,r,i){const s=e?.map(e=>e.toJSON(i)),{weights:n}=this;if(s&&n?.length&&s.length===n?.length){const e=100/n.reduce((e,t)=>e+t);let t=0;s.forEach((r,i)=>{r.start=t,t+=n[i]*e,r.stop=t})}t.colorRamps=s}readWeights(e,t){const r=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!r?.some(e=>e<0))return r}clone(){return new i({colorRamps:(0,n.o8)(this.colorRamps)})}};(0,s.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],u.prototype,"colorRamps",void 0),(0,s.Cg)([(0,p.K)("colorRamps")],u.prototype,"writeColorRamps",null),(0,s.Cg)([(0,o.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),(0,s.Cg)([(0,o.MZ)({type:[Number]})],u.prototype,"weights",void 0),(0,s.Cg)([(0,c.w)("weights",["colorRamps"])],u.prototype,"readWeights",null),u=i=(0,s.Cg)([(0,o.$K)("esri.rest.support.MultipartColorRamp")],u)},95349(e,t,r){r.d(t,{r:()=>a});var i=r(2485),s=r(72606),n=r(1626);const o={key:"type",base:s.A,typeMap:{algorithmic:i.A,multipart:n.A}};function a(e){return e?.type?"algorithmic"===e.type?i.A.fromJSON(e):"multipart"===e.type?n.A.fromJSON(e):null:null}r.d(t,["g",0,o])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9619],{15142(t,e,n){n.d(e,{A:()=>u});var r=n(4576),i=n(21818);const s=(t,e,n,r)=>{let i=e,s=e;const a=n>>>1,h=t[i-1];for(;s<=a;){s=i<<1,s<n&&r(t[s-1],t[s])<0&&++s;const e=t[s-1];if(r(e,h)<=0)break;t[i-1]=e,i=s}t[i-1]=h},a=(t,e)=>t<e?-1:t>e?1:0;function h(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r);const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r)}}function*o(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r),yield;const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r),yield}}class u{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new r.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let n=0;n<this._length;n++){const r=this.data[n];t(r)&&e.push(r)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const n=this.data.indexOf(t,e);return-1!==n&&n<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let n=0;n<e;n++)this.data[this._length++]=t[n]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let n=0;n<e;n++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,c(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,n){this.length=(0,r.mW)(this.data,t,this.length,e,this._hint,n),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const n=this.data[t];this.data[t]=this.data[e],this.data[e]=n}sort(t){h(this.data,0,this.length,t)}iterableSort(t){return o(this.data,0,this.length,t)}some(t,e){for(let n=0;n<this.length;++n)if(t.call(e,this.data[n],n,this.data))return!0;return!1}find(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)if(t.call(e,n[i]))return n[i]}filterInPlace(t,e){let n=0;for(let r=0;r<this._length;++r){const i=this.data[r];t.call(e,i,r,this.data)&&(this.data[r]=this.data[n],this.data[n]=i,n++)}if(this._deallocator)for(let t=n;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=n,this._shrink(),this}forAll(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)t.call(e,n[i],i,n)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const n=new Array(this.length);for(let r=0;r<this.length;++r)n[r]=t.call(e,this.data[r],r,this.data);return n}reduce(t,e){let n=e;for(let e=0;e<this.length;++e)n=t(n,this.data[e],e,this.data);return n}has(t){const e=this.length,n=this.data;for(let r=0;r<e;++r)if(n[r]===t)return!0;return!1}*[Symbol.iterator](){const{data:t,length:e}=this;for(let n=0;n<e;++n)yield t[n]}}function c(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},91829(t,e,n){function r(){return[0,0,0,0]}function i(t,e,n,r){return[t,e,n,r]}function s(){return i(1,1,1,1)}function a(){return i(1,0,0,0)}function h(){return i(0,1,0,0)}function o(){return i(0,0,1,0)}function u(){return i(0,0,0,1)}n.d(e,{_Y:()=>u,fA:()=>i,vt:()=>r});const c=[0,0,0,0],l=s(),f=a(),d=h(),_=o(),p=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:p,UNIT_X:f,UNIT_Y:d,UNIT_Z:_,ZEROS:c,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,e,n,r){return[t,e,n,r]},fromArray:function(t,e=[0,0,0,0]){const n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,ones:s,unitW:u,unitX:a,unitY:h,unitZ:o,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Un",0,l,"uY",0,c,"v7",0,p])},78955(t,e,n){n.d(e,{Bw:()=>E,C:()=>i,Cc:()=>T,LI:()=>f,Om:()=>S,S8:()=>R,T9:()=>l,WQ:()=>a,Z0:()=>M,aI:()=>m,hG:()=>p,hZ:()=>s,hs:()=>d,jk:()=>c,m3:()=>g,t2:()=>N});var r=n(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function a(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function o(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function u(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function c(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t}function l(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t}function f(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function _(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+s*s)}function p(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return n*n+r*r+i*i+s*s}function E(t){const e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)}function g(t){const e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function R(t,e){const n=e[0],r=e[1],i=e[2],s=e[3];let a=n*n+r*r+i*i+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=n*a,t[1]=r*a,t[2]=i*a,t[3]=s*a),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function T(t,e,n,r){const i=e[0],s=e[1],a=e[2],h=e[3];return t[0]=i+r*(n[0]-i),t[1]=s+r*(n[1]-s),t[2]=a+r*(n[2]-a),t[3]=h+r*(n[3]-h),t}function M(t,e,n){const r=e[0],i=e[1],s=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*s+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*s+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*s+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*s+n[15]*a,t}function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function m(t,e){const n=t[0],i=t[1],s=t[2],a=t[3],h=e[0],o=e[1],u=e[2],c=e[3],l=(0,r.FD)();return Math.abs(n-h)<=l*Math.max(1,Math.abs(n),Math.abs(h))&&Math.abs(i-o)<=l*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(s-u)<=l*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(a-c)<=l*Math.max(1,Math.abs(a),Math.abs(c))}const I=h,A=o,G=u,b=_,F=p,y=E,O=g;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:b,distance:_,div:G,divide:u,dot:S,equals:m,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:y,length:E,lerp:T,max:l,min:c,mul:A,multiply:o,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:R,random:function(t,e=1){const n=r.Ov;let i,s,a,h,o,u;do{i=2*n()-1,s=2*n()-1,o=i*i+s*s}while(o>=1);do{a=2*n()-1,h=2*n()-1,u=a*a+h*h}while(u>=1);const c=Math.sqrt((1-o)/u);return t[0]=e*i,t[1]=e*s,t[2]=e*a*c,t[3]=e*h*c,t},round:f,scale:d,scaleAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},set:s,sqrDist:F,sqrLen:O,squaredDistance:p,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:I,subtract:h,transformMat4:M,transformQuat:function(t,e,n){const r=e[0],i=e[1],s=e[2],a=n[0],h=n[1],o=n[2],u=n[3],c=u*r+h*s-o*i,l=u*i+o*r-a*s,f=u*s+a*i-h*r,d=-a*r-h*i-o*s;return t[0]=c*u+d*-a+l*-o-f*-h,t[1]=l*u+d*-h+f*-a-c*-o,t[2]=f*u+d*-o+c*-h-l*-a,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},34727(t,e,n){n.d(e,{$8:()=>I,Cc:()=>h,Hx:()=>E,Io:()=>N,KJ:()=>c,OS:()=>b,Sp:()=>d,XM:()=>l,YN:()=>f,ZH:()=>p,b6:()=>m,cU:()=>i,gg:()=>_,hs:()=>o,kU:()=>u,mP:()=>a,or:()=>G,pF:()=>y,qE:()=>s});const r=new Float32Array(1);function i(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,n){return Math.min(Math.max(t,e),n)}function a(t,e){return 0===e?0:Math.ceil(t/e)*e}function h(t,e,n){return t+(e-t)*n}function o(t,e,n,r,i){return h(r,i,(t-e)/(n-e))}function u(t){return t*Math.PI/180}function c(t){return 180*t/Math.PI}function l(t){return Math.acos(s(t,-1,1))}function f(t){return Math.asin(s(t,-1,1))}function d(t,e,n=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=n}function _(t,e,n=1e-6){return!d(t,e,n)&&t>e}function p(t,e,n=1e-6){return!d(t,e,n)&&t<e}function E(t,e,n=1e-6){return d(t,e,n)||t>e}const g=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function R(t){return g.setFloat64(0,t),g.getBigInt64(0)}const S=1000000n,T=M(1);function M(t){const e=R(t=Math.abs(t)),n=function(t){return g.setBigInt64(0,t),g.getFloat64(0)}(e<=S?S:e-S);return Math.abs(t-n)}function N(t,e,n=T){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=n&&M(Math.min(Math.abs(t),Math.abs(e)))<n)return Math.abs(t-e)<=n;const r=R(t),i=R(e);return r<0==i<0&&!((r<i?i-r:r-i)>S)}function m(t,e,n=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;const r=Math.abs(t-e),i=Math.abs(t),s=Math.abs(e);if(0===t||0===e||i<1e-12&&s<1e-12){if(r>.01*n)return!1}else if(r/(i+s)>n)return!1;return!0}function I(t){return A(Math.max(-F,Math.min(t,F)))}function A(t){return r[0]=t,r[0]}function G(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],r=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(d(e,1)&&d(n,1)&&d(r,1))}function b(t,e){return(t%e+e)%e}const F=A(34028234663852886e22);function y(t,e,n){if(void 0===n||0===+n)return Math[t](e);if(e=+e,n=+n,isNaN(e)||"number"!=typeof n||n%1!=0)return NaN;let r=e.toString().split("e");return r=(e=Math[t](+(r[0]+"e"+(r[1]?+r[1]-n:-n)))).toString().split("e"),+(r[0]+"e"+(r[1]?+r[1]+n:n))}n.d(e,["pq",0,F])},90239(t,e,n){function r(t){switch(t){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}n.d(e,{GJ:()=>r})},1843(t,e,n){n.d(e,{BP:()=>c,l5:()=>l});var r=n(13030),i=n(90239),s=n(4431),a=n(620),h=n(85079);class o{constructor(t,e,n=0){this.layout=t,this.byteOffset=n,this.buffer="number"==typeof e?new ArrayBuffer(e*t.stride):e;for(const e of t.fields.keys()){const r=t.fields.get(e);this[e]=new r.constructor(this.buffer,n+r.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.byteLength/this.stride}get byteLength(){return this.buffer.byteLength-this.byteOffset}getField(t,e){const n=this[t];return n&&n.elementCount===e.ElementCount&&n.elementType===e.ElementType?n:null}slice(t,e){return new o(this.layout,this.buffer.slice(t*this.stride,e*this.stride))}copyFrom(t,e=0,n=0,r=t.count){const i=this.stride;if(i%4==0){const s=new Uint32Array(t.buffer,e*i,r*i/4);new Uint32Array(this.buffer,n*i,r*i/4).set(s)}else{const s=new Uint8Array(t.buffer,e*i,r*i);new Uint8Array(this.buffer,n*i,r*i).set(s)}return this}get usedMemory(){return this.byteLength}dispose(){}}class u{constructor(t){this._stride=0,this._fields=new Map,t&&(this._stride=t.stride,t.fields.forEach(t=>this._fields.set(t[0],{...t[1],constructor:_(t[1].constructor)})))}freeze(){return this}get locations(){return(0,h.Xk)((0,s.U)(this))}vec2f16(t,e){return this._appendField(t,r.ZD,e),this}vec2f(t,e){return this._appendField(t,r.gH,e),this}vec2f64(t,e){return this._appendField(t,r.si,e),this}vec3f16(t,e){return this._appendField(t,r.EC,e),this}vec3f(t,e){return this._appendField(t,r.xs,e),this}vec3f64(t,e){return this._appendField(t,r.Xm,e),this}vec4f16(t,e){return this._appendField(t,r.jz,e),this}vec4f(t,e){return this._appendField(t,r.Eq,e),this}vec4f64(t,e){return this._appendField(t,r.Aj,e),this}mat3f(t,e){return this._appendField(t,r.jZ,e),this}mat3f64(t,e){return this._appendField(t,r.j0,e),this}mat4f(t,e){return this._appendField(t,r.Sx,e),this}mat4f64(t,e){return this._appendField(t,r.E$,e),this}vec4u8(t,e){return this._appendField(t,r.XP,e),this}f16(t,e){return this._appendField(t,r.XW,e),this}f32(t,e){return this._appendField(t,r.Y$,e),this}f64(t,e){return this._appendField(t,r.qB,e),this}u8(t,e){return this._appendField(t,r.SL,e),this}u16(t,e){return this._appendField(t,r.h,e),this}i8(t,e){return this._appendField(t,r.bf,e),this}vec2i8(t,e){return this._appendField(t,r.D6,e),this}vec2i16(t,e){return this._appendField(t,r.mJ,e),this}vec2u8(t,e){return this._appendField(t,r.LC,e),this}vec2u16(t,e){return this._appendField(t,r.Yi,e),this}vec4u16(t,e){return this._appendField(t,r.Uz,e),this}vec4i16(t,e){return this._appendField(t,r.E7,e),this}u32(t,e){return this._appendField(t,r.P,e),this}_appendField(t,e,n){this._fields.has(t)&&(0,a.vA)(!1,`${t} already added to vertex buffer layout`);const r=e.ElementCount*(0,i.GJ)(e.ElementType),s=this._stride;this._fields.set(t,{constructor:e,size:r,offset:s,optional:n}),this._alignFields()}_alignFields(){let t=0,e=1;this._fields.forEach(n=>{const r=(0,i.GJ)(n.constructor.ElementType);t=Math.floor((t+r-1)/r)*r,n.offset=t,t+=n.size,e=Math.max(e,r)}),t=Math.floor((t+e-1)/e)*e,this._stride=t}createBuffer(t){return new o(this,t)}createView(t,e){return new o(this,t,e)}clone(){const t=new u;return t._stride=this._stride,t._fields=new Map,this._fields.forEach((e,n)=>t._fields.set(n,e)),t}get stride(){return this._stride}get fields(){return this._fields}}function c(){return new u}class l{constructor(t){this.fields=new Array,t.fields.forEach((t,e)=>{const n={...t,constructor:d(t.constructor)};this.fields.push([e,n])}),this.stride=t.stride}}const f=[r.Y$,r.gH,r.xs,r.Eq,r.jZ,r.Sx,r.qB,r.si,r.Xm,r.Aj,r.j0,r.E$,r.SL,r.LC,r.eI,r.XP,r.h,r.Yi,r.nS,r.Uz,r.P,r.An,r.H$,r.ml,r.bf,r.D6,r.m8,r.TX,r.Qt,r.mJ,r.Vp,r.E7,r.My,r.UL,r.zD,r.Y4];function d(t){return`${t.ElementType}_${t.ElementCount}`}function _(t){return p.get(t)}const p=new Map;f.forEach(t=>p.set(d(t),t))},4431(t,e,n){n.d(e,{U:()=>s});var r=n(63907),i=n(74038);function s(t,e=0){const n=t.stride;return t.fields.entries().map(([t,s])=>{const a=s.constructor.ElementCount,h=function(t){switch(t){case"u8":return r.pe.UNSIGNED_BYTE;case"u16":return r.pe.UNSIGNED_SHORT;case"u32":return r.pe.UNSIGNED_INT;case"i8":return r.pe.BYTE;case"i16":return r.pe.SHORT;case"i32":return r.pe.INT;case"f16":return r.pe.HALF_FLOAT;case"f32":return r.pe.FLOAT;default:throw new Error("BufferType not supported in WebGL")}}(s.constructor.ElementType),o=s.offset,u=s.optional?.glNormalized??!1,c=s.optional?.integer??!1;return new i._(t,a,h,o,n,u,e,c)}).toArray()}},620(t,e,n){n.d(e,{O_:()=>s,vA:()=>i}),n(48163),n(78955),(0,n(91829).vt)();class r{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new r(`${e} at ${t}`)}}function s(t,e,n,r){let i,s=(n[0]-t[0])/e[0],a=(r[0]-t[0])/e[0];s>a&&(i=s,s=a,a=i);let h=(n[1]-t[1])/e[1],o=(r[1]-t[1])/e[1];if(h>o&&(i=h,h=o,o=i),s>o||h>a)return!1;h>s&&(s=h),o<a&&(a=o);let u=(n[2]-t[2])/e[2],c=(r[2]-t[2])/e[2];return u>c&&(i=u,u=c,c=i),!(s>c||u>a||(c<a&&(a=c),a<0))}},71936(t,e,n){n.r(e),n.d(e,{default:()=>o});var r=n(1843);function i(t,e){return e.push(t.buffer),{buffer:t.buffer,layout:new r.l5(t.layout)}}var s=n(99058),a=n(93406),h=n(44801);class o{async extract(t){const e=u(t),n=(0,h.o6)(e),r=[e.data.buffer];return{result:c(n,r),transferList:r}}async extractComponentsEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,f).regular.instancesData,r),transferList:r}}async extractEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,l).regular.instancesData,r),transferList:r}}}function u(t){return{data:s.I$.createView(t.dataBuffer),indices:"Uint32Array"===t.indicesType?new Uint32Array(t.indices):"Uint16Array"===t.indicesType?new Uint16Array(t.indices):"Uint8Array"===t.indicesType?new Uint8Array(t.indices):t.indices,indicesLength:t.indicesLength,writerSettings:t.writerSettings,skipDeduplicate:t.skipDeduplicate}}function c(t,e){return e.push(t.regular.lodInfo.lengths.buffer),e.push(t.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:i(t.regular.instancesData,e),lodInfo:{lengths:t.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:i(t.silhouette.instancesData,e),lodInfo:{lengths:t.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:t.averageEdgeLength}}const l=new class{allocate(t){return h.Jb.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1)}},f=new class{allocate(t){return h.HY.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1),t.componentIndex.set(e,n.componentIndex)}}},85079(t,e,n){n.d(e,{Sk:()=>a,Xk:()=>i,_u:()=>s});var r=n(21818);function i(t){let e=0;return(0,r.z)(new Map(t.map(({name:t,count:n})=>{const r=[t,e];return 16===n?e+=4:9===n?e+=3:++e,r})))}function s(t){const e=new Map;let n=0;return t.forEach(t=>t.forEach(({name:t,count:r})=>{e.set(t,n),16===r?n+=4:9===r?n+=3:++n})),e}function a(t){return s(Array.from(t.values()).map(({layout:t})=>t))}},74038(t,e,n){n.d(e,{_:()=>r});class r{constructor(t,e,n,r,i,s=!1,a=0,h=!1){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=i,this.normalized=s,this.divisor=a,this.integer=h}}},63907(t,e,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(i),a={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};n.d(e,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,i,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,a,"pe",0,r,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9619],{15142(t,e,n){n.d(e,{A:()=>u});var r=n(4576),i=n(21818);const s=(t,e,n,r)=>{let i=e,s=e;const a=n>>>1,h=t[i-1];for(;s<=a;){s=i<<1,s<n&&r(t[s-1],t[s])<0&&++s;const e=t[s-1];if(r(e,h)<=0)break;t[i-1]=e,i=s}t[i-1]=h},a=(t,e)=>t<e?-1:t>e?1:0;function h(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r);const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r)}}function*o(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r),yield;const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r),yield}}class u{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new r.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let n=0;n<this._length;n++){const r=this.data[n];t(r)&&e.push(r)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const n=this.data.indexOf(t,e);return-1!==n&&n<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let n=0;n<e;n++)this.data[this._length++]=t[n]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let n=0;n<e;n++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,c(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,n){this.length=(0,r.mW)(this.data,t,this.length,e,this._hint,n),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const n=this.data[t];this.data[t]=this.data[e],this.data[e]=n}sort(t){h(this.data,0,this.length,t)}iterableSort(t){return o(this.data,0,this.length,t)}some(t,e){for(let n=0;n<this.length;++n)if(t.call(e,this.data[n],n,this.data))return!0;return!1}find(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)if(t.call(e,n[i]))return n[i]}filterInPlace(t,e){let n=0;for(let r=0;r<this._length;++r){const i=this.data[r];t.call(e,i,r,this.data)&&(this.data[r]=this.data[n],this.data[n]=i,n++)}if(this._deallocator)for(let t=n;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=n,this._shrink(),this}forAll(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)t.call(e,n[i],i,n)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const n=new Array(this.length);for(let r=0;r<this.length;++r)n[r]=t.call(e,this.data[r],r,this.data);return n}reduce(t,e){let n=e;for(let e=0;e<this.length;++e)n=t(n,this.data[e],e,this.data);return n}has(t){const e=this.length,n=this.data;for(let r=0;r<e;++r)if(n[r]===t)return!0;return!1}*[Symbol.iterator](){const{data:t,length:e}=this;for(let n=0;n<e;++n)yield t[n]}}function c(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},91829(t,e,n){function r(){return[0,0,0,0]}function i(t,e,n,r){return[t,e,n,r]}function s(){return i(1,1,1,1)}function a(){return i(1,0,0,0)}function h(){return i(0,1,0,0)}function o(){return i(0,0,1,0)}function u(){return i(0,0,0,1)}n.d(e,{_Y:()=>u,fA:()=>i,vt:()=>r});const c=[0,0,0,0],l=s(),f=a(),d=h(),_=o(),p=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:p,UNIT_X:f,UNIT_Y:d,UNIT_Z:_,ZEROS:c,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,e,n,r){return[t,e,n,r]},fromArray:function(t,e=[0,0,0,0]){const n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,ones:s,unitW:u,unitX:a,unitY:h,unitZ:o,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Un",0,l,"uY",0,c,"v7",0,p])},78955(t,e,n){n.d(e,{Bw:()=>E,C:()=>i,Cc:()=>T,LI:()=>f,Om:()=>S,S8:()=>R,T9:()=>l,WQ:()=>a,Z0:()=>M,aI:()=>m,hG:()=>p,hZ:()=>s,hs:()=>d,jk:()=>c,m3:()=>g,t2:()=>N});var r=n(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function a(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function o(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function u(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function c(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t}function l(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t}function f(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function _(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+s*s)}function p(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return n*n+r*r+i*i+s*s}function E(t){const e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)}function g(t){const e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function R(t,e){const n=e[0],r=e[1],i=e[2],s=e[3];let a=n*n+r*r+i*i+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=n*a,t[1]=r*a,t[2]=i*a,t[3]=s*a),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function T(t,e,n,r){const i=e[0],s=e[1],a=e[2],h=e[3];return t[0]=i+r*(n[0]-i),t[1]=s+r*(n[1]-s),t[2]=a+r*(n[2]-a),t[3]=h+r*(n[3]-h),t}function M(t,e,n){const r=e[0],i=e[1],s=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*s+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*s+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*s+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*s+n[15]*a,t}function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function m(t,e){const n=t[0],i=t[1],s=t[2],a=t[3],h=e[0],o=e[1],u=e[2],c=e[3],l=(0,r.FD)();return Math.abs(n-h)<=l*Math.max(1,Math.abs(n),Math.abs(h))&&Math.abs(i-o)<=l*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(s-u)<=l*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(a-c)<=l*Math.max(1,Math.abs(a),Math.abs(c))}const I=h,A=o,G=u,b=_,F=p,y=E,O=g;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:b,distance:_,div:G,divide:u,dot:S,equals:m,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:y,length:E,lerp:T,max:l,min:c,mul:A,multiply:o,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:R,random:function(t,e=1){const n=r.Ov;let i,s,a,h,o,u;do{i=2*n()-1,s=2*n()-1,o=i*i+s*s}while(o>=1);do{a=2*n()-1,h=2*n()-1,u=a*a+h*h}while(u>=1);const c=Math.sqrt((1-o)/u);return t[0]=e*i,t[1]=e*s,t[2]=e*a*c,t[3]=e*h*c,t},round:f,scale:d,scaleAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t},set:s,sqrDist:F,sqrLen:O,squaredDistance:p,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:I,subtract:h,transformMat4:M,transformQuat:function(t,e,n){const r=e[0],i=e[1],s=e[2],a=n[0],h=n[1],o=n[2],u=n[3],c=u*r+h*s-o*i,l=u*i+o*r-a*s,f=u*s+a*i-h*r,d=-a*r-h*i-o*s;return t[0]=c*u+d*-a+l*-o-f*-h,t[1]=l*u+d*-h+f*-a-c*-o,t[2]=f*u+d*-o+c*-h-l*-a,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},34727(t,e,n){n.d(e,{$8:()=>I,Cc:()=>h,Hx:()=>E,Io:()=>N,KJ:()=>c,OS:()=>b,Sp:()=>d,XM:()=>l,YN:()=>f,ZH:()=>p,b6:()=>m,cU:()=>i,gg:()=>_,hs:()=>o,kU:()=>u,mP:()=>a,or:()=>G,pF:()=>y,qE:()=>s});const r=new Float32Array(1);function i(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,n){return Math.min(Math.max(t,e),n)}function a(t,e){return 0===e?0:Math.ceil(t/e)*e}function h(t,e,n){return t+(e-t)*n}function o(t,e,n,r,i){return h(r,i,(t-e)/(n-e))}function u(t){return t*Math.PI/180}function c(t){return 180*t/Math.PI}function l(t){return Math.acos(s(t,-1,1))}function f(t){return Math.asin(s(t,-1,1))}function d(t,e,n=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=n}function _(t,e,n=1e-6){return!d(t,e,n)&&t>e}function p(t,e,n=1e-6){return!d(t,e,n)&&t<e}function E(t,e,n=1e-6){return d(t,e,n)||t>e}const g=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function R(t){return g.setFloat64(0,t),g.getBigInt64(0)}const S=1000000n,T=M(1);function M(t){const e=R(t=Math.abs(t)),n=function(t){return g.setBigInt64(0,t),g.getFloat64(0)}(e<=S?S:e-S);return Math.abs(t-n)}function N(t,e,n=T){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=n&&M(Math.min(Math.abs(t),Math.abs(e)))<n)return Math.abs(t-e)<=n;const r=R(t),i=R(e);return r<0==i<0&&!((r<i?i-r:r-i)>S)}function m(t,e,n=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;const r=Math.abs(t-e),i=Math.abs(t),s=Math.abs(e);if(0===t||0===e||i<1e-12&&s<1e-12){if(r>.01*n)return!1}else if(r/(i+s)>n)return!1;return!0}function I(t){return A(Math.max(-F,Math.min(t,F)))}function A(t){return r[0]=t,r[0]}function G(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],r=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(d(e,1)&&d(n,1)&&d(r,1))}function b(t,e){return(t%e+e)%e}const F=A(34028234663852886e22);function y(t,e,n){if(void 0===n||0===+n)return Math[t](e);if(e=+e,n=+n,isNaN(e)||"number"!=typeof n||n%1!=0)return NaN;let r=e.toString().split("e");return r=(e=Math[t](+(r[0]+"e"+(r[1]?+r[1]-n:-n)))).toString().split("e"),+(r[0]+"e"+(r[1]?+r[1]+n:n))}n.d(e,["pq",0,F])},90239(t,e,n){function r(t){switch(t){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}n.d(e,{GJ:()=>r})},1843(t,e,n){n.d(e,{BP:()=>c,l5:()=>l});var r=n(13030),i=n(90239),s=n(4431),a=n(620),h=n(85079);class o{constructor(t,e,n=0){this.layout=t,this.byteOffset=n,this.buffer="number"==typeof e?new ArrayBuffer(e*t.stride):e;for(const e of t.fields.keys()){const r=t.fields.get(e);this[e]=new r.constructor(this.buffer,n+r.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.byteLength/this.stride}get byteLength(){return this.buffer.byteLength-this.byteOffset}getField(t,e){const n=this[t];return n&&n.elementCount===e.ElementCount&&n.elementType===e.ElementType?n:null}slice(t,e){return new o(this.layout,this.buffer.slice(t*this.stride,e*this.stride))}copyFrom(t,e=0,n=0,r=t.count){const i=this.stride,s=t.byteOffset+e*i,a=this.byteOffset+n*i,h=r*i;if(i%4==0&&s%4==0&&a%4==0){const e=new Uint32Array(t.buffer,s,h/4);new Uint32Array(this.buffer,a,h/4).set(e)}else{const e=new Uint8Array(t.buffer,s,h);new Uint8Array(this.buffer,a,h).set(e)}return this}get usedMemory(){return this.byteLength}dispose(){}}class u{constructor(t){this._stride=0,this._fields=new Map,t&&(this._stride=t.stride,t.fields.forEach(t=>this._fields.set(t[0],{...t[1],constructor:_(t[1].constructor)})))}freeze(){return this}get locations(){return(0,h.Xk)((0,s.U)(this))}vec2f16(t,e){return this._appendField(t,r.ZD,e),this}vec2f(t,e){return this._appendField(t,r.gH,e),this}vec2f64(t,e){return this._appendField(t,r.si,e),this}vec3f16(t,e){return this._appendField(t,r.EC,e),this}vec3f(t,e){return this._appendField(t,r.xs,e),this}vec3f64(t,e){return this._appendField(t,r.Xm,e),this}vec4f16(t,e){return this._appendField(t,r.jz,e),this}vec4f(t,e){return this._appendField(t,r.Eq,e),this}vec4f64(t,e){return this._appendField(t,r.Aj,e),this}mat3f(t,e){return this._appendField(t,r.jZ,e),this}mat3f64(t,e){return this._appendField(t,r.j0,e),this}mat4f(t,e){return this._appendField(t,r.Sx,e),this}mat4f64(t,e){return this._appendField(t,r.E$,e),this}vec4u8(t,e){return this._appendField(t,r.XP,e),this}f16(t,e){return this._appendField(t,r.XW,e),this}f32(t,e){return this._appendField(t,r.Y$,e),this}f64(t,e){return this._appendField(t,r.qB,e),this}u8(t,e){return this._appendField(t,r.SL,e),this}u16(t,e){return this._appendField(t,r.h,e),this}i8(t,e){return this._appendField(t,r.bf,e),this}vec2i8(t,e){return this._appendField(t,r.D6,e),this}vec2i16(t,e){return this._appendField(t,r.mJ,e),this}vec2u8(t,e){return this._appendField(t,r.LC,e),this}vec2u16(t,e){return this._appendField(t,r.Yi,e),this}vec4u16(t,e){return this._appendField(t,r.Uz,e),this}vec4i16(t,e){return this._appendField(t,r.E7,e),this}u32(t,e){return this._appendField(t,r.P,e),this}_appendField(t,e,n){this._fields.has(t)&&(0,a.vA)(!1,`${t} already added to vertex buffer layout`);const r=e.ElementCount*(0,i.GJ)(e.ElementType),s=this._stride;this._fields.set(t,{constructor:e,size:r,offset:s,optional:n}),this._alignFields()}_alignFields(){let t=0,e=1;this._fields.forEach(n=>{const r=(0,i.GJ)(n.constructor.ElementType);t=Math.floor((t+r-1)/r)*r,n.offset=t,t+=n.size,e=Math.max(e,r)}),t=Math.floor((t+e-1)/e)*e,this._stride=t}createBuffer(t){return new o(this,t)}createView(t,e){return new o(this,t,e)}clone(){const t=new u;return t._stride=this._stride,t._fields=new Map,this._fields.forEach((e,n)=>t._fields.set(n,e)),t}get stride(){return this._stride}get fields(){return this._fields}}function c(){return new u}class l{constructor(t){this.fields=new Array,t.fields.forEach((t,e)=>{const n={...t,constructor:d(t.constructor)};this.fields.push([e,n])}),this.stride=t.stride}}const f=[r.Y$,r.gH,r.xs,r.Eq,r.jZ,r.Sx,r.qB,r.si,r.Xm,r.Aj,r.j0,r.E$,r.SL,r.LC,r.eI,r.XP,r.h,r.Yi,r.nS,r.Uz,r.P,r.An,r.H$,r.ml,r.bf,r.D6,r.m8,r.TX,r.Qt,r.mJ,r.Vp,r.E7,r.My,r.UL,r.zD,r.Y4];function d(t){return`${t.ElementType}_${t.ElementCount}`}function _(t){return p.get(t)}const p=new Map;f.forEach(t=>p.set(d(t),t))},4431(t,e,n){n.d(e,{U:()=>s});var r=n(63907),i=n(74038);function s(t,e=0){const n=t.stride;return t.fields.entries().map(([t,s])=>{const a=s.constructor.ElementCount,h=function(t){switch(t){case"u8":return r.pe.UNSIGNED_BYTE;case"u16":return r.pe.UNSIGNED_SHORT;case"u32":return r.pe.UNSIGNED_INT;case"i8":return r.pe.BYTE;case"i16":return r.pe.SHORT;case"i32":return r.pe.INT;case"f16":return r.pe.HALF_FLOAT;case"f32":return r.pe.FLOAT;default:throw new Error("BufferType not supported in WebGL")}}(s.constructor.ElementType),o=s.offset,u=s.optional?.glNormalized??!1,c=s.optional?.integer??!1;return new i._(t,a,h,o,n,u,e,c)}).toArray()}},620(t,e,n){n.d(e,{O_:()=>s,vA:()=>i}),n(48163),n(78955),(0,n(91829).vt)();class r{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new r(`${e} at ${t}`)}}function s(t,e,n,r){let i,s=(n[0]-t[0])/e[0],a=(r[0]-t[0])/e[0];s>a&&(i=s,s=a,a=i);let h=(n[1]-t[1])/e[1],o=(r[1]-t[1])/e[1];if(h>o&&(i=h,h=o,o=i),s>o||h>a)return!1;h>s&&(s=h),o<a&&(a=o);let u=(n[2]-t[2])/e[2],c=(r[2]-t[2])/e[2];return u>c&&(i=u,u=c,c=i),!(s>c||u>a||(c<a&&(a=c),a<0))}},71936(t,e,n){n.r(e),n.d(e,{default:()=>o});var r=n(1843);function i(t,e){return e.push(t.buffer),{buffer:t.buffer,layout:new r.l5(t.layout)}}var s=n(99058),a=n(93406),h=n(44801);class o{async extract(t){const e=u(t),n=(0,h.o6)(e),r=[e.data.buffer];return{result:c(n,r),transferList:r}}async extractComponentsEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,f).regular.instancesData,r),transferList:r}}async extractEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,l).regular.instancesData,r),transferList:r}}}function u(t){return{data:s.I$.createView(t.dataBuffer),indices:"Uint32Array"===t.indicesType?new Uint32Array(t.indices):"Uint16Array"===t.indicesType?new Uint16Array(t.indices):"Uint8Array"===t.indicesType?new Uint8Array(t.indices):t.indices,indicesLength:t.indicesLength,writerSettings:t.writerSettings,skipDeduplicate:t.skipDeduplicate}}function c(t,e){return e.push(t.regular.lodInfo.lengths.buffer),e.push(t.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:i(t.regular.instancesData,e),lodInfo:{lengths:t.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:i(t.silhouette.instancesData,e),lodInfo:{lengths:t.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:t.averageEdgeLength}}const l=new class{allocate(t){return h.Jb.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1)}},f=new class{allocate(t){return h.HY.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1),t.componentIndex.set(e,n.componentIndex)}}},85079(t,e,n){n.d(e,{Sk:()=>a,Xk:()=>i,_u:()=>s});var r=n(21818);function i(t){let e=0;return(0,r.z)(new Map(t.map(({name:t,count:n})=>{const r=[t,e];return 16===n?e+=4:9===n?e+=3:++e,r})))}function s(t){const e=new Map;let n=0;return t.forEach(t=>t.forEach(({name:t,count:r})=>{e.set(t,n),16===r?n+=4:9===r?n+=3:++n})),e}function a(t){return s(Array.from(t.values()).map(({layout:t})=>t))}},74038(t,e,n){n.d(e,{_:()=>r});class r{constructor(t,e,n,r,i,s=!1,a=0,h=!1){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=i,this.normalized=s,this.divisor=a,this.integer=h}}},63907(t,e,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(i),a={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};n.d(e,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,i,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,a,"pe",0,r,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8878],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},92400(e,t,r){r.d(t,{CU:()=>s,UQ:()=>o,fF:()=>i,o6:()=>l});var n=r(17676);class i{constructor(){}}function l(e,t,r){if(e instanceof i&&!(e instanceof s)){const n=new s;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,u,a)=>{a=a.map(t=>t instanceof i&&!(t instanceof s)?l(t,e,o):t);const c=this.call(r,{args:a});return(0,n.$X)(c)?c.then(e=>l(e,r,o)):c})}}class s extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>f,Qi:()=>m,eB:()=>h,eg:()=>y,f0:()=>p,ke:()=>u,nE:()=>a,rX:()=>d});var n=r(66131),i=r(44729),l=r(15032),o=r(20437),s=r(34747);function u(e){return o.A.fromJSON(e.toJSON())}function a(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof s.c9}function d(e){return e instanceof n.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof l.k}function m(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function h(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},78878(e,t,r){r.d(t,{$:()=>M,A:()=>Fe,B:()=>K,E:()=>U,F:()=>E,G:()=>L,H:()=>he,I:()=>h,J:()=>J,K:()=>k,L:()=>A,M:()=>fe,N:()=>O,O:()=>X,P:()=>be,Q:()=>w,R:()=>g,S:()=>ke,T:()=>ce,U:()=>ee,V:()=>H,W:()=>Ce,X:()=>Ze,Y:()=>Ae,Z:()=>Me,_:()=>De,a:()=>Ne,a0:()=>Z,a1:()=>F,a3:()=>oe,a4:()=>Oe,a5:()=>Se,a6:()=>ye,a7:()=>de,a8:()=>pe,a9:()=>we,b:()=>x,c:()=>ie,d:()=>D,e:()=>ve,f:()=>_,g:()=>$,h:()=>G,i:()=>N,j:()=>R,k:()=>j,l:()=>I,m:()=>P,n:()=>V,o:()=>Y,p:()=>v,q:()=>z,r:()=>q,t:()=>se,u:()=>C,v:()=>ae,w:()=>le,y:()=>re,z:()=>ne});var n=r(66131),i=r(99719),l=r(85935),o=r(92400),s=r(93818),u=r(33325),a=r(14607),c=r(44729),f=r(15032),d=r(73444),p=r(54218),y=r(34747),m=r(94128);class g{constructor(e){this.value=e}}class h{constructor(e){this.value=e}}const b={type:"VOID"},T=Symbol("BREAK"),S=Symbol("CONTINUE");function F(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function N(e){return e instanceof o.fF}function v(e){return e instanceof i.x}function x(e){return!!((0,p.Kg)(e)||(0,p.Et)(e)||_(e)||z(e)||q(e)||(0,p.Lm)(e)||null===e||e===b)}function O(e,t){return void 0===e?t:e}function w(e){if(null==e)return"";if((0,p.cy)(e))return"Array";if($(e))return"Array";if(_(e))return"Date";if(q(e))return"Time";if(z(e))return"DateOnly";if((0,p.Kg)(e))return"String";if((0,p.Lm)(e))return"Boolean";if((0,p.Et)(e))return"Number";if(P(e))return"Attachment";if(V(e))return"Portal";if(I(e))return"Dictionary";if(Y(e))return"KnowledgeGraph";if(v(e))return"Module";if(G(e))return"Feature";if(D(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return N(e)?"Function":j(e)?"FeatureSet":R(e)?"FeatureSetCollection":L(e)?"Voxel":E(e)?"Pixel":e===b?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function C(e){return e===b}function D(e){return"esri.arcade.Geometry"===e?.arcadeDeclaredClass}function A(e){return D(e)&&"point"===e.type}function Z(e){return D(e)&&"multipoint"===e.type}function k(e){return D(e)&&"polyline"===e.type}function M(e){return D(e)&&"polygon"===e.type}function J(e){return D(e)&&"extent"===e.type}function G(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function L(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function E(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function I(e){return"esri.arcade.Dictionary"===e?.declaredClass}function V(e){return"esri.arcade.Portal"===e?.declaredClass}function P(e){return"esri.arcade.Attachment"===e?.declaredClass}function K(e){return I(e)||G(e)||L(e)||E(e)}function R(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function Y(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function $(e){return e instanceof s.A}function _(e){return e instanceof n.lY}function z(e){return e instanceof c.n}function q(e){return e instanceof f.k}function B(e){return null!=e&&"object"==typeof e}function U(e,t,r,n){if(e.length<t||e.length>r)throw new l.D$("WrongNumberOfParameters",n)}function X(e){return null==e||C(e)||""===e}function H(e){return e<0?-Math.round(-e):Math.round(e)}function Q(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.GP)(e,{pattern:t}))}function W(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ee(t),{locale:(0,d.JK)(),numberingSystem:"latn"})}function ee(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function te(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function re(e,t,r){if(null===e){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}if(e===b){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Et)(e)){if((0,p.Et)(t))return te(e,t,r);if((0,p.Lm)(t))return te(e,ae(t),r);if(null===t||t===b)return te(e,0,r);if((0,p.Kg)(t))return te(e,ae(t),r);if(_(t))return te(e,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Kg)(e)){if((0,p.Kg)(t))return te(le(e),le(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if((0,p.Et)(t))return te(ae(e),t,r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Lm)(t))return te(ae(e),ae(t),r)}else if(_(e)){if(_(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if((0,p.Lm)(e)){if((0,p.Lm)(t))return te(e,t,r);if((0,p.Et)(t))return te(ae(e),ae(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Kg)(t))return te(ae(e),ae(t),r)}else if(z(e)){if(_(t))return te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if(q(e)){if(_(t))throw new l.D$("CannotCompareDateAndTime",null);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))return te(e.toNumber(),t.toNumber(),r);if(z(t))throw new l.D$("CannotCompareDateAndTime",null)}return!!ne(e,t)&&("<="===r||">="===r)}function ne(e,t){if(e===t)return!0;if(null===e&&t===b||null===t&&e===b)return!0;if(_(e)&&_(t))return e.equals(t);if(q(e)&&q(t))return e.equals(t);if(z(e)&&z(t))return e.equals(t);if($(e))return e.equalityTest(t);if(A(e)&&A(t)){const r=e.id,n=t.id;if(null!=r)return r===n}return!(!B(e)||!B(t)||e._underlyingGraphic!==t._underlyingGraphic||void 0===e._underlyingGraphic||null===e._underlyingGraphic)}function ie(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,p.Lm)(i)||(0,p.Et)(i)||(0,p.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):D(i)?r+=JSON.stringify(n)+":"+se(i):q(i)||z(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:$(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+se(i,null,t):_(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e))return se(e);if((0,p.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=ue(e[r]);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=ue(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():N(e)?"object, Function":e===b?"":v(e)?"object, Module":""}function oe(e){const t=[];if($(e)){for(let r=0;r<e.length();r++)t[r]=ae(e.get(r));return t}if(!(0,p.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=ae(e[r]);return t}function se(e,t,r=!1){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e)){if("extent"===e.type){const{xmin:t,xmax:r,ymin:n,ymax:i,zmin:l,zmax:o,mmin:s,mmax:u}=e.asJsonLikeGeometry();return'{"xmin":'+t+',"ymin":'+n+","+(e.hasZ?'"zmin":'+l+",":"")+(e.hasM?'"mmin":'+s+",":"")+'"xmax":'+r+',"ymax":'+i+","+(e.hasZ?'"zmax":'+o+",":"")+(e.hasM?'"mmax":'+u+",":"")+'"spatialReference":'+ge(e.spatialReference)+"}"}return ge(e.castAsJson(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0)}if((0,p.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=ue(e[n],r);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=ue(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):N(e)?"object, Function":C(e)?"":v(e)?"object, Module":""}function ue(e,t=!1){if(null===e)return"null";if((0,p.Lm)(e)||(0,p.Kg)(e))return JSON.stringify(e);if((0,p.Et)(e))return e.toString();if(D(e))return se(e,null,t);if($(e))return se(e,null,t);if((0,p.cy)(e))return se(e,null,t);if(_(e))return t?JSON.stringify(e.getTime()):JSON.stringify(W(e,""));if(q(e))return JSON.stringify(e.toString());if(z(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===b)return"null";return"null"}function ae(e,t){return(0,p.Et)(e)?e:null===e||""===e?0:_(e)||z(e)||q(e)?NaN:(0,p.Lm)(e)?e?1:0:(0,p.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,p.Kg)(e)?(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.qg)(e,{pattern:t})):e===b?0:Number(e)}function ce(e,t){if(_(e))return e;if((0,p.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let l=y.c9.fromISO(e,{zone:i});return l.isValid||r.test(e)&&(e=e.replace(r,"T$1"),l=y.c9.fromISO(e,{zone:t}),l.isValid)?l:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function fe(e){return(0,p.Lm)(e)?e:(0,p.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,p.Et)(e)&&0!==e&&!isNaN(e)}function de(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(_(t))r=t.toNumber();else if(z(t))r=t.toString();else if(q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=ae(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function pe(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function ye(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,s=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new l.D$("FieldNotFound",null,{key:e});let u=t.typeIdField,a="id",c=t.types;if(t.subtypeField&&(u=t.subtypeField,a="code",c=t.subtypes??[]),null===n&&r&&u)n=r.hasField(u)?r.field(u):null;else if(u&&null!==n){let e=!1;for(const t of c||[])if(n===t[a]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[a],e=!0;break}e||(n=null,r&&u&&(n=r.hasField(u)?r.field(u):null))}return null!=n&&c.some(e=>e[a]===n&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=me(s.name,t),o=!0),!0)),o||i||(i=me(e,t)),{field:s,domain:i}}function me(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ge(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function he(e){const t=[];for(const r of e)G(r)?t.push(r.geometry()):t.push(r);return t}function be(e,t=!0){if(null==e)return[];if((0,p.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if($(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(x(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let Te=0;function Se(){return Te++,Te%100==0?(Te=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Fe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Ne(e){return null==e?null:(0,p.Lm)(e)||(0,p.Et)(e)||(0,p.Kg)(e)?e:D(e)?e.castAsJson():$(e)?e.toArray().map(e=>Ne(e)):Array.isArray(e)?e.map(e=>Ne(e)):(0,p.$P)(e)?e:_(e)?e.toJSDate():q(e)?e.toString():z(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ve(e,t=null){if($(e)&&(e=e.toArray()),null==e)return null;if(x(e)||D(e)||(0,p.$P)(e)||_(e))return Ne(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||x(i)||D(i)||(0,p.$P)(i)||_(i))n.push(Ne(i));else{const e=n.push(null)-1;r.push(ve(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function xe(e){return Oe(e)?e.parent:e}function Oe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function we(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ce(e,t,r){const n=xe(e.fullSchema());return null===n?null:n.fields?ye(t,n,e,r):null}function De(e){const t=xe(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Ae(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const l=ye(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return de(l,r)}function Ze(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return pe(ye(t,i,e,n),r)}function ke(e){return e?.timeZone??"system"}function Me(e){const t=xe(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Je=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:h,ReturnResult:g,absRound:H,arcadeVersion:"1.36",autoCastFeatureToGeometry:he,binaryOperator:Fe,breakResult:T,castAsJson:Ne,castAsJsonAsync:ve,castRecordToText:ie,continueResult:S,defaultTimeZone:ke,defaultUndefined:O,equalityTest:ne,featureDomainCodeLookup:Ze,featureDomainValueLookup:Ae,featureFullDomain:Ce,featureSchema:Me,featureSubtypes:De,getDomain:ye,getDomainCode:pe,getDomainValue:de,getType:w,greaterThanLessThan:re,isArray:p.cy,isAttachment:P,isBoolean:p.Lm,isDate:_,isDateOnly:z,isDictionary:I,isDictionaryLike:K,isEmpty:X,isExtent:J,isFeature:G,isFeatureSet:j,isFeatureSetCollection:R,isFunctionParameter:N,isGeometry:D,isGraphic:m.D,isImmutableArray:$,isInteger:p.Fq,isJsDate:p.$P,isKnowledgeGraph:Y,isModule:v,isMultipoint:Z,isNumber:p.Et,isPixel:E,isPoint:A,isPolygon:M,isPolyline:k,isPortal:V,isSimpleType:x,isString:p.Kg,isSubtypeGrouplayer:we,isSubtypeSublayer:Oe,isTime:q,isVoid:C,isVoxel:L,multiReplace:F,pcCheck:U,standardiseDateFormat:ee,tick:Se,toBoolean:fe,toDate:ce,toNumber:ae,toNumberArray:oe,toString:le,toStringArray:be,toStringExplicit:se,voidOperation:b},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,T,"D",0,S,"s",0,Je,"x",0,b])},14607(e,t,r){r.d(t,{B:()=>a,GP:()=>s,qg:()=>c});var n=r(799),i=r(73444);const l={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in l;if(!t){const r=e.split("-");r.length>1&&r[0]in l&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=l[e];return{decimal:r,group:n,pattern:o}}function s(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,l=t.split(";"),o=l[0];if((t=l[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const s=u,a=o.match(s);if(!a)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(s,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let l=r.places;i?l=r.places.slice(i+1):+l>=0||(l=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(l))));const o=String(Math.abs(e)).split("."),s=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>s.length&&(o[1]=s.padEnd(Number(e),"0")),+l<s.length&&(o[1]=s.slice(0,Math.max(0,Number(l))))}else o[1]&&o.pop();const u=n[0].replace(",","");let a=u.indexOf("0");-1!==a&&(a=u.length-a,a>o[0].length&&(o[0]=o[0].padStart(a,"0")),u.includes("#")||(o[0]=o[0].slice(-a)));let c,f,d=n[0].lastIndexOf(",");if(-1!==d){c=n[0].length-d-1;const e=n[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(r.group||","),o.join(r.decimal||".")}(e,a[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const u=/[#0,]*[#0](?:\.0*#*)?/;function a(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,l=t.decimal;let s=1;if(r.includes("%"))s/=100;else if(r.includes("‰"))s/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const a=r.split(";");1===a.length&&a.push("-"+a[0]);const c=d(a,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(u,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:l,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==s&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const u=n[0].split(",");return u.length>1&&(r.groupSize=u.pop().length,u.length>1&&(r.groupSize2=u.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),r=d(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:l,factor:s}}function c(e,t){const r=a(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const d=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return p(n.join("|"),Boolean(r))},p=(e,t)=>"("+(t?"?:":"")+e+")"},73444(e,t,r){r.d(t,{JK:()=>u,Ml:()=>g,QC:()=>f,lR:()=>c,oQ:()=>y});var n=r(36563);let i;r(44208);const l=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function u(){return void 0===i&&(i=s()),i}const a=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=u()){return d(e)?.language}function f(e=u()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=u()){return a.exec(e)?.groups}const p=[];function y(e){return p.push(e),(0,n.hA)(()=>{p.splice(p.indexOf(e),1)})}new Map;const m=[];function g(e){return m.push(e),(0,n.hA)(()=>m.splice(m.indexOf(e),1))}function h(){const e=s();i!==e&&([...m].forEach(t=>t(e)),i=e,[...p].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",h),o&&new MutationObserver(()=>{h()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>s});var n,i=r(32198),l=r(25482),o=r(91429);let s=n=class extends l.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],s.prototype,"code",void 0),s=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],s)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(32198),l=r(4718),o=r(91429),s=r(39357),u=r(76357),a=r(93223);let c=class extends u.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,l.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[s.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>a});var n=r(32198),i=r(66552),l=r(25482),o=r(91429),s=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let a=class extends l.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"name",void 0),(0,n.Cg)([(0,s.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],a)},20437(e,t,r){r.d(t,{A:()=>y});var n,i=r(32198),l=r(66552),o=r(25482),s=r(91429),u=r(78888),a=r(8631),c=r(98453),f=r(36005),d=r(93223);const p=new l.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let y=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?p.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,s.MZ)({types:a.g,json:{read:{reader:a.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,s.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.Field")],y)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(32198),l=r(91429),o=r(76357),s=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],u.prototype,"maxValue",void 0),(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,s.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>d,g:()=>f});var n,i=r(53177),l=r(76357),o=r(32198),s=r(91429),u=r(93223);let a=class extends l.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],a.prototype,"type",void 0),a=n=(0,o.Cg)([(0,s.$K)("esri.layers.support.InheritedDomain")],a);var c=r(41628);const f={key:"type",base:l.A,typeMap:{range:c.A,"coded-value":i.A,inherited:a}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return a.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8878],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},92400(e,t,r){r.d(t,{CU:()=>s,UQ:()=>o,fF:()=>i,o6:()=>l});var n=r(17676);class i{constructor(){}}function l(e,t,r){if(e instanceof i&&!(e instanceof s)){const n=new s;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,u,a)=>{a=a.map(t=>t instanceof i&&!(t instanceof s)?l(t,e,o):t);const c=this.call(r,{args:a});return(0,n.$X)(c)?c.then(e=>l(e,r,o)):c})}}class s extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>f,Qi:()=>m,eB:()=>h,eg:()=>y,f0:()=>p,ke:()=>u,nE:()=>a,rX:()=>d});var n=r(66131),i=r(44729),l=r(15032),o=r(20437),s=r(34747);function u(e){return o.A.fromJSON(e.toJSON())}function a(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof s.c9}function d(e){return e instanceof n.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof l.k}function m(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function h(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},78878(e,t,r){r.d(t,{$:()=>M,A:()=>Fe,B:()=>K,E:()=>U,F:()=>E,G:()=>L,H:()=>he,I:()=>h,J:()=>J,K:()=>k,L:()=>A,M:()=>fe,N:()=>O,O:()=>X,P:()=>be,Q:()=>w,R:()=>g,S:()=>ke,T:()=>ce,U:()=>ee,V:()=>H,W:()=>Ce,X:()=>Ze,Y:()=>Ae,Z:()=>Me,_:()=>De,a:()=>Ne,a0:()=>Z,a1:()=>F,a3:()=>oe,a4:()=>Oe,a5:()=>Se,a6:()=>ye,a7:()=>de,a8:()=>pe,a9:()=>we,b:()=>x,c:()=>ie,d:()=>D,e:()=>ve,f:()=>_,g:()=>$,h:()=>G,i:()=>N,j:()=>R,k:()=>j,l:()=>I,m:()=>P,n:()=>V,o:()=>Y,p:()=>v,q:()=>z,r:()=>q,t:()=>se,u:()=>C,v:()=>ae,w:()=>le,y:()=>re,z:()=>ne});var n=r(66131),i=r(99719),l=r(85935),o=r(92400),s=r(93818),u=r(33325),a=r(14607),c=r(44729),f=r(15032),d=r(73444),p=r(54218),y=r(34747),m=r(94128);class g{constructor(e){this.value=e}}class h{constructor(e){this.value=e}}const b={type:"VOID"},T=Symbol("BREAK"),S=Symbol("CONTINUE");function F(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function N(e){return e instanceof o.fF}function v(e){return e instanceof i.x}function x(e){return!!((0,p.Kg)(e)||(0,p.Et)(e)||_(e)||z(e)||q(e)||(0,p.Lm)(e)||null===e||e===b)}function O(e,t){return void 0===e?t:e}function w(e){if(null==e)return"";if((0,p.cy)(e))return"Array";if($(e))return"Array";if(_(e))return"Date";if(q(e))return"Time";if(z(e))return"DateOnly";if((0,p.Kg)(e))return"String";if((0,p.Lm)(e))return"Boolean";if((0,p.Et)(e))return"Number";if(P(e))return"Attachment";if(V(e))return"Portal";if(I(e))return"Dictionary";if(Y(e))return"KnowledgeGraph";if(v(e))return"Module";if(G(e))return"Feature";if(D(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return N(e)?"Function":j(e)?"FeatureSet":R(e)?"FeatureSetCollection":L(e)?"Voxel":E(e)?"Pixel":e===b?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function C(e){return e===b}function D(e){return"esri.arcade.Geometry"===e?.arcadeDeclaredClass}function A(e){return D(e)&&"point"===e.type}function Z(e){return D(e)&&"multipoint"===e.type}function k(e){return D(e)&&"polyline"===e.type}function M(e){return D(e)&&"polygon"===e.type}function J(e){return D(e)&&"extent"===e.type}function G(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function L(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function E(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function I(e){return"esri.arcade.Dictionary"===e?.declaredClass}function V(e){return"esri.arcade.Portal"===e?.declaredClass}function P(e){return"esri.arcade.Attachment"===e?.declaredClass}function K(e){return I(e)||G(e)||L(e)||E(e)}function R(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function Y(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function $(e){return e instanceof s.A}function _(e){return e instanceof n.lY}function z(e){return e instanceof c.n}function q(e){return e instanceof f.k}function B(e){return null!=e&&"object"==typeof e}function U(e,t,r,n){if(e.length<t||e.length>r)throw new l.D$("WrongNumberOfParameters",n)}function X(e){return null==e||C(e)||""===e}function H(e){return e<0?-Math.round(-e):Math.round(e)}function Q(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.GP)(e,{pattern:t}))}function W(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ee(t),{locale:(0,d.JK)(),numberingSystem:"latn"})}function ee(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function te(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function re(e,t,r){if(null===e){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}if(e===b){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Et)(e)){if((0,p.Et)(t))return te(e,t,r);if((0,p.Lm)(t))return te(e,ae(t),r);if(null===t||t===b)return te(e,0,r);if((0,p.Kg)(t))return te(e,ae(t),r);if(_(t))return te(e,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Kg)(e)){if((0,p.Kg)(t))return te(le(e),le(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if((0,p.Et)(t))return te(ae(e),t,r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Lm)(t))return te(ae(e),ae(t),r)}else if(_(e)){if(_(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if((0,p.Lm)(e)){if((0,p.Lm)(t))return te(e,t,r);if((0,p.Et)(t))return te(ae(e),ae(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Kg)(t))return te(ae(e),ae(t),r)}else if(z(e)){if(_(t))return te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if(q(e)){if(_(t))throw new l.D$("CannotCompareDateAndTime",null);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))return te(e.toNumber(),t.toNumber(),r);if(z(t))throw new l.D$("CannotCompareDateAndTime",null)}return!!ne(e,t)&&("<="===r||">="===r)}function ne(e,t){if(e===t)return!0;if(null===e&&t===b||null===t&&e===b)return!0;if(_(e)&&_(t))return e.equals(t);if(q(e)&&q(t))return e.equals(t);if(z(e)&&z(t))return e.equals(t);if($(e))return e.equalityTest(t);if(A(e)&&A(t)){const r=e.id,n=t.id;if(null!=r)return r===n}return!(!B(e)||!B(t)||e._underlyingGraphic!==t._underlyingGraphic||void 0===e._underlyingGraphic||null===e._underlyingGraphic)}function ie(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,p.Lm)(i)||(0,p.Et)(i)||(0,p.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):D(i)?r+=JSON.stringify(n)+":"+se(i):q(i)||z(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:$(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+se(i,null,t):_(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e))return se(e);if((0,p.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=ue(e[r]);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=ue(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():N(e)?"object, Function":e===b?"":v(e)?"object, Module":""}function oe(e){const t=[];if($(e)){for(let r=0;r<e.length();r++)t[r]=ae(e.get(r));return t}if(!(0,p.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=ae(e[r]);return t}function se(e,t,r=!1){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e)){if("extent"===e.type){const{xmin:t,xmax:r,ymin:n,ymax:i,zmin:l,zmax:o,mmin:s,mmax:u}=e.asJsonLikeGeometry();return'{"xmin":'+t+',"ymin":'+n+","+(e.hasZ?'"zmin":'+l+",":"")+(e.hasM?'"mmin":'+s+",":"")+'"xmax":'+r+',"ymax":'+i+","+(e.hasZ?'"zmax":'+o+",":"")+(e.hasM?'"mmax":'+u+",":"")+'"spatialReference":'+ge(e.spatialReference)+"}"}return ge(e.castAsJson(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0)}if((0,p.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=ue(e[n],r);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=ue(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):N(e)?"object, Function":C(e)?"":v(e)?"object, Module":""}function ue(e,t=!1){if(null===e)return"null";if((0,p.Lm)(e)||(0,p.Kg)(e))return JSON.stringify(e);if((0,p.Et)(e))return e.toString();if(D(e))return se(e,null,t);if($(e))return se(e,null,t);if((0,p.cy)(e))return se(e,null,t);if(_(e))return t?JSON.stringify(e.getTime()):JSON.stringify(W(e,""));if(q(e))return JSON.stringify(e.toString());if(z(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===b)return"null";return"null"}function ae(e,t){return(0,p.Et)(e)?e:null===e||""===e?0:_(e)||z(e)||q(e)?NaN:(0,p.Lm)(e)?e?1:0:(0,p.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,p.Kg)(e)?(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.qg)(e,{pattern:t})):e===b?0:Number(e)}function ce(e,t){if(_(e))return e;if((0,p.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let l=y.c9.fromISO(e,{zone:i});return l.isValid||r.test(e)&&(e=e.replace(r,"T$1"),l=y.c9.fromISO(e,{zone:t}),l.isValid)?l:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function fe(e){return(0,p.Lm)(e)?e:(0,p.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,p.Et)(e)&&0!==e&&!isNaN(e)}function de(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(_(t))r=t.toNumber();else if(z(t))r=t.toString();else if(q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=ae(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function pe(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function ye(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,s=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new l.D$("FieldNotFound",null,{key:e});let u=t.typeIdField,a="id",c=t.types;if(t.subtypeField&&(u=t.subtypeField,a="code",c=t.subtypes??[]),null===n&&r&&u)n=r.hasField(u)?r.field(u):null;else if(u&&null!==n){let e=!1;for(const t of c||[])if(n===t[a]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[a],e=!0;break}e||(n=null,r&&u&&(n=r.hasField(u)?r.field(u):null))}return null!=n&&c.some(e=>e[a]===n&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=me(s.name,t),o=!0),!0)),o||i||(i=me(e,t)),{field:s,domain:i}}function me(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ge(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function he(e){const t=[];for(const r of e)G(r)?t.push(r.geometry()):t.push(r);return t}function be(e,t=!0){if(null==e)return[];if((0,p.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if($(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(x(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let Te=0;function Se(){return Te++,Te%100==0?(Te=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Fe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Ne(e){return null==e?null:(0,p.Lm)(e)||(0,p.Et)(e)||(0,p.Kg)(e)?e:D(e)?e.castAsJson():$(e)?e.toArray().map(e=>Ne(e)):Array.isArray(e)?e.map(e=>Ne(e)):(0,p.$P)(e)?e:_(e)?e.toJSDate():q(e)?e.toString():z(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ve(e,t=null){if($(e)&&(e=e.toArray()),null==e)return null;if(x(e)||D(e)||(0,p.$P)(e)||_(e))return Ne(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||x(i)||D(i)||(0,p.$P)(i)||_(i))n.push(Ne(i));else{const e=n.push(null)-1;r.push(ve(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function xe(e){return Oe(e)?e.parent:e}function Oe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function we(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ce(e,t,r){const n=xe(e.fullSchema());return null===n?null:n.fields?ye(t,n,e,r):null}function De(e){const t=xe(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Ae(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const l=ye(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return de(l,r)}function Ze(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return pe(ye(t,i,e,n),r)}function ke(e){return e?.timeZone??"system"}function Me(e){const t=xe(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Je=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:h,ReturnResult:g,absRound:H,arcadeVersion:"1.36",autoCastFeatureToGeometry:he,binaryOperator:Fe,breakResult:T,castAsJson:Ne,castAsJsonAsync:ve,castRecordToText:ie,continueResult:S,defaultTimeZone:ke,defaultUndefined:O,equalityTest:ne,featureDomainCodeLookup:Ze,featureDomainValueLookup:Ae,featureFullDomain:Ce,featureSchema:Me,featureSubtypes:De,getDomain:ye,getDomainCode:pe,getDomainValue:de,getType:w,greaterThanLessThan:re,isArray:p.cy,isAttachment:P,isBoolean:p.Lm,isDate:_,isDateOnly:z,isDictionary:I,isDictionaryLike:K,isEmpty:X,isExtent:J,isFeature:G,isFeatureSet:j,isFeatureSetCollection:R,isFunctionParameter:N,isGeometry:D,isGraphic:m.D,isImmutableArray:$,isInteger:p.Fq,isJsDate:p.$P,isKnowledgeGraph:Y,isModule:v,isMultipoint:Z,isNumber:p.Et,isPixel:E,isPoint:A,isPolygon:M,isPolyline:k,isPortal:V,isSimpleType:x,isString:p.Kg,isSubtypeGrouplayer:we,isSubtypeSublayer:Oe,isTime:q,isVoid:C,isVoxel:L,multiReplace:F,pcCheck:U,standardiseDateFormat:ee,tick:Se,toBoolean:fe,toDate:ce,toNumber:ae,toNumberArray:oe,toString:le,toStringArray:be,toStringExplicit:se,voidOperation:b},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,T,"D",0,S,"s",0,Je,"x",0,b])},14607(e,t,r){r.d(t,{B:()=>a,GP:()=>s,qg:()=>c});var n=r(799),i=r(73444);const l={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in l;if(!t){const r=e.split("-");r.length>1&&r[0]in l&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=l[e];return{decimal:r,group:n,pattern:o}}function s(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,l=t.split(";"),o=l[0];if((t=l[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const s=u,a=o.match(s);if(!a)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(s,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let l=r.places;i?l=r.places.slice(i+1):+l>=0||(l=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(l))));const o=String(Math.abs(e)).split("."),s=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>s.length&&(o[1]=s.padEnd(Number(e),"0")),+l<s.length&&(o[1]=s.slice(0,Math.max(0,Number(l))))}else o[1]&&o.pop();const u=n[0].replace(",","");let a=u.indexOf("0");-1!==a&&(a=u.length-a,a>o[0].length&&(o[0]=o[0].padStart(a,"0")),u.includes("#")||(o[0]=o[0].slice(-a)));let c,f,d=n[0].lastIndexOf(",");if(-1!==d){c=n[0].length-d-1;const e=n[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(r.group||","),o.join(r.decimal||".")}(e,a[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const u=/[#0,]*[#0](?:\.0*#*)?/;function a(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,l=t.decimal;let s=1;if(r.includes("%"))s/=100;else if(r.includes("‰"))s/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const a=r.split(";");1===a.length&&a.push("-"+a[0]);const c=d(a,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(u,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:l,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==s&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const u=n[0].split(",");return u.length>1&&(r.groupSize=u.pop().length,u.length>1&&(r.groupSize2=u.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),r=d(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:l,factor:s}}function c(e,t){const r=a(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const d=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return p(n.join("|"),Boolean(r))},p=(e,t)=>"("+(t?"?:":"")+e+")"},73444(e,t,r){r.d(t,{JK:()=>u,Ml:()=>g,QC:()=>f,lR:()=>c,oQ:()=>y});var n=r(36563);let i;r(44208);const l=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function u(){return void 0===i&&(i=s()),i}const a=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=u()){return d(e)?.language}function f(e=u()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=u()){return a.exec(e)?.groups}const p=[];function y(e){return p.push(e),(0,n.hA)(()=>{p.splice(p.indexOf(e),1)})}new Map;const m=[];function g(e){return m.push(e),(0,n.hA)(()=>m.splice(m.indexOf(e),1))}function h(){const e=s();i!==e&&([...m].forEach(t=>t(e)),i=e,[...p].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",h),o&&new MutationObserver(()=>{h()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>s});var n,i=r(32198),l=r(25482),o=r(91429);let s=n=class extends l.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],s.prototype,"code",void 0),s=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],s)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(32198),l=r(4718),o=r(91429),s=r(39357),u=r(76357),a=r(93223);let c=class extends u.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,l.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[s.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>a});var n=r(32198),i=r(66552),l=r(25482),o=r(91429),s=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let a=class extends l.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"name",void 0),(0,n.Cg)([(0,s.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],a)},20437(e,t,r){r.d(t,{A:()=>y});var n,i=r(32198),l=r(66552),o=r(25482),s=r(91429),u=r(78888),a=r(8631),c=r(98453),f=r(36005),d=r(93223);const p=new l.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",marginOfError:"margin-of-error",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let y=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?p.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,s.MZ)({types:a.g,json:{read:{reader:a.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,s.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.Field")],y)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(32198),l=r(91429),o=r(76357),s=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],u.prototype,"maxValue",void 0),(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,s.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>d,g:()=>f});var n,i=r(53177),l=r(76357),o=r(32198),s=r(91429),u=r(93223);let a=class extends l.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],a.prototype,"type",void 0),a=n=(0,o.Cg)([(0,s.$K)("esri.layers.support.InheritedDomain")],a);var c=r(41628);const f={key:"type",base:l.A,typeMap:{range:c.A,"coded-value":i.A,inherited:a}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return a.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{62885(e,t,o){o.d(t,{H:()=>i,V:()=>s});var r=o(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(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}},40863(e,t,o){o.d(t,{A:()=>d});var r,s=o(32198),i=o(4718),l=o(799),n=o(91429),a=o(30524),p=o(20378),y=o(36005),h=o(43937),u=o(93223);let d=r=class extends p.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,a.Dx)(e,t,null,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"data",void 0),(0,s.Cg)([(0,y.w)("data",["symbol"])],d.prototype,"readData",null),(0,s.Cg)([(0,h.K)("data",{})],d.prototype,"writeData",null),(0,s.Cg)([(0,u.e)({CIMSymbolReference:"cim"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,n.$K)("esri.symbols.CIMSymbol")],d)},26449(e,t,o){o.d(t,{A:()=>y});var r,s=o(32198),i=o(91429),l=o(3904),n=o(51734),a=o(28975),p=o(93223);let y=class extends l.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s.Cg)([(0,p.e)({Extrude:"extrude"},{readOnly:!0})],y.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],y.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:a.A,json:{write:!0}})],y.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(n.J)],y.prototype,"edges",void 0),y=r=(0,s.Cg)([(0,i.$K)("esri.symbols.ExtrudeSymbol3DLayer")],y)},65851(e,t,o){o.d(t,{A:()=>n});var r=o(32198),s=o(91429),i=o(31593),l=o(20378);let n=class extends l.A{constructor(e){super(e),this.outline=null,this.type=null}hash(){return`${this.type}.${this.outline?.hash()}`}};(0,r.Cg)([(0,s.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":i.A}},json:{default:null,write:!0}})],n.prototype,"outline",void 0),(0,r.Cg)([(0,s.MZ)({type:["simple-fill","picture-fill"],readOnly:!0})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,s.$K)("esri.symbols.FillSymbol")],n)},27845(e,t,o){o.d(t,{A:()=>S});var r=o(32198),s=o(91429),i=o(3904),l=o(51734),n=o(44633),a=o(16264),p=o(64086),y=o(33386),h=o(28975),u=o(93223);let d=class extends h.A{constructor(e){super(e),this.colorMixMode=null}};(0,r.Cg)([(0,u.e)({multiply:"multiply",replace:"replace",tint:"tint"})],d.prototype,"colorMixMode",void 0),d=(0,r.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DFillMaterial")],d);var c,g=o(68197),m=o(25482),b=o(90629),w=o(67222),C=o(8887);let f=c=class extends m.o{constructor(e){super(e),this.color=new g.A([0,0,0,1]),this.pattern=null,this.patternCap="butt"}get size(){return this._get("size")??(0,b.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new c(e)}};(0,r.Cg)([(0,s.MZ)((0,w.EW)({colorRequiredOnWrite:!0}))],f.prototype,"color",void 0),(0,r.Cg)([(0,s.MZ)({...w.pI,json:{write:{isRequired:!0}}})],f.prototype,"size",null),(0,r.Cg)([(0,s.MZ)(p.h6)],f.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)({type:C.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],f.prototype,"patternCap",void 0),f=c=(0,r.Cg)([(0,s.$K)("esri.symbols.support.Symbol3DOutline")],f);const v=f;var A;let S=class extends i.A{static{A=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new A(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new n.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??y.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new A({material:new d({color:(e.color??y.u7).clone()}),pattern:e.style&&"solid"!==e.style?new a.A({style:e.style}):null,outline:o})}};(0,r.Cg)([(0,u.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:d,json:{write:!0}})],S.prototype,"material",void 0),(0,r.Cg)([(0,s.MZ)(p.rn)],S.prototype,"pattern",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,r.Cg)([(0,s.MZ)({type:v,json:{write:!0}})],S.prototype,"outline",void 0),(0,r.Cg)([(0,s.MZ)(l.J)],S.prototype,"edges",void 0),S=A=(0,r.Cg)([(0,s.$K)("esri.symbols.FillSymbol3DLayer")],S)},11831(e,t,o){o.d(t,{A:()=>p});var r,s=o(32198),i=o(25482),l=o(90629),n=o(91429),a=o(5760);let p=r=class extends i.o{constructor(e){super(e),this.decoration="none",this.family="sans-serif",this.style="normal",this.weight="normal"}get size(){return this._get("size")??9}set size(e){this._set("size",e)}castSize(e){return(0,l.cr)(e)}clone(){return new r({decoration:this.decoration,family:this.family,size:this.size,style:this.style,weight:this.weight})}hash(){return`${this.decoration}.${this.family}.${this.size}.${this.style}.${this.weight}`}};(0,s.Cg)([(0,n.MZ)({type:a.h9,json:{default:"none",write:!0}})],p.prototype,"decoration",void 0),(0,s.Cg)([(0,n.MZ)({type:String,json:{write:!0}})],p.prototype,"family",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,json:{write:{overridePolicy:(e,t,o)=>({enabled:!o||!o.textSymbol3D})}}})],p.prototype,"size",null),(0,s.Cg)([(0,n.wg)("size")],p.prototype,"castSize",null),(0,s.Cg)([(0,n.MZ)({type:a._R,json:{default:"normal",write:!0}})],p.prototype,"style",void 0),(0,s.Cg)([(0,n.MZ)({type:a.NM,json:{default:"normal",write:!0}})],p.prototype,"weight",void 0),p=r=(0,s.Cg)([(0,n.$K)("esri.symbols.Font")],p)},80138(e,t,o){o.d(t,{A:()=>D});var r,s=o(32198),i=o(4718),l=o(53966),n=o(84952),a=o(91429),p=o(3904),y=o(33386),h=o(66552),u=o(25482),d=o(97159),c=o(36005),g=o(43937),m=o(93223);const b=(0,h.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let w=r=class extends u.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,d.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,d.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}equals(e){return e.primitive===this.primitive&&e.href===this.href}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],w.prototype,"href",void 0),(0,s.Cg)([(0,c.w)("href")],w.prototype,"readHref",null),(0,s.Cg)([(0,g.K)("href",{href:{type:String},dataURI:{type:String}})],w.prototype,"writeHref",null),(0,s.Cg)([(0,m.e)(b)],w.prototype,"primitive",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.support.IconSymbol3DLayerResource")],w);const C=w;var f,v=o(67222),A=o(97515),S=o(27066),M=o(69622);let Z=f=class extends M.A{constructor(e){super(e),this.x=0,this.y=0}clone(){return new f({x:this.x,y:this.y})}equals(e){return e.x===this.x&&e.y===this.y}};(0,s.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],Z.prototype,"y",void 0),Z=f=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DAnchorPosition2D")],Z);const j=Z;var x,z=o(68197),L=o(90629);let $=x=class extends u.o{constructor(e){super(e),this.color=new z.A([0,0,0,1])}get size(){return this._get("size")??(0,L.PN)(1)}set size(e){this._set("size",e)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new x(e)}equals(e){return e.size===this.size&&(null==this.color?null==e.color:this.color.equals(e.color))}};(0,s.Cg)([(0,a.MZ)((0,v.EW)({colorRequiredOnWrite:!0}))],$.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],$.prototype,"size",null),$=x=(0,s.Cg)([(0,a.$K)("esri.symbols.support.Symbol3DIconOutline")],$);const O=$;var N,k=o(28975);let D=class extends p.A{static{N=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0,this.occludedVisibility=new A.A({mode:"adaptive"})}get size(){return this._get("size")??12}set size(e){this._set("size",e)}clone(){return new N({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size,occludedVisibility:(0,i.o8)(this.occludedVisibility)})}static fromSimpleMarkerSymbol(e){const t=e.color||y.ON,o=_(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||y.ON).clone()}:null;return new N({size:e.size,angle:e.angle,resource:{primitive:q(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,y.U9)(e.color)?y.ON:e.color,o=_(e);return new N({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o,occludedVisibility:null})}static fromCIMSymbol(e){return new N({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})},occludedVisibility:null})}};function _(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=K(e.xoffset),s=K(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function K(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:k.A,json:{write:!0}})],D.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:C,json:{write:!0}})],D.prototype,"resource",void 0),(0,s.Cg)([(0,m.e)({Icon:"icon"},{readOnly:!0})],D.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...v.pI,json:{write:{isRequired:!0}}})],D.prototype,"size",null),(0,s.Cg)([(0,m.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],D.prototype,"anchor",void 0),(0,s.Cg)([(0,a.MZ)({type:j,json:{type:[Number],read:{reader:e=>new j({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],D.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,a.MZ)({type:O,json:{write:!0}})],D.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],D.prototype,"angle",void 0),(0,s.Cg)([(0,a.MZ)(S.D)],D.prototype,"occludedVisibility",void 0),D=N=(0,s.Cg)([(0,a.$K)("esri.symbols.IconSymbol3DLayer")],D);const P={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function q(e,t){return P[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},13313(e,t,o){o.d(t,{A:()=>g});var r,s=o(32198),i=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(58185),y=o(80393),h=o(59483),u=o(4900),d=o(93223);const c=i.A.ofType({base:null,key:"type",typeMap:{text:y.A}});let g=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.type="label-3d",this.symbolLayers=new c}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail),callout:(0,n.o8)(this.callout),verticalOffset:(0,n.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([y.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:u.A,json:{write:!0}})],g.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(h.oG)],g.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({json:{read:!1,write:!1}})],g.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,a.MZ)({type:c})],g.prototype,"symbolLayers",null),(0,s.Cg)([(0,d.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],g.prototype,"type",void 0),g=r=(0,s.Cg)([(0,a.$K)("esri.symbols.LabelSymbol3D")],g)},97887(e,t,o){o.d(t,{A:()=>c});var r,s=o(32198),i=o(7762),l=o(4718),n=o(91429),a=o(11506),p=o(66525),y=o(58185),h=o(93223);const u=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}}),d=i.A.ofType({base:null,key:"type",typeMap:{line:a.A,path:p.A}});let c=r=class extends y.A{constructor(e){super(e),this.symbolLayers=new u,this.worldSized=!1,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail),worldSized:this.worldSized})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([a.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:u,json:{type:d}})],c.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,n.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!1}})],c.prototype,"worldSized",void 0),(0,s.Cg)([(0,h.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],c.prototype,"type",void 0),c=r=(0,s.Cg)([(0,n.$K)("esri.symbols.LineSymbol3D")],c)},11506(e,t,o){o.d(t,{A:()=>v});var r=o(32198),s=o(90629),i=o(91429),l=o(68197),n=o(69540),a=o(25482),p=o(78888),y=o(83213);let h=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:y.x,json:{default:"begin-end",write:!0}})],h.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:y.z,json:{default:"arrow",write:!0}})],h.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:l.A,json:{type:[p.jz],default:null,write:!0}})],h.prototype,"color",void 0),h=(0,r.Cg)([(0,i.$K)("esri.symbols.LineStyleMarker3D")],h);var u,d=o(3904),c=o(44633),g=o(64086),m=o(33386),b=o(67222),w=o(28975),C=o(8887),f=o(93223);let v=class extends d.A{static{u=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.pattern=null,this.imagePattern=null,this.marker=null}get size(){return this._get("size")??(0,s.PN)(1)}set size(e){this._set("size",e)}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,imagePattern:null!=this.imagePattern?this.imagePattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new u(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new c.A({style:e.style}):null,imagePattern:null,material:new w.A({color:(e.color||m.ON).clone()}),marker:e.marker?new h({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new u(t)}};(0,r.Cg)([(0,i.MZ)({type:w.A,json:{write:!0}})],v.prototype,"material",void 0),(0,r.Cg)([(0,f.e)({Line:"line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:C.e,json:{write:!0,default:"miter"}})],v.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:C.M4,json:{write:!0,default:"butt"}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...b.pI,json:{write:{isRequired:!0}}})],v.prototype,"size",null),(0,r.Cg)([(0,i.MZ)(g.vc)],v.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)()],v.prototype,"imagePattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:h,typeMap:{style:h}},json:{write:!0}})],v.prototype,"marker",void 0),v=u=(0,r.Cg)([(0,i.$K)("esri.symbols.LineSymbol3DLayer")],v)},89420(e,t,o){o.d(t,{A:()=>a});var r=o(32198),s=o(90629),i=o(91429),l=o(78888),n=o(20378);let a=class extends n.A{constructor(e){super(e),this.angle=0,this.type=null}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get size(){return this._get("size")??9}set size(e){this._set("size",e)}hash(){return`${this.type}.${this.angle}.${this.size}.${this.xoffset}.${this.yoffset}`}};(0,r.Cg)([(0,i.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],a.prototype,"angle",void 0),(0,r.Cg)([(0,i.MZ)({type:["simple-marker","picture-marker"],readOnly:!0})],a.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:Number,cast:s.cr,json:{write:!0}})],a.prototype,"xoffset",null),(0,r.Cg)([(0,i.MZ)({type:Number,cast:s.cr,json:{write:!0}})],a.prototype,"yoffset",null),(0,r.Cg)([(0,i.MZ)({cast:e=>"auto"===e?e:(0,l.GB)((0,s.cr)(e)),json:{write:!0}})],a.prototype,"size",null),a=(0,r.Cg)([(0,i.$K)("esri.symbols.MarkerSymbol")],a)},68548(e,t,o){o.d(t,{A:()=>d});var r,s=o(32198),i=o(7762),l=o(62885),n=o(4718),a=o(91429),p=o(27845),y=o(58185),h=o(93223);const u=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let d=r=class extends y.A{constructor(e){super(e),this.type="mesh-3d",this.symbolLayers=new u}get symbolLayers(){return this._get("symbolLayers")}set symbolLayers(e){(0,l.V)(e,this._get("symbolLayers"))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:u})],d.prototype,"symbolLayers",null),(0,s.Cg)([(0,h.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,a.$K)("esri.symbols.MeshSymbol3D")],d)},51216(e,t,o){o.d(t,{A:()=>f});var r,s=o(32198),i=o(91429),l=o(3904),n=o(66552),a=o(25482),p=o(97159),y=o(93223);const h=(0,n.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let u=r=class extends a.o{constructor(e){super(e)}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,i.MZ)({type:String,json:{read:p.r,write:p.w}})],u.prototype,"href",void 0),(0,s.Cg)([(0,y.e)(h)],u.prototype,"primitive",void 0),u=r=(0,s.Cg)([(0,i.$K)("esri.symbols.support.ObjectSymbol3DLayerResource")],u);const d=u;var c,g=o(69622);let m=c=class extends g.A{constructor(e){super(e),this.x=0,this.y=0,this.z=0}clone(){return new c({x:this.x,y:this.y,z:this.z})}};(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],m.prototype,"z",void 0),m=c=(0,s.Cg)([(0,i.$K)("esri.symbols.support.Symbol3DAnchorPosition3D")],m);const b=m;var w,C=o(28975);let f=class extends l.A{static{w=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new w({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s.Cg)([(0,i.MZ)({type:C.A,json:{write:!0}})],f.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],f.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:d,json:{write:!0}})],f.prototype,"resource",void 0),(0,s.Cg)([(0,y.e)({Object:"object"},{readOnly:!0})],f.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"depth",void 0),(0,s.Cg)([(0,y.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],f.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:b,json:{type:[Number],read:{reader:e=>new b({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],f.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],f.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],f.prototype,"isPrimitive",null),f=w=(0,s.Cg)([(0,i.$K)("esri.symbols.ObjectSymbol3DLayer")],f)},66525(e,t,o){o.d(t,{A:()=>h});var r,s=o(32198),i=o(91429),l=o(3904),n=o(28975),a=o(8887),p=o(93223),y=o(36005);let h=class extends l.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s.Cg)([(0,i.MZ)({type:n.A,json:{write:!0}})],h.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s.Cg)([(0,p.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:a.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:a.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,s.Cg)([(0,y.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,s.Cg)([(0,y.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,s.Cg)([(0,i.$K)("esri.symbols.PathSymbol3DLayer")],h)},58592(e,t,o){o.d(t,{A:()=>u});var r,s=o(32198),i=o(4718),l=o(90629),n=o(91429),a=o(89420),p=o(77040),y=o(93223),h=o(36005);let u=r=class extends a.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}get height(){return this._get("height")??12}set height(e){this._set("height",e)}readHeight(e,t){return t.size||e}get width(){return this._get("width")??12}set width(e){this._set("width",e)}readWidth(e,t){return t.size||e}get size(){return this._get("size")??null}set size(e){this._set("size",e)}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,y.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(p.ku)],u.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(p.k7)],u.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",null),(0,s.Cg)([(0,h.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",null),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",null),u=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PictureMarkerSymbol")],u)},75981(e,t,o){o.d(t,{A:()=>w});var r,s=o(32198),i=o(68197),l=o(7762),n=o(4718),a=o(91429),p=o(80138),y=o(51216),h=o(58185),u=o(80393),d=o(59483),c=o(8893),g=o(4900),m=o(93223);const b=l.A.ofType({base:null,key:"type",typeMap:{icon:p.A,object:y.A,text:u.A}});let w=r=class extends h.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new b,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,d.LH)(this)}hasVisibleVerticalOffset(){return(0,d.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([p.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([p.A.fromCIMSymbol(e)]),callout:new c.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new g.A({screenLength:40})}:{symbolLayers:new l.A([p.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([u.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:g.A,json:{write:!0}})],w.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(d.oG)],w.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:b,json:{origins:{"web-scene":{write:!0}}}})],w.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,m.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],w.prototype,"type",void 0),w=r=(0,s.Cg)([(0,a.$K)("esri.symbols.PointSymbol3D")],w)},65365(e,t,o){o.d(t,{A:()=>m});var r,s=o(32198),i=o(7762),l=o(4718),n=o(91429),a=o(26449),p=o(27845),y=o(80138),h=o(51216),u=o(58185),d=o(34723),c=o(93223);const g=i.A.ofType({base:null,key:"type",typeMap:{extrude:a.A,fill:p.A,icon:y.A,object:h.A,water:d.A}});let m=r=class extends u.A{constructor(e){super(e),this.symbolLayers=new g,this.type="polygon-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;return t.read(e),t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:g,json:{write:!0}})],m.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,n.$K)("esri.symbols.PolygonSymbol3D")],m)},94985(e,t,o){o.d(t,{A:()=>d});var r,s=o(32198),i=o(68197),l=o(66552),n=o(4718),a=o(91429),p=o(65851),y=o(31593),h=o(93223);const u=new l.J({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let d=r=class extends p.A{constructor(...e){super(...e),this.color=new i.A([0,0,0,.25]),this.outline=new y.A,this.type="simple-fill",this.style="solid"}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.style=e),t&&(r.outline=t),o&&(r.color=o),r}clone(){return new r({color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),style:this.style})}hash(){return`${super.hash()}${this.style}.${this.color&&this.color.hash()}`}};(0,s.Cg)([(0,a.MZ)({type:i.A})],d.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)()],d.prototype,"outline",void 0),(0,s.Cg)([(0,h.e)({esriSFS:"simple-fill"},{readOnly:!0})],d.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({type:u.apiValues,json:{read:u.read,write:u.write}})],d.prototype,"style",void 0),d=r=(0,s.Cg)([(0,a.$K)("esri.symbols.SimpleFillSymbol")],d)},31593(e,t,o){o.d(t,{A:()=>v});var r=o(32198),s=o(66552),i=o(4718),l=o(90629),n=o(91429),a=o(20378),p=o(93223);let y=class extends a.A{constructor(e){super(e),this.type="simple-line"}get width(){return this._get("width")??.75}set width(e){this._set("width",e)}hash(){return`${this.type}.${this.width}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],y.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],y.prototype,"width",null),y=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbol")],y);var h,u=o(68197),d=o(25482),c=o(83213),g=o(43937),m=o(36005);let b=h=class extends d.o{constructor(e){super(e),this.placement="begin-end",this.type="line-marker",this.style="arrow"}writeStyle(e,t,o,r){t[o]="web-map"===r?.origin?"arrow":e}set color(e){this._set("color",e)}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}writeColor(e,t,o,r){"web-map"===r?.origin||(t[o]=e)}clone(){return new h({color:(0,i.o8)(this.color),placement:this.placement,style:this.style})}hash(){return`${this.placement}.${this.color?.hash()}.${this.style}`}};(0,r.Cg)([(0,n.MZ)({type:["begin","end","begin-end"],json:{write:!0}})],b.prototype,"placement",void 0),(0,r.Cg)([(0,p.e)({"line-marker":"line-marker"},{readOnly:!0}),(0,n.MZ)({json:{origins:{"web-map":{write:!1}}}})],b.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:c.z})],b.prototype,"style",void 0),(0,r.Cg)([(0,g.K)("style")],b.prototype,"writeStyle",null),(0,r.Cg)([(0,n.MZ)({type:u.A,value:null,json:{write:{allowNull:!0}}})],b.prototype,"color",null),(0,r.Cg)([(0,m.w)("color")],b.prototype,"readColor",null),(0,r.Cg)([(0,g.K)("color")],b.prototype,"writeColor",null),b=h=(0,r.Cg)([(0,n.$K)("esri.symbols.LineSymbolMarker")],b);const w=b;var C;const f=new s.J({esriSLSSolid:"solid",esriSLSDash:"dash",esriSLSDot:"dot",esriSLSDashDot:"dash-dot",esriSLSDashDotDot:"long-dash-dot-dot",esriSLSNull:"none",esriSLSShortDash:"short-dash",esriSLSShortDot:"short-dot",esriSLSShortDashDot:"short-dash-dot",esriSLSShortDashDotDot:"short-dash-dot-dot",esriSLSLongDash:"long-dash",esriSLSLongDashDot:"long-dash-dot"});let v=C=class extends y{constructor(...e){super(...e),this.type="simple-line",this.style="solid",this.cap="round",this.join="round",this.marker=null,this.miterLimit=2}normalizeCtorArgs(e,t,o,r,s,i){if(e&&"string"!=typeof e)return e;const n={};return null!=e&&(n.style=e),null!=t&&(n.color=t),null!=o&&(n.width=(0,l.cr)(o)),null!=r&&(n.cap=r),null!=s&&(n.join=s),null!=i&&(n.miterLimit=(0,l.cr)(i)),n}clone(){return new C({color:(0,i.o8)(this.color),style:this.style,width:this.width,cap:this.cap,join:this.join,miterLimit:this.miterLimit,marker:this.marker?.clone()})}hash(){return`${super.hash()}.${this.color?.hash()}.${this.style}.${this.cap}.${this.join}.${this.miterLimit}.${this.marker?.hash()}`}};(0,r.Cg)([(0,p.e)({esriSLS:"simple-line"},{readOnly:!0})],v.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:f.apiValues,json:{read:f.read,write:f.write}})],v.prototype,"style",void 0),(0,r.Cg)([(0,n.MZ)({type:["butt","round","square"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"cap",void 0),(0,r.Cg)([(0,n.MZ)({type:["miter","round","bevel"],json:{write:{overridePolicy:(e,t,o)=>({enabled:"round"!==e&&null==o?.origin})}}})],v.prototype,"join",void 0),(0,r.Cg)([(0,n.MZ)({types:{key:"type",base:null,defaultKeyValue:"line-marker",typeMap:{"line-marker":w}},json:{write:!0,origins:{"web-scene":{write:!1}}}})],v.prototype,"marker",void 0),(0,r.Cg)([(0,n.MZ)({type:Number,json:{read:!1,write:!1}})],v.prototype,"miterLimit",void 0),v=C=(0,r.Cg)([(0,n.$K)("esri.symbols.SimpleLineSymbol")],v)},53930(e,t,o){o.d(t,{A:()=>g});var r,s=o(32198),i=o(68197),l=o(66552),n=o(4718),a=o(90629),p=o(91429),y=o(89420),h=o(31593),u=o(43937),d=o(93223);const c=new l.J({esriSMSCircle:"circle",esriSMSSquare:"square",esriSMSCross:"cross",esriSMSX:"x",esriSMSDiamond:"diamond",esriSMSTriangle:"triangle",esriSMSPath:"path"});let g=r=class extends y.A{constructor(...e){super(...e),this.color=new i.A([255,255,255,.25]),this.type="simple-marker",this.style="circle",this.outline=new h.A}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e)return e;const s={};return e&&(s.style=e),null!=t&&(s.size=(0,a.cr)(t)),o&&(s.outline=o),r&&(s.color=r),s}writeColor(e,t){e&&"x"!==this.style&&"cross"!==this.style&&(t.color=e.toJSON()),null===e&&(t.color=null)}get size(){return this._get("size")??12}set size(e){this._set("size",e)}set path(e){this.style="path",this._set("path",e)}clone(){return new r({angle:this.angle,color:(0,n.o8)(this.color),outline:this.outline&&this.outline.clone(),path:this.path,size:this.size,style:this.style,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${super.hash()}.${this.color&&this.color.hash()}.${this.path}.${this.style}.${this.outline?.hash()}`}};(0,s.Cg)([(0,p.MZ)({type:i.A})],g.prototype,"color",void 0),(0,s.Cg)([(0,u.K)("color")],g.prototype,"writeColor",null),(0,s.Cg)([(0,d.e)({esriSMS:"simple-marker"},{readOnly:!0})],g.prototype,"type",void 0),(0,s.Cg)([(0,p.MZ)()],g.prototype,"size",null),(0,s.Cg)([(0,p.MZ)({type:c.apiValues,json:{read:c.read,write:c.write}})],g.prototype,"style",void 0),(0,s.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],g.prototype,"path",null),(0,s.Cg)([(0,p.MZ)({types:{key:"type",base:null,defaultKeyValue:"simple-line",typeMap:{"simple-line":h.A}},json:{default:null,write:!0}})],g.prototype,"outline",void 0),g=r=(0,s.Cg)([(0,p.$K)("esri.symbols.SimpleMarkerSymbol")],g)},20378(e,t,o){o.d(t,{A:()=>h});var r=o(32198),s=o(68197),i=o(66552),l=o(25482),n=o(91429),a=o(36005);const p=new i.J({esriSMS:"simple-marker",esriPMS:"picture-marker",esriSLS:"simple-line",esriSFS:"simple-fill",esriPFS:"picture-fill",esriTS:"text",esriSHD:"shield-label-symbol",PointSymbol3D:"point-3d",LineSymbol3D:"line-3d",PolygonSymbol3D:"polygon-3d",WebStyleSymbol:"web-style",MeshSymbol3D:"mesh-3d",LabelSymbol3D:"label-3d",CIMSymbolReference:"cim"});let y=0,h=class extends l.o{constructor(e){super(e),this.id="sym"+y++,this.type=null,this.color=new s.A([0,0,0,1])}readColor(e){return null!=e?.[0]?[e[0],e[1],e[2],e[3]/255]:e}async collectRequiredFields(e,t){}hash(){return JSON.stringify(this.toJSON())}clone(){}};(0,r.Cg)([(0,n.MZ)({type:p.apiValues,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,writer:p.write,isRequired:!0}}})],h.prototype,"type",void 0),(0,r.Cg)([(0,n.MZ)({type:s.A,json:{write:{allowNull:!0}}})],h.prototype,"color",void 0),(0,r.Cg)([(0,a.w)("color")],h.prototype,"readColor",null),h=(0,r.Cg)([(0,n.$K)("esri.symbols.Symbol")],h)},58185(e,t,o){o.d(t,{A:()=>z});var r=o(32198),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),p=o(91429),y=o(20655),h=o(97159),u=o(26449),d=o(27845),c=o(80138),g=o(11506),m=o(51216),b=o(66525),w=o(20378),C=o(3904),f=o(80393),v=o(34723),A=o(98751),S=o(57212),M=o(36005),Z=o(43937);const j={icon:c.A,object:m.A,line:g.A,path:b.A,fill:d.A,extrude:u.A,text:f.A,water:v.A},x=s.A.ofType({base:C.A,key:"type",typeMap:j,errorContext:"symbol-layer"});let z=class extends w.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,h.f)(e.styleUrl,o);return new A.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new A.A({portal:o?.portal||y.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,h.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof C.A||e&&j[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,p.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,p.MZ)({type:x,nonNullable:!0,json:{write:!0}}),(0,p.wg)(i.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,p.MZ)({type:A.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,M.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,Z.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,p.MZ)({type:S.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,p.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,p.$K)("esri.symbols.Symbol3D")],z)},3904(e,t,o){o.d(t,{A:()=>n});var r=o(32198),s=o(25482),i=o(91429),l=o(43937);let n=class extends s.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],n.prototype,"enabled",void 0),(0,r.Cg)([(0,l.K)("enabled")],n.prototype,"writeEnabled",null),(0,r.Cg)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,i.$K)("esri.symbols.Symbol3DLayer")],n)},68249(e,t,o){o.d(t,{A:()=>c});var r,s=o(32198),i=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(11831),y=o(20378),h=o(5760),u=o(93223),d=o(43937);let c=r=class extends y.A{constructor(...e){super(...e),this.backgroundColor=null,this.borderLineColor=null,this.borderLineSize=null,this.font=new p.A,this.horizontalAlignment="center",this.kerning=!0,this.haloColor=null,this.rightToLeft=null,this.rotated=!1,this.text="",this.type="text",this.verticalAlignment="baseline",this.angle=0,this.width=null,this.lineHeight=1}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e)return e;const r={};return e&&(r.text=e),t&&(r.font=t),o&&(r.color=o),r}get haloSize(){return this._get("haloSize")??null}set haloSize(e){this._set("haloSize",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}get lineWidth(){return this._get("lineWidth")??192}set lineWidth(e){this._set("lineWidth",e)}writeLineWidth(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}castLineWidth(e){return(0,n.cr)(e)}writeLineHeight(e,t,o,r){r&&"string"!=typeof r?r.origin:t[o]=e}clone(){return new r({angle:this.angle,backgroundColor:(0,l.o8)(this.backgroundColor),borderLineColor:(0,l.o8)(this.borderLineColor),borderLineSize:this.borderLineSize,color:(0,l.o8)(this.color),font:this.font&&this.font.clone(),haloColor:(0,l.o8)(this.haloColor),haloSize:this.haloSize,horizontalAlignment:this.horizontalAlignment,kerning:this.kerning,lineHeight:this.lineHeight,lineWidth:this.lineWidth,rightToLeft:this.rightToLeft,rotated:this.rotated,text:this.text,verticalAlignment:this.verticalAlignment,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset})}hash(){return`${this.backgroundColor?.hash()}.${this.borderLineColor}.${this.borderLineSize}.${this.color?.hash()}.${this.font&&this.font.hash()}.${this.haloColor?.hash()}.${this.haloSize}.${this.horizontalAlignment}.${this.kerning}.${this.rightToLeft}.${this.rotated}.${this.text}.${this.verticalAlignment}.${this.width}.${this.xoffset}.${this.yoffset}.${this.lineHeight}.${this.lineWidth}.${this.angle}`}};(0,s.Cg)([(0,a.MZ)({type:i.A,json:{write:!0}})],c.prototype,"backgroundColor",void 0),(0,s.Cg)([(0,a.MZ)({type:i.A,json:{write:!0}})],c.prototype,"borderLineColor",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0},cast:n.cr})],c.prototype,"borderLineSize",void 0),(0,s.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],c.prototype,"font",void 0),(0,s.Cg)([(0,a.MZ)({...h.rM,json:{write:!0}})],c.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"kerning",void 0),(0,s.Cg)([(0,a.MZ)({type:i.A,json:{write:!0}})],c.prototype,"haloColor",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],c.prototype,"haloSize",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"rightToLeft",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"rotated",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],c.prototype,"text",void 0),(0,s.Cg)([(0,u.e)({esriTS:"text"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...h.x0,json:{write:!0}})],c.prototype,"verticalAlignment",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],c.prototype,"xoffset",null),(0,s.Cg)([(0,a.MZ)({type:Number,cast:n.cr,json:{write:!0}})],c.prototype,"yoffset",null),(0,s.Cg)([(0,a.MZ)({type:Number,json:{read:e=>e&&-1*e,write:(e,t)=>t.angle=e&&-1*e}})],c.prototype,"angle",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"width",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],c.prototype,"lineWidth",null),(0,s.Cg)([(0,d.K)("lineWidth")],c.prototype,"writeLineWidth",null),(0,s.Cg)([(0,a.wg)("lineWidth")],c.prototype,"castLineWidth",null),(0,s.Cg)([(0,a.MZ)(h.Tb)],c.prototype,"lineHeight",void 0),(0,s.Cg)([(0,d.K)("lineHeight")],c.prototype,"writeLineHeight",null),c=r=(0,s.Cg)([(0,a.$K)("esri.symbols.TextSymbol")],c)},80393(e,t,o){o.d(t,{A:()=>M});var r,s=o(32198),i=o(4718),l=o(91429),n=o(11831),a=o(3904),p=o(67222),y=o(97515),h=o(27066),u=o(68197),d=o(25482);let c=r=class extends d.o{constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??0}set size(e){this._set("size",e)}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,p.EW)())],c.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(p.pI)],c.prototype,"size",null),c=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DHalo")],c);var g=o(28975),m=o(69540);let b=class extends((0,m.OU)(d.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,p.EW)())],b.prototype,"color",void 0),b=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBackground")],b);var w=o(90629);let C=class extends((0,m.OU)(d.o)){constructor(e){super(e),this.color=new u.A([0,0,0,1])}get size(){return this._get("size")??(0,w.PN)(1)}set size(e){this._set("size",e)}};(0,s.Cg)([(0,l.MZ)({...(0,p.EW)({colorRequiredOnWrite:!0}),json:void 0})],C.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)({...p.pI,json:void 0})],C.prototype,"size",null),C=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DTextBorder")],C);var f,v=o(5760),A=o(43937),S=o(93223);let M=class extends a.A{static{f=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.border=null,this.text=null,this.type="text",this.verticalAlignment="baseline",this.occludedVisibility=new y.A({mode:"adaptive"})}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=Number(e),null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new f({enabled:this.enabled,font:(0,i.o8)(this.font),halo:(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background),border:(0,i.o8)(this.border),occludedVisibility:(0,i.o8)(this.occludedVisibility)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new f({font:null!=e.font?e.font.clone():new n.A,halo:Z(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.A({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new b({color:e.backgroundColor.clone()}):null,border:j(e.borderLineColor,e.borderLineSize),occludedVisibility:null})}};function Z(e,t){return e&&null!=t&&t>0?new c({color:(0,i.o8)(e),size:t}):null}function j(e,t){return null!=e&&null!=t&&t>0?new C({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:n.A,json:{write:!0}})],M.prototype,"font",null),(0,s.Cg)([(0,A.K)("font")],M.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:c,json:{write:!0}})],M.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...v.rM,json:{default:"center",write:!0}})],M.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...v.Tb,json:{default:1,write:!0}})],M.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:g.A,json:{write:!0}})],M.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:b,json:{write:!0}})],M.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)({type:C,json:{read:!1,write:!1}})],M.prototype,"border",void 0),(0,s.Cg)([(0,l.MZ)(p.pI)],M.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],M.prototype,"text",void 0),(0,s.Cg)([(0,S.e)({Text:"text"},{readOnly:!0})],M.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...v.x0,json:{default:"baseline",write:!0}})],M.prototype,"verticalAlignment",void 0),(0,s.Cg)([(0,l.MZ)(h.D)],M.prototype,"occludedVisibility",void 0),M=f=(0,s.Cg)([(0,l.$K)("esri.symbols.TextSymbol3DLayer")],M)},34723(e,t,o){o.d(t,{A:()=>y});var r,s=o(32198),i=o(68197),l=o(91429),n=o(78888),a=o(3904),p=o(93223);let y=class extends a.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],y.prototype,"color",void 0),(0,s.Cg)([(0,p.e)({Water:"water"},{readOnly:!0})],y.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],y.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],y.prototype,"waveDirection",void 0),(0,s.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],y.prototype,"waveStrength",void 0),y=r=(0,s.Cg)([(0,l.$K)("esri.symbols.WaterSymbol3DLayer")],y);const h=new i.A([0,119,190])},29169(e,t,o){o.d(t,{A:()=>c});var r=o(32198),s=o(53966),i=o(17676),l=o(91429),n=o(20655),a=o(97159),p=o(20378),y=o(57212);const h=new(o(66344).q)(500);var u,d=o(93223);let c=u=class extends p.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:n.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new u({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async _fetchSymbol(e){const t=h,r=`${this._fetchCacheKey}:${e?.acceptedFormats?.join(",")}`,l=t.get(r);if(l)return await Promise.resolve(),(0,i.Te)(e),l.clone();const{resolveWebStyleSymbol:n}=await o.e(7883).then(()=>o(27883));(0,i.Te)(e);const a=n(this,{portal:this.portal},e);a.catch(e=>{s.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const p=await a;return t.put(r,p.clone()),p}};(0,r.Cg)([(0,l.MZ)({json:{write:!1}})],c.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"styleName",void 0),(0,r.Cg)([(0,l.MZ)({type:n.A,json:{write:!1}})],c.prototype,"portal",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{read:a.r,write:a.w}})],c.prototype,"styleUrl",void 0),(0,r.Cg)([(0,l.MZ)({type:y.V,json:{read:!1}})],c.prototype,"thumbnail",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],c.prototype,"name",void 0),(0,r.Cg)([(0,d.e)({styleSymbolReference:"web-style"},{readOnly:!0})],c.prototype,"type",void 0),(0,r.Cg)([(0,l.MZ)()],c.prototype,"_fetchCacheKey",null),c=u=(0,r.Cg)([(0,l.$K)("esri.symbols.WebStyleSymbol")],c)},4595(e,t,o){o.d(t,{A:()=>l});var r=o(32198),s=o(25482),i=o(91429);let l=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"visible",void 0),l=(0,r.Cg)([(0,i.$K)("esri.symbols.callouts.Callout3D")],l)},8893(e,t,o){o.d(t,{A:()=>m});var r,s=o(32198),i=o(68197),l=o(4718),n=o(90629),a=o(91429),p=o(4595),y=o(25482),h=o(67222);let u=r=class extends y.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],u.prototype,"color",void 0),u=r=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3DBorder")],u);const d=u;var c,g=o(93223);let m=c=class extends p.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.border=null}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new c({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,g.e)({line:"line"})],m.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,h.EW)({colorRequiredOnWrite:!0}))],m.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...h.pI,json:{write:{isRequired:!0}}})],m.prototype,"size",null),(0,s.Cg)([(0,a.MZ)({type:d,json:{write:!0}})],m.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],m.prototype,"visible",null),m=c=(0,s.Cg)([(0,a.$K)("esri.symbols.callouts.LineCallout3D")],m)},59483(e,t,o){o.d(t,{LH:()=>l,Yq:()=>i});var r=o(4595),s=o(8893);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||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}};o.d(t,["oG",0,n])},4792(e,t,o){var r=o(32198),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(91429),p=o(67222);let y=class extends i.o{constructor(e){super(e),this.color=new s.A([0,0,0,1])}get extensionLength(){return this._get("extensionLength")??0}set extensionLength(e){this._set("extensionLength",e)}get size(){return this._get("size")??(0,n.PN)(1)}set size(e){this._set("size",e)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],y.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],y.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],y.prototype,"extensionLength",null),(0,r.Cg)([(0,a.MZ)(p.pI)],y.prototype,"size",null),y=(0,r.Cg)([(0,a.$K)("esri.symbols.edges.Edges3D")],y);const h=y;o.d(t,["A",0,h])},39065(e,t,o){var r,s=o(32198),i=o(91429),l=o(4792),n=o(93223);let a=r=class extends l.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,n.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,i.$K)("esri.symbols.edges.SolidEdges3D")],a);const p=a;o.d(t,["A",0,p])},51734(e,t,o){o.d(t,{J:()=>h});var r,s=o(4792),i=o(32198),l=o(91429),n=o(93223);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,n.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,l.$K)("esri.symbols.edges.SketchEdges3D")],a);const p=a;var y=o(39065);const h={types:{key:"type",base:s.A,typeMap:{solid:y.A,sketch:p}},json:{write:!0}}},36533(e,t,o){o.d(t,{A:()=>n});var r=o(32198),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e)}};(0,r.Cg)([(0,l.MZ)({type:["style","template","image"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.LinePattern3D")],n)},44633(e,t,o){o.d(t,{A:()=>p});var r=o(32198),s=o(66552),i=o(91429),l=o(36533),n=o(93223);const a=(0,s.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let p=class extends l.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,i.MZ)({type:["style"]})],p.prototype,"type",void 0),(0,r.Cg)([(0,n.e)(a),(0,i.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],p.prototype,"style",void 0),p=(0,r.Cg)([(0,i.$K)("esri.symbols.patterns.LineStylePattern3D")],p)},3955(e,t,o){o.d(t,{A:()=>n});var r=o(32198),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(){super(...arguments),this.type="style"}};(0,r.Cg)([(0,l.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.patterns.Pattern3D")],n)},16264(e,t,o){o.d(t,{A:()=>l});var r=o(32198),s=o(91429),i=o(3955);let l=class extends i.A{constructor(e){super(e),this.type="style",this.style="solid"}};(0,r.Cg)([(0,s.MZ)({type:["style"],json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],l.prototype,"style",void 0),l=(0,r.Cg)([(0,s.$K)("esri.symbols.patterns.StylePattern3D")],l)},64086(e,t,o){o.d(t,{vc:()=>d,h6:()=>c,rn:()=>u});var r=o(36533),s=o(44633),i=o(32198),l=o(91429),n=o(45733);let a=class extends r.A{constructor(e){super(e),this.type="template",this.dashTemplate=[]}get normalizedDashTemplate(){const{dashTemplate:e,hidesLine:t}=(0,n.OI)(this.dashTemplate);return{dashTemplate:e.map(e=>Math.abs(e)),hidesLine:t}}};(0,i.Cg)([(0,l.MZ)({type:["template"]})],a.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:[Number],nonNullable:!0,json:{write:{isRequired:!0}}})],a.prototype,"dashTemplate",void 0),(0,i.Cg)([(0,l.MZ)()],a.prototype,"normalizedDashTemplate",null),a=(0,i.Cg)([(0,l.$K)("esri.symbols.patterns.LineTemplatePattern3D")],a);const p=a;var y=o(3955),h=o(16264);const u={types:{key:"type",base:y.A,typeMap:{style:h.A}},json:{write:!0}},d={types:{key:"type",base:r.A,typeMap:{style:s.A,template:p}},json:{write:!0}},c={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},97515(e,t,o){o.d(t,{A:()=>n});var r=o(32198),s=o(69540),i=o(25482),l=o(91429);let n=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.mode="adaptive"}equals(e){return this.mode===e.mode}};(0,r.Cg)([(0,l.MZ)({type:["adaptive","hidden","visible"],json:{write:{isRequired:!0}}})],n.prototype,"mode",void 0),n=(0,r.Cg)([(0,l.$K)("esri.symbols.support.OccludedVisibility")],n)},98751(e,t,o){o.d(t,{A:()=>a});var r,s=o(32198),i=o(69622),l=o(91429),n=o(20655);let a=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:n.A})],a.prototype,"portal",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.StyleOrigin")],a)},28975(e,t,o){o.d(t,{A:()=>y});var r=o(32198),s=o(69540),i=o(25482),l=o(91429),n=o(67222),a=o(93223);let p=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.strength=1,this.source="emissive"}};(0,r.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,range:{min:0},json:{write:!0}})],p.prototype,"strength",void 0),(0,r.Cg)([(0,a.e)({emissive:"emissive",color:"color"}),(0,l.MZ)({nonNullable:!0,json:{write:{enabled:!0}}})],p.prototype,"source",void 0),p=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DEmissive")],p);let y=class extends((0,s.OU)(i.o)){constructor(e){super(e),this.color=null,this.emissive=null}};(0,r.Cg)([(0,l.MZ)((0,n.EW)())],y.prototype,"color",void 0),(0,r.Cg)([(0,l.MZ)({type:p,json:{write:!0}})],y.prototype,"emissive",void 0),y=(0,r.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DMaterial")],y)},4900(e,t,o){o.d(t,{A:()=>a});var r,s=o(32198),i=o(25482),l=o(91429),n=o(67222);let a=r=class extends i.o{constructor(e){super(e),this.minWorldLength=0,this.maxWorldLength=null}get screenLength(){return this._get("screenLength")??0}set screenLength(e){this._set("screenLength",e)}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s.Cg)([(0,l.MZ)({...n.pI,json:{write:{isRequired:!0}}})],a.prototype,"screenLength",null),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],a.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxWorldLength",void 0),a=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Symbol3DVerticalOffset")],a)},57212(e,t,o){o.d(t,{V:()=>n});var r,s=o(32198),i=o(69622),l=o(91429);let n=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],n.prototype,"url",void 0),n=r=(0,s.Cg)([(0,l.$K)("esri.symbols.support.Thumbnail")],n)},33386(e,t,o){o.d(t,{U9:()=>l});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}o.d(t,["ON",0,s,"u7",0,i])},83213(e,t,o){o.d(t,["x",0,["begin","end","begin-end"],"z",0,["arrow","circle","square","diamond","cross","x"]])},67222(e,t,o){o.d(t,{EW:()=>p});var r=o(68197),s=o(90629),i=o(78888),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function p(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const y={type:Number,cast:s.cr,json:{write:!0}};o.d(t,["pI",0,y])},27066(e,t,o){const r={type:o(97515).A,json:{write:!0,default:null}};o.d(t,["D",0,r])},8887(e,t,o){o.d(t,{Fq:()=>n}),o(51850);var r=o(70328);const s=(0,r.fA)(-.5,-.5,-.5,.5,.5,.5),i=(0,r.fA)(-.5,-.5,0,.5,.5,1),l=(0,r.fA)(-.5,-.5,0,.5,.5,.5);function n(e){switch(e){case"sphere":case"cube":case"diamond":return s;case"cylinder":case"cone":case"inverted-cone":return i;case"tetrahedron":return l;default:return}}const a=["butt","square","round"],p=[...a,"none"];o.d(t,["M4",0,a,"Nv",0,p,"e",0,["miter","bevel","round"]])},5760(e,t,o){var r=o(34727),s=o(78888);const i={type:Number,cast:e=>{const t=(0,s.GB)(e);return 0===t?1:(0,r.qE)(t,.1,4)},nonNullable:!0};o.d(t,["NM",0,["normal","lighter","bold","bolder"],"Tb",0,i,"_R",0,["normal","italic","oblique"],"h9",0,["none","underline","line-through"],"rM",0,{type:["left","right","center"],nonNullable:!0},"x0",0,{type:["baseline","top","middle","bottom"],nonNullable:!0}])},33910(e,t,o){o.d(t,{dp:()=>W,$y:()=>x,wk:()=>z,Y7:()=>O,wC:()=>$,Ac:()=>N,Bu:()=>D,Es:()=>L,q8:()=>k,em:()=>K,Rv:()=>q,xK:()=>_,On:()=>P});var r,s=o(78888),i=o(90360),l=o(40863),n=o(13313),a=o(97887),p=o(68548),y=o(32198),h=o(4718),u=o(90629),d=o(91429),c=o(65851),g=o(77040),m=o(93223);let b=r=class extends c.A{constructor(...e){super(...e),this.color=null,this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,u.cr)(o)),null!=r&&(s.height=(0,u.cr)(r)),s}get width(){return this._get("width")??12}set width(e){this._set("width",e)}get height(){return this._get("height")??12}set height(e){this._set("height",e)}get xoffset(){return this._get("xoffset")??0}set xoffset(e){this._set("xoffset",e)}get yoffset(){return this._get("yoffset")??0}set yoffset(e){this._set("yoffset",e)}clone(){const e=new r({color:(0,h.o8)(this.color),height:this.height,outline:(0,h.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,h.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,y.Cg)([(0,d.MZ)({json:{write:!1}})],b.prototype,"color",void 0),(0,y.Cg)([(0,m.e)({esriPFS:"picture-fill"},{readOnly:!0})],b.prototype,"type",void 0),(0,y.Cg)([(0,d.MZ)(g.ku)],b.prototype,"url",void 0),(0,y.Cg)([(0,d.MZ)({type:Number,json:{write:!0}})],b.prototype,"xscale",void 0),(0,y.Cg)([(0,d.MZ)({type:Number,json:{write:!0}})],b.prototype,"yscale",void 0),(0,y.Cg)([(0,d.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"width",null),(0,y.Cg)([(0,d.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"height",null),(0,y.Cg)([(0,d.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"xoffset",null),(0,y.Cg)([(0,d.MZ)({type:Number,cast:u.cr,json:{write:!0}})],b.prototype,"yoffset",null),(0,y.Cg)([(0,d.MZ)(g.k7)],b.prototype,"source",void 0),b=r=(0,y.Cg)([(0,d.$K)("esri.symbols.PictureFillSymbol")],b);var w=o(58592),C=o(75981),f=o(65365),v=o(94985),A=o(31593),S=o(53930),M=o(20378),Z=o(68249),j=o(29169);function x(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function z(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const L={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":C.A,"polygon-3d":f.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},$={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,"point-3d":C.A,cim:l.A},errorContext:"symbol"},O={base:M.A,key:"type",typeMap:{"simple-line":A.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},N={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"polygon-3d":f.A,cim:l.A},errorContext:"symbol"},k={base:M.A,key:"type",typeMap:{"picture-marker":w.A,"simple-marker":S.A,text:Z.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},D=(0,i.C)({types:L}),_={base:M.A,key:"type",typeMap:{"simple-fill":v.A,"picture-fill":b,"picture-marker":w.A,"simple-line":A.A,"simple-marker":S.A,text:Z.A,"line-3d":a.A,"mesh-3d":p.A,"point-3d":C.A,"polygon-3d":f.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},K={base:M.A,key:"type",typeMap:{text:Z.A,"label-3d":n.A},errorContext:"symbol"},P={base:M.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":p.A,"point-3d":C.A,"polygon-3d":f.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},q={base:M.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},W=(0,s.aq)(L)},77040(e,t,o){var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.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,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}};o.d(t,["k7",0,n,"ku",0,l])}}]);
@@ -1 +1 @@
1
- {"shadowDuration":"الوقت الإجمالي في الظل: {duration}","sunlightDuration":"إجمالي الوقت في ضوء الشمس: {duration}","shadowDurationMoreThanUpTo":"الوقت الإجمالي في الظل: {minDuration} - {maxDuration}","sunlightDurationLessThan":"الوقت الإجمالي في ضوء الشمس: <{duration}","sunlightDurationAtLeastLessThan":"الوقت الإجمالي في ضوء الشمس: {minDuration} - {maxDuration}"}
1
+ {"shadowDuration":"الوقت الإجمالي في الظل: {duration}","sunlightDuration":"إجمالي الوقت في ضوء الشمس: {duration}","shadowDurationLessThan":"بيت_Total time in shadow: <{duration}__________________لاحقة","shadowDurationRange":"الوقت الإجمالي في الظل: {minDuration} - {maxDuration}","sunlightDurationLessThan":"الوقت الإجمالي في ضوء الشمس: <{duration}","sunlightDurationRange":"الوقت الإجمالي في ضوء الشمس: {minDuration} - {maxDuration}"}
@@ -1 +1 @@
1
- {"shadowDuration":"Общо време в сянка: {duration}","sunlightDuration":"Общо време при слънчева светлина: {duration}","shadowDurationMoreThanUpTo":"Общо време в сянка: {minDuration} – {maxDuration}","sunlightDurationLessThan":"Общо време на слънчева светлина: < {duration}","sunlightDurationAtLeastLessThan":"Общо време на слънчева светлина: {minDuration} – {maxDuration}"}
1
+ {"shadowDuration":"Общо време в сянка: {duration}","sunlightDuration":"Общо време при слънчева светлина: {duration}","shadowDurationLessThan":"й_Total time in shadow: <{duration}__________________й","shadowDurationRange":"Общо време в сянка: {minDuration} – {maxDuration}","sunlightDurationLessThan":"Общо време на слънчева светлина: < {duration}","sunlightDurationRange":"Общо време на слънчева светлина: {minDuration} – {maxDuration}"}
@@ -1 +1 @@
1
- {"shadowDuration":"Ukupno vrijeme u sjeni: {duration}","sunlightDuration":"Ukupno vrijeme na suncu: {duration}","shadowDurationMoreThanUpTo":"Ukupno vrijeme u sjeni: {minDuration} - {maxDuration}","sunlightDurationLessThan":"Ukupno vrijeme na suncu: <{duration}","sunlightDurationAtLeastLessThan":"Ukupno vrijeme na suncu: {minDuration} - {maxDuration}"}
1
+ {"shadowDuration":"Ukupno vrijeme u sjeni: {duration}","sunlightDuration":"Ukupno vrijeme na suncu: {duration}","shadowDurationLessThan":"Č_Total time in shadow: <{duration}__________________ž","shadowDurationRange":"Ukupno vrijeme u sjeni: {minDuration} - {maxDuration}","sunlightDurationLessThan":"Ukupno vrijeme na suncu: <{duration}","sunlightDurationRange":"Ukupno vrijeme na suncu: {minDuration} - {maxDuration}"}
@@ -1 +1 @@
1
- {"shadowDuration":"Temps total a l'obra: {duration}","sunlightDuration":"Temps total d'exposició solar: {duration}","shadowDurationMoreThanUpTo":"Temps total a l'ombra: {minDuration} - {maxDuration}","sunlightDurationLessThan":"Temps total al sol: <{duration}","sunlightDurationAtLeastLessThan":"Temps total al sol: {minDuration} - {maxDuration}"}
1
+ {"shadowDuration":"Temps total a l'obra: {duration}","sunlightDuration":"Temps total d'exposició solar: {duration}","shadowDurationLessThan":"ó_Total time in shadow: <{duration}__________________à","shadowDurationRange":"Temps total a l'ombra: {minDuration} - {maxDuration}","sunlightDurationLessThan":"Temps total al sol: <{duration}","sunlightDurationRange":"Temps total al sol: {minDuration} - {maxDuration}"}