@arcgis/core 5.1.0-next.105 → 5.1.0-next.107

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 (478) hide show
  1. package/analysis/AreaMeasurementAnalysis.d.ts +5 -5
  2. package/analysis/DimensionAnalysis.d.ts +3 -3
  3. package/analysis/DimensionSimpleStyle.d.ts +2 -2
  4. package/analysis/DirectLineMeasurementAnalysis.d.ts +4 -4
  5. package/analysis/DistanceMeasurementAnalysis.d.ts +4 -4
  6. package/analysis/ElevationProfileAnalysis.d.ts +3 -3
  7. package/analysis/LengthDimension.d.ts +2 -2
  8. package/analysis/LineOfSightAnalysis.d.ts +4 -4
  9. package/analysis/ShadowCast/DiscreteOptions.d.ts +7 -3
  10. package/analysis/ShadowCast/MinDurationOptions.d.ts +5 -1
  11. package/analysis/ShadowCast/TotalDurationOptions.d.ts +7 -3
  12. package/analysis/ShadowCast/types.d.ts +1 -1
  13. package/analysis/ShadowCastAnalysis.d.ts +11 -6
  14. package/analysis/SliceAnalysis.d.ts +4 -4
  15. package/analysis/SlicePlane.d.ts +3 -3
  16. package/analysis/Viewshed.d.ts +2 -2
  17. package/analysis/ViewshedAnalysis.d.ts +3 -3
  18. package/analysis/VolumeMeasurement/VolumeMeasurementCutFillOptions.d.ts +1 -1
  19. package/analysis/VolumeMeasurementAnalysis.d.ts +3 -3
  20. package/applications/Components/imageryUtils.d.ts +24 -0
  21. package/applications/Components/layerUtils.d.ts +21 -0
  22. package/applications/Components/layerUtils.js +2 -0
  23. package/applications/Components/templateUtils.d.ts +11 -1
  24. package/applications/Components/templateUtils.js +1 -1
  25. package/arcgisGlobal.d.ts +6 -0
  26. package/assets/components/assets/icon/buttons16.json +1 -0
  27. package/assets/components/assets/icon/buttons24.json +1 -0
  28. package/assets/components/assets/icon/buttons32.json +1 -0
  29. package/assets/components/assets/icon/entityTypes16.json +1 -0
  30. package/assets/components/assets/icon/entityTypes24.json +1 -0
  31. package/assets/components/assets/icon/entityTypes32.json +1 -0
  32. package/assets/esri/core/t9n/Units_ar.json +1 -1
  33. package/assets/esri/core/t9n/Units_bg.json +1 -1
  34. package/assets/esri/core/t9n/Units_bs.json +1 -1
  35. package/assets/esri/core/t9n/Units_ca.json +1 -1
  36. package/assets/esri/core/t9n/Units_cs.json +1 -1
  37. package/assets/esri/core/t9n/Units_da.json +1 -1
  38. package/assets/esri/core/t9n/Units_de.json +1 -1
  39. package/assets/esri/core/t9n/Units_el.json +1 -1
  40. package/assets/esri/core/t9n/Units_es.json +1 -1
  41. package/assets/esri/core/t9n/Units_et.json +1 -1
  42. package/assets/esri/core/t9n/Units_fi.json +1 -1
  43. package/assets/esri/core/t9n/Units_fr.json +1 -1
  44. package/assets/esri/core/t9n/Units_he.json +1 -1
  45. package/assets/esri/core/t9n/Units_hr.json +1 -1
  46. package/assets/esri/core/t9n/Units_hu.json +1 -1
  47. package/assets/esri/core/t9n/Units_id.json +1 -1
  48. package/assets/esri/core/t9n/Units_it.json +1 -1
  49. package/assets/esri/core/t9n/Units_ja.json +1 -1
  50. package/assets/esri/core/t9n/Units_ko.json +1 -1
  51. package/assets/esri/core/t9n/Units_lt.json +1 -1
  52. package/assets/esri/core/t9n/Units_lv.json +1 -1
  53. package/assets/esri/core/t9n/Units_nl.json +1 -1
  54. package/assets/esri/core/t9n/Units_no.json +1 -1
  55. package/assets/esri/core/t9n/Units_pl.json +1 -1
  56. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  57. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  58. package/assets/esri/core/t9n/Units_ro.json +1 -1
  59. package/assets/esri/core/t9n/Units_ru.json +1 -1
  60. package/assets/esri/core/t9n/Units_sk.json +1 -1
  61. package/assets/esri/core/t9n/Units_sl.json +1 -1
  62. package/assets/esri/core/t9n/Units_sr.json +1 -1
  63. package/assets/esri/core/t9n/Units_sv.json +1 -1
  64. package/assets/esri/core/t9n/Units_th.json +1 -1
  65. package/assets/esri/core/t9n/Units_tr.json +1 -1
  66. package/assets/esri/core/t9n/Units_uk.json +1 -1
  67. package/assets/esri/core/t9n/Units_vi.json +1 -1
  68. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  69. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  70. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  71. package/assets/esri/core/workers/RemoteClient.js +1 -1
  72. package/assets/esri/core/workers/chunks/{6854b28853f5dd195110.js → 01c70c27aa3a955e2928.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{b7a81fd4994eabba1869.js → 0c8e6ccb5a8174718d62.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{a943bd2e6fb7443c2b66.js → 17604cbd4d24158e2c16.js} +1 -1
  75. package/assets/esri/core/workers/chunks/179c9fe4ac83b42e5976.js +1 -0
  76. package/assets/esri/core/workers/chunks/1d1929f98d941179be29.js +2 -0
  77. package/assets/esri/core/workers/chunks/{24247ee93f43fff5e596.js.LICENSE.txt → 1d1929f98d941179be29.js.LICENSE.txt} +1 -3
  78. package/assets/esri/core/workers/chunks/1ebb613bbe09fcf274d8.js +1 -0
  79. package/assets/esri/core/workers/chunks/24b43fb12fc3009fdc30.js +1 -0
  80. package/assets/esri/core/workers/chunks/2b9661700743d1f9717e.js +1 -0
  81. package/assets/esri/core/workers/chunks/2f0a3b22fc46d832e240.js +1 -0
  82. package/assets/esri/core/workers/chunks/{2dced41ff2aa1bd86665.js → 33ec193e6d7a0cb9d8dd.js} +1 -1
  83. package/assets/esri/core/workers/chunks/340f2c996f62f7f5ceae.js +1 -0
  84. package/assets/esri/core/workers/chunks/37c63570c0b4981cd519.js +1 -0
  85. package/assets/esri/core/workers/chunks/{a0e72b107991ba38a9f0.js → 502c3da8c49bf885f51d.js} +1 -1
  86. package/assets/esri/core/workers/chunks/518046d2b95a7590a092.js +1 -0
  87. package/assets/esri/core/workers/chunks/547dc6ccb989bd962661.js +1 -0
  88. package/assets/esri/core/workers/chunks/549d348ca181d06aefb7.js +2 -0
  89. package/assets/esri/core/workers/chunks/{9b89cc85c1b5d561df7c.js → 55334ad3618899cdbf78.js} +2 -2
  90. package/assets/esri/core/workers/chunks/{7485d59d60d61737d662.js → 55b765c72d13b3b911f9.js} +1 -1
  91. package/assets/esri/core/workers/chunks/{1e8d5bfc5f8c2664190c.js → 56d9d3f108ff6e719dd4.js} +1 -1
  92. package/assets/esri/core/workers/chunks/5cdf87e7a59ace38df87.js +1 -0
  93. package/assets/esri/core/workers/chunks/622bdd1b9d5d292ec12b.js +1 -0
  94. package/assets/esri/core/workers/chunks/69c9eb93553b006b640d.js +2 -0
  95. package/assets/esri/core/workers/chunks/6d20d741b8ae1a45b422.js +1 -0
  96. package/assets/esri/core/workers/chunks/702a3ef9e1b3442cbee7.js +1 -0
  97. package/assets/esri/core/workers/chunks/75a7de23c05435ec7649.js +1 -0
  98. package/assets/esri/core/workers/chunks/762e23466308f22d7076.js +1 -0
  99. package/assets/esri/core/workers/chunks/{52219561c144e5cb4442.js → 770611659b38066a6228.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{e90afd914f2ccd4f5374.js → 7ce60331f94ee0a5d674.js} +6 -6
  101. package/assets/esri/core/workers/chunks/825db2ea15308ee6e5dc.js +1 -0
  102. package/assets/esri/core/workers/chunks/8330302096d4312a4393.js +1 -0
  103. package/assets/esri/core/workers/chunks/{7617bd0f3a70dfe61637.js → 8557dd9ef336b23f768f.js} +1 -1
  104. package/assets/esri/core/workers/chunks/885eac78a76184efa1e5.js +1 -0
  105. package/assets/esri/core/workers/chunks/{79dc7045d9a2d43ba8df.js → 890b7a1153b7f65eba9a.js} +1 -1
  106. package/assets/esri/core/workers/chunks/9234a293d61e134f121f.js +1 -0
  107. package/assets/esri/core/workers/chunks/{44636ef119c6a576470b.js → 94eab215bab3e4e0e5b5.js} +1 -1
  108. package/assets/esri/core/workers/chunks/95dee5853c6e89f15ea9.js +1 -0
  109. package/assets/esri/core/workers/chunks/a5b9ae4c93f9af7589f2.js +1 -0
  110. package/assets/esri/core/workers/chunks/{fb415b01f0f1d644832d.js → ac408c62565e2c8b5975.js} +1 -1
  111. package/assets/esri/core/workers/chunks/b3e8ab68fc38306f13c6.js +1 -0
  112. package/assets/esri/core/workers/chunks/b69d1d528e271568cbd8.js +2 -0
  113. package/assets/esri/core/workers/chunks/{0cc74bc3772be51cabc1.js → bbaf8baa3ca6195467e4.js} +1 -1
  114. package/assets/esri/core/workers/chunks/{f7e386ece75afb6e4be5.js → bc249bb667f0564ad093.js} +1 -1
  115. package/assets/esri/core/workers/chunks/c4872cf3b71d00f450e1.js +1 -0
  116. package/assets/esri/core/workers/chunks/c5ab346a226df1894302.js +1 -0
  117. package/assets/esri/core/workers/chunks/{39a8e6c9d710d3faea3c.js → cdb48d198145493f76f3.js} +1 -1
  118. package/assets/esri/core/workers/chunks/{359dbfbfb9acfb18bc6e.js → d4014213c476bf8099af.js} +1 -1
  119. package/assets/esri/core/workers/chunks/da29cf0e64065631a470.js +1 -0
  120. package/assets/esri/core/workers/chunks/ddebc1dc10a2d207389f.js +1 -0
  121. package/assets/esri/core/workers/chunks/e393fd61deb2e7f22ee6.js +1 -0
  122. package/assets/esri/core/workers/chunks/ea2bf7c543cc536400b7.js +30 -0
  123. package/assets/esri/core/workers/chunks/ece30bfd5c49b8d99752.js +1 -0
  124. package/assets/esri/core/workers/chunks/ecf4d07917efc97eb991.js +1 -0
  125. package/assets/esri/core/workers/chunks/ee56290e600cbeb25a00.js +1 -0
  126. package/assets/esri/core/workers/chunks/f52c6efc5a2abf5ac845.js +1 -0
  127. package/assets/esri/core/workers/chunks/fc1fe1f58a65a1694c09.js +1 -0
  128. package/assets/esri/geometry/support/pe-wasm.wasm +0 -0
  129. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  130. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  131. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +84 -1
  132. package/assets/esri/themes/base/widgets/_Sketch.scss +1 -24
  133. package/assets/esri/themes/dark/main.css +1 -1
  134. package/assets/esri/themes/light/main.css +1 -1
  135. package/assets/esri/themes/light/view.css +1 -1
  136. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm.json +1 -1
  137. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  138. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  139. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  140. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  141. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  142. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  143. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  144. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  145. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_en.json +1 -1
  146. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  147. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  148. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  149. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  150. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  151. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  152. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  153. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  154. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  155. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  156. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  157. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  158. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  159. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  160. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  161. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  162. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  163. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  164. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  165. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  166. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  167. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  168. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  169. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  170. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  171. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  172. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  173. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  174. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  175. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  176. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  177. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable.json +1 -1
  178. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_en.json +1 -1
  179. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  180. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  181. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  182. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  183. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  184. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  185. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  186. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  187. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  188. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  189. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  190. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  191. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  192. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  193. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  194. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  195. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  196. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  197. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  198. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  199. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  200. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  201. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  202. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  203. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  204. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  205. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  206. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  207. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  208. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  209. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  210. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  211. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  212. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  213. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  214. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  215. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  216. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  217. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  218. package/assets/esri/widgets/Sketch/t9n/Sketch.json +1 -1
  219. package/assets/esri/widgets/Sketch/t9n/Sketch_en.json +1 -1
  220. package/chunks/ComponentShader.glsl.js +11 -15
  221. package/chunks/Fog.glsl.js +3 -3
  222. package/chunks/GlowComposition.glsl.js +38 -56
  223. package/chunks/OITDimOpaque.glsl.js +8 -3
  224. package/chunks/SimpleAtmosphere.glsl.js +3 -3
  225. package/chunks/lyr3DWorker.js +1 -1
  226. package/chunks/pe-wasm.js +1 -1
  227. package/config.js +1 -1
  228. package/core/generatorUtils.js +2 -0
  229. package/core/libs/gl-matrix-2/factories/vec2f64.js +1 -1
  230. package/core/libs/gl-matrix-2/math/vec2.js +1 -1
  231. package/core/mathUtils.js +1 -1
  232. package/core/typedArrayUtil.js +1 -1
  233. package/geometry/HeightModelInfo.js +1 -1
  234. package/geometry/geometryEngine.d.ts +2 -2
  235. package/geometry/support/WKIDUnitConversion.js +1 -1
  236. package/geometry/support/buffer/BufferView.js +1 -1
  237. package/geometry/support/vcsData.js +1 -1
  238. package/geometry/support/vcsLookup.js +1 -1
  239. package/identity/IdentityManagerBase.js +1 -1
  240. package/kernel.js +1 -1
  241. package/layers/DimensionLayer.d.ts +5 -5
  242. package/layers/FeatureLayer.d.ts +2 -2
  243. package/layers/GaussianSplatLayer.d.ts +3 -3
  244. package/layers/LineOfSightLayer.d.ts +5 -5
  245. package/layers/ParquetLayer.d.ts +6 -4
  246. package/layers/SubtypeGroupLayer.d.ts +2 -2
  247. package/layers/ViewshedLayer.d.ts +3 -3
  248. package/layers/graphics/sources/ParquetSource.js +1 -1
  249. package/layers/graphics/sources/parquet/FileProvider.js +2 -0
  250. package/layers/graphics/sources/parquet/PortalParquetFileProvider.js +2 -0
  251. package/layers/graphics/sources/parquet/PortalParquetLayerFileProvider.js +2 -0
  252. package/layers/graphics/sources/parquet/UrlsFileProvider.js +2 -0
  253. package/layers/graphics/sources/parquet/createFileProvider.js +2 -0
  254. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  255. package/layers/knowledgeGraph/KnowledgeGraphSublayer.d.ts +1 -1
  256. package/layers/raster/datasets/ImageAuxRaster.js +1 -1
  257. package/layers/raster/datasets/MRFRaster.js +1 -1
  258. package/layers/raster/datasets/pixelReader.js +1 -1
  259. package/layers/raster/formats/JpgPlus.js +1 -1
  260. package/layers/raster/formats/RasterCodec.js +1 -1
  261. package/layers/raster/functions/clipUtils.js +1 -1
  262. package/layers/support/AggregateField.d.ts +2 -1
  263. package/layers/support/LayerContingentValuesCache.js +1 -1
  264. package/layers/support/SubtypeSublayer.d.ts +4 -4
  265. package/layers/support/parquetUtils.d.ts +18 -7
  266. package/layers/support/parquetUtils.js +1 -1
  267. package/layers/support/rasterFunctionUtils.d.ts +2 -2
  268. package/libs/parquet/parquet.js +1 -1
  269. package/linkChart/ChronologicalLayoutSettings.d.ts +1 -1
  270. package/networks/CircuitManager.d.ts +3 -3
  271. package/networks/UnitIdentifierManager.d.ts +1 -1
  272. package/networks/UnitIdentifierManager.js +1 -1
  273. package/networks/UtilityNetwork.d.ts +2 -2
  274. package/networks/UtilityNetwork.js +1 -1
  275. package/networks/support/Circuit.d.ts +1 -1
  276. package/networks/support/CircuitLocation.d.ts +1 -1
  277. package/networks/support/CircuitSection.d.ts +1 -1
  278. package/networks/support/Subcircuit.d.ts +1 -1
  279. package/networks/support/TraceJobInfo.js +1 -1
  280. package/networks/support/jsonTypes.d.ts +10 -3
  281. package/package.json +4 -4
  282. package/popup/FieldInfo.d.ts +4 -2
  283. package/popup/support/FieldInfoFormat.d.ts +3 -2
  284. package/rest/featureService/FeatureService.d.ts +1 -1
  285. package/rest/knowledgeGraph/FieldIndex.d.ts +1 -1
  286. package/rest/knowledgeGraph/GraphObjectType.d.ts +2 -2
  287. package/rest/knowledgeGraph/GraphSearch.d.ts +1 -1
  288. package/rest/knowledgeGraph/GraphSearchStreaming.d.ts +1 -1
  289. package/rest/networks/circuits/support/CircuitVerifyResult.js +1 -1
  290. package/rest/networks/circuits/support/ExportCircuitsParameters.d.ts +19 -1
  291. package/rest/networks/circuits/support/ExportCircuitsResult.js +1 -1
  292. package/rest/networks/circuits/support/VerifyCircuitsParameters.d.ts +18 -10
  293. package/rest/networks/circuits/support/VerifyCircuitsParameters.js +1 -1
  294. package/rest/networks/circuits/support/VerifyCircuitsResult.js +1 -1
  295. package/rest/networks/support/TraceParameters.js +1 -1
  296. package/rest/networks/support/TraceResult.js +1 -1
  297. package/rest/networks/trace.js +1 -1
  298. package/rest/networks/unitIdentifiers/support/QueryUnitIdentifiersParameters.js +1 -1
  299. package/rest/support/AreasAndLengthsParameters.d.ts +1 -1
  300. package/rest/support/GeneralizeParameters.d.ts +1 -1
  301. package/rest/support/Query.d.ts +1 -1
  302. package/rest/support/RelationParameters.d.ts +1 -1
  303. package/rest/support/types.d.ts +1 -1
  304. package/support/revision.js +1 -1
  305. package/symbols/CIMSymbol.d.ts +1 -1
  306. package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +1 -0
  307. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  308. package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
  309. package/views/2d/layers/features/sources/strategies/ParquetSnapshotLoadStrategy.js +1 -1
  310. package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
  311. package/views/2d/layers/features/sources/strategies/chunks/ParquetSnapshotSourceChunk.js +1 -1
  312. package/views/2d/layers/features/sources/strategies/chunks/ParquetSourceChunk.js +1 -1
  313. package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +1 -0
  314. package/views/3d/analysis/DimensionAnalysisView3D.d.ts +7 -6
  315. package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.d.ts +2 -0
  316. package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
  317. package/views/3d/analysis/LineOfSight/LineOfSightIntersectionResult.js +1 -1
  318. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  319. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  320. package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +2 -1
  321. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +5 -1
  322. package/views/3d/analysis/SliceAnalysisView3D.d.ts +4 -3
  323. package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
  324. package/views/3d/analysis/Viewshed/ViewshedDrawToolRenderer.js +2 -0
  325. package/views/3d/analysis/Viewshed/ViewshedEditTool.js +1 -1
  326. package/views/3d/analysis/Viewshed/ViewshedInteractionVisuals.js +2 -0
  327. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +2 -0
  328. package/views/3d/analysis/Viewshed/ViewshedPlacementOperation.js +2 -0
  329. package/views/3d/analysis/Viewshed/ViewshedPlacementPointPlugin.js +2 -0
  330. package/views/3d/analysis/Viewshed/ViewshedPlacementRootPlugin.js +2 -0
  331. package/views/3d/analysis/Viewshed/ViewshedSnappingController.js +2 -0
  332. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  333. package/views/3d/analysis/Viewshed/ViewshedSubVisualization.js +1 -1
  334. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  335. package/views/3d/analysis/Viewshed/ViewshedTool2.js +1 -1
  336. package/views/3d/analysis/Viewshed/analysisViewRegister.js +1 -1
  337. package/views/3d/analysis/Viewshed/placementUtils.js +2 -0
  338. package/views/3d/analysis/Viewshed/toolLifecycleUtils.js +2 -0
  339. package/views/3d/analysis/Viewshed/viewshedSubToolUtils.js +1 -1
  340. package/views/3d/analysis/Viewshed/viewshedToolUtils.js +1 -1
  341. package/views/3d/analysis/ViewshedAnalysisView3D.d.ts +4 -3
  342. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  343. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  344. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
  345. package/views/3d/environment/FoggyWeather.js +1 -1
  346. package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
  347. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  348. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  349. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  350. package/views/3d/layers/i3s/Intersector.js +1 -1
  351. package/views/3d/layers/support/UVWorkspace.js +2 -0
  352. package/views/3d/layers/support/patternUtils.js +1 -1
  353. package/views/3d/layers/support/uvUtils.js +1 -1
  354. package/views/3d/support/ResourceController.js +1 -1
  355. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  356. package/views/3d/support/gaussianSplatting/GaussianSplatIntersectionHandler.js +1 -1
  357. package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
  358. package/views/3d/support/gaussianSplatting/GaussianTile.js +1 -1
  359. package/views/3d/support/meshProcessing.js +1 -1
  360. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  361. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBuffer.glsl.js +8 -8
  362. package/views/3d/webgl-engine/core/shaderLibrary/TextureBackedBufferFields.glsl.js +13 -9
  363. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +63 -49
  364. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  365. package/views/3d/webgl-engine/effects/fog/Fog.js +1 -1
  366. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  367. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechniqueConfiguration.js +1 -1
  368. package/views/3d/webgl-engine/lib/AttributeArray.js +1 -1
  369. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  370. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  371. package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
  372. package/views/3d/webgl-engine/lib/PathCapBuilder.js +1 -1
  373. package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
  374. package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
  375. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  376. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  377. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBufferFieldCreation.js +1 -1
  378. package/views/3d/webgl-engine/materials/PathLayouts.js +2 -0
  379. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  380. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  381. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  382. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  383. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  384. package/views/3d/webgl-engine/shaders/SphereDepthInterpolate.glsl.js +2 -3
  385. package/views/PopupView.d.ts +77 -1
  386. package/views/PopupView.js +1 -1
  387. package/views/SceneView.js +1 -1
  388. package/views/draw/DrawTool.d.ts +77 -0
  389. package/views/draw/support/editingSessionUtils.js +1 -1
  390. package/views/draw/support/managers/PluginLifecycleManager.d.ts +10 -0
  391. package/views/interactive/InteractiveToolBase.d.ts +11 -0
  392. package/views/interactive/editGeometry/interfaces.d.ts +8 -0
  393. package/views/interactive/interfaces.d.ts +20 -0
  394. package/views/layers/DimensionLayerView.d.ts +2 -1
  395. package/views/layers/LineOfSightLayerView.d.ts +2 -1
  396. package/views/layers/ViewshedLayerView.d.ts +2 -1
  397. package/views/webgl/capabilities/load.js +1 -1
  398. package/webscene/Slide.js +1 -1
  399. package/widgets/Attachments/types.d.ts +1 -1
  400. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +38 -5
  401. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  402. package/widgets/BatchAttributeForm/ReactiveContingentValuesManager.js +2 -0
  403. package/widgets/BatchAttributeForm/ReactiveGraphic.js +1 -1
  404. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  405. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  406. package/widgets/BatchAttributeForm/css.js +1 -1
  407. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +11 -0
  408. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  409. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +77 -0
  410. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  411. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  412. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  413. package/widgets/BatchAttributeForm/interfaceUtils.js +2 -0
  414. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  415. package/widgets/BatchAttributeForm/types.d.ts +30 -2
  416. package/widgets/BatchAttributeForm.d.ts +52 -1
  417. package/widgets/BatchAttributeForm.js +1 -1
  418. package/widgets/CoordinateConversion/CoordinateConversionViewModel.d.ts +9 -1
  419. package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
  420. package/widgets/Editor.d.ts +1 -1
  421. package/widgets/FeatureTable/FieldColumn.js +1 -1
  422. package/widgets/FeatureTable/support/FeatureStore.js +1 -1
  423. package/widgets/LayerList/LayerListItem.js +1 -1
  424. package/widgets/Sketch/SketchViewModel.d.ts +67 -2
  425. package/widgets/Sketch/SketchViewModel.js +1 -1
  426. package/widgets/Sketch/VisibleElements.d.ts +19 -1
  427. package/widgets/Sketch/VisibleElements.js +1 -1
  428. package/widgets/Sketch/support/OperationHandle.js +1 -1
  429. package/widgets/Sketch/support/PluginManager.d.ts +12 -0
  430. package/widgets/Sketch/support/PluginManager.js +1 -1
  431. package/widgets/Sketch.js +1 -1
  432. package/widgets/TimeSlider.d.ts +3 -3
  433. package/widgets/VideoPlayer/VideoPlayerViewModel.d.ts +10 -0
  434. package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
  435. package/widgets/support/ContingentValuesManager.js +1 -1
  436. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.d.ts +81 -0
  437. package/widgets/support/SelectionToolbar/types.d.ts +4 -0
  438. package/widgets/support/forms/formUtils.js +1 -1
  439. package/assets/esri/core/workers/chunks/11b0d3a825fe50dd1e84.js +0 -1
  440. package/assets/esri/core/workers/chunks/130851b81f04e6a008cd.js +0 -1
  441. package/assets/esri/core/workers/chunks/1a3426276dc82a8a80f2.js +0 -1
  442. package/assets/esri/core/workers/chunks/1c8a21b7b60c0709e6b2.js +0 -1
  443. package/assets/esri/core/workers/chunks/24247ee93f43fff5e596.js +0 -2
  444. package/assets/esri/core/workers/chunks/276cb6a1cdd26d0e1444.js +0 -1
  445. package/assets/esri/core/workers/chunks/2b3a8a53cd68f666676b.js +0 -1
  446. package/assets/esri/core/workers/chunks/2ecb21c402cdd8c82533.js +0 -1
  447. package/assets/esri/core/workers/chunks/2f903bd3a2611e7f0946.js +0 -30
  448. package/assets/esri/core/workers/chunks/2fda38219d778f0447b5.js +0 -1
  449. package/assets/esri/core/workers/chunks/38d7430d2370b69334d7.js +0 -1
  450. package/assets/esri/core/workers/chunks/39d6032d79720935910d.js +0 -1
  451. package/assets/esri/core/workers/chunks/5dafd35801dca4229aed.js +0 -1
  452. package/assets/esri/core/workers/chunks/642be1619c0e76355cb6.js +0 -1
  453. package/assets/esri/core/workers/chunks/6d66dc77af8d112c33c6.js +0 -1
  454. package/assets/esri/core/workers/chunks/7b3642195d6d3ea9b830.js +0 -1
  455. package/assets/esri/core/workers/chunks/7e57029ec958f6423d5d.js +0 -2
  456. package/assets/esri/core/workers/chunks/8042e001545e2782499c.js +0 -1
  457. package/assets/esri/core/workers/chunks/855bf811cd79b97c169a.js +0 -1
  458. package/assets/esri/core/workers/chunks/881234f25c7814de8753.js +0 -1
  459. package/assets/esri/core/workers/chunks/8a7682071941c35f05c1.js +0 -1
  460. package/assets/esri/core/workers/chunks/8fdd57e2a0af647f1e3e.js +0 -1
  461. package/assets/esri/core/workers/chunks/90ea570f6b6ce8ca693b.js +0 -1
  462. package/assets/esri/core/workers/chunks/9373daa677dc767d7cf0.js +0 -1
  463. package/assets/esri/core/workers/chunks/95df6d2ebacc43ac5fa3.js +0 -1
  464. package/assets/esri/core/workers/chunks/a02ebdcb802d128c8eee.js +0 -1
  465. package/assets/esri/core/workers/chunks/adf72d87f0114aeade0e.js +0 -1
  466. package/assets/esri/core/workers/chunks/aec4a4cd7044fdbbbe34.js +0 -1
  467. package/assets/esri/core/workers/chunks/b1a21a4d7d73ad7d0e47.js +0 -1
  468. package/assets/esri/core/workers/chunks/b262478da29470abb72b.js +0 -2
  469. package/assets/esri/core/workers/chunks/b75e090a7e935ff870a3.js +0 -1
  470. package/assets/esri/core/workers/chunks/bacf0c9d5d3e084dea61.js +0 -1
  471. package/assets/esri/core/workers/chunks/c0e4fd6fa1d765275248.js +0 -2
  472. package/assets/esri/core/workers/chunks/cfaa6e205bfc0c94a1b1.js +0 -1
  473. package/assets/esri/core/workers/chunks/d3f08f1a9a250cd8a2c8.js +0 -1
  474. package/assets/esri/core/workers/chunks/dcb7a3ff59677b1cf0f1.js +0 -1
  475. /package/assets/esri/core/workers/chunks/{7e57029ec958f6423d5d.js.LICENSE.txt → 549d348ca181d06aefb7.js.LICENSE.txt} +0 -0
  476. /package/assets/esri/core/workers/chunks/{9b89cc85c1b5d561df7c.js.LICENSE.txt → 55334ad3618899cdbf78.js.LICENSE.txt} +0 -0
  477. /package/assets/esri/core/workers/chunks/{b262478da29470abb72b.js.LICENSE.txt → 69c9eb93553b006b640d.js.LICENSE.txt} +0 -0
  478. /package/assets/esri/core/workers/chunks/{c0e4fd6fa1d765275248.js.LICENSE.txt → b69d1d528e271568cbd8.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4807],{79608(t,n,r){r.d(n,{A:()=>f});var e=r(5482),a=r(69540),o=r(91429);let i=class extends a.Pw{constructor(t){super(t),this.type="web-scene"}equals(t){return this.type===t.type}};(0,e.Cg)([(0,o.MZ)()],i.prototype,"type",void 0),i=(0,e.Cg)([(0,o.$K)("esri.analysis.support.AnalysisOriginWebScene")],i);const s=i;var u=r(69622),c=r(4902),h=r(25482);let l=0,f=class extends((0,h.T)((0,a.OU)((0,c.s)(u.A)))){constructor(t){super(t),this.id=`${Date.now().toString(16)}-analysis-${l++}`,this.origin=null}get parent(){return this._get("parent")}set parent(t){const n=this.parent;if(null!=n)switch(n.type){case"line-of-sight":case"dimension":case"viewshed":n.releaseAnalysis(this);break;case"2d":case"3d":n.analyses.includes(this)&&n.analyses.remove(this)}this._set("parent",t)}equals(t){return this.type===t.type}};(0,e.Cg)([(0,o.MZ)({type:String,constructOnly:!0,clonable:!1})],f.prototype,"id",void 0),(0,e.Cg)([(0,o.MZ)({clonable:!1,value:null})],f.prototype,"parent",null),(0,e.Cg)([(0,o.MZ)({types:{key:"type",base:null,typeMap:{"web-scene":s}}})],f.prototype,"origin",void 0),f=(0,e.Cg)([(0,o.$K)("esri.analysis.Analysis")],f)},91715(t,n,r){r.d(n,{xH:()=>o,N1:()=>s}),r(35522);var e=r(51850),a=r(71351);function o(t,n){return i(t)===i(n)}function i(t){if(null==t)return null;const n=null!=t.layer?t.layer.id:"";let r=null;return r=null!=t.objectId?t.objectId:null!=t.layer&&"objectIdField"in t.layer&&null!=t.layer.objectIdField&&null!=t.attributes?t.attributes[t.layer.objectIdField]:t.uid,null==r?null:`o-${n}-${r}`}r(58083),r(70328),r(77548),r(6867),r(49718),(0,e.vt)();const s={json:{write:{writer:function(t,n){null!=t?.layer?.objectIdField&&null!=t.attributes&&(n.feature={layerId:t.layer.id,objectId:t.attributes[t.layer.objectIdField]})},target:{"feature.layerId":{type:[Number,String],isRequired:!0},"feature.objectId":{type:[Number,String],isRequired:!0}}},origins:{"web-scene":{read:function(t){if(null!=t.layerId&&null!=t.objectId)return{uid:null,layer:{id:t.layerId,objectIdField:"ObjectId"},attributes:{ObjectId:t.objectId}}}}}},clonable:"reference"};(0,a.vt)(),(0,e.vt)()},80200(t,n,r){r.d(n,{T:()=>e,d:()=>l});const e={Base64:0,Hex:1,String:2,Raw:3};function a(t,n){const r=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(r>>16)<<16|65535&r}function o(t,n,r,e,o,i){return a(function(t,n){return t<<n|t>>>32-n}(a(a(n,t),a(e,i)),o),r)}function i(t,n,r,e,a,i,s){return o(n&r|~n&e,t,n,a,i,s)}function s(t,n,r,e,a,i,s){return o(n&e|r&~e,t,n,a,i,s)}function u(t,n,r,e,a,i,s){return o(n^r^e,t,n,a,i,s)}function c(t,n,r,e,a,i,s){return o(r^(n|~e),t,n,a,i,s)}function h(t,n){t[n>>5]|=128<<n%32,t[14+(n+64>>>9<<4)]=n;let r=1732584193,e=-271733879,o=-1732584194,h=271733878;for(let n=0;n<t.length;n+=16){const l=r,f=e,M=o,m=h;r=i(r,e,o,h,t[n],7,-680876936),h=i(h,r,e,o,t[n+1],12,-389564586),o=i(o,h,r,e,t[n+2],17,606105819),e=i(e,o,h,r,t[n+3],22,-1044525330),r=i(r,e,o,h,t[n+4],7,-176418897),h=i(h,r,e,o,t[n+5],12,1200080426),o=i(o,h,r,e,t[n+6],17,-1473231341),e=i(e,o,h,r,t[n+7],22,-45705983),r=i(r,e,o,h,t[n+8],7,1770035416),h=i(h,r,e,o,t[n+9],12,-1958414417),o=i(o,h,r,e,t[n+10],17,-42063),e=i(e,o,h,r,t[n+11],22,-1990404162),r=i(r,e,o,h,t[n+12],7,1804603682),h=i(h,r,e,o,t[n+13],12,-40341101),o=i(o,h,r,e,t[n+14],17,-1502002290),e=i(e,o,h,r,t[n+15],22,1236535329),r=s(r,e,o,h,t[n+1],5,-165796510),h=s(h,r,e,o,t[n+6],9,-1069501632),o=s(o,h,r,e,t[n+11],14,643717713),e=s(e,o,h,r,t[n],20,-373897302),r=s(r,e,o,h,t[n+5],5,-701558691),h=s(h,r,e,o,t[n+10],9,38016083),o=s(o,h,r,e,t[n+15],14,-660478335),e=s(e,o,h,r,t[n+4],20,-405537848),r=s(r,e,o,h,t[n+9],5,568446438),h=s(h,r,e,o,t[n+14],9,-1019803690),o=s(o,h,r,e,t[n+3],14,-187363961),e=s(e,o,h,r,t[n+8],20,1163531501),r=s(r,e,o,h,t[n+13],5,-1444681467),h=s(h,r,e,o,t[n+2],9,-51403784),o=s(o,h,r,e,t[n+7],14,1735328473),e=s(e,o,h,r,t[n+12],20,-1926607734),r=u(r,e,o,h,t[n+5],4,-378558),h=u(h,r,e,o,t[n+8],11,-2022574463),o=u(o,h,r,e,t[n+11],16,1839030562),e=u(e,o,h,r,t[n+14],23,-35309556),r=u(r,e,o,h,t[n+1],4,-1530992060),h=u(h,r,e,o,t[n+4],11,1272893353),o=u(o,h,r,e,t[n+7],16,-155497632),e=u(e,o,h,r,t[n+10],23,-1094730640),r=u(r,e,o,h,t[n+13],4,681279174),h=u(h,r,e,o,t[n],11,-358537222),o=u(o,h,r,e,t[n+3],16,-722521979),e=u(e,o,h,r,t[n+6],23,76029189),r=u(r,e,o,h,t[n+9],4,-640364487),h=u(h,r,e,o,t[n+12],11,-421815835),o=u(o,h,r,e,t[n+15],16,530742520),e=u(e,o,h,r,t[n+2],23,-995338651),r=c(r,e,o,h,t[n],6,-198630844),h=c(h,r,e,o,t[n+7],10,1126891415),o=c(o,h,r,e,t[n+14],15,-1416354905),e=c(e,o,h,r,t[n+5],21,-57434055),r=c(r,e,o,h,t[n+12],6,1700485571),h=c(h,r,e,o,t[n+3],10,-1894986606),o=c(o,h,r,e,t[n+10],15,-1051523),e=c(e,o,h,r,t[n+1],21,-2054922799),r=c(r,e,o,h,t[n+8],6,1873313359),h=c(h,r,e,o,t[n+15],10,-30611744),o=c(o,h,r,e,t[n+6],15,-1560198380),e=c(e,o,h,r,t[n+13],21,1309151649),r=c(r,e,o,h,t[n+4],6,-145523070),h=c(h,r,e,o,t[n+11],10,-1120210379),o=c(o,h,r,e,t[n+2],15,718787259),e=c(e,o,h,r,t[n+9],21,-343485551),r=a(r,l),e=a(e,f),o=a(o,M),h=a(h,m)}return[r,e,o,h]}function l(t,n=e.Hex){const r=n||e.Base64,a=h(function(t){const n=[];for(let r=0,e=8*t.length;r<e;r+=8)n[r>>5]|=(255&t.charCodeAt(r/8))<<r%32;return n}(t),8*t.length);switch(r){case e.Raw:return a;case e.Hex:return function(t){const n="0123456789abcdef",r=[];for(let e=0,a=4*t.length;e<a;e++)r.push(n.charAt(t[e>>2]>>e%4*8+4&15)+n.charAt(t[e>>2]>>e%4*8&15));return r.join("")}(a);case e.String:return function(t){const n=[];for(let r=0,e=32*t.length;r<e;r+=8)n.push(String.fromCharCode(t[r>>5]>>>r%32&255));return n.join("")}(a);case e.Base64:return function(t){const n=[];for(let r=0,e=4*t.length;r<e;r+=3){const e=(t[r>>2]>>r%4*8&255)<<16|(t[r+1>>2]>>(r+1)%4*8&255)<<8|t[r+2>>2]>>(r+2)%4*8&255;for(let a=0;a<4;a++)8*r+6*a>32*t.length?n.push("="):n.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>6*(3-a)&63))}return n.join("")}(a)}}},4341(t,n,r){r.d(n,{I:()=>a});var e=r(26390);class a{constructor(t){this._allocator=t,this._items=[],this._itemsPtr=0,this._grow()}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr===this._items.length&&this._grow(),this._items[this._itemsPtr++]}_reset(){const t=Math.min(3*Math.max(8,this._itemsPtr),this._itemsPtr+3*o);this._items.length=Math.min(t,this._items.length),this._itemsPtr=0}_grow(){for(let t=0;t<Math.max(8,Math.min(this._items.length,o));t++)this._items.push(this._allocator())}}const o=1024},87024(t,n,r){r.d(n,{P:()=>M});var e=r(49186),a=r(80200),o=r(76553),i=r(84952),s=r(13069),u=r(96156),c=r(35666),h=r(10107),l=r(85648),f=r(97159);function M(t){const n=t?.origins??[void 0];return(r,e)=>{const a=function(t,n,r){if("resource"===t?.type)return function(t,n,r){const e=(0,u.z4)(n,r);return{type:String,read:(t,n,r)=>{const a=(0,f.r)(t,n,r);return e.type===String?a:"function"==typeof e.type?new e.type({url:a}):void 0},write:{isRequired:e.json?.write?.isRequired,writer(n,a,s,u){if(!u?.resources)return"string"==typeof n?void(a[s]=(0,f.c)(n,u)):void(a[s]=n.write({},u));const h=function(t){return null==t?null:"string"==typeof t?t:t.url}(n),M=(0,f.c)(h,{...u,verifyItemRelativeUrls:u?.verifyItemRelativeUrls?{writtenUrls:u.verifyItemRelativeUrls.writtenUrls,rootPath:void 0}:void 0},1),b=e.type!==String&&(!(0,o.H)(this)||u?.origin&&this.originIdOf(r)>(0,c.aB)(u.origin)),g={object:this,propertyName:r,value:n,targetUrl:M,dest:a,targetPropertyName:s,context:u,params:t};u?.portalItem&&M&&!(0,i.oP)(M)?b&&t?.contentAddressed?m(g):b?function(t){const{context:n,targetUrl:r,params:e,value:a,dest:o,targetPropertyName:s}=t;if(!n.portalItem)return;const u=n.portalItem.resourceFromPath(r),c=p(a,r,n),h=(0,l.n)(c),f=(0,i.Zo)(u.path),M=e?.compress??!1;h===f?(n.resources&&d({...t,resource:u,content:c,compress:M,updates:n.resources.toUpdate}),o[s]=r):m(t)}(g):function({context:t,targetUrl:n,dest:r,targetPropertyName:e}){t.portalItem&&t.resources&&(t.resources.toKeep.push({resource:t.portalItem.resourceFromPath(n),compress:!1}),r[e]=n)}(g):u?.portalItem&&(null==M||null!=(0,f.i)(M)||(0,i.w8)(M)||b)?m(g):a[s]=M}}}}(t,n,r);switch(t?.type??"other"){case"other":return{read:!0,write:!0};case"url":{const{read:t,write:n}=f.p;return{read:t,write:n}}}}(t,r,e);for(const t of n){const n=(0,h.rM)(r,t,e);for(const t in a)n[t]=a[t]}}}function m(t){const{targetUrl:n,params:r,value:o,context:u,dest:c,targetPropertyName:h}=t;if(!u.portalItem)return;const M=(0,f.b)(n),m=p(o,n,u);if(r?.contentAddressed&&"json"!==m.type)return void u.messages?.push(new e.A("persistable:contentAddressingUnsupported",`Property "${h}" is trying to serializing a resource with content of type ${m.type} with content addressing. Content addressing is only supported for json resources.`,{content:m}));const b=r?.contentAddressed&&"json"===m.type?(0,a.d)(m.jsonString):M?.filename??(0,s.lk)(),g=(0,i.fj)(r?.prefix??M?.prefix,b),y=`${g}.${(0,l.n)(m)}`;if(r?.contentAddressed&&u.resources&&"json"===m.type){const t=u.resources.toKeep.find(({resource:t})=>t.path===y)??u.resources.toAdd.find(({resource:t})=>t.path===y);if(t)return void(c[h]=t.resource.itemRelativeUrl)}const v=u.portalItem.resourceFromPath(y);(0,i.w8)(n)&&u.resources&&u.resources.pendingOperations.push((0,i.tk)(n).then(t=>{v.path=`${g}.${(0,l.n)({type:"blob",blob:t})}`,c[h]=v.itemRelativeUrl}).catch(()=>{}));const I=r?.compress??!1;u.resources&&d({...t,resource:v,content:m,compress:I,updates:u.resources.toAdd}),c[h]=v.itemRelativeUrl}function d({object:t,propertyName:n,updates:r,resource:e,content:a,compress:o}){r.push({resource:e,content:a,compress:o,finish:r=>{!function(t,n,r){"string"==typeof t[n]?t[n]=r.url:t[n].url=r.url}(t,n,r)}})}function p(t,n,r){return"string"==typeof t?{type:"url",url:n}:{type:"json",jsonString:JSON.stringify(t.toJSON(r))}}},62885(t,n,r){r.d(n,{H:()=>o,V:()=>a});var e=r(7762);function a(t,n,r=e.A){return n||(n=new r),n===t||n.destroyed||(n.removeAll(),(a=t)&&(Array.isArray(a)||"items"in a&&Array.isArray(a.items))?n.addMany(t):t&&n.add(t)),n;var a}function o(t){return t}},9093(t,n,r){function e(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(n,{o8:()=>a,vt:()=>e,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:a,create:e,fromValues:function(t,n,r,e,a,o,i,s,u,c,h,l,f,M,m,d){return[t,n,r,e,a,o,i,s,u,c,h,l,f,M,m,d]}},Symbol.toStringTag,{value:"Module"}))},82534(t,n,r){function e(){return[0,0,0,1]}function a(t){return[t[0],t[1],t[2],t[3]]}r.d(n,{o8:()=>a,vt:()=>e,zK:()=>o});const o=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:a,create:e,fromValues:function(t,n,r,e){return[t,n,r,e]}},Symbol.toStringTag,{value:"Module"}))},48163(t,n,r){function e(){return[0,0]}function a(t){return[t[0],t[1]]}function o(t,n){return[t,n]}function i(){return o(1,1)}function s(){return o(1,0)}function u(){return o(0,1)}r.d(n,{Un:()=>c,fA:()=>o,o8:()=>a,vt:()=>e});const c=i(),h=s(),l=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:h,UNIT_Y:l,ZEROS:[0,0],clone:a,create:e,freeze:function(t,n){return[t,n]},fromArray:function(t,n=[0,0]){const r=Math.min(2,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:o,ones:i,unitX:s,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},91829(t,n,r){function e(){return[0,0,0,0]}function a(t,n,r,e){return[t,n,r,e]}function o(t,n,r,e){return[t,n,r,e]}function i(){return a(1,1,1,1)}function s(){return a(1,0,0,0)}function u(){return a(0,1,0,0)}function c(){return a(0,0,1,0)}function h(){return a(0,0,0,1)}r.d(n,{CN:()=>o,Un:()=>f,fA:()=>a,uY:()=>l,vt:()=>e});const l=[0,0,0,0],f=i(),M=s(),m=u(),d=c(),p=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_W:p,UNIT_X:M,UNIT_Y:m,UNIT_Z:d,ZEROS:l,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:e,freeze:o,fromArray:function(t,n=[0,0,0,0]){const r=Math.min(4,t.length);for(let e=0;e<r;++e)n[e]=t[e];return n},fromValues:a,ones:i,unitW:h,unitX:s,unitY:u,unitZ:c,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},58083(t,n,r){r.d(n,{$0:()=>p,$h:()=>S,B8:()=>c,C:()=>o,D_:()=>s,N9:()=>g,O7:()=>w,Tl:()=>l,X_:()=>_,aI:()=>N,e$:()=>M,eL:()=>m,hM:()=>b,hZ:()=>i,hs:()=>f,kN:()=>d,l:()=>x,lw:()=>h,mg:()=>u,o1:()=>j,sC:()=>I,t2:()=>P,t5:()=>q,tZ:()=>T,ut:()=>C,v3:()=>A});var e=r(51850),a=r(34304);function o(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function i(t,n,r,e,a,o,i,s,u,c,h,l,f,M,m,d,p){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t[4]=o,t[5]=i,t[6]=s,t[7]=u,t[8]=c,t[9]=h,t[10]=l,t[11]=f,t[12]=M,t[13]=m,t[14]=d,t[15]=p,t}function s(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function u(t,n){if(t===n){const r=n[1],e=n[2],a=n[3],o=n[6],i=n[7],s=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=r,t[6]=n[9],t[7]=n[13],t[8]=e,t[9]=o,t[11]=n[14],t[12]=a,t[13]=i,t[14]=s}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}function c(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],i=n[4],s=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],M=n[11],m=n[12],d=n[13],p=n[14],b=n[15],g=r*s-e*i,y=r*u-a*i,v=r*c-o*i,I=e*u-a*s,_=e*c-o*s,x=a*c-o*u,j=h*d-l*m,w=h*p-f*m,S=h*b-M*m,A=l*p-f*d,q=l*b-M*d,O=f*b-M*p;let P=g*O-y*q+v*A+I*S-_*w+x*j;return P?(P=1/P,t[0]=(s*O-u*q+c*A)*P,t[1]=(a*q-e*O-o*A)*P,t[2]=(d*x-p*_+b*I)*P,t[3]=(f*_-l*x-M*I)*P,t[4]=(u*S-i*O-c*w)*P,t[5]=(r*O-a*S+o*w)*P,t[6]=(p*v-m*x-b*y)*P,t[7]=(h*x-f*v+M*y)*P,t[8]=(i*q-s*S+c*j)*P,t[9]=(e*S-r*q-o*j)*P,t[10]=(m*_-d*v+b*g)*P,t[11]=(l*v-h*_-M*g)*P,t[12]=(s*w-i*A-u*j)*P,t[13]=(r*A-e*w+a*j)*P,t[14]=(d*y-m*I-p*g)*P,t[15]=(h*I-l*y+f*g)*P,t):null}function h(t,n,r){const e=n[0],a=n[1],o=n[2],i=n[3],s=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=n[9],M=n[10],m=n[11],d=n[12],p=n[13],b=n[14],g=n[15];let y=r[0],v=r[1],I=r[2],_=r[3];return t[0]=y*e+v*s+I*l+_*d,t[1]=y*a+v*u+I*f+_*p,t[2]=y*o+v*c+I*M+_*b,t[3]=y*i+v*h+I*m+_*g,y=r[4],v=r[5],I=r[6],_=r[7],t[4]=y*e+v*s+I*l+_*d,t[5]=y*a+v*u+I*f+_*p,t[6]=y*o+v*c+I*M+_*b,t[7]=y*i+v*h+I*m+_*g,y=r[8],v=r[9],I=r[10],_=r[11],t[8]=y*e+v*s+I*l+_*d,t[9]=y*a+v*u+I*f+_*p,t[10]=y*o+v*c+I*M+_*b,t[11]=y*i+v*h+I*m+_*g,y=r[12],v=r[13],I=r[14],_=r[15],t[12]=y*e+v*s+I*l+_*d,t[13]=y*a+v*u+I*f+_*p,t[14]=y*o+v*c+I*M+_*b,t[15]=y*i+v*h+I*m+_*g,t}function l(t,n,r){const e=r[0],a=r[1],o=r[2];if(n===t)t[12]=n[0]*e+n[4]*a+n[8]*o+n[12],t[13]=n[1]*e+n[5]*a+n[9]*o+n[13],t[14]=n[2]*e+n[6]*a+n[10]*o+n[14],t[15]=n[3]*e+n[7]*a+n[11]*o+n[15];else{const r=n[0],i=n[1],s=n[2],u=n[3],c=n[4],h=n[5],l=n[6],f=n[7],M=n[8],m=n[9],d=n[10],p=n[11];t[0]=r,t[1]=i,t[2]=s,t[3]=u,t[4]=c,t[5]=h,t[6]=l,t[7]=f,t[8]=M,t[9]=m,t[10]=d,t[11]=p,t[12]=r*e+c*a+M*o+n[12],t[13]=i*e+h*a+m*o+n[13],t[14]=s*e+l*a+d*o+n[14],t[15]=u*e+f*a+p*o+n[15]}return t}function f(t,n,r){const e=r[0],a=r[1],o=r[2];return t[0]=n[0]*e,t[1]=n[1]*e,t[2]=n[2]*e,t[3]=n[3]*e,t[4]=n[4]*a,t[5]=n[5]*a,t[6]=n[6]*a,t[7]=n[7]*a,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=n[11]*o,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}function M(t,n,r,e){let i=e[0],s=e[1],u=e[2],c=Math.sqrt(i*i+s*s+u*u);if(c<=(0,a.FD)())return void o(t,n);c=1/c,i*=c,s*=c,u*=c;const h=Math.sin(r),l=Math.cos(r),f=1-l,M=n[0],m=n[1],d=n[2],p=n[3],b=n[4],g=n[5],y=n[6],v=n[7],I=n[8],_=n[9],x=n[10],j=n[11],w=i*i*f+l,S=s*i*f+u*h,A=u*i*f-s*h,q=i*s*f-u*h,O=s*s*f+l,P=u*s*f+i*h,N=i*u*f+s*h,C=s*u*f-i*h,T=u*u*f+l;t[0]=M*w+b*S+I*A,t[1]=m*w+g*S+_*A,t[2]=d*w+y*S+x*A,t[3]=p*w+v*S+j*A,t[4]=M*q+b*O+I*P,t[5]=m*q+g*O+_*P,t[6]=d*q+y*O+x*P,t[7]=p*q+v*O+j*P,t[8]=M*N+b*C+I*T,t[9]=m*N+g*C+_*T,t[10]=d*N+y*C+x*T,t[11]=p*N+v*C+j*T,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15])}function m(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[4],i=n[5],s=n[6],u=n[7],c=n[8],h=n[9],l=n[10],f=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=o*a+c*e,t[5]=i*a+h*e,t[6]=s*a+l*e,t[7]=u*a+f*e,t[8]=c*a-o*e,t[9]=h*a-i*e,t[10]=l*a-s*e,t[11]=f*a-u*e,t}function d(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function p(t,n,r){if(0===n)return s(t);let e=r[0],o=r[1],i=r[2],u=Math.sqrt(e*e+o*o+i*i);if(u<=(0,a.FD)())return null;u=1/u,e*=u,o*=u,i*=u;const c=Math.sin(n),h=Math.cos(n),l=1-h;return t[0]=e*e*l+h,t[1]=o*e*l+i*c,t[2]=i*e*l-o*c,t[3]=0,t[4]=e*o*l-i*c,t[5]=o*o*l+h,t[6]=i*o*l+e*c,t[7]=0,t[8]=e*i*l+o*c,t[9]=o*i*l-e*c,t[10]=i*i*l+h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function b(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=e,t[6]=r,t[7]=0,t[8]=0,t[9]=-r,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function g(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=0,t[4]=-r,t[5]=e,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function y(t,n,r){const e=n[0],a=n[1],o=n[2],i=n[3],s=e+e,u=a+a,c=o+o,h=e*s,l=e*u,f=e*c,M=a*u,m=a*c,d=o*c,p=i*s,b=i*u,g=i*c;return t[0]=1-(M+d),t[1]=l+g,t[2]=f-b,t[3]=0,t[4]=l-g,t[5]=1-(h+d),t[6]=m+p,t[7]=0,t[8]=f+b,t[9]=m-p,t[10]=1-(h+M),t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}const v=(0,e.vt)();function I(t,n){return t[0]=n[12],t[1]=n[13],t[2]=n[14],t}function _(t,n){const r=n[0],e=n[1],a=n[2],o=n[4],i=n[5],s=n[6],u=n[8],c=n[9],h=n[10];return t[0]=Math.sqrt(r*r+e*e+a*a),t[1]=Math.sqrt(o*o+i*i+s*s),t[2]=Math.sqrt(u*u+c*c+h*h),t}function x(t,n){const r=n[0]+n[5]+n[10];let e=0;return r>0?(e=2*Math.sqrt(r+1),t[3]=.25*e,t[0]=(n[6]-n[9])/e,t[1]=(n[8]-n[2])/e,t[2]=(n[1]-n[4])/e):n[0]>n[5]&&n[0]>n[10]?(e=2*Math.sqrt(1+n[0]-n[5]-n[10]),t[3]=(n[6]-n[9])/e,t[0]=.25*e,t[1]=(n[1]+n[4])/e,t[2]=(n[8]+n[2])/e):n[5]>n[10]?(e=2*Math.sqrt(1+n[5]-n[0]-n[10]),t[3]=(n[8]-n[2])/e,t[0]=(n[1]+n[4])/e,t[1]=.25*e,t[2]=(n[6]+n[9])/e):(e=2*Math.sqrt(1+n[10]-n[0]-n[5]),t[3]=(n[1]-n[4])/e,t[0]=(n[8]+n[2])/e,t[1]=(n[6]+n[9])/e,t[2]=.25*e),t}function j(t,n,r,e){const a=n[0],o=n[1],i=n[2],s=n[3],u=a+a,c=o+o,h=i+i,l=a*u,f=a*c,M=a*h,m=o*c,d=o*h,p=i*h,b=s*u,g=s*c,y=s*h,v=e[0],I=e[1],_=e[2];return t[0]=(1-(m+p))*v,t[1]=(f+y)*v,t[2]=(M-g)*v,t[3]=0,t[4]=(f-y)*I,t[5]=(1-(l+p))*I,t[6]=(d+b)*I,t[7]=0,t[8]=(M+g)*_,t[9]=(d-b)*_,t[10]=(1-(l+m))*_,t[11]=0,t[12]=r[0],t[13]=r[1],t[14]=r[2],t[15]=1,t}function w(t,n,r,e,a){const o=n[0],i=n[1],s=n[2],u=n[3],c=o+o,h=i+i,l=s+s,f=o*c,M=o*h,m=o*l,d=i*h,p=i*l,b=s*l,g=u*c,y=u*h,v=u*l,I=e[0],_=e[1],x=e[2],j=a[0],w=a[1],S=a[2],A=(1-(d+b))*I,q=(M+v)*I,O=(m-y)*I,P=(M-v)*_,N=(1-(f+b))*_,C=(p+g)*_,T=(m+y)*x,R=(p-g)*x,U=(1-(f+d))*x;return t[0]=A,t[1]=q,t[2]=O,t[3]=0,t[4]=P,t[5]=N,t[6]=C,t[7]=0,t[8]=T,t[9]=R,t[10]=U,t[11]=0,t[12]=r[0]+j-(A*j+P*w+T*S),t[13]=r[1]+w-(q*j+N*w+R*S),t[14]=r[2]+S-(O*j+C*w+U*S),t[15]=1,t}function S(t,n,r,e,a,o,i){const s=1/(r-n),u=1/(a-e),c=1/(o-i);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*u,t[6]=0,t[7]=0,t[8]=(r+n)*s,t[9]=(a+e)*u,t[10]=(i+o)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=i*o*2*c,t[15]=0,t}function A(t,n,r,e,a,o,i){const s=1/(n-r),u=1/(e-a),c=1/(o-i);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(n+r)*s,t[13]=(a+e)*u,t[14]=(i+o)*c,t[15]=1,t}function q(t,n,r,e){const o=n[0],i=n[1],u=n[2];let c=o-r[0],h=i-r[1],l=u-r[2];const f=(0,a.FD)();if(Math.abs(c)<f&&Math.abs(h)<f&&Math.abs(l)<f)return void s(t);let M=1/Math.sqrt(c*c+h*h+l*l);c*=M,h*=M,l*=M;const m=e[0],d=e[1],p=e[2];let b=d*l-p*h,g=p*c-m*l,y=m*h-d*c;M=Math.sqrt(b*b+g*g+y*y),M?(M=1/M,b*=M,g*=M,y*=M):(b=0,g=0,y=0);let v=h*y-l*g,I=l*b-c*y,_=c*g-h*b;M=Math.sqrt(v*v+I*I+_*_),M?(M=1/M,v*=M,I*=M,_*=M):(v=0,I=0,_=0),t[0]=b,t[1]=v,t[2]=c,t[3]=0,t[4]=g,t[5]=I,t[6]=h,t[7]=0,t[8]=y,t[9]=_,t[10]=l,t[11]=0,t[12]=-(b*o+g*i+y*u),t[13]=-(v*o+I*i+_*u),t[14]=-(c*o+h*i+l*u),t[15]=1}function O(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t[9]=n[9]-r[9],t[10]=n[10]-r[10],t[11]=n[11]-r[11],t[12]=n[12]-r[12],t[13]=n[13]-r[13],t[14]=n[14]-r[14],t[15]=n[15]-r[15],t}function P(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]&&t[9]===n[9]&&t[10]===n[10]&&t[11]===n[11]&&t[12]===n[12]&&t[13]===n[13]&&t[14]===n[14]&&t[15]===n[15]}function N(t,n){if(t===n)return!0;const r=t[0],e=t[1],o=t[2],i=t[3],s=t[4],u=t[5],c=t[6],h=t[7],l=t[8],f=t[9],M=t[10],m=t[11],d=t[12],p=t[13],b=t[14],g=t[15],y=n[0],v=n[1],I=n[2],_=n[3],x=n[4],j=n[5],w=n[6],S=n[7],A=n[8],q=n[9],O=n[10],P=n[11],N=n[12],C=n[13],T=n[14],R=n[15],U=(0,a.FD)();return Math.abs(r-y)<=U*Math.max(1,Math.abs(r),Math.abs(y))&&Math.abs(e-v)<=U*Math.max(1,Math.abs(e),Math.abs(v))&&Math.abs(o-I)<=U*Math.max(1,Math.abs(o),Math.abs(I))&&Math.abs(i-_)<=U*Math.max(1,Math.abs(i),Math.abs(_))&&Math.abs(s-x)<=U*Math.max(1,Math.abs(s),Math.abs(x))&&Math.abs(u-j)<=U*Math.max(1,Math.abs(u),Math.abs(j))&&Math.abs(c-w)<=U*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(h-S)<=U*Math.max(1,Math.abs(h),Math.abs(S))&&Math.abs(l-A)<=U*Math.max(1,Math.abs(l),Math.abs(A))&&Math.abs(f-q)<=U*Math.max(1,Math.abs(f),Math.abs(q))&&Math.abs(M-O)<=U*Math.max(1,Math.abs(M),Math.abs(O))&&Math.abs(m-P)<=U*Math.max(1,Math.abs(m),Math.abs(P))&&Math.abs(d-N)<=U*Math.max(1,Math.abs(d),Math.abs(N))&&Math.abs(p-C)<=U*Math.max(1,Math.abs(p),Math.abs(C))&&Math.abs(b-T)<=U*Math.max(1,Math.abs(b),Math.abs(T))&&Math.abs(g-R)<=U*Math.max(1,Math.abs(g),Math.abs(R))}function C(t){const n=(0,a.FD)(),r=t[0],e=t[1],o=t[2],i=t[4],s=t[5],u=t[6],c=t[8],h=t[9],l=t[10];return Math.abs(1-(r*r+i*i+c*c))<=n&&Math.abs(1-(e*e+s*s+h*h))<=n&&Math.abs(1-(o*o+u*u+l*l))<=n}function T(t){return 1===t[0]&&0===t[1]&&0===t[2]&&0===t[4]&&1===t[5]&&0===t[6]&&0===t[8]&&0===t[9]&&1===t[10]}const R=h,U=O;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t[9]=n[9]+r[9],t[10]=n[10]+r[10],t[11]=n[11]+r[11],t[12]=n[12]+r[12],t[13]=n[13]+r[13],t[14]=n[14]+r[14],t[15]=n[15]+r[15],t},adjoint:function(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],i=n[4],s=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],M=n[11],m=n[12],d=n[13],p=n[14],b=n[15];return t[0]=s*(f*b-M*p)-l*(u*b-c*p)+d*(u*M-c*f),t[1]=-(e*(f*b-M*p)-l*(a*b-o*p)+d*(a*M-o*f)),t[2]=e*(u*b-c*p)-s*(a*b-o*p)+d*(a*c-o*u),t[3]=-(e*(u*M-c*f)-s*(a*M-o*f)+l*(a*c-o*u)),t[4]=-(i*(f*b-M*p)-h*(u*b-c*p)+m*(u*M-c*f)),t[5]=r*(f*b-M*p)-h*(a*b-o*p)+m*(a*M-o*f),t[6]=-(r*(u*b-c*p)-i*(a*b-o*p)+m*(a*c-o*u)),t[7]=r*(u*M-c*f)-i*(a*M-o*f)+h*(a*c-o*u),t[8]=i*(l*b-M*d)-h*(s*b-c*d)+m*(s*M-c*l),t[9]=-(r*(l*b-M*d)-h*(e*b-o*d)+m*(e*M-o*l)),t[10]=r*(s*b-c*d)-i*(e*b-o*d)+m*(e*c-o*s),t[11]=-(r*(s*M-c*l)-i*(e*M-o*l)+h*(e*c-o*s)),t[12]=-(i*(l*p-f*d)-h*(s*p-u*d)+m*(s*f-u*l)),t[13]=r*(l*p-f*d)-h*(e*p-a*d)+m*(e*f-a*l),t[14]=-(r*(s*p-u*d)-i*(e*p-a*d)+m*(e*u-a*s)),t[15]=r*(s*f-u*l)-i*(e*f-a*l)+h*(e*u-a*s),t},copy:o,determinant:function(t){const n=t[0],r=t[1],e=t[2],a=t[3],o=t[4],i=t[5],s=t[6],u=t[7],c=t[8],h=t[9],l=t[10],f=t[11],M=t[12],m=t[13],d=t[14],p=t[15];return(n*i-r*o)*(l*p-f*d)-(n*s-e*o)*(h*p-f*m)+(n*u-a*o)*(h*d-l*m)+(r*s-e*i)*(c*p-f*M)-(r*u-a*i)*(c*d-l*M)+(e*u-a*s)*(c*m-h*M)},equals:N,exactEquals:P,frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2+t[9]**2+t[10]**2+t[11]**2+t[12]**2+t[13]**2+t[14]**2+t[15]**2)},fromQuat:function(t,n){const r=n[0],e=n[1],a=n[2],o=n[3],i=r+r,s=e+e,u=a+a,c=r*i,h=e*i,l=e*s,f=a*i,M=a*s,m=a*u,d=o*i,p=o*s,b=o*u;return t[0]=1-l-m,t[1]=h+b,t[2]=f-p,t[3]=0,t[4]=h-b,t[5]=1-c-m,t[6]=M+d,t[7]=0,t[8]=f+p,t[9]=M-d,t[10]=1-c-l,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromQuat2:function(t,n){const r=v,e=-n[0],a=-n[1],o=-n[2],i=n[3],s=n[4],u=n[5],c=n[6],h=n[7],l=e*e+a*a+o*o+i*i;return l>0?(r[0]=2*(s*i+h*e+u*o-c*a)/l,r[1]=2*(u*i+h*a+c*e-s*o)/l,r[2]=2*(c*i+h*o+s*a-u*e)/l):(r[0]=2*(s*i+h*e+u*o-c*a),r[1]=2*(u*i+h*a+c*e-s*o),r[2]=2*(c*i+h*o+s*a-u*e)),y(t,n,r),t},fromRotation:p,fromRotationTranslation:y,fromRotationTranslationScale:j,fromRotationTranslationScaleOrigin:w,fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromTranslation:d,fromXRotation:b,fromYRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=0,t[2]=-r,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=r,t[9]=0,t[10]=e,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},fromZRotation:g,frustum:S,getRotation:x,getScale:_,getTranslation:I,hasIdentityRotation:T,identity:s,invert:c,invertOrIdentity:function(t,n){return c(t,n)||s(t),t},isOrthoNormal:C,lookAt:q,mul:R,multiply:h,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t[9]=n[9]*r,t[10]=n[10]*r,t[11]=n[11]*r,t[12]=n[12]*r,t[13]=n[13]*r,t[14]=n[14]*r,t[15]=n[15]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t[9]=n[9]+r[9]*e,t[10]=n[10]+r[10]*e,t[11]=n[11]+r[11]*e,t[12]=n[12]+r[12]*e,t[13]=n[13]+r[13]*e,t[14]=n[14]+r[14]*e,t[15]=n[15]+r[15]*e,t},ortho:A,perspective:function(t,n,r,e,a){const o=1/Math.tan(n/2);let i;return t[0]=o/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=a&&a!==1/0?(i=1/(e-a),t[10]=(a+e)*i,t[14]=2*a*e*i):(t[10]=-1,t[14]=-2*e),t},perspectiveFromFieldOfView:function(t,n,r,e){const a=Math.tan(n.upDegrees*Math.PI/180),o=Math.tan(n.downDegrees*Math.PI/180),i=Math.tan(n.leftDegrees*Math.PI/180),s=Math.tan(n.rightDegrees*Math.PI/180),u=2/(i+s),c=2/(a+o);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(i-s)*u*.5,t[9]=(a-o)*c*.5,t[10]=e/(r-e),t[11]=-1,t[12]=0,t[13]=0,t[14]=e*r/(r-e),t[15]=0,t},rotate:M,rotateX:m,rotateY:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[0],i=n[1],s=n[2],u=n[3],c=n[8],h=n[9],l=n[10],f=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a-c*e,t[1]=i*a-h*e,t[2]=s*a-l*e,t[3]=u*a-f*e,t[8]=o*e+c*a,t[9]=i*e+h*a,t[10]=s*e+l*a,t[11]=u*e+f*a,t},rotateZ:function(t,n,r){const e=Math.sin(r),a=Math.cos(r),o=n[0],i=n[1],s=n[2],u=n[3],c=n[4],h=n[5],l=n[6],f=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=o*a+c*e,t[1]=i*a+h*e,t[2]=s*a+l*e,t[3]=u*a+f*e,t[4]=c*a-o*e,t[5]=h*a-i*e,t[6]=l*a-s*e,t[7]=f*a-u*e,t},scale:f,set:i,str:function(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"},sub:U,subtract:O,targetTo:function(t,n,r,e){const a=n[0],o=n[1],i=n[2],s=e[0],u=e[1],c=e[2];let h=a-r[0],l=o-r[1],f=i-r[2],M=h*h+l*l+f*f;M>0&&(M=1/Math.sqrt(M),h*=M,l*=M,f*=M);let m=u*f-c*l,d=c*h-s*f,p=s*l-u*h;return M=m*m+d*d+p*p,M>0&&(M=1/Math.sqrt(M),m*=M,d*=M,p*=M),t[0]=m,t[1]=d,t[2]=p,t[3]=0,t[4]=l*p-f*d,t[5]=f*m-h*p,t[6]=h*d-l*m,t[7]=0,t[8]=h,t[9]=l,t[10]=f,t[11]=0,t[12]=a,t[13]=o,t[14]=i,t[15]=1,t},translate:l,transpose:u},Symbol.toStringTag,{value:"Module"}))},35522(t,n,r){r.d(n,{$A:()=>w,Bw:()=>o,C:()=>i,Cc:()=>S,DI:()=>_,Il:()=>$,Io:()=>g,Ln:()=>b,Om:()=>j,Qr:()=>l,Re:()=>c,S8:()=>x,T9:()=>d,WQ:()=>u,Z0:()=>A,_S:()=>M,aI:()=>U,ei:()=>q,fw:()=>P,g7:()=>N,gL:()=>O,hG:()=>y,hZ:()=>s,hs:()=>p,jb:()=>D,jk:()=>m,lo:()=>E,lw:()=>h,m3:()=>v,oW:()=>z,t2:()=>R,tn:()=>f,uE:()=>Y,xg:()=>Z,ze:()=>I});var e=r(51850),a=r(34304);function o(t){const n=t[0],r=t[1],e=t[2];return Math.sqrt(n*n+r*r+e*e)}function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t}function s(t,n,r,e){return t[0]=n,t[1]=r,t[2]=e,t}function u(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t}function c(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t}function h(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t}function l(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t}function f(t,n){return t[0]=Math.abs(n[0]),t[1]=Math.abs(n[1]),t[2]=Math.abs(n[2]),t}function M(t,n){return t[0]=Math.sign(n[0]),t[1]=Math.sign(n[1]),t[2]=Math.sign(n[2]),t}function m(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t}function d(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t}function p(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t}function b(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t}function g(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return Math.sqrt(r*r+e*e+a*a)}function y(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2];return r*r+e*e+a*a}function v(t){const n=t[0],r=t[1],e=t[2];return n*n+r*r+e*e}function I(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t}function _(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t}function x(t,n){const r=n[0],e=n[1],a=n[2];let o=r*r+e*e+a*a;return o>0&&(o=1/Math.sqrt(o),t[0]=n[0]*o,t[1]=n[1]*o,t[2]=n[2]*o),t}function j(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function w(t,n,r){const e=n[0],a=n[1],o=n[2],i=r[0],s=r[1],u=r[2];return t[0]=a*u-o*s,t[1]=o*i-e*u,t[2]=e*s-a*i,t}function S(t,n,r,e){const a=n[0],o=n[1],i=n[2];return t[0]=a+e*(r[0]-a),t[1]=o+e*(r[1]-o),t[2]=i+e*(r[2]-i),t}function A(t,n,r){const e=n[0],a=n[1],o=n[2];return t[0]=r[0]*e+r[4]*a+r[8]*o+r[12],t[1]=r[1]*e+r[5]*a+r[9]*o+r[13],t[2]=r[2]*e+r[6]*a+r[10]*o+r[14],t}function q(t,n,r){const e=n[0],a=n[1],o=n[2];return t[0]=e*r[0]+a*r[3]+o*r[6],t[1]=e*r[1]+a*r[4]+o*r[7],t[2]=e*r[2]+a*r[5]+o*r[8],t}function O(t,n,r){return P(t,n,r[0],r[1],r[2],r[3])}function P(t,n,r,e,a,o){const i=n[0],s=n[1],u=n[2],c=e*u-a*s,h=a*i-r*u,l=r*s-e*i,f=e*l-a*h,M=a*c-r*l,m=r*h-e*c,d=2*o;return t[0]=i+c*d+2*f,t[1]=s+h*d+2*M,t[2]=u+l*d+2*m,t}function N(t,n){x(C,t),x(T,n);const r=j(C,T);return r>1?0:r<-1?Math.PI:Math.acos(r)}const C=(0,e.vt)(),T=(0,e.vt)();function R(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]}function U(t,n){if(t===n)return!0;const r=t[0],e=t[1],o=t[2],i=n[0],s=n[1],u=n[2],c=(0,a.FD)();return Math.abs(r-i)<=c*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(e-s)<=c*Math.max(1,Math.abs(e),Math.abs(s))&&Math.abs(o-u)<=c*Math.max(1,Math.abs(o),Math.abs(u))}function z(t,n,r){const e=r[0]-n[0],a=r[1]-n[1],o=r[2]-n[2];let i=e*e+a*a+o*o;return i>0?(i=1/Math.sqrt(i),t[0]=e*i,t[1]=a*i,t[2]=o*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const D=c,F=h,V=l,Z=g,E=y,$=o,Y=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:N,bezier:function(t,n,r,e,a,o){const i=1-o,s=i*i,u=o*o,c=s*i,h=3*o*s,l=3*u*i,f=u*o;return t[0]=n[0]*c+r[0]*h+e[0]*l+a[0]*f,t[1]=n[1]*c+r[1]*h+e[1]*l+a[1]*f,t[2]=n[2]*c+r[2]*h+e[2]*l+a[2]*f,t},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t},clamp:function(t,n=0,r=1){return t[0]=Math.min(Math.max(t[0],n),r),t[1]=Math.min(Math.max(t[1],n),r),t[2]=Math.min(Math.max(t[2],n),r),t},copy:i,cross:w,crossAndNormalize:function(t,n,r){const e=n[0],a=n[1],o=n[2],i=r[0],s=r[1],u=r[2],c=a*u-o*s,h=o*i-e*u,l=e*s-a*i,f=Math.sqrt(c*c+h*h+l*l);return t[0]=c/f,t[1]=h/f,t[2]=l/f,t},direction:z,dist:Z,distance:g,div:V,divide:l,dot:j,equals:U,exactEquals:R,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t},hermite:function(t,n,r,e,a,o){const i=o*o,s=i*(2*o-3)+1,u=i*(o-2)+o,c=i*(o-1),h=i*(3-2*o);return t[0]=n[0]*s+r[0]*u+e[0]*c+a[0]*h,t[1]=n[1]*s+r[1]*u+e[1]*c+a[1]*h,t[2]=n[2]*s+r[2]*u+e[2]*c+a[2]*h,t},inverse:_,len:$,length:o,lerp:S,max:d,min:m,mul:F,multiply:h,negate:I,normalize:x,random:function(t,n=1){const r=a.Ov,e=2*r()*Math.PI,o=2*r()-1,i=Math.sqrt(1-o*o)*n;return t[0]=Math.cos(e)*i,t[1]=Math.sin(e)*i,t[2]=o*n,t},rotateX:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[0],o[1]=a[1]*Math.cos(e)-a[2]*Math.sin(e),o[2]=a[1]*Math.sin(e)+a[2]*Math.cos(e),t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},rotateY:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[2]*Math.sin(e)+a[0]*Math.cos(e),o[1]=a[1],o[2]=a[2]*Math.cos(e)-a[0]*Math.sin(e),t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},rotateZ:function(t,n,r,e){const a=[],o=[];return a[0]=n[0]-r[0],a[1]=n[1]-r[1],a[2]=n[2]-r[2],o[0]=a[0]*Math.cos(e)-a[1]*Math.sin(e),o[1]=a[0]*Math.sin(e)+a[1]*Math.cos(e),o[2]=a[2],t[0]=o[0]+r[0],t[1]=o[1]+r[1],t[2]=o[2]+r[2],t},round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t},scale:p,scaleAndAdd:b,set:s,sign:M,sqrDist:E,sqrLen:Y,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:D,subtract:c,transformMat3:q,transformMat4:A,transformQuat:O,transformQuatValues:P},Symbol.toStringTag,{value:"Module"}))},78955(t,n,r){r.d(n,{Bw:()=>p,C:()=>a,Cc:()=>v,LI:()=>f,Om:()=>y,S8:()=>g,T9:()=>l,WQ:()=>i,Z0:()=>I,aI:()=>x,hG:()=>d,hZ:()=>o,hs:()=>M,jk:()=>h,m3:()=>b,t2:()=>_});var e=r(34304);function a(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t}function o(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=e,t[3]=a,t}function i(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t}function s(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t}function u(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t[2]=n[2]*r[2],t[3]=n[3]*r[3],t}function c(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t[2]=n[2]/r[2],t[3]=n[3]/r[3],t}function h(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t[2]=Math.min(n[2],r[2]),t[3]=Math.min(n[3],r[3]),t}function l(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t[2]=Math.max(n[2],r[2]),t[3]=Math.max(n[3],r[3]),t}function f(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t[2]=Math.round(n[2]),t[3]=Math.round(n[3]),t}function M(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t}function m(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return Math.sqrt(r*r+e*e+a*a+o*o)}function d(t,n){const r=n[0]-t[0],e=n[1]-t[1],a=n[2]-t[2],o=n[3]-t[3];return r*r+e*e+a*a+o*o}function p(t){const n=t[0],r=t[1],e=t[2],a=t[3];return Math.sqrt(n*n+r*r+e*e+a*a)}function b(t){const n=t[0],r=t[1],e=t[2],a=t[3];return n*n+r*r+e*e+a*a}function g(t,n){const r=n[0],e=n[1],a=n[2],o=n[3];let i=r*r+e*e+a*a+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=r*i,t[1]=e*i,t[2]=a*i,t[3]=o*i),t}function y(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function v(t,n,r,e){const a=n[0],o=n[1],i=n[2],s=n[3];return t[0]=a+e*(r[0]-a),t[1]=o+e*(r[1]-o),t[2]=i+e*(r[2]-i),t[3]=s+e*(r[3]-s),t}function I(t,n,r){const e=n[0],a=n[1],o=n[2],i=n[3];return t[0]=r[0]*e+r[4]*a+r[8]*o+r[12]*i,t[1]=r[1]*e+r[5]*a+r[9]*o+r[13]*i,t[2]=r[2]*e+r[6]*a+r[10]*o+r[14]*i,t[3]=r[3]*e+r[7]*a+r[11]*o+r[15]*i,t}function _(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]}function x(t,n){const r=t[0],a=t[1],o=t[2],i=t[3],s=n[0],u=n[1],c=n[2],h=n[3],l=(0,e.FD)();return Math.abs(r-s)<=l*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(a-u)<=l*Math.max(1,Math.abs(a),Math.abs(u))&&Math.abs(o-c)<=l*Math.max(1,Math.abs(o),Math.abs(c))&&Math.abs(i-h)<=l*Math.max(1,Math.abs(i),Math.abs(h))}const j=s,w=u,S=c,A=m,q=d,O=p,P=b;Object.freeze(Object.defineProperty({__proto__:null,add:i,ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t[2]=Math.ceil(n[2]),t[3]=Math.ceil(n[3]),t},copy:a,copyVec3:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t},dist:A,distance:m,div:S,divide:c,dot:y,equals:x,exactEquals:_,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t[2]=Math.floor(n[2]),t[3]=Math.floor(n[3]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t[2]=1/n[2],t[3]=1/n[3],t},len:O,length:p,lerp:v,max:l,min:h,mul:w,multiply:u,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t[2]=-n[2],t[3]=-n[3],t},normalize:g,random:function(t,n=1){const r=e.Ov;let a,o,i,s,u,c;do{a=2*r()-1,o=2*r()-1,u=a*a+o*o}while(u>=1);do{i=2*r()-1,s=2*r()-1,c=i*i+s*s}while(c>=1);const h=Math.sqrt((1-u)/c);return t[0]=n*a,t[1]=n*o,t[2]=n*i*h,t[3]=n*s*h,t},round:f,scale:M,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t},set:o,sqrDist:q,sqrLen:P,squaredDistance:d,squaredLength:b,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:j,subtract:s,transformMat4:I,transformQuat:function(t,n,r){const e=n[0],a=n[1],o=n[2],i=r[0],s=r[1],u=r[2],c=r[3],h=c*e+s*o-u*a,l=c*a+u*e-i*o,f=c*o+i*a-s*e,M=-i*e-s*a-u*o;return t[0]=h*c+M*-i+l*-u-f*-s,t[1]=l*c+M*-s+f*-i-h*-u,t[2]=f*c+M*-u+h*-s-l*-i,t[3]=n[3],t}},Symbol.toStringTag,{value:"Module"}))},76553(t,n,r){function e(t){return t&&"getAtOrigin"in t&&"originOf"in t}r.d(n,{H:()=>e})},13069(t,n,r){r.d(n,{AG:()=>s,lk:()=>a,vD:()=>i,yS:()=>o});const e="randomUUID"in crypto;function a(){if(e)return crypto.randomUUID();const t=crypto.getRandomValues(new Uint16Array(8));t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const n=n=>t[n].toString(16).padStart(4,"0");return n(0)+n(1)+"-"+n(2)+"-"+n(3)+"-"+n(4)+"-"+n(5)+n(6)+n(7)}function o(){return`{${a().toUpperCase()}}`}function i(){return`{${a()}}`}function s(t){const n=t.toUpperCase();return t.startsWith("{")?n:`{${n}}`}},4197(t,n,r){r.d(n,{Vj:()=>u,cj:()=>s,jh:()=>o,l5:()=>i});var e=r(34275),a=r(9093);function o(t){return t<=e.y9?new Array(t).fill(0):new Float64Array(t)}function i(t,n,r){return Array.isArray(t)?t.slice(n,n+r):t.subarray(n,n+r)}function s(t){return[...t]}function u(t){const n=(0,a.vt)();for(let r=0;r<16;++r)n[r]=t[r];return n}},70328(t,n,r){r.d(n,{BI:()=>y,DC:()=>l,Ej:()=>M,Ie:()=>b,Jt:()=>g,Ne:()=>m,RF:()=>h,aI:()=>I,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>_,vI:()=>d,vY:()=>s,v_:()=>x,vt:()=>o,w1:()=>c}),r(35522);var e=r(5443),a=(r(19419),r(4197));function o(t=x){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,n,r,e,a,i,s=o()){return s[0]=t,s[1]=n,s[2]=r,s[3]=e,s[4]=a,s[5]=i,s}function s(t,n=o()){return function(t,n,r,e=o()){return p(e,_),function(t,n,r=0,e=n.length/3){let a=t[0],o=t[1],i=t[2],s=t[3],u=t[4],c=t[5];for(let t=0;t<e;t++)a=Math.min(a,n[r+3*t]),o=Math.min(o,n[r+3*t+1]),i=Math.min(i,n[r+3*t+2]),s=Math.max(s,n[r+3*t]),u=Math.max(u,n[r+3*t+1]),c=Math.max(c,n[r+3*t+2]);t[0]=a,t[1]=o,t[2]=i,t[3]=s,t[4]=u,t[5]=c}(e,t,n,r),e}(t,0,t.length/3,n)}function u(t,n=(0,a.jh)(24)){const[r,e,o,i,s,u]=t;return n[0]=r,n[1]=e,n[2]=o,n[3]=r,n[4]=e,n[5]=u,n[6]=r,n[7]=s,n[8]=o,n[9]=r,n[10]=s,n[11]=u,n[12]=i,n[13]=e,n[14]=o,n[15]=i,n[16]=e,n[17]=u,n[18]=i,n[19]=s,n[20]=o,n[21]=i,n[22]=s,n[23]=u,n}function c(t,n){const r=isFinite(t[2])||isFinite(t[5]);return new e.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:n}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:n})}function h(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[3]),t[4]=Math.max(t[4],n[4]),t[5]=Math.max(t[5],n[5])}function l(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[3]=Math.max(t[3],n[2]),t[4]=Math.max(t[4],n[3])}function f(t,n){t[0]=Math.min(t[0],n[0]),t[1]=Math.min(t[1],n[1]),t[2]=Math.min(t[2],n[2]),t[3]=Math.max(t[3],n[0]),t[4]=Math.max(t[4],n[1]),t[5]=Math.max(t[5],n[2])}function M(t,n=[0,0,0]){return n[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),n[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),n[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),n}function m(t,n,r=t){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function d(t,n,r=t){return r[3]=n[0],r[4]=n[1],r[5]=n[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function p(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function b(t){return t?p(t,_):o(_)}function g(t,n){return t[0]=n[0],t[1]=n[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=n[2],t[4]=n[3],t[5]=Number.POSITIVE_INFINITY,t}function y(t,n,r,e,a){return t[0]=n,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=e,t[4]=a,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function I(t,n,r){if(null==t||null==n)return t===n;if(!v(t)||!v(n))return!1;if(r){for(let e=0;e<t.length;e++)if(!r(t[e],n[e]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}const _=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];o()},71351(t,n,r){r.d(n,{C:()=>h,Cr:()=>l,LV:()=>c,fA:()=>f,oC:()=>M,vt:()=>s}),r(4576);var e=r(4341),a=(r(77690),r(29242)),o=r(35522),i=r(51850);function s(t){return t?u((0,i.o8)(t.origin),(0,i.o8)(t.direction)):u((0,i.vt)(),(0,i.vt)())}function u(t,n){return{origin:t,direction:n}}function c(t,n){const r=m.get();return r.origin=t,r.direction=n,r}function h(t,n=s()){return f(t.origin,t.direction,n)}function l(t,n,r=s()){return(0,o.C)(r.origin,t),(0,o.Re)(r.direction,n,t),r}function f(t,n,r=s()){return(0,o.C)(r.origin,t),(0,o.C)(r.direction,n),r}function M(t,n,r){const e=(0,o.Om)(t.direction,(0,o.Re)(r,n,t.origin));return(0,o.WQ)(r,t.origin,(0,o.hs)(r,t.direction,e)),r}r(32114);const m=new e.I(()=>s());(0,i.vt)(),(0,i.vt)(),(0,i.vt)(),(0,a.vt)()},32114(t,n,r){r.d(n,{Rc:()=>M,J8:()=>m,rq:()=>l,Km:()=>f}),r(44208);var e=r(26390),a=r(29242),o=r(9093),i=r(82534),s=r(48163),u=r(51850),c=r(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,e.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(s.vt)}static createVec3f64(){return new h(u.vt)}static createVec4f64(){return new h(c.vt)}static createMat3f64(){return new h(a.vt)}static createMat4f64(){return new h(o.vt)}static createQuatf64(){return new h(i.vt)}get test(){}}h.createVec2f64();const l=h.createVec3f64(),f=h.createVec4f64(),M=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},85648(t,n,r){r.d(n,{n:()=>a});var e=r(84952);function a(t){return o[function(t){return"json"===t.type?"application/json":"blob"===t.type?t.blob.type:function(t){const n=(0,e.Zo)(t);return u[n]||i}(t.url)}(t)]||s}const o={},i="text/plain",s=o[i],u={png:"image/png",jpeg:"image/jpeg",jpg:"image/jpg",bmp:"image/bmp",gif:"image/gif",json:"application/json",txt:"text/plain",xml:"application/xml",svg:"image/svg+xml",zip:"application/zip",pbf:"application/vnd.mapbox-vector-tile",gz:"application/gzip","bin.gz":"application/octet-stream"};for(const t in u)o[u[t]]=t},49718(t,n,r){r(51850),r(6867).i},6867(t,n,r){r.d(n,{i:()=>h});var e=r(58083),a=r(9093),o=r(35522),i=r(51850),s=r(78955),u=r(91829),c=r(71351);class h{get ray(){return this._ray}get distanceInRenderSpace(){return null==this.distance?null:((0,o.hs)(f,this.ray.direction,this.distance),(0,o.Bw)(f))}withinDistance(t){return!!l(this)&&this.distanceInRenderSpace<=t}getIntersectionPoint(t){return!!l(this)&&((0,o.hs)(f,this.ray.direction,this.distance),(0,o.WQ)(t,this.ray.origin,f),!0)}getTransformedNormal(t){return(0,o.C)(M,this.normal),M[3]=0,(0,s.Z0)(M,M,this.transformation),(0,o.C)(t,M),(0,o.S8)(t,t)}constructor(t){this.intersector=4,this.normal=(0,i.vt)(),this.transformation=(0,a.vt)(),this._ray=(0,c.vt)(),this.init(t)}init(t){this.distance=this.target=this.drapedLayerOrder=this.renderPriority=null,this.intersector=4,(0,c.C)(t,this._ray)}set(t,n,r,s,u,c,h){this.intersector=t,this.distance=r,(0,o.C)(this.normal,s??i.Cb),(0,e.C)(this.transformation,u??a.zK),this.target=n,this.drapedLayerOrder=c,this.renderPriority=h}copy(t){(0,c.C)(t.ray,this._ray),this.intersector=t.intersector,this.distance=t.distance,this.target=t.target,this.drapedLayerOrder=t.drapedLayerOrder,this.renderPriority=t.renderPriority,(0,o.C)(this.normal,t.normal),(0,e.C)(this.transformation,t.transformation)}}function l(t){return null!=t?.distance}const f=(0,i.vt)(),M=(0,u.vt)()},78553(t,n,r){r.d(n,{D:()=>o,p:()=>a});var e=r(56507);function a(t){const n=(0,e.Vr)(100*(1-t));return Math.max(0,Math.min(n,100))}function o(t){const n=1-t/100;return Math.max(0,Math.min(n,1))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2343],{2343(r,e,t){async function n(r={}){var e,t=r,n="./this.program",o="";try{o=new URL(".","").href}catch{}e=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var a,i,s,l,u,d,c,f,h,m,p,v,w,g,y=console.log.bind(console),E=console.error.bind(console),k=!1,_=!1;function b(){var r=qr.buffer;l=new Int8Array(r),d=new Int16Array(r),t.HEAPU8=u=new Uint8Array(r),c=new Uint16Array(r),f=new Int32Array(r),t.HEAPU32=h=new Uint32Array(r),m=new Float32Array(r),t.HEAPF64=p=new Float64Array(r),v=new BigInt64Array(r),w=new BigUint64Array(r)}function F(r){t.onAbort?.(r),E(r="Aborted("+r+")"),k=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw s?.(e),e}async function D(r){if(!a)try{var t=await e(r);return new Uint8Array(t)}catch{}return function(r){if(r==g&&a)return new Uint8Array(a);throw"both async and sync fetching of the wasm failed"}(r)}class T{name="ExitStatus";constructor(r){this.message=`Program terminated with exit(${r})`,this.status=r}}var S=r=>{for(;r.length>0;)r.shift()(t)},A=[],P=r=>A.push(r),C=[],x=r=>C.push(r),R=!0,M=r=>Hr(r),N=()=>Vr();class z{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){h[this.ptr+4>>2]=r}get_type(){return h[this.ptr+4>>2]}set_destructor(r){h[this.ptr+8>>2]=r}get_destructor(){return h[this.ptr+8>>2]}set_caught(r){r=r?1:0,l[this.ptr+12]=r}get_caught(){return 0!=l[this.ptr+12]}set_rethrown(r){r=r?1:0,l[this.ptr+13]=r}get_rethrown(){return 0!=l[this.ptr+13]}init(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)}set_adjusted_ptr(r){h[this.ptr+16>>2]=r}get_adjusted_ptr(){return h[this.ptr+16>>2]}}var B=()=>{var r=f[+ur.varargs>>2];return ur.varargs+=4,r},I=B,W={isAbs:r=>"/"===r.charAt(0),splitPath:r=>/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(r).slice(1),normalizeArray:(r,e)=>{for(var t=0,n=r.length-1;n>=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t;t--)r.unshift("..");return r},normalize:r=>{var e=W.isAbs(r),t="/"===r.slice(-1);return(r=W.normalizeArray(r.split("/").filter(r=>!!r),!e).join("/"))||e||(r="."),r&&t&&(r+="/"),(e?"/":"")+r},dirname:r=>{var e=W.splitPath(r),t=e[0],n=e[1];return t||n?(n&&(n=n.slice(0,-1)),t+n):"."},basename:r=>r&&r.match(/([^\/]+|\/)\/*$/)[1],join:(...r)=>W.normalize(r.join("/")),join2:(r,e)=>W.normalize(r+"/"+e)},$=r=>{($=r=>crypto.getRandomValues(r))(r)},j={resolve:(...r)=>{for(var e="",t=!1,n=r.length-1;n>=-1&&!t;n--){var o=n>=0?r[n]:sr.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");if(!o)return"";e=o+"/"+e,t=W.isAbs(o)}return(t?"/":"")+(e=W.normalizeArray(e.split("/").filter(r=>!!r),!t).join("/"))||"."},relative:(r,e)=>{function t(r){for(var e=0;e<r.length&&""===r[e];e++);for(var t=r.length-1;t>=0&&""===r[t];t--);return e>t?[]:r.slice(e,t-e+1)}r=j.resolve(r).slice(1),e=j.resolve(e).slice(1);for(var n=t(r.split("/")),o=t(e.split("/")),a=Math.min(n.length,o.length),i=a,s=0;s<a;s++)if(n[s]!==o[s]){i=s;break}var l=[];for(s=i;s<n.length;s++)l.push("..");return(l=l.concat(o.slice(i))).join("/")}},O=globalThis.TextDecoder&&new TextDecoder,L=(r,e,t,n)=>{var o=e+t;if(n)return o;for(;r[e]&&!(e>=o);)++e;return e},U=(r,e=0,t,n)=>{var o=L(r,e,t,n);if(o-e>16&&r.buffer&&O)return O.decode(r.subarray(e,o));for(var a="";e<o;){var i=r[e++];if(128&i){var s=63&r[e++];if(192!=(224&i)){var l=63&r[e++];if((i=224==(240&i)?(15&i)<<12|s<<6|l:(7&i)<<18|s<<12|l<<6|63&r[e++])<65536)a+=String.fromCharCode(i);else{var u=i-65536;a+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a},H=[],V=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e},q=(r,e,t,n)=>{if(!(n>0))return 0;for(var o=t,a=t+n-1,i=0;i<r.length;++i){var s=r.codePointAt(i);if(s<=127){if(t>=a)break;e[t++]=s}else if(s<=2047){if(t+1>=a)break;e[t++]=192|s>>6,e[t++]=128|63&s}else if(s<=65535){if(t+2>=a)break;e[t++]=224|s>>12,e[t++]=128|s>>6&63,e[t++]=128|63&s}else{if(t+3>=a)break;e[t++]=240|s>>18,e[t++]=128|s>>12&63,e[t++]=128|s>>6&63,e[t++]=128|63&s,i++}}return e[t]=0,t-o},X=(r,e,t)=>{var n=V(r)+1,o=new Array(n),a=q(r,o,0,o.length);return o.length=a,o},G={ttys:[],init(){},shutdown(){},register(r,e){G.ttys[r]={input:[],output:[],ops:e},sr.registerDevice(r,G.stream_ops)},stream_ops:{open(r){var e=G.ttys[r.node.rdev];if(!e)throw new sr.ErrnoError(43);r.tty=e,r.seekable=!1},close(r){r.tty.ops.fsync(r.tty)},fsync(r){r.tty.ops.fsync(r.tty)},read(r,e,t,n,o){if(!r.tty||!r.tty.ops.get_char)throw new sr.ErrnoError(60);for(var a=0,i=0;i<n;i++){var s;try{s=r.tty.ops.get_char(r.tty)}catch(r){throw new sr.ErrnoError(29)}if(void 0===s&&0===a)throw new sr.ErrnoError(6);if(null==s)break;a++,e[t+i]=s}return a&&(r.node.atime=Date.now()),a},write(r,e,t,n,o){if(!r.tty||!r.tty.ops.put_char)throw new sr.ErrnoError(60);try{for(var a=0;a<n;a++)r.tty.ops.put_char(r.tty,e[t+a])}catch(r){throw new sr.ErrnoError(29)}return n&&(r.node.mtime=r.node.ctime=Date.now()),a}},default_tty_ops:{get_char:r=>(()=>{if(!H.length){var r=null;if(globalThis.window?.prompt&&null!==(r=window.prompt("Input: "))&&(r+="\n"),!r)return null;H=X(r)}return H.shift()})(),put_char(r,e){null===e||10===e?(y(U(r.output)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output?.length>0&&(y(U(r.output)),r.output=[])},ioctl_tcgets:r=>({c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),ioctl_tcsets:(r,e,t)=>0,ioctl_tiocgwinsz:r=>[24,80]},default_tty1_ops:{put_char(r,e){null===e||10===e?(E(U(r.output)),r.output=[]):0!=e&&r.output.push(e)},fsync(r){r.output?.length>0&&(E(U(r.output)),r.output=[])}}},K=r=>{F()},Y={ops_table:null,mount:r=>Y.createNode(null,"/",16895,0),createNode(r,e,t,n){if(sr.isBlkdev(t)||sr.isFIFO(t))throw new sr.ErrnoError(63);Y.ops_table||={dir:{node:{getattr:Y.node_ops.getattr,setattr:Y.node_ops.setattr,lookup:Y.node_ops.lookup,mknod:Y.node_ops.mknod,rename:Y.node_ops.rename,unlink:Y.node_ops.unlink,rmdir:Y.node_ops.rmdir,readdir:Y.node_ops.readdir,symlink:Y.node_ops.symlink},stream:{llseek:Y.stream_ops.llseek}},file:{node:{getattr:Y.node_ops.getattr,setattr:Y.node_ops.setattr},stream:{llseek:Y.stream_ops.llseek,read:Y.stream_ops.read,write:Y.stream_ops.write,mmap:Y.stream_ops.mmap,msync:Y.stream_ops.msync}},link:{node:{getattr:Y.node_ops.getattr,setattr:Y.node_ops.setattr,readlink:Y.node_ops.readlink},stream:{}},chrdev:{node:{getattr:Y.node_ops.getattr,setattr:Y.node_ops.setattr},stream:sr.chrdev_stream_ops}};var o=sr.createNode(r,e,t,n);return sr.isDir(o.mode)?(o.node_ops=Y.ops_table.dir.node,o.stream_ops=Y.ops_table.dir.stream,o.contents={}):sr.isFile(o.mode)?(o.node_ops=Y.ops_table.file.node,o.stream_ops=Y.ops_table.file.stream,o.usedBytes=0,o.contents=Y.emptyFileContents??=new Uint8Array(0)):sr.isLink(o.mode)?(o.node_ops=Y.ops_table.link.node,o.stream_ops=Y.ops_table.link.stream):sr.isChrdev(o.mode)&&(o.node_ops=Y.ops_table.chrdev.node,o.stream_ops=Y.ops_table.chrdev.stream),o.atime=o.mtime=o.ctime=Date.now(),r&&(r.contents[e]=o,r.atime=r.mtime=r.ctime=o.atime),o},getFileDataAsTypedArray:r=>r.contents.subarray(0,r.usedBytes),expandFileStorage(r,e){var t=r.contents.length;if(!(t>=e)){e=Math.max(e,t*(t<1048576?2:1.125)>>>0),t&&(e=Math.max(e,256));var n=Y.getFileDataAsTypedArray(r);r.contents=new Uint8Array(e),r.contents.set(n)}},resizeFileStorage(r,e){if(r.usedBytes!=e){var t=r.contents;r.contents=new Uint8Array(e),r.contents.set(t.subarray(0,Math.min(e,r.usedBytes))),r.usedBytes=e}},node_ops:{getattr(r){var e={};return e.dev=sr.isChrdev(r.mode)?r.id:1,e.ino=r.id,e.mode=r.mode,e.nlink=1,e.uid=0,e.gid=0,e.rdev=r.rdev,sr.isDir(r.mode)?e.size=4096:sr.isFile(r.mode)?e.size=r.usedBytes:sr.isLink(r.mode)?e.size=r.link.length:e.size=0,e.atime=new Date(r.atime),e.mtime=new Date(r.mtime),e.ctime=new Date(r.ctime),e.blksize=4096,e.blocks=Math.ceil(e.size/e.blksize),e},setattr(r,e){for(const t of["mode","atime","mtime","ctime"])null!=e[t]&&(r[t]=e[t]);void 0!==e.size&&Y.resizeFileStorage(r,e.size)},lookup(r,e){throw Y.doesNotExistError||(Y.doesNotExistError=new sr.ErrnoError(44),Y.doesNotExistError.stack="<generic error, no stack>"),Y.doesNotExistError},mknod:(r,e,t,n)=>Y.createNode(r,e,t,n),rename(r,e,t){var n;try{n=sr.lookupNode(e,t)}catch(r){}if(n){if(sr.isDir(r.mode))for(var o in n.contents)throw new sr.ErrnoError(55);sr.hashRemoveNode(n)}delete r.parent.contents[r.name],e.contents[t]=r,r.name=t,e.ctime=e.mtime=r.parent.ctime=r.parent.mtime=Date.now()},unlink(r,e){delete r.contents[e],r.ctime=r.mtime=Date.now()},rmdir(r,e){var t=sr.lookupNode(r,e);for(var n in t.contents)throw new sr.ErrnoError(55);delete r.contents[e],r.ctime=r.mtime=Date.now()},readdir:r=>[".","..",...Object.keys(r.contents)],symlink(r,e,t){var n=Y.createNode(r,e,41471,0);return n.link=t,n},readlink(r){if(!sr.isLink(r.mode))throw new sr.ErrnoError(28);return r.link}},stream_ops:{read(r,e,t,n,o){var a=r.node.contents;if(o>=r.node.usedBytes)return 0;var i=Math.min(r.node.usedBytes-o,n);return e.set(a.subarray(o,o+i),t),i},write(r,e,t,n,o,a){if(e.buffer===l.buffer&&(a=!1),!n)return 0;var i=r.node;return i.mtime=i.ctime=Date.now(),a?(i.contents=e.subarray(t,t+n),i.usedBytes=n):0===i.usedBytes&&0===o?(i.contents=e.slice(t,t+n),i.usedBytes=n):(Y.expandFileStorage(i,o+n),i.contents.set(e.subarray(t,t+n),o),i.usedBytes=Math.max(i.usedBytes,o+n)),n},llseek(r,e,t){var n=e;if(1===t?n+=r.position:2===t&&sr.isFile(r.node.mode)&&(n+=r.node.usedBytes),n<0)throw new sr.ErrnoError(28);return n},mmap(r,e,t,n,o){if(!sr.isFile(r.node.mode))throw new sr.ErrnoError(43);var a,i,s=r.node.contents;if(2&o||s.buffer!==l.buffer){if(i=!0,!(a=K()))throw new sr.ErrnoError(48);s&&((t>0||t+e<s.length)&&(s=s.subarray?s.subarray(t,t+e):Array.prototype.slice.call(s,t,t+e)),l.set(s,a))}else i=!1,a=s.byteOffset;return{ptr:a,allocated:i}},msync:(r,e,t,n,o)=>(Y.stream_ops.write(r,e,0,n,t,!1),0)}},J=r=>("string"==typeof r&&(r=X(r)),r.subarray||(r=new Uint8Array(r)),r),Q=(r,e)=>{var t=0;return r&&(t|=365),e&&(t|=146),t},Z=async r=>{var t=await e(r);return new Uint8Array(t)},rr=(...r)=>sr.createDataFile(...r),er=0,tr=null,nr=r=>{if(er--,t.monitorRunDependencies?.(er),0==er&&tr){var e=tr;tr=null,e()}},or=r=>{er++,t.monitorRunDependencies?.(er)},ar=[],ir=async(r,e,t,n,o,a,i,s)=>{var l=e?j.resolve(W.join2(r,e)):r;or();try{var u=t;"string"==typeof t&&(u=await Z(t)),u=await(async(r,e)=>{for(var t of("undefined"!=typeof Browser&&Browser.init(),ar))if(t.canHandle(e))return t.handle(r,e);return r})(u,l),s?.(),a||rr(r,e,u,n,o,i)}finally{nr()}},sr={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,filesystems:null,syncFSRequests:0,ErrnoError:class{name="ErrnoError";constructor(r){this.errno=r}},FSStream:class{shared={};get object(){return this.node}set object(r){this.node=r}get isRead(){return 1!=(2097155&this.flags)}get isWrite(){return!!(2097155&this.flags)}get isAppend(){return 1024&this.flags}get flags(){return this.shared.flags}set flags(r){this.shared.flags=r}get position(){return this.shared.position}set position(r){this.shared.position=r}},FSNode:class{node_ops={};stream_ops={};readMode=365;writeMode=146;mounted=null;constructor(r,e,t,n){r||(r=this),this.parent=r,this.mount=r.mount,this.id=sr.nextInode++,this.name=e,this.mode=t,this.rdev=n,this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&this.readMode)===this.readMode}set read(r){r?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(r){r?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return sr.isDir(this.mode)}get isDevice(){return sr.isChrdev(this.mode)}},lookupPath(r,e={}){if(!r)throw new sr.ErrnoError(44);e.follow_mount??=!0,W.isAbs(r)||(r=sr.cwd()+"/"+r);r:for(var t=0;t<40;t++){for(var n=r.split("/").filter(r=>!!r),o=sr.root,a="/",i=0;i<n.length;i++){var s=i===n.length-1;if(s&&e.parent)break;if("."!==n[i])if(".."!==n[i]){a=W.join2(a,n[i]);try{o=sr.lookupNode(o,n[i])}catch(r){if(44===r?.errno&&s&&e.noent_okay)return{path:a};throw r}if(!sr.isMountpoint(o)||s&&!e.follow_mount||(o=o.mounted.root),sr.isLink(o.mode)&&(!s||e.follow)){if(!o.node_ops.readlink)throw new sr.ErrnoError(52);var l=o.node_ops.readlink(o);W.isAbs(l)||(l=W.dirname(a)+"/"+l),r=l+"/"+n.slice(i+1).join("/");continue r}}else{if(a=W.dirname(a),sr.isRoot(o)){r=a+"/"+n.slice(i+1).join("/"),t--;continue r}o=o.parent}}return{path:a,node:o}}throw new sr.ErrnoError(32)},getPath(r){for(var e;;){if(sr.isRoot(r)){var t=r.mount.mountpoint;return e?"/"!==t[t.length-1]?`${t}/${e}`:t+e:t}e=e?`${r.name}/${e}`:r.name,r=r.parent}},hashName(r,e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return(r+t>>>0)%sr.nameTable.length},hashAddNode(r){var e=sr.hashName(r.parent.id,r.name);r.name_next=sr.nameTable[e],sr.nameTable[e]=r},hashRemoveNode(r){var e=sr.hashName(r.parent.id,r.name);if(sr.nameTable[e]===r)sr.nameTable[e]=r.name_next;else for(var t=sr.nameTable[e];t;){if(t.name_next===r){t.name_next=r.name_next;break}t=t.name_next}},lookupNode(r,e){var t=sr.mayLookup(r);if(t)throw new sr.ErrnoError(t);for(var n=sr.hashName(r.id,e),o=sr.nameTable[n];o;o=o.name_next){var a=o.name;if(o.parent.id===r.id&&a===e)return o}return sr.lookup(r,e)},createNode(r,e,t,n){var o=new sr.FSNode(r,e,t,n);return sr.hashAddNode(o),o},destroyNode(r){sr.hashRemoveNode(r)},isRoot:r=>r===r.parent,isMountpoint:r=>!!r.mounted,isFile:r=>32768==(61440&r),isDir:r=>16384==(61440&r),isLink:r=>40960==(61440&r),isChrdev:r=>8192==(61440&r),isBlkdev:r=>24576==(61440&r),isFIFO:r=>4096==(61440&r),isSocket:r=>!(49152&~r),flagsToPermissionString(r){var e=["r","w","rw"][3&r];return 512&r&&(e+="w"),e},nodePermissions:(r,e)=>sr.ignorePermissions||(!e.includes("r")||292&r.mode)&&(!e.includes("w")||146&r.mode)&&(!e.includes("x")||73&r.mode)?0:2,mayLookup:r=>sr.isDir(r.mode)?sr.nodePermissions(r,"x")||(r.node_ops.lookup?0:2):54,mayCreate(r,e){if(!sr.isDir(r.mode))return 54;try{return sr.lookupNode(r,e),20}catch(r){}return sr.nodePermissions(r,"wx")},mayDelete(r,e,t){var n;try{n=sr.lookupNode(r,e)}catch(r){return r.errno}var o=sr.nodePermissions(r,"wx");if(o)return o;if(t){if(!sr.isDir(n.mode))return 54;if(sr.isRoot(n)||sr.getPath(n)===sr.cwd())return 10}else if(sr.isDir(n.mode))return 31;return 0},mayOpen(r,e){if(!r)return 44;if(sr.isLink(r.mode))return 32;var t=sr.flagsToPermissionString(e);return sr.isDir(r.mode)&&("r"!==t||576&e)?31:sr.nodePermissions(r,t)},checkOpExists(r,e){if(!r)throw new sr.ErrnoError(e);return r},MAX_OPEN_FDS:4096,nextfd(){for(var r=0;r<=sr.MAX_OPEN_FDS;r++)if(!sr.streams[r])return r;throw new sr.ErrnoError(33)},getStreamChecked(r){var e=sr.getStream(r);if(!e)throw new sr.ErrnoError(8);return e},getStream:r=>sr.streams[r],createStream:(r,e=-1)=>(r=Object.assign(new sr.FSStream,r),-1==e&&(e=sr.nextfd()),r.fd=e,sr.streams[e]=r,r),closeStream(r){sr.streams[r]=null},dupStream(r,e=-1){var t=sr.createStream(r,e);return t.stream_ops?.dup?.(t),t},doSetAttr(r,e,t){var n=r?.stream_ops.setattr,o=n?r:e;n??=e.node_ops.setattr,sr.checkOpExists(n,63),n(o,t)},chrdev_stream_ops:{open(r){var e=sr.getDevice(r.node.rdev);r.stream_ops=e.stream_ops,r.stream_ops.open?.(r)},llseek(){throw new sr.ErrnoError(70)}},major:r=>r>>8,minor:r=>255&r,makedev:(r,e)=>r<<8|e,registerDevice(r,e){sr.devices[r]={stream_ops:e}},getDevice:r=>sr.devices[r],getMounts(r){for(var e=[],t=[r];t.length;){var n=t.pop();e.push(n),t.push(...n.mounts)}return e},syncfs(r,e){"function"==typeof r&&(e=r,r=!1),sr.syncFSRequests++,sr.syncFSRequests>1&&E(`warning: ${sr.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var t=sr.getMounts(sr.root.mount),n=0;function o(r){return sr.syncFSRequests--,e(r)}function a(r){if(r)return a.errored?void 0:(a.errored=!0,o(r));++n>=t.length&&o(null)}for(var i of t)i.type.syncfs?i.type.syncfs(i,r,a):a(null)},mount(r,e,t){var n,o="/"===t,a=!t;if(o&&sr.root)throw new sr.ErrnoError(10);if(!o&&!a){var i=sr.lookupPath(t,{follow_mount:!1});if(t=i.path,n=i.node,sr.isMountpoint(n))throw new sr.ErrnoError(10);if(!sr.isDir(n.mode))throw new sr.ErrnoError(54)}var s={type:r,opts:e,mountpoint:t,mounts:[]},l=r.mount(s);return l.mount=s,s.root=l,o?sr.root=l:n&&(n.mounted=s,n.mount&&n.mount.mounts.push(s)),l},unmount(r){var e=sr.lookupPath(r,{follow_mount:!1});if(!sr.isMountpoint(e.node))throw new sr.ErrnoError(28);var t=e.node,n=t.mounted,o=sr.getMounts(n);for(var[a,i]of Object.entries(sr.nameTable))for(;i;){var s=i.name_next;o.includes(i.mount)&&sr.destroyNode(i),i=s}t.mounted=null;var l=t.mount.mounts.indexOf(n);t.mount.mounts.splice(l,1)},lookup:(r,e)=>r.node_ops.lookup(r,e),mknod(r,e,t){var n=sr.lookupPath(r,{parent:!0}).node,o=W.basename(r);if(!o)throw new sr.ErrnoError(28);if("."===o||".."===o)throw new sr.ErrnoError(20);var a=sr.mayCreate(n,o);if(a)throw new sr.ErrnoError(a);if(!n.node_ops.mknod)throw new sr.ErrnoError(63);return n.node_ops.mknod(n,o,e,t)},statfs:r=>sr.statfsNode(sr.lookupPath(r,{follow:!0}).node),statfsStream:r=>sr.statfsNode(r.node),statfsNode(r){var e={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:sr.nextInode,ffree:sr.nextInode-1,fsid:42,flags:2,namelen:255};return r.node_ops.statfs&&Object.assign(e,r.node_ops.statfs(r.mount.opts.root)),e},create:(r,e=438)=>(e&=4095,e|=32768,sr.mknod(r,e,0)),mkdir:(r,e=511)=>(e&=1023,e|=16384,sr.mknod(r,e,0)),mkdirTree(r,e){var t=r.split("/"),n="";for(var o of t)if(o){(n||W.isAbs(r))&&(n+="/"),n+=o;try{sr.mkdir(n,e)}catch(r){if(20!=r.errno)throw r}}},mkdev:(r,e,t)=>(void 0===t&&(t=e,e=438),e|=8192,sr.mknod(r,e,t)),symlink(r,e){if(!j.resolve(r))throw new sr.ErrnoError(44);var t=sr.lookupPath(e,{parent:!0}).node;if(!t)throw new sr.ErrnoError(44);var n=W.basename(e),o=sr.mayCreate(t,n);if(o)throw new sr.ErrnoError(o);if(!t.node_ops.symlink)throw new sr.ErrnoError(63);return t.node_ops.symlink(t,n,r)},rename(r,e){var t,n,o=W.dirname(r),a=W.dirname(e),i=W.basename(r),s=W.basename(e);if(t=sr.lookupPath(r,{parent:!0}).node,n=sr.lookupPath(e,{parent:!0}).node,!t||!n)throw new sr.ErrnoError(44);if(t.mount!==n.mount)throw new sr.ErrnoError(75);var l,u=sr.lookupNode(t,i),d=j.relative(r,a);if("."!==d.charAt(0))throw new sr.ErrnoError(28);if("."!==(d=j.relative(e,o)).charAt(0))throw new sr.ErrnoError(55);try{l=sr.lookupNode(n,s)}catch(r){}if(u!==l){var c=sr.isDir(u.mode),f=sr.mayDelete(t,i,c);if(f)throw new sr.ErrnoError(f);if(f=l?sr.mayDelete(n,s,c):sr.mayCreate(n,s))throw new sr.ErrnoError(f);if(!t.node_ops.rename)throw new sr.ErrnoError(63);if(sr.isMountpoint(u)||l&&sr.isMountpoint(l))throw new sr.ErrnoError(10);if(n!==t&&(f=sr.nodePermissions(t,"w")))throw new sr.ErrnoError(f);sr.hashRemoveNode(u);try{t.node_ops.rename(u,n,s),u.parent=n}catch(r){throw r}finally{sr.hashAddNode(u)}}},rmdir(r){var e=sr.lookupPath(r,{parent:!0}).node,t=W.basename(r),n=sr.lookupNode(e,t),o=sr.mayDelete(e,t,!0);if(o)throw new sr.ErrnoError(o);if(!e.node_ops.rmdir)throw new sr.ErrnoError(63);if(sr.isMountpoint(n))throw new sr.ErrnoError(10);e.node_ops.rmdir(e,t),sr.destroyNode(n)},readdir(r){var e=sr.lookupPath(r,{follow:!0}).node;return sr.checkOpExists(e.node_ops.readdir,54)(e)},unlink(r){var e=sr.lookupPath(r,{parent:!0}).node;if(!e)throw new sr.ErrnoError(44);var t=W.basename(r),n=sr.lookupNode(e,t),o=sr.mayDelete(e,t,!1);if(o)throw new sr.ErrnoError(o);if(!e.node_ops.unlink)throw new sr.ErrnoError(63);if(sr.isMountpoint(n))throw new sr.ErrnoError(10);e.node_ops.unlink(e,t),sr.destroyNode(n)},readlink(r){var e=sr.lookupPath(r).node;if(!e)throw new sr.ErrnoError(44);if(!e.node_ops.readlink)throw new sr.ErrnoError(28);return e.node_ops.readlink(e)},stat(r,e){var t=sr.lookupPath(r,{follow:!e}).node;return sr.checkOpExists(t.node_ops.getattr,63)(t)},fstat(r){var e=sr.getStreamChecked(r),t=e.node,n=e.stream_ops.getattr,o=n?e:t;return n??=t.node_ops.getattr,sr.checkOpExists(n,63),n(o)},lstat:r=>sr.stat(r,!0),doChmod(r,e,t,n){sr.doSetAttr(r,e,{mode:4095&t|-4096&e.mode,ctime:Date.now(),dontFollow:n})},chmod(r,e,t){var n;n="string"==typeof r?sr.lookupPath(r,{follow:!t}).node:r,sr.doChmod(null,n,e,t)},lchmod(r,e){sr.chmod(r,e,!0)},fchmod(r,e){var t=sr.getStreamChecked(r);sr.doChmod(t,t.node,e,!1)},doChown(r,e,t){sr.doSetAttr(r,e,{timestamp:Date.now(),dontFollow:t})},chown(r,e,t,n){var o;o="string"==typeof r?sr.lookupPath(r,{follow:!n}).node:r,sr.doChown(null,o,n)},lchown(r,e,t){sr.chown(r,e,t,!0)},fchown(r,e,t){var n=sr.getStreamChecked(r);sr.doChown(n,n.node,!1)},doTruncate(r,e,t){if(sr.isDir(e.mode))throw new sr.ErrnoError(31);if(!sr.isFile(e.mode))throw new sr.ErrnoError(28);var n=sr.nodePermissions(e,"w");if(n)throw new sr.ErrnoError(n);sr.doSetAttr(r,e,{size:t,timestamp:Date.now()})},truncate(r,e){if(e<0)throw new sr.ErrnoError(28);var t;t="string"==typeof r?sr.lookupPath(r,{follow:!0}).node:r,sr.doTruncate(null,t,e)},ftruncate(r,e){var t=sr.getStreamChecked(r);if(e<0||!(2097155&t.flags))throw new sr.ErrnoError(28);sr.doTruncate(t,t.node,e)},utime(r,e,t){var n=sr.lookupPath(r,{follow:!0}).node;sr.checkOpExists(n.node_ops.setattr,63)(n,{atime:e,mtime:t})},open(r,e,t=438){if(""===r)throw new sr.ErrnoError(44);var n,o;if(t=64&(e=(r=>{if("string"!=typeof r)return r;var e={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[r];if(void 0===e)throw new Error(`Unknown file open mode: ${r}`);return e})(e))?4095&t|32768:0,"object"==typeof r)n=r;else{o=r.endsWith("/");var a=sr.lookupPath(r,{follow:!(131072&e),noent_okay:!0});n=a.node,r=a.path}var i=!1;if(64&e)if(n){if(128&e)throw new sr.ErrnoError(20)}else{if(o)throw new sr.ErrnoError(31);n=sr.mknod(r,511|t,0),i=!0}if(!n)throw new sr.ErrnoError(44);if(sr.isChrdev(n.mode)&&(e&=-513),65536&e&&!sr.isDir(n.mode))throw new sr.ErrnoError(54);if(!i){var s=sr.mayOpen(n,e);if(s)throw new sr.ErrnoError(s)}512&e&&!i&&sr.truncate(n,0),e&=-131713;var l=sr.createStream({node:n,path:sr.getPath(n),flags:e,seekable:!0,position:0,stream_ops:n.stream_ops,ungotten:[],error:!1});return l.stream_ops.open&&l.stream_ops.open(l),i&&sr.chmod(n,511&t),l},close(r){if(sr.isClosed(r))throw new sr.ErrnoError(8);r.getdents&&(r.getdents=null);try{r.stream_ops.close&&r.stream_ops.close(r)}catch(r){throw r}finally{sr.closeStream(r.fd)}r.fd=null},isClosed:r=>null===r.fd,llseek(r,e,t){if(sr.isClosed(r))throw new sr.ErrnoError(8);if(!r.seekable||!r.stream_ops.llseek)throw new sr.ErrnoError(70);if(0!=t&&1!=t&&2!=t)throw new sr.ErrnoError(28);return r.position=r.stream_ops.llseek(r,e,t),r.ungotten=[],r.position},read(r,e,t,n,o){if(n<0||o<0)throw new sr.ErrnoError(28);if(sr.isClosed(r))throw new sr.ErrnoError(8);if(1==(2097155&r.flags))throw new sr.ErrnoError(8);if(sr.isDir(r.node.mode))throw new sr.ErrnoError(31);if(!r.stream_ops.read)throw new sr.ErrnoError(28);var a=void 0!==o;if(a){if(!r.seekable)throw new sr.ErrnoError(70)}else o=r.position;var i=r.stream_ops.read(r,e,t,n,o);return a||(r.position+=i),i},write(r,e,t,n,o,a){if(n<0||o<0)throw new sr.ErrnoError(28);if(sr.isClosed(r))throw new sr.ErrnoError(8);if(!(2097155&r.flags))throw new sr.ErrnoError(8);if(sr.isDir(r.node.mode))throw new sr.ErrnoError(31);if(!r.stream_ops.write)throw new sr.ErrnoError(28);r.seekable&&1024&r.flags&&sr.llseek(r,0,2);var i=void 0!==o;if(i){if(!r.seekable)throw new sr.ErrnoError(70)}else o=r.position;var s=r.stream_ops.write(r,e,t,n,o,a);return i||(r.position+=s),s},mmap(r,e,t,n,o){if(2&n&&!(2&o)&&2!=(2097155&r.flags))throw new sr.ErrnoError(2);if(1==(2097155&r.flags))throw new sr.ErrnoError(2);if(!r.stream_ops.mmap)throw new sr.ErrnoError(43);if(!e)throw new sr.ErrnoError(28);return r.stream_ops.mmap(r,e,t,n,o)},msync:(r,e,t,n,o)=>r.stream_ops.msync?r.stream_ops.msync(r,e,t,n,o):0,ioctl(r,e,t){if(!r.stream_ops.ioctl)throw new sr.ErrnoError(59);return r.stream_ops.ioctl(r,e,t)},readFile(r,e={}){e.flags=e.flags||0,e.encoding=e.encoding||"binary","utf8"!==e.encoding&&"binary"!==e.encoding&&F(`Invalid encoding type "${e.encoding}"`);var t=sr.open(r,e.flags),n=sr.stat(r).size,o=new Uint8Array(n);return sr.read(t,o,0,n,0),"utf8"===e.encoding&&(o=U(o)),sr.close(t),o},writeFile(r,e,t={}){t.flags=t.flags||577;var n=sr.open(r,t.flags,t.mode);e=J(e),sr.write(n,e,0,e.byteLength,void 0,t.canOwn),sr.close(n)},cwd:()=>sr.currentPath,chdir(r){var e=sr.lookupPath(r,{follow:!0});if(null===e.node)throw new sr.ErrnoError(44);if(!sr.isDir(e.node.mode))throw new sr.ErrnoError(54);var t=sr.nodePermissions(e.node,"x");if(t)throw new sr.ErrnoError(t);sr.currentPath=e.path},createDefaultDirectories(){sr.mkdir("/tmp"),sr.mkdir("/home"),sr.mkdir("/home/web_user")},createDefaultDevices(){sr.mkdir("/dev"),sr.registerDevice(sr.makedev(1,3),{read:()=>0,write:(r,e,t,n,o)=>n,llseek:()=>0}),sr.mkdev("/dev/null",sr.makedev(1,3)),G.register(sr.makedev(5,0),G.default_tty_ops),G.register(sr.makedev(6,0),G.default_tty1_ops),sr.mkdev("/dev/tty",sr.makedev(5,0)),sr.mkdev("/dev/tty1",sr.makedev(6,0));var r=new Uint8Array(1024),e=0,t=()=>(0===e&&($(r),e=r.byteLength),r[--e]);sr.createDevice("/dev","random",t),sr.createDevice("/dev","urandom",t),sr.mkdir("/dev/shm"),sr.mkdir("/dev/shm/tmp")},createSpecialDirectories(){sr.mkdir("/proc");var r=sr.mkdir("/proc/self");sr.mkdir("/proc/self/fd"),sr.mount({mount(){var e=sr.createNode(r,"fd",16895,73);return e.stream_ops={llseek:Y.stream_ops.llseek},e.node_ops={lookup(r,e){var t=+e,n=sr.getStreamChecked(t),o={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>n.path},id:t+1};return o.parent=o,o},readdir:()=>Array.from(sr.streams.entries()).filter(([r,e])=>e).map(([r,e])=>r.toString())},e}},{},"/proc/self/fd")},createStandardStreams(r,e,t){r?sr.createDevice("/dev","stdin",r):sr.symlink("/dev/tty","/dev/stdin"),e?sr.createDevice("/dev","stdout",null,e):sr.symlink("/dev/tty","/dev/stdout"),t?sr.createDevice("/dev","stderr",null,t):sr.symlink("/dev/tty1","/dev/stderr"),sr.open("/dev/stdin",0),sr.open("/dev/stdout",1),sr.open("/dev/stderr",1)},staticInit(){sr.nameTable=new Array(4096),sr.mount(Y,{},"/"),sr.createDefaultDirectories(),sr.createDefaultDevices(),sr.createSpecialDirectories(),sr.filesystems={MEMFS:Y}},init(r,e,n){sr.initialized=!0,r??=t.stdin,e??=t.stdout,n??=t.stderr,sr.createStandardStreams(r,e,n)},quit(){for(var r of(sr.initialized=!1,sr.streams))r&&sr.close(r)},findObject(r,e){var t=sr.analyzePath(r,e);return t.exists?t.object:null},analyzePath(r,e){try{r=(n=sr.lookupPath(r,{follow:!e})).path}catch(r){}var t={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=sr.lookupPath(r,{parent:!0});t.parentExists=!0,t.parentPath=n.path,t.parentObject=n.node,t.name=W.basename(r),n=sr.lookupPath(r,{follow:!e}),t.exists=!0,t.path=n.path,t.object=n.node,t.name=n.node.name,t.isRoot="/"===n.path}catch(r){t.error=r.errno}return t},createPath(r,e,t,n){r="string"==typeof r?r:sr.getPath(r);for(var o=e.split("/").reverse();o.length;){var a=o.pop();if(a){var i=W.join2(r,a);try{sr.mkdir(i)}catch(r){if(20!=r.errno)throw r}r=i}}return i},createFile(r,e,t,n,o){var a=W.join2("string"==typeof r?r:sr.getPath(r),e),i=Q(n,o);return sr.create(a,i)},createDataFile(r,e,t,n,o,a){var i=e;r&&(r="string"==typeof r?r:sr.getPath(r),i=e?W.join2(r,e):r);var s=Q(n,o),l=sr.create(i,s);if(t){t=J(t),sr.chmod(l,146|s);var u=sr.open(l,577);sr.write(u,t,0,t.length,0,a),sr.close(u),sr.chmod(l,s)}},createDevice(r,e,t,n){var o=W.join2("string"==typeof r?r:sr.getPath(r),e),a=Q(!!t,!!n);sr.createDevice.major??=64;var i=sr.makedev(sr.createDevice.major++,0);return sr.registerDevice(i,{open(r){r.seekable=!1},close(r){n?.buffer?.length&&n(10)},read(r,e,n,o,a){for(var i=0,s=0;s<o;s++){var l;try{l=t()}catch(r){throw new sr.ErrnoError(29)}if(void 0===l&&0===i)throw new sr.ErrnoError(6);if(null==l)break;i++,e[n+s]=l}return i&&(r.node.atime=Date.now()),i},write(r,e,t,o,a){for(var i=0;i<o;i++)try{n(e[t+i])}catch(r){throw new sr.ErrnoError(29)}return o&&(r.node.mtime=r.node.ctime=Date.now()),i}}),sr.mkdev(o,a,i)},forceLoadFile(r){if(r.isDevice||r.isFolder||r.link||r.contents)return!0;if(globalThis.XMLHttpRequest)F("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");else try{r.contents=(void 0)(r.url)}catch(r){throw new sr.ErrnoError(29)}},createLazyFile(r,e,t,n,o){class a{lengthKnown=!1;chunks=[];get(r){if(!(r>this.length-1||r<0)){var e=r%this.chunkSize,t=r/this.chunkSize|0;return this.getter(t)[e]}}setDataGetter(r){this.getter=r}cacheLength(){var r=new XMLHttpRequest;r.open("HEAD",t,!1),r.send(null),r.status>=200&&r.status<300||304===r.status||F("Couldn't load "+t+". Status: "+r.status);var e,n=Number(r.getResponseHeader("Content-length")),o=(e=r.getResponseHeader("Accept-Ranges"))&&"bytes"===e,a=(e=r.getResponseHeader("Content-Encoding"))&&"gzip"===e,i=1048576;o||(i=n);var s=(r,e)=>{r>e&&F("invalid range ("+r+", "+e+") or no bytes requested!"),e>n-1&&F("only "+n+" bytes available! programmer error!");var o=new XMLHttpRequest;return o.open("GET",t,!1),n!==i&&o.setRequestHeader("Range","bytes="+r+"-"+e),o.responseType="arraybuffer",o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),o.status>=200&&o.status<300||304===o.status||F("Couldn't load "+t+". Status: "+o.status),void 0!==o.response?new Uint8Array(o.response||[]):X(o.responseText||"")},l=this;l.setDataGetter(r=>{var e=r*i,t=(r+1)*i-1;return t=Math.min(t,n-1),void 0===l.chunks[r]&&(l.chunks[r]=s(e,t)),void 0===l.chunks[r]&&F("doXHR failed!"),l.chunks[r]}),!a&&n||(i=n=1,n=this.getter(0).length,i=n,y("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=i,this.lengthKnown=!0}get length(){return this.lengthKnown||this.cacheLength(),this._length}get chunkSize(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}if(globalThis.XMLHttpRequest){F("Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc");var i={isDevice:!1,contents:new a}}else i={isDevice:!1,url:t};var s=sr.createFile(r,e,i,n,o);i.contents?s.contents=i.contents:i.url&&(s.contents=null,s.url=i.url),Object.defineProperties(s,{usedBytes:{get:function(){return this.contents.length}}});var u={};for(const[r,e]of Object.entries(s.stream_ops))u[r]=(...r)=>(sr.forceLoadFile(s),e(...r));function d(r,e,t,n,o){var a=r.node.contents;if(o>=a.length)return 0;var i=Math.min(a.length-o,n);if(a.slice)for(var s=0;s<i;s++)e[t+s]=a[o+s];else for(s=0;s<i;s++)e[t+s]=a.get(o+s);return i}return u.read=(r,e,t,n,o)=>(sr.forceLoadFile(s),d(r,e,t,n,o)),u.mmap=(r,e,t,n,o)=>{sr.forceLoadFile(s);var a=K();if(!a)throw new sr.ErrnoError(48);return d(r,l,a,e,t),{ptr:a,allocated:!0}},s.stream_ops=u,s}},lr=(r,e,t)=>r?U(u,r,e,t):"",ur={calculateAt(r,e,t){if(W.isAbs(e))return e;var n;if(n=-100===r?sr.cwd():ur.getStreamFromFD(r).path,0==e.length){if(!t)throw new sr.ErrnoError(44);return n}return n+"/"+e},writeStat(r,e){h[r>>2]=e.dev,h[r+4>>2]=e.mode,h[r+8>>2]=e.nlink,h[r+12>>2]=e.uid,h[r+16>>2]=e.gid,h[r+20>>2]=e.rdev,v[r+24>>3]=BigInt(e.size),f[r+32>>2]=4096,f[r+36>>2]=e.blocks;var t=e.atime.getTime(),n=e.mtime.getTime(),o=e.ctime.getTime();return v[r+40>>3]=BigInt(Math.floor(t/1e3)),h[r+48>>2]=t%1e3*1e3*1e3,v[r+56>>3]=BigInt(Math.floor(n/1e3)),h[r+64>>2]=n%1e3*1e3*1e3,v[r+72>>3]=BigInt(Math.floor(o/1e3)),h[r+80>>2]=o%1e3*1e3*1e3,v[r+88>>3]=BigInt(e.ino),0},writeStatFs(r,e){h[r+4>>2]=e.bsize,h[r+60>>2]=e.bsize,v[r+8>>3]=BigInt(e.blocks),v[r+16>>3]=BigInt(e.bfree),v[r+24>>3]=BigInt(e.bavail),v[r+32>>3]=BigInt(e.files),v[r+40>>3]=BigInt(e.ffree),h[r+48>>2]=e.fsid,h[r+64>>2]=e.flags,h[r+56>>2]=e.namelen},doMsync(r,e,t,n,o){if(!sr.isFile(e.node.mode))throw new sr.ErrnoError(43);if(2&n)return 0;var a=u.slice(r,r+t);sr.msync(e,a,o,t,n)},getStreamFromFD:r=>sr.getStreamChecked(r),varargs:void 0,getStr:r=>lr(r)},dr={},cr=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function fr(r){return this.fromWireType(h[r>>2])}var hr={},mr={},pr={},vr=class extends Error{constructor(r){super(r),this.name="InternalError"}},wr=r=>{throw new vr(r)},gr=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&wr("Mismatched type converter count");for(var o=0;o<r.length;++o)_r(r[o],n[o])}r.forEach(r=>pr[r]=e);var o=new Array(e.length),a=[],i=0;for(let[r,t]of e.entries())mr.hasOwnProperty(t)?o[r]=mr[t]:(a.push(t),hr.hasOwnProperty(t)||(hr[t]=[]),hr[t].push(()=>{o[r]=mr[t],++i===a.length&&n(o)}));0===a.length&&n(o)},yr=r=>{for(var e="";;){var t=u[r++];if(!t)return e;e+=String.fromCharCode(t)}},Er=class extends Error{constructor(r){super(r),this.name="BindingError"}},kr=r=>{throw new Er(r)};function _r(r,e,t={}){return function(r,e,t={}){var n=e.name;if(r||kr(`type "${n}" must have a positive integer typeid pointer`),mr.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;kr(`Cannot register type '${n}' twice`)}if(mr[r]=e,delete pr[r],hr.hasOwnProperty(r)){var o=hr[r];delete hr[r],o.forEach(r=>r())}}(r,e,t)}var br=(r,e,t)=>{switch(e){case 1:return t?r=>l[r]:r=>u[r];case 2:return t?r=>d[r>>1]:r=>c[r>>1];case 4:return t?r=>f[r>>2]:r=>h[r>>2];case 8:return t?r=>v[r>>3]:r=>w[r>>3];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}},Fr=[],Dr=[0,1,,1,null,1,!0,1,!1,1],Tr=r=>{r>9&&0===--Dr[r+1]&&(Dr[r]=void 0,Fr.push(r))},Sr=r=>(r||kr(`Cannot use deleted val. handle = ${r}`),Dr[r]),Ar=r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Fr.pop()||Dr.length;return Dr[e]=r,Dr[e+1]=1,e}}},Pr={name:"emscripten::val",fromWireType:r=>{var e=Sr(r);return Tr(r),e},toWireType:(r,e)=>Ar(e),readValueFromPointer:fr,destructorFunction:null},Cr=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(m[r>>2])};case 8:return function(r){return this.fromWireType(p[r>>3])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}},xr=(r,e)=>Object.defineProperty(e,"name",{value:r}),Rr=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||kr(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},Mr=(r,e,n)=>{t.hasOwnProperty(r)?((void 0===n||void 0!==t[r].overloadTable&&void 0!==t[r].overloadTable[n])&&kr(`Cannot register public name '${r}' twice`),Rr(t,r,r),t[r].overloadTable.hasOwnProperty(n)&&kr(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),t[r].overloadTable[n]=e):(t[r]=e,t[r].argCount=n)},Nr=(r,e,n)=>{t.hasOwnProperty(r)||wr("Replacing nonexistent public symbol"),void 0!==t[r].overloadTable&&void 0!==n?t[r].overloadTable[n]=e:(t[r]=e,t[r].argCount=n)},zr=[],Br=r=>{var e=zr[r];return e||(zr[r]=e=Xr.get(r)),e},Ir=(r,e,t=!1)=>{r=yr(r);var n=Br(e);return"function"!=typeof n&&kr(`unknown function pointer with signature ${r}: ${e}`),n};class Wr extends Error{}var $r,jr,Or,Lr,Ur,Hr,Vr,qr,Xr,Gr=r=>{var e=jr(r),t=yr(e);return Lr(e),t},Kr=(r,e,t)=>q(r,u,e,t),Yr=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,Jr=(r,e,t)=>{var n=r>>1,o=L(c,n,e/2,t);if(o-n>16&&Yr)return Yr.decode(c.subarray(n,o));for(var a="",i=n;i<o;++i){var s=c[i];a+=String.fromCharCode(s)}return a},Qr=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,o=(t-=2)<2*r.length?t/2:r.length,a=0;a<o;++a){var i=r.charCodeAt(a);d[e>>1]=i,e+=2}return d[e>>1]=0,e-n},Zr=r=>2*r.length,re=(r,e,t)=>{for(var n="",o=r>>2,a=0;!(a>=e/4);a++){var i=h[o+a];if(!i&&!t)break;n+=String.fromCodePoint(i)}return n},ee=(r,e,t)=>{if(t??=2147483647,t<4)return 0;for(var n=e,o=n+t-4,a=0;a<r.length;++a){var i=r.codePointAt(a);if(i>65535&&a++,f[e>>2]=i,(e+=4)+4>o)break}return f[e>>2]=0,e-n},te=r=>{for(var e=0,t=0;t<r.length;++t)r.codePointAt(t)>65535&&t++,e+=4;return e},ne=[],oe=(r,e)=>{var t=mr[r];return void 0===t&&kr(`${e} has unknown type ${Gr(r)}`),t},ae={},ie=r=>{var e=ae[r];return void 0===e?yr(r):e},se=(r,e)=>Math.ceil(r/e)*e,le=r=>{var e=(r-qr.buffer.byteLength+65535)/65536|0;try{return qr.grow(e),b(),1}catch(r){}},ue={},de=()=>{if(!de.strings){var r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:n||"./this.program"};for(var e in ue)void 0===ue[e]?delete r[e]:r[e]=ue[e];var t=[];for(var e in r)t.push(`${e}=${r[e]}`);de.strings=t}return de.strings},ce=[],fe=(r,e)=>{Xr.set(r,e),zr[r]=Xr.get(r)},he=r=>{const e=r.length;return[e%128|128,e>>7,...r]},me={i:127,p:127,j:126,f:125,d:124,e:111},pe=r=>he(Array.from(r,r=>me[r]));if(sr.createPreloadedFile=(r,e,t,n,o,a,i,s,l,u)=>{ir(r,e,t,n,o,s,l,u).then(a).catch(i)},sr.preloadFile=ir,sr.staticInit(),t.noExitRuntime&&(R=t.noExitRuntime),t.preloadPlugins&&(ar=t.preloadPlugins),t.print&&(y=t.print),t.printErr&&(E=t.printErr),t.wasmBinary&&(a=t.wasmBinary),t.arguments&&t.arguments,t.thisProgram&&(n=t.thisProgram),t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.shift()();t.addRunDependency=or,t.removeRunDependency=nr,t.addFunction=(r,e)=>{var t=(r=>($r||($r=new WeakMap,((r,e)=>{if($r)for(var t=0;t<0+e;t++){var n=Br(t);n&&$r.set(n,t)}})(0,Xr.length)),$r.get(r)||0))(r);if(t)return t;var n=ce.length?ce.pop():Xr.grow(1);try{fe(n,r)}catch(t){if(!(t instanceof TypeError))throw t;var o=((r,e)=>{var t=Uint8Array.of(0,97,115,109,1,0,0,0,1,...he([1,96,...pe(e.slice(1)),...pe("v"===e[0]?"":e[0])]),2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),n=new WebAssembly.Module(t);return new WebAssembly.Instance(n,{e:{f:r}}).exports.f})(r,e);fe(n,o)}return $r.set(r,n),n},t.UTF8ToString=lr,t.FS_preloadFile=ir,t.FS_unlink=(...r)=>sr.unlink(...r),t.FS_createPath=(...r)=>sr.createPath(...r),t.FS_createDevice=(...r)=>sr.createDevice(...r),t.FS_createDataFile=rr,t.FS_createLazyFile=(...r)=>sr.createLazyFile(...r);var ve,we={n:(r,e,t)=>{throw new z(r).init(e,t),r},x:function(r,e,t){ur.varargs=t;try{var n=ur.getStreamFromFD(r);switch(e){case 0:if((o=B())<0)return-28;for(;sr.streams[o];)o++;return sr.dupStream(n,o).fd;case 1:case 2:case 13:case 14:return 0;case 3:return n.flags;case 4:var o=B();return n.flags|=o,0;case 12:return o=I(),d[o+0>>1]=2,0}return-28}catch(r){if(void 0===sr||"ErrnoError"!==r.name)throw r;return-r.errno}},M:function(r,e,t){ur.varargs=t;try{var n=ur.getStreamFromFD(r);switch(e){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return n.tty?0:-59;case 21505:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcgets){var o=n.tty.ops.ioctl_tcgets(n),a=I();f[a>>2]=o.c_iflag||0,f[a+4>>2]=o.c_oflag||0,f[a+8>>2]=o.c_cflag||0,f[a+12>>2]=o.c_lflag||0;for(var i=0;i<32;i++)l[a+i+17]=o.c_cc[i]||0;return 0}return 0;case 21506:case 21507:case 21508:if(!n.tty)return-59;if(n.tty.ops.ioctl_tcsets){a=I();var s=f[a>>2],u=f[a+4>>2],c=f[a+8>>2],h=f[a+12>>2],m=[];for(i=0;i<32;i++)m.push(l[a+i+17]);return n.tty.ops.ioctl_tcsets(n.tty,e,{c_iflag:s,c_oflag:u,c_cflag:c,c_lflag:h,c_cc:m})}return 0;case 21519:return n.tty?(a=I(),f[a>>2]=0,0):-59;case 21520:return n.tty?-28:-59;case 21537:case 21531:return a=I(),sr.ioctl(n,e,a);case 21523:if(!n.tty)return-59;if(n.tty.ops.ioctl_tiocgwinsz){var p=n.tty.ops.ioctl_tiocgwinsz(n.tty);a=I(),d[a>>1]=p[0],d[a+2>>1]=p[1]}return 0;default:return-28}}catch(r){if(void 0===sr||"ErrnoError"!==r.name)throw r;return-r.errno}},N:function(r,e,t,n){ur.varargs=n;try{e=ur.getStr(e),e=ur.calculateAt(r,e);var o=n?B():0;return sr.open(e,t,o).fd}catch(r){if(void 0===sr||"ErrnoError"!==r.name)throw r;return-r.errno}},O:()=>F(""),A:r=>{var e=dr[r];delete dr[r];var t=e.rawConstructor,n=e.rawDestructor,o=e.fields,a=o.map(r=>r.getterReturnType).concat(o.map(r=>r.setterArgumentType));gr([r],a,r=>{var a={};for(var[i,s]of o.entries()){const e=r[i],t=s.getter,n=s.getterContext,l=r[i+o.length],u=s.setter,d=s.setterContext;a[s.fieldName]={read:r=>e.fromWireType(t(n,r)),write:(r,e)=>{var t=[];u(d,r,l.toWireType(t,e)),cr(t)},optional:e.optional}}return[{name:e.name,fromWireType:r=>{var e={};for(var t in a)e[t]=a[t].read(r);return n(r),e},toWireType:(r,e)=>{for(var o in a)if(!(o in e)&&!a[o].optional)throw new TypeError(`Missing field: "${o}"`);var i=t();for(o in a)a[o].write(i,e[o]);return null!==r&&r.push(n,i),i},readValueFromPointer:fr,destructorFunction:n}]})},z:(r,e,t,n,o)=>{e=yr(e);const a=0n===n;let i=r=>r;if(a){const r=8*t;i=e=>BigInt.asUintN(r,e),o=i(o)}_r(r,{name:e,fromWireType:i,toWireType:(r,e)=>("number"==typeof e&&(e=BigInt(e)),e),readValueFromPointer:br(e,t,!a),destructorFunction:null})},T:(r,e,t,n)=>{_r(r,{name:e=yr(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},readValueFromPointer:function(r){return this.fromWireType(u[r])},destructorFunction:null})},R:r=>_r(r,Pr),y:(r,e,t)=>{_r(r,{name:e=yr(e),fromWireType:r=>r,toWireType:(r,e)=>e,readValueFromPointer:Cr(e,t),destructorFunction:null})},o:(r,e,t,n,o,a,i,s)=>{var l=((r,e)=>{for(var t=[],n=0;n<r;n++)t.push(h[e+4*n>>2]);return t})(e,t);r=(r=>{const e=(r=r.trim()).indexOf("(");return-1===e?r:r.slice(0,e)})(r=yr(r)),o=Ir(n,o,i),Mr(r,function(){((r,e)=>{var t=[],n={};throw e.forEach(function r(e){n[e]||mr[e]||(pr[e]?pr[e].forEach(r):(t.push(e),n[e]=!0))}),new Wr(`${r}: `+t.map(Gr).join([", "]))})(`Cannot call ${r} due to unbound types`,l)},e-1),gr([],l,t=>{var n=[t[0],null].concat(t.slice(1));return Nr(r,function(r,e,t,n,o){var a=e.length;a<2&&kr("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var i=function(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}(e),s=!e[0].isVoid,l=a-2,u=new Array(l),d=[],c=[];return xr(r,function(...r){c.length=0,d.length=1,d[0]=o;for(var t=0;t<l;++t)u[t]=e[t+2].toWireType(c,r[t]),d.push(u[t]);return function(r){if(i)cr(c);else for(var t=2;t<e.length;t++){var n=1===t?void 0:u[t-2];null!==e[t].destructorFunction&&e[t].destructorFunction(n)}if(s)return e[0].fromWireType(r)}(n(...d))})}(r,n,0,o,a),e-1),[]})},d:(r,e,t,n,o)=>{e=yr(e);let a=r=>r;if(0===n){var i=32-8*t;a=r=>r<<i>>>i,o=a(o)}_r(r,{name:e,fromWireType:a,toWireType:(r,e)=>e,readValueFromPointer:br(e,t,0!==n),destructorFunction:null})},b:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function o(r){var e=h[r>>2],t=h[r+4>>2];return new n(l.buffer,t,e)}_r(r,{name:t=yr(t),fromWireType:o,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},S:(r,e)=>{_r(r,{name:e=yr(e),fromWireType(r){var e,t=h[r>>2];return e=lr(r+4,t,!0),Lr(r),e},toWireType(r,e){var t;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||kr("Cannot pass non-string to std::string"),t=n?V(e):e.length;var o=Or(4+t+1),a=o+4;return h[o>>2]=t,n?Kr(e,a,t+1):u.set(e,a),null!==r&&r.push(Lr,o),o},readValueFromPointer:fr,destructorFunction(r){Lr(r)}})},t:(r,e,t)=>{var n,o,a;t=yr(t),2===e?(n=Jr,o=Qr,a=Zr):(n=re,o=ee,a=te),_r(r,{name:t,fromWireType:r=>{var t=h[r>>2],o=n(r+4,t*e,!0);return Lr(r),o},toWireType:(r,n)=>{"string"!=typeof n&&kr(`Cannot pass non-string to C++ string type ${t}`);var i=a(n),s=Or(4+i+e);return h[s>>2]=i/e,o(n,s+4,i+e),null!==r&&r.push(Lr,s),s},readValueFromPointer:fr,destructorFunction(r){Lr(r)}})},B:(r,e,t,n,o,a)=>{dr[r]={name:yr(e),rawConstructor:Ir(t,n),rawDestructor:Ir(o,a),fields:[]}},c:(r,e,t,n,o,a,i,s,l,u)=>{dr[r].fields.push({fieldName:yr(e),getterReturnType:t,getter:Ir(n,o),getterContext:a,setterArgumentType:i,setter:Ir(s,l),setterContext:u})},U:(r,e)=>{_r(r,{isVoid:!0,name:e=yr(e),fromWireType:()=>{},toWireType:(r,e)=>{}})},Q:r=>{do{var e=h[r>>2],t=h[(r+=4)>>2],n=h[(r+=4)>>2];r+=4;var o=lr(e);sr.createPath("/",W.dirname(o),!0,!0),sr.createDataFile(o,null,l.subarray(n,n+t),!0,!0,!0)}while(h[r>>2])},F:()=>{throw 1/0},W:(r,e)=>{r=Sr(r),e=Sr(e),r.set(e)},k:(r,e,t)=>{var[n,...o]=((r,e)=>{for(var t=new Array(r),n=0;n<r;++n)t[n]=oe(h[e+4*n>>2],`parameter ${n}`);return t})(r,e),a=n.toWireType.bind(n),i=o.map(r=>r.readValueFromPointer.bind(r));r--;var s=new Array(r),l=`methodCaller<(${o.map(r=>r.name)}) => ${n.name}>`;return(r=>{var e=ne.length;return ne.push(r),e})(xr(l,(e,n,o,l)=>{for(var u,d=0,c=0;c<r;++c)s[c]=i[c](l+d),d+=8;switch(t){case 0:u=Sr(e).apply(null,s);break;case 2:u=Reflect.construct(Sr(e),s);break;case 3:u=s[0];break;case 1:u=Sr(e)[ie(n)](...s)}return((r,e,t)=>{var n=[],o=r(n,t);return n.length&&(h[e>>2]=Ar(n)),o})(a,o,u)}))},a:Tr,X:r=>r?(r=ie(r),Ar(globalThis[r])):Ar(globalThis),p:(r,e)=>(r=Sr(r),e=Sr(e),Ar(r[e])),j:r=>{r>9&&(Dr[r+1]+=1)},i:(r,e,t,n,o)=>ne[r](e,t,n,o),C:()=>Ar([]),m:r=>Ar(ie(r)),h:r=>{var e=Sr(r);cr(e),Tr(r)},V:(r,e,t)=>{r=Sr(r),e=Sr(e),t=Sr(t),r[e]=t},H:(r,e,t,n)=>{var o=(new Date).getFullYear(),a=new Date(o,0,1),i=new Date(o,6,1),s=a.getTimezoneOffset(),l=i.getTimezoneOffset(),u=Math.max(s,l);h[r>>2]=60*u,f[e>>2]=Number(s!=l);var d=r=>{var e=r>=0?"-":"+",t=Math.abs(r);return`UTC${e}${String(Math.floor(t/60)).padStart(2,"0")}${String(t%60).padStart(2,"0")}`},c=d(s),m=d(l);l<s?(Kr(c,t,17),Kr(m,n,17)):(Kr(c,n,17),Kr(m,t,17))},G:r=>{var e=u.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n=1;n<=4;n*=2){var o=e*(1+.2/n);o=Math.min(o,r+100663296);var a=Math.min(t,se(Math.max(r,o),65536));if(le(a))return!0}return!1},J:(r,e)=>{var t=0,n=0;for(var o of de()){var a=e+t;h[r+n>>2]=a,t+=Kr(o,a,1/0)+1,n+=4}return 0},K:(r,e)=>{var t=de();h[r>>2]=t.length;var n=0;for(var o of t)n+=V(o)+1;return h[e>>2]=n,0},P:(r,e)=>{(r=>{R||(t.onExit?.(r),k=!0),((r,e)=>{throw e})(0,new T(r))})(r)},v:function(r){try{var e=ur.getStreamFromFD(r);return sr.close(e),0}catch(r){if(void 0===sr||"ErrnoError"!==r.name)throw r;return r.errno}},L:function(r,e,t,n){try{var o=((r,e,t)=>{for(var n=0,o=0;o<t;o++){var a=h[e>>2],i=h[e+4>>2];e+=8;var s=sr.read(r,l,a,i,void 0);if(s<0)return-1;if(n+=s,s<i)break}return n})(ur.getStreamFromFD(r),e,t);return h[n>>2]=o,0}catch(r){if(void 0===sr||"ErrnoError"!==r.name)throw r;return r.errno}},I:function(r,e,t,n){e=(r=>r<-9007199254740992||r>9007199254740992?NaN:Number(r))(e);try{if(isNaN(e))return 61;var o=ur.getStreamFromFD(r);return sr.llseek(o,e,t),v[n>>3]=BigInt(o.position),o.getdents&&0===e&&0===t&&(o.getdents=null),0}catch(r){if(void 0===sr||"ErrnoError"!==r.name)throw r;return r.errno}},w:function(r,e,t,n){try{var o=((r,e,t)=>{for(var n=0,o=0;o<t;o++){var a=h[e>>2],i=h[e+4>>2];e+=8;var s=sr.write(r,l,a,i,void 0);if(s<0)return-1;if(n+=s,s<i)break}return n})(ur.getStreamFromFD(r),e,t);return h[n>>2]=o,0}catch(r){if(void 0===sr||"ErrnoError"!==r.name)throw r;return r.errno}},q:function(r,e){var t=N();try{return Br(r)(e)}catch(r){if(M(t),r!==r+0)throw r;Ur(1,0)}},l:function(r,e,t){var n=N();try{return Br(r)(e,t)}catch(r){if(M(n),r!==r+0)throw r;Ur(1,0)}},r:function(r,e,t,n){var o=N();try{return Br(r)(e,t,n)}catch(r){if(M(o),r!==r+0)throw r;Ur(1,0)}},u:function(r,e,t,n,o){var a=N();try{return Br(r)(e,t,n,o)}catch(r){if(M(a),r!==r+0)throw r;Ur(1,0)}},E:function(r,e,t,n,o,a,i,s,l,u){var d=N();try{return Br(r)(e,t,n,o,a,i,s,l,u)}catch(r){if(M(d),r!==r+0)throw r;Ur(1,0)}},s:function(r){var e=N();try{Br(r)()}catch(r){if(M(e),r!==r+0)throw r;Ur(1,0)}},f:function(r,e){var t=N();try{Br(r)(e)}catch(r){if(M(t),r!==r+0)throw r;Ur(1,0)}},D:function(r,e,t,n){var o=N();try{Br(r)(e,t,n)}catch(r){if(M(o),r!==r+0)throw r;Ur(1,0)}},g:function(r,e,t){var n=N();try{Br(r)(e,t)}catch(r){if(M(n),r!==r+0)throw r;Ur(1,0)}},e:function(r,e,t,n){var o=N();try{Br(r)(e,t,n)}catch(r){if(M(o),r!==r+0)throw r;Ur(1,0)}}};return ve=await async function(){function r(r,e){return function(r){jr=r._,Or=t._malloc=r.aa,Lr=t._free=r.ba,Ur=r.ca,Hr=r.da,Vr=r.ea,qr=r.Y,Xr=r.$}(ve=r.exports),b(),ve}var e={a:we};return t.instantiateWasm?new Promise((n,o)=>{t.instantiateWasm(e,(e,t)=>{n(r(e))})}):(g??=t.locateFile?function(r){return t.locateFile?t.locateFile(r,o):o+r}("lyr3DWorker.wasm"):new URL("lyr3DWorker.wasm","").href,function(e){return r(e.instance)}(await async function(r,e,t){if(!r)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(r){E(`wasm streaming compile failed: ${r}`),E("falling back to ArrayBuffer instantiation")}return async function(r,e){try{var t=await D(r);return await WebAssembly.instantiate(t,e)}catch(r){E(`failed to asynchronously prepare wasm: ${r}`),F(r)}}(e,t)}(a,g,e)))}(),function r(){function e(){t.calledRun=!0,k||(_=!0,t.noFSInit||sr.initialized||sr.init(),ve.Z(),sr.ignorePermissions=!1,i?.(t),t.onRuntimeInitialized?.(),function(){if(t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;)P(t.postRun.shift());S(A)}())}er>0?tr=r:(function(){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)x(t.preRun.shift());S(C)}(),er>0?tr=r:t.setStatus?(t.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>t.setStatus(""),1),e()},1)):e())}(),_?t:new Promise((r,e)=>{i=r,s=e})}t.d(e,{default:()=>n})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6187],{46187(t,e,o){async function r(t={}){var e,o=t,r="";try{r=new URL(".","").href}catch{}e=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var _,p,n,i,c,a,y,s,P,g,u=console.log.bind(console),f=console.error.bind(console),b=!1;function E(t,e){t||m(e)}var d,T=!1;function O(){var t=So.buffer;n=new Int8Array(t),c=new Int16Array(t),i=new Uint8Array(t),a=new Int32Array(t),y=new Uint32Array(t),s=new Float32Array(t),P=new Float64Array(t),g=new BigInt64Array(t),new BigUint64Array(t)}function m(t){f(t="Aborted("+t+")"),b=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw p?.(e),e}function h(){return o.locateFile?function(t){return o.locateFile?o.locateFile(t,r):r+t}("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href}async function S(t){try{var o=await e(t);return new Uint8Array(o)}catch{}return function(){throw"both async and sync fetching of the wasm failed"}()}var N,l,v,M,j,D,A,R,C,G,I,L,U,w,F,Y,X,x,H,z,Z,W,B,q,K,k,V,$,J,Q,tt,et,ot,rt,_t,pt,nt,it,ct,at,yt,st,Pt,gt,ut,ft,bt,Et,dt,Tt,Ot,mt,ht,St,Nt,lt,vt,Mt,jt,Dt,At,Rt,Ct,Gt,It,Lt,Ut,wt,Ft,Yt,Xt,xt,Ht,zt,Zt,Wt,Bt,qt,Kt,kt,Vt,$t,Jt,Qt,te,ee,oe,re,_e,pe,ne,ie,ce,ae,ye,se,Pe,ge,ue,fe,be,Ee,de,Te,Oe,me,he,Se,Ne,le,ve,Me,je,De,Ae,Re,Ce,Ge,Ie,Le,Ue,we,Fe,Ye,Xe,xe,He,ze,Ze,We,Be,qe,Ke,ke,Ve,$e,Je,Qe,to,eo,oo,ro,_o,po,no,io,co,ao,yo,so,Po,go,uo,fo,bo,Eo,To,Oo,mo,ho,So,No=globalThis.TextDecoder&&new TextDecoder,lo=(t,e=0,o,r)=>{var _=((t,e,o,r)=>{var _=e+o;if(r)return _;for(;t[e]&&!(e>=_);)++e;return e})(t,e,o,r);if(_-e>16&&t.buffer&&No)return No.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},vo=(t,e,o)=>t?lo(i,t,e,o):"",Mo=[0,31,60,91,121,152,182,213,244,274,305,335],jo=[0,31,59,90,120,151,181,212,243,273,304,334],Do=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.codePointAt(n);if(i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i,n++}}return e[o]=0,o-_},Ao=(t,e,o)=>Do(t,i,e,o),Ro=(t,e)=>Math.ceil(t/e)*e,Co=t=>{var e=(t-So.buffer.byteLength+65535)/65536|0;try{return So.grow(e),O(),1}catch(t){}},Go={},Io=()=>{if(!Io.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:"./this.program"};for(var e in Go)void 0===Go[e]?delete t[e]:t[e]=Go[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);Io.strings=o}return Io.strings},Lo=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},Uo=[null,[],[]],wo=(t,e)=>{var o=Uo[t];0===e||10===e?((1===t?u:f)(lo(o)),o.length=0):o.push(e)};function Fo(t){o._webidl_free=t.u,o._webidl_malloc=t.v,N=o._emscripten_bind_PeObject_getCode_0=t.w,l=o._emscripten_bind_PeObject_getName_1=t.x,v=o._emscripten_bind_PeObject_getType_0=t.y,M=o._emscripten_bind_PeCoordsys_isEqual_1=t.z,j=o._emscripten_bind_PeCoordsys_getCode_0=t.A,D=o._emscripten_bind_PeCoordsys_getName_1=t.B,A=o._emscripten_bind_PeCoordsys_getType_0=t.C,R=o._emscripten_bind_PeUnit_getUnitFactor_0=t.D,C=o._emscripten_bind_PeUnit_getCode_0=t.E,G=o._emscripten_bind_PeUnit_getName_1=t.F,I=o._emscripten_bind_PeUnit_getType_0=t.G,L=o._emscripten_bind_VoidPtr___destroy___0=t.H,U=o._emscripten_bind_PeAngunit_getCode_0=t.I,w=o._emscripten_bind_PeAngunit_getName_1=t.J,F=o._emscripten_bind_PeAngunit_getType_0=t.K,Y=o._emscripten_bind_PeAngunit_getUnitFactor_0=t.L,X=o._emscripten_bind_PeDatum_getSpheroid_0=t.M,x=o._emscripten_bind_PeDatum_getCode_0=t.N,H=o._emscripten_bind_PeDatum_getName_1=t.O,z=o._emscripten_bind_PeDatum_getType_0=t.P,Z=o._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=t.Q,W=o._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=t.R,B=o._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=t.S,q=o._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=t.T,K=o._emscripten_bind_PeDefs_get_PE_DD_MAX_0=t.U,k=o._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=t.V,V=o._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=t.W,$=o._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=t.X,J=o._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=t.Y,Q=o._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=t.Z,tt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=t._,et=o._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=t.$,ot=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=t.aa,rt=o._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=t.ba,_t=o._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=t.ca,pt=o._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=t.da,nt=o._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=t.ea,it=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=t.fa,ct=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=t.ga,at=o._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=t.ha,yt=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=t.ia,st=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=t.ja,Pt=o._emscripten_bind_PeDefs_get_PE_PARM_X0_0=t.ka,gt=o._emscripten_bind_PeDefs_get_PE_PARM_ND_0=t.la,ut=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=t.ma,ft=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=t.na,bt=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=t.oa,Et=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=t.pa,dt=o._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=t.qa,Tt=o._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=t.ra,Ot=o._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=t.sa,mt=o._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=t.ta,ht=o._emscripten_bind_PeDouble_PeDouble_1=t.ua,St=o._emscripten_bind_PeDouble_get_val_0=t.va,Nt=o._emscripten_bind_PeDouble_set_val_1=t.wa,lt=o._emscripten_bind_PeDouble___destroy___0=t.xa,vt=o._emscripten_bind_PeFactory_initialize_1=t.ya,Mt=o._emscripten_bind_PeFactory_factoryByType_2=t.za,jt=o._emscripten_bind_PeFactory_fromString_2=t.Aa,Dt=o._emscripten_bind_PeFactory_getCode_1=t.Ba,At=o._emscripten_bind_PeGCSExtent_PeGCSExtent_6=t.Ca,Rt=o._emscripten_bind_PeGCSExtent_getLLon_0=t.Da,Ct=o._emscripten_bind_PeGCSExtent_getSLat_0=t.Ea,Gt=o._emscripten_bind_PeGCSExtent_getRLon_0=t.Fa,It=o._emscripten_bind_PeGCSExtent_getNLat_0=t.Ga,Lt=o._emscripten_bind_PeGCSExtent___destroy___0=t.Ha,Ut=o._emscripten_bind_PeGeogcs_Delete_0=t.Ia,wt=o._emscripten_bind_PeGeogcs_cloneAlterUnits_1=t.Ja,Ft=o._emscripten_bind_PeGeogcs_getDatum_0=t.Ka,Yt=o._emscripten_bind_PeGeogcs_getPrimem_0=t.La,Xt=o._emscripten_bind_PeGeogcs_getUnit_0=t.Ma,xt=o._emscripten_bind_PeGeogcs_isEqual_1=t.Na,Ht=o._emscripten_bind_PeGeogcs_getCode_0=t.Oa,zt=o._emscripten_bind_PeGeogcs_getName_1=t.Pa,Zt=o._emscripten_bind_PeGeogcs_getType_0=t.Qa,Wt=o._emscripten_bind_PeGeogtran_isEqual_1=t.Ra,Bt=o._emscripten_bind_PeGeogtran_getGeogcs1_0=t.Sa,qt=o._emscripten_bind_PeGeogtran_getGeogcs2_0=t.Ta,Kt=o._emscripten_bind_PeGeogtran_getParameters_0=t.Ua,kt=o._emscripten_bind_PeGeogtran_loadConstants_0=t.Va,Vt=o._emscripten_bind_PeGeogtran_getCode_0=t.Wa,$t=o._emscripten_bind_PeGeogtran_getName_1=t.Xa,Jt=o._emscripten_bind_PeGeogtran_getType_0=t.Ya,Qt=o._emscripten_bind_PeGTlistExtended_getGTlist_6=t.Za,te=o._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=t._a,ee=o._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=t.$a,oe=o._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=t.ab,re=o._emscripten_bind_PeGTlistExtendedEntry_Delete_1=t.bb,_e=o._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=t.cb,pe=o._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=t.db,ne=o._emscripten_bind_PeHorizon_getNump_0=t.eb,ie=o._emscripten_bind_PeHorizon_getKind_0=t.fb,ce=o._emscripten_bind_PeHorizon_getInclusive_0=t.gb,ae=o._emscripten_bind_PeHorizon_getSize_0=t.hb,ye=o._emscripten_bind_PeHorizon_getCoord_0=t.ib,se=o._emscripten_bind_PeInteger_PeInteger_1=t.jb,Pe=o._emscripten_bind_PeInteger_get_val_0=t.kb,ge=o._emscripten_bind_PeInteger_set_val_1=t.lb,ue=o._emscripten_bind_PeInteger___destroy___0=t.mb,fe=o._emscripten_bind_PeLineType_geodetic_distance_10=t.nb,be=o._emscripten_bind_PeLineType_geodetic_coordinate_9=t.ob,Ee=o._emscripten_bind_PeLineType_geodesic_coordinate_8=t.pb,de=o._emscripten_bind_PeLineType_great_elliptic_distance_9=t.qb,Te=o._emscripten_bind_PeMath_phi_to_eta_2=t.rb,Oe=o._emscripten_bind_PeMath_eta_to_phi_2=t.sb,me=o._emscripten_bind_PeMath_phi_to_phig_2=t.tb,he=o._emscripten_bind_PeMath_q_3=t.ub,Se=o._emscripten_bind_PeMath_q90_2=t.vb,Ne=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=t.wb,le=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=t.xb,ve=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=t.yb,Me=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=t.zb,je=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=t.Ab,De=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=t.Bb,Ae=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=t.Cb,Re=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=t.Db,Ce=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=t.Eb,Ge=o._emscripten_bind_PeParameter_getValue_0=t.Fb,Ie=o._emscripten_bind_PeParameter_getCode_0=t.Gb,Le=o._emscripten_bind_PeParameter_getName_1=t.Hb,Ue=o._emscripten_bind_PeParameter_getType_0=t.Ib,we=o._emscripten_bind_PePCSInfo_getCentralMeridian_0=t.Jb,Fe=o._emscripten_bind_PePCSInfo_getDomainMinx_0=t.Kb,Ye=o._emscripten_bind_PePCSInfo_getDomainMiny_0=t.Lb,Xe=o._emscripten_bind_PePCSInfo_getDomainMaxx_0=t.Mb,xe=o._emscripten_bind_PePCSInfo_getDomainMaxy_0=t.Nb,He=o._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=t.Ob,ze=o._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=t.Pb,Ze=o._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=t.Qb,We=o._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=t.Rb,Be=o._emscripten_bind_PePCSInfo_isDensificationNeeded_0=t.Sb,qe=o._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=t.Tb,Ke=o._emscripten_bind_PePCSInfo_isPannableRectangle_0=t.Ub,ke=o._emscripten_bind_PePCSInfo_generate_2=t.Vb,Ve=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=t.Wb,$e=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=t.Xb,Je=o._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=t.Yb,Qe=o._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=t.Zb,to=o._emscripten_bind_PePrimem_getLongitude_0=t._b,eo=o._emscripten_bind_PePrimem_getCode_0=t.$b,oo=o._emscripten_bind_PePrimem_getName_1=t.ac,ro=o._emscripten_bind_PePrimem_getType_0=t.bc,_o=o._emscripten_bind_PeProjcs_Delete_0=t.cc,po=o._emscripten_bind_PeProjcs_getGeogcs_0=t.dc,no=o._emscripten_bind_PeProjcs_getProjection_0=t.ec,io=o._emscripten_bind_PeProjcs_getParameters_0=t.fc,co=o._emscripten_bind_PeProjcs_getUnit_0=t.gc,ao=o._emscripten_bind_PeProjcs_loadConstants_0=t.hc,yo=o._emscripten_bind_PeProjcs_horizonGcsGenerate_0=t.ic,so=o._emscripten_bind_PeProjcs_horizonPcsGenerate_0=t.jc,Po=o._emscripten_bind_PeProjcs_isEqual_1=t.kc,go=o._emscripten_bind_PeProjcs_getCode_0=t.lc,uo=o._emscripten_bind_PeProjcs_getName_1=t.mc,fo=o._emscripten_bind_PeProjcs_getType_0=t.nc,bo=o._emscripten_bind_PeSpheroid_getAxis_0=t.oc,Eo=o._emscripten_bind_PeSpheroid_getFlattening_0=t.pc,To=o._emscripten_bind_PeSpheroid_getCode_0=t.qc,Oo=o._emscripten_bind_PeSpheroid_getName_1=t.rc,mo=o._emscripten_bind_PeSpheroid_getType_0=t.sc,ho=o._emscripten_bind_PeVersion_version_string_0=t.tc,o._pe_getPeGTlistExtendedEntrySize=t.uc,o._pe_getPeGTlistExtendedGTsSize=t.vc,o._pe_getPeHorizonSize=t.wc,o._pe_geog_to_geog=t.xc,o._pe_geog_to_proj=t.yc,o._pe_geog_to_dd=t.zc,o._pe_dd_to_geog=t.Ac,o._pe_geog_to_ddm=t.Bc,o._pe_ddm_to_geog=t.Cc,o._pe_geog_to_dms=t.Dc,o._pe_dms_to_geog=t.Ec,o._pe_geog_to_mgrs_extended=t.Fc,o._pe_mgrs_to_geog_extended=t.Gc,o._pe_geog_to_usng=t.Hc,o._pe_usng_to_geog=t.Ic,o._pe_geog_to_utm=t.Jc,o._pe_utm_to_geog=t.Kc,o._pe_object_to_string_ext=t.Lc,o._pe_object_is_wkt2_needed=t.Mc,o._pe_proj_to_geog_center=t.Nc,So=t.s,t.__indirect_function_table}o.getValue=function(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return n[t];case"i16":return c[t>>1];case"i32":return a[t>>2];case"i64":return g[t>>3];case"float":return s[t>>2];case"double":return P[t>>3];case"*":return y[t>>2];default:m(`invalid type for getValue: ${e}`)}},o.UTF8ToString=vo;var Yo,Xo={c:function(t,e,o){return 0},o:(t,e,o)=>{},i:function(t,e,o){return 0},d:function(t,e,o,r){},m:t=>{},l:(t,e)=>{},n:(t,e,o)=>{},j:()=>m(""),p:function(t,e){t=(t=>t<-9007199254740992||t>9007199254740992?NaN:Number(t))(t);var o=new Date(1e3*t);a[e>>2]=o.getSeconds(),a[e+4>>2]=o.getMinutes(),a[e+8>>2]=o.getHours(),a[e+12>>2]=o.getDate(),a[e+16>>2]=o.getMonth(),a[e+20>>2]=o.getFullYear()-1900,a[e+24>>2]=o.getDay();var r=0|(t=>((t=>t%4==0&&(t%100!=0||t%400==0))(t.getFullYear())?Mo:jo)[t.getMonth()]+t.getDate()-1)(o);a[e+28>>2]=r,a[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));a[e+32>>2]=i},q:(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),s=Math.max(i,c);y[t>>2]=60*s,a[e>>2]=Number(i!=c);var P=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},g=P(i),u=P(c);c<i?(Ao(g,o,17),Ao(u,r,17)):(Ao(g,r,17),Ao(u,o,17))},r:()=>Date.now(),k:t=>{var e=i.length,o=2147483648;if((t>>>=0)>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,Ro(Math.max(t,_),65536));if(Co(p))return!0}return!1},f:(t,e)=>{var o=0,r=0;for(var _ of Io()){var p=e+o;y[t+r>>2]=p,o+=Ao(_,p,1/0)+1,r+=4}return 0},g:(t,e)=>{var o=Io();y[t>>2]=o.length;var r=0;for(var _ of o)r+=Lo(_)+1;return y[e>>2]=r,0},a:t=>52,h:(t,e,o,r)=>52,e:function(t,e,o,r){return 70},b:(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=y[e>>2],c=y[e+4>>2];e+=8;for(var a=0;a<c;a++)wo(t,i[n+a]);_+=c}return y[r>>2]=_,0}};function xo(){}function Ho(t){return(t||xo).__cache__}function zo(t,e){var o=Ho(e),r=o[t];return r||((r=Object.create((e||xo).prototype)).ptr=t,o[t]=r)}Yo=await async function(){var t={a:Xo};return d??=h(),function(t){return function(t){return Fo(Yo=t.exports),O(),Yo}(t.instance)}(await async function(t,e,o){try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(t){f(`wasm streaming compile failed: ${t}`),f("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var o=await S(t);return await WebAssembly.instantiate(o,e)}catch(t){f(`failed to asynchronously prepare wasm: ${t}`),m(t)}}(e,o)}(0,d,t))}(),o.calledRun=!0,b||(T=!0,(t=>{for(;t.length>0;)t.shift()(o)})([]),Yo.t(),_?.(o)),xo.prototype=Object.create(xo.prototype),xo.prototype.constructor=xo,xo.prototype.__class__=xo,xo.__cache__={},o.WrapperObject=xo,o.getCache=Ho,o.wrapPointer=zo,o.castObject=function(t,e){return zo(t.ptr,e)},o.NULL=zo(0),o.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Ho(t.__class__)[t.ptr]},o.compare=function(t,e){return t.ptr===e.ptr},o.getPointer=function(t){return t.ptr},o.getClass=function(t){return t.__class__};var Zo={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(Zo.needed){for(var t=0;t<Zo.temps.length;t++)o._webidl_free(Zo.temps[t]);Zo.temps.length=0,o._webidl_free(Zo.buffer),Zo.buffer=0,Zo.size+=Zo.needed,Zo.needed=0}Zo.buffer||(Zo.size+=128,Zo.buffer=o._webidl_malloc(Zo.size),E(Zo.buffer)),Zo.pos=0},alloc(t,e){E(Zo.buffer);var r,_=e.BYTES_PER_ELEMENT,p=t.length*_;return p=Ro(p,8),Zo.pos+p>=Zo.size?(E(p>0),Zo.needed+=p,r=o._webidl_malloc(p),Zo.temps.push(r)):(r=Zo.buffer+Zo.pos,Zo.pos+=p),r}};function Wo(t){if("string"==typeof t){for(var e=(t=>{var e=Lo(t)+1,o=new Array(e);return Do(t,o,0,o.length),o})(t),o=Zo.alloc(e,n),r=0;r<e.length;r++)n[o+r]=e[r];return o}return t}function Bo(t){if("object"==typeof t){for(var e=Zo.alloc(t,n),o=0;o<t.length;o++)n[e+o]=t[o];return e}return t}function qo(){throw"cannot construct a PeObject, no constructor in IDL"}function Ko(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function ko(){throw"cannot construct a PeUnit, no constructor in IDL"}function Vo(){throw"cannot construct a VoidPtr, no constructor in IDL"}function $o(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Jo(){throw"cannot construct a PeDatum, no constructor in IDL"}function Qo(){throw"cannot construct a PeDefs, no constructor in IDL"}function tr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=ht(t),Ho(tr)[this.ptr]=this}function er(){throw"cannot construct a PeFactory, no constructor in IDL"}function or(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=At(t,e,o,r,_,p),Ho(or)[this.ptr]=this}function rr(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function _r(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function pr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function nr(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function ir(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function cr(){throw"cannot construct a PeHorizon, no constructor in IDL"}function ar(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=se(t),Ho(ar)[this.ptr]=this}function yr(){throw"cannot construct a PeLineType, no constructor in IDL"}function sr(){throw"cannot construct a PeMath, no constructor in IDL"}function Pr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function gr(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function ur(){throw"cannot construct a PeParameter, no constructor in IDL"}function fr(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function br(){throw"cannot construct a PePrimem, no constructor in IDL"}function Er(){throw"cannot construct a PeProjcs, no constructor in IDL"}function dr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Tr(){throw"cannot construct a PeVersion, no constructor in IDL"}return qo.prototype=Object.create(xo.prototype),qo.prototype.constructor=qo,qo.prototype.__class__=qo,qo.__cache__={},o.PeObject=qo,qo.prototype.getCode=qo.prototype.getCode=function(){var t=this.ptr;return N(t)},qo.prototype.getName=qo.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(l(e,t))},qo.prototype.getType=qo.prototype.getType=function(){var t=this.ptr;return v(t)},Ko.prototype=Object.create(qo.prototype),Ko.prototype.constructor=Ko,Ko.prototype.__class__=Ko,Ko.__cache__={},o.PeCoordsys=Ko,Ko.prototype.isEqual=Ko.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!M(e,t)},Ko.prototype.getCode=Ko.prototype.getCode=function(){var t=this.ptr;return j(t)},Ko.prototype.getName=Ko.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(D(e,t))},Ko.prototype.getType=Ko.prototype.getType=function(){var t=this.ptr;return A(t)},ko.prototype=Object.create(qo.prototype),ko.prototype.constructor=ko,ko.prototype.__class__=ko,ko.__cache__={},o.PeUnit=ko,ko.prototype.getUnitFactor=ko.prototype.getUnitFactor=function(){var t=this.ptr;return R(t)},ko.prototype.getCode=ko.prototype.getCode=function(){var t=this.ptr;return C(t)},ko.prototype.getName=ko.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(G(e,t))},ko.prototype.getType=ko.prototype.getType=function(){var t=this.ptr;return I(t)},Vo.prototype=Object.create(xo.prototype),Vo.prototype.constructor=Vo,Vo.prototype.__class__=Vo,Vo.__cache__={},o.VoidPtr=Vo,Vo.prototype.__destroy__=Vo.prototype.__destroy__=function(){var t=this.ptr;L(t)},$o.prototype=Object.create(ko.prototype),$o.prototype.constructor=$o,$o.prototype.__class__=$o,$o.__cache__={},o.PeAngunit=$o,$o.prototype.getCode=$o.prototype.getCode=function(){var t=this.ptr;return U(t)},$o.prototype.getName=$o.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(w(e,t))},$o.prototype.getType=$o.prototype.getType=function(){var t=this.ptr;return F(t)},$o.prototype.getUnitFactor=$o.prototype.getUnitFactor=function(){var t=this.ptr;return Y(t)},Jo.prototype=Object.create(qo.prototype),Jo.prototype.constructor=Jo,Jo.prototype.__class__=Jo,Jo.__cache__={},o.PeDatum=Jo,Jo.prototype.getSpheroid=Jo.prototype.getSpheroid=function(){var t=this.ptr;return zo(X(t),dr)},Jo.prototype.getCode=Jo.prototype.getCode=function(){var t=this.ptr;return x(t)},Jo.prototype.getName=Jo.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(H(e,t))},Jo.prototype.getType=Jo.prototype.getType=function(){var t=this.ptr;return z(t)},Qo.prototype=Object.create(xo.prototype),Qo.prototype.constructor=Qo,Qo.prototype.__class__=Qo,Qo.__cache__={},o.PeDefs=Qo,Qo.prototype.get_PE_BUFFER_MAX=Qo.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return Z(t)},Object.defineProperty(Qo.prototype,"PE_BUFFER_MAX",{get:Qo.prototype.get_PE_BUFFER_MAX}),Qo.prototype.get_PE_NAME_MAX=Qo.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return W(t)},Object.defineProperty(Qo.prototype,"PE_NAME_MAX",{get:Qo.prototype.get_PE_NAME_MAX}),Qo.prototype.get_PE_MGRS_MAX=Qo.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return B(t)},Object.defineProperty(Qo.prototype,"PE_MGRS_MAX",{get:Qo.prototype.get_PE_MGRS_MAX}),Qo.prototype.get_PE_USNG_MAX=Qo.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return q(t)},Object.defineProperty(Qo.prototype,"PE_USNG_MAX",{get:Qo.prototype.get_PE_USNG_MAX}),Qo.prototype.get_PE_DD_MAX=Qo.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return K(t)},Object.defineProperty(Qo.prototype,"PE_DD_MAX",{get:Qo.prototype.get_PE_DD_MAX}),Qo.prototype.get_PE_DMS_MAX=Qo.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return k(t)},Object.defineProperty(Qo.prototype,"PE_DMS_MAX",{get:Qo.prototype.get_PE_DMS_MAX}),Qo.prototype.get_PE_DDM_MAX=Qo.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return V(t)},Object.defineProperty(Qo.prototype,"PE_DDM_MAX",{get:Qo.prototype.get_PE_DDM_MAX}),Qo.prototype.get_PE_UTM_MAX=Qo.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return $(t)},Object.defineProperty(Qo.prototype,"PE_UTM_MAX",{get:Qo.prototype.get_PE_UTM_MAX}),Qo.prototype.get_PE_PARM_MAX=Qo.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return J(t)},Object.defineProperty(Qo.prototype,"PE_PARM_MAX",{get:Qo.prototype.get_PE_PARM_MAX}),Qo.prototype.get_PE_TYPE_NONE=Qo.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return Q(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_NONE",{get:Qo.prototype.get_PE_TYPE_NONE}),Qo.prototype.get_PE_TYPE_GEOGCS=Qo.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return tt(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_GEOGCS",{get:Qo.prototype.get_PE_TYPE_GEOGCS}),Qo.prototype.get_PE_TYPE_PROJCS=Qo.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return et(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_PROJCS",{get:Qo.prototype.get_PE_TYPE_PROJCS}),Qo.prototype.get_PE_TYPE_GEOGTRAN=Qo.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return ot(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_GEOGTRAN",{get:Qo.prototype.get_PE_TYPE_GEOGTRAN}),Qo.prototype.get_PE_TYPE_COORDSYS=Qo.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return rt(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_COORDSYS",{get:Qo.prototype.get_PE_TYPE_COORDSYS}),Qo.prototype.get_PE_TYPE_UNIT=Qo.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return _t(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_UNIT",{get:Qo.prototype.get_PE_TYPE_UNIT}),Qo.prototype.get_PE_TYPE_LINUNIT=Qo.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return pt(t)},Object.defineProperty(Qo.prototype,"PE_TYPE_LINUNIT",{get:Qo.prototype.get_PE_TYPE_LINUNIT}),Qo.prototype.get_PE_STR_OPTS_NONE=Qo.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return nt(t)},Object.defineProperty(Qo.prototype,"PE_STR_OPTS_NONE",{get:Qo.prototype.get_PE_STR_OPTS_NONE}),Qo.prototype.get_PE_STR_AUTH_NONE=Qo.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return it(t)},Object.defineProperty(Qo.prototype,"PE_STR_AUTH_NONE",{get:Qo.prototype.get_PE_STR_AUTH_NONE}),Qo.prototype.get_PE_STR_AUTH_TOP=Qo.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return ct(t)},Object.defineProperty(Qo.prototype,"PE_STR_AUTH_TOP",{get:Qo.prototype.get_PE_STR_AUTH_TOP}),Qo.prototype.get_PE_STR_NAME_CANON=Qo.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return at(t)},Object.defineProperty(Qo.prototype,"PE_STR_NAME_CANON",{get:Qo.prototype.get_PE_STR_NAME_CANON}),Qo.prototype.get_PE_STR_FMT_WKT=Qo.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return yt(t)},Object.defineProperty(Qo.prototype,"PE_STR_FMT_WKT",{get:Qo.prototype.get_PE_STR_FMT_WKT}),Qo.prototype.get_PE_STR_FMT_WKT2=Qo.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return st(t)},Object.defineProperty(Qo.prototype,"PE_STR_FMT_WKT2",{get:Qo.prototype.get_PE_STR_FMT_WKT2}),Qo.prototype.get_PE_PARM_X0=Qo.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return Pt(t)},Object.defineProperty(Qo.prototype,"PE_PARM_X0",{get:Qo.prototype.get_PE_PARM_X0}),Qo.prototype.get_PE_PARM_ND=Qo.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return gt(t)},Object.defineProperty(Qo.prototype,"PE_PARM_ND",{get:Qo.prototype.get_PE_PARM_ND}),Qo.prototype.get_PE_TRANSFORM_1_TO_2=Qo.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return ut(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_1_TO_2",{get:Qo.prototype.get_PE_TRANSFORM_1_TO_2}),Qo.prototype.get_PE_TRANSFORM_2_TO_1=Qo.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return ft(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_2_TO_1",{get:Qo.prototype.get_PE_TRANSFORM_2_TO_1}),Qo.prototype.get_PE_TRANSFORM_P_TO_G=Qo.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return bt(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_P_TO_G",{get:Qo.prototype.get_PE_TRANSFORM_P_TO_G}),Qo.prototype.get_PE_TRANSFORM_G_TO_P=Qo.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Et(t)},Object.defineProperty(Qo.prototype,"PE_TRANSFORM_G_TO_P",{get:Qo.prototype.get_PE_TRANSFORM_G_TO_P}),Qo.prototype.get_PE_HORIZON_RECT=Qo.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return dt(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_RECT",{get:Qo.prototype.get_PE_HORIZON_RECT}),Qo.prototype.get_PE_HORIZON_POLY=Qo.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return Tt(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_POLY",{get:Qo.prototype.get_PE_HORIZON_POLY}),Qo.prototype.get_PE_HORIZON_LINE=Qo.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return Ot(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_LINE",{get:Qo.prototype.get_PE_HORIZON_LINE}),Qo.prototype.get_PE_HORIZON_DELTA=Qo.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return mt(t)},Object.defineProperty(Qo.prototype,"PE_HORIZON_DELTA",{get:Qo.prototype.get_PE_HORIZON_DELTA}),tr.prototype=Object.create(xo.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},o.PeDouble=tr,tr.prototype.get_val=tr.prototype.get_val=function(){var t=this.ptr;return St(t)},tr.prototype.set_val=tr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Nt(e,t)},Object.defineProperty(tr.prototype,"val",{get:tr.prototype.get_val,set:tr.prototype.set_val}),tr.prototype.__destroy__=tr.prototype.__destroy__=function(){var t=this.ptr;lt(t)},er.prototype=Object.create(xo.prototype),er.prototype.constructor=er,er.prototype.__class__=er,er.__cache__={},o.PeFactory=er,er.prototype.initialize=er.prototype.initialize=function(t){Zo.prepare(),t=t&&"object"==typeof t?t.ptr:Wo(t),vt(t)},er.prototype.factoryByType=er.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zo(Mt(t,e),qo)},er.prototype.fromString=er.prototype.fromString=function(t,e){return Zo.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:Wo(e),zo(jt(t,e),qo)},er.prototype.getCode=er.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),Dt(t)},or.prototype=Object.create(xo.prototype),or.prototype.constructor=or,or.prototype.__class__=or,or.__cache__={},o.PeGCSExtent=or,or.prototype.getLLon=or.prototype.getLLon=function(){var t=this.ptr;return Rt(t)},or.prototype.getSLat=or.prototype.getSLat=function(){var t=this.ptr;return Ct(t)},or.prototype.getRLon=or.prototype.getRLon=function(){var t=this.ptr;return Gt(t)},or.prototype.getNLat=or.prototype.getNLat=function(){var t=this.ptr;return It(t)},or.prototype.__destroy__=or.prototype.__destroy__=function(){var t=this.ptr;Lt(t)},rr.prototype=Object.create(Ko.prototype),rr.prototype.constructor=rr,rr.prototype.__class__=rr,rr.__cache__={},o.PeGeogcs=rr,rr.prototype.Delete=rr.prototype.Delete=function(){var t=this.ptr;Ut(t)},rr.prototype.cloneAlterUnits=rr.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),zo(wt(e,t),rr)},rr.prototype.getDatum=rr.prototype.getDatum=function(){var t=this.ptr;return zo(Ft(t),Jo)},rr.prototype.getPrimem=rr.prototype.getPrimem=function(){var t=this.ptr;return zo(Yt(t),br)},rr.prototype.getUnit=rr.prototype.getUnit=function(){var t=this.ptr;return zo(Xt(t),$o)},rr.prototype.isEqual=rr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!xt(e,t)},rr.prototype.getCode=rr.prototype.getCode=function(){var t=this.ptr;return Ht(t)},rr.prototype.getName=rr.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(zt(e,t))},rr.prototype.getType=rr.prototype.getType=function(){var t=this.ptr;return Zt(t)},_r.prototype=Object.create(qo.prototype),_r.prototype.constructor=_r,_r.prototype.__class__=_r,_r.__cache__={},o.PeGeogtran=_r,_r.prototype.isEqual=_r.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Wt(e,t)},_r.prototype.getGeogcs1=_r.prototype.getGeogcs1=function(){var t=this.ptr;return zo(Bt(t),rr)},_r.prototype.getGeogcs2=_r.prototype.getGeogcs2=function(){var t=this.ptr;return zo(qt(t),rr)},_r.prototype.getParameters=_r.prototype.getParameters=function(){var t=this.ptr;return Kt(t)},_r.prototype.loadConstants=_r.prototype.loadConstants=function(){var t=this.ptr;return!!kt(t)},_r.prototype.getCode=_r.prototype.getCode=function(){var t=this.ptr;return Vt(t)},_r.prototype.getName=_r.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo($t(e,t))},_r.prototype.getType=_r.prototype.getType=function(){var t=this.ptr;return Jt(t)},pr.prototype=Object.create(xo.prototype),pr.prototype.constructor=pr,pr.prototype.__class__=pr,pr.__cache__={},o.PeGTlistExtended=pr,pr.prototype.getGTlist=pr.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),zo(Qt(t,e,o,r,_,p),nr)},pr.prototype.get_PE_GTLIST_OPTS_COMMON=pr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return te(t)},Object.defineProperty(pr.prototype,"PE_GTLIST_OPTS_COMMON",{get:pr.prototype.get_PE_GTLIST_OPTS_COMMON}),nr.prototype=Object.create(xo.prototype),nr.prototype.constructor=nr,nr.prototype.__class__=nr,nr.__cache__={},o.PeGTlistExtendedEntry=nr,nr.prototype.getEntries=nr.prototype.getEntries=function(){var t=this.ptr;return zo(ee(t),ir)},nr.prototype.getSteps=nr.prototype.getSteps=function(){var t=this.ptr;return oe(t)},nr.prototype.Delete=nr.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),re(t)},ir.prototype=Object.create(xo.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},o.PeGTlistExtendedGTs=ir,ir.prototype.getDirection=ir.prototype.getDirection=function(){var t=this.ptr;return _e(t)},ir.prototype.getGeogtran=ir.prototype.getGeogtran=function(){var t=this.ptr;return zo(pe(t),_r)},cr.prototype=Object.create(xo.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},o.PeHorizon=cr,cr.prototype.getNump=cr.prototype.getNump=function(){var t=this.ptr;return ne(t)},cr.prototype.getKind=cr.prototype.getKind=function(){var t=this.ptr;return ie(t)},cr.prototype.getInclusive=cr.prototype.getInclusive=function(){var t=this.ptr;return ce(t)},cr.prototype.getSize=cr.prototype.getSize=function(){var t=this.ptr;return ae(t)},cr.prototype.getCoord=cr.prototype.getCoord=function(){var t=this.ptr;return ye(t)},ar.prototype=Object.create(xo.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},o.PeInteger=ar,ar.prototype.get_val=ar.prototype.get_val=function(){var t=this.ptr;return Pe(t)},ar.prototype.set_val=ar.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),ge(e,t)},Object.defineProperty(ar.prototype,"val",{get:ar.prototype.get_val,set:ar.prototype.set_val}),ar.prototype.__destroy__=ar.prototype.__destroy__=function(){var t=this.ptr;ue(t)},yr.prototype=Object.create(xo.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},o.PeLineType=yr,yr.prototype.geodetic_distance=yr.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),fe(t,e,o,r,_,p,n,i,c,a)},yr.prototype.geodetic_coordinate=yr.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),be(t,e,o,r,_,p,n,i,c)},yr.prototype.geodesic_coordinate=yr.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),Ee(t,e,o,r,_,p,n,i)},yr.prototype.great_elliptic_distance=yr.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),de(t,e,o,r,_,p,n,i,c)},sr.prototype=Object.create(xo.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},o.PeMath=sr,sr.prototype.phi_to_eta=sr.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Te(t,e)},sr.prototype.eta_to_phi=sr.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Oe(t,e)},sr.prototype.phi_to_phig=sr.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),me(t,e)},sr.prototype.q=sr.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),he(t,e,o)},sr.prototype.q90=sr.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Se(t,e)},Pr.prototype=Object.create(xo.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},o.PeNotationMgrs=Pr,Pr.prototype.get_PE_MGRS_STYLE_NEW=Pr.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return Ne(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_STYLE_NEW",{get:Pr.prototype.get_PE_MGRS_STYLE_NEW}),Pr.prototype.get_PE_MGRS_STYLE_OLD=Pr.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return le(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_STYLE_OLD",{get:Pr.prototype.get_PE_MGRS_STYLE_OLD}),Pr.prototype.get_PE_MGRS_STYLE_AUTO=Pr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return ve(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_STYLE_AUTO",{get:Pr.prototype.get_PE_MGRS_STYLE_AUTO}),Pr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=Pr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return Me(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:Pr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),Pr.prototype.get_PE_MGRS_ADD_SPACES=Pr.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return je(t)},Object.defineProperty(Pr.prototype,"PE_MGRS_ADD_SPACES",{get:Pr.prototype.get_PE_MGRS_ADD_SPACES}),gr.prototype=Object.create(xo.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},o.PeNotationUtm=gr,gr.prototype.get_PE_UTM_OPTS_NONE=gr.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return De(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_NONE",{get:gr.prototype.get_PE_UTM_OPTS_NONE}),gr.prototype.get_PE_UTM_OPTS_NS=gr.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return Ae(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_NS",{get:gr.prototype.get_PE_UTM_OPTS_NS}),gr.prototype.get_PE_UTM_OPTS_NS_STRICT=gr.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return Re(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_NS_STRICT",{get:gr.prototype.get_PE_UTM_OPTS_NS_STRICT}),gr.prototype.get_PE_UTM_OPTS_ADD_SPACES=gr.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return Ce(t)},Object.defineProperty(gr.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:gr.prototype.get_PE_UTM_OPTS_ADD_SPACES}),ur.prototype=Object.create(qo.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},o.PeParameter=ur,ur.prototype.getValue=ur.prototype.getValue=function(){var t=this.ptr;return Ge(t)},ur.prototype.getCode=ur.prototype.getCode=function(){var t=this.ptr;return Ie(t)},ur.prototype.getName=ur.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(Le(e,t))},ur.prototype.getType=ur.prototype.getType=function(){var t=this.ptr;return Ue(t)},fr.prototype=Object.create(xo.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},o.PePCSInfo=fr,fr.prototype.getCentralMeridian=fr.prototype.getCentralMeridian=function(){var t=this.ptr;return we(t)},fr.prototype.getDomainMinx=fr.prototype.getDomainMinx=function(){var t=this.ptr;return Fe(t)},fr.prototype.getDomainMiny=fr.prototype.getDomainMiny=function(){var t=this.ptr;return Ye(t)},fr.prototype.getDomainMaxx=fr.prototype.getDomainMaxx=function(){var t=this.ptr;return Xe(t)},fr.prototype.getDomainMaxy=fr.prototype.getDomainMaxy=function(){var t=this.ptr;return xe(t)},fr.prototype.getNorthPoleLocation=fr.prototype.getNorthPoleLocation=function(){var t=this.ptr;return He(t)},fr.prototype.getNorthPoleGeometry=fr.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return ze(t)},fr.prototype.getSouthPoleLocation=fr.prototype.getSouthPoleLocation=function(){var t=this.ptr;return Ze(t)},fr.prototype.getSouthPoleGeometry=fr.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return We(t)},fr.prototype.isDensificationNeeded=fr.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!Be(t)},fr.prototype.isGcsHorizonMultiOverlap=fr.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!qe(t)},fr.prototype.isPannableRectangle=fr.prototype.isPannableRectangle=function(){var t=this.ptr;return!!Ke(t)},fr.prototype.generate=fr.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),zo(ke(t,e),fr)},fr.prototype.get_PE_PCSINFO_OPTION_NONE=fr.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return Ve(t)},Object.defineProperty(fr.prototype,"PE_PCSINFO_OPTION_NONE",{get:fr.prototype.get_PE_PCSINFO_OPTION_NONE}),fr.prototype.get_PE_PCSINFO_OPTION_DOMAIN=fr.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return $e(t)},Object.defineProperty(fr.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:fr.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),fr.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=fr.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return Je(t)},Object.defineProperty(fr.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:fr.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),fr.prototype.get_PE_POLE_POINT=fr.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return Qe(t)},Object.defineProperty(fr.prototype,"PE_POLE_POINT",{get:fr.prototype.get_PE_POLE_POINT}),br.prototype=Object.create(qo.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},o.PePrimem=br,br.prototype.getLongitude=br.prototype.getLongitude=function(){var t=this.ptr;return to(t)},br.prototype.getCode=br.prototype.getCode=function(){var t=this.ptr;return eo(t)},br.prototype.getName=br.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(oo(e,t))},br.prototype.getType=br.prototype.getType=function(){var t=this.ptr;return ro(t)},Er.prototype=Object.create(Ko.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},o.PeProjcs=Er,Er.prototype.Delete=Er.prototype.Delete=function(){var t=this.ptr;_o(t)},Er.prototype.getGeogcs=Er.prototype.getGeogcs=function(){var t=this.ptr;return zo(po(t),rr)},Er.prototype.getProjection=Er.prototype.getProjection=function(){var t=this.ptr;return zo(no(t),qo)},Er.prototype.getParameters=Er.prototype.getParameters=function(){var t=this.ptr;return io(t)},Er.prototype.getUnit=Er.prototype.getUnit=function(){var t=this.ptr;return zo(co(t),ko)},Er.prototype.loadConstants=Er.prototype.loadConstants=function(){var t=this.ptr;return!!ao(t)},Er.prototype.horizonGcsGenerate=Er.prototype.horizonGcsGenerate=function(){var t=this.ptr;return zo(yo(t),cr)},Er.prototype.horizonPcsGenerate=Er.prototype.horizonPcsGenerate=function(){var t=this.ptr;return zo(so(t),cr)},Er.prototype.isEqual=Er.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Po(e,t)},Er.prototype.getCode=Er.prototype.getCode=function(){var t=this.ptr;return go(t)},Er.prototype.getName=Er.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(uo(e,t))},Er.prototype.getType=Er.prototype.getType=function(){var t=this.ptr;return fo(t)},dr.prototype=Object.create(qo.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},o.PeSpheroid=dr,dr.prototype.getAxis=dr.prototype.getAxis=function(){var t=this.ptr;return bo(t)},dr.prototype.getFlattening=dr.prototype.getFlattening=function(){var t=this.ptr;return Eo(t)},dr.prototype.getCode=dr.prototype.getCode=function(){var t=this.ptr;return To(t)},dr.prototype.getName=dr.prototype.getName=function(t){var e=this.ptr;return Zo.prepare(),"object"==typeof t&&(t=Bo(t)),vo(Oo(e,t))},dr.prototype.getType=dr.prototype.getType=function(){var t=this.ptr;return mo(t)},Tr.prototype=Object.create(xo.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},o.PeVersion=Tr,Tr.prototype.version_string=Tr.prototype.version_string=function(){var t=this.ptr;return vo(ho(t))},o.ensureCache=Zo,o.ensureString=Wo,o.ensureInt8=Bo,o.ensureInt16=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,c),o=e/2,r=0;r<t.length;r++)c[o+r]=t[r];return e}return t},o.ensureInt32=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,a),o=e/4,r=0;r<t.length;r++)a[o+r]=t[r];return e}return t},o.ensureFloat32=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,s),o=e/4,r=0;r<t.length;r++)s[o+r]=t[r];return e}return t},o.ensureFloat64=function(t){if("object"==typeof t){for(var e=Zo.alloc(t,P),o=e/8,r=0;r<t.length;r++)P[o+r]=t[r];return e}return t},T?o:new Promise((t,e)=>{_=t,p=e})}o.d(e,{default:()=>r})}}]);
@@ -1,30 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8883],{73354(t,e,r){r.d(e,{a:()=>l,b:()=>m,e:()=>a,f:()=>i,g:()=>s,h:()=>d,l:()=>f,n:()=>v,t:()=>u});var n=r(40876),o=(r(44208),r(72727));function s(t,e,r){i(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function i(t,e,r,n=3,s=n){const i=(0,o.k)(t.length,n,3),a=(0,o.k)(e.length,s,3),u=Math.min(i,a),c=r[0],l=r[1],f=r[2],d=r[4],m=r[5],v=r[6],p=r[8],h=r[9],g=r[10],y=r[12],x=r[13],b=r[14];let M=0,S=0;for(let r=0;r<u;r++){const r=e[M],o=e[M+1],i=e[M+2];t[S]=c*r+d*o+p*i+y,t[S+1]=l*r+m*o+h*i+x,t[S+2]=f*r+v*o+g*i+b,M+=s,S+=n}return t}function a(t,e,r){u(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)}function u(t,e,r,n=3,s=n){const i=(0,o.k)(t.length,n,3),a=(0,o.k)(e.length,s,3),u=Math.min(i,a),c=r[0],l=r[1],f=r[2],d=r[3],m=r[4],v=r[5],p=r[6],h=r[7],g=r[8];let y=0,x=0;for(let r=0;r<u;r++){const r=e[y],o=e[y+1],i=e[y+2];t[x]=c*r+d*o+p*i,t[x+1]=l*r+m*o+h*i,t[x+2]=f*r+v*o+g*i,y+=s,x+=n}}function c(t,e,r,n=3,o=n){const s=Math.min(t.length/n,e.length/o);let i=0,a=0;for(let u=0;u<s;u++)t[a]=r*e[i],t[a+1]=r*e[i+1],t[a+2]=r*e[i+2],i+=o,a+=n;return t}function l(t,e,r,n){f(t.typedBuffer,e.typedBuffer,r,n,t.typedBufferStride,e.typedBufferStride)}function f(t,e,r,o,s=3,i=s){const a=Math.min(t.length/s,e.length/i);let u=0,c=0;const l=1/n.Tf;for(let n=0;n<a;n++)t[c]=o*(r*e[u])**l,t[c+1]=o*(r*e[u+1])**l,t[c+2]=o*(r*e[u+2])**l,u+=i,c+=s}function d(t,e,r,n=3,s=n){const i=(0,o.k)(t.length,n,3),a=(0,o.k)(e.length,s,3),u=Math.min(i,a);let c=0,l=0;for(let o=0;o<u;o++)t[l]=e[c]+r[0],t[l+1]=e[c+1]+r[1],t[l+2]=e[c+2]+r[2],c+=s,l+=n;return t}function m(t,e){v(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function v(t,e,r=3,n=r){const o=Math.min(t.length/r,e.length/n);let s=0,i=0;for(let a=0;a<o;a++){const o=e[s],a=e[s+1],u=e[s+2],c=o*o+a*a+u*u;if(c>0){const e=1/Math.sqrt(c);t[i]=e*o,t[i+1]=e*a,t[i+2]=e*u}s+=n,i+=r}}Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:f,linearToSRGBView:l,normalize:v,normalizeView:m,scale:c,scaleView:function(t,e,r){c(t.typedBuffer,e.typedBuffer,r,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,r){const n=Math.min(t.count,e.count),o=t.typedBuffer,s=t.typedBufferStride,i=e.typedBuffer,a=e.typedBufferStride;let u=0,c=0;for(let t=0;t<n;t++)o[c]=i[u]>>r,o[c+1]=i[u+1]>>r,o[c+2]=i[u+2]>>r,u+=a,c+=s},transformMat3:u,transformMat3View:a,transformMat4:i,transformMat4View:s,translate:d},Symbol.toStringTag,{value:"Module"}))},82534(t,e,r){function n(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}r.d(e,{o8:()=>o,vt:()=>n,zK:()=>s});const s=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:n,fromValues:function(t,e,r,n){return[t,e,r,n]}},Symbol.toStringTag,{value:"Module"}))},48163(t,e,r){function n(){return[0,0]}function o(t){return[t[0],t[1]]}function s(t,e){return[t,e]}function i(){return s(1,1)}function a(){return s(1,0)}function u(){return s(0,1)}r.d(e,{Un:()=>c,fA:()=>s,o8:()=>o,vt:()=>n});const c=i(),l=a(),f=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:l,UNIT_Y:f,ZEROS:[0,0],clone:o,create:n,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const r=Math.min(2,t.length);for(let n=0;n<r;++n)e[n]=t[n];return e},fromValues:s,ones:i,unitX:a,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},65806(t,e,r){r.d(e,{g:()=>i});var n=r(51850),o=r(91218),s=r(9762);function i(t,e,r,n){if((0,o.canProjectWithoutEngine)(t.spatialReference,r))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,s.projectBuffer)(a,t.spatialReference,0,e,r,0);const i=(0,o.tryProject)(t,r,n);return!!i&&(e[0]=i.x,e[1]=i.y,e[2]=i.z??0,!0)}const a=(0,n.vt)()},27993(t,e,r){r.d(e,{F:()=>a});var n=r(91218),o=r(16930),s=r(9762),i=r(65806);function a(t,e,r,o){return!(null==e||null==o||t.length<2)&&((0,n.canProjectWithoutEngine)(e,o)?(0,s.projectBuffer)(t,e,0,r,o,0,1):(u.x=t[0],u.y=t[1],u.z=t[2],u.spatialReference=e,(0,i.g)(u,r,o)))}const u={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:o.A.WGS84,type:"point"}},73836(t,e,r){r.d(e,{A:()=>m});var n=r(5482),o=r(69540),s=r(25482),i=r(91429),a=r(58083),u=r(9093),c=r(67026),l=r(82534),f=r(51850),d=r(24770);let m=class extends((0,o.OU)(s.o)){constructor(t){super(t),this.translation=(0,f.vt)(),this.rotationAxis=(0,f.ci)(d.up),this.rotationAngle=0,this.scale=(0,f.fA)(1,1,1)}get rotation(){return(0,d.i4)(this.rotationAxis,this.rotationAngle)}set rotation(t){this.rotationAxis=(0,f.o8)((0,d.yo)(t)),this.rotationAngle=(0,d.g7)(t)}get localMatrix(){const t=(0,u.vt)();return(0,c.x8)(v,(0,d.yo)(this.rotation),(0,d.$I)(this.rotation)),(0,a.o1)(t,v,this.translation,this.scale),t}get localMatrixInverse(){return(0,a.B8)((0,u.vt)(),this.localMatrix)}equals(t){return this===t||null!=t&&(0,a.t2)(this.localMatrix,t.localMatrix)}};(0,n.Cg)([(0,i.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],m.prototype,"translation",void 0),(0,n.Cg)([(0,i.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],m.prototype,"rotationAxis",void 0),(0,n.Cg)([(0,i.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],m.prototype,"rotationAngle",void 0),(0,n.Cg)([(0,i.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],m.prototype,"scale",void 0),(0,n.Cg)([(0,i.MZ)()],m.prototype,"rotation",null),(0,n.Cg)([(0,i.MZ)()],m.prototype,"localMatrix",null),(0,n.Cg)([(0,i.MZ)()],m.prototype,"localMatrixInverse",null),m=(0,n.Cg)([(0,i.$K)("esri.geometry.support.MeshTransform")],m);const v=(0,l.vt)()},24770(t,e,r){r.d(e,{$I:()=>g,AU:()=>v,Cr:()=>f,g7:()=>h,i4:()=>l,ui:()=>d,up:()=>x,vt:()=>c,yo:()=>p});var n=r(34727),o=r(58083),s=r(67026),i=r(82534),a=r(35522),u=r(51850);function c(t=x){return[t[0],t[1],t[2],t[3]]}function l(t,e,r=c()){return(0,a.C)(r,t),r[3]=e,r}function f(t,e,r){return(0,a.$A)(r,t,e),(0,a.S8)(r,r),r[3]=-(0,a.g7)(t,e),r}function d(t,e=c()){const r=(0,o.l)(b,t);return y(e,(0,n.KJ)((0,s.Xd)(e,r))),e}function m(t,e,r=c()){return(0,s.x8)(b,t,g(t)),(0,s.x8)(M,e,g(e)),(0,s.lw)(b,M,b),y(r,(0,n.KJ)((0,s.Xd)(r,b)))}function v(t,e,r,n=c()){return l(u.Cw,t,S),l(u.JP,e,_),l(u.Cb,r,w),m(S,_,S),m(S,w,n),n}function p(t){return t}function h(t){return t[3]}function g(t){return(0,n.kU)(t[3])}function y(t,e){return t[3]=e,t}const x=[0,0,1,0],b=(0,i.vt)(),M=(0,i.vt)(),S=(c(),c()),_=c(),w=c()},72727(t,e,r){function n(t,e,r){if(e<=0)return 0;const n=t-r;return n<0?0:Math.floor(n/e)+1}r.d(e,{k:()=>n}),r(53966)},27921(t,e,r){r.d(e,{$Q:()=>b,C:()=>a,Cr:()=>l,O_:()=>c,Qj:()=>u,T7:()=>y,Tj:()=>x,lU:()=>f,mN:()=>M,vE:()=>S,vt:()=>i});var n=r(34727),o=r(35522),s=r(51850);function i(t=_){return[t[0],t[1],t[2],t[3]]}function a(t,e){return function(t,e,r,n,o=i()){return o[0]=t,o[1]=e,o[2]=r,o[3]=n,o}(e[0],e[1],e[2],e[3],t)}function u(t){return t}function c(t,e,r){const n=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],o=Math.abs(n-1)>1e-5&&n>1e-12?1/Math.sqrt(n):1;return r[0]=e[0]*o,r[1]=e[1]*o,r[2]=e[2]*o,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function l(t,e,r,n=i()){const o=r[0]-e[0],s=r[1]-e[1],a=r[2]-e[2],u=t[0]-e[0],c=t[1]-e[1],l=t[2]-e[2],f=s*l-a*c,d=a*u-o*l,m=o*c-s*u,v=f*f+d*d+m*m,p=Math.abs(v-1)>1e-5&&v>1e-12?1/Math.sqrt(v):1;return n[0]=f*p,n[1]=d*p,n[2]=m*p,n[3]=-(n[0]*t[0]+n[1]*t[1]+n[2]*t[2]),n}function f(t,e,r,n=0,s=Math.floor(r*(1/3)),i=Math.floor(r*(2/3))){if(r<3)return!1;e(m,n);let a=s,u=!1;for(;a<r-1&&!u;)e(v,a),a++,u=!(0,o.t2)(m,v);if(!u)return!1;for(a=Math.max(a,i),u=!1;a<r&&!u;)e(p,a),a++,(0,o.Re)(h,m,v),(0,o.S8)(h,h),(0,o.Re)(g,v,p),(0,o.S8)(g,g),u=!(0,o.t2)(m,p)&&!(0,o.t2)(v,p)&&Math.abs((0,o.Om)(h,g))<d;return u?(l(m,v,p,t),!0):(0!==n||1!==s||2!==i)&&f(t,e,r,0,1,2)}r(78955),r(44280),r(32114),r(32728);const d=.99619469809,m=(0,s.vt)(),v=(0,s.vt)(),p=(0,s.vt)(),h=(0,s.vt)(),g=(0,s.vt)();function y(t,e,r){return function(t){return 0===t||1===t}(S(t,e.origin,e.vector,0,r))}function x(t,e){return M(t,e)>=0}function b(t,e){const r=(0,o.Om)(t,e.ray.direction),n=-M(t,e.ray.origin);if(n<0&&r>=0)return!1;if(r>-1e-6&&r<1e-6)return n>0;if((n<0||r<0)&&!(n<0&&r<0))return!0;const s=n/r;return r>0?s<e.c1&&(e.c1=s):s>e.c0&&(e.c0=s),e.c0<=e.c1}function M(t,e){return(0,o.Om)(t,e)+t[3]}function S(t,e,r,s,i){const a=(0,o.Om)(t,r),u=M(t,e);if(0===a)return u>=0?2:3;let c=-u/a;return 1&s&&(c=(0,n.qE)(c,0,1)),!(4&s)&&c<0||!(8&s)&&c>1?u>=0?2:3:((0,o.WQ)(i,e,(0,o.hs)(i,r,c)),u>=0?0:1)}const _=[0,0,1,0]},44280(t,e,r){r.d(e,{g7:()=>a,gr:()=>i});var n=r(34727),o=r(35522),s=r(51850);function i(t,e){return(0,o.Om)(t,e)/(0,o.Bw)(t)}function a(t,e){const r=(0,o.Om)(t,e)/((0,o.Bw)(t)*(0,o.Bw)(e));return-(0,n.XM)(r)}(0,s.vt)(),(0,s.vt)()},32114(t,e,r){r.d(e,{Rc:()=>m,J8:()=>v,rq:()=>f,Km:()=>d}),r(44208);var n=r(26390),o=r(29242),s=r(9093),i=r(82534),a=r(48163),u=r(51850),c=r(91829);class l{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,n.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new l(a.vt)}static createVec3f64(){return new l(u.vt)}static createVec4f64(){return new l(c.vt)}static createMat3f64(){return new l(o.vt)}static createMat4f64(){return new l(s.vt)}static createQuatf64(){return new l(i.vt)}get test(){}}l.createVec2f64();const f=l.createVec3f64(),d=l.createVec4f64(),m=(l.createMat3f64(),l.createMat4f64()),v=l.createQuatf64()},38969(t,e,r){r.d(e,{i:()=>o});var n=r(37955);function o(t,e){return new Promise((r,o)=>{t.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?r():(e((0,n.Oo)(t,"canplay",r)),e((0,n.Oo)(t,"error",o)))})}},77793(t,e,r){r.d(e,{V:()=>s,f:()=>i});var n=r(86738),o=r(73836);function s(t,e,r=a){return new n.A({x:t[r.originX],y:t[r.originY],z:t[r.originZ],spatialReference:e})}function i(t,e=a){return new o.A({translation:[t[e.translationX],-t[e.translationZ],t[e.translationY]],rotationAxis:[t[e.rotationX],-t[e.rotationZ],t[e.rotationY]],rotationAngle:t[e.rotationDeg],scale:[t[e.scaleX],t[e.scaleZ],t[e.scaleY]]})}const a={originX:"originX",originY:"originY",originZ:"originZ",translationX:"translationX",translationY:"translationY",translationZ:"translationZ",scaleX:"scaleX",scaleY:"scaleY",scaleZ:"scaleZ",rotationX:"rotationX",rotationY:"rotationY",rotationZ:"rotationZ",rotationDeg:"rotationDeg"}},40050(t,e,r){r.r(e),r.d(e,{assetMapFromAssetMapsJSON:()=>h,extractMesh:()=>p,meshFeatureSetFromJSON:()=>v});var n=r(52106),o=r(53966),s=r(91869),i=r(5443),a=r(27925),u=r(16930),c=r(63579),l=r(20557),f=r(22671),d=r(77793);const m=()=>o.A.getLogger("esri.rest.support.meshFeatureSet");function v(t,e,r){const o=r.features;r.features=[],delete r.geometryType;const s=f.A.fromJSON(r);if(s.geometryType="mesh",!r.assetMaps)return s;const i=h(e,r.assetMaps),a=t.sourceSpatialReference??u.A.WGS84,c=r.globalIdFieldName,{outFields:l}=t,d=null!=l&&l.length>0?(m=l.includes("*")?null:new Set(l),({attributes:t})=>{if(!t)return{};if(!m)return t;for(const e in t)m.has(e)||delete t[e];return t}):()=>({});var m;for(const t of o){const r=p(t,c,a,e,i);s.features.push(new n.A({geometry:r,attributes:d(t)}))}return s}function p(t,e,r,n,o){const s=t.attributes[e],u=o.get(s);if(null==u||!t.geometry)return null;const l=(0,d.V)(t.attributes,r,n.transformFieldRoles),f=i.A.fromJSON(t.geometry);f.spatialReference=r;const m=(0,d.f)(t.attributes,n.transformFieldRoles),v=r.isGeographic?"local":"georeferenced",p=function(t){const e=Array.from(t.files.values()),r=new Array;for(const t of e){if(2!==t.status)return null;const e=new Array;for(const r of t.parts){if(!r)return null;e.push(new c.Bq(r.url,r.hash))}r.push(new c.Qp(t.name,t.mimeType,e))}return{type:"service",assets:r}}(u);return p?a.default.createWithExternalSource(l,p,{extent:f,transform:m,vertexSpace:v,unitConversionDisabled:!0}):a.default.createIncomplete(l,{extent:f,transform:m,vertexSpace:v})}function h(t,e){const r=new Map;for(const n of e){const e=n.parentGlobalId;if(null==e)continue;const o=n.assetName,i=n.assetType,a=n.assetHash,u=n.assetURL,c=n.conversionStatus,f=n.seqNo,d=(0,l.Fm)(i,t.supportedFormats);if(!d){m().error("mesh-feature-set:unknown-format",`Service returned an asset of type ${i}, but it does not list it as a supported type`);continue}const v=(0,s.tE)(r,e,()=>({files:new Map}));(0,s.tE)(v.files,o,()=>({name:o,type:i,mimeType:d,status:g(c),parts:[]})).parts[f]={hash:a,url:u}}return r}function g(t){switch(t){case"COMPLETED":case"SUBMITTED":return 2;case"INPROGRESS":return 1;default:return 0}}},32728(t,e,r){r.d(e,{YH:()=>a,hG:()=>s,nu:()=>u,wp:()=>i}),r(34727);var n=r(35522),o=r(51850);function s(t){const e=t[0]*t[0]+t[4]*t[4]+t[8]*t[8],r=t[1]*t[1]+t[5]*t[5]+t[9]*t[9],n=t[2]*t[2]+t[6]*t[6]+t[10]*t[10];return Math.sqrt(Math.max(e,r,n))}function i(t,e){const r=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),o=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),s=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,n.hZ)(t,r,o,s),t}function a(t,e,r){r=r||t;const o=(0,n.Om)(t,e);(0,n.hZ)(r,t[0]-o*e[0],t[1]-o*e[1],t[2]-o*e[2]),(0,n.S8)(r,r)}function u(t,e,r,s=(0,o.vt)()){const i=(0,n.Bw)(t),a=(0,n.Bw)(e),u=(0,n.Om)(t,e)/(i*a);if(u<.9999999999999999){const o=Math.acos(u),f=((1-r)*i+r*a)/Math.sin(o),d=f/i*Math.sin((1-r)*o),m=f/a*Math.sin(r*o);return(0,n.hs)(c,t,d),(0,n.hs)(l,e,m),(0,n.WQ)(s,c,l)}return(0,n.Cc)(s,t,e,r)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const c=(0,o.vt)(),l=(0,o.vt)()},49255(t,e,r){function n(t){return function(t){return c(t)||4===t}(t)||function(t){return 5===(e=t)||6===e||7===e||8===t||9===t;var e}(t)}function o(t){return 10===t||11===t}function s(t){return u(t)||o(t)}function i(t){return 1===t}function a(t){return 2===t}function u(t){return 0===t||function(t){return i(t)||a(t)}(t)}function c(t){return function(t){return u(t)||o(t)}(t)||l(t)}function l(t){return 3===t}r.d(e,{Ex:()=>o,Rb:()=>a,Sp:()=>i,_o:()=>u,eh:()=>l,gr:()=>c,i3:()=>s,uw:()=>n})},53466(t,e,r){r.d(e,{U:()=>o});var n=r(31821);function o(t,e){switch(e.textureCoordinateType){case 1:return t.attributes.add("uv0","vec2"),t.varyings.add("vuv0","vec2"),void t.vertex.code.add(n.H`void forwardTextureCoordinates() { vuv0 = uv0; }`);case 2:return t.attributes.add("uv0","vec2"),t.attributes.add("uvRegion","vec4"),t.varyings.add("vuv0","vec2"),t.varyings.add("vuvRegion","vec4"),void t.vertex.code.add(n.H`void forwardTextureCoordinates() {
2
- vuv0 = uv0;
3
- vuvRegion = uvRegion;
4
- }`);default:e.textureCoordinateType;case 0:return void t.vertex.code.add(n.H`void forwardTextureCoordinates() {}`);case 3:return}}},99208(t,e,r){r.d(e,{r:()=>i});var n=r(53466),o=r(31821);function s(t){t.fragment.code.add(o.H`vec4 textureAtlasLookup(sampler2D tex, vec2 textureCoordinates, vec4 atlasRegion) {
5
- vec2 atlasScale = atlasRegion.zw - atlasRegion.xy;
6
- vec2 uvAtlas = fract(textureCoordinates) * atlasScale + atlasRegion.xy;
7
- float maxdUV = 0.125;
8
- vec2 dUVdx = clamp(dFdx(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
9
- vec2 dUVdy = clamp(dFdy(textureCoordinates), -maxdUV, maxdUV) * atlasScale;
10
- return textureGrad(tex, uvAtlas, dUVdx, dUVdy);
11
- }`)}function i(t,e){const{textureCoordinateType:r}=e;if(0===r||3===r)return;t.include(n.U,e);const i=2===r;i&&t.include(s),t.fragment.code.add(o.H`
12
- vec4 textureLookup(sampler2D tex, vec2 uv) {
13
- return ${i?"textureAtlasLookup(tex, uv, vuvRegion)":"texture(tex, uv)"};
14
- }
15
- `)}},22911(t,e,r){r.d(e,{NL:()=>p});var n=r(34727),o=r(49255),s=r(99208),i=r(65261),a=r(40710),u=r(33079),c=r(28421),l=r(20304),f=r(31821),d=r(15976),m=r(63761),v=r(66211);function p(t,e){if(!(0,o._o)(e.output))return;t.fragment.include(i.C);const{emissionSource:r,hasEmissiveTextureTransform:p,bindType:h}=e,g=3===r||4===r||5===r;g&&(t.include(s.r,e),t.fragment.uniforms.add(1===h?new m.N("texEmission",t=>t.textureEmissive):new d.o("texEmission",t=>t.textureEmissive)));const y=2===r||g;y&&t.fragment.uniforms.add(1===h?new u.t("emissiveBaseColor",t=>t.emissiveBaseColor):new a.W("emissiveBaseColor",t=>t.emissiveBaseColor));const x=0!==r;if(x&&7!==r&&6!==r&&4!==r&&5!==r){const e=t=>(0,n.qE)(t??0,0,v.bS);t.fragment.uniforms.add(1===h?new l.m("emissiveStrength",t=>e(t.emissiveStrength)):new c.J("emissiveStrength",t=>e(t.emissiveStrength)))}const b=7===r,M=5===r,S=1===r||6===r||b;t.fragment.code.add(f.H`
16
- vec4 getEmissions(vec3 symbolColor) {
17
- vec4 emissions = ${y?M?"emissiveSource == 0 ? vec4(emissiveBaseColor, 1.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(emissiveBaseColor, 1.0)":S?b?"emissiveSource == 0 ? vec4(0.0): vec4(linearizeGamma(symbolColor), 1.0)":"vec4(linearizeGamma(symbolColor), 1.0)":"vec4(0.0)"};
18
- ${(0,f.If)(g,`${(0,f.If)(M,`if(emissiveSource == 0) {\n vec4 emissiveFromTex = textureLookup(texEmission, ${p?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);\n }`,`vec4 emissiveFromTex = textureLookup(texEmission, ${p?"emissiveUV":"vuv0"});\n emissions *= vec4(linearizeGamma(emissiveFromTex.rgb), emissiveFromTex.a);`)}\n emissions.w = emissions.rgb == vec3(0.0) ? 0.0: emissions.w;`)}
19
- ${(0,f.If)(x,`emissions.rgb *= emissiveStrength * ${f.H.float(1)};`)}
20
- return emissions;
21
- }
22
- `)}},65261(t,e,r){r.d(e,{C:()=>s});var n=r(40876),o=r(31821);function s(t){t.constants.add("GAMMA","float",n.Tf).constants.add("INV_GAMMA","float",1/n.Tf).code.add(o.H`vec3 delinearizeGamma(vec3 color) {
23
- return pow(color, vec3(INV_GAMMA));
24
- }
25
- vec4 delinearizeGamma(vec4 color) {
26
- return vec4(delinearizeGamma(color.rgb), color.a);
27
- }
28
- vec3 linearizeGamma(vec3 color) {
29
- return pow(color, vec3(GAMMA));
30
- }`)}},40710(t,e,r){r.d(e,{W:()=>o});var n=r(74333);class o extends n.n{constructor(t,e,r){super(t,"vec3",2,(n,o,s,i)=>n.setUniform3fv(t,e(o,s,i),r))}}},33079(t,e,r){r.d(e,{t:()=>o});var n=r(74333);class o extends n.n{constructor(t,e,r){super(t,"vec3",1,(n,o,s)=>n.setUniform3fv(t,e(o,s),r))}}},28421(t,e,r){r.d(e,{J:()=>o});var n=r(74333);class o extends n.n{constructor(t,e,r){super(t,"float",2,(n,o,s)=>n.setUniform1f(t,e(o,s),r))}}},20304(t,e,r){r.d(e,{m:()=>o});var n=r(74333);class o extends n.n{constructor(t,e,r){super(t,"float",1,(n,o,s)=>n.setUniform1f(t,e(o,s),r))}}},15976(t,e,r){r.d(e,{o:()=>o});var n=r(74333);class o extends n.n{constructor(t,e,r){super(t,"sampler2D",2,(n,o,s)=>n.bindTexture(t,e(o,s),r?.(o,s)))}}},63761(t,e,r){r.d(e,{N:()=>o});var n=r(74333);class o extends n.n{constructor(t,e){super(t,"sampler2D",1,(r,n,o)=>r.bindTexture(t,e(n,o)))}}},31821(t,e,r){r.d(e,{H:()=>n,If:()=>o});const n=(t,...e)=>{let r="";for(let n=0;n<e.length;n++)r+=t[n]+e[n];return r+=t[t.length-1],r};function o(t,e,r=""){return t?e:r}n.int=t=>t.toFixed(),n.uint=t=>`${Math.max(0,t).toFixed()}u`,n.hexuint=t=>`0x${Math.round(Math.max(0,t)).toString(16)}u`,n.float=t=>t.toPrecision(8)},51976(t,e,r){r.d(e,{K:()=>a,W:()=>u});var n=r(49186),o=r(4576);class s{constructor(t){this._bits=[...t]}equals(t){return(0,o.aI)(this._bits,t.bits)}get code(){return this._code??=String.fromCharCode(...this._bits),this._code}get bits(){return this._bits}}var i=r(65786);class a extends i.Y{constructor(){super(),this._parameterBits=this._parameterBits?.map(()=>0)??[],this._parameterNames??=[]}get key(){return this._key??=new s(this._parameterBits),this._key}decode(t=this.key){const e=this._parameterBits;this._parameterBits=[...t.bits];const r=this._parameterNames.map(t=>` ${t}: ${this[t]}`).join("\n");return this._parameterBits=e,r}}function u(t={}){return(e,r)=>{e.hasOwnProperty("_parameterNames")||Object.defineProperty(e,"_parameterNames",{value:e._parameterNames?.slice()??[],configurable:!0,writable:!0}),e.hasOwnProperty("_parameterBits")||Object.defineProperty(e,"_parameterBits",{value:e._parameterBits?.slice()??[0],configurable:!0,writable:!0}),e._parameterNames.push(r);const o=t.count||2,s=Math.ceil(Math.log2(o)),i=e._parameterBits;let a=0;for(;i[a]+s>16;)a++,a>=i.length&&i.push(0);const u=i[a],c=(1<<s)-1<<u;i[a]+=s,t.count?Object.defineProperty(e,r,{get(){return(this._parameterBits[a]&c)>>u},set(e){const o=this._parameterBits[a];if((o&c)>>u!==e){if(this._key=null,this._parameterBits[a]=o&~c|+e<<u&c,"number"!=typeof e)throw new n.A("internal:invalid-shader-configuration",`Configuration value for ${r} must be a number, got ${typeof e}`);if(null==t.count)throw new n.A("internal:invalid-shader-configuration",`Configuration value for ${r} must provide a count option`)}}}):Object.defineProperty(e,r,{get(){return!!((this._parameterBits[a]&c)>>u)},set(t){const e=this._parameterBits[a];if(!!((e&c)>>u)!==t&&(this._key=null,this._parameterBits[a]=e&~c|+t<<u,"boolean"!=typeof t))throw new n.A("internal:invalid-shader-configurationx",`Configuration value for ${r} must be boolean, got ${typeof t}`)}})}}},66211(t,e,r){r.d(e,{Hp:()=>a,bS:()=>i});var n=r(5482),o=r(51976);class s extends o.K{constructor(){super(...arguments),this.useFloatBlend=!0}}(0,n.Cg)([(0,o.W)()],s.prototype,"useFloatBlend",void 0);const i=16;function a(t,e){e.useFloatBlend?(t.constants.add("floatBlendOutputScale","float",1),t.constants.add("floatBlendInputScale","float",1)):(t.constants.add("floatBlendOutputScale","float",1/16),t.constants.add("floatBlendInputScale","float",16)),t.constants.add("maxEmissiveStrength","float",i)}},65786(t,e,r){r.d(e,{Y:()=>n});const n=class{};new n},74333(t,e,r){r.d(e,{n:()=>n});class n{constructor(t,e,r,n,o=null){if(this.name=t,this.type=e,this.arraySize=o,this.bind={0:null,1:null,2:null},n)switch(r){case void 0:break;case 0:this.bind[0]=n;break;case 1:this.bind[1]=n;break;case 2:this.bind[2]=n}}equals(t){return this.type===t.type&&this.name===t.name&&this.arraySize===t.arraySize}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4447],{60999(e,t,r){r.d(t,{DZ:()=>g,Ke:()=>p,Tj:()=>c,UT:()=>f,aD:()=>y,jJ:()=>u});var i=r(5482),n=r(69622),s=r(97768),a=r(17676),o=r(10107),l=r(64108);function u(e,t,r){return(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))}async function c(e,t,r){return(await(0,a.Lx)(e.map((e,i)=>t.apply(r,[e,i])))).map(e=>e.value)}function h(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function p(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return h(await e)}catch(e){return d(e)}}async function g(e){try{return h(await e)}catch(e){return(0,a.QP)(e),d(e)}}function f(e,t){return new m(e,t)}let m=class extends n.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=h(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,a.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,i.Cg)([(0,o.MZ)()],m.prototype,"value",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"error",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"finished",null),(0,i.Cg)([(0,o.MZ)()],m.prototype,"promise",void 0),(0,i.Cg)([(0,o.MZ)()],m.prototype,"_result",void 0),m=(0,i.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],m);class y{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,i.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,i.hk)(t)}}}},35522(e,t,r){r.d(t,{$A:()=>_,Bw:()=>s,C:()=>a,Cc:()=>A,DI:()=>b,Il:()=>D,Io:()=>v,Ln:()=>y,Om:()=>C,Qr:()=>h,Re:()=>u,S8:()=>x,T9:()=>f,WQ:()=>l,Z0:()=>I,_S:()=>p,aI:()=>Z,ei:()=>E,fw:()=>P,g7:()=>U,gL:()=>R,hG:()=>M,hZ:()=>o,hs:()=>m,jb:()=>O,jk:()=>g,lo:()=>q,lw:()=>c,m3:()=>S,oW:()=>j,t2:()=>k,tn:()=>d,uE:()=>N,xg:()=>G,ze:()=>w});var i=r(51850),n=r(34304);function s(e){const t=e[0],r=e[1],i=e[2];return Math.sqrt(t*t+r*r+i*i)}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function o(e,t,r,i){return e[0]=t,e[1]=r,e[2]=i,e}function l(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e}function u(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e}function c(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e}function h(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e}function d(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function p(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function g(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e}function f(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e}function m(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e}function y(e,t,r,i){return e[0]=t[0]+r[0]*i,e[1]=t[1]+r[1]*i,e[2]=t[2]+r[2]*i,e}function v(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+i*i+n*n)}function M(e,t){const r=t[0]-e[0],i=t[1]-e[1],n=t[2]-e[2];return r*r+i*i+n*n}function S(e){const t=e[0],r=e[1],i=e[2];return t*t+r*r+i*i}function w(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function b(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function x(e,t){const r=t[0],i=t[1],n=t[2];let s=r*r+i*i+n*n;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function C(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function _(e,t,r){const i=t[0],n=t[1],s=t[2],a=r[0],o=r[1],l=r[2];return e[0]=n*l-s*o,e[1]=s*a-i*l,e[2]=i*o-n*a,e}function A(e,t,r,i){const n=t[0],s=t[1],a=t[2];return e[0]=n+i*(r[0]-n),e[1]=s+i*(r[1]-s),e[2]=a+i*(r[2]-a),e}function I(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=r[0]*i+r[4]*n+r[8]*s+r[12],e[1]=r[1]*i+r[5]*n+r[9]*s+r[13],e[2]=r[2]*i+r[6]*n+r[10]*s+r[14],e}function E(e,t,r){const i=t[0],n=t[1],s=t[2];return e[0]=i*r[0]+n*r[3]+s*r[6],e[1]=i*r[1]+n*r[4]+s*r[7],e[2]=i*r[2]+n*r[5]+s*r[8],e}function R(e,t,r){return P(e,t,r[0],r[1],r[2],r[3])}function P(e,t,r,i,n,s){const a=t[0],o=t[1],l=t[2],u=i*l-n*o,c=n*a-r*l,h=r*o-i*a,d=i*h-n*c,p=n*u-r*h,g=r*c-i*u,f=2*s;return e[0]=a+u*f+2*d,e[1]=o+c*f+2*p,e[2]=l+h*f+2*g,e}function U(e,t){x(L,e),x(T,t);const r=C(L,T);return r>1?0:r<-1?Math.PI:Math.acos(r)}const L=(0,i.vt)(),T=(0,i.vt)();function k(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function Z(e,t){if(e===t)return!0;const r=e[0],i=e[1],s=e[2],a=t[0],o=t[1],l=t[2],u=(0,n.FD)();return Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-o)<=u*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(s-l)<=u*Math.max(1,Math.abs(s),Math.abs(l))}function j(e,t,r){const i=r[0]-t[0],n=r[1]-t[1],s=r[2]-t[2];let a=i*i+n*n+s*s;return a>0?(a=1/Math.sqrt(a),e[0]=i*a,e[1]=n*a,e[2]=s*a,e):(e[0]=0,e[1]=0,e[2]=0,e)}const O=u,H=c,K=h,G=v,q=M,D=s,N=S;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:U,bezier:function(e,t,r,i,n,s){const a=1-s,o=a*a,l=s*s,u=o*a,c=3*s*o,h=3*l*a,d=l*s;return e[0]=t[0]*u+r[0]*c+i[0]*h+n[0]*d,e[1]=t[1]*u+r[1]*c+i[1]*h+n[1]*d,e[2]=t[2]*u+r[2]*c+i[2]*h+n[2]*d,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,r=1){return e[0]=Math.min(Math.max(e[0],t),r),e[1]=Math.min(Math.max(e[1],t),r),e[2]=Math.min(Math.max(e[2],t),r),e},copy:a,cross:_,crossAndNormalize:function(e,t,r){const i=t[0],n=t[1],s=t[2],a=r[0],o=r[1],l=r[2],u=n*l-s*o,c=s*a-i*l,h=i*o-n*a,d=Math.sqrt(u*u+c*c+h*h);return e[0]=u/d,e[1]=c/d,e[2]=h/d,e},direction:j,dist:G,distance:v,div:K,divide:h,dot:C,equals:Z,exactEquals:k,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,r,i,n,s){const a=s*s,o=a*(2*s-3)+1,l=a*(s-2)+s,u=a*(s-1),c=a*(3-2*s);return e[0]=t[0]*o+r[0]*l+i[0]*u+n[0]*c,e[1]=t[1]*o+r[1]*l+i[1]*u+n[1]*c,e[2]=t[2]*o+r[2]*l+i[2]*u+n[2]*c,e},inverse:b,len:D,length:s,lerp:A,max:f,min:g,mul:H,multiply:c,negate:w,normalize:x,random:function(e,t=1){const r=n.Ov,i=2*r()*Math.PI,s=2*r()-1,a=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(i)*a,e[1]=Math.sin(i)*a,e[2]=s*t,e},rotateX:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0],s[1]=n[1]*Math.cos(i)-n[2]*Math.sin(i),s[2]=n[1]*Math.sin(i)+n[2]*Math.cos(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateY:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[2]*Math.sin(i)+n[0]*Math.cos(i),s[1]=n[1],s[2]=n[2]*Math.cos(i)-n[0]*Math.sin(i),e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},rotateZ:function(e,t,r,i){const n=[],s=[];return n[0]=t[0]-r[0],n[1]=t[1]-r[1],n[2]=t[2]-r[2],s[0]=n[0]*Math.cos(i)-n[1]*Math.sin(i),s[1]=n[0]*Math.sin(i)+n[1]*Math.cos(i),s[2]=n[2],e[0]=s[0]+r[0],e[1]=s[1]+r[1],e[2]=s[2]+r[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:m,scaleAndAdd:y,set:o,sign:p,sqrDist:q,sqrLen:N,squaredDistance:M,squaredLength:S,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:O,subtract:u,transformMat3:E,transformMat4:I,transformQuat:R,transformQuatValues:P},Symbol.toStringTag,{value:"Module"}))},54239(e,t,r){r.d(t,{A:()=>m});var i,n=r(5482),s=r(4576),a=r(66552),o=r(25482),l=r(86211),u=r(67076),c=r(91429),h=r(43937),d=r(36005);const p=(0,a.O)()({orthometric:"gravity-related-height",gravity_related_height:"gravity-related-height",ellipsoidal:"ellipsoidal"}),g=p.jsonValues.slice();(0,s.Xy)(g,"orthometric");const f=(0,a.O)()({meter:"meters",foot:"feet","us-foot":"us-feet","clarke-foot":"clarke-feet","clarke-yard":"clarke-yards","clarke-link":"clarke-links","sears-yard":"sears-yards","sears-foot":"sears-feet","sears-chain":"sears-chains","benoit-1895-b-chain":"benoit-1895-b-chains","indian-yard":"indian-yards","indian-1937-yard":"indian-1937-yards","gold-coast-foot":"gold-coast-feet","sears-1922-truncated-chain":"sears-1922-truncated-chains","50-kilometers":"50-kilometers","150-kilometers":"150-kilometers"});let m=i=class extends o.o{constructor(e){super(e),this.heightModel="gravity-related-height",this.heightUnit="meters",this.vertCRS=null}writeHeightModel(e,t,r){return p.write(e,t,r)}readHeightModel(e,t,r){return p.read(e)||(r?.messages&&r.messages.push(function(e,t){return new u.A("height-model:unsupported",`Height model of value '${e}' is not supported`,t)}(e,{context:r})),null)}readHeightUnit(e,t,r){return f.read(e)||(r?.messages&&r.messages.push(y(e,{context:r})),null)}readHeightUnitService(e,t,r){return(0,l.LA)(e)||f.read(e)||(r?.messages&&r.messages.push(y(e,{context:r})),null)}readVertCRS(e,t){return t.vertCRS||t.ellipsoid||t.geoid}clone(){return new i({heightModel:this.heightModel,heightUnit:this.heightUnit,vertCRS:this.vertCRS})}equals(e){return!!e&&(this===e||this.heightModel===e.heightModel&&this.heightUnit===e.heightUnit&&this.vertCRS===e.vertCRS)}static deriveUnitFromSR(e,t){const r=(0,l.k1)(t);return new i({heightModel:e.heightModel,heightUnit:r??void 0,vertCRS:e.vertCRS})}write(e,t){return t={origin:"web-scene",...t},super.write(e,t)}static fromJSON(e){if(!e)return null;const t=new i;return t.read(e,{origin:"web-scene"}),t}};function y(e,t){return new u.A("height-unit:unsupported",`Height unit of value '${e}' is not supported`,t)}(0,n.Cg)([(0,c.MZ)({type:p.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:g,default:"ellipsoidal",write:{isRequired:!0}}}}})],m.prototype,"heightModel",void 0),(0,n.Cg)([(0,h.K)("web-scene","heightModel")],m.prototype,"writeHeightModel",null),(0,n.Cg)([(0,d.w)(["web-scene","service"],"heightModel")],m.prototype,"readHeightModel",null),(0,n.Cg)([(0,c.MZ)({type:f.apiValues,constructOnly:!0,json:{origins:{"web-scene":{type:f.jsonValues,write:{writer:f.write,isRequired:!0}}}}})],m.prototype,"heightUnit",void 0),(0,n.Cg)([(0,d.w)("web-scene","heightUnit")],m.prototype,"readHeightUnit",null),(0,n.Cg)([(0,d.w)("service","heightUnit")],m.prototype,"readHeightUnitService",null),(0,n.Cg)([(0,c.MZ)({type:String,constructOnly:!0,json:{origins:{"web-scene":{write:!0}}}})],m.prototype,"vertCRS",void 0),(0,n.Cg)([(0,d.w)("service","vertCRS",["vertCRS","ellipsoid","geoid"])],m.prototype,"readVertCRS",null),m=i=(0,n.Cg)([(0,c.$K)("esri.geometry.HeightModelInfo")],m)},36475(e,t,r){r.r(t),r.d(t,{default:()=>x});var i=r(5482),n=r(11254),s=r(49186),a=r(53966),o=r(25728),l=r(17676),u=r(91429),c=r(5443),h=r(16930),d=r(4146),p=r(52136),g=r(18768),f=r(69208),m=r(34287),y=r(8303),v=r(25036),M=r(10873),S=r(88546),w=r(24212);let b=class extends((0,g.b)((0,m.q)((0,y.A)((0,v.j)((0,o.M)((0,f.d)((0,p.p)(d.A)))))))){constructor(e){super(e),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat",this.opacity=1,this.minScale=0,this.maxScale=0,this.url=null,this.rootTilesetJSON=null,this.fullExtent=S.zq,this.spatialReference=S.Zx,this.esriCrsSpatialReference=null,this.esriCrsFullExtent=null}get supportedSpatialReferences(){return this.initialized&&this.esriCrsSpatialReference?[S.Zx,this.esriCrsSpatialReference]:[S.Zx]}get fullExtents(){return this.initialized&&this.esriCrsFullExtent?[S.zq,this.esriCrsFullExtent]:[S.zq]}set elevationInfo(e){null!=e&&"absolute-height"!==e.mode||this._set("elevationInfo",e),this._validateElevationInfo(e)}async load(e){return this.addResolvingPromise(this._doLoad(e)),this}async _doLoad(e){const t=null!=e?e.signal:null;try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:e=>{if(e.typeKeywords?.includes("GaussianSplat"))return!0;throw new s.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service"})}},e)}catch(e){(0,l.QP)(e)}if(this.url){const e=(0,n.A)(this.url,{query:{...this.customParameters,token:this.apiKey},responseType:"json",signal:t}).then(e=>{this.rootTilesetJSON=e.data,this.fullExtent=(0,S.uB)(this.rootTilesetJSON,!1),(0,S._8)(this.rootTilesetJSON)&&(this.esriCrsFullExtent=(0,S.uB)(this.rootTilesetJSON,!0),this.esriCrsSpatialReference=this.esriCrsFullExtent.spatialReference,this.spatialReference=this.esriCrsSpatialReference)},e=>{(0,l.QP)(e)});await e}}_validateElevationInfo(e){const t="Gaussian Splat layers";(0,w.XF)(a.A.getLogger(this),(0,w.B)(t,"absolute-height",e)),(0,w.XF)(a.A.getLogger(this),(0,w.tW)(t,e))}};(0,i.Cg)([(0,u.MZ)({type:["GaussianSplatLayer"]})],b.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],b.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0,json:{read:!1,write:!1,origins:{service:{read:!1,write:!1},"portal-item":{read:!1,write:!1},"web-document":{read:!1,write:!1}}}})],b.prototype,"opacity",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],b.prototype,"minScale",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],b.prototype,"maxScale",void 0),(0,i.Cg)([(0,u.MZ)(M.OZ)],b.prototype,"url",void 0),(0,i.Cg)([(0,u.MZ)({type:c.A})],b.prototype,"fullExtent",void 0),(0,i.Cg)([(0,u.MZ)({type:h.A})],b.prototype,"spatialReference",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],b.prototype,"supportedSpatialReferences",null),(0,i.Cg)([(0,u.MZ)({type:[c.A]})],b.prototype,"fullExtents",null),(0,i.Cg)([(0,u.MZ)({type:["show","hide"]})],b.prototype,"listMode",void 0),(0,i.Cg)([(0,u.MZ)(M.Yj)],b.prototype,"elevationInfo",null),b=(0,i.Cg)([(0,u.$K)("esri.layers.GaussianSplatLayer")],b);const x=b},52136(e,t,r){r.d(t,{p:()=>s});var i=r(5482),n=r(91429);const s=e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,n.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},18768(e,t,r){r.d(t,{b:()=>o});var i=r(5482),n=r(53966),s=r(91429),a=r(60694);const o=e=>{const t=e;let r=class extends t{get title(){if(this._get("title")&&"defaults"!==this.originOf("title"))return this._get("title");if(this.url){const e=(0,a.qg)(this.url);if(e?.title)return e.title}return this._get("title")||""}set title(e){this._set("title",e)}set url(e){this._set("url",(0,a.Jf)(e,n.A.getLogger(this)))}};return(0,i.Cg)([(0,s.MZ)()],r.prototype,"title",null),(0,i.Cg)([(0,s.MZ)({type:String})],r.prototype,"url",null),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.ArcGISService")],r),r}},69208(e,t,r){r.d(t,{d:()=>s});var i=r(5482),n=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.customParameters=null}};return(0,i.Cg)([(0,n.MZ)({type:Object,json:{write:{overridePolicy:e=>({enabled:!!(e&&Object.keys(e).length>0)})}}})],r.prototype,"customParameters",void 0),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.CustomParametersMixin")],r),r}},8303(e,t,r){r.d(t,{A:()=>b});var i=r(5482),n=r(92602),s=r(70333),a=r(11254),o=r(60999),l=r(49186),u=r(36563),c=r(53966),h=r(97768),d=r(17676),p=r(84952),g=r(91429),f=r(77548),m=r(20655),y=r(80812),v=r(41318),M=r(10407),S=r(36005),w=r(43937);const b=e=>{const t=e;let b=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,h.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new y.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:i}=await r.e(1204).then(r.bind(r,41204));return(0,d.Te)(t),await i({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async reloadFromPortal(e){if(!this.loaded||!this.portalItem?.id)return!1;try{const{reload:t}=await r.e(1204).then(r.bind(r,41204)),i=new AbortController,n=(0,u.rE)(i);return this.addHandles(n,"reloadFromPortal"),await t({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},{signal:i.signal})}catch(e){throw(0,d.zf)(e)||c.A.getLogger(this).warn(`Failed to reload layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}finally{this.removeHandles("reloadFromPortal")}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,d.QP)(e),!0)))}async setUserPrivileges(e,t){if(!n.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:i},content:{updateItem:n}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",i),this._set("userHasUpdateItemPrivileges",n)}catch(e){(0,d.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const i=!s.id?.findCredential(this.url),n=e===r.id;if(n&&r.portal.user)return this._getUserPrivileges(r,i);let a,o;if(n)a=r.portal.url;else try{a=await(0,f.wI)(this.url,t)}catch(e){(0,d.QP)(e)}if(!a||!(0,p.b8)(a,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(s.id?.getCredential(`${a}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,d.QP)(e)}const l=!0,u=!1,c=!1;if(!o)return{features:{edit:l,fullEdit:u},content:{updateItem:c}};try{if(n?await r.reload():(r=new y.default({id:e,portal:{url:a}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,i)}catch(e){(0,d.QP)(e)}return{features:{edit:l,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,M.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,d.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=x.credential===t?x.user:await this._fetchEditingUser(e);return x.credential=t,x.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const i=`${r.owningSystemUrl}/sharing/rest`,n=m.A.getDefault();if(n&&n.loaded&&(0,p.S8)(n.restUrl)===(0,p.S8)(i))return n.user;const l=`${i}/community/self`,u=null!=e?e.signal:null,c=await(0,o.Ke)((0,a.A)(l,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?v.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,i=this.portalItem?.id&&(this.portalItem.portal||m.A.getDefault());return r&&i&&!(0,p.ut)(i.restUrl,r.restUrl)?(t.messages&&t.messages.push(new l.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,i.Cg)([(0,g.MZ)({type:y.default})],b.prototype,"portalItem",null),(0,i.Cg)([(0,S.w)("web-document","portalItem",["itemId"])],b.prototype,"readPortalItem",null),(0,i.Cg)([(0,w.K)("web-document","portalItem",{itemId:{type:String}})],b.prototype,"writePortalItem",null),(0,i.Cg)([(0,g.MZ)({clonable:!1})],b.prototype,"resourceReferences",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasEditingPrivileges",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasFullEditingPrivileges",void 0),(0,i.Cg)([(0,g.MZ)({type:Boolean,readOnly:!0})],b.prototype,"userHasUpdateItemPrivileges",void 0),b=(0,i.Cg)([(0,g.$K)("esri.layers.mixins.PortalLayer")],b),b},x={credential:null,user:null}},25036(e,t,r){r.d(t,{j:()=>s});var i=r(5482),n=r(91429);const s=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get effectiveScaleRange(){const e={minScale:this.minScale,maxScale:this.maxScale},t=this.parent;void 0!==t?.effectiveScaleRange&&function(e,t){e.minScale=e.minScale>0?t.minScale>0?Math.min(e.minScale,t.minScale):e.minScale:t.minScale,e.maxScale=e.maxScale>0?t.maxScale>0?Math.max(e.maxScale,t.maxScale):e.maxScale:t.maxScale}(e,t.effectiveScaleRange);const r=this._get("effectiveScaleRange");return r&&r.minScale===e.minScale&&r.maxScale===e.maxScale?r:e}};return(0,i.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"minScale",void 0),(0,i.Cg)([(0,n.MZ)({type:Number,nonNullable:!0,json:{write:!0}})],r.prototype,"maxScale",void 0),(0,i.Cg)([(0,n.MZ)({readOnly:!0})],r.prototype,"effectiveScaleRange",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.ScaleRangeLayer")],r),r}},88546(e,t,r){r.d(t,{Zx:()=>h,_8:()=>m,uB:()=>y,zq:()=>d});var i=r(34727),n=r(35522),s=r(51850),a=r(73941),o=r(5443),l=r(54239),u=r(16930),c=r(9762);const h=new u.A({wkid:4326,vcsWkid:115700}),d=new o.A(-180,-90,180,90,h);function p(e,t){if(!Array.isArray(e)||e.length<t)return!1;for(const t of e)if("number"!=typeof t)return!1;return!0}const g=7645211,f={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850};function m(e){return!(!(e.extensions?.ESRI_crs?.wkid||e.extensions?.ESRI_crs?.latestWkid||e.extensions?.ESRI_crs?.wkt)||!e.root?.extensions?.ESRI_crs?.boundingVolume?.box&&!e.root?.extensions?.ESRI_crs?.boundingVolume?.sphere)}function y(e,t=!1){let r=new u.A({wkid:4326,vcsWkid:115700}),l=e.root?.boundingVolume,h=!1,d=e?.root?.transform;if(t&&(e.extensions?.ESRI_crs?.wkid||e.extensions?.ESRI_crs?.latestWkid||e.extensions?.ESRI_crs?.wkt)&&(e.root?.extensions?.ESRI_crs?.boundingVolume?.box||e.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))r=new u.A(e.extensions?.ESRI_crs),l=e.root?.extensions?.ESRI_crs?.boundingVolume,d=e.root?.transform,h=!0;else if(!l)return new o.A(-180,-90,180,90,r);if(l.box){const e=l?.box;if(e[3]>g&&e[7]>g&&e[11]>g)return new o.A({...f,spatialReference:r})}const m=(0,s.vt)();if(!h&&l.region&&p(l.region,6)){const e=l.region,t=(0,i.KJ)(e[0]),n=(0,i.KJ)(e[1]),s=e[4],a=(0,i.KJ)(e[2]),u=(0,i.KJ)(e[3]),c=e[5];return new o.A({xmin:t,ymin:n,zmin:s,xmax:a,ymax:u,zmax:c,spatialReference:r})}if(l.sphere&&p(l.sphere,4)){const e=l.sphere,t=(0,s.fA)(e[0],e[1],e[2]),i=e[3]/Math.sqrt(3),g=(0,s.vt)();(0,n.Re)(g,t,(0,s.fA)(i,i,i));const f=(0,s.vt)();if((0,n.WQ)(f,t,(0,s.fA)(i,i,i)),d&&p(d,16)){const e=d;(0,n.Z0)(m,g,e),(0,n.C)(g,m),(0,n.Z0)(m,f,e),(0,n.C)(f,m)}h||((0,c.projectBuffer)(g,a.Ro,0,g,u.A.WGS84,0),(0,c.projectBuffer)(f,a.Ro,0,f,u.A.WGS84,0));const y=(0,s.vt)(),v=(0,s.vt)();return(0,n.jk)(y,g,f),(0,n.T9)(v,g,f),new o.A({xmin:y[0],ymin:y[1],zmin:y[2],xmax:v[0],ymax:v[1],zmax:v[2],spatialReference:r})}if(l.box&&p(l.box,12)){const e=l.box,t=(0,s.fA)(e[0],e[1],e[2]),i=(0,s.fA)(e[3],e[4],e[5]),g=(0,s.fA)(e[6],e[7],e[8]),f=(0,s.fA)(e[9],e[10],e[11]),m=[];for(let e=0;e<8;++e)m.push((0,s.vt)());if((0,n.WQ)(m[0],t,i),(0,n.WQ)(m[0],m[0],g),(0,n.WQ)(m[0],m[0],f),(0,n.jb)(m[1],t,i),(0,n.WQ)(m[1],m[1],g),(0,n.WQ)(m[1],m[1],f),(0,n.WQ)(m[2],t,i),(0,n.jb)(m[2],m[2],g),(0,n.WQ)(m[2],m[2],f),(0,n.jb)(m[3],t,i),(0,n.jb)(m[3],m[3],g),(0,n.WQ)(m[3],m[3],f),(0,n.WQ)(m[4],t,i),(0,n.WQ)(m[4],m[4],g),(0,n.jb)(m[4],m[4],f),(0,n.jb)(m[5],t,i),(0,n.WQ)(m[5],m[5],g),(0,n.jb)(m[5],m[5],f),(0,n.WQ)(m[6],t,i),(0,n.jb)(m[6],m[6],g),(0,n.jb)(m[6],m[6],f),(0,n.jb)(m[7],t,i),(0,n.jb)(m[7],m[7],g),(0,n.jb)(m[7],m[7],f),d&&p(d,16)){const e=d;for(let t=0;t<8;++t)(0,n.Z0)(m[t],m[t],e)}const y=(0,s.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),v=(0,s.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let e=0;e<8;++e)h||(0,c.projectBuffer)(m[e],a.Ro,0,m[e],u.A.WGS84,0),(0,n.jk)(v,v,m[e]),(0,n.T9)(y,y,m[e]);return new o.A({xmin:v[0],ymin:v[1],zmin:v[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:r})}return new o.A(-180,-90,180,90,r)}new Map([[5773,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM96_Geoid"})],[3855,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM2008_Geoid"})],[115700,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"WGS_1984"})],[115701,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"ETRS_1989"})],[6360,new l.A({heightModel:"gravity-related-height",heightUnit:"us-feet",vertCRS:"NAVD88_height_(ftUS)"})],[7837,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"DHHN2016_(height)"})],[5709,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"NAP"})]])},10407(e,t,r){r.d(t,{It:()=>p,LG:()=>a,OM:()=>u,Sm:()=>c,Y:()=>o,bK:()=>l,mm:()=>d,sQ:()=>h});var i=r(91218),n=r(16930),s=r(28735);function a(e,t){if(!o(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function o(e,t){return!!e.typeKeywords?.includes(t)}function l(e){return o(e,d.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?a(e,t):u(e,t)}async function h(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,s.ci)(e);const r=n.A.WGS84;return await(0,i.initializeProjection)(t,r),(0,i.project)(e,r)}(r)}const d={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function p(e){const{portal:t,isOrgItem:r,itemControl:i}=e,n=t.user?.privileges;let s=!n||n.includes("features:user:edit"),a=!!r&&!!n?.includes("features:user:fullEdit");const o="update"===i||"admin"===i;return o?a=s=!0:a&&(s=!0),{features:{edit:s,fullEdit:a},content:{updateItem:o}}}},78553(e,t,r){r.d(t,{D:()=>s,p:()=>n});var i=r(56507);function n(e){const t=(0,i.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function s(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[909],{92009(e,a,t){t.d(a,{L:()=>c});var n=t(70333),r=t(11254),i=t(49186),l=t(17676),s=t(60694),o=t(20655),y=t(80812);async function c(e,a){const t=(0,s.qg)(e);if(!t)throw new i.A("invalid-url","Invalid scene service url");const c={...a,sceneServerUrl:t.url.path,layerId:t.sublayer??void 0};if(c.sceneLayerItem??=await async function(e){const a=(await u(e)).serviceItemId;if(!a)return null;const t=new y.default({id:a,apiKey:e.apiKey}),i=await async function(e){const a=n.id?.findServerInfo(e.sceneServerUrl);if(a?.owningSystemUrl)return a.owningSystemUrl;const t=e.sceneServerUrl.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{const a=(await(0,r.A)(t,{query:{f:"json"},responseType:"json",signal:e.signal})).data.owningSystemUrl;if(a)return a}catch(e){(0,l.QP)(e)}return null}(e);null!=i&&(t.portal=new o.A({url:i}));try{return await t.load({signal:e.signal})}catch(e){return(0,l.QP)(e),null}}(c),null==c.sceneLayerItem)return d(c.sceneServerUrl.replace("/SceneServer","/FeatureServer"),c);const f=await async function({sceneLayerItem:e,signal:a}){if(!e)return null;try{const t=(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:a})).find(e=>"Feature Service"===e.type)||null;if(!t)return null;const n=new y.default({portal:t.portal,id:t.id});return await n.load(),n}catch(e){return(0,l.QP)(e),null}}(c);if(!f?.url)throw new i.A("related-service-not-found","Could not find feature service through portal item relationship");c.featureServiceItem=f;const w=await d(f.url,c);return w.portalItem=f,w}async function u(e){if(e.rootDocument)return e.rootDocument;const a={query:{f:"json",...e.customParameters,token:e.apiKey},responseType:"json",signal:e.signal};try{const t=await(0,r.A)(e.sceneServerUrl,a);e.rootDocument=t.data}catch{e.rootDocument={}}return e.rootDocument}async function d(e,a){const t=(0,s.qg)(e);if(!t)throw new i.A("invalid-feature-service-url","Invalid feature service url");const n=t.url.path,l=a.layerId;if(null==l)return{serverUrl:n};const o=u(a),y=a.featureServiceItem?await a.featureServiceItem.fetchData("json"):null,c=(y?.layers?.[0]||y?.tables?.[0])?.customParameters,d=e=>{const t={query:{f:"json",...c},responseType:"json",authMode:e,signal:a.signal};return(0,r.A)(n,t)},f=d("anonymous").catch(()=>d("no-prompt")),[w,h]=await Promise.all([f,o]),m=h?.layers,L=w.data&&w.data.layers;if(!Array.isArray(L))throw new Error("expected layers array");if(Array.isArray(m)){for(let e=0;e<Math.min(m.length,L.length);e++)if(m[e].id===l)return{serverUrl:n,layerId:L[e].id}}else if(null!=l&&l<L.length)return{serverUrl:n,layerId:L[l].id};throw new Error("could not find matching associated sublayer")}},23154(e,a,t){t.d(a,{K:()=>f,Q:()=>l});var n=t(77548),r=t(7861);const i=new Set(["Catalog Layer","Feature Layer","Oriented Imagery Layer"]);async function l(e,a){const{loadContext:t,...i}=a||{},l=t?await t.fetchServiceMetadata(e,i):await(0,r.L)(e,i),s=(0,n.G$)();d(l),y(l);const o={serviceJSON:l,preferredHost:s};if((l.currentVersion??0)<10.5)return o;const c=`${(0,n.$x)()??e}/layers`,u=t?await t.fetchServiceMetadata(c,i):await(0,r.L)(c,i);return d(u),y(u),o.layersJSON={layers:u.layers,tables:u.tables},o}function s(e){const{type:a}=e;return!!a&&i.has(a)}function o(e){return"Table"===e.type}function y(e){e.layers=e.layers?.filter(s),e.tables=e.tables?.filter(o)}function c(e){e.type||="Feature Layer"}function u(e){e.type||="Table"}function d(e){e.layers?.forEach(c),e.tables?.forEach(u)}function f(e){switch(e){case"Feature Layer":case"Table":return"FeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Catalog Layer":return"CatalogLayer"}return"FeatureLayer"}},2976(e,a,t){t.d(a,{U:()=>n});const n={BingMapsLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(6684)]).then(t.bind(t,17029))).default,BuildingSceneLayer:async()=>(await Promise.all([t.e(7632),t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(4674),t.e(993),t.e(8589),t.e(7609),t.e(6231),t.e(7005),t.e(9630),t.e(1753),t.e(1427),t.e(2942),t.e(9028)]).then(t.bind(t,82411))).default,CSVLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(4079)]).then(t.bind(t,68695))).default,CatalogLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(4674),t.e(993),t.e(893),t.e(7609),t.e(3636),t.e(9279),t.e(28)]).then(t.bind(t,83508))).default,DimensionLayer:async()=>(await Promise.all([t.e(8278),t.e(3813)]).then(t.bind(t,71493))).default,ElevationLayer:async()=>(await Promise.all([t.e(8278),t.e(9953),t.e(9186),t.e(3090)]).then(t.bind(t,38732))).default,FeatureLayer:async()=>(await Promise.all([t.e(7632),t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(4674),t.e(993),t.e(8589),t.e(7609),t.e(9098)]).then(t.bind(t,18589))).default,GaussianSplatLayer:async()=>(await Promise.all([t.e(8278),t.e(6231),t.e(4447)]).then(t.bind(t,36475))).default,GeoJSONLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(3197)]).then(t.bind(t,15481))).default,GeoRSSLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(9657)]).then(t.bind(t,63201))).default,GroupLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(5613),t.e(6569)]).then(t.bind(t,85989))).default,ImageryLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1956),t.e(893),t.e(6231),t.e(640),t.e(9863),t.e(3356),t.e(8434),t.e(9397)]).then(t.bind(t,87772))).default,ImageryTileLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(6231),t.e(640),t.e(9863),t.e(7373),t.e(3356),t.e(9235),t.e(3500),t.e(1003),t.e(233),t.e(7705)]).then(t.bind(t,90561))).default,IntegratedMesh3DTilesLayer:async()=>(await Promise.all([t.e(8278),t.e(9953),t.e(6231),t.e(8635),t.e(9544)]).then(t.bind(t,61528))).default,IntegratedMeshLayer:async()=>(await Promise.all([t.e(8278),t.e(9953),t.e(6231),t.e(1427),t.e(8635),t.e(7464)]).then(t.bind(t,74660))).default,KMLLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(6847)]).then(t.bind(t,162))).default,KnowledgeGraphLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(993),t.e(708),t.e(9696),t.e(2031),t.e(5752),t.e(640),t.e(217),t.e(3902),t.e(2655),t.e(2246),t.e(7149)]).then(t.bind(t,57149))).default,LineOfSightLayer:async()=>(await Promise.all([t.e(8278),t.e(6231),t.e(4807),t.e(9695)]).then(t.bind(t,49695))).default,LinkChartLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(993),t.e(708),t.e(9696),t.e(2031),t.e(5752),t.e(640),t.e(217),t.e(3902),t.e(2655),t.e(2246),t.e(3309)]).then(t.bind(t,93309))).default,MapImageLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(4674),t.e(893),t.e(2045),t.e(104)]).then(t.bind(t,7656))).default,MapNotesLayer:async()=>(await Promise.all([t.e(7632),t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(4674),t.e(993),t.e(8589),t.e(7609),t.e(2655),t.e(3290)]).then(t.bind(t,96299))).default,MediaLayer:async()=>(await Promise.all([t.e(7632),t.e(8278),t.e(7865),t.e(2031),t.e(7433),t.e(2491)]).then(t.bind(t,90182))).default,OGCFeatureLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(708),t.e(1753),t.e(6678)]).then(t.bind(t,65977))).default,OpenStreetMapLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(7269),t.e(349)]).then(t.bind(t,40349))).default,OrientedImageryLayer:async()=>(await Promise.all([t.e(7632),t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(4674),t.e(993),t.e(8589),t.e(7609),t.e(2293),t.e(3806)]).then(t.bind(t,16852))).default,ParquetLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(9519)]).then(t.bind(t,36943))).default,PointCloudLayer:async()=>(await Promise.all([t.e(8278),t.e(2869),t.e(6231),t.e(241)]).then(t.bind(t,77885))).default,RouteLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(217),t.e(2209)]).then(t.bind(t,34507))).default,SceneLayer:async()=>(await Promise.all([t.e(8278),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(6231),t.e(7005),t.e(9630),t.e(1753),t.e(1427),t.e(2942),t.e(1086)]).then(t.bind(t,2e4))).default,StreamLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(3758)]).then(t.bind(t,79457))).default,SubtypeGroupLayer:async()=>(await Promise.all([t.e(7632),t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1956),t.e(8399),t.e(4674),t.e(993),t.e(7609),t.e(640),t.e(8575)]).then(t.bind(t,97483))).default,TileLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(4674),t.e(893),t.e(9186),t.e(2045),t.e(2746)]).then(t.bind(t,71756))).default,UnknownLayer:async()=>(await t.e(146).then(t.bind(t,146))).default,UnsupportedLayer:async()=>(await t.e(5165).then(t.bind(t,45165))).default,VectorTileLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(9186),t.e(8447),t.e(5013),t.e(8260)]).then(t.bind(t,48757))).default,VideoLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(3910),t.e(821),t.e(4674),t.e(640),t.e(7433),t.e(841)]).then(t.bind(t,86875))).default,ViewshedLayer:async()=>(await Promise.all([t.e(8278),t.e(6231),t.e(4807),t.e(6650)]).then(t.bind(t,96650))).default,VoxelLayer:async()=>(await Promise.all([t.e(8278),t.e(2869),t.e(4273)]).then(t.bind(t,21005))).default,WCSLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(640),t.e(9863),t.e(7373),t.e(3356),t.e(9235),t.e(3500),t.e(233),t.e(3661)]).then(t.bind(t,20521))).default,WFSLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(9953),t.e(821),t.e(1733),t.e(1214),t.e(1956),t.e(8399),t.e(1017),t.e(708),t.e(8216)]).then(t.bind(t,21901))).default,WMSLayer:async()=>(await Promise.all([t.e(7632),t.e(8278),t.e(7865),t.e(6554),t.e(2869),t.e(3910),t.e(6705)]).then(t.bind(t,51904))).default,WMTSLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(7269),t.e(309)]).then(t.bind(t,20309))).default,WebTileLayer:async()=>(await Promise.all([t.e(8278),t.e(7865),t.e(6554),t.e(7269)]).then(t.bind(t,47314))).default}},7861(e,a,t){t.d(a,{L:()=>r});var n=t(11254);async function r(e,a){return(await(0,n.A)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}})).data}}}]);