@arcgis/core 5.2.0-next.112 → 5.2.0-next.114

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 (562) hide show
  1. package/Ground.js +1 -1
  2. package/arcgisGlobal.d.ts +6 -0
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/01ca17092545d72be7b6.js +1 -0
  5. package/assets/esri/core/workers/chunks/{f5a988bb850f7a7af143.js → 05b373a663cb5d4d722f.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{36f8caeb574dcd5c0ed5.js → 0b727d7bf3e36e146725.js} +1 -1
  7. package/assets/esri/core/workers/chunks/0c65862e3dd810015491.js +1 -0
  8. package/assets/esri/core/workers/chunks/0e3e58ba8e2d358121a5.js +1 -0
  9. package/assets/esri/core/workers/chunks/0edebc6c516f0b9dac7b.js +1 -0
  10. package/assets/esri/core/workers/chunks/1004e77593dfa506cd5d.js +1 -0
  11. package/assets/esri/core/workers/chunks/184942ea601237c8241a.js +1 -0
  12. package/assets/esri/core/workers/chunks/20de0ea9fa08a6545978.js +1 -0
  13. package/assets/esri/core/workers/chunks/214d63813d268afc265d.js +1 -0
  14. package/assets/esri/core/workers/chunks/22e85819e23202a8ba90.js +1 -0
  15. package/assets/esri/core/workers/chunks/{6e677505d257e0848075.js → 23f9ab77e4e263f82636.js} +1 -1
  16. package/assets/esri/core/workers/chunks/28a04887ecaee5445d14.js +1 -0
  17. package/assets/esri/core/workers/chunks/{2fc5c1504691badc7792.js → 2ac2d0a7623dd060c144.js} +1 -1
  18. package/assets/esri/core/workers/chunks/2afce71e8b6ae86e0792.js +1 -0
  19. package/assets/esri/core/workers/chunks/36792b8a85e88044cb49.js +1 -0
  20. package/assets/esri/core/workers/chunks/36a7e19f43517aa94577.js +1 -0
  21. package/assets/esri/core/workers/chunks/{6e6cdff4bbe1ff2f44ac.js → 3ab25279aaa30f035038.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{e6dae16208f6978b59e0.js → 3b499cfc89c8f87cdb20.js} +1 -1
  23. package/assets/esri/core/workers/chunks/445b0ca1b70730c9a2e6.js +1 -0
  24. package/assets/esri/core/workers/chunks/{24673aac70d6c949b6fa.js → 4bf2cc4d092601ff2b86.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{d45483dd0dc2853b18b7.js → 4bfd63f3cf9208eb839b.js} +33 -33
  26. package/assets/esri/core/workers/chunks/501df20cdd09384f6ee2.js +1 -0
  27. package/assets/esri/core/workers/chunks/510a190a6f0a60ae38c3.js +1 -0
  28. package/assets/esri/core/workers/chunks/{89a785f8b61263e2d592.js → 552c92b01a5f02a115c5.js} +1 -1
  29. package/assets/esri/core/workers/chunks/564fdf0d663b773806cc.js +1 -0
  30. package/assets/esri/core/workers/chunks/{d9270f4935eb0d044db3.js → 57328c206f1e699ac06f.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{50951fb13013b11b8a24.js → 58e62c8ce1292f4d3b06.js} +1 -1
  32. package/assets/esri/core/workers/chunks/5aee7739afb5160d4ace.js +1 -0
  33. package/assets/esri/core/workers/chunks/5b9925f23d4b10a7087e.js +1 -0
  34. package/assets/esri/core/workers/chunks/5f79ba5639067f734791.js +1 -0
  35. package/assets/esri/core/workers/chunks/{b013b70e40dfb6ce013e.js → 60c61f34733063730386.js} +1 -1
  36. package/assets/esri/core/workers/chunks/62b1f94f4fa978d4da48.js +1 -0
  37. package/assets/esri/core/workers/chunks/6b264006b96cbf93d8ed.js +1 -0
  38. package/assets/esri/core/workers/chunks/6b9d29ca568590358478.js +1 -0
  39. package/assets/esri/core/workers/chunks/{7c5310e0104c22da0261.js → 6c7cb7974969e3167f2b.js} +1 -1
  40. package/assets/esri/core/workers/chunks/6c82cbcd504c711a7450.js +1 -0
  41. package/assets/esri/core/workers/chunks/{e98b785e8f4edc8bd3ff.js → 6eceeca33fac8e900d9d.js} +1 -1
  42. package/assets/esri/core/workers/chunks/7232fc11b23777b6be94.js +1 -0
  43. package/assets/esri/core/workers/chunks/726ca458b98bb4334431.js +1 -0
  44. package/assets/esri/core/workers/chunks/785206da3962ba23de16.js +1 -0
  45. package/assets/esri/core/workers/chunks/{1c70620f40be02f532b5.js → 7b169eabafcc03bfaee6.js} +1 -1
  46. package/assets/esri/core/workers/chunks/7bbc3d22383388d11345.js +1 -0
  47. package/assets/esri/core/workers/chunks/{082069f80eee0407b828.js → 7edf57e31ff07af9032b.js} +1 -1
  48. package/assets/esri/core/workers/chunks/83ed38468e316302b157.js +1 -0
  49. package/assets/esri/core/workers/chunks/85c876ee9e63d5732937.js +1 -0
  50. package/assets/esri/core/workers/chunks/8f0ecf4d06ec7b67d4ed.js +1 -0
  51. package/assets/esri/core/workers/chunks/8f1c5f5e70d4b33d021d.js +1 -0
  52. package/assets/esri/core/workers/chunks/{a1916bca1af5c65be4b0.js → 90ab3c47138875070a53.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{10389c87d9c6a43363ce.js → 917dec9c004218c58950.js} +1 -1
  54. package/assets/esri/core/workers/chunks/91f451b98e0f696043df.js +1 -0
  55. package/assets/esri/core/workers/chunks/943d0026ca4d49eb3ac2.js +1 -0
  56. package/assets/esri/core/workers/chunks/982a396bd4fffa62e911.js +1 -0
  57. package/assets/esri/core/workers/chunks/98a5327fd96d9542b39f.js +1 -0
  58. package/assets/esri/core/workers/chunks/9b9a60f1e0c48aa701f0.js +1 -0
  59. package/assets/esri/core/workers/chunks/9d92e6f0beed9a8580fa.js +1 -0
  60. package/assets/esri/core/workers/chunks/9df379041e8860fe7f01.js +1 -0
  61. package/assets/esri/core/workers/chunks/{1e8ceb4a4b28625236e3.js → a42505b978d54d36d3b6.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{bfbe6ff786435fe1e7cf.js → a86a4e550a92f770d6d5.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{a34eee4c9d4c1c2b8c49.js → ab60f3bc18b5ea504f70.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{18b9ec6ba7a6c0fa2ac6.js → b1880d9f5eafd50ce84b.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{777fc163530448eea13e.js → b4222152efaf73b37b53.js} +1 -1
  66. package/assets/esri/core/workers/chunks/b6ca73c1384f07b30b74.js +1 -0
  67. package/assets/esri/core/workers/chunks/bb4cbf6b7c35e8c78cc7.js +1 -0
  68. package/assets/esri/core/workers/chunks/bb831d23422acfb00ae2.js +1 -0
  69. package/assets/esri/core/workers/chunks/c0855be20ffcd52c7026.js +1 -0
  70. package/assets/esri/core/workers/chunks/{a0f742fd947104662d37.js → c6277236ec47586dca00.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{3be33a129d3ae7dc4f06.js → caf38cf4d8542fb11c46.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{2728eda8178e02fbca47.js → cd0f5cd0fefe7f49e3d8.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{48a53bfeef11c32dadcc.js → d25fb32a233d2128afbe.js} +1 -1
  74. package/assets/esri/core/workers/chunks/d629708bf23da24ee523.js +1 -0
  75. package/assets/esri/core/workers/chunks/db141122060d8d9b38da.js +1 -0
  76. package/assets/esri/core/workers/chunks/dc1944a7601b518a9c48.js +1 -0
  77. package/assets/esri/core/workers/chunks/{573ee2e59d26bc75201e.js → dc8670f32bb0b93c1473.js} +1 -1
  78. package/assets/esri/core/workers/chunks/e164acd876bbd42ed658.js +1 -0
  79. package/assets/esri/core/workers/chunks/e1f2b07be33e33117313.js +1 -0
  80. package/assets/esri/core/workers/chunks/e52f30dfb7c82491a7f2.js +1 -0
  81. package/assets/esri/core/workers/chunks/e5906b28b981199fd489.js +1 -0
  82. package/assets/esri/core/workers/chunks/{b3293ee9f221423a6825.js → e611e452f04a9ce64cf8.js} +1 -1
  83. package/assets/esri/core/workers/chunks/{0f20c458f873564faff2.js → ec4f887153c24ab83f2c.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{707b4ae689c4329cad3b.js → f40ceb5e03c699605302.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{547a073c789fdfb78310.js → f42243c62dd0b6993816.js} +1 -1
  86. package/assets/esri/core/workers/chunks/f91cab9904020cf25d50.js +1 -0
  87. package/assets/esri/core/workers/chunks/fdf5ceffec9d5185953d.js +1 -0
  88. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ar.json +1 -1
  89. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.bg.json +1 -1
  90. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.bs.json +1 -1
  91. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ca.json +1 -1
  92. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.cs.json +1 -1
  93. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.da.json +1 -1
  94. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.de.json +1 -1
  95. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.el.json +1 -1
  96. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.es.json +1 -1
  97. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.et.json +1 -1
  98. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.fi.json +1 -1
  99. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.fr.json +1 -1
  100. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.he.json +1 -1
  101. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.hr.json +1 -1
  102. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.hu.json +1 -1
  103. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.id.json +1 -1
  104. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.it.json +1 -1
  105. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ja.json +1 -1
  106. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ko.json +1 -1
  107. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.lt.json +1 -1
  108. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.lv.json +1 -1
  109. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.nl.json +1 -1
  110. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.no.json +1 -1
  111. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pl.json +1 -1
  112. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pt-BR.json +1 -1
  113. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.pt-PT.json +1 -1
  114. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ro.json +1 -1
  115. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.ru.json +1 -1
  116. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sk.json +1 -1
  117. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sl.json +1 -1
  118. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sr.json +1 -1
  119. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.sv.json +1 -1
  120. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.th.json +1 -1
  121. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.tr.json +1 -1
  122. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.uk.json +1 -1
  123. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.vi.json +1 -1
  124. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-CN.json +1 -1
  125. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-HK.json +1 -1
  126. package/assets/esri/views/3d/analysis/ShadowCast/t9n/messages.zh-TW.json +1 -1
  127. package/assets/esri/views/3d/analysis/VolumeMeasurement/t9n/messages.ja.json +1 -1
  128. package/assets/esri/views/3d/environment/resources/milkyway-band.ktx2 +0 -0
  129. package/assets/esri/widgets/DistanceMeasurement2D/t9n/messages.de.json +1 -1
  130. package/assets/esri/widgets/DistanceMeasurement2D/t9n/messages.ro.json +1 -1
  131. package/assets/esri/widgets/Expand/t9n/messages.id.json +1 -1
  132. package/assets/esri/widgets/Features/t9n/messages.he.json +1 -1
  133. package/assets/esri/widgets/Features/t9n/messages.uk.json +1 -1
  134. package/assets/esri/widgets/Home/t9n/messages.bs.json +1 -1
  135. package/assets/esri/widgets/Home/t9n/messages.de.json +1 -1
  136. package/assets/esri/widgets/Home/t9n/messages.et.json +1 -1
  137. package/assets/esri/widgets/Home/t9n/messages.fi.json +1 -1
  138. package/assets/esri/widgets/Home/t9n/messages.hr.json +1 -1
  139. package/assets/esri/widgets/Home/t9n/messages.hu.json +1 -1
  140. package/assets/esri/widgets/Home/t9n/messages.id.json +1 -1
  141. package/assets/esri/widgets/Home/t9n/messages.lv.json +1 -1
  142. package/assets/esri/widgets/Home/t9n/messages.nl.json +1 -1
  143. package/assets/esri/widgets/Home/t9n/messages.pt-PT.json +1 -1
  144. package/assets/esri/widgets/Home/t9n/messages.th.json +1 -1
  145. package/assets/esri/widgets/Home/t9n/messages.tr.json +1 -1
  146. package/assets/esri/widgets/OrientedImageryViewer/t9n/messages.de.json +1 -1
  147. package/assets/esri/widgets/Print/t9n/messages.es.json +1 -1
  148. package/assets/esri/widgets/Print/t9n/messages.it.json +1 -1
  149. package/assets/esri/widgets/Print/t9n/messages.lt.json +1 -1
  150. package/assets/esri/widgets/Print/t9n/messages.pt-PT.json +1 -1
  151. package/assets/esri/widgets/Print/t9n/messages.sl.json +1 -1
  152. package/assets/esri/widgets/Print/t9n/messages.sr.json +1 -1
  153. package/assets/esri/widgets/Search/t9n/messages.bs.json +1 -1
  154. package/assets/esri/widgets/Search/t9n/messages.de.json +1 -1
  155. package/assets/esri/widgets/Search/t9n/messages.es.json +1 -1
  156. package/assets/esri/widgets/Search/t9n/messages.et.json +1 -1
  157. package/assets/esri/widgets/Search/t9n/messages.fi.json +1 -1
  158. package/assets/esri/widgets/Search/t9n/messages.he.json +1 -1
  159. package/assets/esri/widgets/Search/t9n/messages.hr.json +1 -1
  160. package/assets/esri/widgets/Search/t9n/messages.it.json +1 -1
  161. package/assets/esri/widgets/Search/t9n/messages.lv.json +1 -1
  162. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ar.json +1 -1
  163. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ca.json +1 -1
  164. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.cs.json +1 -1
  165. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.el.json +1 -1
  166. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.es.json +1 -1
  167. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.fi.json +1 -1
  168. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.he.json +1 -1
  169. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.it.json +1 -1
  170. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.lt.json +1 -1
  171. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.lv.json +1 -1
  172. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.pl.json +1 -1
  173. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ro.json +1 -1
  174. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.ru.json +1 -1
  175. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.sl.json +1 -1
  176. package/assets/esri/widgets/smartMapping/HeatmapSlider/t9n/messages.uk.json +1 -1
  177. package/assets/esri/widgets/support/GridControls/t9n/messages.pt-BR.json +1 -1
  178. package/chunks/DeepSky.glsl.js +2 -2
  179. package/chunks/FocusArea.glsl.js +1 -1
  180. package/chunks/GaussianSplatDepth.glsl.js +3 -3
  181. package/chunks/RibbonLine.glsl.js +15 -13
  182. package/config.js +1 -1
  183. package/core/Evented.d.ts +1 -1
  184. package/form/elements/AttachmentElement.d.ts +5 -5
  185. package/form/elements/inputs/attachments/AttachmentInput.d.ts +1 -1
  186. package/geometry/Extent.js +1 -1
  187. package/geometry/operators/affineTransformOperator.d.ts +9 -3
  188. package/geometry/operators/affineTransformOperator.js +1 -1
  189. package/geometry/operators/alphaShapeOperator.d.ts +14 -4
  190. package/geometry/operators/alphaShapeOperator.js +1 -1
  191. package/geometry/operators/areaOperator.d.ts +11 -3
  192. package/geometry/operators/areaOperator.js +1 -1
  193. package/geometry/operators/autoCompleteOperator.d.ts +6 -2
  194. package/geometry/operators/autoCompleteOperator.js +1 -1
  195. package/geometry/operators/boundaryOperator.d.ts +9 -3
  196. package/geometry/operators/boundaryOperator.js +1 -1
  197. package/geometry/operators/bufferOperator.d.ts +19 -5
  198. package/geometry/operators/bufferOperator.js +1 -1
  199. package/geometry/operators/centroidOperator.d.ts +6 -2
  200. package/geometry/operators/centroidOperator.js +1 -1
  201. package/geometry/operators/clipOperator.d.ts +9 -3
  202. package/geometry/operators/clipOperator.js +1 -1
  203. package/geometry/operators/containsOperator.d.ts +9 -3
  204. package/geometry/operators/containsOperator.js +1 -1
  205. package/geometry/operators/convexHullOperator.d.ts +17 -5
  206. package/geometry/operators/convexHullOperator.js +1 -1
  207. package/geometry/operators/crossesOperator.d.ts +9 -3
  208. package/geometry/operators/crossesOperator.js +1 -1
  209. package/geometry/operators/cutOperator.d.ts +6 -2
  210. package/geometry/operators/cutOperator.js +1 -1
  211. package/geometry/operators/densifyOperator.d.ts +14 -4
  212. package/geometry/operators/densifyOperator.js +1 -1
  213. package/geometry/operators/differenceOperator.d.ts +9 -3
  214. package/geometry/operators/differenceOperator.js +1 -1
  215. package/geometry/operators/disjointOperator.d.ts +9 -3
  216. package/geometry/operators/disjointOperator.js +1 -1
  217. package/geometry/operators/distanceOperator.d.ts +11 -3
  218. package/geometry/operators/distanceOperator.js +1 -1
  219. package/geometry/operators/equalsOperator.d.ts +9 -3
  220. package/geometry/operators/equalsOperator.js +1 -1
  221. package/geometry/operators/extendOperator.d.ts +11 -3
  222. package/geometry/operators/extendOperator.js +1 -1
  223. package/geometry/operators/generalizeOperator.d.ts +14 -4
  224. package/geometry/operators/generalizeOperator.js +1 -1
  225. package/geometry/operators/geodesicBufferOperator.d.ts +25 -7
  226. package/geometry/operators/geodesicBufferOperator.js +1 -1
  227. package/geometry/operators/geodesicProximityOperator.d.ts +28 -8
  228. package/geometry/operators/geodesicProximityOperator.js +1 -1
  229. package/geometry/operators/geodeticAreaOperator.d.ts +17 -5
  230. package/geometry/operators/geodeticAreaOperator.js +1 -1
  231. package/geometry/operators/geodeticDensifyOperator.d.ts +20 -6
  232. package/geometry/operators/geodeticDensifyOperator.js +1 -1
  233. package/geometry/operators/geodeticDistanceOperator.d.ts +17 -5
  234. package/geometry/operators/geodeticDistanceOperator.js +1 -1
  235. package/geometry/operators/geodeticLengthOperator.d.ts +17 -5
  236. package/geometry/operators/geodeticLengthOperator.js +1 -1
  237. package/geometry/operators/geodeticUtilsOperator.d.ts +17 -5
  238. package/geometry/operators/geodeticUtilsOperator.js +1 -1
  239. package/geometry/operators/graphicBufferOperator.d.ts +11 -3
  240. package/geometry/operators/graphicBufferOperator.js +1 -1
  241. package/geometry/operators/integrateOperator.d.ts +6 -2
  242. package/geometry/operators/integrateOperator.js +1 -1
  243. package/geometry/operators/intersectionOperator.d.ts +12 -4
  244. package/geometry/operators/intersectionOperator.js +1 -1
  245. package/geometry/operators/intersectsOperator.d.ts +9 -3
  246. package/geometry/operators/intersectsOperator.js +1 -1
  247. package/geometry/operators/isNearOperator.d.ts +11 -3
  248. package/geometry/operators/isNearOperator.js +1 -1
  249. package/geometry/operators/json/bufferOperator.js +1 -1
  250. package/geometry/operators/json/containsOperator.js +1 -1
  251. package/geometry/operators/json/convexHullOperator.js +1 -1
  252. package/geometry/operators/json/crossesOperator.js +1 -1
  253. package/geometry/operators/json/disjointOperator.js +1 -1
  254. package/geometry/operators/json/generalizeOperator.js +1 -1
  255. package/geometry/operators/json/geodesicBufferOperator.js +1 -1
  256. package/geometry/operators/json/graphicBufferOperator.js +1 -1
  257. package/geometry/operators/json/intersectionOperator.js +1 -1
  258. package/geometry/operators/json/intersectsOperator.js +1 -1
  259. package/geometry/operators/json/lengthOperator.js +1 -1
  260. package/geometry/operators/json/offsetOperator.js +1 -1
  261. package/geometry/operators/json/overlapsOperator.js +1 -1
  262. package/geometry/operators/json/projectOperator.js +1 -1
  263. package/geometry/operators/json/simplifyOperator.js +1 -1
  264. package/geometry/operators/json/simplifyOperatorOGC.js +1 -1
  265. package/geometry/operators/json/touchesOperator.js +1 -1
  266. package/geometry/operators/json/unionOperator.js +1 -1
  267. package/geometry/operators/json/withinOperator.js +1 -1
  268. package/geometry/operators/labelPointOperator.d.ts +9 -3
  269. package/geometry/operators/labelPointOperator.js +1 -1
  270. package/geometry/operators/lengthOperator.d.ts +11 -3
  271. package/geometry/operators/lengthOperator.js +1 -1
  272. package/geometry/operators/linesToPolygonsOperator.d.ts +6 -2
  273. package/geometry/operators/linesToPolygonsOperator.js +1 -1
  274. package/geometry/operators/locateBetweenOperator.d.ts +6 -2
  275. package/geometry/operators/locateBetweenOperator.js +1 -1
  276. package/geometry/operators/minimumBoundingCircleOperator.d.ts +14 -4
  277. package/geometry/operators/minimumBoundingCircleOperator.js +1 -1
  278. package/geometry/operators/multiPartToSinglePartOperator.d.ts +11 -3
  279. package/geometry/operators/multiPartToSinglePartOperator.js +1 -1
  280. package/geometry/operators/offsetOperator.d.ts +14 -4
  281. package/geometry/operators/offsetOperator.js +1 -1
  282. package/geometry/operators/overlapsOperator.d.ts +9 -3
  283. package/geometry/operators/overlapsOperator.js +1 -1
  284. package/geometry/operators/polygonOverlayOperator.d.ts +11 -3
  285. package/geometry/operators/polygonOverlayOperator.js +1 -1
  286. package/geometry/operators/polygonSlicerOperator.d.ts +22 -6
  287. package/geometry/operators/polygonSlicerOperator.js +1 -1
  288. package/geometry/operators/projectOperator.d.ts +15 -5
  289. package/geometry/operators/projectOperator.js +1 -1
  290. package/geometry/operators/proximityOperator.d.ts +22 -6
  291. package/geometry/operators/proximityOperator.js +1 -1
  292. package/geometry/operators/relateOperator.d.ts +12 -4
  293. package/geometry/operators/relateOperator.js +1 -1
  294. package/geometry/operators/reshapeOperator.d.ts +6 -2
  295. package/geometry/operators/reshapeOperator.js +1 -1
  296. package/geometry/operators/shapePreservingProjectOperator.d.ts +20 -6
  297. package/geometry/operators/shapePreservingProjectOperator.js +1 -1
  298. package/geometry/operators/simplifyOGCOperator.d.ts +3 -1
  299. package/geometry/operators/simplifyOGCOperator.js +1 -1
  300. package/geometry/operators/simplifyOperator.d.ts +12 -4
  301. package/geometry/operators/simplifyOperator.js +1 -1
  302. package/geometry/operators/singlePartToMultiPartOperator.js +1 -1
  303. package/geometry/operators/support/deprecatedOperator.js +2 -0
  304. package/geometry/operators/symmetricDifferenceOperator.d.ts +9 -3
  305. package/geometry/operators/symmetricDifferenceOperator.js +1 -1
  306. package/geometry/operators/touchesOperator.d.ts +9 -3
  307. package/geometry/operators/touchesOperator.js +1 -1
  308. package/geometry/operators/unionOperator.d.ts +9 -3
  309. package/geometry/operators/unionOperator.js +1 -1
  310. package/geometry/operators/withinOperator.d.ts +9 -3
  311. package/geometry/operators/withinOperator.js +1 -1
  312. package/geometry/support/intersectsBase.js +1 -1
  313. package/geometry/support/normalizeUtils.js +1 -1
  314. package/kernel.js +1 -1
  315. package/layers/FeatureLayer.d.ts +2 -2
  316. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  317. package/layers/IntegratedMeshLayer.js +1 -1
  318. package/layers/SceneLayer.js +1 -1
  319. package/layers/buildingSublayers/BuildingComponentSublayer.js +1 -1
  320. package/layers/list/BasemapItemCollection.d.ts +40 -14
  321. package/layers/list/BasemapItemCollection.js +1 -1
  322. package/layers/list/CatalogItemCollection.d.ts +29 -11
  323. package/layers/list/CatalogItemCollection.js +1 -1
  324. package/layers/list/Item.d.ts +66 -122
  325. package/layers/list/Item.js +1 -1
  326. package/layers/list/ItemPanel.d.ts +23 -34
  327. package/layers/list/LayerItemCollection.d.ts +33 -43
  328. package/layers/list/LayerItemCollection.js +1 -1
  329. package/layers/list/TableItem.d.ts +42 -53
  330. package/layers/list/TableItem.js +1 -1
  331. package/layers/list/TableItemCollection.d.ts +25 -55
  332. package/layers/list/TableItemCollection.js +1 -1
  333. package/layers/list/TableItemPanel.d.ts +25 -23
  334. package/layers/list/support/layerListUtils.js +1 -1
  335. package/layers/list/types.d.ts +158 -37
  336. package/layers/support/ElevationQuery.js +1 -1
  337. package/layers/support/FeatureFilter.d.ts +2 -1
  338. package/layers/support/FeatureFilter.js +1 -1
  339. package/layers/support/FeatureReductionBinning.d.ts +2 -2
  340. package/layers/support/FeatureReductionCluster.d.ts +2 -2
  341. package/layers/support/SubtypeSublayer.d.ts +1 -1
  342. package/package.json +3 -3
  343. package/popup/FeatureContent.d.ts +7 -7
  344. package/portal/schemas/definitions.js +1 -1
  345. package/portal/types.d.ts +1 -1
  346. package/renderers/DotDensityRenderer.d.ts +2 -2
  347. package/rest/knowledgeGraph/GraphDeleteNamedTypeResult.d.ts +0 -1
  348. package/rest/knowledgeGraph/ReplicaDefinition.d.ts +1 -1
  349. package/rest/knowledgeGraphService.d.ts +2 -2
  350. package/rest/support/Query.d.ts +1 -3
  351. package/rest/support/RelationshipQuery.d.ts +1 -1
  352. package/support/revision.js +1 -1
  353. package/symbols/LineSymbol3D.js +1 -1
  354. package/symbols/LineSymbol3DLayer.d.ts +9 -3
  355. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  356. package/symbols/cim/CIMSymbolHelper.js +1 -1
  357. package/symbols/cim/OverrideHelper.js +1 -1
  358. package/symbols/cim/Rasterizer.js +1 -1
  359. package/symbols/cim/cimAnalyzer.js +1 -1
  360. package/symbols/cim/dashUtils.js +2 -0
  361. package/symbols/cim/effects/EffectDashes.js +1 -1
  362. package/symbols/cim/fromCIMFontStyle.js +2 -0
  363. package/symbols/cim/richTextUtils.js +1 -1
  364. package/symbols/cim/types.d.ts +32 -0
  365. package/symbols/cim/utils.js +1 -1
  366. package/symbols/patterns/LinePattern3D.d.ts +10 -4
  367. package/symbols/patterns/LinePattern3D.js +1 -1
  368. package/symbols/patterns/LineTemplatePattern3D.d.ts +48 -0
  369. package/symbols/patterns/LineTemplatePattern3D.js +2 -0
  370. package/symbols/patterns/utils.js +1 -1
  371. package/symbols/support/Symbol3DOutline.js +1 -1
  372. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  373. package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
  374. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  375. package/views/2d/engine/webgl/GlyphWorker.js +1 -1
  376. package/views/2d/engine/webgl/TextureManager.js +1 -1
  377. package/views/2d/engine/webgl/decorGlyphRect.js +2 -0
  378. package/views/2d/engine/webgl/definitions.js +1 -1
  379. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  380. package/views/2d/engine/webgl/effects/highlight/MultiHighlightGradient.js +1 -1
  381. package/views/2d/engine/webgl/hashMosaic.js +2 -0
  382. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  383. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
  384. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHighlight.js +1 -1
  385. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/utils.js +1 -1
  386. package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
  387. package/views/2d/layers/GraphicsLayerView2D.js +1 -1
  388. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  389. package/views/2d/layers/LayerView2D.js +1 -1
  390. package/views/2d/layers/MapImageLayerView2D.js +1 -1
  391. package/views/2d/layers/MapNotesLayerView2D.js +1 -1
  392. package/views/2d/layers/RouteLayerView2D.js +1 -1
  393. package/views/2d/layers/TileLayerView2D.js +1 -1
  394. package/views/2d/layers/features/FeatureContainer.js +1 -1
  395. package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
  396. package/views/2d/layers/features/Processor.js +1 -1
  397. package/views/2d/layers/features/processor/AProcessorStrategy.js +1 -1
  398. package/views/2d/layers/features/processor/AggregateStrategy.js +1 -1
  399. package/views/2d/layers/features/processor/FeatureUpdateStrategy.js +1 -1
  400. package/views/2d/layers/features/processor/bins/BinLevelState.js +1 -1
  401. package/views/2d/layers/features/processor/clusters/ClusterLevelState.js +1 -1
  402. package/views/2d/layers/features/processor/tracks/TrackLevelState.js +1 -1
  403. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  404. package/views/2d/layers/features/sources/FeatureSource.js +1 -1
  405. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  406. package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
  407. package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
  408. package/views/2d/layers/graphics/GraphicsView2D.js +1 -1
  409. package/views/2d/layers/support/FeatureCommandQueue.js +1 -1
  410. package/views/2d/layers/support/FilterSchema.js +2 -0
  411. package/views/2d/layers/support/HighlightRegistry.js +2 -0
  412. package/views/2d/layers/support/annodime/dimensionUtils.js +1 -1
  413. package/views/2d/layers/support/util.js +1 -1
  414. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  415. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +1 -1
  416. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  417. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  418. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  419. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  420. package/views/3d/analysis/Viewshed/placementUtils.js +1 -1
  421. package/views/3d/input/SceneInputManager.js +1 -1
  422. package/views/3d/input/handlers/ground/GroundNavigation.js +1 -1
  423. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  424. package/views/3d/layers/I3SMeshView3D.js +1 -1
  425. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  426. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  427. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  428. package/views/3d/layers/graphics/Graphics3DFeatureStore.js +1 -1
  429. package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
  430. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  431. package/views/3d/layers/support/Tiles3DMeshIntersectionHandler.js +1 -1
  432. package/views/3d/navigation/Navigation3D.d.ts +16 -0
  433. package/views/3d/navigation/Navigation3D.js +2 -0
  434. package/views/3d/navigation/modes/DefaultNavigationMode3D.d.ts +4 -0
  435. package/views/3d/navigation/modes/DefaultNavigationMode3D.js +2 -0
  436. package/views/3d/navigation/modes/GroundNavigationMode3D.d.ts +4 -0
  437. package/views/3d/navigation/modes/GroundNavigationMode3D.js +2 -0
  438. package/views/3d/navigation/modes/NavigationMode3D.d.ts +4 -0
  439. package/views/3d/navigation/modes/NavigationMode3D.js +2 -0
  440. package/views/3d/navigation/modes/NavigationMode3DUnion.d.ts +5 -0
  441. package/views/3d/state/ConstraintsManager.js +1 -1
  442. package/views/3d/support/QualityProfile.js +1 -1
  443. package/views/3d/support/hitTest.js +1 -1
  444. package/views/3d/terrain/ExtentHelper.js +1 -1
  445. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  446. package/views/3d/webgl-engine/effects/AmbientIllumination.js +2 -0
  447. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  448. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIllumination.js +1 -1
  449. package/views/3d/webgl-engine/effects/glow/BlurEmission.js +1 -1
  450. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  451. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  452. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  453. package/views/3d/webgl-engine/lib/EmissionComposite.js +1 -1
  454. package/views/3d/webgl-engine/lib/GaussianSplatDepthRenderer.js +1 -1
  455. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  456. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  457. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  458. package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
  459. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  460. package/views/3d/webgl-engine/shaders/GaussianSplatPass.glsl.js +12 -8
  461. package/views/3d/webgl-engine/shaders/GaussianSplatTechniqueConfiguration.js +1 -1
  462. package/views/BreakpointsOwner.d.ts +2 -2
  463. package/views/PopupView.js +1 -1
  464. package/views/SceneView.js +1 -1
  465. package/views/SelectionManager.d.ts +24 -24
  466. package/views/View.js +1 -1
  467. package/views/View2D.js +1 -1
  468. package/views/interactive/support/types.d.ts +0 -1
  469. package/views/layers/FeatureLikeLayerView.js +1 -1
  470. package/views/support/DefaultsFromMap.js +1 -1
  471. package/widgets/Attachments/support/attachmentUtils.d.ts +8 -0
  472. package/widgets/BasemapLayerList/BasemapLayerListViewModel.d.ts +1 -0
  473. package/widgets/BasemapLayerList/BasemapLayerListViewModel.js +1 -1
  474. package/widgets/BasemapLayerList/BasemapLayerListVisibleElements.d.ts +5 -1
  475. package/widgets/BasemapLayerList/types.d.ts +15 -2
  476. package/widgets/BasemapLayerList.d.ts +1 -1
  477. package/widgets/BasemapLayerList.js +1 -1
  478. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  479. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  480. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +14 -0
  481. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  482. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  483. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +29 -2
  484. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  485. package/widgets/BatchAttributeForm/inputs/support/MultipleChoiceController.d.ts +1 -5
  486. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  487. package/widgets/BatchAttributeForm/inputs/types.d.ts +8 -1
  488. package/widgets/BatchAttributeForm.js +1 -1
  489. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  490. package/widgets/Editor/EditorViewModel.d.ts +2 -2
  491. package/widgets/Editor.d.ts +2 -2
  492. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +6 -6
  493. package/widgets/FeatureTable/support/FeatureStore.d.ts +2 -2
  494. package/widgets/FeatureTable.d.ts +5 -5
  495. package/widgets/LayerList/LayerListViewModel.d.ts +1 -0
  496. package/widgets/LayerList/LayerListViewModel.js +1 -1
  497. package/widgets/LayerList/LayerListVisibleElements.d.ts +4 -1
  498. package/widgets/LayerList/ListItem.d.ts +4 -0
  499. package/widgets/LayerList/ListItemPanel.d.ts +3 -0
  500. package/widgets/OrientedImageryViewer/types.d.ts +2 -2
  501. package/widgets/OrientedImageryViewer.d.ts +20 -1
  502. package/widgets/OrientedImageryViewer.js +1 -1
  503. package/widgets/Sketch/SketchViewModel.js +1 -1
  504. package/widgets/support/SelectionList/SelectionListViewModel.d.ts +1 -1
  505. package/widgets/support/iconUtils.js +1 -1
  506. package/assets/esri/core/workers/chunks/03601be8b0763f82e88f.js +0 -1
  507. package/assets/esri/core/workers/chunks/0bff8d589312be6588fe.js +0 -1
  508. package/assets/esri/core/workers/chunks/0de90b1ad8118457fd5a.js +0 -1
  509. package/assets/esri/core/workers/chunks/0e1a067ab243900d0371.js +0 -1
  510. package/assets/esri/core/workers/chunks/0ee6109e6578395a7900.js +0 -1
  511. package/assets/esri/core/workers/chunks/0ee7376c29e0fd8f676c.js +0 -1
  512. package/assets/esri/core/workers/chunks/13551987fbeaae154df8.js +0 -1
  513. package/assets/esri/core/workers/chunks/186350d720352bd5ff33.js +0 -1
  514. package/assets/esri/core/workers/chunks/25ecf94d776c3b6db0f3.js +0 -1
  515. package/assets/esri/core/workers/chunks/262052dfaec3af8a58b9.js +0 -1
  516. package/assets/esri/core/workers/chunks/2c01477b69c38f691e19.js +0 -1
  517. package/assets/esri/core/workers/chunks/307297e025eed110095f.js +0 -1
  518. package/assets/esri/core/workers/chunks/33422dca6f4bcaa0ea74.js +0 -1
  519. package/assets/esri/core/workers/chunks/33e583166ab3943ecf0e.js +0 -1
  520. package/assets/esri/core/workers/chunks/37ae52c71bf9c70fbb92.js +0 -1
  521. package/assets/esri/core/workers/chunks/3daddcb106a7009c5a70.js +0 -1
  522. package/assets/esri/core/workers/chunks/3de6e54b6ed0feae1940.js +0 -1
  523. package/assets/esri/core/workers/chunks/448f068a14f24f2f8a43.js +0 -1
  524. package/assets/esri/core/workers/chunks/4c088c26d5d546c95c90.js +0 -1
  525. package/assets/esri/core/workers/chunks/5134241be1f1bf25231a.js +0 -1
  526. package/assets/esri/core/workers/chunks/56163189fbe63aa11e94.js +0 -1
  527. package/assets/esri/core/workers/chunks/571cf99c3eab8e517542.js +0 -1
  528. package/assets/esri/core/workers/chunks/5762746cfb02a4119d82.js +0 -1
  529. package/assets/esri/core/workers/chunks/5830deda121e4c95d199.js +0 -1
  530. package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +0 -1
  531. package/assets/esri/core/workers/chunks/5c8f423812a23c02c1fd.js +0 -1
  532. package/assets/esri/core/workers/chunks/5eb726317b6602f1e206.js +0 -1
  533. package/assets/esri/core/workers/chunks/6e2075bd4832ff0db68c.js +0 -1
  534. package/assets/esri/core/workers/chunks/7608de0d942b4c16b2f6.js +0 -1
  535. package/assets/esri/core/workers/chunks/7610dd0b46948b7bd840.js +0 -1
  536. package/assets/esri/core/workers/chunks/7737ab739eba6d81282d.js +0 -1
  537. package/assets/esri/core/workers/chunks/7be56ac60e580c806a5d.js +0 -1
  538. package/assets/esri/core/workers/chunks/7d9468e38f3bf006f86e.js +0 -1
  539. package/assets/esri/core/workers/chunks/7efc51324cfc8e08c756.js +0 -1
  540. package/assets/esri/core/workers/chunks/84dc2afd89263a311b81.js +0 -1
  541. package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +0 -1
  542. package/assets/esri/core/workers/chunks/ab332bd411d6c7d4190c.js +0 -1
  543. package/assets/esri/core/workers/chunks/bc9b96a539f28afcb8cb.js +0 -1
  544. package/assets/esri/core/workers/chunks/be69e2dda75b079362b2.js +0 -1
  545. package/assets/esri/core/workers/chunks/bf9eba555aebca2c132b.js +0 -1
  546. package/assets/esri/core/workers/chunks/c18de0f6cbeecee4ce34.js +0 -1
  547. package/assets/esri/core/workers/chunks/c9df18e9ff7367a004b6.js +0 -1
  548. package/assets/esri/core/workers/chunks/d33d08cb6856cd2eb35e.js +0 -1
  549. package/assets/esri/core/workers/chunks/e688e6e816824b53a25e.js +0 -1
  550. package/assets/esri/core/workers/chunks/ea068c797e3e462f4518.js +0 -1
  551. package/assets/esri/core/workers/chunks/eaf1d38f09744b7e84f5.js +0 -1
  552. package/assets/esri/core/workers/chunks/eff99e45d818e58fd443.js +0 -1
  553. package/assets/esri/core/workers/chunks/f219ba010c480bb75684.js +0 -1
  554. package/assets/esri/core/workers/chunks/f60d5ce49c173d5381ec.js +0 -1
  555. package/assets/esri/core/workers/chunks/f72f4413fc7461e11a2a.js +0 -1
  556. package/assets/esri/core/workers/chunks/f834aa732c3f06525089.js +0 -1
  557. package/assets/esri/core/workers/chunks/fae14e30fa7d81bf706e.js +0 -1
  558. package/assets/esri/core/workers/chunks/fb6f1b562ee0983c8c6e.js +0 -1
  559. package/assets/esri/core/workers/chunks/fc1658eae7b312502fab.js +0 -1
  560. package/graphic/graphicOrigins.js +0 -2
  561. package/views/2d/engine/webgl/Utils.js +0 -2
  562. package/views/2d/layers/support/HighlightCounter.js +0 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4676],{68197(e,t,i){i.d(t,{A:()=>u});var s=i(40876),r=i(4576),n=i(34727),o=i(78888);function l(e){return(0,n.qE)((0,o.Vr)(e),0,255)}function a(e,t){const i=e.toString(16).padStart(2,"0");return t?i.slice(0,1):i}function h(e){return.2126*(0,s.Q6)(e.r)+.7152*(0,s.Q6)(e.g)+.0722*(0,s.Q6)(e.b)}class u{static blendColors(e,t,i,s=new u){return s.r=Math.round(e.r+(t.r-e.r)*i),s.g=Math.round(e.g+(t.g-e.g)*i),s.b=Math.round(e.b+(t.b-e.b)*i),s.a=e.a+(t.a-e.a)*i,s._sanitize()}static fromRgb(e,t){const i=(0,s.lT)(e);return i?u.fromArray(i,t):null}static fromHex(e,t=new u){const i=(0,s.oW)(e);return i?u.fromArray(i,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const i=(0,s.Eq)(e);return i?u.fromArray(i,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return this.toYiq()>=127}isLowContrastBlend(e,t=3){const i=e instanceof u?e:new u(e),s=h(this),r=h(i);return(Math.max(s,r)+.05)/(Math.min(s,r)+.05)<t}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,r.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,i=e?.digits??6,s=3===i||4===i,r=4===i||8===i,n=`#${a(this.r,s)}${a(this.g,s)}${a(this.b,s)}${r?a(Math.round(255*this.a),s):""}`;return t?n.toUpperCase():n}toYiq(){return.299*this.r+.587*this.g+.114*this.b}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=l(this.r),i=l(this.g),s=l(this.b);return 0===e||1!==this.a?[t,i,s,l(255*this.a)]:[t,i,s]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,s.c1)(this.r),this.g=(0,s.c1)(this.g),this.b=(0,s.c1)(this.b),this.a=(0,s.G1)(this.a),this}_set(e,t,i,s){this.r=e,this.g=t,this.b=i,this.a=s}}u.prototype.declaredClass="esri.Color"},40876(e,t,i){i.d(t,{Eq:()=>m,G1:()=>g,Q6:()=>b,TS:()=>n,V6:()=>r,Vm:()=>f,ay:()=>a,c1:()=>p,c4:()=>o,j5:()=>h,lT:()=>c,oW:()=>u,xV:()=>z});const s={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(e){return!!s[e]||!!s[e.toLowerCase()]}function n(e){return s[e]??s[e.toLowerCase()]}function o(e){return[...n(e)]}function l(e,t,i){i<0&&++i,i>1&&--i;const s=6*i;return s<1?e+(t-e)*s:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function a(e,t,i,s=1){const r=(e%360+360)%360/360,n=i<=.5?i*(t+1):i+t-i*t,o=2*i-n;return[Math.round(255*l(o,n,r+1/3)),Math.round(255*l(o,n,r)),Math.round(255*l(o,n,r-1/3)),s]}function h(e){const t=e.length>5,i=t?8:4,s=(1<<i)-1,r=t?1:17,n=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const l=[0,0,0,1];let a;return n&&(a=o&s,o>>=i,l[3]=r*a/255),a=o&s,o>>=i,l[2]=r*a,a=o&s,o>>=i,l[1]=r*a,a=o&s,o>>=i,l[0]=r*a,l}function u(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),i=parseInt(e.slice(2,3),16),s=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,i+16*i,s+16*s,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function c(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),i=t[1];if("rgb"===i&&3===e.length||"rgba"===i&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===i&&3===e.length||"hsla"===i&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function m(e){let t=r(e)?n(e):null;return t??=c(e),t??=u(e),t}function f(e){const t=m(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function p(e){return Math.round(y(e,0,255))}function y(e,t,i){return e=Number(e),isNaN(e)?i:e<t?t:e>i?i:e}const _=1/2.2;function b(e){return e**2.2}function z(e){return e**_}i.d(t,["iw",0,_])},66344(e,t,i){i.d(t,{q:()=>l});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,r,o){t=e.id+t;const l=this._db.get(t);if(l&&(this._size-=l.size,e.size-=l.size,this._db.delete(t),l.entry!==i&&this._notifyRemove(t,l.entry,l.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return s||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(t,new n(i,r,a)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const r=e.lifetime;i[r]=(i[r]||0)+e.size,this._clients.forEach(i=>{const{id:r,name:n}=i;if(s.startsWith(r)){const i=t[n]||0;t[n]=i+e.size}})});const s={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[i]||0;t[i]=r,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const r=this._clients.get(e.split(o)[0])?.removeFunc,n=r?.(t,s,i);return"number"==typeof n?n:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let r=!0;for(;r;){r=!1;for(const[n,l]of this._db)if(0===l.lifetime&&(!s||n.startsWith(s))){const s=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,l,s),i.size<=.9*e)return;r||=this._db.has(n)}}for(const[r,n]of this._db)if(!s||r.startsWith(s)){const s=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,n,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class n{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new r(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},90629(e,t,i){i.d(t,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>a,r_:()=>h,tc:()=>l}),i(39829);const s=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function n(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(s);if(t){const i=Number(t[1]),s=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),o="px"===s?n(i):i;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function l(e=0,t=0){return{x:e,y:t}}function a(e=0,t=0){return[e,t]}function h(e=0,t=0,i=0){return[e,t,i]}},13069(e,t,i){i.d(t,{AG:()=>l,lk:()=>r,vD:()=>o,yS:()=>n});const s="randomUUID"in crypto;function r(){if(s)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function n(){return`{${r().toUpperCase()}}`}function o(){return`{${r()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},65864(e,t,i){i.d(t,{rS:()=>u,xD:()=>d});var s=i(5443),r=i(91075),n=i(48526),o=i(86738),l=i(39829),a=i(82799),h=i(60408);function u(e){return null==e?null:e instanceof r.A?e:(0,h.fT)(e)?o.A.fromJSON(e):(0,h.Rg)(e)?a.A.fromJSON(e):(0,h.Bi)(e)?l.A.fromJSON(e):(0,h.U9)(e)?n.A.fromJSON(e):(0,h.ZC)(e)?s.A.fromJSON(e):null}const c={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:l.A};function d(e){return e&&c[e]||null}},50498(e,t,i){var s=i(66552),r=i(5443),n=i(91075),o=i(48526),l=i(86738),a=i(39829),h=i(82799);const u=(0,s.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,s.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:n.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:l.A,polyline:h.A,polygon:a.A}},m=new s.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});i.d(t,["Ye",0,c,"gy",0,u,"iI",0,m,"yR",0,d])},95466(e,t,i){i.d(t,{A:()=>h});var s=i(49186),r=i(53966),n=i(12195),o=i(30524),l=i(98623),a=i(56400);class h{static fromJSON(e){return new h(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new h(e.fields??[],c(e))}static fromLayerJSON(e){return new h(e.fields??[],c(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const i=[];for(const e of this.fields){const t=e?.name,s=(0,o.GZ)(t);if(t&&s){const r=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(s,e),i.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,o.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,o.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,o.te)(e)||(0,o.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,o.te)(e)||(0,o.Xz)(e)||e.nullable||void 0!==(0,o.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,o.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new s.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):u.has(t.type)?l.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,o.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,n.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const u=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function c(e){const t=new Map;if(!e.fields)return t;const i=!0===e.datesInUnknownTimezone,{timeInfo:s,editFieldsInfo:r}=e,n=(s?"startField"in s?s.startField:s.startTimeField:"")??"",h=(s?"endField"in s?s.endField:s.endTimeField:"")??"",c=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,a.ZS)(e.dateFieldsTimeReference):null,d=r?function(e){return"timeZone"in e}(r)?r.timeZone??c:r.dateFieldsTimeReference?(0,a.ZS)(r.dateFieldsTimeReference):c??"UTC":null,m=s?function(e){return"timeZone"in e}(s)?s.timeZone??c:s.timeReference?(0,a.ZS)(s.timeReference):c:null,f=new Map([[(0,o.NF)(r?.creationDateField??""),d],[(0,o.NF)(r?.editDateField??""),d],[(0,o.NF)(n),m],[(0,o.NF)(h),m]]);for(const{name:s,type:r}of e.fields)if(u.has(r))t.set(s,l.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(s,null);else if(i)t.set(s,l.L);else{const e=f.get((0,o.NF)(s??""))??c;t.set(s,e)}return t}},32730(e,t,i){i.d(t,{BI:()=>m,D3:()=>c,XJ:()=>d,lc:()=>u,mX:()=>g,rU:()=>f,tH:()=>z,zA:()=>F});var s=i(799);const r="__begin__",n="__end__",o=new RegExp(r,"ig"),l=new RegExp(n,"ig"),a=new RegExp("^"+r,"i"),h=new RegExp(n+"$","i");function u(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function c(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=u(e.labelExpression),t.type="conventional"),t}function m(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(p);return t?.[1].trim()||null}(t.expression);case"arcade":return z(t.expression)}return null}function g(e){let t;return e?(t=(0,s.HC)(e,e=>r+'$feature["'+e+'"]'+n),t=a.test(t)?t.replace(a,""):'"'+t,t=h.test(t)?t.replace(h,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const p=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,_=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function z(e){if(!e)return null;let t=y.exec(e)||_.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const w=Symbol("LabelClassInstance");function F(e){return null!=e&&"object"==typeof e&&w in e}i.d(t,["vK",0,w])}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5278],{68197(e,t,i){i.d(t,{A:()=>u});var s=i(40876),r=i(4576),n=i(34727),o=i(78888);function l(e){return(0,n.qE)((0,o.Vr)(e),0,255)}function a(e,t){const i=e.toString(16).padStart(2,"0");return t?i.slice(0,1):i}function h(e){return.2126*(0,s.Q6)(e.r)+.7152*(0,s.Q6)(e.g)+.0722*(0,s.Q6)(e.b)}class u{static blendColors(e,t,i,s=new u){return s.r=Math.round(e.r+(t.r-e.r)*i),s.g=Math.round(e.g+(t.g-e.g)*i),s.b=Math.round(e.b+(t.b-e.b)*i),s.a=e.a+(t.a-e.a)*i,s._sanitize()}static fromRgb(e,t){const i=(0,s.lT)(e);return i?u.fromArray(i,t):null}static fromHex(e,t=new u){const i=(0,s.oW)(e);return i?u.fromArray(i,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const i=(0,s.Eq)(e);return i?u.fromArray(i,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return this.toYiq()>=127}isLowContrastBlend(e,t=3){const i=e instanceof u?e:new u(e),s=h(this),r=h(i);return(Math.max(s,r)+.05)/(Math.min(s,r)+.05)<t}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,r.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,i=e?.digits??6,s=3===i||4===i,r=4===i||8===i,n=`#${a(this.r,s)}${a(this.g,s)}${a(this.b,s)}${r?a(Math.round(255*this.a),s):""}`;return t?n.toUpperCase():n}toYiq(){return.299*this.r+.587*this.g+.114*this.b}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=l(this.r),i=l(this.g),s=l(this.b);return 0===e||1!==this.a?[t,i,s,l(255*this.a)]:[t,i,s]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,s.c1)(this.r),this.g=(0,s.c1)(this.g),this.b=(0,s.c1)(this.b),this.a=(0,s.G1)(this.a),this}_set(e,t,i,s){this.r=e,this.g=t,this.b=i,this.a=s}}u.prototype.declaredClass="esri.Color"},40876(e,t,i){i.d(t,{Eq:()=>m,G1:()=>g,Q6:()=>b,TS:()=>n,V6:()=>r,Vm:()=>f,ay:()=>a,c1:()=>p,c4:()=>o,j5:()=>h,lT:()=>c,oW:()=>u,xV:()=>z});const s={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function r(e){return!!s[e]||!!s[e.toLowerCase()]}function n(e){return s[e]??s[e.toLowerCase()]}function o(e){return[...n(e)]}function l(e,t,i){i<0&&++i,i>1&&--i;const s=6*i;return s<1?e+(t-e)*s:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function a(e,t,i,s=1){const r=(e%360+360)%360/360,n=i<=.5?i*(t+1):i+t-i*t,o=2*i-n;return[Math.round(255*l(o,n,r+1/3)),Math.round(255*l(o,n,r)),Math.round(255*l(o,n,r-1/3)),s]}function h(e){const t=e.length>5,i=t?8:4,s=(1<<i)-1,r=t?1:17,n=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const l=[0,0,0,1];let a;return n&&(a=o&s,o>>=i,l[3]=r*a/255),a=o&s,o>>=i,l[2]=r*a,a=o&s,o>>=i,l[1]=r*a,a=o&s,o>>=i,l[0]=r*a,l}function u(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),i=parseInt(e.slice(2,3),16),s=parseInt(e.slice(3,4),16),r=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,i+16*i,s+16*s,(r+16*r)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function c(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),i=t[1];if("rgb"===i&&3===e.length||"rgba"===i&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),d(t)}return d(e.map(e=>parseFloat(e)))}if("hsl"===i&&3===e.length||"hsla"===i&&4===e.length)return a(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function d(e){return e[0]=p(e[0]),e[1]=p(e[1]),e[2]=p(e[2]),e[3]=4===e.length?g(e[3]):1,e}function m(e){let t=r(e)?n(e):null;return t??=c(e),t??=u(e),t}function f(e){const t=m(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function g(e){return y(e,0,1)}function p(e){return Math.round(y(e,0,255))}function y(e,t,i){return e=Number(e),isNaN(e)?i:e<t?t:e>i?i:e}const _=1/2.2;function b(e){return e**2.2}function z(e){return e**_}i.d(t,["iw",0,_])},66344(e,t,i){i.d(t,{q:()=>l});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,r,o){t=e.id+t;const l=this._db.get(t);if(l&&(this._size-=l.size,e.size-=l.size,this._db.delete(t),l.entry!==i&&this._notifyRemove(t,l.entry,l.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return s||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);const a=1+Math.max(o,-4)- -3;this._db.set(t,new n(i,r,a)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const r=e.lifetime;i[r]=(i[r]||0)+e.size,this._clients.forEach(i=>{const{id:r,name:n}=i;if(s.startsWith(r)){const i=t[n]||0;t[n]=i+e.size}})});const s={};this._clients.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[i]||0;t[i]=r,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const r=this._clients.get(e.split(o)[0])?.removeFunc,n=r?.(t,s,i);return"number"==typeof n?n:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let r=!0;for(;r;){r=!1;for(const[n,l]of this._db)if(0===l.lifetime&&(!s||n.startsWith(s))){const s=t??this._clients.get(n.split(o)[0]);if(this._purgeItem(n,l,s),i.size<=.9*e)return;r||=this._db.has(n)}}for(const[r,n]of this._db)if(!s||r.startsWith(s)){const s=t??this._clients.get(r.split(o)[0]);if(this._purgeItem(r,n,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class n{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new r(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},90629(e,t,i){i.d(t,{Lz:()=>r,PN:()=>n,cr:()=>o,gs:()=>a,r_:()=>h,tc:()=>l}),i(39829);const s=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i;function r(e){return e?e/72*96:0}function n(e){return e?72*e/96:0}function o(e){if("string"==typeof e){const t=e.match(s);if(t){const i=Number(t[1]),s=t[3]&&t[3].toLowerCase(),r=e.startsWith("-"),o="px"===s?n(i):i;return r?-o:o}return console.warn("screenUtils.toPt: input not recognized!"),null}return e}function l(e=0,t=0){return{x:e,y:t}}function a(e=0,t=0){return[e,t]}function h(e=0,t=0,i=0){return[e,t,i]}},13069(e,t,i){i.d(t,{AG:()=>l,lk:()=>r,vD:()=>o,yS:()=>n});const s="randomUUID"in crypto;function r(){if(s)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function n(){return`{${r().toUpperCase()}}`}function o(){return`{${r()}}`}function l(e){const t=e.toUpperCase();return e.startsWith("{")?t:`{${t}}`}},65864(e,t,i){i.d(t,{rS:()=>u,xD:()=>d});var s=i(5443),r=i(91075),n=i(48526),o=i(86738),l=i(39829),a=i(82799),h=i(60408);function u(e){return null==e?null:e instanceof r.A?e:(0,h.fT)(e)?o.A.fromJSON(e):(0,h.Rg)(e)?a.A.fromJSON(e):(0,h.Bi)(e)?l.A.fromJSON(e):(0,h.U9)(e)?n.A.fromJSON(e):(0,h.ZC)(e)?s.A.fromJSON(e):null}const c={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:l.A};function d(e){return e&&c[e]||null}},50498(e,t,i){var s=i(66552),r=i(5443),n=i(91075),o=i(48526),l=i(86738),a=i(39829),h=i(82799);const u=(0,s.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,s.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:n.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:l.A,polyline:h.A,polygon:a.A}},m=new s.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});i.d(t,["Ye",0,c,"gy",0,u,"iI",0,m,"yR",0,d])},95466(e,t,i){i.d(t,{A:()=>h});var s=i(49186),r=i(53966),n=i(12195),o=i(30524),l=i(98623),a=i(56400);class h{static fromJSON(e){return new h(e.fields,e.timeZoneByFieldName)}static fromLayer(e){return new h(e.fields??[],c(e))}static fromLayerJSON(e){return new h(e.fields??[],c(e))}constructor(e=[],t){this._fieldsMap=new Map,this._normalizedFieldsMap=new Map,this._dateFieldsSet=new Set,this._numericFieldsSet=new Set,this._requiredFields=null,this.dateFields=[],this.numericFields=[],this.fields=e||[],this._timeZoneByFieldName=t?new Map(t):null;const i=[];for(const e of this.fields){const t=e?.name,s=(0,o.GZ)(t);if(t&&s){const r=(0,o.NF)(t);this._fieldsMap.set(t,e),this._fieldsMap.set(r,e),this._normalizedFieldsMap.set(s,e),i.push(`${r}:${e.type}:${this._timeZoneByFieldName?.get(t)}`),(0,o.vE)(e)?(this.dateFields.push(e),this._dateFieldsSet.add(e)):(0,o.WA)(e)&&(this._numericFieldsSet.add(e),this.numericFields.push(e)),(0,o.te)(e)||(0,o.Xz)(e)||(e.editable=null==e.editable||!!e.editable,e.nullable=null==e.nullable||!!e.nullable)}}i.sort(),this.uid=i.join()}get requiredFields(){if(!this._requiredFields){this._requiredFields=[];for(const e of this.fields)(0,o.te)(e)||(0,o.Xz)(e)||e.nullable||void 0!==(0,o.lD)(e)||this._requiredFields.push(e)}return this._requiredFields}equals(e){return this.uid===e?.uid}has(e){return null!=this.get(e)}get(e){return(0,o.Vb)({fieldName:e,fieldsMap:this._fieldsMap,normalizedFieldsMap:this._normalizedFieldsMap})}getTimeZone(e){const t=this.get(e&&"string"!=typeof e?e.name:e);return t?this._timeZoneByFieldName?this._timeZoneByFieldName.get(t.name):"date"===t.type||"esriFieldTypeDate"===t.type?(r.A.getLogger("esri.layers.support.FieldsIndex").errorOnce(new s.A("getTimeZone:no-timezone-information",`no time zone information for field '${t.name}'`)),"UTC"):u.has(t.type)?l.L:null:null}isDateField(e){return this._dateFieldsSet.has(this.get(e))}isTimeOnlyField(e){return(0,o.OH)(this.get(e))}isNumericField(e){return this._numericFieldsSet.has(this.get(e))}normalizeFieldName(e){return this.get(e)?.name??void 0}toJSON(){return{fields:this.fields.map(e=>(0,n.W)(e)?e.toJSON():e),timeZoneByFieldName:this._timeZoneByFieldName?Array.from(this._timeZoneByFieldName.entries()):null}}}const u=new Set(["time-only","date-only","timestamp-offset","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]);function c(e){const t=new Map;if(!e.fields)return t;const i=!0===e.datesInUnknownTimezone,{timeInfo:s,editFieldsInfo:r}=e,n=(s?"startField"in s?s.startField:s.startTimeField:"")??"",h=(s?"endField"in s?s.endField:s.endTimeField:"")??"",c=function(e){return"dateFieldsTimeZone"in e}(e)?e.dateFieldsTimeZone??null:e.dateFieldsTimeReference?(0,a.ZS)(e.dateFieldsTimeReference):null,d=r?function(e){return"timeZone"in e}(r)?r.timeZone??c:r.dateFieldsTimeReference?(0,a.ZS)(r.dateFieldsTimeReference):c??"UTC":null,m=s?function(e){return"timeZone"in e}(s)?s.timeZone??c:s.timeReference?(0,a.ZS)(s.timeReference):c:null,f=new Map([[(0,o.NF)(r?.creationDateField??""),d],[(0,o.NF)(r?.editDateField??""),d],[(0,o.NF)(n),m],[(0,o.NF)(h),m]]);for(const{name:s,type:r}of e.fields)if(u.has(r))t.set(s,l.L);else if("date"!==r&&"esriFieldTypeDate"!==r)t.set(s,null);else if(i)t.set(s,l.L);else{const e=f.get((0,o.NF)(s??""))??c;t.set(s,e)}return t}},32730(e,t,i){i.d(t,{BI:()=>m,D3:()=>c,XJ:()=>d,lc:()=>u,mX:()=>g,rU:()=>f,tH:()=>z,zA:()=>F});var s=i(799);const r="__begin__",n="__end__",o=new RegExp(r,"ig"),l=new RegExp(n,"ig"),a=new RegExp("^"+r,"i"),h=new RegExp(n+"$","i");function u(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function c(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function d(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=u(e.labelExpression),t.type="conventional"),t}function m(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function f(e){const t=d(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(p);return t?.[1].trim()||null}(t.expression);case"arcade":return z(t.expression)}return null}function g(e){let t;return e?(t=(0,s.HC)(e,e=>r+'$feature["'+e+'"]'+n),t=a.test(t)?t.replace(a,""):'"'+t,t=h.test(t)?t.replace(h,""):t+'"',t=t.replaceAll(o,'" + ').replaceAll(l,' + "')):t='""',t}const p=/^\s*\{([^}]+)\}\s*$/i,y=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,_=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,b=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function z(e){if(!e)return null;let t=y.exec(e)||_.exec(e);return t?t[1]||t[3]:(t=b.exec(e),t?t[2]:null)}const w=Symbol("LabelClassInstance");function F(e){return null!=e&&"object"==typeof e&&w in e}i.d(t,["vK",0,w])},45733(e,t,i){function s(e){let t=e.slice();t.length%2&&(t=[...t,...t]);let i=0;for(;i<t.length&&0===t[i];)i++;let s=0;const r=[];for(let e=i;e<t.length;e++)0===t[e]?s++:0===s?r.push(t[e]):1&s?(r[r.length-1]+=t[e],s=0):(r.push(t[e]),s=0);return t=r,t.length<=1?0===t.length||i%2==0?{dashTemplate:[],hidesLine:!1}:{dashTemplate:[],hidesLine:!0}:(t.length%2==1?i%2==1?t.unshift(0):t.push(0):i%2==1&&(t.unshift(0),t.push(0)),{dashTemplate:t,hidesLine:!1})}function r(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?e.split(" ").map(e=>Number(e)):e}(e.dashTemplate)),e}i.d(t,{FH:()=>r,OI:()=>s})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6892],{68197(t,e,r){r.d(e,{A:()=>u});var n=r(40876),i=r(4576),s=r(34727),a=r(78888);function o(t){return(0,s.qE)((0,a.Vr)(t),0,255)}function h(t,e){const r=t.toString(16).padStart(2,"0");return e?r.slice(0,1):r}function c(t){return.2126*(0,n.Q6)(t.r)+.7152*(0,n.Q6)(t.g)+.0722*(0,n.Q6)(t.b)}class u{static blendColors(t,e,r,n=new u){return n.r=Math.round(t.r+(e.r-t.r)*r),n.g=Math.round(t.g+(e.g-t.g)*r),n.b=Math.round(t.b+(e.b-t.b)*r),n.a=t.a+(e.a-t.a)*r,n._sanitize()}static fromRgb(t,e){const r=(0,n.lT)(t);return r?u.fromArray(r,e):null}static fromHex(t,e=new u){const r=(0,n.oW)(t);return r?u.fromArray(r,e):null}static fromArray(t,e=new u){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const r=(0,n.Eq)(t);return r?u.fromArray(r,e):null}static fromJSON(t){return null!=t?new u([t[0],t[1],t[2],(t[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null!=this.a?this.a:1,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return this.toYiq()>=127}isLowContrastBlend(t,e=3){const r=t instanceof u?t:new u(t),n=c(this),i=c(r);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)<e}setColor(t){if("string"==typeof t)u.fromString(t,this);else if((0,i.yc)(t))u.fromArray(t,this);else{const e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){const e=t?.capitalize??!1,r=t?.digits??6,n=3===r||4===r,i=4===r||8===r,s=`#${h(this.r,n)}${h(this.g,n)}${h(this.b,n)}${i?h(Math.round(255*this.a),n):""}`;return e?s.toUpperCase():s}toYiq(){return.299*this.r+.587*this.g+.114*this.b}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=o(this.r),r=o(this.g),n=o(this.b);return 0===t||1!==this.a?[e,r,n,o(255*this.a)]:[e,r,n]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(t,e,r,n){this.r=t,this.g=e,this.b=r,this.a=n}}u.prototype.declaredClass="esri.Color"},40876(t,e,r){r.d(e,{Eq:()=>g,G1:()=>d,Q6:()=>w,TS:()=>s,V6:()=>i,Vm:()=>p,ay:()=>h,c1:()=>_,c4:()=>a,j5:()=>c,lT:()=>l,oW:()=>u,xV:()=>b});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!n[t]||!!n[t.toLowerCase()]}function s(t){return n[t]??n[t.toLowerCase()]}function a(t){return[...s(t)]}function o(t,e,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?t+(e-t)*n:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function h(t,e,r,n=1){const i=(t%360+360)%360/360,s=r<=.5?r*(e+1):r+e-r*e,a=2*r-s;return[Math.round(255*o(a,s,i+1/3)),Math.round(255*o(a,s,i)),Math.round(255*o(a,s,i-1/3)),n]}function c(t){const e=t.length>5,r=e?8:4,n=(1<<r)-1,i=e?1:17,s=e?9===t.length:5===t.length;let a=Number("0x"+t.slice(1));if(isNaN(a))return null;const o=[0,0,0,1];let h;return s&&(h=a&n,a>>=r,o[3]=i*h/255),h=a&n,a>>=r,o[2]=i*h,h=a&n,a>>=r,o[1]=i*h,h=a&n,a>>=r,o[0]=i*h,o}function u(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),r=parseInt(t.slice(2,3),16),n=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function l(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),r=e[1];if("rgb"===r&&3===t.length||"rgba"===r&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),f(e)}return f(t.map(t=>parseFloat(t)))}if("hsl"===r&&3===t.length||"hsla"===r&&4===t.length)return h(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function f(t){return t[0]=_(t[0]),t[1]=_(t[1]),t[2]=_(t[2]),t[3]=4===t.length?d(t[3]):1,t}function g(t){let e=i(t)?s(t):null;return e??=l(t),e??=u(t),e}function p(t){const e=g(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function d(t){return y(t,0,1)}function _(t){return Math.round(y(t,0,255))}function y(t,e,r){return t=Number(t),isNaN(t)?r:t<e?e:t>r?r:t}const m=1/2.2;function w(t){return t**2.2}function b(t){return t**m}r.d(e,["iw",0,m])},32488(t,e,r){r.d(e,{A:()=>k});const n=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["«","»"],["»","«"],["‹","›"],["›","‹"],["⁽","⁾"],["⁾","⁽"],["₍","₎"],["₎","₍"],["≤","≥"],["≥","≤"],["〈","〉"],["〉","〈"],["﹙","﹚"],["﹚","﹙"],["﹛","﹜"],["﹜","﹛"],["﹝","﹞"],["﹞","﹝"],["﹤","﹥"],["﹥","﹤"]],i=["آ","أ","إ","ا"],s=["ﻵ","ﻷ","ﻹ","ﻻ"],a=["ﻶ","ﻸ","ﻺ","ﻼ"],o=["ا","ب","ت","ث","ج","ح","خ","د","ذ","ر","ز","س","ش","ص","ض","ط","ظ","ع","غ","ف","ق","ك","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ل","م","ن","ه","و","ي","إ","أ","آ","ة","ى","ی","ئ","ؤ"],h=["ﺍ","ﺏ","ﺕ","ﺙ","ﺝ","ﺡ","ﺥ","ﺩ","ﺫ","ﺭ","ﺯ","ﺱ","ﺵ","ﺹ","ﺽ","ﻁ","ﻅ","ﻉ","ﻍ","ﻑ","ﻕ","ﻙ","ﻝ","ﻡ","ﻥ","ﻩ","ﻭ","ﻱ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯼ","ﺉ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺉ","ﺅ"],c=["ﺎ","ﺐ","ﺖ","ﺚ","ﺞ","ﺢ","ﺦ","ﺪ","ﺬ","ﺮ","ﺰ","ﺲ","ﺶ","ﺺ","ﺾ","ﻂ","ﻆ","ﻊ","ﻎ","ﻒ","ﻖ","ﻚ","ﻞ","ﻢ","ﻦ","ﻪ","ﻮ","ﻲ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯽ","ﺊ","ﺆ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺊ","ﺆ"],u=["ﺎ","ﺒ","ﺘ","ﺜ","ﺠ","ﺤ","ﺨ","ﺪ","ﺬ","ﺮ","ﺰ","ﺴ","ﺸ","ﺼ","ﻀ","ﻄ","ﻈ","ﻌ","ﻐ","ﻔ","ﻘ","ﻜ","ﻠ","ﻤ","ﻨ","ﻬ","ﻮ","ﻴ","ﺈ","ﺄ","ﺂ","ﺔ","ﻰ","ﯿ","ﺌ","ﺆ","ﹱ","ﹲ","ﹴ","ﹷ","ﹹ","ﹻ","ﹽ","ﹿ","ﺀ","ﺌ","ﺆ"],l=["ﺍ","ﺑ","ﺗ","ﺛ","ﺟ","ﺣ","ﺧ","ﺩ","ﺫ","ﺭ","ﺯ","ﺳ","ﺷ","ﺻ","ﺿ","ﻃ","ﻇ","ﻋ","ﻏ","ﻓ","ﻗ","ﻛ","ﻟ","ﻣ","ﻧ","ﻫ","ﻭ","ﻳ","ﺇ","ﺃ","ﺁ","ﺓ","ﻯ","ﯾ","ﺋ","ﺅ","ﹰ","ﹲ","ﹴ","ﹶ","ﹸ","ﹺ","ﹼ","ﹾ","ﺀ","ﺋ","ﺅ"],f=["ء","آ","أ","ؤ","إ","ا","ة","د","ذ","ر","ز","و","ى"],g=["ً","ً","ٌ","؟","ٍ","؟","َ","َ","ُ","ُ","ِ","ِ","ّ","ّ","ْ","ْ","ء","آ","آ","أ","أ","ؤ","ؤ","إ","إ","ئ","ئ","ئ","ئ","ا","ا","ب","ب","ب","ب","ة","ة","ت","ت","ت","ت","ث","ث","ث","ث","ج","ج","ج","ج","ح","ح","ح","ح","خ","خ","خ","خ","د","د","ذ","ذ","ر","ر","ز","ز","س","س","س","س","ش","ش","ش","ش","ص","ص","ص","ص","ض","ض","ض","ض","ط","ط","ط","ط","ظ","ظ","ظ","ظ","ع","ع","ع","ع","غ","غ","غ","غ","ف","ف","ف","ف","ق","ق","ق","ق","ك","ك","ك","ك","ل","ل","ل","ل","م","م","م","م","ن","ن","ن","ن","ه","ه","ه","ه","و","و","ى","ى","ي","ي","ي","ي","ﻵ","ﻶ","ﻷ","ﻸ","ﻹ","ﻺ","ﻻ","ﻼ","؟","؟","؟"],p=["ء","ف"],d=["غ","ي"],_=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],y=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],m=10,w=11,b=12,A=18,S=["UBAT_L","UBAT_R","UBAT_EN","UBAT_AN","UBAT_ON","UBAT_B","UBAT_S","UBAT_AL","UBAT_WS","UBAT_CS","UBAT_ES","UBAT_ET","UBAT_NSM","UBAT_LRE","UBAT_RLE","UBAT_PDF","UBAT_LRO","UBAT_RLO","UBAT_BN"],x=[100,0,0,0,0,101,102,103,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,4,4,4,0,4,0,4,0,4,4,4,0,0,4,4,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,0,0,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,105,7,7,106,107],T=[[A,A,A,A,A,A,A,A,A,6,5,6,8,5,A,A,A,A,A,A,A,A,A,A,A,A,A,A,5,5,5,6,8,4,4,w,w,w,4,4,4,4,4,m,9,m,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,A,A,A,A,A,A,5,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,9,4,w,w,w,w,4,4,4,4,0,4,4,A,4,4,w,w,2,2,4,0,4,4,4,2,0,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,4,4,4,4,4,4,4,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,1,b,1,b,b,1,b,b,1,b,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4],[3,3,3,3,4,4,4,4,7,w,w,7,9,7,4,4,b,b,b,b,b,b,b,b,b,b,b,7,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,3,3,3,3,3,3,3,3,3,3,w,3,3,7,7,7,b,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,3,4,b,b,b,b,b,b,7,7,b,b,4,b,b,b,b,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7],[7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,b,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,b,b,b,b,b,b,b,b,b,b,b,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,b,b,b,b,b,b,b,b,b,1,1,4,4,4,4,1,4,4,4,4,4],[8,8,8,8,8,8,8,8,8,8,8,A,A,A,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,w,w,w,w,w,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,A,A,A,A,A,4,4,4,4,4,A,A,A,A,A,A,2,0,4,4,2,2,2,2,2,2,m,m,4,4,4,0,2,2,2,2,2,2,2,2,2,2,m,m,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],[0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,4,4,4,4,4,1,b,1,1,1,1,1,1,1,1,1,1,m,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,4,1,4,1,1,4,1,1,4,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7],[b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,b,b,b,b,b,b,b,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,9,4,4,9,4,4,4,4,4,4,4,4,4,w,4,4,m,m,4,4,4,4,4,w,w,4,4,4,4,4,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,A],[4,4,4,w,w,w,4,4,4,4,4,m,9,m,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,4,4,4,w,w,4,4,4,w,w,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]];class k{constructor(){this.inputFormat="ILYNN",this.outputFormat="VLNNN",this.sourceToTarget=[],this.targetToSource=[],this.levels=[]}bidiTransform(t,e,r){if(this.sourceToTarget=[],this.targetToSource=[],!t)return"";if(function(t,e,r){Y=[],K=[];for(let n=0;n<r;n++)t[n]=n,e[n]=n,Y[n]=n}(this.sourceToTarget,this.targetToSource,t.length),!this.checkParameters(e,r))return t;e=this.inputFormat,r=this.outputFormat;let n=t;const o=Q,u=G(e.charAt(1)),f=G(r.charAt(1)),p=(e.startsWith("I")?"L":e.charAt(0))+u,d=(r.startsWith("I")?"L":r.charAt(0))+f,_=e.charAt(2)+r.charAt(2);o.defInFormat=p,o.defOutFormat=d,o.defSwap=_;const y=v(t,p,d,_,o);let m=!1;return"R"===r.charAt(1)?m=!0:"C"!==r.charAt(1)&&"D"!==r.charAt(1)||(m="rtl"===this.checkContextual(y)),this.sourceToTarget=Y,this.targetToSource=function(t){const e=new Array(t.length);for(let r=0;r<t.length;r++)e[t[r]]=r;return e}(this.sourceToTarget),H=this.targetToSource,n=e.charAt(3)===r.charAt(3)?y:"S"===r.charAt(3)?function(t,e){if(0===e.length)return"";void 0===t&&(t=!0);const r=(e=String(e)).split("");let n=0,i=1,o=r.length;t||(n=r.length-1,i=-1,o=1);const u=function(t,e,r,n){let i=0;const o=[];let u=0;for(let f=e;f*r<n;f+=r)if(B(t[f])||O(t[f])){if("ل"===t[f]&&I(t,f+r,r,n)){t[f]=j(t[f+r],0===i?s:a),f+=r,$(t,f,r,n),o[u]=f,u++,i=0;continue}const e=t[f];1===i?t[f]=C(t,f+r,r,n)?E(t[f]):q(t[f],c):!0===C(t,f+r,r,n)?t[f]=q(t[f],l):t[f]=q(t[f],h),O(e)||(i=1),!0===z(e)&&(i=0)}else i=0;return o}(r,n,i,o);let f="";for(let e=0;e<r.length;e++)U(u,u.length,e)>-1?(W(H,e,!t,-1),Y.splice(e,1)):f+=r[e];return f}(m,y):function(t,e){if(0===t.length)return"";void 0===e&&(e=!0);let r="";const n=(t=String(t)).split("");for(let s=0;s<t.length;s++){let a=!1;if(n[s]>="ﹰ"&&n[s]<"\ufeff"){const o=t.charCodeAt(s);n[s]>="ﻵ"&&n[s]<="ﻼ"?(e?(s>0&&" "===n[s-1]?r=r.slice(0,-1)+"ل":(r+="ل",a=!0),r+=i[(o-65269)/2]):(r+=i[(o-65269)/2],r+="ل",s+1<t.length&&" "===n[s+1]?s++:a=!0),a&&(W(H,s,!0,1),Y.splice(s,0,Y[s]))):r+=g[o-65136]}else r+=n[s]}return r}(y,m),this.sourceToTarget=Y,this.targetToSource=H,this.levels=K,n}_inputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.inputFormat=t}_outputFormatSetter(t){if(!et.test(t))throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.outputFormat=t}checkParameters(t,e){return t?this._inputFormatSetter(t):t=this.inputFormat,e?this._outputFormatSetter(e):e=this.outputFormat,t!==e}checkContextual(t){let e=L(t);if("ltr"!==e&&"rtl"!==e){try{e=document.dir.toLowerCase()}catch(t){}"ltr"!==e&&"rtl"!==e&&(e="ltr")}return e}hasBidiChar(t){return rt.test(t)}}function v(t,e,r,n,i){const s=function(t,e,r){if(void 0===e.inFormat&&(e.inFormat=r.defInFormat),void 0===e.outFormat&&(e.outFormat=r.defOutFormat),void 0===e.swap&&(e.swap=r.defSwap),e.inFormat===e.outFormat)return e;const n=e.inFormat.slice(0,1),i=e.outFormat.slice(0,1);let s,a=e.inFormat.slice(1,4),o=e.outFormat.slice(1,4);return a.startsWith("C")&&(s=L(t),a="ltr"===s||"rtl"===s?s.toUpperCase():"L"===e.inFormat.charAt(2)?"LTR":"RTL",e.inFormat=n+a),o.startsWith("C")&&(s=L(t),"rtl"===s?o="RTL":"ltr"===s?(s=function(t){const e=t.split("");return e.reverse(),L(e.join(""))}(t),o=s.toUpperCase()):o="L"===e.outFormat.charAt(2)?"LTR":"RTL",e.outFormat=i+o),e}(t,{inFormat:e,outFormat:r,swap:n},i);if(s.inFormat===s.outFormat)return t;e=s.inFormat,r=s.outFormat,n=s.swap;const a=e.slice(0,1),o=e.slice(1,4),h=r.slice(0,1),c=r.slice(1,4);if(i.inFormat=e,i.outFormat=r,i.swap=n,"L"===a&&"VLTR"===r){if("LTR"===o)return i.dir=J,N(t,i);if("RTL"===o)return i.dir=tt,N(t,i)}if("V"===a&&"V"===h)return i.dir="RTL"===o?tt:J,F(t,i);if("L"===a&&"VRTL"===r)return"LTR"===o?(i.dir=J,t=N(t,i)):(i.dir=tt,t=N(t,i)),F(t);if("VLTR"===e&&"LLTR"===r)return i.dir=J,N(t,i);if("V"===a&&"L"===h&&o!==c)return t=F(t),"RTL"===o?v(t,"LLTR","VLTR",n,i):v(t,"LRTL","VRTL",n,i);if("VRTL"===e&&"LRTL"===r)return v(t,"LRTL","VRTL",n,i);if("L"===a&&"L"===h){const e=i.swap;return i.swap=e.slice(0,1)+"N","RTL"===o?(i.dir=tt,t=N(t,i),i.swap="N"+e.slice(1,3),i.dir=J,t=N(t,i)):(i.dir=J,t=N(t,i),i.swap="N"+e.slice(1,3),t=v(t,"VLTR","LRTL",i.swap,i)),t}return t}function L(t){const e=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t);return e?e[0]<="z"?"ltr":"rtl":""}function N(t,e){const r=t.split(""),n=[];return M(r,n,e),function(t,e,r){if(0!==r.hiLevel&&r.swap[0]!==r.swap[1])for(let r=0;r<t.length;r++)1===e[r]&&(t[r]=D(t[r]))}(r,n,e),P(2,r,n,e),P(1,r,n,e),K=n,r.join("")}function M(t,e,r){const n=t.length,i=r.dir?y:_;let s=0,a=-1;const o=[],h=[];r.hiLevel=r.dir,r.lastArabic=!1,r.hasUbatAl=!1,r.hasUbatB=!1,r.hasUbatS=!1;for(let e=0;e<n;e++)o[e]=R(t[e]);for(let c=0;c<n;c++){const n=s,u=V(t,o,h,c,r);h[c]=u,s=i[n][u];const l=240&s;s&=15;const f=i[s][Z];if(e[c]=f,l>0)if(16===l){for(let t=a;t<c;t++)e[t]=1;a=-1}else a=-1;if(i[s][X])-1===a&&(a=c);else if(a>-1){for(let t=a;t<c;t++)e[t]=f;a=-1}5===o[c]&&(e[c]=0),r.hiLevel|=f}r.hasUbatS&&function(t,e,r,n){for(let i=0;i<r;i++)if(6===t[i]){e[i]=n.dir;for(let r=i-1;r>=0&&8===t[r];r--)e[r]=n.dir}}(o,e,n,r)}function R(t){const e=t.charCodeAt(0),r=x[e>>8];return r<100?r:T[r-100][255&e]}function F(t,e){const r=t.split("");if(e){const t=[];M(r,t,e),K=t}return r.reverse(),Y.reverse(),r.join("")}function U(t,e,r){for(let n=0;n<e;n++)if(t[n]===r)return n;return-1}function B(t){for(let e=0;e<p.length;e++)if(t>=p[e]&&t<=d[e])return!0;return!1}function C(t,e,r,n){for(;e*r<n&&O(t[e]);)e+=r;return!!(e*r<n&&B(t[e]))}function I(t,e,r,n){for(;e*r<n&&O(t[e]);)e+=r;let s=" ";if(!(e*r<n))return!1;s=t[e];for(let t=0;t<i.length;t++)if(i[t]===s)return!0;return!1}function P(t,e,r,n){if(n.hiLevel<t)return;if(1===t&&n.dir===tt&&!n.hasUbatB)return e.reverse(),void Y.reverse();const i=e.length;let s,a,o,h,c,u=0;for(;u<i;){if(r[u]>=t){for(s=u+1;s<i&&r[s]>=t;)s++;for(a=u,o=s-1;a<o;a++,o--)h=e[a],e[a]=e[o],e[o]=h,c=Y[a],Y[a]=Y[o],Y[o]=c;u=s}u++}}function V(t,e,r,n,i){const s=e[n];return{UBAT_L:()=>(i.lastArabic=!1,0),UBAT_R:()=>(i.lastArabic=!1,1),UBAT_ON:()=>4,UBAT_AN:()=>3,UBAT_EN:()=>i.lastArabic?3:2,UBAT_AL:()=>(i.lastArabic=!0,i.hasUbatAl=!0,1),UBAT_WS:()=>4,UBAT_CS:()=>{let t,s;return n<1||n+1>=e.length||2!==(t=r[n-1])&&3!==t||2!==(s=e[n+1])&&3!==s?4:(i.lastArabic&&(s=3),s===t?s:4)},UBAT_ES:()=>2===(n>0?r[n-1]:5)&&n+1<e.length&&2===e[n+1]?2:4,UBAT_ET:()=>{if(n>0&&2===r[n-1])return 2;if(i.lastArabic)return 4;let t=n+1;const s=e.length;for(;t<s&&11===e[t];)t++;return t<s&&2===e[t]?2:4},UBAT_NSM:()=>{if("VLTR"===i.inFormat){const r=e.length;let i=n+1;for(;i<r&&12===e[i];)i++;if(i<r){const r=t[n].charCodeAt(0),s=r>=1425&&r<=2303||64286===r,a=e[i];if(s&&(1===a||7===a))return 1}}return n<1||5===e[n-1]?4:r[n-1]},UBAT_B:()=>(i.lastArabic=!0,i.hasUbatB=!0,i.dir),UBAT_S:()=>(i.hasUbatS=!0,4),UBAT_LRE:()=>(i.lastArabic=!1,4),UBAT_RLE:()=>(i.lastArabic=!1,4),UBAT_LRO:()=>(i.lastArabic=!1,4),UBAT_RLO:()=>(i.lastArabic=!1,4),UBAT_PDF:()=>(i.lastArabic=!1,4),UBAT_BN:()=>4}[S[s]]()}function D(t){let e,r=0,i=n.length-1;for(;r<=i;)if(e=Math.floor((r+i)/2),t<n[e][0])i=e-1;else{if(!(t>n[e][0]))return n[e][1];r=e+1}return t}function z(t){for(let e=0;e<f.length;e++)if(f[e]===t)return!0;return!1}function E(t){for(let e=0;e<o.length;e++)if(t===o[e])return u[e];return t}function q(t,e){for(let r=0;r<o.length;r++)if(t===o[r])return e[r];return t}function O(t){return t>="ً"&&t<="ٕ"}function G(t){return"L"===t?"LTR":"R"===t?"RTL":"C"===t?"CLR":"D"===t?"CRL":""}function $(t,e,r,n){for(;e*r<n&&O(t[e]);)e+=r;return e*r<n&&(t[e]=" ",!0)}function j(t,e){for(let r=0;r<i.length;r++)if(t===i[r])return e[r];return t}function W(t,e,r,n){for(let i=0;i<t.length;i++)(t[i]>e||!r&&t[i]===e)&&(t[i]+=n)}let Y=[],H=[],K=[];const Q={dir:0,defInFormat:"LLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUbatAl:!1,defOutFormat:""},Z=5,X=6,J=0,tt=1,et=/^[(I|V)][(L|RCD)][(Y|N)][(S|N)]N$/,rt=/[\u0591-\u06ff\ufb1d-\ufefc]/},6371(t,e,r){r.d(e,{y:()=>i});const n=new(r(32488).A);function i(t,e=!0){if(!n.hasBidiChar(t))return[t,!1,{...n}];let r;r="rtl"===n.checkContextual(t)?"IDNNN":"ICNNN";const i=e?"VLYSN":"VLYNN";return[n.bidiTransform(t,r,i),!0,{...n}]}},93687(t,e,r){r.d(e,{A:()=>n});class n{constructor(t,e,r,n=1,i=0){this._creator=t,this._acquireFunction=e,this._releaseFunction=r,this.allocationSize=n,this._pool=new Array(i),this._initialSize=i;for(let t=0;t<i;t++)this._pool[t]=this._creator();this.allocationSize=Math.max(n,1)}destroy(){this.prune(0)}acquire(...t){if(0===this._pool.length){const t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=this._creator()}const e=this._pool.pop();return this._acquireFunction?this._acquireFunction(e,...t):function(t){return t?.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&(this._releaseFunction?this._releaseFunction(t):(e=t,e?.release&&"function"==typeof e.release&&t.release()),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){const t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}}},78888(t,e,r){r.d(e,{EK:()=>M,GB:()=>c,GX:()=>h,MB:()=>R,Nd:()=>I,PZ:()=>m,Qp:()=>f,Uv:()=>B,Vr:()=>u,Zu:()=>C,_e:()=>L,aq:()=>F,dp:()=>S,e6:()=>N,eC:()=>k,jz:()=>U,qf:()=>x,wB:()=>T});var n=r(53966),i=r(91869);const s=()=>n.A.getLogger("esri.core.accessorSupport.ensureTypes");function a(t){if(null==t)return t;const e=new Date(t);return isNaN(e.getTime())?(s().error("Accessor#set",`Invalid date value: '${t}', falling back to current date`),new Date):e}function o(t){return null==t?t:!!t}function h(t){return null==t?t:t.toString()}function c(t,e=0){return null==t?t:(t=parseFloat(t),isNaN(t)?e:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function l(t){return null}function f(t,e){return r=>{let n=t(r);return null!=e.step&&(n=Math.round(n/e.step)*e.step),null!=e.min&&(n=Math.max(e.min,n)),null!=e.max&&(n=Math.min(e.max,n)),n}}function g(t){return t?.constructor&&void 0!==t.constructor.__accessorMetadata__}function p(t,e){return null!=e&&t&&!(e instanceof t)}function d(t){return t&&"isCollection"in t}function _(t){return t?.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function y(t,e){return!!g(e)&&(s().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+w(t)+"'"),!0)}function m(t,e){return null==e?e:d(t)?function(t,e){if(!e?.constructor||!d(e.constructor))return y(t,e)?e:new t(e);const r=_(t.prototype.itemType),n=_(e.constructor.prototype.itemType);return r?n?r===n?e:r.prototype.isPrototypeOf(n.prototype)?new t(e):(y(t,e),e):new t(e):e}(t,e):p(t,e)?y(t,e)?e:new t(e):e}function w(t){return t?.prototype?.declaredClass||"unknown"}const b=new WeakMap;function A(t){switch(t){case Number:return t=>c(t);case U:return u;case Boolean:return o;case String:return h;case Date:return a;case B:return l;default:return(0,i.tE)(b,t,()=>m.bind(null,t))}}function S(t,e){const r=A(t);return 1===arguments.length?r:r(e)}function x(t){const e=A(t);return t=>e(t)}function T(t,e,r){return 1===arguments.length?T.bind(null,t):e?Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)]:e}function k(t,e){return 1===arguments.length?T(e=>S(t,e)):T(e=>S(t,e),e)}function v(t,e,r){return 0!==e&&Array.isArray(r)?r.map(r=>v(t,e-1,r)):t(r)}function L(t,e,r){if(2===arguments.length)return r=>L(t,e,r);if(!r)return r;r=v(t,e,r);let n=e,i=r;for(;n>0&&Array.isArray(i);)n--,i=i[0];if(void 0!==i)for(let t=0;t<n;t++)r=[r];return r}function N(t,e,r){return 2===arguments.length?L(e=>S(t,e),e):L(e=>S(t,e),e,r)}function M(t){return!!Array.isArray(t)&&!t.some(e=>{const r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)})}function R(t,e){if(2===arguments.length)return R(t).call(null,e);const r=new Set,n=t.filter(t=>"function"!=typeof t),i=t.filter(t=>"function"==typeof t);for(const e of t)"string"!=typeof e&&"number"!=typeof e||r.add(e);let a=null,o=null;return(t,e)=>{if(null==t)return t;const h=typeof t,c="string"===h||"number"===h;return c&&(r.has(t)||i.some(t=>"string"===h&&t===String||"number"===h&&t===Number))||"object"===h&&i.some(e=>!p(e,t))?t:(c&&n.length?(a||(a=n.map(t=>"string"==typeof t?`'${t}'`:`${t}`).join(", ")),s().error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${a}`)):"object"==typeof t&&i.length?(o||(o=i.map(t=>w(t)).join(", ")),s().error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${o}`)):s().error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function F(t,e){if(2===arguments.length)return F(t).call(null,e);const r={},n=[],i=[];for(const e in t.typeMap){const s=t.typeMap[e];r[e]=S(s),n.push(w(s)),i.push(e)}const a=()=>`'${n.join("', '")}'`,o=()=>`'${i.join("', '")}'`,h="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!p(t.base,e))return e;if(null==e)return e;const n=h(e)||t.defaultKeyValue,i=r[n];if(!i)return s().error("Accessor#set",`Invalid property value, value needs to be one of ${a()}, or a plain object that can autocast (having .type = ${o()})`),null;if(!p(t.typeMap[n],e))return e;if("string"==typeof t.key&&!g(e)){const r={};for(const n in e)n!==t.key&&(r[n]=e[n]);return i(r)}return i(e)}}class U{}class B{}function C(t){if(!t||"object"!=typeof t&&"function"!=typeof t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function I(t){switch(t.type){case"native":return S(t.value);case"array":return T(I(t.value));case"one-of":return function(t){let e=null;return(r,n)=>V(r,t)?r:(null==e&&(e=P(t)),s().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),n&&(n.valid=!1),null)}(t);default:return null}}function P(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case U:return"integer";case Date:return"date";case B:return"null";default:return w(t.value)}case"array":return`array of ${P(t.value)}`;case"one-of":{const e=t.values.map(t=>P(t));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function V(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case U:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t;case B:return null===t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(t=>!V(t,e.value));case"one-of":return e.values.some(e=>V(t,e))}}r.d(e,["gK",0,{native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})}])},57582(t,e,r){r.d(e,{af:()=>i,rK:()=>s}),r(92602);const n="arial-unicode-ms";function i(t){if(!t)return n;const e=t.toLowerCase().split(" ").join("-");switch(e){case"serif":return"noto-serif";case"sans-serif":return"arial-unicode-ms";case"monospace":return"ubuntu-mono";case"fantasy":return"cabin-sketch";case"cursive":return"redressed";default:return e}}function s(t){const e=function(t){if(!t.weight)return"";switch(t.weight.toLowerCase()){case"bold":case"bolder":return"-bold"}return""}(t)+function(t){if(!t.style)return"";switch(t.style.toLowerCase()){case"italic":case"oblique":return"-italic"}return""}(t);return i(t.family)+(e.length>0?e:"-regular")}new Map,new Set,r.d(e,["Vb",0,n])},34727(t,e,r){r.d(e,{$8:()=>T,Cc:()=>o,Hx:()=>_,Io:()=>S,KJ:()=>u,OS:()=>L,Sp:()=>g,XM:()=>l,YN:()=>f,ZH:()=>d,b6:()=>x,cU:()=>i,gg:()=>p,hs:()=>h,kU:()=>c,mP:()=>a,or:()=>v,pF:()=>M,qE:()=>s});const n=new Float32Array(1);function i(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,r){return Math.min(Math.max(t,e),r)}function a(t,e){return 0===e?0:Math.ceil(t/e)*e}function o(t,e,r){return t+(e-t)*r}function h(t,e,r,n,i){return o(n,i,(t-e)/(r-e))}function c(t){return t*Math.PI/180}function u(t){return 180*t/Math.PI}function l(t){return Math.acos(s(t,-1,1))}function f(t){return Math.asin(s(t,-1,1))}function g(t,e,r=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=r}function p(t,e,r=1e-6){return!g(t,e,r)&&t>e}function d(t,e,r=1e-6){return!g(t,e,r)&&t<e}function _(t,e,r=1e-6){return g(t,e,r)||t>e}const y=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function m(t){return y.setFloat64(0,t),y.getBigInt64(0)}const w=1000000n,b=A(1);function A(t){const e=m(t=Math.abs(t)),r=function(t){return y.setBigInt64(0,t),y.getFloat64(0)}(e<=w?w:e-w);return Math.abs(t-r)}function S(t,e,r=b){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=r&&A(Math.min(Math.abs(t),Math.abs(e)))<r)return Math.abs(t-e)<=r;const n=m(t),i=m(e);return n<0==i<0&&!((n<i?i-n:n-i)>w)}function x(t,e,r=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;const n=Math.abs(t-e),i=Math.abs(t),s=Math.abs(e);if(0===t||0===e||i<1e-12&&s<1e-12){if(n>.01*r)return!1}else if(n/(i+s)>r)return!1;return!0}function T(t){return k(Math.max(-N,Math.min(t,N)))}function k(t){return n[0]=t,n[0]}function v(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],r=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],n=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(g(e,1)&&g(r,1)&&g(n,1))}function L(t,e){return(t%e+e)%e}const N=k(34028234663852886e22);function M(t,e,r){if(void 0===r||0===+r)return Math[t](e);if(e=+e,r=+r,isNaN(e)||"number"!=typeof r||r%1!=0)return NaN;let n=e.toString().split("e");return n=(e=Math[t](+(n[0]+"e"+(n[1]?+n[1]-r:-r)))).toString().split("e"),+(n[0]+"e"+(n[1]?+n[1]+r:r))}r.d(e,["pq",0,N])},69397(t,e,r){r.d(e,{Qf:()=>o,Qh:()=>s,lM:()=>i});var n=r(34275);function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!1));return e}function s(t){if(!t)return 0;if("number"==typeof t[0])return o(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=u;for(let n=0;n<e;n++)r+=a(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?s(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function o(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,16):0:0),0)}function h(t,e){return u+t.length*e}const c=32,u=16,l=145},51624(t,e,r){r.d(e,{A:()=>c});var n=r(44208),i=r(69397),s=r(93687);const a=4294967296,o=new TextDecoder("utf-8"),h=(0,n.A)("safari")||(0,n.A)("ios")?6:(0,n.A)("ff")?12:32;class c{constructor(t,e,r=0,n=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,r,n)}[Symbol.dispose](){this.release()}_init(t,e,r,n){this._data=t,this._dataView=e,this._pos=r,this._end=n}get usedMemory(){return 64+(0,i.Qf)(this._data)}asUnsafe(){return this}clone(){return new c(this._data,this._dataView,this._pos,this._end)}clonePooled(){return c.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,r=0,n=t?.byteLength??0){const i=c.pool.acquire();return i._init(t,e,r,n),i}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;const e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return t;if(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return t;throw new Error("Varint overflow")}getPackedEnd(){const t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){const t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){const t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){const t=this._dataView,e=this._pos,r=t.getUint32(e,!0)+t.getUint32(e+4,!0)*a;return this._skip(8),r}getSFixed64(){const t=this._dataView,e=this._pos,r=t.getUint32(e,!0)+t.getInt32(e+4,!0)*a;return this._skip(8),r}getDouble(){const t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){const t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){const t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){const t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){const t=this._getLength(),e=this._pos,r=this._toString(this._data,e,e+t);return this._skip(t),r}getBytes(){const t=this._getLength(),e=this._pos,r=this._toBytes(this._data,e,e+t);return this._skip(t),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,r,n){const i=this.getMessage(),s=t(i,e,r,n);return i.release(),s}processMessage(t){const e=this.getMessage(),r=t(e);return e.release(),r}getMessage(){const t=this._getLength(),e=c.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){c.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(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){const t=this._data;let e=this._pos,r=0,n=0;if(this._end-e>=10)do{if(n=t[e++],r|=127&n,!(128&n))break;if(n=t[e++],r|=(127&n)<<7,!(128&n))break;if(n=t[e++],r|=(127&n)<<14,!(128&n))break;if(n=t[e++],r|=(127&n)<<21,!(128&n))break;if(n=t[e++],r+=268435456*(127&n),!(128&n))break;if(n=t[e++],r+=34359738368*(127&n),!(128&n))break;if(n=t[e++],r+=4398046511104*(127&n),!(128&n))break;if(n=t[e++],r+=562949953421312*(127&n),!(128&n))break;if(n=t[e++],r+=72057594037927940*(127&n),!(128&n))break;if(n=t[e++],r+=0x8000000000000000*(127&n),!(128&n))break;throw new Error("Varint too long!")}while(0);else{let i=1;for(;e!==this._end&&(n=t[e],128&n);)++e,r+=(127&n)*i,i*=128;if(e===this._end)throw new Error("Varint overrun!");++e,r+=n*i}return this._pos=e,r}_decodeSVarint(){const t=this._data;let e,r=0,n=0;const i=1&t[this._pos];if(n=t[this._pos++],r|=127&n,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<7,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<14,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r|=(127&n)<<21,!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=268435456*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=34359738368*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(n=t[this._pos++],r+=4398046511104*(127&n),!(128&n))return i?-(r+1)/2:r/2;if(e=BigInt(r),n=t[this._pos++],e+=0x2000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/2n);if(n=t[this._pos++],e+=0x100000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/2n);if(n=t[this._pos++],e+=0x8000000000000000n*BigInt(127&n),!(128&n))return Number(i?-(e+1n)/2n:e/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(t,e,r){if((r=Math.min(this._end,r))-e>h){const n=t.subarray(e,r);return o.decode(n)}let n="",i="";for(let s=e;s<r;++s){const e=t[s];128&e?i+="%"+e.toString(16):(n+=decodeURIComponent(i)+String.fromCharCode(e),i="")}return i.length&&(n+=decodeURIComponent(i)),n}_toBytes(t,e,r){return r=Math.min(this._end,r),new Uint8Array(t.buffer,e,r-e)}static{this.pool=new s.A(()=>new c(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},75585(t,e,r){function n(t){let e="normal",r="normal";if(t){const n=t.toLowerCase();n.includes("italic")?e="italic":n.includes("oblique")&&(e="oblique"),n.includes("bold")?r="bold":n.includes("light")&&(r="lighter")}return{style:e,weight:r}}r.d(e,{_:()=>n})},69754(t,e,r){r.d(e,{Z:()=>c,q:()=>h});var n=r(68197),i=r(75585);const s=/([A-Za-z_][\w-]*)\s*=\s*(['"])(.*?)\2/g,a=/&(amp|lt|gt|quot|apos);/g,o=/<\s*\/?\s*(?:CLR|BOL|_BOL|ITA|_ITA|UND|_UND|FNT|CHR)\b/i;function h(t){return o.test(t)}function c(t){if(!t.supportsRichText||!t.textString.includes("<"))return null;const e=function(t){return{font:{...t.font},fontSize:t.symbol?.height&&!isNaN(t.symbol.height)?t.symbol.height:10,characterSpacing:0}}(t),r=[],n=[];let i=u(e),s="",a=!1;const o=t.textString,h=()=>{if(!s)return;const t=l(s);if(!t)return void(s="");const e=n[n.length-1];e&&function(t,e){return t.fontSize===e.fontSize&&t.characterSpacing===e.characterSpacing&&t.font.family===e.font.family&&t.font.style===e.font.style&&t.font.weight===e.font.weight&&t.font.decoration===e.font.decoration&&function(t,e){return t===e||!!t&&!!e&&t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}(t.color,e.color)}(e,i)?e.text+=t:n.push({text:t,font:{...i.font},fontSize:i.fontSize,characterSpacing:i.characterSpacing,color:i.color}),s=""};let c=0;for(;c<o.length;){const t=o[c];if("<"!==t){s+=t,c++;continue}const e=o.indexOf(">",c+1);if(-1===e)return null;const n=f(o.slice(c+1,e));if(!n)return null;if(a=!0,h(),n.isEnd){const t=r.pop();if(!t||t.name!==n.name)return null;i=t.previous}else{const t=u(i);i=g(i,n),r.push({name:n.name,previous:t})}c=e+1}return r.length?null:(h(),a?n.filter(t=>t.text.length>0):null)}function u(t){return{font:{...t.font},fontSize:t.fontSize,characterSpacing:t.characterSpacing,color:t.color}}function l(t){return t.replaceAll(a,(t,e)=>{switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';case"apos":return"'";default:return t}})}function f(t){const e=t.trim();if(!e)return null;const r=e.startsWith("/"),n=r?e.slice(1).trim():e,i=/^([A-Za-z_][\w-]*)/.exec(n);if(!i)return null;const a=i[1],o=n.slice(a.length),h={};let c;for(s.lastIndex=0;c=s.exec(o);)h[c[1]]=c[3];return{isEnd:r,name:a,attributes:h}}function g(t,e){const r=u(t);switch(e.name.toUpperCase()){case"BOL":r.font.weight="bold";break;case"_BOL":r.font.weight="normal";break;case"ITA":r.font.style="italic";break;case"_ITA":r.font.style="normal";break;case"UND":r.font.decoration="underline";break;case"_UND":r.font.decoration="none";break;case"FNT":!function(t,e){const{name:r,style:n,size:s,scale:a,wght:o,ital:h}=e;if(r&&(t.font.family=r),n){const e=(0,i._)(n);t.font.style=e.style,t.font.weight=e.weight}if(o){const e=Number(o);t.font.weight=e>=600?"bold":"normal"}if(h){const e=Number(h);isNaN(e)||(t.font.style=0!==e?"italic":"normal")}if(s){const e=Number(s);!isNaN(e)&&e>0&&(t.fontSize=e)}if(a){const e=Number(a);!isNaN(e)&&e>0&&(t.fontSize*=e/100)}}(r,e.attributes);break;case"CLR":r.color=function(t){if(t.hex){const e=n.A.fromHex(t.hex)?.toArray();if(e){const r="alpha"in t?_(t.alpha):e[3];return[e[0],e[1],e[2],r]}}if("red"in t||"green"in t||"blue"in t)return[p(t.red),p(t.green),p(t.blue),_(t.alpha)];const e=d(t.cyan),r=d(t.magenta),i=d(t.yellow),s=d(t.black),a=_(t.alpha),o=d(t.tint,100)/100,h=1-s;return[Math.round(255*(1-e)*h*o),Math.round(255*(1-r)*h*o),Math.round(255*(1-i)*h*o),a]}(e.attributes);break;case"CHR":!function(t,e){const r=Number(e.spacing);!isNaN(r)&&r>=0&&(t.characterSpacing=r/100)}(r,e.attributes)}return r}function p(t){const e=Number(t);return function(t){return Math.max(0,Math.min(255,Math.round(t)))}(isNaN(e)?0:e)}function d(t,e=0){const r=Number(t);return function(t){return Math.max(0,Math.min(1,t))}((isNaN(r)?e:r)/100)}function _(t){return Math.round(255*d(t,100))}},16892(t,e,r){r.r(e),r.d(e,{default:()=>L});var n=r(56507),i=r(6371),s=r(57582),a=r(44208),o=r(53966),h=r(17676),c=r(2741);let u=null;async function l(){return u||(u=async function(){const t=await r.e(7290).then(()=>r(87290));return await t.default({module_or_path:(0,c.s)("esri/libs/librust-text/pkg/text_bg.wasm")}),t}()),u}var f=r(69754);const g={width:5,height:2,left:0,top:0};class p{constructor(t){this._values=new Float64Array(t),this._distances=new Float64Array(t),this._parabolaIndices=new Int32Array(t),this._parabolaBoundaries=new Float64Array(t+1)}compute(t,e,r){const{_values:n,_distances:i}=this;for(let s=0;s<e;s++){for(let i=0;i<r;i++)n[i]=t[i*e+s];this._compute1D(n,i,r);for(let n=0;n<r;n++)t[n*e+s]=i[n]}for(let s=0;s<r;s++){const r=s*e;for(let i=0;i<e;i++)n[i]=t[r+i];this._compute1D(n,i,e);for(let n=0;n<e;n++)t[r+n]=Math.sqrt(i[n])}}_compute1D(t,e,r){const{_parabolaIndices:n,_parabolaBoundaries:i}=this;n[0]=0,i[0]=-1/0,i[1]=1/0;let s=0;for(let e=1;e<r;e++){let r;do{const i=n[s];r=(t[e]+e*e-(t[i]+i*i))/(2*e-2*i)}while(r<=i[s]&&--s>-1);s++,n[s]=e,i[s]=r,i[s+1]=1/0}for(let s=0,a=0;s<r;s++){for(;i[a+1]<s;)a++;const r=s-n[a];e[s]=r*r+t[n[a]]}}}class d{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;const e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;const r=new OffscreenCanvas(e,e);this.context=r.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.distanceTransform=new p(e)}draw(t,e){const{context:r,gridInner:n,gridOuter:i,rasterSizePx:s,rasterBufferPx:a,canvasSize:o,radius:h,cutoff:c}=this,u=s/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,o,o),this.context.translate(s,s),this.context.scale(u,u);const l=t.paintCurves(e,r);if(!l)return null;const f=l.xMin*u,g=l.xMax*u,p=l.yMin*u,d=l.yMax*u;l.free();const _=Math.ceil(g-f),y=Math.ceil(d-p),m=Math.floor(s+f-a),w=Math.floor(s+p-a),b=_+2*a,A=y+2*a,S=new Float32Array(Math.max(b*A,0)),x=r.getImageData(m,w,b,A);i.fill(Number.MAX_VALUE,0,S.length),n.fill(0,0,S.length);for(let t=0;t<A;t++)for(let e=0;e<b;e++){const r=A-1-t,s=x.data[4*(r*b+e)+3]/255;if(0===s)continue;const a=t*b+e;if(1===s)i[a]=0,n[a]=Number.MAX_VALUE;else{const t=.5-s;i[a]=t>0?t*t:0,n[a]=t<0?t*t:0}}this.distanceTransform.compute(i,b,A),this.distanceTransform.compute(n,b,A);for(let t=0;t<S.length;t++)S[t]=i[t]-n[t];const T=Math.ceil(b/this.pxDensity),k=Math.ceil(A/this.pxDensity),v=this.pxDensity*this.pxDensity,L=new Uint8ClampedArray(Math.max(T*k,0));for(let t=0;t<k;t++)for(let e=0;e<T;e++){let r=0;for(let n=0;n<this.pxDensity;n++)for(let i=0;i<this.pxDensity;i++)e+i>b||t+n>A||(r+=S[(this.pxDensity*t+n)*b+(this.pxDensity*e+i)]);const n=r/this.pxDensity/v/h+c;L[t*T+e]=Math.round(255-255*n)}const N=u*t.face_height(),M=Math.round(d-N+2*a),R=Math.round(f-a);return{buffer:L,rect:{width:Math.ceil(_/this.pxDensity),height:Math.ceil(y/this.pxDensity),top:Math.round(M/this.pxDensity),left:Math.round(R/this.pxDensity)}}}}var _=r(92602),y=r(51624);class m{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];const e=new Map;let r=0;for(;t.next();)switch(t.tag()){case 1:{const n=t.getMessage();for(;n.next();)switch(n.tag()){case 3:{const t=n.getMessage();let i,s,a,o,h,c,u;for(;t.next();)switch(t.tag()){case 1:i=t.getUInt32();break;case 2:s=t.getBytes();break;case 3:a=t.getUInt32();break;case 4:o=t.getUInt32();break;case 5:h=t.getSInt32();break;case 6:c=t.getSInt32();break;case 7:u=t.getUInt32();break;default:t.skip()}if(t.release(),i){const t={width:a,height:o,left:h,top:c};this._rects[i]=t;const n={xOffset:0,yOffset:0,xAdvance:u,yAdvance:0};if(this._shapings[i]=n,s){const t=s.length;e.set(i,s),this._bitmaps[i]={start:r,length:t},r+=t}}break}default:n.skip()}n.release();break}default:t.skip()}this._buffer=new Uint8Array(r);for(const[t,r]of e)this._buffer.set(r,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){const e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class b{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${_.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,r){const i=this._getFontStack(t);if(i.getRange(e))return;const s=256*e,a=s+255,o=this._baseURL.replace("{fontstack}",t).replace("{range}",s+"-"+a);return(0,n.A)(o,{responseType:"array-buffer",signal:r?.signal}).then(t=>{i.addRange(e,new m(new y.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){const e=this._getFontStack(t),r=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),i=await(0,n.A)(r,{responseType:"array-buffer"}),s=new m(new y.A(new Uint8Array(i.data),new DataView(i.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,s)}getRange(t,e){const r=this._glyphInfo.get(t);return r?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}function A(t,e,r,n){return 1|t<<1|(r?1:0)<<2|("Nearest"===n?1:0)<<3|e<<4}var S=r(18989);class x{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new S.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new S.A;let r=null,n=-1;for(let i=0;i<this._free.length;++i){const s=this._free[i];t<=s.width&&e<=s.height&&(null===r||s.y<=r.y&&s.x<=r.x)&&(r=s,n=i)}return null===r?new S.A:(this._free.splice(n,1),r.width<r.height?(r.width>t&&this._free.push(new S.A(r.x+t,r.y,r.width-t,e)),r.height>e&&this._free.push(new S.A(r.x,r.y+e,r.width,r.height-e))):(r.width>t&&this._free.push(new S.A(r.x+t,r.y,r.width-t,r.height)),r.height>e&&this._free.push(new S.A(r.x,r.y+e,t,r.height-e))),new S.A(r.x,r.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){const r=this._free[e];if(r.y===t.y&&r.height===t.height&&r.x+r.width===t.x)r.width+=t.width;else if(r.x===t.x&&r.width===t.width&&r.y+r.height===t.y)r.height+=t.height;else if(t.y===r.y&&t.height===r.height&&t.x+t.width===r.x)r.x=t.x,r.width+=t.width;else{if(t.x!==r.x||t.width!==r.width||t.y+t.height!==r.y)continue;r.y=t.y,r.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}const T="arial-unicode-ms-regular",k=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,v=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class L{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new d({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();const e=this._client.getOptions();this._inited=this._init(e)}async rasterizeText(t,e,r){await this._inited;const n=e.symbol?(0,f.Z)(e):null;return n?{type:"rich-glyphs",runs:(await Promise.all(n.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,decoration:e.font.decoration,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,r)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,r)}async _rasterizeTextRun(t,e,r,n){const i=(0,s.rK)(e),h=this._invalidFonts.has(i),c=!!(0,a.A)("esri-2d-force-complex-shaping"),u=!!(0,a.A)("esri-2d-complex-shaping")&&k.test(r),l=v.has(e.family),f=c||u||l,g=h?T:i;let p=await this.getGlyphItems(r,f,t,g,!1,n);return p||(((t,e="")=>{o.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${i} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(i),p=await this.getGlyphItems(r,f,t,T,!1,n)),p}async getGlyphItems(t,e,r,n,s,o){await this._inited;const h=this._getSource(r);let c,u,l;if((0,a.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(h,n).catch(()=>{}),e){const e=await this._getFace(h,n);if(!e)return null;let r=this._glyphCache.get(n);r||(r=new Map,this._glyphCache.set(n,r));const{shaping:i,isRTL:s}=this._shape(e,t);l=s,c=i.map(t=>this._getShapedGlyph(e,r,t)),u={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(n);e||(e=new Map,this._pbfGlyphCache.set(n,e));const[r,a,u]=(0,i.y)(t),f=function(t){const e=[];for(let r=0;r<t.length;r++)e.push(t.charCodeAt(r));return e}(r);try{await this._fetchRanges(h,n,f,o)}catch{return null}l=a,c=f.map(t=>this._getPBFGlyph(e,h,n,t,s)).filter(t=>!!t)}const f=c.filter(t=>t.needsRecord);return f.length>0&&await this._client.recordGlyphs(f),{type:"glyphs",glyphs:c,faceInfo:u,isRightToLeft:l,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){const{width:e,height:r,snapCoords:n}=await t;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new x(e,r),this._snapCoords=n,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,r){let n,i,s=e.get(r.glyphId);if(!s){n=this._glyphSDFCreator.draw(t,r.glyphId);const a=this._glyphSDFCreator.sdfBufferPx;s={mosaicItem:{rect:this._recordGlyph(n?.rect,a),page:this._currentPage,sdf:!0,textureBinding:A(1,this._currentPage,!0)},glyphRect:n?.rect??{width:0,height:0,top:0,left:0}},e.set(r.glyphId,s),i=!0}return{mosaicItem:s.mosaicItem,rect:s.glyphRect,shaping:{xAdvance:r.xAdvance,yAdvance:r.yAdvance,xOffset:r.xOffset,yOffset:r.yOffset},code:r.isNewline?10:r.isWhitespace?32:NaN,sdf:n,needsRecord:i}}_getPBFGlyph(t,e,r,n,i=!1){let s,a,o=t.get(n);if(!o){const h=e.getRange(r,n),c=h?.getRect(n),u=h?.getShaping(n),l=h?.getBitmap(n);if(i&&(!c||!u))return;if(!c||!u)return M(n);s=l&&{buffer:l,rect:c},o={mosaicItem:{rect:l?this._recordGlyph(c,3):new S.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:A(1,this._currentPage,!0)},rect:c,shaping:u,code:n},a=!0,t.set(n,o)}const{mosaicItem:h,rect:c,shaping:u}=o;return{mosaicItem:h,rect:c,shaping:u,code:n,sdf:s,needsRecord:a}}_shape(t,e){const r=this._glyphSDFCreator.sdfSizePx,[n,s,a]=(0,i.y)(e,!1),o=new Uint32Array(Array.from(n).map((t,e)=>a.levels[a.targetToSource[e]]));return{shaping:t.shape(n,o,r),isRTL:s}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);const i=t.woffURL(e);return await N(this._facePromises,e,async()=>{const t=await(0,n.A)(i,{responseType:"array-buffer",...r}),s=(await l()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,s)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new b(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,r,n){const i=function(t){const e=new Set;for(const r of t)e.add(Math.floor(r/256));return e}(r),s=[];i.forEach(r=>{s.push(this._fetchRange(t,e,r,n))}),await Promise.all(s)}async _fetchRange(t,e,r,n){if(r>256)return;const i=e+r;return N(this._pbfRangePromises,i,()=>t.fetchRange(e,r,n))}_allocNewPage(){this._currentPage++,this._binPack=new x(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){const r=this._binPack;if(!t||0===t.width)return new S.A;const n=t.width+2*e,i=t.height+2*e;let s=n,a=i;this._snapCoords&&(s+=n%4?4-n%4:4,a+=i%4?4-i%4:4);const o=r.allocate(s,a);return o.isEmpty?(this._allocNewPage(),r.allocate(s,a)):o}_initDecorationGlyphs(){this._recordGlyph(g,3),this._recordGlyph(g,3)}preloadASCIIGlyphCache(t,e){const r=this._preloadCache[e];if(null!=r)return r;const n=t.preloadASCIIRange(e).then(async()=>{let r=this._pbfGlyphCache.get(e);r||(r=new Map,this._pbfGlyphCache.set(e,r));for(let n=0;n<256;n++)this._getPBFGlyph(r,t,e,n);const n=Array.from(this._pbfGlyphCache.get(e).values());await this._client.recordGlyphs(n)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=n,n}}function N(t,e,r){return t.has(e)||t.set(e,r().finally(()=>{t.delete(e)}).catch(t=>{(0,h.jH)(t)})),t.get(e)}const M=t=>({mosaicItem:{rect:new S.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},18989(t,e,r){r.d(e,{A:()=>n});class n{constructor(t=0,e=0,r=0,n=0){this.x=t,this.y=e,this.width=r,this.height=n}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}}}]);