@arcgis/core 5.1.0-next.81 → 5.1.0-next.83

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 (171) hide show
  1. package/analysis/ShadowCast/DiscreteOptions.d.ts +12 -0
  2. package/analysis/ShadowCast/TotalDurationOptions.d.ts +12 -0
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/040884cec4b84dd1bb17.js +1 -0
  5. package/assets/esri/core/workers/chunks/05c5f68e117fc58ae801.js +1 -0
  6. package/assets/esri/core/workers/chunks/074f5e6aaeafca13bf72.js +1 -0
  7. package/assets/esri/core/workers/chunks/{7bd1d624f4f4a11a31e8.js → 086d7cdfa92a649c9f7b.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{0eed2b1b06355ab89013.js → 0c074c46d106ca4d3bad.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{c758e16b57c96ce88294.js → 1768f1a7e3caa6074d91.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{85d3475667c503ec4fc6.js → 186bfde8c552e3b42302.js} +1 -1
  11. package/assets/esri/core/workers/chunks/1a35121a0c2595a41fdb.js +1 -0
  12. package/assets/esri/core/workers/chunks/1ab66600579fa4232d7b.js +1 -0
  13. package/assets/esri/core/workers/chunks/1e3fe89970c57a883fe5.js +1 -0
  14. package/assets/esri/core/workers/chunks/{824051af00e7a1f05ed0.js → 230e0e43f8e771950397.js} +1 -1
  15. package/assets/esri/core/workers/chunks/26f804c92077c11c626d.js +1 -0
  16. package/assets/esri/core/workers/chunks/28a45bd26eb5c9b3ec7c.js +1 -0
  17. package/assets/esri/core/workers/chunks/38f1a86b8dd9ee684ee5.js +596 -0
  18. package/assets/esri/core/workers/chunks/{71fe127734f33d020a44.js → 475394218caaa4cd3e86.js} +1 -1
  19. package/assets/esri/core/workers/chunks/475409026288f0981ce2.js +1 -0
  20. package/assets/esri/core/workers/chunks/4e206957b28253ddc1a3.js +1 -0
  21. package/assets/esri/core/workers/chunks/5cc38ac051d3d0557920.js +1 -0
  22. package/assets/esri/core/workers/chunks/{992cd87ba0ab6346f692.js → 64e268ebac0b62076f81.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{003fd7745966fe03510c.js → 65ac73de5bb133c6bf89.js} +1 -1
  24. package/assets/esri/core/workers/chunks/6675d56f49d07a97dc40.js +1 -0
  25. package/assets/esri/core/workers/chunks/{484d6c1b0fe1633515b7.js → 72f8f4cfa0842d325fb0.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{283d39dfb1625b5a74db.js → 747e258f57f0543c836e.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{dd4f431511edd975a53b.js → 7acf82763aeba44049d0.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{5d8e944b192aad4cf986.js → 7b505112c7e6d9b7a239.js} +1 -1
  29. package/assets/esri/core/workers/chunks/7b8466f892a38a53c600.js +1 -0
  30. package/assets/esri/core/workers/chunks/{77dd719516138afb1a2a.js → 8af9a78cf316581ea482.js} +1 -1
  31. package/assets/esri/core/workers/chunks/988e91cc6cf88c34c2de.js +1 -0
  32. package/assets/esri/core/workers/chunks/9c402657f63a4d5668d0.js +1 -0
  33. package/assets/esri/core/workers/chunks/9ea23cd4b2664c08b670.js +1 -0
  34. package/assets/esri/core/workers/chunks/9f51a69b8f1937a8794a.js +1 -0
  35. package/assets/esri/core/workers/chunks/a28124bba6b43efd74cc.js +1 -0
  36. package/assets/esri/core/workers/chunks/af762422a65c551dcd54.js +1 -0
  37. package/assets/esri/core/workers/chunks/{056fd7847caaff2c9514.js → af8bc56cf1404afc3028.js} +1 -1
  38. package/assets/esri/core/workers/chunks/b9e163f4a898e50cc854.js +1 -0
  39. package/assets/esri/core/workers/chunks/{444f0f51b3ee0b9845a5.js → bb2f6b0fcdfb8b158e26.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{4af39fa53bc0b79101ed.js → bc8a74da48b08309875f.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{026d3fa331caec1ea3d2.js → bf4dd8e50704e4040966.js} +1 -1
  42. package/assets/esri/core/workers/chunks/c19e3f6027b6526de359.js +1 -0
  43. package/assets/esri/core/workers/chunks/ce4dfc3a470230ddc9e4.js +1 -0
  44. package/assets/esri/core/workers/chunks/{8ea4584e07ccc85caabd.js → d11de13537b623739e14.js} +1 -1
  45. package/assets/esri/core/workers/chunks/d897412b99b9fba44bb4.js +1 -0
  46. package/assets/esri/core/workers/chunks/{035dbb0217f83108fa89.js → db86a1119e4e58ecfbda.js} +1 -1
  47. package/assets/esri/core/workers/chunks/dcb7a3ff59677b1cf0f1.js +1 -0
  48. package/assets/esri/core/workers/chunks/{5fe97253f80c797fad7f.js → df8a3d3cac454d42e14d.js} +1 -1
  49. package/assets/esri/core/workers/chunks/dfe1139124fda0d6c059.js +1 -0
  50. package/assets/esri/core/workers/chunks/{8b8f391f27774aec6db9.js → e0b27bceb397482bd0e8.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{84821dff3bcc51161802.js → e89dc473f46a5584d2ef.js} +32 -32
  52. package/assets/esri/core/workers/chunks/{01ee18782a50279f907e.js → f4220b6eab0865318033.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{42336e0d1ef88737b078.js → f468c6ea2818a1f97e19.js} +1 -1
  54. package/assets/esri/core/workers/chunks/fce2306a1b31c6680f90.js +1 -0
  55. package/assets/esri/core/workers/chunks/fcf51697c361e0075cc2.js +1 -0
  56. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core-simd.wasm +0 -0
  57. package/assets/esri/rest/knowledgeGraph/wasmInterface/arcgis-knowledge-client-core.wasm +0 -0
  58. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +15 -0
  59. package/assets/esri/themes/dark/main.css +1 -1
  60. package/assets/esri/themes/light/main.css +1 -1
  61. package/assets/esri/themes/light/view.css +1 -1
  62. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
  63. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
  64. package/chunks/ShadowCastVisualize.glsl.js +33 -15
  65. package/chunks/arcgis-knowledge-client-core-simd.js +1 -1
  66. package/chunks/arcgis-knowledge-client-core.js +1 -1
  67. package/config.js +1 -1
  68. package/core/workers/registry.js +1 -1
  69. package/form/elements/inputs/MultipleChoiceInput.d.ts +6 -6
  70. package/form/elements/inputs/MultipleChoiceInput.js +1 -1
  71. package/kernel.js +1 -1
  72. package/layers/BaseDynamicLayer.js +1 -1
  73. package/layers/BaseTileLayer.js +1 -1
  74. package/layers/ElevationLayer.js +1 -1
  75. package/layers/MapImageLayer.js +1 -1
  76. package/layers/TileLayer.js +1 -1
  77. package/layers/WMSLayer.js +1 -1
  78. package/layers/WMTSLayer.js +1 -1
  79. package/layers/WebTileLayer.js +1 -1
  80. package/layers/mixins/ArcGISImageService.js +1 -1
  81. package/layers/mixins/TiledImagery.js +1 -1
  82. package/layers/support/imageBitmapUtils.js +1 -1
  83. package/package.json +1 -1
  84. package/request/process.js +1 -1
  85. package/rest/knowledgeGraph/CreateReplicaResponse.d.ts +37 -0
  86. package/rest/knowledgeGraph/CreateReplicaResponse.js +2 -0
  87. package/rest/knowledgeGraph/ReplicaDefinition.d.ts +91 -0
  88. package/rest/knowledgeGraph/ReplicaDefinition.js +2 -0
  89. package/rest/knowledgeGraph/ReplicasInformationResponse.d.ts +24 -0
  90. package/rest/knowledgeGraph/ReplicasInformationResponse.js +2 -0
  91. package/rest/knowledgeGraph/UnregisterReplicaResponse.d.ts +44 -0
  92. package/rest/knowledgeGraph/UnregisterReplicaResponse.js +2 -0
  93. package/rest/knowledgeGraph/wasmInterface/replicaToWasmEncodedFactories.js +2 -0
  94. package/rest/knowledgeGraph/wasmInterface/wasmToReplicaFactories.js +2 -0
  95. package/rest/knowledgeGraphService.d.ts +50 -1
  96. package/rest/knowledgeGraphService.js +1 -1
  97. package/support/revision.js +1 -1
  98. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
  99. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  100. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/FillShader.js +1 -1
  101. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
  102. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/OutlineFillShader.js +1 -1
  103. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
  104. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  105. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  106. package/views/2d/layers/BaseDynamicLayerView2D.js +1 -1
  107. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  108. package/views/2d/layers/TileLayerView2D.js +1 -1
  109. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  110. package/views/2d/layers/WMSLayerView2D.js +1 -1
  111. package/views/2d/layers/WMTSLayerView2D.js +1 -1
  112. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  113. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  114. package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
  115. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  116. package/views/3d/layers/IntegratedMesh3DTilesLayerWorker.js +2 -0
  117. package/views/3d/layers/IntegratedMesh3DTilesLayerWorkerHandle.js +2 -0
  118. package/views/3d/layers/TileLayerView3D.js +1 -1
  119. package/views/3d/layers/WMTSLayerView3D.js +1 -1
  120. package/views/3d/layers/graphics/tessellationUtils.js +1 -1
  121. package/views/3d/layers/support/IntegratedMesh3DTilesVertexProcessing.js +2 -0
  122. package/views/3d/layers/support/makeScheduleFunction.js +1 -1
  123. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  124. package/views/3d/terrain/TerrainData.js +1 -1
  125. package/views/3d/terrain/TerrainSurface.js +1 -1
  126. package/views/3d/terrain/Tile.js +1 -1
  127. package/views/3d/terrain/TileRenderer.js +1 -1
  128. package/views/3d/terrain/terrainUtils.js +1 -1
  129. package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
  130. package/views/3d/webgl-engine/materials/VisualVariablePassParameters.js +1 -1
  131. package/views/3d/webgl-engine/shaders/ShadowCastVisualize.glsl.js +1 -1
  132. package/views/3d/webgl-engine/shaders/colorRampParameters.js +2 -0
  133. package/views/support/TextureCompressionWorker.js +1 -1
  134. package/views/support/TextureCompressionWorkerHandle.js +1 -1
  135. package/views/webgl/Texture.js +1 -1
  136. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  137. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  138. package/widgets/OrientedImageryViewer/css.js +1 -1
  139. package/widgets/OrientedImageryViewer.js +1 -1
  140. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  141. package/assets/esri/core/workers/chunks/05c3146d87d917606193.js +0 -1
  142. package/assets/esri/core/workers/chunks/0b77c124b743067e4155.js +0 -1
  143. package/assets/esri/core/workers/chunks/11241781baaed346af52.js +0 -1
  144. package/assets/esri/core/workers/chunks/1d9560eb8b21b9e76616.js +0 -1
  145. package/assets/esri/core/workers/chunks/2bd69a7734d170e190ed.js +0 -1
  146. package/assets/esri/core/workers/chunks/2c87c3112a43db8624f6.js +0 -1
  147. package/assets/esri/core/workers/chunks/3a58708217a9c11836ab.js +0 -1
  148. package/assets/esri/core/workers/chunks/3bbf684ee2484eb44c9f.js +0 -1
  149. package/assets/esri/core/workers/chunks/49fb9c47070641bce9a9.js +0 -1
  150. package/assets/esri/core/workers/chunks/5417308eba30e668b1ee.js +0 -1
  151. package/assets/esri/core/workers/chunks/62b3e933f548ce354b99.js +0 -1
  152. package/assets/esri/core/workers/chunks/6e70e922331704b92a08.js +0 -1
  153. package/assets/esri/core/workers/chunks/7c7c11c0fde8b63e330b.js +0 -1
  154. package/assets/esri/core/workers/chunks/7cee7ffaf941a4fe23b0.js +0 -596
  155. package/assets/esri/core/workers/chunks/7f55eef696e9ed717bfc.js +0 -1
  156. package/assets/esri/core/workers/chunks/89dbea6f436d45a3b185.js +0 -1
  157. package/assets/esri/core/workers/chunks/9d216e30d04ea21fc8a2.js +0 -1
  158. package/assets/esri/core/workers/chunks/a5d8d6f3c0c8de474efd.js +0 -1
  159. package/assets/esri/core/workers/chunks/a809b811121099a87a98.js +0 -1
  160. package/assets/esri/core/workers/chunks/c02ba921c0a32d2021e3.js +0 -1
  161. package/assets/esri/core/workers/chunks/c3c19b62d948d53118a8.js +0 -1
  162. package/assets/esri/core/workers/chunks/c46a4adea39636a96d03.js +0 -1
  163. package/assets/esri/core/workers/chunks/c5507480344176fad241.js +0 -1
  164. package/assets/esri/core/workers/chunks/c6030271bd6d39b6e1db.js +0 -1
  165. package/assets/esri/core/workers/chunks/d1a7d13e1d48abcd7bf1.js +0 -1
  166. package/assets/esri/core/workers/chunks/dcbc4072c18278c2b67d.js +0 -1
  167. package/assets/esri/core/workers/chunks/e610d24539a675fb054b.js +0 -1
  168. package/assets/esri/core/workers/chunks/ecb7ede6a8e6c05e4c6c.js +0 -1
  169. package/assets/esri/core/workers/chunks/f227b34cce6843df0fb6.js +0 -1
  170. package/request/ImageWithType.js +0 -2
  171. package/views/3d/layers/support/fetchTile.js +0 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9078],{5482(e,t,r){function n(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function i(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>n,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function o(e){function t(t){e.error=e.hasError?new s(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,o,a,u,l,c,h,p,f,d,y){return[e,t,r,n,i,s,o,a,u,l,c,h,p,f,d,y]}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,r){function n(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function s(e,t,r){return[e,t,r]}function o(e,t,r){return[e,t,r]}function a(e,t=[0,0,0]){const r=Math.min(3,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function u(){return[0,0,0]}function l(){return s(1,1,1)}function c(){return s(1,0,0)}function h(){return s(0,1,0)}function p(){return s(0,0,1)}r.d(t,{CN:()=>o,Cb:()=>m,Cw:()=>y,JP:()=>g,S:()=>l,Ul:()=>u,Un:()=>d,ci:()=>a,fA:()=>s,o8:()=>i,uY:()=>f,vt:()=>n});const f=[0,0,0],d=l(),y=c(),g=h(),m=p();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:y,UNIT_Y:g,UNIT_Z:m,ZEROS:f,clone:i,create:n,freeze:o,fromArray:a,fromValues:s,ones:l,unitX:c,unitY:h,unitZ:p,zeros:u},Symbol.toStringTag,{value:"Module"}))},34304(e,t,r){r.d(t,{DF:()=>u,FD:()=>i,Ov:()=>s,ct:()=>l});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,a=180/Math.PI;function u(e){return e*o}function l(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){n=e},toDegree:l,toRadian:u},Symbol.toStringTag,{value:"Module"}))},35522(e,t,r){r.d(t,{$A:()=>T,Bw:()=>s,C:()=>o,Cc:()=>k,DI:()=>x,Il:()=>z,Io:()=>_,Ln:()=>m,Om:()=>S,Qr:()=>h,Re:()=>l,S8:()=>w,T9:()=>y,WQ:()=>u,Z0:()=>I,_S:()=>f,aI:()=>O,ei:()=>A,fw:()=>V,g7:()=>C,gL:()=>P,hG:()=>b,hZ:()=>a,hs:()=>g,jb:()=>G,jk:()=>d,lo:()=>E,lw:()=>c,m3:()=>M,oW:()=>q,t2:()=>R,tn:()=>p,uE:()=>U,xg:()=>D,ze:()=>v});var n=r(51850),i=r(34304);function s(e){const t=e[0],r=e[1],n=e[2];return Math.sqrt(t*t+r*r+n*n)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e}function u(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function l(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function h(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function p(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function d(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function y(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function g(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function m(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e}function _(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}function b(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return r*r+n*n+i*i}function M(e){const t=e[0],r=e[1],n=e[2];return t*t+r*r+n*n}function v(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const r=t[0],n=t[1],i=t[2];let s=r*r+n*n+i*i;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function T(e,t,r){const n=t[0],i=t[1],s=t[2],o=r[0],a=r[1],u=r[2];return e[0]=i*u-s*a,e[1]=s*o-n*u,e[2]=n*a-i*o,e}function k(e,t,r,n){const i=t[0],s=t[1],o=t[2];return e[0]=i+n*(r[0]-i),e[1]=s+n*(r[1]-s),e[2]=o+n*(r[2]-o),e}function I(e,t,r){const n=t[0],i=t[1],s=t[2];return e[0]=r[0]*n+r[4]*i+r[8]*s+r[12],e[1]=r[1]*n+r[5]*i+r[9]*s+r[13],e[2]=r[2]*n+r[6]*i+r[10]*s+r[14],e}function A(e,t,r){const n=t[0],i=t[1],s=t[2];return e[0]=n*r[0]+i*r[3]+s*r[6],e[1]=n*r[1]+i*r[4]+s*r[7],e[2]=n*r[2]+i*r[5]+s*r[8],e}function P(e,t,r){return V(e,t,r[0],r[1],r[2],r[3])}function V(e,t,r,n,i,s){const o=t[0],a=t[1],u=t[2],l=n*u-i*a,c=i*o-r*u,h=r*a-n*o,p=n*h-i*c,f=i*l-r*h,d=r*c-n*l,y=2*s;return e[0]=o+l*y+2*p,e[1]=a+c*y+2*f,e[2]=u+h*y+2*d,e}function C(e,t){w(N,e),w(F,t);const r=S(N,F);return r>1?0:r<-1?Math.PI:Math.acos(r)}const N=(0,n.vt)(),F=(0,n.vt)();function R(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const r=e[0],n=e[1],s=e[2],o=t[0],a=t[1],u=t[2],l=(0,i.FD)();return Math.abs(r-o)<=l*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(n-a)<=l*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-u)<=l*Math.max(1,Math.abs(s),Math.abs(u))}function q(e,t,r){const n=r[0]-t[0],i=r[1]-t[1],s=r[2]-t[2];let o=n*n+i*i+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=n*o,e[1]=i*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const G=l,j=c,Z=h,D=_,E=b,z=s,U=M;Object.freeze(Object.defineProperty({__proto__:null,abs:p,add:u,angle:C,bezier:function(e,t,r,n,i,s){const o=1-s,a=o*o,u=s*s,l=a*o,c=3*s*a,h=3*u*o,p=u*s;return e[0]=t[0]*l+r[0]*c+n[0]*h+i[0]*p,e[1]=t[1]*l+r[1]*c+n[1]*h+i[1]*p,e[2]=t[2]*l+r[2]*c+n[2]*h+i[2]*p,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:o,cross:T,crossAndNormalize:function(e,t,r){const n=t[0],i=t[1],s=t[2],o=r[0],a=r[1],u=r[2],l=i*u-s*a,c=s*o-n*u,h=n*a-i*o,p=Math.sqrt(l*l+c*c+h*h);return e[0]=l/p,e[1]=c/p,e[2]=h/p,e},direction:q,dist:D,distance:_,div:Z,divide:h,dot:S,equals:O,exactEquals:R,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,n,i,s){const o=s*s,a=o*(2*s-3)+1,u=o*(s-2)+s,l=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*a+r[0]*u+n[0]*l+i[0]*c,e[1]=t[1]*a+r[1]*u+n[1]*l+i[1]*c,e[2]=t[2]*a+r[2]*u+n[2]*l+i[2]*c,e},inverse:x,len:z,length:s,lerp:k,max:y,min:d,mul:j,multiply:c,negate:v,normalize:w,random:function(e,t=1){const r=i.Ov,n=2*r()*Math.PI,s=2*r()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(n)*o,e[1]=Math.sin(n)*o,e[2]=s*t,e},rotateX:function(e,t,r,n){const i=[],s=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],s[0]=i[0],s[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),s[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateY:function(e,t,r,n){const i=[],s=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],s[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),s[1]=i[1],s[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateZ:function(e,t,r,n){const i=[],s=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],s[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),s[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),s[2]=i[2],e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:m,set:a,sign:f,sqrDist:E,sqrLen:U,squaredDistance:b,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:G,subtract:l,transformMat3:A,transformMat4:I,transformQuat:P,transformQuatValues:V},Symbol.toStringTag,{value:"Module"}))},69397(e,t,r){r.d(t,{Qf:()=>u,Qh:()=>o,RS:()=>i,Ul:()=>f,i5:()=>p,lM:()=>s,qK:()=>c});var n=r(34275);const i=16;function s(e){if(!e)return 0;let t=c;for(const r in e)e.hasOwnProperty(r)&&(t+=a(e[r],!1));return t}function o(e){if(!e)return 0;if("number"==typeof e[0])return u(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return l(e,8);let r=h;for(let n=0;n<t;n++)r+=a(e[n]);return r}(e);let t=c;for(const r in e)e.hasOwnProperty(r)&&(t+=a(e[r]));return t}function a(e,t=!0){switch(typeof e){case"object":return t?o(e):c;case"string":return function(e){return 32+e.length}(e);case"number":return i;case"boolean":return 4;default:return 8}}function u(...e){return e.reduce((e,t)=>e+(t?(0,n.iu)(t)?t.byteLength+p:Array.isArray(t)?l(t,i):0:0),0)}function l(e,t){return h+e.length*t}const c=32,h=16,p=145,f=64},51624(e,t,r){r.d(t,{A:()=>l});var n=r(44208),i=r(69397),s=r(93687);const o=4294967296,a=new TextDecoder("utf-8"),u=(0,n.A)("safari")||(0,n.A)("ios")?6:(0,n.A)("ff")?12:32;class l{constructor(e,t,r=0,n=e?.byteLength??0){this._tag=0,this._dataType=99,this._init(e,t,r,n)}[Symbol.dispose](){this.release()}_init(e,t,r,n){this._data=e,this._dataView=t,this._pos=r,this._end=n}get usedMemory(){return 64+(0,i.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(e,t,r=0,n=e?.byteLength??0){const i=l.pool.acquire();return i._init(e,t,r,n),i}pos(){return this._pos}move(e){this._pos=e}nextTag(e){for(;;){if(this._pos===this._end)return!1;const t=this._decodeVarint();if(this._tag=t>>3,this._dataType=7&t,!e||e===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const e=this._decodeVarint();return this._tag=e>>3,this._dataType=7&e,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let e=4294967295;if(e=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return e;throw new Error("Varint overflow")}getPackedEnd(){const e=this.getUInt32();return this._pos+e}getUInt64(){return this._decodeVarint()}getSInt32(){const e=this.getUInt32();return e>>>1^-(1&e)}getSInt64(){return this._decodeSVarint()}getBool(){const e=0!==this._data[this._pos];return this._skip(1),e}getEnum(){return this._decodeVarint()}getFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getUint32(t+4,!0)*o;return this._skip(8),r}getSFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getInt32(t+4,!0)*o;return this._skip(8),r}getDouble(){const e=this._dataView.getFloat64(this._pos,!0);return this._skip(8),e}getFixed32(){const e=this._dataView.getUint32(this._pos,!0);return this._skip(4),e}getSFixed32(){const e=this._dataView.getInt32(this._pos,!0);return this._skip(4),e}getFloat(){const e=this._dataView.getFloat32(this._pos,!0);return this._skip(4),e}getString(){const e=this._getLength(),t=this._pos,r=this._toString(this._data,t,t+e);return this._skip(e),r}getBytes(){const e=this._getLength(),t=this._pos,r=this._toBytes(this._data,t,t+e);return this._skip(e),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(e,t,r,n){const i=this.getMessage(),s=e(i,t,r,n);return i.release(),s}processMessage(e){const t=this.getMessage(),r=e(t);return t.release(),r}getMessage(){const e=this._getLength(),t=l.pool.acquire();return t._init(this._data,this._dataView,this._pos,this._pos+e),this._skip(e),t}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(e){this._skip(e)}_skip(e){if(this._pos+e>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=e}_decodeVarint(){const e=this._data;let t=this._pos,r=0,n=0;if(this._end-t>=10)do{if(n=e[t++],r|=127&n,!(128&n))break;if(n=e[t++],r|=(127&n)<<7,!(128&n))break;if(n=e[t++],r|=(127&n)<<14,!(128&n))break;if(n=e[t++],r|=(127&n)<<21,!(128&n))break;if(n=e[t++],r+=268435456*(127&n),!(128&n))break;if(n=e[t++],r+=34359738368*(127&n),!(128&n))break;if(n=e[t++],r+=4398046511104*(127&n),!(128&n))break;if(n=e[t++],r+=562949953421312*(127&n),!(128&n))break;if(n=e[t++],r+=72057594037927940*(127&n),!(128&n))break;if(n=e[t++],r+=0x8000000000000000*(127&n),!(128&n))break;throw new Error("Varint too long!")}while(0);else{let i=1;for(;t!==this._end&&(n=e[t],128&n);)++t,r+=(127&n)*i,i*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=n*i}return this._pos=t,r}_decodeSVarint(){const e=this._data;let t,r=0,n=0;const i=1&e[this._pos];if(n=e[this._pos++],r|=127&n,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<7,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<14,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<21,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r+=268435456*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r+=34359738368*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r+=4398046511104*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(t=BigInt(r),n=e[this._pos++],t+=0x2000000000000n*BigInt(127&n),!(128&n))return Number(i?-(t+1n)/2n:t/2n);if(n=e[this._pos++],t+=0x100000000000000n*BigInt(127&n),!(128&n))return Number(i?-(t+1n)/2n:t/2n);if(n=e[this._pos++],t+=0x8000000000000000n*BigInt(127&n),!(128&n))return Number(i?-(t+1n)/2n:t/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(e,t,r){if((r=Math.min(this._end,r))-t>u){const n=e.subarray(t,r);return a.decode(n)}let n="",i="";for(let s=t;s<r;++s){const t=e[s];128&t?i+="%"+t.toString(16):(n+=decodeURIComponent(i)+String.fromCharCode(t),i="")}return i.length&&(n+=decodeURIComponent(i)),n}_toBytes(e,t,r){return r=Math.min(this._end,r),new Uint8Array(e.buffer,t,r-t)}static{this.pool=new s.A(()=>new l(null,null),void 0,e=>{e._data=null,e._dataView=null})}}},91075(e,t,r){r.d(t,{A:()=>u});var n=r(5482),i=r(25482),s=r(91429),o=r(16930),a=r(36005);let u=class extends i.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const r=new o.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,n.Cg)([(0,s.MZ)()],u.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],u.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],u.prototype,"extent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasM",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasZ",void 0),(0,n.Cg)([(0,s.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],u.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.w)("spatialReference")],u.prototype,"readSpatialReference",null),u=(0,n.Cg)([(0,s.$K)("esri.geometry.Geometry")],u)},86738(e,t,r){r.d(t,{A:()=>b});var n=r(5482),i=r(69622),s=r(53966),o=r(91429),a=r(56507),u=r(91075),l=r(16930),c=r(21325),h=r(28735);function p({x:e,y:t,spatialReference:r},n=[0,0]){if(r){if((0,c.K8)(r))return(0,h.tD)(e,t,n);if((0,c.EA)(r))return n[0]=e,n[1]=t,n}return null}const f=[0,0];var d,y=r(43937),g=r(36005);const m=[0,0];function _(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let b=d=class extends u.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,n,i){let o;if(Array.isArray(e))o=e,i=t,e=o[0],t=o[1],r=o[2],n=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,r=o.z,n=o.m,(i=o.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new l.A(i)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)s.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)s.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&i?.isWebMercator){const r=(0,h.je)(o.longitude,o.latitude,m);e=r[0],t=r[1]}}else _(r)?(i=r,r=null):_(n)&&(i=n,n=null);const a={x:e,y:t};return null==a.x&&null!=a.y?s.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&s.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=r&&(a.z=r),null!=n&&(a.m=n),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return p(this,f)?.[1]??null}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,h.je)(r,e,m)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return p(this,f)?.[0]??null}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,h.je)(e,t,m)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new d;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return d.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:n,m:i,spatialReference:s}=this,{z:o,m:a}=e;let{x:u,y:l,spatialReference:c}=e;if(!s.equals(c))if(s.isWebMercator&&c.isWGS84)[u,l]=(0,h.je)(u,l),c=s;else{if(!s.isWGS84||!c.isWebMercator)return!1;[u,l]=(0,h.tD)(u,l),c=s}return t===u&&r===l&&n===o&&i===a&&s.wkid===c.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,n]=e.valid,i=2*n;let s;return t>n?(s=Math.ceil(Math.abs(t-n)/i),t-=s*i):t<r&&(s=Math.ceil(Math.abs(t-r)/i),t+=s*i),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,n=e.y-t.y,i=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],b.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasM",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasZ",null),(0,n.Cg)([(0,o.MZ)({type:Number})],b.prototype,"latitude",null),(0,n.Cg)([(0,o.MZ)({type:Number})],b.prototype,"longitude",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],b.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],b.prototype,"writeX",null),(0,n.Cg)([(0,g.w)("x")],b.prototype,"readX",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],b.prototype,"y",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],b.prototype,"z",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],b.prototype,"m",void 0),b=d=(0,n.Cg)([(0,o.$K)("esri.geometry.Point")],b),b.prototype.toJSON.isDefaultToJSON=!0},21276(e,t,r){r.d(t,{H:()=>s,f:()=>i});var n=r(49186);function i(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function s(e){e.forEach(i)}},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>o});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function o(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},70328(e,t,r){r.d(t,{BI:()=>b,DC:()=>h,Ej:()=>f,Ie:()=>m,Jt:()=>_,Ne:()=>d,RF:()=>c,aI:()=>v,fA:()=>o,gE:()=>u,hZ:()=>g,iT:()=>p,is:()=>M,qv:()=>x,vI:()=>y,vY:()=>a,v_:()=>w,vt:()=>s,w1:()=>l}),r(35522);var n=r(5443),i=(r(19419),r(4197));function s(e=w){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,n,i,o,a=s()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=o,a}function a(e,t=s()){return function(e,t,r,n=s()){return g(n,x),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],o=e[2],a=e[3],u=e[4],l=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),u=Math.max(u,t[r+3*e+1]),l=Math.max(l,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=a,e[4]=u,e[5]=l}(n,e,t,r),n}(e,0,e.length/3,t)}function u(e,t=(0,i.jh)(24)){const[r,n,s,o,a,u]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=u,t[6]=r,t[7]=a,t[8]=s,t[9]=r,t[10]=a,t[11]=u,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=u,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=u,t}function l(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function d(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function m(e){return e?g(e,x):s(x)}function _(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function v(e,t,r){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];s()},50498(e,t,r){r.d(t,{Ye:()=>h,gy:()=>c,iI:()=>f,yR:()=>p});var n=r(66552),i=r(5443),s=r(91075),o=r(48526),a=r(86738),u=r(39829),l=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:l.A,polygon:u.A}},f=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},28735(e,t,r){r.d(t,{Cv:()=>g,Gh:()=>b,ci:()=>M,je:()=>m,jg:()=>h,tD:()=>_,y7:()=>y,yw:()=>c});var n=r(4718),i=r(21276),s=r(16930),o=r(79258),a=r(21325);function u(e){return 57.29577951308232*e}function l(e){return.017453292519943*e}function c(e){return e/o.$O.radius}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function p(e){return null!=e.wkid||null!=e.wkt}const f=[0,0];function d(e,t,r,n,i){const s=e,o=i;if(o.spatialReference=r,"x"in s&&"x"in o)[o.x,o.y]=t(s.x,s.y,f,n);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=t(s.xmin,s.ymin,f,n),[o.xmax,o.ymax]=t(s.xmax,s.ymax,f,n);else if("paths"in s&&"paths"in o||"rings"in s&&"rings"in o){const e="paths"in s?s.paths:s.rings,r=[];let i;for(let s=0;s<e.length;s++){const o=e[s];i=[],r.push(i);for(let e=0;e<o.length;e++)i.push(t(o[e][0],o[e][1],[0,0],n)),o[e].length>2&&i[e].push(o[e][2]),o[e].length>3&&i[e].push(o[e][3])}"paths"in o?o.paths=r:o.rings=r}else if("points"in s&&"points"in o){const e=s.points,r=[];for(let i=0;i<e.length;i++)r[i]=t(e[i][0],e[i][1],[0,0],n),e[i].length>2&&r[i].push(e[i][2]),e[i].length>3&&r[i].push(e[i][3]);o.points=r}return i}function y(e,t){const r=e&&(p(e)?e:e.spatialReference),n=t&&(p(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!n)&&(!!(0,a.aI)(n,r)||(0,a.K8)(n)&&(0,a.oT)(r)||(0,a.K8)(r)&&(0,a.oT)(n))}function g(e,t){if(null==e)return null;const r=e.spatialReference,i=t&&(p(t)?t:t.spatialReference);return y(r,i)?(0,a.aI)(r,i)?(0,n.o8)(e):(0,a.K8)(i)?d(e,m,s.A.WebMercator,!1,(0,n.o8)(e)):(0,a.oT)(i)?d(e,_,s.A.WGS84,!1,(0,n.o8)(e)):null:null}function m(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const n=l(t);return r[0]=l(e)*o.$O.radius,r[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function _(e,t,r=[0,0],n=!1){if(e===a.Mc[0])r[0]=-180;else if(e===a.Mc[1])r[0]=180;else{const t=u(e/o.$O.radius);r[0]=n?t:t-360*Math.floor((t+180)/360)}return r[1]=u(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),r}function b(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),d(e,m,s.A.WebMercator,t,r)}function M(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),d(e,_,s.A.WGS84,t,r)}},62815(e,t,r){r.d(t,{N:()=>a,d:()=>u});var n=r(86211),i=r(73941),s=r(21325),o=r(52006);function a(e,t,r){const n=u(t,r);if(1!==n)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,n);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const r of e.curvePaths)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.paths)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}}(e,n);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const r of e.curveRings)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.rings)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}}(e,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,n);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return}}function u(e,t){return null==e||null==t||t.vcsWkid||(0,s.aI)(e,t)||(0,i.xP)(e)||(0,i.xP)(t)?1:(0,n.G9)(e)/(0,n.G9)(t)}},39357(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),s=r(25482),o=r(91429);let a=n=class extends s.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}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(5482),s=r(4718),o=r(91429),a=r(39357),u=r(76357),l=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,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,l.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:()=>l});var n=r(5482),i=r(66552),s=r(25482),o=r(91429),a=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let l=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"name",void 0),(0,n.Cg)([(0,a.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),l=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],l)},20437(e,t,r){r.d(t,{A:()=>d});var n,i=r(5482),s=r(66552),o=r(25482),a=r(91429),u=r(56507),l=r(8631),c=r(98453),h=r(36005),p=r(93223);const f=new s.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"});let d=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?f.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,a.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"description",void 0),(0,i.Cg)([(0,h.w)("description")],d.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:l.g,json:{read:{reader:l.r},write:!0}})],d.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,i.Cg)([(0,p.e)(c.m)],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"valueType",void 0),(0,i.Cg)([(0,h.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],d)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),s=r(91429),o=r(76357),a=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,s.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,s.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,a.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>p,g:()=>h});var n,i=r(53177),s=r(76357),o=r(5482),a=r(91429),u=r(93223);let l=class extends s.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],l.prototype,"type",void 0),l=n=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],l);var c=r(41628);const h={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:l}};function p(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 l.fromJSON(e)}return null}},98453(e,t,r){r.d(t,{m:()=>n});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"})},53655(e,t,r){r.d(t,{SH:()=>F,ae:()=>A,cn:()=>y});var n=r(5482),i=r(49186),s=r(51624),o=r(50498);const a=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"],u=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeBigInteger","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],l=["sqlTypeBigInt","sqlTypeBinary","sqlTypeBit","sqlTypeChar","sqlTypeDate","sqlTypeDecimal","sqlTypeDouble","sqlTypeFloat","sqlTypeGeometry","sqlTypeGUID","sqlTypeInteger","sqlTypeLongNVarchar","sqlTypeLongVarbinary","sqlTypeLongVarchar","sqlTypeNChar","sqlTypeNVarchar","sqlTypeOther","sqlTypeReal","sqlTypeSmallInt","sqlTypeSqlXml","sqlTypeTime","sqlTypeTimestamp","sqlTypeTimestamp2","sqlTypeTinyInt","sqlTypeVarbinary","sqlTypeVarchar"],c=["upperLeft","lowerLeft"];function h(e,t){const r=e.getEnum();return r<t.length?t[r]:void 0}function p(e,t){e.featureSet.geometryType=e.usesShortGeometryTypes?o.gy.fromJSON(t):t}function f(e,t=e.featureSet.geometryType){return e.usesShortGeometryTypes?o.gy.toJSON(t):t}function d(e){const t=e.asUnsafe();for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getSInt32();case 5:return t.getUInt32();case 6:return t.getInt64();case 7:return t.getUInt64();case 8:return t.getSInt64();case 9:return t.getBool();default:return t.skip(),null}return null}function y(e){const t=e.asUnsafe(),r={type:u[0]};for(;t.next();)switch(t.tag()){case 1:r.name=t.getString();break;case 2:r.type=h(t,u);break;case 3:r.alias=t.getString();break;case 4:r.sqlType=h(t,l);break;case 5:default:t.skip();break;case 6:r.defaultValue=t.getString()}return r}function g(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.name=r.getString();break;case 2:t.isSystemMaintained=r.getBool();break;default:r.skip()}return t}let m=[];function _(e,t,r){let n=f(t),i=0;const s=e.asUnsafe();for(;s.next();)switch(s.tag()){case 1:1===r?n=f(t,h(s,a)):s.skip();continue;case 2:for(const e=s.getPackedEnd();s.pos()<e;)m[i++]=s.getUInt32();continue;case 3:i>0?(m.length=i,null!=t.geometry(r,n,m)&&(m=[])):t.geometry(r,n,[]);for(const e=s.getPackedEnd();s.pos()<e;)t.coord(s.getSInt64());continue;default:s.skip()}}function b(e,t){const r=[],n=e.asUnsafe();for(;n.next();)if(3!==n.tag())n.skip();else for(const e=n.getPackedEnd();n.pos()<e;)r.push(n.getSInt64());t.centroid(r)}let M=[],v=[],x=[];function w(e,t){const r={stack:[],error:void 0,hasError:!1};try{let i=0;const s=m;let o=0;const a=e.asUnsafe(),u=(0,n.mS)(r,a.clonePooled().asUnsafe(),!1);for(;a.next();)switch(a.tag()){case 2:for(const l=a.getPackedEnd();a.pos()<l;)s[i++]=a.getUInt32();continue;case 3:if(!("curvedGeometry"in t))throw new Error(`Tried to parse curved geometry in a ${t.constructor.name}, which doesn't support them.`);a.processMessageWithArgs(S,o++);continue;case 4:{const c=a.getUInt32(),h=a.pos()+c;if(0===o||0===i||0===c){a.move(h);continue}s.length=i,x.length=v.length=o,t.curvedGeometry(f(t),s,v,x);const{hasZ:p,hasM:d}=t.featureSet,y=[],g=[0,0];function _(){for(let e=0;e<g.length;++e)y[e]=g[e],g[e]=a.getSInt64()}p&&g.push(0),d&&g.push(0);const b=[0,0],w=[0,0],T=b,k=b;let I=0;for(let A=0;A<i;++A){_(),y.fill(0),t.startCurvedPart(g);for(const P=I+s[A];I<P;++I){const V=v[I],C=x[I];switch(V){case 0:for(let N=0;N<C;++N)_(),g[0]+=y[0],g[1]+=y[1],t.lineSegment(y,g);continue;case 1:for(let F=0;F<C;++F)_(),T[0]=a.getSInt64(),T[1]=a.getSInt64(),t.circularArcSegment(y,g,T);continue;case 2:for(let R=0;R<C;++R)_(),b[0]=a.getSInt64(),b[1]=a.getSInt64(),w[0]=a.getSInt64(),w[1]=a.getSInt64(),t.bezierSegment(y,g,b,w);continue;case 3:if(u.move(M[I]),u.getUInt32()<7*C)throw new Error("Not implemented: compressed full circle encoding");for(let O=0;O<C;++O){_(),k[0]=u.getDouble(),k[1]=u.getDouble();const q=u.getDouble(),G=u.getDouble(),j=u.getDouble(),Z=u.getDouble(),D=u.getDouble();t.ellipticArcSegment(y,g,k,q,G,j,Z,D)}continue}}t.finishCurvedPart(g)}continue}default:a.skip()}}catch(E){r.error=E,r.hasError=!0}finally{(0,n.hk)(r)}}function S(e,t){const r=e.asUnsafe();let n=0,i=0,s=0;for(;r.next();)switch(r.tag()){case 1:n=r.getEnum();continue;case 2:i=r.getUInt32();continue;case 3:s=r.pos(),r.skip();continue;default:r.skip()}if(3===n&&0===s)throw new Error("An elliptic arc segment set did not include a parameters array");v[t]=n,x[t]=i,M[t]=s}function T(e,t){t.feature();const r=t.featureSet.features.at(-1);let n=0;const{fields:i}=t.featureSet;for(;e.next();)switch(e.tag()){case 1:if(null==i)throw new Error("A Feature had attributes but the FeatureResult didn't include any fields");r.attributes[i[n++].name]=e.processMessage(d);continue;case 2:e.processMessageWithArgs(_,t,0);continue;case 4:e.processMessageWithArgs(b,t);continue;case 7:e.processMessageWithArgs(w,t);continue;case 11:r.distance=e.getDouble();continue;default:e.skip();continue}t.finishFeature?.()}function k(e){const t=[1,1,1,1],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function I(e){const t=[0,0,0,0],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function A(e){const t={originPosition:c[0]},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.originPosition=h(r,c);break;case 2:t.scale=r.processMessage(k);break;case 3:t.translate=r.processMessage(I);break;default:r.skip()}return t}function P(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.shapeAreaFieldName=r.getString();break;case 2:t.shapeLengthFieldName=r.getString();break;case 3:t.units=r.getString();break;default:r.skip()}return t}function V(e){const t={};for(;e.next();)switch(e.tag()){case 1:t.wkid=e.getUInt32();break;case 5:t.wkt=e.getString();break;case 2:t.latestWkid=e.getUInt32();break;case 3:t.vcsWkid=e.getUInt32();break;case 4:t.latestVcsWkid=e.getUInt32();break;default:e.skip()}return t}function C(e,t){const r=e.asUnsafe();if(t.featureSet.features.length=0,"features"===t.parseOnly?.type){const e=t.parseOnly.indices.values();let n=0,i=e.next().value;for(;r.next();)15===r.tag()&&n++===i?(i=e.next().value,r.processMessageWithArgs(T,t)):r.skip();return}let n=!1;for("metadata"===t.parseOnly?.type&&(n=!0,t.parseOnly.featureCount=0),p(t,"esriGeometryPoint");r.next();)switch(r.tag()){case 1:t.idField(r.getString());continue;case 3:t.featureSet.globalIdFieldName=r.getString();continue;case 4:t.featureSet.geohashFieldName=r.getString();continue;case 5:t.featureSet.geometryProperties=r.processMessage(P);continue;case 7:p(t,h(r,a));continue;case 8:t.featureSet.spatialReference=r.processMessageWithArgs(V);continue;case 10:t.featureSet.hasZ=r.getBool();continue;case 11:t.featureSet.hasM=r.getBool();continue;case 12:t.featureSet.transform=r.processMessage(A);continue;case 9:t.featureSet.exceededTransferLimit=r.getBool();continue;case 13:t.featureSet.fields??=[],t.featureSet.fields.push(r.processMessage(y));continue;case 15:if(n){++t.parseOnly.featureCount,r.skip();continue}r.processMessageWithArgs(T,t);continue;case 2:t.idField(r.processMessage(g));continue;default:r.skip()}}function N(e,t,r){let n=-1;for(;e.next();)switch(e.tag()){case 4:n=e.pos(),e.skip();continue;case 1:e.processMessageWithArgs(C,t);continue;default:e.skip()}if(-1!==n){if(!t.queryGeometry()){const r=e.pos();e.move(n),e.processMessageWithArgs(_,t,1),e.move(r)}r.queryGeometryType=t.queryGeometryType(),r.queryGeometry=t.queryGeometry()}t.finish(),r.featureResult=t.featureSet}function F(e,t){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,{[Symbol.dispose](){m=[],M=[],v=[],x=[]}},!1);try{const r={stack:[],error:void 0,hasError:!1};try{const i=(0,n.mS)(r,s.A.constructPooled(new Uint8Array(e),new DataView(e)),!1);let o;for(;i.next();)2===i.tag()?(o={},i.processMessageWithArgs(N,t,o)):i.skip();return o}catch(e){r.error=e,r.hasError=!0}finally{(0,n.hk)(r)}}catch(e){throw new i.A("query:parsing-pbf","Error while parsing FeatureSet PBF payload",{error:e})}}catch(e){r.error=e,r.hasError=!0}finally{(0,n.hk)(r)}}},63746(e,t,r){function n(e){return class{constructor(){for(const t of e)this[t]=null}}}function i(e,t=1){const{transform:r,hasZ:n,hasM:i}=e;if(null==r)return n&&1!==t?e=>{e[2]*=t}:null;const[s,o]=function(e,t,r,n){let{scale:i,translate:s,originPosition:o}=e;return"upperLeft"===o&&(i=i.map((e,t)=>1===t?-e:e)),t&&(i=i.map((e,t)=>2===t?e*n:e),s=s.map((e,t)=>2===t?e*n:e)),!t&&r&&(i=i.filter((e,t)=>2!==t),s=s.filter((e,t)=>2!==t)),[i,s]}(r,n,i,t),a=e.hasZ?3:2;return e=>{for(let t=0;t<e.length&&(t!==a||0!==e[t]);++t)e[t]=e[t]*s[t]+o[t]}}r.d(t,{Mv:()=>i,_7:()=>n}),r(53966)},66208(e,t,r){r.d(t,{m:()=>i});var n=r(53655);function i(e,t){const{featureResult:r}=(0,n.SH)(e,t);return r}},39078(e,t,r){r.r(t),r.d(t,{default:()=>f});var n=r(24326),i=r(16930),s=r(62815),o=(r(70328),r(19419),r(50498),r(20437));r(44208),r(34727),r(21325);class a{constructor(e,t,r){this.uid=e,this.geometry=t,this.attributes=r,this.visible=!0,this.objectId=null,this.centroid=null}}class u{constructor(){this.exceededTransferLimit=!1,this.features=[],this.fields=[],this.hasM=!1,this.hasZ=!1,this.geometryType=null,this.objectIdFieldName=null,this.globalIdFieldName=null,this.geometryProperties=null,this.geohashFieldName=null,this.spatialReference=null,this.transform=null}}var l=r(63746);class c{constructor(e){this._options=e,this.featureSet=new u,this.usesShortGeometryTypes=!0,this._queryGeometryType=null,this._queryGeometry=null,this.parseOnly=null,this.missingAttributes=[],this._transformInPlace=null,this._attributesClass=null,this._previousX=0,this._previousY=0,this._point=null,this._lengths=null,this._vertex=[],this._part=null,this._parts=null,this._i=0,this._finishVertex=c._finishVertexNonPoint}queryGeometryType(){return this._queryGeometryType}queryGeometry(){return this._queryGeometry}idField(e){"string"==typeof e&&(this.featureSet.objectIdFieldName=e)}finish(){this._options.applyTransform&&(this.featureSet.transform=null);let{spatialReference:e,features:t,fields:r}=this.featureSet;if(!e||e instanceof i.A||(this.featureSet.spatialReference=e=i.A.fromJSON(e)),e)for(const{geometry:r}of t)r&&(r.spatialReference=e);r.forEach((e,t)=>{e instanceof o.A||(r[t]=o.A.fromJSON(e))})}_setVertexTransformer(){const{sourceSpatialReference:e}=this._options,{spatialReference:t,hasZ:r}=this.featureSet,n=r?(0,s.d)(e,t):1;this._transformInPlace??=(0,l.Mv)(this.featureSet,n)}feature(){this._attributesClass??=(0,l._7)(this.featureSet.fields?.map(e=>e.name)??[]),this.featureSet.features.push(new a((0,n.c)(),null,new this._attributesClass)),this._options.applyTransform&&this._setVertexTransformer()}finishFeature(){const{maxStringAttributeLength:e,maxStringAttributeFields:t}=this._options,{attributes:r}=this.featureSet.features.at(-1),n=r[this.featureSet.objectIdFieldName];!function(e,t,r,n){if(t?.size&&null!=r&&e)for(const i in e){if(!t.has(i))continue;const s=e[i];"string"==typeof s&&s.length>r&&(n(i),e[i]="")}}(r,t,e,e=>{null!=n&&this.missingAttributes.push({objectId:n,attribute:e})})}_createPoint(){const{hasZ:e,hasM:t,spatialReference:r}=this.featureSet,n={type:"point",x:0,y:0,spatialReference:r,hasZ:e,hasM:t};return e&&(n.z=0),t&&(n.m=0),n}centroid(e){const{hasZ:t,hasM:r}=this.featureSet,n=this._createPoint();[n.x,n.y]=e,t&&(n.z=e[2]),r&&(n.m=e.at(-1)),this.featureSet.features.at(-1).centroid=n}geometry(e,t,r){this._previousX=this._previousY=0,this._lengths=r;let n,{spatialReference:i,hasZ:s,hasM:o}=this.featureSet;switch(s??=!1,o??=!1,this._vertex=[0,0],s&&this._vertex.push(0),o&&this._vertex.push(0),this._finishVertex=c._finishVertexNonPoint,t){case"esriGeometryPoint":this._point=this._createPoint(),n=this._point,this._finishVertex=s?o?c._finishVertexPointXYZM:c._finishVertexPointXYZ:o?c._finishVertexPointXYM:c._finishVertexPointXY;break;case"esriGeometryMultipoint":n={type:"multipoint",points:[],spatialReference:i,hasZ:s,hasM:o},this._part=n.points,this._parts=[];break;case"esriGeometryPolyline":n={type:"polyline",paths:[],spatialReference:i,hasZ:s,hasM:o},this._parts=n.paths,this._part=[];break;case"esriGeometryPolygon":n={type:"polygon",rings:[],spatialReference:i,hasZ:s,hasM:o},this._parts=n.rings,this._part=[]}1===e?(this._queryGeometry=n,this._queryGeometryType=t,this._options.applyTransform||this._setVertexTransformer()):this.featureSet.features.at(-1).geometry=n}coord(e){const t=this._vertex;t[this._i++]=e,this._i<t.length||(this._i=0,this._transformInPlace&&(t[0]+=this._previousX,t[1]+=this._previousY,[this._previousX,this._previousY]=t,this._transformInPlace(t)),this._finishVertex(this))}static _finishVertexPointXY({_point:e,_vertex:t}){[e.x,e.y]=t}static _finishVertexPointXYZ({_point:e,_vertex:t}){[e.x,e.y,e.z]=t}static _finishVertexPointXYM({_point:e,_vertex:t}){[e.x,e.y,e.m]=t}static _finishVertexPointXYZM({_point:e,_vertex:t}){[e.x,e.y,e.z,e.m]=t}static _finishVertexNonPoint(e){const{_part:t,_parts:r,_lengths:n,_vertex:i}=e;t.push([...i]),t.length<n[r.length]||(e._previousX=e._previousY=0,e._part=[],r.push(t))}}var h=r(66208);class p{_parseFeatureQuery(e){const t=new c(e.options),r=(0,h.m)(e.buffer,t),n={...r,spatialReference:r.spatialReference?.toJSON(),fields:r.fields?r.fields.map(e=>e.toJSON()):void 0,missingAttributes:t.missingAttributes};return Promise.resolve(n)}}function f(){return new p}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9078],{5482(e,t,r){function n(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function i(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>n,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function o(e){function t(t){e.error=e.hasError?new s(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},9093(e,t,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>i,vt:()=>n,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:n,fromValues:function(e,t,r,n,i,s,o,a,u,l,c,h,p,f,d,y){return[e,t,r,n,i,s,o,a,u,l,c,h,p,f,d,y]}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,r){function n(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function s(e,t,r){return[e,t,r]}function o(e,t,r){return[e,t,r]}function a(e,t=[0,0,0]){const r=Math.min(3,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function u(){return[0,0,0]}function l(){return s(1,1,1)}function c(){return s(1,0,0)}function h(){return s(0,1,0)}function p(){return s(0,0,1)}r.d(t,{CN:()=>o,Cb:()=>m,Cw:()=>y,JP:()=>g,S:()=>l,Ul:()=>u,Un:()=>d,ci:()=>a,fA:()=>s,o8:()=>i,uY:()=>f,vt:()=>n});const f=[0,0,0],d=l(),y=c(),g=h(),m=p();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:y,UNIT_Y:g,UNIT_Z:m,ZEROS:f,clone:i,create:n,freeze:o,fromArray:a,fromValues:s,ones:l,unitX:c,unitY:h,unitZ:p,zeros:u},Symbol.toStringTag,{value:"Module"}))},34304(e,t,r){r.d(t,{DF:()=>u,FD:()=>i,Ov:()=>s,ct:()=>l});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,a=180/Math.PI;function u(e){return e*o}function l(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){n=e},toDegree:l,toRadian:u},Symbol.toStringTag,{value:"Module"}))},35522(e,t,r){r.d(t,{$A:()=>T,Bw:()=>s,C:()=>o,Cc:()=>k,DI:()=>x,Il:()=>z,Io:()=>_,Ln:()=>m,Om:()=>S,Qr:()=>h,Re:()=>l,S8:()=>w,T9:()=>y,WQ:()=>u,Z0:()=>I,_S:()=>f,aI:()=>q,ei:()=>A,fw:()=>V,g7:()=>C,gL:()=>P,hG:()=>b,hZ:()=>a,hs:()=>g,jb:()=>G,jk:()=>d,lo:()=>E,lw:()=>c,m3:()=>M,oW:()=>O,t2:()=>R,tn:()=>p,uE:()=>U,xg:()=>D,ze:()=>v});var n=r(51850),i=r(34304);function s(e){const t=e[0],r=e[1],n=e[2];return Math.sqrt(t*t+r*r+n*n)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,r,n){return e[0]=t,e[1]=r,e[2]=n,e}function u(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function l(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function h(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function p(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function d(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function y(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function g(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function m(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e}function _(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(r*r+n*n+i*i)}function b(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2];return r*r+n*n+i*i}function M(e){const t=e[0],r=e[1],n=e[2];return t*t+r*r+n*n}function v(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const r=t[0],n=t[1],i=t[2];let s=r*r+n*n+i*i;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function T(e,t,r){const n=t[0],i=t[1],s=t[2],o=r[0],a=r[1],u=r[2];return e[0]=i*u-s*a,e[1]=s*o-n*u,e[2]=n*a-i*o,e}function k(e,t,r,n){const i=t[0],s=t[1],o=t[2];return e[0]=i+n*(r[0]-i),e[1]=s+n*(r[1]-s),e[2]=o+n*(r[2]-o),e}function I(e,t,r){const n=t[0],i=t[1],s=t[2];return e[0]=r[0]*n+r[4]*i+r[8]*s+r[12],e[1]=r[1]*n+r[5]*i+r[9]*s+r[13],e[2]=r[2]*n+r[6]*i+r[10]*s+r[14],e}function A(e,t,r){const n=t[0],i=t[1],s=t[2];return e[0]=n*r[0]+i*r[3]+s*r[6],e[1]=n*r[1]+i*r[4]+s*r[7],e[2]=n*r[2]+i*r[5]+s*r[8],e}function P(e,t,r){return V(e,t,r[0],r[1],r[2],r[3])}function V(e,t,r,n,i,s){const o=t[0],a=t[1],u=t[2],l=n*u-i*a,c=i*o-r*u,h=r*a-n*o,p=n*h-i*c,f=i*l-r*h,d=r*c-n*l,y=2*s;return e[0]=o+l*y+2*p,e[1]=a+c*y+2*f,e[2]=u+h*y+2*d,e}function C(e,t){w(N,e),w(F,t);const r=S(N,F);return r>1?0:r<-1?Math.PI:Math.acos(r)}const N=(0,n.vt)(),F=(0,n.vt)();function R(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function q(e,t){if(e===t)return!0;const r=e[0],n=e[1],s=e[2],o=t[0],a=t[1],u=t[2],l=(0,i.FD)();return Math.abs(r-o)<=l*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(n-a)<=l*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(s-u)<=l*Math.max(1,Math.abs(s),Math.abs(u))}function O(e,t,r){const n=r[0]-t[0],i=r[1]-t[1],s=r[2]-t[2];let o=n*n+i*i+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=n*o,e[1]=i*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const G=l,j=c,Z=h,D=_,E=b,z=s,U=M;Object.freeze(Object.defineProperty({__proto__:null,abs:p,add:u,angle:C,bezier:function(e,t,r,n,i,s){const o=1-s,a=o*o,u=s*s,l=a*o,c=3*s*a,h=3*u*o,p=u*s;return e[0]=t[0]*l+r[0]*c+n[0]*h+i[0]*p,e[1]=t[1]*l+r[1]*c+n[1]*h+i[1]*p,e[2]=t[2]*l+r[2]*c+n[2]*h+i[2]*p,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:o,cross:T,crossAndNormalize:function(e,t,r){const n=t[0],i=t[1],s=t[2],o=r[0],a=r[1],u=r[2],l=i*u-s*a,c=s*o-n*u,h=n*a-i*o,p=Math.sqrt(l*l+c*c+h*h);return e[0]=l/p,e[1]=c/p,e[2]=h/p,e},direction:O,dist:D,distance:_,div:Z,divide:h,dot:S,equals:q,exactEquals:R,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,n,i,s){const o=s*s,a=o*(2*s-3)+1,u=o*(s-2)+s,l=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*a+r[0]*u+n[0]*l+i[0]*c,e[1]=t[1]*a+r[1]*u+n[1]*l+i[1]*c,e[2]=t[2]*a+r[2]*u+n[2]*l+i[2]*c,e},inverse:x,len:z,length:s,lerp:k,max:y,min:d,mul:j,multiply:c,negate:v,normalize:w,random:function(e,t=1){const r=i.Ov,n=2*r()*Math.PI,s=2*r()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(n)*o,e[1]=Math.sin(n)*o,e[2]=s*t,e},rotateX:function(e,t,r,n){const i=[],s=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],s[0]=i[0],s[1]=i[1]*Math.cos(n)-i[2]*Math.sin(n),s[2]=i[1]*Math.sin(n)+i[2]*Math.cos(n),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateY:function(e,t,r,n){const i=[],s=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],s[0]=i[2]*Math.sin(n)+i[0]*Math.cos(n),s[1]=i[1],s[2]=i[2]*Math.cos(n)-i[0]*Math.sin(n),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateZ:function(e,t,r,n){const i=[],s=[];return i[0]=t[0]-r[0],i[1]=t[1]-r[1],i[2]=t[2]-r[2],s[0]=i[0]*Math.cos(n)-i[1]*Math.sin(n),s[1]=i[0]*Math.sin(n)+i[1]*Math.cos(n),s[2]=i[2],e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:m,set:a,sign:f,sqrDist:E,sqrLen:U,squaredDistance:b,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:G,subtract:l,transformMat3:A,transformMat4:I,transformQuat:P,transformQuatValues:V},Symbol.toStringTag,{value:"Module"}))},69397(e,t,r){r.d(t,{Qf:()=>u,Qh:()=>o,RS:()=>i,Ul:()=>f,i5:()=>p,lM:()=>s,qK:()=>c});var n=r(34275);const i=16;function s(e){if(!e)return 0;let t=c;for(const r in e)e.hasOwnProperty(r)&&(t+=a(e[r],!1));return t}function o(e){if(!e)return 0;if("number"==typeof e[0])return u(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return l(e,8);let r=h;for(let n=0;n<t;n++)r+=a(e[n]);return r}(e);let t=c;for(const r in e)e.hasOwnProperty(r)&&(t+=a(e[r]));return t}function a(e,t=!0){switch(typeof e){case"object":return t?o(e):c;case"string":return function(e){return 32+e.length}(e);case"number":return i;case"boolean":return 4;default:return 8}}function u(...e){return e.reduce((e,t)=>e+(t?(0,n.iu)(t)?t.byteLength+p:Array.isArray(t)?l(t,i):0:0),0)}function l(e,t){return h+e.length*t}const c=32,h=16,p=145,f=64},51624(e,t,r){r.d(t,{A:()=>l});var n=r(44208),i=r(69397),s=r(93687);const o=4294967296,a=new TextDecoder("utf-8"),u=(0,n.A)("safari")||(0,n.A)("ios")?6:(0,n.A)("ff")?12:32;class l{constructor(e,t,r=0,n=e?.byteLength??0){this._tag=0,this._dataType=99,this._init(e,t,r,n)}[Symbol.dispose](){this.release()}_init(e,t,r,n){this._data=e,this._dataView=t,this._pos=r,this._end=n}get usedMemory(){return 64+(0,i.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(e,t,r=0,n=e?.byteLength??0){const i=l.pool.acquire();return i._init(e,t,r,n),i}pos(){return this._pos}move(e){this._pos=e}nextTag(e){for(;;){if(this._pos===this._end)return!1;const t=this._decodeVarint();if(this._tag=t>>3,this._dataType=7&t,!e||e===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const e=this._decodeVarint();return this._tag=e>>3,this._dataType=7&e,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let e=4294967295;if(e=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return e;throw new Error("Varint overflow")}getPackedEnd(){const e=this.getUInt32();return this._pos+e}getUInt64(){return this._decodeVarint()}getSInt32(){const e=this.getUInt32();return e>>>1^-(1&e)}getSInt64(){return this._decodeSVarint()}getBool(){const e=0!==this._data[this._pos];return this._skip(1),e}getEnum(){return this._decodeVarint()}getFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getUint32(t+4,!0)*o;return this._skip(8),r}getSFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getInt32(t+4,!0)*o;return this._skip(8),r}getDouble(){const e=this._dataView.getFloat64(this._pos,!0);return this._skip(8),e}getFixed32(){const e=this._dataView.getUint32(this._pos,!0);return this._skip(4),e}getSFixed32(){const e=this._dataView.getInt32(this._pos,!0);return this._skip(4),e}getFloat(){const e=this._dataView.getFloat32(this._pos,!0);return this._skip(4),e}getString(){const e=this._getLength(),t=this._pos,r=this._toString(this._data,t,t+e);return this._skip(e),r}getBytes(){const e=this._getLength(),t=this._pos,r=this._toBytes(this._data,t,t+e);return this._skip(e),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(e,t,r,n){const i=this.getMessage(),s=e(i,t,r,n);return i.release(),s}processMessage(e){const t=this.getMessage(),r=e(t);return t.release(),r}getMessage(){const e=this._getLength(),t=l.pool.acquire();return t._init(this._data,this._dataView,this._pos,this._pos+e),this._skip(e),t}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(e){this._skip(e)}_skip(e){if(this._pos+e>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=e}_decodeVarint(){const e=this._data;let t=this._pos,r=0,n=0;if(this._end-t>=10)do{if(n=e[t++],r|=127&n,!(128&n))break;if(n=e[t++],r|=(127&n)<<7,!(128&n))break;if(n=e[t++],r|=(127&n)<<14,!(128&n))break;if(n=e[t++],r|=(127&n)<<21,!(128&n))break;if(n=e[t++],r+=268435456*(127&n),!(128&n))break;if(n=e[t++],r+=34359738368*(127&n),!(128&n))break;if(n=e[t++],r+=4398046511104*(127&n),!(128&n))break;if(n=e[t++],r+=562949953421312*(127&n),!(128&n))break;if(n=e[t++],r+=72057594037927940*(127&n),!(128&n))break;if(n=e[t++],r+=0x8000000000000000*(127&n),!(128&n))break;throw new Error("Varint too long!")}while(0);else{let i=1;for(;t!==this._end&&(n=e[t],128&n);)++t,r+=(127&n)*i,i*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=n*i}return this._pos=t,r}_decodeSVarint(){const e=this._data;let t,r=0,n=0;const i=1&e[this._pos];if(n=e[this._pos++],r|=127&n,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<7,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<14,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r|=(127&n)<<21,!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r+=268435456*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r+=34359738368*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=e[this._pos++],r+=4398046511104*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(t=BigInt(r),n=e[this._pos++],t+=0x2000000000000n*BigInt(127&n),!(128&n))return Number(i?-(t+1n)/2n:t/2n);if(n=e[this._pos++],t+=0x100000000000000n*BigInt(127&n),!(128&n))return Number(i?-(t+1n)/2n:t/2n);if(n=e[this._pos++],t+=0x8000000000000000n*BigInt(127&n),!(128&n))return Number(i?-(t+1n)/2n:t/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(e,t,r){if((r=Math.min(this._end,r))-t>u){const n=e.subarray(t,r);return a.decode(n)}let n="",i="";for(let s=t;s<r;++s){const t=e[s];128&t?i+="%"+t.toString(16):(n+=decodeURIComponent(i)+String.fromCharCode(t),i="")}return i.length&&(n+=decodeURIComponent(i)),n}_toBytes(e,t,r){return r=Math.min(this._end,r),new Uint8Array(e.buffer,t,r-t)}static{this.pool=new s.A(()=>new l(null,null),void 0,e=>{e._data=null,e._dataView=null})}}},91075(e,t,r){r.d(t,{A:()=>u});var n=r(5482),i=r(25482),s=r(91429),o=r(16930),a=r(36005);let u=class extends i.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const r=new o.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,n.Cg)([(0,s.MZ)()],u.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],u.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],u.prototype,"extent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasM",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasZ",void 0),(0,n.Cg)([(0,s.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],u.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.w)("spatialReference")],u.prototype,"readSpatialReference",null),u=(0,n.Cg)([(0,s.$K)("esri.geometry.Geometry")],u)},86738(e,t,r){r.d(t,{A:()=>b});var n=r(5482),i=r(69622),s=r(53966),o=r(91429),a=r(56507),u=r(91075),l=r(16930),c=r(21325),h=r(28735);function p({x:e,y:t,spatialReference:r},n=[0,0]){if(r){if((0,c.K8)(r))return(0,h.tD)(e,t,n);if((0,c.EA)(r))return n[0]=e,n[1]=t,n}return null}const f=[0,0];var d,y=r(43937),g=r(36005);const m=[0,0];function _(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let b=d=class extends u.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,n,i){let o;if(Array.isArray(e))o=e,i=t,e=o[0],t=o[1],r=o[2],n=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,r=o.z,n=o.m,(i=o.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new l.A(i)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)s.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)s.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&i?.isWebMercator){const r=(0,h.je)(o.longitude,o.latitude,m);e=r[0],t=r[1]}}else _(r)?(i=r,r=null):_(n)&&(i=n,n=null);const a={x:e,y:t};return null==a.x&&null!=a.y?s.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&s.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=r&&(a.z=r),null!=n&&(a.m=n),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return p(this,f)?.[1]??null}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,h.je)(r,e,m)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return p(this,f)?.[0]??null}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,h.je)(e,t,m)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new d;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return d.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:n,m:i,spatialReference:s}=this,{z:o,m:a}=e;let{x:u,y:l,spatialReference:c}=e;if(!s.equals(c))if(s.isWebMercator&&c.isWGS84)[u,l]=(0,h.je)(u,l),c=s;else{if(!s.isWGS84||!c.isWebMercator)return!1;[u,l]=(0,h.tD)(u,l),c=s}return t===u&&r===l&&n===o&&i===a&&s.wkid===c.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,n]=e.valid,i=2*n;let s;return t>n?(s=Math.ceil(Math.abs(t-n)/i),t-=s*i):t<r&&(s=Math.ceil(Math.abs(t-r)/i),t+=s*i),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,n=e.y-t.y,i=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],b.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasM",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasZ",null),(0,n.Cg)([(0,o.MZ)({type:Number})],b.prototype,"latitude",null),(0,n.Cg)([(0,o.MZ)({type:Number})],b.prototype,"longitude",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],b.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],b.prototype,"writeX",null),(0,n.Cg)([(0,g.w)("x")],b.prototype,"readX",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],b.prototype,"y",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],b.prototype,"z",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],b.prototype,"m",void 0),b=d=(0,n.Cg)([(0,o.$K)("esri.geometry.Point")],b),b.prototype.toJSON.isDefaultToJSON=!0},21276(e,t,r){r.d(t,{H:()=>s,f:()=>i});var n=r(49186);function i(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function s(e){e.forEach(i)}},4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>a,jh:()=>s,l5:()=>o});var n=r(34275),i=r(9093);function s(e){return e<=n.y9?new Array(e).fill(0):new Float64Array(e)}function o(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function a(e){return[...e]}function u(e){const t=(0,i.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},70328(e,t,r){r.d(t,{BI:()=>b,DC:()=>h,Ej:()=>f,Ie:()=>m,Jt:()=>_,Ne:()=>d,RF:()=>c,aI:()=>v,fA:()=>o,gE:()=>u,hZ:()=>g,iT:()=>p,is:()=>M,qv:()=>x,vI:()=>y,vY:()=>a,v_:()=>w,vt:()=>s,w1:()=>l}),r(35522);var n=r(5443),i=(r(19419),r(4197));function s(e=w){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,n,i,o,a=s()){return a[0]=e,a[1]=t,a[2]=r,a[3]=n,a[4]=i,a[5]=o,a}function a(e,t=s()){return function(e,t,r,n=s()){return g(n,x),function(e,t,r=0,n=t.length/3){let i=e[0],s=e[1],o=e[2],a=e[3],u=e[4],l=e[5];for(let e=0;e<n;e++)i=Math.min(i,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),u=Math.max(u,t[r+3*e+1]),l=Math.max(l,t[r+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=a,e[4]=u,e[5]=l}(n,e,t,r),n}(e,0,e.length/3,t)}function u(e,t=(0,i.jh)(24)){const[r,n,s,o,a,u]=e;return t[0]=r,t[1]=n,t[2]=s,t[3]=r,t[4]=n,t[5]=u,t[6]=r,t[7]=a,t[8]=s,t[9]=r,t[10]=a,t[11]=u,t[12]=o,t[13]=n,t[14]=s,t[15]=o,t[16]=n,t[17]=u,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=u,t}function l(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new n.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function f(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function d(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function y(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function m(e){return e?g(e,x):s(x)}function _(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=n,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function v(e,t,r){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const x=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];s()},50498(e,t,r){r.d(t,{Ye:()=>h,gy:()=>c,iI:()=>f,yR:()=>p});var n=r(66552),i=r(5443),s=r(91075),o=r(48526),a=r(86738),u=r(39829),l=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:l.A,polygon:u.A}},f=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},28735(e,t,r){r.d(t,{Cv:()=>y,Gh:()=>_,ci:()=>b,je:()=>g,jg:()=>c,tD:()=>m,y7:()=>d});var n=r(4718),i=r(21276),s=r(16930),o=r(79258),a=r(21325);function u(e){return 57.29577951308232*e}function l(e){return.017453292519943*e}function c(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function h(e){return null!=e.wkid||null!=e.wkt}const p=[0,0];function f(e,t,r,n,i){const s=e,o=i;if(o.spatialReference=r,"x"in s&&"x"in o)[o.x,o.y]=t(s.x,s.y,p,n);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=t(s.xmin,s.ymin,p,n),[o.xmax,o.ymax]=t(s.xmax,s.ymax,p,n);else if("paths"in s&&"paths"in o||"rings"in s&&"rings"in o){const e="paths"in s?s.paths:s.rings,r=[];let i;for(let s=0;s<e.length;s++){const o=e[s];i=[],r.push(i);for(let e=0;e<o.length;e++)i.push(t(o[e][0],o[e][1],[0,0],n)),o[e].length>2&&i[e].push(o[e][2]),o[e].length>3&&i[e].push(o[e][3])}"paths"in o?o.paths=r:o.rings=r}else if("points"in s&&"points"in o){const e=s.points,r=[];for(let i=0;i<e.length;i++)r[i]=t(e[i][0],e[i][1],[0,0],n),e[i].length>2&&r[i].push(e[i][2]),e[i].length>3&&r[i].push(e[i][3]);o.points=r}return i}function d(e,t){const r=e&&(h(e)?e:e.spatialReference),n=t&&(h(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!n)&&(!!(0,a.aI)(n,r)||(0,a.K8)(n)&&(0,a.oT)(r)||(0,a.K8)(r)&&(0,a.oT)(n))}function y(e,t){if(null==e)return null;const r=e.spatialReference,i=t&&(h(t)?t:t.spatialReference);return d(r,i)?(0,a.aI)(r,i)?(0,n.o8)(e):(0,a.K8)(i)?f(e,g,s.A.WebMercator,!1,(0,n.o8)(e)):(0,a.oT)(i)?f(e,m,s.A.WGS84,!1,(0,n.o8)(e)):null:null}function g(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const n=l(t);return r[0]=l(e)*o.$O.radius,r[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function m(e,t,r=[0,0],n=!1){if(e===a.Mc[0])r[0]=-180;else if(e===a.Mc[1])r[0]=180;else{const t=u(e/o.$O.radius);r[0]=n?t:t-360*Math.floor((t+180)/360)}return r[1]=u(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),r}function _(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),f(e,g,s.A.WebMercator,t,r)}function b(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),f(e,m,s.A.WGS84,t,r)}},62815(e,t,r){r.d(t,{N:()=>a,d:()=>u});var n=r(86211),i=r(73941),s=r(21325),o=r(52006);function a(e,t,r){const n=u(t,r);if(1!==n)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,n);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const r of e.curvePaths)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.paths)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}}(e,n);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const r of e.curveRings)for(const e of r){const r=(0,o.yP)(e);r.length>2&&(r[2]*=t)}if(e.rings)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}}(e,n);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,n);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,n);default:return}}function u(e,t){return null==e||null==t||t.vcsWkid||(0,s.aI)(e,t)||(0,i.xP)(e)||(0,i.xP)(t)?1:(0,n.G9)(e)/(0,n.G9)(t)}},39357(e,t,r){r.d(t,{A:()=>a});var n,i=r(5482),s=r(25482),o=r(91429);let a=n=class extends s.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}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(5482),s=r(4718),o=r(91429),a=r(39357),u=r(76357),l=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,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,l.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:()=>l});var n=r(5482),i=r(66552),s=r(25482),o=r(91429),a=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let l=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"name",void 0),(0,n.Cg)([(0,a.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),l=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],l)},20437(e,t,r){r.d(t,{A:()=>d});var n,i=r(5482),s=r(66552),o=r(25482),a=r(91429),u=r(56507),l=r(8631),c=r(98453),h=r(36005),p=r(93223);const f=new s.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"});let d=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?f.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,a.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"description",void 0),(0,i.Cg)([(0,h.w)("description")],d.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:l.g,json:{read:{reader:l.r},write:!0}})],d.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,i.Cg)([(0,p.e)(c.m)],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"valueType",void 0),(0,i.Cg)([(0,h.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],d)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(5482),s=r(91429),o=r(76357),a=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,s.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,s.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,a.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>p,g:()=>h});var n,i=r(53177),s=r(76357),o=r(5482),a=r(91429),u=r(93223);let l=class extends s.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],l.prototype,"type",void 0),l=n=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],l);var c=r(41628);const h={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:l}};function p(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 l.fromJSON(e)}return null}},98453(e,t,r){r.d(t,{m:()=>n});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"})},53655(e,t,r){r.d(t,{SH:()=>F,ae:()=>A,cn:()=>y});var n=r(5482),i=r(49186),s=r(51624),o=r(50498);const a=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"],u=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeBigInteger","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],l=["sqlTypeBigInt","sqlTypeBinary","sqlTypeBit","sqlTypeChar","sqlTypeDate","sqlTypeDecimal","sqlTypeDouble","sqlTypeFloat","sqlTypeGeometry","sqlTypeGUID","sqlTypeInteger","sqlTypeLongNVarchar","sqlTypeLongVarbinary","sqlTypeLongVarchar","sqlTypeNChar","sqlTypeNVarchar","sqlTypeOther","sqlTypeReal","sqlTypeSmallInt","sqlTypeSqlXml","sqlTypeTime","sqlTypeTimestamp","sqlTypeTimestamp2","sqlTypeTinyInt","sqlTypeVarbinary","sqlTypeVarchar"],c=["upperLeft","lowerLeft"];function h(e,t){const r=e.getEnum();return r<t.length?t[r]:void 0}function p(e,t){e.featureSet.geometryType=e.usesShortGeometryTypes?o.gy.fromJSON(t):t}function f(e,t=e.featureSet.geometryType){return e.usesShortGeometryTypes?o.gy.toJSON(t):t}function d(e){const t=e.asUnsafe();for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getSInt32();case 5:return t.getUInt32();case 6:return t.getInt64();case 7:return t.getUInt64();case 8:return t.getSInt64();case 9:return t.getBool();default:return t.skip(),null}return null}function y(e){const t=e.asUnsafe(),r={type:u[0]};for(;t.next();)switch(t.tag()){case 1:r.name=t.getString();break;case 2:r.type=h(t,u);break;case 3:r.alias=t.getString();break;case 4:r.sqlType=h(t,l);break;case 5:default:t.skip();break;case 6:r.defaultValue=t.getString()}return r}function g(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.name=r.getString();break;case 2:t.isSystemMaintained=r.getBool();break;default:r.skip()}return t}let m=[];function _(e,t,r){let n=f(t),i=0;const s=e.asUnsafe();for(;s.next();)switch(s.tag()){case 1:1===r?n=f(t,h(s,a)):s.skip();continue;case 2:for(const e=s.getPackedEnd();s.pos()<e;)m[i++]=s.getUInt32();continue;case 3:i>0?(m.length=i,null!=t.geometry(r,n,m)&&(m=[])):t.geometry(r,n,[]);for(const e=s.getPackedEnd();s.pos()<e;)t.coord(s.getSInt64());continue;default:s.skip()}}function b(e,t){const r=[],n=e.asUnsafe();for(;n.next();)if(3!==n.tag())n.skip();else for(const e=n.getPackedEnd();n.pos()<e;)r.push(n.getSInt64());t.centroid(r)}let M=[],v=[],x=[];function w(e,t){const r={stack:[],error:void 0,hasError:!1};try{let i=0;const s=m;let o=0;const a=e.asUnsafe(),u=(0,n.mS)(r,a.clonePooled().asUnsafe(),!1);for(;a.next();)switch(a.tag()){case 2:for(const l=a.getPackedEnd();a.pos()<l;)s[i++]=a.getUInt32();continue;case 3:if(!("curvedGeometry"in t))throw new Error(`Tried to parse curved geometry in a ${t.constructor.name}, which doesn't support them.`);a.processMessageWithArgs(S,o++);continue;case 4:{const c=a.getUInt32(),h=a.pos()+c;if(0===o||0===i||0===c){a.move(h);continue}s.length=i,x.length=v.length=o,t.curvedGeometry(f(t),s,v,x);const{hasZ:p,hasM:d}=t.featureSet,y=[],g=[0,0];function _(){for(let e=0;e<g.length;++e)y[e]=g[e],g[e]=a.getSInt64()}p&&g.push(0),d&&g.push(0);const b=[0,0],w=[0,0],T=b,k=b;let I=0;for(let A=0;A<i;++A){_(),y.fill(0),t.startCurvedPart(g);for(const P=I+s[A];I<P;++I){const V=v[I],C=x[I];switch(V){case 0:for(let N=0;N<C;++N)_(),g[0]+=y[0],g[1]+=y[1],t.lineSegment(y,g);continue;case 1:for(let F=0;F<C;++F)_(),T[0]=a.getSInt64(),T[1]=a.getSInt64(),t.circularArcSegment(y,g,T);continue;case 2:for(let R=0;R<C;++R)_(),b[0]=a.getSInt64(),b[1]=a.getSInt64(),w[0]=a.getSInt64(),w[1]=a.getSInt64(),t.bezierSegment(y,g,b,w);continue;case 3:if(u.move(M[I]),u.getUInt32()<7*C)throw new Error("Not implemented: compressed full circle encoding");for(let q=0;q<C;++q){_(),k[0]=u.getDouble(),k[1]=u.getDouble();const O=u.getDouble(),G=u.getDouble(),j=u.getDouble(),Z=u.getDouble(),D=u.getDouble();t.ellipticArcSegment(y,g,k,O,G,j,Z,D)}continue}}t.finishCurvedPart(g)}continue}default:a.skip()}}catch(E){r.error=E,r.hasError=!0}finally{(0,n.hk)(r)}}function S(e,t){const r=e.asUnsafe();let n=0,i=0,s=0;for(;r.next();)switch(r.tag()){case 1:n=r.getEnum();continue;case 2:i=r.getUInt32();continue;case 3:s=r.pos(),r.skip();continue;default:r.skip()}if(3===n&&0===s)throw new Error("An elliptic arc segment set did not include a parameters array");v[t]=n,x[t]=i,M[t]=s}function T(e,t){t.feature();const r=t.featureSet.features.at(-1);let n=0;const{fields:i}=t.featureSet;for(;e.next();)switch(e.tag()){case 1:if(null==i)throw new Error("A Feature had attributes but the FeatureResult didn't include any fields");r.attributes[i[n++].name]=e.processMessage(d);continue;case 2:e.processMessageWithArgs(_,t,0);continue;case 4:e.processMessageWithArgs(b,t);continue;case 7:e.processMessageWithArgs(w,t);continue;case 11:r.distance=e.getDouble();continue;default:e.skip();continue}t.finishFeature?.()}function k(e){const t=[1,1,1,1],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function I(e){const t=[0,0,0,0],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function A(e){const t={originPosition:c[0]},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.originPosition=h(r,c);break;case 2:t.scale=r.processMessage(k);break;case 3:t.translate=r.processMessage(I);break;default:r.skip()}return t}function P(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.shapeAreaFieldName=r.getString();break;case 2:t.shapeLengthFieldName=r.getString();break;case 3:t.units=r.getString();break;default:r.skip()}return t}function V(e){const t={};for(;e.next();)switch(e.tag()){case 1:t.wkid=e.getUInt32();break;case 5:t.wkt=e.getString();break;case 2:t.latestWkid=e.getUInt32();break;case 3:t.vcsWkid=e.getUInt32();break;case 4:t.latestVcsWkid=e.getUInt32();break;default:e.skip()}return t}function C(e,t){const r=e.asUnsafe();if(t.featureSet.features.length=0,"features"===t.parseOnly?.type){const e=t.parseOnly.indices.values();let n=0,i=e.next().value;for(;r.next();)15===r.tag()&&n++===i?(i=e.next().value,r.processMessageWithArgs(T,t)):r.skip();return}let n=!1;for("metadata"===t.parseOnly?.type&&(n=!0,t.parseOnly.featureCount=0),p(t,"esriGeometryPoint");r.next();)switch(r.tag()){case 1:t.idField(r.getString());continue;case 3:t.featureSet.globalIdFieldName=r.getString();continue;case 4:t.featureSet.geohashFieldName=r.getString();continue;case 5:t.featureSet.geometryProperties=r.processMessage(P);continue;case 7:p(t,h(r,a));continue;case 8:t.featureSet.spatialReference=r.processMessageWithArgs(V);continue;case 10:t.featureSet.hasZ=r.getBool();continue;case 11:t.featureSet.hasM=r.getBool();continue;case 12:t.featureSet.transform=r.processMessage(A);continue;case 9:t.featureSet.exceededTransferLimit=r.getBool();continue;case 13:t.featureSet.fields??=[],t.featureSet.fields.push(r.processMessage(y));continue;case 15:if(n){++t.parseOnly.featureCount,r.skip();continue}r.processMessageWithArgs(T,t);continue;case 2:t.idField(r.processMessage(g));continue;default:r.skip()}}function N(e,t,r){let n=-1;for(;e.next();)switch(e.tag()){case 4:n=e.pos(),e.skip();continue;case 1:e.processMessageWithArgs(C,t);continue;default:e.skip()}if(-1!==n){if(!t.queryGeometry()){const r=e.pos();e.move(n),e.processMessageWithArgs(_,t,1),e.move(r)}r.queryGeometryType=t.queryGeometryType(),r.queryGeometry=t.queryGeometry()}t.finish(),r.featureResult=t.featureSet}function F(e,t){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,{[Symbol.dispose](){m=[],M=[],v=[],x=[]}},!1);try{const r={stack:[],error:void 0,hasError:!1};try{const i=(0,n.mS)(r,s.A.constructPooled(new Uint8Array(e),new DataView(e)),!1);let o;for(;i.next();)2===i.tag()?(o={},i.processMessageWithArgs(N,t,o)):i.skip();return o}catch(e){r.error=e,r.hasError=!0}finally{(0,n.hk)(r)}}catch(e){throw new i.A("query:parsing-pbf","Error while parsing FeatureSet PBF payload",{error:e})}}catch(e){r.error=e,r.hasError=!0}finally{(0,n.hk)(r)}}},63746(e,t,r){function n(e){return class{constructor(){for(const t of e)this[t]=null}}}function i(e,t=1){const{transform:r,hasZ:n,hasM:i}=e;if(null==r)return n&&1!==t?e=>{e[2]*=t}:null;const[s,o]=function(e,t,r,n){let{scale:i,translate:s,originPosition:o}=e;return"upperLeft"===o&&(i=i.map((e,t)=>1===t?-e:e)),t&&(i=i.map((e,t)=>2===t?e*n:e),s=s.map((e,t)=>2===t?e*n:e)),!t&&r&&(i=i.filter((e,t)=>2!==t),s=s.filter((e,t)=>2!==t)),[i,s]}(r,n,i,t),a=e.hasZ?3:2;return e=>{for(let t=0;t<e.length&&(t!==a||0!==e[t]);++t)e[t]=e[t]*s[t]+o[t]}}r.d(t,{Mv:()=>i,_7:()=>n}),r(53966)},66208(e,t,r){r.d(t,{m:()=>i});var n=r(53655);function i(e,t){const{featureResult:r}=(0,n.SH)(e,t);return r}},39078(e,t,r){r.r(t),r.d(t,{default:()=>f});var n=r(24326),i=r(16930),s=r(62815),o=(r(70328),r(19419),r(50498),r(20437));r(44208),r(34727),r(21325);class a{constructor(e,t,r){this.uid=e,this.geometry=t,this.attributes=r,this.visible=!0,this.objectId=null,this.centroid=null}}class u{constructor(){this.exceededTransferLimit=!1,this.features=[],this.fields=[],this.hasM=!1,this.hasZ=!1,this.geometryType=null,this.objectIdFieldName=null,this.globalIdFieldName=null,this.geometryProperties=null,this.geohashFieldName=null,this.spatialReference=null,this.transform=null}}var l=r(63746);class c{constructor(e){this._options=e,this.featureSet=new u,this.usesShortGeometryTypes=!0,this._queryGeometryType=null,this._queryGeometry=null,this.parseOnly=null,this.missingAttributes=[],this._transformInPlace=null,this._attributesClass=null,this._previousX=0,this._previousY=0,this._point=null,this._lengths=null,this._vertex=[],this._part=null,this._parts=null,this._i=0,this._finishVertex=c._finishVertexNonPoint}queryGeometryType(){return this._queryGeometryType}queryGeometry(){return this._queryGeometry}idField(e){"string"==typeof e&&(this.featureSet.objectIdFieldName=e)}finish(){this._options.applyTransform&&(this.featureSet.transform=null);let{spatialReference:e,features:t,fields:r}=this.featureSet;if(!e||e instanceof i.A||(this.featureSet.spatialReference=e=i.A.fromJSON(e)),e)for(const{geometry:r}of t)r&&(r.spatialReference=e);r.forEach((e,t)=>{e instanceof o.A||(r[t]=o.A.fromJSON(e))})}_setVertexTransformer(){const{sourceSpatialReference:e}=this._options,{spatialReference:t,hasZ:r}=this.featureSet,n=r?(0,s.d)(e,t):1;this._transformInPlace??=(0,l.Mv)(this.featureSet,n)}feature(){this._attributesClass??=(0,l._7)(this.featureSet.fields?.map(e=>e.name)??[]),this.featureSet.features.push(new a((0,n.c)(),null,new this._attributesClass)),this._options.applyTransform&&this._setVertexTransformer()}finishFeature(){const{maxStringAttributeLength:e,maxStringAttributeFields:t}=this._options,{attributes:r}=this.featureSet.features.at(-1),n=r[this.featureSet.objectIdFieldName];!function(e,t,r,n){if(t?.size&&null!=r&&e)for(const i in e){if(!t.has(i))continue;const s=e[i];"string"==typeof s&&s.length>r&&(n(i),e[i]="")}}(r,t,e,e=>{null!=n&&this.missingAttributes.push({objectId:n,attribute:e})})}_createPoint(){const{hasZ:e,hasM:t,spatialReference:r}=this.featureSet,n={type:"point",x:0,y:0,spatialReference:r,hasZ:e,hasM:t};return e&&(n.z=0),t&&(n.m=0),n}centroid(e){const{hasZ:t,hasM:r}=this.featureSet,n=this._createPoint();[n.x,n.y]=e,t&&(n.z=e[2]),r&&(n.m=e.at(-1)),this.featureSet.features.at(-1).centroid=n}geometry(e,t,r){this._previousX=this._previousY=0,this._lengths=r;let n,{spatialReference:i,hasZ:s,hasM:o}=this.featureSet;switch(s??=!1,o??=!1,this._vertex=[0,0],s&&this._vertex.push(0),o&&this._vertex.push(0),this._finishVertex=c._finishVertexNonPoint,t){case"esriGeometryPoint":this._point=this._createPoint(),n=this._point,this._finishVertex=s?o?c._finishVertexPointXYZM:c._finishVertexPointXYZ:o?c._finishVertexPointXYM:c._finishVertexPointXY;break;case"esriGeometryMultipoint":n={type:"multipoint",points:[],spatialReference:i,hasZ:s,hasM:o},this._part=n.points,this._parts=[];break;case"esriGeometryPolyline":n={type:"polyline",paths:[],spatialReference:i,hasZ:s,hasM:o},this._parts=n.paths,this._part=[];break;case"esriGeometryPolygon":n={type:"polygon",rings:[],spatialReference:i,hasZ:s,hasM:o},this._parts=n.rings,this._part=[]}1===e?(this._queryGeometry=n,this._queryGeometryType=t,this._options.applyTransform||this._setVertexTransformer()):this.featureSet.features.at(-1).geometry=n}coord(e){const t=this._vertex;t[this._i++]=e,this._i<t.length||(this._i=0,this._transformInPlace&&(t[0]+=this._previousX,t[1]+=this._previousY,[this._previousX,this._previousY]=t,this._transformInPlace(t)),this._finishVertex(this))}static _finishVertexPointXY({_point:e,_vertex:t}){[e.x,e.y]=t}static _finishVertexPointXYZ({_point:e,_vertex:t}){[e.x,e.y,e.z]=t}static _finishVertexPointXYM({_point:e,_vertex:t}){[e.x,e.y,e.m]=t}static _finishVertexPointXYZM({_point:e,_vertex:t}){[e.x,e.y,e.z,e.m]=t}static _finishVertexNonPoint(e){const{_part:t,_parts:r,_lengths:n,_vertex:i}=e;t.push([...i]),t.length<n[r.length]||(e._previousX=e._previousY=0,e._part=[],r.push(t))}}var h=r(66208);class p{_parseFeatureQuery(e){const t=new c(e.options),r=(0,h.m)(e.buffer,t),n={...r,spatialReference:r.spatialReference?.toJSON(),fields:r.fields?r.fields.map(e=>e.toJSON()):void 0,missingAttributes:t.missingAttributes};return Promise.resolve(n)}}function f(){return new p}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4594],{50867(t,e,r){r.d(e,{a:()=>i,b:()=>a,l:()=>c,n:()=>o,t:()=>u});var n=r(40876),s=(r(44208),r(72727));function i(t,e,r){u(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function u(t,e,r,n=4,i=n){const u=(0,s.k)(t.length,n,4),o=(0,s.k)(e.length,i,4),f=Math.min(u,o),c=r[0],a=r[1],l=r[2],h=r[3],y=r[4],p=r[5],d=r[6],m=r[7],B=r[8];let M=0,T=0;for(let r=0;r<f;r++){const r=e[M],s=e[M+1],u=e[M+2],o=e[M+3];t[T]=c*r+h*s+d*u,t[T+1]=a*r+y*s+m*u,t[T+2]=l*r+p*s+B*u,t[T+3]=o,M+=i,T+=n}}function o(t,e){const r=Math.min(t.count,e.count),n=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,u=e.typedBufferStride;for(let t=0;t<r;t++){const e=t*s,r=t*u,o=i[r],f=i[r+1],c=i[r+2],a=o*o+f*f+c*c;if(a>0){const t=1/Math.sqrt(a);n[e]=t*o,n[e+1]=t*f,n[e+2]=t*c}}}function f(t,e,r,n=4){const s=Math.min(t.length/n,e.count),i=e.typedBuffer,u=e.typedBufferStride;let o=0,f=0;for(let e=0;e<s;e++)t[f]=r*i[o],t[f+1]=r*i[o+1],t[f+2]=r*i[o+2],t[f+3]=r*i[o+3],o+=u,f+=n}function c(t,e,r,n){a(t.typedBuffer,e,r,n,t.typedBufferStride)}function a(t,e,r,s,i=4){const u=Math.min(t.length/i,e.count),o=e.typedBuffer,f=e.typedBufferStride;let c=0,a=0;const l=1/n.Tf;for(let e=0;e<u;e++)t[a]=s*(r*o[c])**l,t[a+1]=s*(r*o[c+1])**l,t[a+2]=s*(r*o[c+2])**l,t[a+3]=s*r*o[c+3],c+=f,a+=i}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:a,linearToSRGBView:c,normalize:o,scale:f,scaleView:function(t,e,r){f(t.typedBuffer,e,r,t.typedBufferStride)},transformMat3:u,transformMat3View:i,transformMat4:function(t,e,r,n=4,i=n){const u=(0,s.k)(t.length,n,4),o=(0,s.k)(e.length,i,4),f=Math.min(u,o),c=r[0],a=r[1],l=r[2],h=r[3],y=r[4],p=r[5],d=r[6],m=r[7],B=r[8],M=r[9],T=r[10],E=r[11],g=r[12],b=r[13],S=r[14],A=r[15];let x=0,v=0;for(let r=0;r<f;r++){const r=e[x],s=e[x+1],u=e[x+2],o=e[x+3];t[v]=c*r+y*s+B*u+g*o,t[v+1]=a*r+p*s+M*u+b*o,t[v+2]=l*r+d*s+T*u+S*o,t[v+3]=h*r+m*s+E*u+A*o,x+=i,v+=n}},transformMat4View:function(t,e,r){const n=t.typedBuffer,i=t.typedBufferStride,u=e.typedBuffer,o=e.typedBufferStride,f=(0,s.k)(n.length,i,4),c=(0,s.k)(u.length,o,4),a=Math.min(f,c),l=r[0],h=r[1],y=r[2],p=r[3],d=r[4],m=r[5],B=r[6],M=r[7],T=r[8],E=r[9],g=r[10],b=r[11],S=r[12],A=r[13],x=r[14],v=r[15];for(let t=0;t<a;t++){const e=t*i,r=t*o,s=u[r],f=u[r+1],c=u[r+2],a=u[r+3];n[e]=l*s+d*f+T*c+S*a,n[e+1]=h*s+m*f+E*c+A*a,n[e+2]=y*s+B*f+g*c+x*a,n[e+3]=p*s+M*f+b*c+v*a}}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,r){function n(){return[0,0]}function s(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function u(){return i(1,1)}function o(){return i(1,0)}function f(){return i(0,1)}r.d(e,{Un:()=>c,fA:()=>i,o8:()=>s,vt:()=>n});const c=u(),a=o(),l=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:a,UNIT_Y:l,ZEROS:[0,0],clone:s,create:n,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const r=Math.min(2,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:i,ones:u,unitX:o,unitY:f,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,e,r){function n(){return[0,0,0,0]}function s(t,e,r,n){return[t,e,r,n]}function i(t,e,r,n){return[t,e,r,n]}function u(){return s(1,1,1,1)}function o(){return s(1,0,0,0)}function f(){return s(0,1,0,0)}function c(){return s(0,0,1,0)}function a(){return s(0,0,0,1)}r.d(e,{CN:()=>i,Un:()=>h,fA:()=>s,uY:()=>l,vt:()=>n});const l=[0,0,0,0],h=u(),y=o(),p=f(),d=c(),m=a();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:y,UNIT_Y:p,UNIT_Z:d,ZEROS:l,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:n,freeze:i,fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:s,ones:u,unitW:a,unitX:o,unitY:f,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,e,r){r.d(e,{$0:()=>m,$h:()=>v,B8:()=>c,C:()=>i,D_:()=>o,N9:()=>M,O7:()=>x,Tl:()=>l,X_:()=>b,aI:()=>N,e$:()=>y,eL:()=>p,hM:()=>B,hZ:()=>u,hs:()=>h,kN:()=>d,l:()=>S,lw:()=>a,mg:()=>f,o1:()=>A,sC:()=>g,t2:()=>C,t5:()=>w,tZ:()=>L,ut:()=>F,v3:()=>_});var n=r(51850),s=r(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function u(t,e,r,n,s,i,u,o,f,c,a,l,h,y,p,d,m){return t[0]=e,t[1]=r,t[2]=n,t[3]=s,t[4]=i,t[5]=u,t[6]=o,t[7]=f,t[8]=c,t[9]=a,t[10]=l,t[11]=h,t[12]=y,t[13]=p,t[14]=d,t[15]=m,t}function o(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function f(t,e){if(t===e){const r=e[1],n=e[2],s=e[3],i=e[6],u=e[7],o=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=r,t[6]=e[9],t[7]=e[13],t[8]=n,t[9]=i,t[11]=e[14],t[12]=s,t[13]=u,t[14]=o}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t}function c(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=e[4],o=e[5],f=e[6],c=e[7],a=e[8],l=e[9],h=e[10],y=e[11],p=e[12],d=e[13],m=e[14],B=e[15],M=r*o-n*u,T=r*f-s*u,E=r*c-i*u,g=n*f-s*o,b=n*c-i*o,S=s*c-i*f,A=a*d-l*p,x=a*m-h*p,v=a*B-y*p,_=l*m-h*d,w=l*B-y*d,R=h*B-y*m;let C=M*R-T*w+E*_+g*v-b*x+S*A;return C?(C=1/C,t[0]=(o*R-f*w+c*_)*C,t[1]=(s*w-n*R-i*_)*C,t[2]=(d*S-m*b+B*g)*C,t[3]=(h*b-l*S-y*g)*C,t[4]=(f*v-u*R-c*x)*C,t[5]=(r*R-s*v+i*x)*C,t[6]=(m*E-p*S-B*T)*C,t[7]=(a*S-h*E+y*T)*C,t[8]=(u*w-o*v+c*A)*C,t[9]=(n*v-r*w-i*A)*C,t[10]=(p*b-d*E+B*M)*C,t[11]=(l*E-a*b-y*M)*C,t[12]=(o*x-u*_-f*A)*C,t[13]=(r*_-n*x+s*A)*C,t[14]=(d*T-p*g-m*M)*C,t[15]=(a*g-l*T+h*M)*C,t):null}function a(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3],o=e[4],f=e[5],c=e[6],a=e[7],l=e[8],h=e[9],y=e[10],p=e[11],d=e[12],m=e[13],B=e[14],M=e[15];let T=r[0],E=r[1],g=r[2],b=r[3];return t[0]=T*n+E*o+g*l+b*d,t[1]=T*s+E*f+g*h+b*m,t[2]=T*i+E*c+g*y+b*B,t[3]=T*u+E*a+g*p+b*M,T=r[4],E=r[5],g=r[6],b=r[7],t[4]=T*n+E*o+g*l+b*d,t[5]=T*s+E*f+g*h+b*m,t[6]=T*i+E*c+g*y+b*B,t[7]=T*u+E*a+g*p+b*M,T=r[8],E=r[9],g=r[10],b=r[11],t[8]=T*n+E*o+g*l+b*d,t[9]=T*s+E*f+g*h+b*m,t[10]=T*i+E*c+g*y+b*B,t[11]=T*u+E*a+g*p+b*M,T=r[12],E=r[13],g=r[14],b=r[15],t[12]=T*n+E*o+g*l+b*d,t[13]=T*s+E*f+g*h+b*m,t[14]=T*i+E*c+g*y+b*B,t[15]=T*u+E*a+g*p+b*M,t}function l(t,e,r){const n=r[0],s=r[1],i=r[2];if(e===t)t[12]=e[0]*n+e[4]*s+e[8]*i+e[12],t[13]=e[1]*n+e[5]*s+e[9]*i+e[13],t[14]=e[2]*n+e[6]*s+e[10]*i+e[14],t[15]=e[3]*n+e[7]*s+e[11]*i+e[15];else{const r=e[0],u=e[1],o=e[2],f=e[3],c=e[4],a=e[5],l=e[6],h=e[7],y=e[8],p=e[9],d=e[10],m=e[11];t[0]=r,t[1]=u,t[2]=o,t[3]=f,t[4]=c,t[5]=a,t[6]=l,t[7]=h,t[8]=y,t[9]=p,t[10]=d,t[11]=m,t[12]=r*n+c*s+y*i+e[12],t[13]=u*n+a*s+p*i+e[13],t[14]=o*n+l*s+d*i+e[14],t[15]=f*n+h*s+m*i+e[15]}return t}function h(t,e,r){const n=r[0],s=r[1],i=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*s,t[5]=e[5]*s,t[6]=e[6]*s,t[7]=e[7]*s,t[8]=e[8]*i,t[9]=e[9]*i,t[10]=e[10]*i,t[11]=e[11]*i,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function y(t,e,r,n){let u=n[0],o=n[1],f=n[2],c=Math.sqrt(u*u+o*o+f*f);if(c<=(0,s.FD)())return void i(t,e);c=1/c,u*=c,o*=c,f*=c;const a=Math.sin(r),l=Math.cos(r),h=1-l,y=e[0],p=e[1],d=e[2],m=e[3],B=e[4],M=e[5],T=e[6],E=e[7],g=e[8],b=e[9],S=e[10],A=e[11],x=u*u*h+l,v=o*u*h+f*a,_=f*u*h-o*a,w=u*o*h-f*a,R=o*o*h+l,C=f*o*h+u*a,N=u*f*h+o*a,F=o*f*h-u*a,L=f*f*h+l;t[0]=y*x+B*v+g*_,t[1]=p*x+M*v+b*_,t[2]=d*x+T*v+S*_,t[3]=m*x+E*v+A*_,t[4]=y*w+B*R+g*C,t[5]=p*w+M*R+b*C,t[6]=d*w+T*R+S*C,t[7]=m*w+E*R+A*C,t[8]=y*N+B*F+g*L,t[9]=p*N+M*F+b*L,t[10]=d*N+T*F+S*L,t[11]=m*N+E*F+A*L,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15])}function p(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[4],u=e[5],o=e[6],f=e[7],c=e[8],a=e[9],l=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=i*s+c*n,t[5]=u*s+a*n,t[6]=o*s+l*n,t[7]=f*s+h*n,t[8]=c*s-i*n,t[9]=a*s-u*n,t[10]=l*s-o*n,t[11]=h*s-f*n,t}function d(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}function m(t,e,r){if(0===e)return o(t);let n=r[0],i=r[1],u=r[2],f=Math.sqrt(n*n+i*i+u*u);if(f<=(0,s.FD)())return null;f=1/f,n*=f,i*=f,u*=f;const c=Math.sin(e),a=Math.cos(e),l=1-a;return t[0]=n*n*l+a,t[1]=i*n*l+u*c,t[2]=u*n*l-i*c,t[3]=0,t[4]=n*i*l-u*c,t[5]=i*i*l+a,t[6]=u*i*l+n*c,t[7]=0,t[8]=n*u*l+i*c,t[9]=i*u*l-n*c,t[10]=u*u*l+a,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function B(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function M(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=n,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function T(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3],o=n+n,f=s+s,c=i+i,a=n*o,l=n*f,h=n*c,y=s*f,p=s*c,d=i*c,m=u*o,B=u*f,M=u*c;return t[0]=1-(y+d),t[1]=l+M,t[2]=h-B,t[3]=0,t[4]=l-M,t[5]=1-(a+d),t[6]=p+m,t[7]=0,t[8]=h+B,t[9]=p-m,t[10]=1-(a+y),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const E=(0,n.vt)();function g(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function b(t,e){const r=e[0],n=e[1],s=e[2],i=e[4],u=e[5],o=e[6],f=e[8],c=e[9],a=e[10];return t[0]=Math.sqrt(r*r+n*n+s*s),t[1]=Math.sqrt(i*i+u*u+o*o),t[2]=Math.sqrt(f*f+c*c+a*a),t}function S(t,e){const r=e[0]+e[5]+e[10];let n=0;return r>0?(n=2*Math.sqrt(r+1),t[3]=.25*n,t[0]=(e[6]-e[9])/n,t[1]=(e[8]-e[2])/n,t[2]=(e[1]-e[4])/n):e[0]>e[5]&&e[0]>e[10]?(n=2*Math.sqrt(1+e[0]-e[5]-e[10]),t[3]=(e[6]-e[9])/n,t[0]=.25*n,t[1]=(e[1]+e[4])/n,t[2]=(e[8]+e[2])/n):e[5]>e[10]?(n=2*Math.sqrt(1+e[5]-e[0]-e[10]),t[3]=(e[8]-e[2])/n,t[0]=(e[1]+e[4])/n,t[1]=.25*n,t[2]=(e[6]+e[9])/n):(n=2*Math.sqrt(1+e[10]-e[0]-e[5]),t[3]=(e[1]-e[4])/n,t[0]=(e[8]+e[2])/n,t[1]=(e[6]+e[9])/n,t[2]=.25*n),t}function A(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=e[3],f=s+s,c=i+i,a=u+u,l=s*f,h=s*c,y=s*a,p=i*c,d=i*a,m=u*a,B=o*f,M=o*c,T=o*a,E=n[0],g=n[1],b=n[2];return t[0]=(1-(p+m))*E,t[1]=(h+T)*E,t[2]=(y-M)*E,t[3]=0,t[4]=(h-T)*g,t[5]=(1-(l+m))*g,t[6]=(d+B)*g,t[7]=0,t[8]=(y+M)*b,t[9]=(d-B)*b,t[10]=(1-(l+p))*b,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function x(t,e,r,n,s){const i=e[0],u=e[1],o=e[2],f=e[3],c=i+i,a=u+u,l=o+o,h=i*c,y=i*a,p=i*l,d=u*a,m=u*l,B=o*l,M=f*c,T=f*a,E=f*l,g=n[0],b=n[1],S=n[2],A=s[0],x=s[1],v=s[2],_=(1-(d+B))*g,w=(y+E)*g,R=(p-T)*g,C=(y-E)*b,N=(1-(h+B))*b,F=(m+M)*b,L=(p+T)*S,P=(m-M)*S,q=(1-(h+d))*S;return t[0]=_,t[1]=w,t[2]=R,t[3]=0,t[4]=C,t[5]=N,t[6]=F,t[7]=0,t[8]=L,t[9]=P,t[10]=q,t[11]=0,t[12]=r[0]+A-(_*A+C*x+L*v),t[13]=r[1]+x-(w*A+N*x+P*v),t[14]=r[2]+v-(R*A+F*x+q*v),t[15]=1,t}function v(t,e,r,n,s,i,u){const o=1/(r-e),f=1/(s-n),c=1/(i-u);return t[0]=2*i*o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*i*f,t[6]=0,t[7]=0,t[8]=(r+e)*o,t[9]=(s+n)*f,t[10]=(u+i)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*i*2*c,t[15]=0,t}function _(t,e,r,n,s,i,u){const o=1/(e-r),f=1/(n-s),c=1/(i-u);return t[0]=-2*o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*f,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+r)*o,t[13]=(s+n)*f,t[14]=(u+i)*c,t[15]=1,t}function w(t,e,r,n){const i=e[0],u=e[1],f=e[2];let c=i-r[0],a=u-r[1],l=f-r[2];const h=(0,s.FD)();if(Math.abs(c)<h&&Math.abs(a)<h&&Math.abs(l)<h)return void o(t);let y=1/Math.sqrt(c*c+a*a+l*l);c*=y,a*=y,l*=y;const p=n[0],d=n[1],m=n[2];let B=d*l-m*a,M=m*c-p*l,T=p*a-d*c;y=Math.sqrt(B*B+M*M+T*T),y?(y=1/y,B*=y,M*=y,T*=y):(B=0,M=0,T=0);let E=a*T-l*M,g=l*B-c*T,b=c*M-a*B;y=Math.sqrt(E*E+g*g+b*b),y?(y=1/y,E*=y,g*=y,b*=y):(E=0,g=0,b=0),t[0]=B,t[1]=E,t[2]=c,t[3]=0,t[4]=M,t[5]=g,t[6]=a,t[7]=0,t[8]=T,t[9]=b,t[10]=l,t[11]=0,t[12]=-(B*i+M*u+T*f),t[13]=-(E*i+g*u+b*f),t[14]=-(c*i+a*u+l*f),t[15]=1}function R(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t[4]=e[4]-r[4],t[5]=e[5]-r[5],t[6]=e[6]-r[6],t[7]=e[7]-r[7],t[8]=e[8]-r[8],t[9]=e[9]-r[9],t[10]=e[10]-r[10],t[11]=e[11]-r[11],t[12]=e[12]-r[12],t[13]=e[13]-r[13],t[14]=e[14]-r[14],t[15]=e[15]-r[15],t}function C(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function N(t,e){if(t===e)return!0;const r=t[0],n=t[1],i=t[2],u=t[3],o=t[4],f=t[5],c=t[6],a=t[7],l=t[8],h=t[9],y=t[10],p=t[11],d=t[12],m=t[13],B=t[14],M=t[15],T=e[0],E=e[1],g=e[2],b=e[3],S=e[4],A=e[5],x=e[6],v=e[7],_=e[8],w=e[9],R=e[10],C=e[11],N=e[12],F=e[13],L=e[14],P=e[15],q=(0,s.FD)();return Math.abs(r-T)<=q*Math.max(1,Math.abs(r),Math.abs(T))&&Math.abs(n-E)<=q*Math.max(1,Math.abs(n),Math.abs(E))&&Math.abs(i-g)<=q*Math.max(1,Math.abs(i),Math.abs(g))&&Math.abs(u-b)<=q*Math.max(1,Math.abs(u),Math.abs(b))&&Math.abs(o-S)<=q*Math.max(1,Math.abs(o),Math.abs(S))&&Math.abs(f-A)<=q*Math.max(1,Math.abs(f),Math.abs(A))&&Math.abs(c-x)<=q*Math.max(1,Math.abs(c),Math.abs(x))&&Math.abs(a-v)<=q*Math.max(1,Math.abs(a),Math.abs(v))&&Math.abs(l-_)<=q*Math.max(1,Math.abs(l),Math.abs(_))&&Math.abs(h-w)<=q*Math.max(1,Math.abs(h),Math.abs(w))&&Math.abs(y-R)<=q*Math.max(1,Math.abs(y),Math.abs(R))&&Math.abs(p-C)<=q*Math.max(1,Math.abs(p),Math.abs(C))&&Math.abs(d-N)<=q*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(m-F)<=q*Math.max(1,Math.abs(m),Math.abs(F))&&Math.abs(B-L)<=q*Math.max(1,Math.abs(B),Math.abs(L))&&Math.abs(M-P)<=q*Math.max(1,Math.abs(M),Math.abs(P))}function F(t){const e=(0,s.FD)(),r=t[0],n=t[1],i=t[2],u=t[4],o=t[5],f=t[6],c=t[8],a=t[9],l=t[10];return Math.abs(1-(r*r+u*u+c*c))<=e&&Math.abs(1-(n*n+o*o+a*a))<=e&&Math.abs(1-(i*i+f*f+l*l))<=e}function L(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const P=a,q=R;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t[4]=e[4]+r[4],t[5]=e[5]+r[5],t[6]=e[6]+r[6],t[7]=e[7]+r[7],t[8]=e[8]+r[8],t[9]=e[9]+r[9],t[10]=e[10]+r[10],t[11]=e[11]+r[11],t[12]=e[12]+r[12],t[13]=e[13]+r[13],t[14]=e[14]+r[14],t[15]=e[15]+r[15],t},adjoint:function(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=e[4],o=e[5],f=e[6],c=e[7],a=e[8],l=e[9],h=e[10],y=e[11],p=e[12],d=e[13],m=e[14],B=e[15];return t[0]=o*(h*B-y*m)-l*(f*B-c*m)+d*(f*y-c*h),t[1]=-(n*(h*B-y*m)-l*(s*B-i*m)+d*(s*y-i*h)),t[2]=n*(f*B-c*m)-o*(s*B-i*m)+d*(s*c-i*f),t[3]=-(n*(f*y-c*h)-o*(s*y-i*h)+l*(s*c-i*f)),t[4]=-(u*(h*B-y*m)-a*(f*B-c*m)+p*(f*y-c*h)),t[5]=r*(h*B-y*m)-a*(s*B-i*m)+p*(s*y-i*h),t[6]=-(r*(f*B-c*m)-u*(s*B-i*m)+p*(s*c-i*f)),t[7]=r*(f*y-c*h)-u*(s*y-i*h)+a*(s*c-i*f),t[8]=u*(l*B-y*d)-a*(o*B-c*d)+p*(o*y-c*l),t[9]=-(r*(l*B-y*d)-a*(n*B-i*d)+p*(n*y-i*l)),t[10]=r*(o*B-c*d)-u*(n*B-i*d)+p*(n*c-i*o),t[11]=-(r*(o*y-c*l)-u*(n*y-i*l)+a*(n*c-i*o)),t[12]=-(u*(l*m-h*d)-a*(o*m-f*d)+p*(o*h-f*l)),t[13]=r*(l*m-h*d)-a*(n*m-s*d)+p*(n*h-s*l),t[14]=-(r*(o*m-f*d)-u*(n*m-s*d)+p*(n*f-s*o)),t[15]=r*(o*h-f*l)-u*(n*h-s*l)+a*(n*f-s*o),t},copy:i,determinant:function(t){const e=t[0],r=t[1],n=t[2],s=t[3],i=t[4],u=t[5],o=t[6],f=t[7],c=t[8],a=t[9],l=t[10],h=t[11],y=t[12],p=t[13],d=t[14],m=t[15];return(e*u-r*i)*(l*m-h*d)-(e*o-n*i)*(a*m-h*p)+(e*f-s*i)*(a*d-l*p)+(r*o-n*u)*(c*m-h*y)-(r*f-s*u)*(c*d-l*y)+(n*f-s*o)*(c*p-a*y)},equals:N,exactEquals:C,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,e){const r=e[0],n=e[1],s=e[2],i=e[3],u=r+r,o=n+n,f=s+s,c=r*u,a=n*u,l=n*o,h=s*u,y=s*o,p=s*f,d=i*u,m=i*o,B=i*f;return t[0]=1-l-p,t[1]=a+B,t[2]=h-m,t[3]=0,t[4]=a-B,t[5]=1-c-p,t[6]=y+d,t[7]=0,t[8]=h+m,t[9]=y-d,t[10]=1-c-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,e){const r=E,n=-e[0],s=-e[1],i=-e[2],u=e[3],o=e[4],f=e[5],c=e[6],a=e[7],l=n*n+s*s+i*i+u*u;return l>0?(r[0]=2*(o*u+a*n+f*i-c*s)/l,r[1]=2*(f*u+a*s+c*n-o*i)/l,r[2]=2*(c*u+a*i+o*s-f*n)/l):(r[0]=2*(o*u+a*n+f*i-c*s),r[1]=2*(f*u+a*s+c*n-o*i),r[2]=2*(c*u+a*i+o*s-f*n)),T(t,e,r),t},fromRotation:m,fromRotationTranslation:T,fromRotationTranslationScale:A,fromRotationTranslationScaleOrigin:x,fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=e[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:d,fromXRotation:B,fromYRotation:function(t,e){const r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=n,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:M,frustum:v,getRotation:S,getScale:b,getTranslation:g,hasIdentityRotation:L,identity:o,invert:c,invertOrIdentity:function(t,e){return c(t,e)||o(t),t},isOrthoNormal:F,lookAt:w,mul:P,multiply:a,multiplyScalar:function(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*r,t[9]=e[9]*r,t[10]=e[10]*r,t[11]=e[11]*r,t[12]=e[12]*r,t[13]=e[13]*r,t[14]=e[14]*r,t[15]=e[15]*r,t},multiplyScalarAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t[4]=e[4]+r[4]*n,t[5]=e[5]+r[5]*n,t[6]=e[6]+r[6]*n,t[7]=e[7]+r[7]*n,t[8]=e[8]+r[8]*n,t[9]=e[9]+r[9]*n,t[10]=e[10]+r[10]*n,t[11]=e[11]+r[11]*n,t[12]=e[12]+r[12]*n,t[13]=e[13]+r[13]*n,t[14]=e[14]+r[14]*n,t[15]=e[15]+r[15]*n,t},ortho:_,perspective:function(t,e,r,n,s){const i=1/Math.tan(e/2);let u;return t[0]=i/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=i,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=s&&s!==1/0?(u=1/(n-s),t[10]=(s+n)*u,t[14]=2*s*n*u):(t[10]=-1,t[14]=-2*n),t},perspectiveFromFieldOfView:function(t,e,r,n){const s=Math.tan(e.upDegrees*Math.PI/180),i=Math.tan(e.downDegrees*Math.PI/180),u=Math.tan(e.leftDegrees*Math.PI/180),o=Math.tan(e.rightDegrees*Math.PI/180),f=2/(u+o),c=2/(s+i);return t[0]=f,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(u-o)*f*.5,t[9]=(s-i)*c*.5,t[10]=n/(r-n),t[11]=-1,t[12]=0,t[13]=0,t[14]=n*r/(r-n),t[15]=0,t},rotate:y,rotateX:p,rotateY:function(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[0],u=e[1],o=e[2],f=e[3],c=e[8],a=e[9],l=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s-c*n,t[1]=u*s-a*n,t[2]=o*s-l*n,t[3]=f*s-h*n,t[8]=i*n+c*s,t[9]=u*n+a*s,t[10]=o*n+l*s,t[11]=f*n+h*s,t},rotateZ:function(t,e,r){const n=Math.sin(r),s=Math.cos(r),i=e[0],u=e[1],o=e[2],f=e[3],c=e[4],a=e[5],l=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=i*s+c*n,t[1]=u*s+a*n,t[2]=o*s+l*n,t[3]=f*s+h*n,t[4]=c*s-i*n,t[5]=a*s-u*n,t[6]=l*s-o*n,t[7]=h*s-f*n,t},scale:h,set:u,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:q,subtract:R,targetTo:function(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=n[0],f=n[1],c=n[2];let a=s-r[0],l=i-r[1],h=u-r[2],y=a*a+l*l+h*h;y>0&&(y=1/Math.sqrt(y),a*=y,l*=y,h*=y);let p=f*h-c*l,d=c*a-o*h,m=o*l-f*a;return y=p*p+d*d+m*m,y>0&&(y=1/Math.sqrt(y),p*=y,d*=y,m*=y),t[0]=p,t[1]=d,t[2]=m,t[3]=0,t[4]=l*m-h*d,t[5]=h*p-a*m,t[6]=a*d-l*p,t[7]=0,t[8]=a,t[9]=l,t[10]=h,t[11]=0,t[12]=s,t[13]=i,t[14]=u,t[15]=1,t},translate:l,transpose:f},Symbol.toStringTag,{value:"Module"}))},78955(t,e,r){r.d(e,{Bw:()=>m,C:()=>s,Cc:()=>E,LI:()=>h,Om:()=>T,S8:()=>M,T9:()=>l,WQ:()=>u,Z0:()=>g,aI:()=>S,hG:()=>d,hZ:()=>i,hs:()=>y,jk:()=>a,m3:()=>B,t2:()=>b});var n=r(34304);function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=n,t[3]=s,t}function u(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function o(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function f(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function c(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function a(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function l(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function h(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 y(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function p(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(r*r+n*n+s*s+i*i)}function d(t,e){const r=e[0]-t[0],n=e[1]-t[1],s=e[2]-t[2],i=e[3]-t[3];return r*r+n*n+s*s+i*i}function m(t){const e=t[0],r=t[1],n=t[2],s=t[3];return Math.sqrt(e*e+r*r+n*n+s*s)}function B(t){const e=t[0],r=t[1],n=t[2],s=t[3];return e*e+r*r+n*n+s*s}function M(t,e){const r=e[0],n=e[1],s=e[2],i=e[3];let u=r*r+n*n+s*s+i*i;return u>0&&(u=1/Math.sqrt(u),t[0]=r*u,t[1]=n*u,t[2]=s*u,t[3]=i*u),t}function T(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function E(t,e,r,n){const s=e[0],i=e[1],u=e[2],o=e[3];return t[0]=s+n*(r[0]-s),t[1]=i+n*(r[1]-i),t[2]=u+n*(r[2]-u),t[3]=o+n*(r[3]-o),t}function g(t,e,r){const n=e[0],s=e[1],i=e[2],u=e[3];return t[0]=r[0]*n+r[4]*s+r[8]*i+r[12]*u,t[1]=r[1]*n+r[5]*s+r[9]*i+r[13]*u,t[2]=r[2]*n+r[6]*s+r[10]*i+r[14]*u,t[3]=r[3]*n+r[7]*s+r[11]*i+r[15]*u,t}function b(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function S(t,e){const r=t[0],s=t[1],i=t[2],u=t[3],o=e[0],f=e[1],c=e[2],a=e[3],l=(0,n.FD)();return Math.abs(r-o)<=l*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(s-f)<=l*Math.max(1,Math.abs(s),Math.abs(f))&&Math.abs(i-c)<=l*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(u-a)<=l*Math.max(1,Math.abs(u),Math.abs(a))}const A=o,x=f,v=c,_=p,w=d,R=m,C=B;Object.freeze(Object.defineProperty({__proto__:null,add:u,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:s,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:_,distance:p,div:v,divide:c,dot:T,equals:S,exactEquals:b,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:R,length:m,lerp:E,max:l,min:a,mul:x,multiply:f,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:M,random:function(t,e=1){const r=n.Ov;let s,i,u,o,f,c;do{s=2*r()-1,i=2*r()-1,f=s*s+i*i}while(f>=1);do{u=2*r()-1,o=2*r()-1,c=u*u+o*o}while(c>=1);const a=Math.sqrt((1-f)/c);return t[0]=e*s,t[1]=e*i,t[2]=e*u*a,t[3]=e*o*a,t},round:h,scale:y,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},set:i,sqrDist:w,sqrLen:C,squaredDistance:d,squaredLength:B,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:A,subtract:o,transformMat4:g,transformQuat:function(t,e,r){const n=e[0],s=e[1],i=e[2],u=r[0],o=r[1],f=r[2],c=r[3],a=c*n+o*i-f*s,l=c*s+f*n-u*i,h=c*i+u*s-o*n,y=-u*n-o*s-f*i;return t[0]=a*c+y*-u+l*-f-h*-o,t[1]=l*c+y*-o+h*-u-a*-f,t[2]=h*c+y*-f+a*-o-l*-u,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},48353(t,e,r){r.d(e,{l:()=>c});var n=r(34727),s=r(58083),i=r(51850);function u(t,e,r){const n=Math.sin(t),s=Math.cos(t),i=Math.sin(e),u=Math.cos(e),o=r;return o[0]=-n,o[4]=-i*s,o[8]=u*s,o[12]=0,o[1]=s,o[5]=-i*n,o[9]=u*n,o[13]=0,o[2]=0,o[6]=u,o[10]=i,o[14]=0,o[3]=0,o[7]=0,o[11]=0,o[15]=1,o}var o=r(49208),f=r(21325);function c(t,e,r,n){const i=(0,o.Tp)(t,n);if(null==i)return!1;const c=i.source.spatialReferenceId,p=i.dest.spatialReferenceId;if(c===p&&!a(p)&&(0!==c||(0,f.aI)(t,n)))return(0,s.kN)(r,e),!0;if(a(p)){const t=o.w5[c][10],n=o.w5[10][p];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,y,0),u(l*h[0],l*h[1],r),r[12]=y[0],r[13]=y[1],r[14]=y[2],!0)}const d=a(c);if((3===p||11===p||2===p||5===p)&&(2===c||d||3===c||5===c)){const t=o.w5[c][10],n=o.w5[10][p];return null!=t&&null!=n&&(t(e,0,h,0),n(h,0,y,0),d?function(t,e,r){u(t,e,r),(0,s.mg)(r,r)}(l*h[0],l*h[1],r):(0,s.D_)(r),r[12]=y[0],r[13]=y[1],r[14]=y[2],!0)}return!1}function a(t){return 1===t||6===t||8===t||4===t}const l=(0,n.kU)(1),h=(0,i.vt)(),y=(0,i.vt)()},13030(t,e,r){r.d(e,{Y$:()=>B,XW:()=>m,qB:()=>w,Qt:()=>K,My:()=>H,bf:()=>z,jZ:()=>A,j0:()=>x,Sx:()=>v,E$:()=>_,h:()=>Y,P:()=>V,SL:()=>F,dy:()=>rt,gH:()=>T,ZD:()=>M,si:()=>R,mJ:()=>G,UL:()=>J,D6:()=>D,Yi:()=>O,An:()=>U,LC:()=>L,xs:()=>g,EC:()=>E,Xm:()=>C,Vp:()=>W,zD:()=>tt,m8:()=>Z,nS:()=>I,H$:()=>j,eI:()=>P,td:()=>nt,Eq:()=>S,jz:()=>b,Aj:()=>N,E7:()=>Q,Y4:()=>et,TX:()=>$,Uz:()=>X,ml:()=>k,XP:()=>q});var n=r(34727),s=r(78955),i=r(91829),u=r(20498);class o{static{this.ElementCount=9}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=9;const i=this.TypedArrayConstructor;void 0===n&&(n=9*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<9;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;for(let t=0;t<9;++t)n[i++]=s[u++]}get buffer(){return this.typedBuffer.buffer}}class f{static{this.ElementCount=16}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=16;const i=this.TypedArrayConstructor;void 0===n&&(n=16*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)e[t]=this.typedBuffer[r++];return e}setMat(t,e){let r=t*this.typedBufferStride;for(let t=0;t<16;t++)this.typedBuffer[r++]=e[t]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}copyFrom(t,e,r){this.copyFromTypedBuffer(t,e.typedBuffer,r*e.typedBufferStride)}copyFromTypedBuffer(t,e,r){const n=this.typedBuffer;let s=t*this.typedBufferStride;for(let t=0;t<16;++t)n[s++]=e[r++]}get buffer(){return this.typedBuffer.buffer}}class c{static{this.ElementCount=1}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=1;const i=this.TypedArrayConstructor;void 0===n&&(n=i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.stride=n,this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride)}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}get(t){return this.typedBuffer[t*this.typedBufferStride]}set(t,e){this.typedBuffer[t*this.typedBufferStride]=e}get buffer(){return this.typedBuffer.buffer}}var a=r(37585);class l{static{this.ElementCount=2}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=2;const i=this.TypedArrayConstructor;void 0===n&&(n=2*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,a.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t]=e[1]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t]=r}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var h=r(35522);class y{static{this.ElementCount=3}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.elementCount=3;const i=this.TypedArrayConstructor;void 0===n&&(n=3*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,h.hZ)(e,this.typedBuffer[t],this.typedBuffer[t+1],this.typedBuffer[t+2])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t]=e[2]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t]=n}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}class p{static{this.ElementCount=4}constructor(t,e,r=0,n,s){this.TypedArrayConstructor=t,this.start=r,this.elementCount=4;const i=this.TypedArrayConstructor;void 0===n&&(n=4*i.BYTES_PER_ELEMENT);const u=0===e.byteLength?0:r;this.typedBuffer=null==s?new i(e,u):new i(e,u,(s-r)/i.BYTES_PER_ELEMENT),this.typedBufferStride=n/i.BYTES_PER_ELEMENT,this.count=Math.ceil(this.typedBuffer.length/this.typedBufferStride),this.stride=this.typedBufferStride*this.TypedArrayConstructor.BYTES_PER_ELEMENT}sliceBuffer(t,e,r=this.count-e){const n=this.typedBuffer.byteOffset+e*this.stride;return new t(this.buffer,n,this.stride,n+r*this.stride)}getVec(t,e){return t*=this.typedBufferStride,(0,s.hZ)(e,this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t++],this.typedBuffer[t])}setVec(t,e){t*=this.typedBufferStride,this.typedBuffer[t++]=e[0],this.typedBuffer[t++]=e[1],this.typedBuffer[t++]=e[2],this.typedBuffer[t]=e[3]}get(t,e){return this.typedBuffer[t*this.typedBufferStride+e]}set(t,e,r){this.typedBuffer[t*this.typedBufferStride+e]=r}setValues(t,e,r,n,s){t*=this.typedBufferStride,this.typedBuffer[t++]=e,this.typedBuffer[t++]=r,this.typedBuffer[t++]=n,this.typedBuffer[t]=s}copyFrom(t,e,r){const n=this.typedBuffer,s=e.typedBuffer;let i=t*this.typedBufferStride,u=r*e.typedBufferStride;n[i++]=s[u++],n[i++]=s[u++],n[i++]=s[u++],n[i]=s[u]}get buffer(){return this.typedBuffer.buffer}}var d=r(620);class m extends c{constructor(t,e=0,r,n){(0,d.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}static{this.ElementType="f16"}}class B extends c{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}static{this.ElementType="f32"}}class M extends l{constructor(t,e=0,r,n){(0,d.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(M,t,e)}static{this.ElementType="f16"}}class T extends l{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(T,t,e)}static{this.ElementType="f32"}}class E extends y{constructor(t,e=0,r,n){(0,d.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(E,t,e)}static{this.ElementType="f16"}}class g extends y{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(g,t,e)}static fromTypedArray(t,e){return new g(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f32"}}class b extends p{constructor(t,e=0,r,n){(0,d.vA)(u.SX),super((0,u.pX)(),t,e,r,n),this.elementType="f16"}slice(t,e){return this.sliceBuffer(b,t,e)}static{this.ElementType="f16"}}class S extends p{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(S,t,e)}static{this.ElementType="f32"}}class A extends o{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(A,t,e)}static{this.ElementType="f32"}}class x extends o{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(x,t,e)}static{this.ElementType="f64"}}class v extends f{constructor(t,e=0,r,n){super(Float32Array,t,e,r,n),this.elementType="f32"}slice(t,e){return this.sliceBuffer(v,t,e)}static{this.ElementType="f32"}}class _ extends f{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(_,t,e)}static{this.ElementType="f64"}}class w extends c{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(w,t,e)}static{this.ElementType="f64"}}class R extends l{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(R,t,e)}static{this.ElementType="f64"}}class C extends y{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(C,t,e)}static fromTypedArray(t,e){return new C(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="f64"}}class N extends p{constructor(t,e=0,r,n){super(Float64Array,t,e,r,n),this.elementType="f64"}slice(t,e){return this.sliceBuffer(N,t,e)}static{this.ElementType="f64"}}class F extends c{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(F,t,e)}static{this.ElementType="u8"}}class L extends l{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(L,t,e)}static{this.ElementType="u8"}}class P extends y{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(P,t,e)}static fromTypedArray(t,e){return new P(t.buffer,t.byteOffset,e,t.byteOffset+t.byteLength)}static{this.ElementType="u8"}}class q extends p{constructor(t,e=0,r,n){super(Uint8Array,t,e,r,n),this.elementType="u8"}slice(t,e){return this.sliceBuffer(q,t,e)}static{this.ElementType="u8"}}class Y extends c{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(Y,t,e)}static{this.ElementType="u16"}}class O extends l{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(O,t,e)}static{this.ElementType="u16"}}class I extends y{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(I,t,e)}static{this.ElementType="u16"}}class X extends p{constructor(t,e=0,r,n){super(Uint16Array,t,e,r,n),this.elementType="u16"}slice(t,e){return this.sliceBuffer(X,t,e)}static{this.ElementType="u16"}}class V extends c{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(V,t,e)}static{this.ElementType="u32"}}class U extends l{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(U,t,e)}static{this.ElementType="u32"}}class j extends y{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(j,t,e)}static{this.ElementType="u32"}}class k extends p{constructor(t,e=0,r,n){super(Uint32Array,t,e,r,n),this.elementType="u32"}slice(t,e){return this.sliceBuffer(k,t,e)}static{this.ElementType="u32"}}class z extends c{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(z,t,e)}static{this.ElementType="i8"}}class D extends l{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(D,t,e)}static{this.ElementType="i8"}}class Z extends y{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer(Z,t,e)}static{this.ElementType="i8"}}class $ extends p{constructor(t,e=0,r,n){super(Int8Array,t,e,r,n),this.elementType="i8"}slice(t,e){return this.sliceBuffer($,t,e)}static{this.ElementType="i8"}}class K extends c{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(K,t,e)}static{this.ElementType="i16"}}class G extends l{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(G,t,e)}static{this.ElementType="i16"}}class W extends y{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(W,t,e)}static{this.ElementType="i16"}}class Q extends p{constructor(t,e=0,r,n){super(Int16Array,t,e,r,n),this.elementType="i16"}slice(t,e){return this.sliceBuffer(Q,t,e)}static{this.ElementType="i16"}}class H extends c{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(H,t,e)}static{this.ElementType="i32"}}class J extends l{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(J,t,e)}static{this.ElementType="i32"}}class tt extends y{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(tt,t,e)}static{this.ElementType="i32"}}class et extends p{constructor(t,e=0,r,n){super(Int32Array,t,e,r,n),this.elementType="i32"}slice(t,e){return this.sliceBuffer(et,t,e)}static{this.ElementType="i32"}}class rt extends F{constructor(t,e=0,r,n){super(t,e,r,n)}get(t){return this.typedBuffer[t*this.typedBufferStride]/255}set(t,e){this.typedBuffer[t*this.typedBufferStride]=Math.round(255*(0,n.qE)(e,0,1))}slice(t,e){return this.sliceBuffer(rt,t,e)}}class nt extends q{constructor(t,e=0,r,n){super(t,e,r,n)}getVec(t,e){return(0,s.hs)(e,super.getVec(t,e),1/255)}setVec(t,e){(0,s.jk)(st,(0,s.T9)(st,e,i.uY),i.Un),(0,s.hs)(st,st,255),(0,s.LI)(st,st),super.setVec(t,st)}get(t,e){return super.get(t,e)/255}set(t,e,r){super.set(t,e,Math.round(255*(0,n.qE)(r,0,1)))}setValues(t,e,r,n,i){(0,s.hZ)(st,e,r,n,i),this.setVec(t,st)}slice(t,e){return this.sliceBuffer(nt,t,e)}}const st=(0,i.vt)()},20498(t,e,r){r.d(e,{Bg:()=>s,SX:()=>u,pX:()=>i});let n=globalThis.Float16Array;function s(...t){return new(n??Float32Array)(...t)}function i(){return n}let u=!!n},74594(t,e,r){r.d(e,{projectMeshVertexPositions:()=>o});var n=r(9762),s=r(95696),i=r(21325),u=r(72258);function o(t,e){const r=(0,u.UR)(t,s.A.absolute);if(!r)return null;let o=r.position;return(0,i.aI)(t.spatialReference,e)||(o=new Float64Array(r.position.length),(0,n.projectBuffer)(r.position,t.spatialReference,0,o,e,0))?o:null}},22141(t,e,r){r.d(e,{$5:()=>S,CN:()=>T,JP:()=>M,KM:()=>x,Mv:()=>_,X4:()=>E,gr:()=>b,qs:()=>A,si:()=>g,xA:()=>v});var n=r(34727),s=r(77690),i=r(29242),u=r(58083),o=r(9093),f=r(35522),c=r(51850),a=r(73941),l=r(48353),h=r(9762),y=(r(79258),r(21325)),p=r(28735),d=r(13030),m=r(73354),B=r(50867);const M="Projection may be possible after calling projection.load().";function T(t,e,r,n){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${r.wkid}).${n?" ":""}${n}`)}function E(t,e,r,n,s,i){return R(0,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i))?i:null}function g(t,e,r,n,s,i){return R(1,d.xs.fromTypedArray(t),0,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i))?i:null}function b(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function S(t,e,r,n){return(0,h.projectBuffer)(t,e,0,r,n,0)?r:null}function A(t,e,r){return(0,s.Ge)(L,r),(0,m.b)(e,t,L),(0,n.or)(L)&&(0,m.n)(e,e),e}function x(t,e,r){return(0,s.z0)(L,r),(0,B.t)(e,t,L),(0,n.or)(L)&&(0,m.n)(e,e,4),e}function v(t,e,r,n,s,i){if(!R(0,d.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function _(t,e,r,n,s,i){if(!R(1,d.xs.fromTypedArray(t,16),1,d.Xm.fromTypedArray(e),r,d.Xm.fromTypedArray(n),s,d.xs.fromTypedArray(i,16)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function w(t,e,r,n,i){switch((0,l.l)(n,r,F,n),1===t&&(0,u.B8)(F,F),e){case 0:return(0,s.Ge)(i,F);case 1:return(0,s.z0)(i,F)}}function R(t,e,r,n,s,i,u,o){if(!e)return;const c=n.count;if(function(t){return t.isWGS84||(0,y.x1)(t)||(0,a.q8)(t)||(0,a.KQ)(t)}(s))for(let n=0;n<c;n++)i.getVec(n,C),e.getVec(n,N),(0,f.ei)(N,N,w(t,r,C,u,L)),o.setVec(n,N);else for(let s=0;s<c;s++){i.getVec(s,C),e.getVec(s,N);const c=(0,p.jg)(n.get(s,1));let a=Math.cos(c);1===r!=(0===t)&&(a=1/a),w(t,r,C,u,L),0===t?(L[0]*=a,L[1]*=a,L[2]*=a,L[3]*=a,L[4]*=a,L[5]*=a):(L[0]*=a,L[3]*=a,L[6]*=a,L[1]*=a,L[4]*=a,L[7]*=a),(0,f.ei)(N,N,L),(0,f.S8)(N,N),o.setVec(s,N)}return o}const C=(0,c.vt)(),N=(0,c.vt)(),F=(0,o.vt)(),L=(0,i.vt)()},72258(t,e,r){r.d(e,{UR:()=>g,p5:()=>E,xK:()=>_});var n=r(53966),s=r(34727),i=r(86211),u=r(77690),o=r(29242),f=r(58083),c=r(9093),a=r(35522),l=r(51850),h=r(73941),y=r(98764),p=r(48353),d=r(65806),m=r(27615),B=r(73354),M=r(22141);const T=()=>n.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function E(t,e,{vertexSpace:r,spatialReference:n}){if("georeferenced"===r.type){const s=t;if(!(0,d.g)(e,s,n))return!1;const{origin:i}=r;return(0,a.Re)(t,s,i),!0}const s=(0,y.lO)(n),i=t;if(!(0,d.g)(e,i,s))return!1;const{origin:u}=r,o=F;if(!(0,p.l)(n,u,o,s))return!1;const c=(0,f.B8)(F,o);return null!=c&&((0,a.Z0)(t,i,c),!0)}function g(t,e,r){const{vertexSpace:n,transform:s,vertexAttributes:i}=t,o=(0,m.Hq)(n)?s:null,l=x(t.spatialReference,r,3);if((0,m.yJ)(n,e)&&(!o||(0,f.t2)(o.localMatrix,c.zK))&&v(l)){const{position:t,normal:e,tangent:n}=i,s=r?.allowBufferReuse;return{position:s?t:t.slice(),normal:s?e:e?.slice(),tangent:s?n:n?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},s,i){const u=b(e,i);if(!(0,p.l)(e,n,w,u))return(0,M.CN)(T(),e,u),null;if(r&&(0,f.lw)(w,w,r.localMatrix),!(0,p.l)(e,s,R,u))return(0,M.CN)(T(),u,e),null;(0,f.B8)(R,R);const o=(0,f.lw)(w,R,w);return A(o,e,i,3),S(t,o)}(t,t.vertexSpace,e.origin,r):function({spatialReference:t,vertexAttributes:e,transform:r},{origin:n},s,i){const u=b(t,i);if(!(0,p.l)(t,n,w,u))return(0,M.CN)(T(),t,u),null;r&&(0,f.lw)(w,w,r.localMatrix),A(w,t,i,1);const o=new Float64Array(e.position.length),c=function(t,e,r,n,s){(0,B.t)(n,t,e);const i=new Float64Array(t.length);return(0,M.$5)(n,s,i,r)?i:((0,M.CN)(T(),s,r),null)}(e.position,w,t,o,u);if(!c)return null;const l=function(t,e,r,n,s,i){if(null==s)return null;const u=new Float32Array(s.length);return(0,M.qs)(s,u,i),(0,M.si)(u,t,e,r,n,u)?u:((0,M.CN)(T(),n,e),null)}(c,t,o,u,e.normal,w);if(e.normal&&!l)return null;const h=function(t,e,r,n,s,i){if(null==s)return null;const u=new Float32Array(s.length);return(0,M.KM)(s,u,i),(0,M.Mv)(u,t,e,r,n,u)?u:((0,M.CN)(T(),n,e),null)}(c,t,o,u,e.tangent,w);if(e.tangent&&!h)return null;if(s){const t=(0,a.ze)(N,s);(0,B.a)(c,c,t)}return{position:c,normal:l,tangent:h}}(t,t.vertexSpace,e.origin,r);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:r},{origin:n},s,i){const o=b(e,i);if(!(0,p.l)(e,s,w,o))return(0,M.CN)(T(),e,o),null;const c=1/x(e,i,2);(0,f.hs)(w,w,[c,c,c]);const a=(0,f.B8)(R,w),{position:l,normal:h,tangent:y}=function(t,e,r){if(!e)return t;if(!r){const{position:r,normal:n,tangent:s}=t;return{position:(0,B.a)(new Float64Array(r.length),r,e),tangent:s,normal:n}}const n=S(t,r.localMatrix);return(0,B.a)(n.position,n.position,e),n}(t,n,r),d=new Float64Array(l.length),m=function(t,e,r,n,s){const i=(0,M.gr)(t,e,n,s);if(!i)return(0,M.CN)(T(),e,s),null;const u=new Float64Array(i.length);return(0,B.t)(u,i,r),u}(l,e,a,d,o);if(!m)return null;const E=(0,u.Ge)(C,a),g=function(t,e,r,n,s,i,u){if(null==t)return null;const o=u??new Float32Array(t.length);return(0,M.X4)(t,e,r,n,s,o)?((0,B.b)(o,o,i),o):((0,M.CN)(T(),r,s),null)}(h,l,e,d,o,E,h!==t.normal?h:void 0);if(!g&&h)return null;const A=function(t,e,r,n,s,i,u){if(null==t)return null;const o=u??new Float32Array(t.length);return(0,M.xA)(t,e,r,n,s,o)?((0,B.b)(o,o,i,4),o):((0,M.CN)(T(),r,s),null)}(y,l,e,d,o,E,y!==t.tangent?y:void 0);return!A&&y?null:{position:m,normal:g,tangent:A}}(t,t.vertexSpace,e.origin,r):function({vertexAttributes:t,transform:e,spatialReference:r},{origin:n},s,i){const u=x(r,i,3),o=n||!v(u)?(0,f.C)(w,e?.localMatrix??c.zK):null;o&&A(o,r,i,3);const{position:l,normal:h,tangent:y}=o?S(t,o):t,p=i?.allowBufferReuse,d=p?l:new Float64Array(l.length);let m=l;if(n&&(m=(0,B.a)(d,m,n)),s){const t=(0,a.ze)(N,s);m=(0,B.a)(d,m,t)}return{position:m!==t.position||p?m:m.slice(),normal:h!==t.normal||p?h:h?.slice(),tangent:y!==t.tangent||p?y:y?.slice()}}(t,t.vertexSpace,e.origin,r)}}function b(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?y.Y0:(0,y.lO)(t)}function S(t,e){const r=new Float64Array(t.position.length);(0,B.t)(r,t.position,e);const n=t.normal?new Float32Array(t.normal.length):null,s=t.tangent?new Float32Array(t.tangent.length):null;return n&&t.normal&&(0,M.qs)(t.normal,n,e),s&&t.tangent&&(0,M.KM)(t.tangent,s,e),{position:r,normal:n,tangent:s}}function A(t,e,r,n){const s=x(e,r,n);v(s)||(0,f.hs)(t,t,[s,s,s])}function x(t,e,r){const n=!!(1&r),s=!!(2&r),i=e?.sourceUnit,u=e?.targetUnit;if(!i&&!u)return 1;let o=_(i,t);n||!i||v(o)||(T().warn("source unit conversion not supported"),o=1);let f=1/_(u,t);return s||!u||v(f)||(T().warn("target unit conversion not supported"),f=1),o*f}function v(t){return(0,s.Io)(t,1)}function _(t,e){if(null==t)return 1;const r=(0,i.KX)(e);return 1/(0,i.oU)(r,"meters",t)}const w=(0,c.vt)(),R=(0,c.vt)(),C=(0,o.vt)(),N=(0,l.vt)(),F=(0,c.vt)()},27615(t,e,r){r.d(e,{CK:()=>f,Hq:()=>o,MW:()=>c,TE:()=>a,yJ:()=>l});var n=r(35522),s=r(86738),i=r(95696),u=r(18251);function o(t){return null!=t.origin}function f(t){return o(t.vertexSpace)}function c(t,e){if(!o(t))return null;const[r,n,i]=t.origin;return new s.A({x:r,y:n,z:i,spatialReference:e})}function a(t,e){const{x:r,y:n,z:s,spatialReference:o}=t,f=[r,n,s??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(o))?new u.default({origin:f}):new i.A({origin:f})}function l(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,n.t2)(t.origin,e.origin))}},620(t,e,r){r.d(e,{L:()=>f,MX:()=>u,O_:()=>o,kL:()=>c,vA:()=>i,zH:()=>a});var n=r(48163);r(78955),(0,r(91829).vt)();class s{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 s(`${e} at ${t}`)}}function u(t,e){t||(e=e||"",console.warn("Verify failed: "+e+"\n"+new Error("verify").stack))}function o(t,e,r,n){let s,i=(r[0]-t[0])/e[0],u=(n[0]-t[0])/e[0];i>u&&(s=i,i=u,u=s);let o=(r[1]-t[1])/e[1],f=(n[1]-t[1])/e[1];if(o>f&&(s=o,o=f,f=s),i>f||o>u)return!1;o>i&&(i=o),f<u&&(u=f);let c=(r[2]-t[2])/e[2],a=(n[2]-t[2])/e[2];return c>a&&(s=c,c=a,a=s),!(i>a||c>u||(a<u&&(u=a),u<0))}function f(t,e,r,s,i,u=(0,n.vt)()){const o=(s[i]-r[i])*(e[0]-t[0])-(s[0]-r[0])*(e[i]-t[i]),f=(s[0]-r[0])*(t[i]-r[i])-(s[i]-r[i])*(t[0]-r[0]);if(0===o)return!1;const c=f/o;return u[0]=t[0]+c*(e[0]-t[0]),u[1]=t[i]+c*(e[i]-t[i]),!0}function c(t,e){return Math.log(t)/Math.log(e)}function a(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[3]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[7]&&0===t[8]&&0===t[9]&&1===t[10]&&0===t[11]&&1===t[15]}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2733],{83960(e,t,r){r.d(t,{X_:()=>s,oW:()=>o,zx:()=>a});var i=r(34727),n=r(86211);function s(e,t){const r=t||e.extent,i=e.width,s=(0,n.GA)(r?.spatialReference);return r&&i?r.width/i*s*n.dy*96:0}function a(e,t,r){return function(e,t){return 0===t||(0,i.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,i.Sp)(e,t)||e>t}(e,r)}function o(e,t){return(0,i.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},4146(e,t,r){r.d(t,{A:()=>v});var i=r(5482),n=r(11254),s=r(49186),a=r(65529),o=r(4902),l=r(92474),u=r(53966),p=r(17676),d=r(84952),y=r(91429),c=r(5443),m=r(16930),h=r(92602),f=r(79677);let g=0,v=class extends((0,a.Zt)((0,o.s)(l.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new c.A(-180,-90,180,90,m.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=m.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(r.bind(r,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(812),r.e(5613),r.e(909)]).then(r.bind(r,45613));try{return await i(t)}catch(e){const r=t?.portalItem,i=r?.id||"unset",n=r?.portal?.url||h.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+n+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,p.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,d.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,n.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,y.MZ)({type:String})],v.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],v.prototype,"effectiveVisible",null),(0,i.Cg)([(0,y.MZ)({type:c.A})],v.prototype,"fullExtent",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],v.prototype,"hasAttributionData",null),(0,i.Cg)([(0,y.MZ)({type:String,clonable:!1})],v.prototype,"id",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,nonNullable:!0})],v.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,y.MZ)({type:["show","hide","hide-children"]})],v.prototype,"listMode",void 0),(0,i.Cg)([(0,y.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],v.prototype,"opacity",void 0),(0,i.Cg)([(0,y.MZ)({clonable:!1})],v.prototype,"parent",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0})],v.prototype,"parsedUrl",null),(0,i.Cg)([(0,y.MZ)({type:Boolean,readOnly:!0})],v.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean})],v.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean})],v.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,y.MZ)({type:m.A})],v.prototype,"spatialReference",void 0),(0,i.Cg)([(0,y.MZ)({type:String})],v.prototype,"title",void 0),(0,i.Cg)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],v.prototype,"type",void 0),(0,i.Cg)([(0,y.MZ)()],v.prototype,"url",void 0),(0,i.Cg)([(0,y.MZ)({type:f.A})],v.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,y.MZ)({type:Boolean,nonNullable:!0})],v.prototype,"visible",void 0),v=(0,i.Cg)([(0,y.$K)("esri.layers.Layer")],v)},7656(e,t,r){r.r(t),r.d(t,{default:()=>q});var i=r(5482),n=r(11254),s=r(7762),a=r(49186),o=r(81583),l=r(25728),u=r(17676),p=r(86211),d=r(91429),y=r(56507),c=r(35666),m=r(5443),h=r(83960),f=r(21325),g=r(4146),v=r(52136),b=r(98534),w=r(18768),C=r(63074),S=r(69208),I=r(34287),M=r(8303),x=r(54310),T=r(25036),A=r(91921),Z=r(82935),E=r(10873),O=r(69622),L=r(39516);function j(e,t){return"floorInfo"in t&&t.floorInfo?.floorField?function(e,t){if(!e?.length)return null;const r=e.filter(e=>""!==e).map(e=>`'${e}'`);return r.push("''"),`${t} IN (${r.join(",")}) OR ${t} IS NULL`}(e,t.floorInfo.floorField):null}var N=r(63389);const D={visible:"visibleSublayers",definitionExpression:"layerDefs",labelingInfo:"hasDynamicLayers",labelsVisible:"hasDynamicLayers",opacity:"hasDynamicLayers",minScale:"visibleSublayers",maxScale:"visibleSublayers",renderer:"hasDynamicLayers",source:"hasDynamicLayers"};let P=class extends O.A{constructor(e){super(e),this.floors=null,this.scale=0}destroy(){this.layer=null}get dynamicLayers(){if(!this.hasDynamicLayers)return null;const e=this.visibleSublayers.map(e=>{const t=j(this.floors,e);return e.toExportImageJSON(t)});return e.length?JSON.stringify(e):null}get hasDynamicLayers(){return this.layer&&(0,N.Sk)(this.visibleSublayers,this.layer.serviceSublayers,this.layer.gdbVersion)}set layer(e){this._get("layer")!==e&&(this._set("layer",e),this.removeHandles("layer"),e&&this.addHandles([e.allSublayers.on("change",()=>this.notifyChange("visibleSublayers")),e.on("sublayer-update",e=>this.notifyChange(D[e.propertyName]))],"layer"))}get layers(){const e=this.visibleSublayers;return e?e.length?"show:"+e.map(e=>e.id).join(","):"show:-1":null}get layerDefs(){const e=!!this.floors?.length,t=this.visibleSublayers.filter(t=>null!=t.definitionExpression||e&&null!=t.floorInfo);return t.length?JSON.stringify(t.reduce((e,t)=>{const r=j(this.floors,t),i=(0,L.mA)(r,t.definitionExpression);return null!=i&&(e[t.id]=i),e},{})):null}get version(){this.commitProperty("layers"),this.commitProperty("layerDefs"),this.commitProperty("dynamicLayers");const e=this.layer;return e&&(e.commitProperty("dpi"),e.commitProperty("imageFormat"),e.commitProperty("imageTransparency"),e.commitProperty("gdbVersion")),(this._get("version")||0)+1}get visibleSublayers(){const e=[];if(!this.layer)return e;const t=this.layer.sublayers,r=this.scale,i=t=>{t.visible&&(0===r||(0,h.zx)(r,t.minScale,t.maxScale))&&(t.sublayers?t.sublayers.forEach(i):e.unshift(t))};t?.forEach(i);const n=this._get("visibleSublayers");return!n||n.length!==e.length||n.some((t,r)=>e[r]!==t)?e:n}toJSON(){const e=this.layer;let t={dpi:e.dpi,format:e.imageFormat,transparent:e.imageTransparency,gdbVersion:e.gdbVersion||null};return this.hasDynamicLayers&&this.dynamicLayers?t.dynamicLayers=this.dynamicLayers:t={...t,layers:this.layers,layerDefs:this.layerDefs},t}};(0,i.Cg)([(0,d.MZ)({readOnly:!0})],P.prototype,"dynamicLayers",null),(0,i.Cg)([(0,d.MZ)()],P.prototype,"floors",void 0),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],P.prototype,"hasDynamicLayers",null),(0,i.Cg)([(0,d.MZ)()],P.prototype,"layer",null),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],P.prototype,"layers",null),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],P.prototype,"layerDefs",null),(0,i.Cg)([(0,d.MZ)({type:Number})],P.prototype,"scale",void 0),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],P.prototype,"version",null),(0,i.Cg)([(0,d.MZ)({readOnly:!0})],P.prototype,"visibleSublayers",null),P=(0,i.Cg)([(0,d.$K)("esri.layers.support.ExportImageParameters")],P);var F=r(33446),U=r(15775),_=r(91908),k=r(88625),R=r(79677),V=r(56400),B=r(36005),$=r(43937);let J=class extends((0,C.dM)((0,Z.e)((0,T.j)((0,A.I)((0,b.V)((0,w.b)((0,I.q)((0,M.A)((0,l.M)((0,x.J)((0,v.p)((0,S.d)(g.A))))))))))))){constructor(...e){super(...e),this._exportImageParameters=new P({layer:this}),this.dateFieldsTimeZone=null,this.datesInUnknownTimezone=!1,this.dpi=96,this.elevationInfo=new k.A({mode:"on-the-ground"}),this.gdbVersion=null,this.imageFormat="png24",this.imageMaxHeight=2048,this.imageMaxWidth=2048,this.imageTransparency=!0,this.isReference=null,this.labelsVisible=!1,this.operationalLayerType="ArcGISMapServiceLayer",this.preferredTimeZone=null,this.sourceJSON=null,this.sublayers=null,this.type="map-image",this.url=null,this._debouncedSaveOperations=(0,u.sg)(async(e,t,i)=>{const{save:n,saveAs:s}=await r.e(390).then(r.bind(r,10390));switch(e){case 0:return n(this,t);case 1:return s(this,i,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Map Service"]},e).catch(u.QP).then(()=>this._fetchService(t))),Promise.resolve(this)}destroy(){this._exportImageParameters.destroy()}readImageFormat(e,t){const r=t.supportedImageFormatTypes;return r&&r.includes("PNG32")?"png32":"png24"}get loaded(){return super.loaded}get portalItem(){return super.portalItem}set portalItem(e){super.portalItem=e}writeSublayers(e,t,r,i){if(!this.loaded||!e)return;const n=e.slice().reverse().flatten(({sublayers:e})=>e&&e.toArray().reverse()).toArray();let s=!1;const a=(0,c.aB)(i.origin);let o;if(this.capabilities?.operations.supportsExportMap&&this.capabilities?.exportMap?.supportsDynamicLayers)if(3===a){const e=this.createSublayersForOrigin("service").sublayers;s=(0,N.Zx)(n,e,2)}else if(a>3){const e=this.createSublayersForOrigin("portal-item");s=(0,N.Zx)(n,e.sublayers,(0,c.aB)(e.origin)),o=e.originWithPartialOverrides}const l=[],u={writeSublayerStructure:s,...i,minimumWritableOrigin:o};let p=s||this.hasVisibleLayersForOrigin(a);n.forEach(e=>{const t=e.write({},u);l.push(t),p=p||"user"===e.originOf("visible")}),l.some(e=>Object.keys(e).length>1)&&(t.layers=l),p&&(t.visibleLayers=n.filter(e=>e.visible).map(e=>e.id))}createExportImageParameters(e,t,r,i){const n=i?.pixelRatio||1;e&&this.version>=10&&(e=e.clone().shiftCentralMeridian()),this._exportImageParameters.floors=i?.floors??null,this._exportImageParameters.scale=i?.scale||(0,h.X_)({extent:e,width:t})*n;const s=this._exportImageParameters.toJSON(),a=!i?.rotation||this.version<10.3?{}:{rotation:-i.rotation},o=e?.spatialReference,l=(0,f.YX)(o);if(i?.scale&&e){const r=e.width/t*((0,p.GA)(e?.spatialReference)*p.dy);s.dpi=i.scale/r}s.dpi*=n;const u={};if(i?.timeExtent){const{start:e,end:t}=i.timeExtent.toJSON();u.time=e&&t&&e===t?""+e:`${e??"null"},${t??"null"}`}else this.timeInfo&&!this.timeInfo.hasLiveData&&(u.time="null,null");return{bbox:e?e.xmin+","+e.ymin+","+e.xmax+","+e.ymax:void 0,bboxSR:l,imageSR:l,size:t+","+r,...s,...a,...u}}async fetchImage(e,t,r,i){const{data:n}=await this._fetchImage("image",e,t,r,i);return n}async fetchImageBitmap(e,t,r,i){const{data:n,url:s}=await this._fetchImage("blob",e,t,r,i);return(0,F.mn)(n,s,i)}async fetchRecomputedExtents(e={}){const t={...e,query:{returnUpdates:!0,f:"json",...this.customParameters,token:this.apiKey}},{data:r}=await(0,n.A)(this.url,t),{extent:i,fullExtent:s,timeExtent:a}=r,o=i||s;return{fullExtent:o&&m.A.fromJSON(o),timeExtent:a&&R.A.fromJSON({start:a[0],end:a[1]})}}loadAll(){return(0,o.g)(this,e=>{e(this.allSublayers),e(this.subtables)})}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}serviceSupportsSpatialReference(e){return(0,_.D)(this,e)}async _fetchImage(e,t,r,i,s){const o={responseType:e,signal:s?.signal??null,query:{...this.parsedUrl.query,...this.createExportImageParameters(t,r,i,s),f:"image",...this.refreshParameters,...this.customParameters,token:this.apiKey}},l=this.parsedUrl.path+"/export";if(null!=o.query?.dynamicLayers&&!this.capabilities?.exportMap?.supportsDynamicLayers)throw new a.A("mapimagelayer:dynamiclayer-not-supported",`service ${this.url} doesn't support dynamic layers, which is required to be able to change the sublayer's order, rendering, labeling or source.`,{query:o.query});try{const{data:e}=await(0,n.A)(l,o);return{data:e,url:l}}catch(e){if((0,u.zf)(e))throw e;throw new a.A("mapimagelayer:image-fetch-error",`Unable to load image: ${l}`,{error:e})}}async _fetchService(e){if(this.sourceJSON)return void this.read(this.sourceJSON,{origin:"service",url:this.parsedUrl});const{data:t,ssl:r}=await(0,n.A)(this.parsedUrl.path,{query:{f:"json",...this.parsedUrl.query,...this.customParameters,token:this.apiKey},signal:e});r&&(this.url=this.url.replace(/^http:/i,"https:")),this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})}hasVisibleLayersForOrigin(e){return!(null==e||!this.sublayersSourceJSON[e]?.visibleLayers)}};(0,i.Cg)([(0,d.MZ)((0,V.P6)("dateFieldsTimeReference"))],J.prototype,"dateFieldsTimeZone",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean})],J.prototype,"datesInUnknownTimezone",void 0),(0,i.Cg)([(0,d.MZ)()],J.prototype,"dpi",void 0),(0,i.Cg)([(0,d.MZ)()],J.prototype,"elevationInfo",void 0),(0,i.Cg)([(0,d.MZ)()],J.prototype,"gdbVersion",void 0),(0,i.Cg)([(0,d.MZ)()],J.prototype,"imageFormat",void 0),(0,i.Cg)([(0,B.w)("imageFormat",["supportedImageFormatTypes"])],J.prototype,"readImageFormat",null),(0,i.Cg)([(0,d.MZ)({json:{origins:{service:{read:{source:"maxImageHeight"}}}}})],J.prototype,"imageMaxHeight",void 0),(0,i.Cg)([(0,d.MZ)({json:{origins:{service:{read:{source:"maxImageWidth"}}}}})],J.prototype,"imageMaxWidth",void 0),(0,i.Cg)([(0,d.MZ)()],J.prototype,"imageTransparency",void 0),(0,i.Cg)([(0,d.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],J.prototype,"isReference",void 0),(0,i.Cg)([(0,d.MZ)({json:{read:!1,write:!1}})],J.prototype,"labelsVisible",void 0),(0,i.Cg)([(0,d.MZ)({type:["ArcGISMapServiceLayer"]})],J.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,d.MZ)({json:{read:!1,write:!1}})],J.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,d.MZ)((0,V.P6)("preferredTimeReference"))],J.prototype,"preferredTimeZone",void 0),(0,i.Cg)([(0,d.MZ)()],J.prototype,"sourceJSON",void 0),(0,i.Cg)([(0,d.MZ)({type:s.A.ofType(U.A),json:{write:{ignoreOrigin:!0}}})],J.prototype,"sublayers",void 0),(0,i.Cg)([(0,$.K)("sublayers",{layers:{type:[U.A]},visibleLayers:{type:[y.jz]}})],J.prototype,"writeSublayers",null),(0,i.Cg)([(0,d.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],J.prototype,"listMode",void 0),(0,i.Cg)([(0,d.MZ)({json:{read:!1},readOnly:!0,value:"map-image"})],J.prototype,"type",void 0),(0,i.Cg)([(0,d.MZ)(E.OZ)],J.prototype,"url",void 0),J=(0,i.Cg)([(0,d.$K)("esri.layers.MapImageLayer")],J);const q=J},82935(e,t,r){r.d(t,{B:()=>y,e:()=>c});var i=r(5482),n=r(91429),s=r(89317),a=r(30524),o=r(96184),l=r(73133),u=r(79677),p=r(10184),d=r(36005);const y={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:s.K}}},c=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const r=t.timeInfo.exportOptions;if(!r)return null;const i=r.timeOffset,n=l.j.fromJSON(r.timeOffsetUnits);return i&&n?new p.A({value:i,unit:n}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,a.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,i.Cg)([(0,n.MZ)({type:u.A,json:{write:!1}})],r.prototype,"timeExtent",void 0),(0,i.Cg)([(0,n.MZ)({type:p.A})],r.prototype,"timeOffset",void 0),(0,i.Cg)([(0,d.w)("service","timeOffset",["timeInfo.exportOptions"])],r.prototype,"readOffset",null),(0,i.Cg)([(0,n.MZ)({value:null,type:o.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],r.prototype,"timeInfo",null),(0,i.Cg)([(0,n.MZ)(y)],r.prototype,"useViewTime",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.TemporalLayer")],r),r}},96184(e,t,r){r.d(t,{A:()=>c});var i=r(5482),n=r(69540),s=r(25482),a=r(91429),o=r(79677),l=r(10184),u=r(56400),p=r(36005),d=r(43937);function y(e,t){return l.A.fromJSON({value:e,unit:t})}let c=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?o.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?y(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?y(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],c.prototype,"cumulative",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],c.prototype,"endField",void 0),(0,i.Cg)([(0,a.MZ)({type:o.A,json:{write:{enabled:!0,allowNull:!0}}})],c.prototype,"fullTimeExtent",void 0),(0,i.Cg)([(0,p.w)("fullTimeExtent",["timeExtent"])],c.prototype,"readFullTimeExtent",null),(0,i.Cg)([(0,d.K)("fullTimeExtent")],c.prototype,"writeFullTimeExtent",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],c.prototype,"hasLiveData",void 0),(0,i.Cg)([(0,a.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],c.prototype,"interval",void 0),(0,i.Cg)([(0,p.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],c.prototype,"readInterval",null),(0,i.Cg)([(0,d.K)("interval")],c.prototype,"writeInterval",null),(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],c.prototype,"startField",void 0),(0,i.Cg)([(0,a.MZ)((0,u.P6)("timeReference",!0))],c.prototype,"timeZone",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],c.prototype,"trackIdField",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],c.prototype,"useTime",void 0),(0,i.Cg)([(0,a.MZ)({type:[Date],json:{read:!1}})],c.prototype,"stops",void 0),c=(0,i.Cg)([(0,a.$K)("esri.layers.support.TimeInfo")],c)},77548(e,t,r){r.d(t,{Gh:()=>L,tk:()=>T,BR:()=>x,p2:()=>I,qd:()=>A,wI:()=>M,G$:()=>E,$x:()=>Z,Ov:()=>b,cM:()=>y,UC:()=>c,W_:()=>w,Qz:()=>m,OP:()=>O,TU:()=>v,F2:()=>h,XX:()=>g,jy:()=>C});var i=r(70333),n=r(11254),s=r(7762),a=(r(84952),r(36563)),o=r(36708),l=r(4146);const u=new WeakMap;function p(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,o.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof l.A)&&("catalog-dynamic-group"===t.type||p(t))},t=>u.set(e,t),o.pc),(0,a.hA)(()=>u.delete(e))]),u.get(e))}function d(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function y(e){return d(e,"knowledge-graph")&&"layers"in e}function c(e){return d(e,"knowledge-graph-sublayer")}function m(e){return d(e,"link-chart")&&"layers"in e}function h(e){return d(e,"subtype-group")&&"sublayers"in e}function f(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}r(16215);const g={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function v(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function b(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function w(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}function C(e){return function(e){return null!=e&&"object"==typeof e&&"type"in e&&"oriented-imagery"===e.type}(e)||function(e){return d(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)}function S(e){const t=e?.type;return"binning"===t||"cluster"===t}function I(e,t){if(!C(e))return;const r=t?.graphic,i=e.featureReduction;if(r){if(r.isAggregate){const e=r.origin;return e&&"featureReductionProvider"in e&&i?S(i)?i:null:void 0}return e}return t?.checkFeatureReduction&&i?S(i)?i:null:e}async function M(e,t){const r=i.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const a=`${e.slice(0,s)}/rest/info`,o=null!=t?t.signal:null,{data:l}=await(0,n.A)(a,{query:{f:"json"},responseType:"json",signal:o});return l?.owningSystemUrl||null}function x(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function T(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function A(e){const t=new s.A;for(const r of e.allLayers.concat(e.allTables))p(r)||f(r)||("charts"in r&&t.push(r),"subtype-group"===r.type&&t.push(...r.sublayers));return t}function Z(e,t){return null}function E(e){return null}function O(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function L(e,t){if(!t||!O(e))return;const r=(e.url,null);r&&(e.url=r)}},91908(e,t,r){r.d(t,{D:()=>s});var i=r(60694);const n=[];function s(e,t){if((0,i.Wo)(e.url??""))return!0;const{wkid:r}=t;for(const t of n){if((e.version??0)>=t[0])return!0;if("function"==typeof t[1]&&(t[1]=t[1]()),t[1].has(r))return!1}return!0}n.push([10.91,()=>{const e=new Set([9709,9716,9741,9761,9766]);for(let t=9712;t<=9713;t++)e.add(t);for(let t=9748;t<=9749;t++)e.add(t);for(let t=20904;t<=20932;t++)e.add(t);for(let t=21004;t<=21032;t++)e.add(t);for(let t=21207;t<=21264;t++)e.add(t);for(let t=21307;t<=21364;t++)e.add(t);for(let t=23301;t<=23333;t++)e.add(t);for(let t=102759;t<=102760;t++)e.add(t);for(let t=102934;t<=102955;t++)e.add(t);return e}]),n.push([10.9,()=>{const e=new Set([9300,9354,9364,9367,9373,9377,9387,9456,9473,9498,9678,9680,29874,103599,103872,104028]);for(let t=9356;t<=9360;t++)e.add(t);for(let t=9404;t<=9407;t++)e.add(t);for(let t=9476;t<=9482;t++)e.add(t);for(let t=9487;t<=9494;t++)e.add(t);for(let t=9697;t<=9699;t++)e.add(t);return e}]),n.push([10.81,()=>{const e=new Set([9265,9333,103598,103699]);for(let t=9248;t<=9254;t++)e.add(t);for(let t=9271;t<=9273;t++)e.add(t);for(let t=9284;t<=9285;t++)e.add(t);for(let t=21453;t<=21463;t++)e.add(t);return e}]),n.push([10.8,()=>{const e=new Set([8088,8395,8428,8433,8531,8687,8692,8694,8699,8900,9003,9006,9009,9012,9017,9191]);for(let t=8035;t<=8036;t++)e.add(t);for(let t=8455;t<=8456;t++)e.add(t);for(let t=8518;t<=8529;t++)e.add(t);for(let t=8533;t<=8536;t++)e.add(t);for(let t=8538;t<=8540;t++)e.add(t);for(let t=8677;t<=8679;t++)e.add(t);for(let t=8902;t<=8903;t++)e.add(t);for(let t=8907;t<=8910;t++)e.add(t);for(let t=8949;t<=8951;t++)e.add(t);for(let t=8972;t<=8987;t++)e.add(t);for(let t=9039;t<=9040;t++)e.add(t);for(let t=9068;t<=9069;t++)e.add(t);for(let t=9140;t<=9141;t++)e.add(t);for(let t=9148;t<=9150;t++)e.add(t);for(let t=9153;t<=9159;t++)e.add(t);for(let t=9205;t<=9218;t++)e.add(t);for(let t=9221;t<=9222;t++)e.add(t);for(let t=54098;t<=54101;t++)e.add(t);return e}]),n.push([10.71,()=>{const e=new Set([6316]);for(let t=8351;t<=8353;t++)e.add(t);for(let t=9294;t<=9297;t++)e.add(t);for(let t=22619;t<=22621;t++)e.add(t);for(let t=103586;t<=103594;t++)e.add(t);return e}])},16215(e,t,r){r.d(t,{S:()=>n,Y:()=>i});const i=Symbol("BasemapInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}},79677(e,t,r){r.d(t,{A:()=>y});var i,n=r(5482),s=r(25482),a=r(88930),o=r(91429),l=r(98623),u=r(10184),p=r(36005),d=r(43937);let y=class extends s.o{static{i=this}static get allTime(){return c}static get empty(){return m}static fromArray(e){return new i({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===i&&r===n}expandTo(e,t=l.qU){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let r=this.start;r&&(r=(0,a.lL)(r,new u.A({value:1,unit:e}),t));let n=this.end;if(n){const r=(0,a.lL)(n,new u.A({value:1,unit:e}),t);n=n.getTime()===r.getTime()?r:(0,a.S1)(r,1,e,t)}return new i({start:r,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let a,o;return n>=t&&n<=r?a=n:t>=n&&t<=s&&(a=t),r>=n&&r<=s?o=r:s>=t&&s<=r&&(o=s),null==a||null==o||isNaN(a)||isNaN(o)?i.empty:new i({start:a===-1/0?null:new Date(a),end:o===1/0?null:new Date(o)})}offset(e,t,r=l.qU){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const n=new i,{start:s,end:o}=this;return null!=s&&(n.start=(0,a.S1)(s,e,t,r)),null!=o&&(n.end=(0,a.S1)(o,e,t,r)),n}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return c.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:r})}};(0,n.Cg)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],y.prototype,"end",void 0),(0,n.Cg)([(0,p.w)("end")],y.prototype,"readEnd",null),(0,n.Cg)([(0,d.K)("end")],y.prototype,"writeEnd",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],y.prototype,"isAllTime",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],y.prototype,"isEmpty",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],y.prototype,"start",void 0),(0,n.Cg)([(0,p.w)("start")],y.prototype,"readStart",null),(0,n.Cg)([(0,d.K)("start")],y.prototype,"writeStart",null),y=i=(0,n.Cg)([(0,o.$K)("esri.time.TimeExtent")],y);const c=new y,m=new y({start:void 0,end:void 0})},10184(e,t,r){r.d(t,{A:()=>p});var i=r(5482),n=r(69540),s=r(25482),a=r(88930),o=r(91429),l=r(73133),u=r(93223);let p=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,a.t)(this.value,this.unit,"milliseconds")}};(0,i.Cg)([(0,u.e)(l.j,{nonNullable:!0})],p.prototype,"unit",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=(0,i.Cg)([(0,o.$K)("esri.time.TimeInterval")],p)}}]);