@arcgis/core 4.34.0-next.26 → 4.34.0-next.27

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 (1639) hide show
  1. package/Color.js +1 -1
  2. package/README.md +5 -5
  3. package/UndoRedo.js +1 -1
  4. package/WebDocument2D.js +1 -1
  5. package/WebScene.js +1 -1
  6. package/analysis/LengthDimension.js +1 -1
  7. package/analysis/VolumeMeasurement/volumeMeasurementUtils.js +1 -1
  8. package/analysis/VolumeMeasurementAnalysis.js +1 -1
  9. package/analysis/dimensionUtils.js +1 -1
  10. package/analysis/featureReferenceUtils.js +1 -1
  11. package/applications/Components/imageryUtils.d.ts +2 -0
  12. package/applications/Components/imageryUtils.js +1 -1
  13. package/applications/KnowledgeStudio/resourceSerializationUtils.js +1 -1
  14. package/arcade/ArcadeDate.js +1 -1
  15. package/arcade/ArcadeModuleResolver.js +1 -1
  16. package/arcade/Dictionary.js +1 -1
  17. package/arcade/Feature.js +1 -1
  18. package/arcade/Voxel.js +1 -1
  19. package/arcade/arcadeAsyncRuntime.js +1 -1
  20. package/arcade/arcadeCompiler.js +1 -1
  21. package/arcade/arcadeEnvironment.js +1 -1
  22. package/arcade/arcadeRuntime.js +1 -1
  23. package/arcade/containerUtils.js +1 -1
  24. package/arcade/enum.js +1 -1
  25. package/arcade/executionError.js +1 -1
  26. package/arcade/featureSetUtils.js +1 -1
  27. package/arcade/featureset/actions/Adapted.js +1 -1
  28. package/arcade/featureset/actions/AttributeFilter.js +1 -1
  29. package/arcade/featureset/actions/GroupBy.js +1 -1
  30. package/arcade/featureset/actions/OrderBy.js +1 -1
  31. package/arcade/featureset/actions/SpatialFilter.js +1 -1
  32. package/arcade/featureset/actions/Top.js +1 -1
  33. package/arcade/featureset/sources/Empty.js +1 -1
  34. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  35. package/arcade/featureset/sources/FeatureLayerMemory.js +1 -1
  36. package/arcade/featureset/sources/FeatureLayerRelated.js +1 -1
  37. package/arcade/featureset/support/FeatureSet.js +1 -1
  38. package/arcade/featureset/support/StatsField.js +1 -1
  39. package/arcade/featureset/support/errorsupport.js +1 -1
  40. package/arcade/featureset/support/shared.js +1 -1
  41. package/arcade/featureset/support/sqlUtils.js +1 -1
  42. package/arcade/featureset/support/stats.js +1 -1
  43. package/arcade/functions/convertdirection.js +1 -1
  44. package/arcade/functions/date.js +1 -1
  45. package/arcade/functions/feature.js +1 -1
  46. package/arcade/functions/featuresetbase.js +1 -1
  47. package/arcade/functions/featuresetgeom.js +1 -1
  48. package/arcade/functions/featuresetstats.js +1 -1
  49. package/arcade/functions/featuresetstring.js +1 -1
  50. package/arcade/functions/geomasync.js +1 -1
  51. package/arcade/functions/geometry.js +1 -1
  52. package/arcade/functions/geomsync.js +1 -1
  53. package/arcade/functions/knowledgegraph.js +1 -1
  54. package/arcade/functions/stats.js +1 -1
  55. package/arcade/functions/string.js +1 -1
  56. package/arcade/geometry/constructors.js +1 -1
  57. package/arcade/geometry/functions.js +1 -1
  58. package/arcade/geometry/unitConversion.js +1 -1
  59. package/arcade/validation/arcadeValidator.js +1 -1
  60. package/arcade/validation/diagnosticMessages.js +1 -1
  61. package/arcade/validation/types.js +0 -1
  62. package/assets/esri/core/workers/RemoteClient.js +1 -1
  63. package/assets/esri/core/workers/chunks/{2c2128201c80a1b1aeb6.js → 006b5b465f6ec1463743.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{3b80b01551d124534a1b.js → 075431aacc19f4f50e61.js} +1 -1
  65. package/assets/esri/core/workers/chunks/083575552e530a6471c1.js +1 -0
  66. package/assets/esri/core/workers/chunks/{e7f5ff5318c144baa4e9.js → 09063e2b6f92f8b8d6df.js} +1 -1
  67. package/assets/esri/core/workers/chunks/0c6f498e25b68d33f89e.js +1 -0
  68. package/assets/esri/core/workers/chunks/11a7e7ff2b6d040b7257.js +1 -0
  69. package/assets/esri/core/workers/chunks/147c1537e39e0a9f57c0.js +1 -0
  70. package/assets/esri/core/workers/chunks/16fbf04c039d1ea34f3d.js +1 -0
  71. package/assets/esri/core/workers/chunks/1859a11df9f579b993d7.js +1 -0
  72. package/assets/esri/core/workers/chunks/1aff43dad2302677b4f4.js +1 -0
  73. package/assets/esri/core/workers/chunks/24ce3d21ddd15da614dd.js +1 -0
  74. package/assets/esri/core/workers/chunks/277941bec15525dbd3a0.js +1 -0
  75. package/assets/esri/core/workers/chunks/28ca93c78798caf2e3f9.js +1 -0
  76. package/assets/esri/core/workers/chunks/2a37e4e361a47fb4e7a8.js +1 -0
  77. package/assets/esri/core/workers/chunks/2cfe4370834b754d8a6c.js +1 -0
  78. package/assets/esri/core/workers/chunks/{36648facd56ee91afc7c.js → 2d354cb311fa41b22d2e.js} +1 -1
  79. package/assets/esri/core/workers/chunks/{820cf4337b248a0cb63c.js → 2de5fcc52f45260b8f64.js} +1 -1
  80. package/assets/esri/core/workers/chunks/2f89b85af0f5b523824b.js +1 -0
  81. package/assets/esri/core/workers/chunks/3149a86cd25684dcb0b3.js +1 -0
  82. package/assets/esri/core/workers/chunks/33903a91c2a08b870623.js +1 -0
  83. package/assets/esri/core/workers/chunks/37f6562f5a3aeb5cf623.js +1 -0
  84. package/assets/esri/core/workers/chunks/381305de6f3ddb89f1ca.js +1 -0
  85. package/assets/esri/core/workers/chunks/386ab72a45102c2d47f2.js +1 -0
  86. package/assets/esri/core/workers/chunks/39756213796d0fe119e7.js +1 -0
  87. package/assets/esri/core/workers/chunks/3e731761df43a50d4884.js +1 -0
  88. package/assets/esri/core/workers/chunks/3fe7be535affae31de7e.js +1 -0
  89. package/assets/esri/core/workers/chunks/{4a720f2ed4eb96c3bd1c.js → 3fe84dceab7a9e6783d5.js} +1 -1
  90. package/assets/esri/core/workers/chunks/41071e672dcddec47492.js +1 -0
  91. package/assets/esri/core/workers/chunks/{109ef17dd4f9430bb686.js → 4171bfbaddf06c23cc5e.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{bf3fc71881aa559fc931.js → 421ab3c4db4235951e36.js} +1 -1
  93. package/assets/esri/core/workers/chunks/45121b7258333c8ebbdb.js +1 -0
  94. package/assets/esri/core/workers/chunks/46bf33ed96014e632e3f.js +1 -0
  95. package/assets/esri/core/workers/chunks/4721614c4d81d535505b.js +1 -0
  96. package/assets/esri/core/workers/chunks/{472c677a74d779ce62d7.js → 473190fe656a40cafd40.js} +1 -1
  97. package/assets/esri/core/workers/chunks/4778acd0cfaf0cebeec7.js +1 -0
  98. package/assets/esri/core/workers/chunks/4784af2b04fafacfcc1b.js +1 -0
  99. package/assets/esri/core/workers/chunks/4bc639cbb28eb75233be.js +1 -0
  100. package/assets/esri/core/workers/chunks/4c715d54f5734511adbd.js +1 -0
  101. package/assets/esri/core/workers/chunks/4cb6f77fe23962ef264b.js +1 -0
  102. package/assets/esri/core/workers/chunks/{5ef3256c32c4b622bd11.js → 4d884390288b1380ab2a.js} +1 -1
  103. package/assets/esri/core/workers/chunks/4f63b8236c734551c3f0.js +1 -0
  104. package/assets/esri/core/workers/chunks/4fa81a7137737fa29623.js +1 -0
  105. package/assets/esri/core/workers/chunks/51b97f67c8dbfb932170.js +1 -0
  106. package/assets/esri/core/workers/chunks/5227a05a244d6af746f0.js +1 -0
  107. package/assets/esri/core/workers/chunks/{9182fe69b9863e1de714.js → 54a30a1ae25eff0c2bdc.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{6e9b4bfe2a1497c96100.js → 56742c5b310b3c989f4d.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{06cdbccc9f325dcc303d.js → 5934944d3532cc27c046.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{40fc7c43feaeef8b814d.js → 5ac49ddc11e89a755470.js} +1 -1
  111. package/assets/esri/core/workers/chunks/5ba2e074d42493f6eac9.js +1 -0
  112. package/assets/esri/core/workers/chunks/{856739d12ee9d7154683.js → 5f239972cb95afdfa77a.js} +1 -1
  113. package/assets/esri/core/workers/chunks/60d0fc02f37c6b328d31.js +1 -0
  114. package/assets/esri/core/workers/chunks/61e4aa939915e9cd1e8d.js +1 -0
  115. package/assets/esri/core/workers/chunks/630d55eea98469a361d4.js +1 -0
  116. package/assets/esri/core/workers/chunks/{395f589b0929e37ba674.js → 66f1c9a82c2c960bb86c.js} +1 -1
  117. package/assets/esri/core/workers/chunks/679018fd319a9bebeb88.js +1 -0
  118. package/assets/esri/core/workers/chunks/{d7d5f7fea2bf77f43754.js → 6878d504d776abf8089b.js} +1 -1
  119. package/assets/esri/core/workers/chunks/6963ded8428cc8d51d85.js +1 -0
  120. package/assets/esri/core/workers/chunks/6a0777cf1270fcab4574.js +1 -0
  121. package/assets/esri/core/workers/chunks/6c3ae96c6ef764fb9552.js +1 -0
  122. package/assets/esri/core/workers/chunks/6d786fac4bb5efcb7acc.js +1 -0
  123. package/assets/esri/core/workers/chunks/706d8e0561b810613308.js +1 -0
  124. package/assets/esri/core/workers/chunks/72a50a2845ab211868f2.js +1 -0
  125. package/assets/esri/core/workers/chunks/730554e5d6018d2e9e9e.js +1 -0
  126. package/assets/esri/core/workers/chunks/7b5bb94eb8705a84d45c.js +1 -0
  127. package/assets/esri/core/workers/chunks/7bd672e534cde0d5787d.js +1 -0
  128. package/assets/esri/core/workers/chunks/{66affa0ee7fda288df11.js → 7e746427375e83fc4351.js} +1 -1
  129. package/assets/esri/core/workers/chunks/{cefb063f93c4310a3888.js → 80dc4c6c549d3711af5c.js} +1 -1
  130. package/assets/esri/core/workers/chunks/812cf236acb08bbfa54e.js +1 -0
  131. package/assets/esri/core/workers/chunks/81d82c8c8bd8d79c6420.js +1 -0
  132. package/assets/esri/core/workers/chunks/8664ed88a2c52751e590.js +1 -0
  133. package/assets/esri/core/workers/chunks/8684dcf89344aaeaf97a.js +1 -0
  134. package/assets/esri/core/workers/chunks/8772982f0760a7770290.js +1 -0
  135. package/assets/esri/core/workers/chunks/87df7cb4faf37d68bcbc.js +1 -0
  136. package/assets/esri/core/workers/chunks/8b33efbde3e96be88eb9.js +1 -0
  137. package/assets/esri/core/workers/chunks/8d914ea9b18b32fd62b8.js +1 -0
  138. package/assets/esri/core/workers/chunks/9046a792395da28fa8f7.js +1 -0
  139. package/assets/esri/core/workers/chunks/92a372a96245c083e8d6.js +1 -0
  140. package/assets/esri/core/workers/chunks/9322160387e5c3c968cd.js +346 -0
  141. package/assets/esri/core/workers/chunks/937c93e536ea932257eb.js +1 -0
  142. package/assets/esri/core/workers/chunks/93a068bb3b0a4b918821.js +1 -0
  143. package/assets/esri/core/workers/chunks/{a8a5cdd70db90273a3fc.js → 94a3474e3f45efa4a4fe.js} +1 -1
  144. package/assets/esri/core/workers/chunks/9723512bc9db4a301c72.js +1 -0
  145. package/assets/esri/core/workers/chunks/97a56b058f8472fec1b2.js +1 -0
  146. package/assets/esri/core/workers/chunks/{86abfce1f2ac93cc4d54.js → 987c816176c40ff62027.js} +1 -1
  147. package/assets/esri/core/workers/chunks/{a19689f8d1ef48fd2159.js → 9a8669dd3a7a2996d3e4.js} +1 -1
  148. package/assets/esri/core/workers/chunks/{30fae1f066dc3cd781f1.js → 9af47a4da3a0b84f1add.js} +1 -1
  149. package/assets/esri/core/workers/chunks/9b7d8f00655e9c1469de.js +1 -0
  150. package/assets/esri/core/workers/chunks/9c5745d9e9eeff98bb1d.js +1 -0
  151. package/assets/esri/core/workers/chunks/{1d27701832ea139fcc20.js → 9d18e772aef0b7027995.js} +1 -1
  152. package/assets/esri/core/workers/chunks/{7cfba5cec425221962e8.js → a150401f60342f9873f8.js} +1 -1
  153. package/assets/esri/core/workers/chunks/a24d1572c67f27ceced4.js +1 -0
  154. package/assets/esri/core/workers/chunks/a2bfb7b2f3f909dc5e59.js +1 -0
  155. package/assets/esri/core/workers/chunks/a3f0e977cc7001645cce.js +1 -0
  156. package/assets/esri/core/workers/chunks/a5310ff0bd5efb33cae6.js +1 -0
  157. package/assets/esri/core/workers/chunks/a9d83a442d8d7a376fc0.js +1 -0
  158. package/assets/esri/core/workers/chunks/aa585903d55773a85c84.js +1 -0
  159. package/assets/esri/core/workers/chunks/aa8df507839b17003872.js +1 -0
  160. package/assets/esri/core/workers/chunks/ac03c31de26bbbec056e.js +1 -0
  161. package/assets/esri/core/workers/chunks/ac7023eccf5fdbbcdc0d.js +1 -0
  162. package/assets/esri/core/workers/chunks/adf2572b971796522693.js +1 -0
  163. package/assets/esri/core/workers/chunks/ae75bfa90eb530d5954e.js +1 -0
  164. package/assets/esri/core/workers/chunks/afb7e346779adefa4b05.js +1 -0
  165. package/assets/esri/core/workers/chunks/b13dc7ac1f442059cff7.js +1 -0
  166. package/assets/esri/core/workers/chunks/b3f6a783a8ac879ff1e4.js +1 -0
  167. package/assets/esri/core/workers/chunks/b50841f898d4eb420b73.js +1 -0
  168. package/assets/esri/core/workers/chunks/b8853c9a65d642be0457.js +1 -0
  169. package/assets/esri/core/workers/chunks/b89aacec211c66e3a011.js +1 -0
  170. package/assets/esri/core/workers/chunks/{567385709e18ace93b1e.js → b9435bbb89339fb0efe7.js} +1 -1
  171. package/assets/esri/core/workers/chunks/bd6c6acf23db2a2e8ef8.js +1 -0
  172. package/assets/esri/core/workers/chunks/bdb7d6273c457b5193fc.js +1 -0
  173. package/assets/esri/core/workers/chunks/be1b83077f6c775ffd17.js +1 -0
  174. package/assets/esri/core/workers/chunks/{d2986ddd390227feac85.js → bfa8a2523b35ee698709.js} +1 -1
  175. package/assets/esri/core/workers/chunks/c01dfbcea25387c6a781.js +1 -0
  176. package/assets/esri/core/workers/chunks/{a7a5b89c2bb69f3af59c.js → c4c26753fb144838e9bf.js} +1 -1
  177. package/assets/esri/core/workers/chunks/{41d07f5a550f242d964e.js → c87bb42f825c39f9cce3.js} +1 -1
  178. package/assets/esri/core/workers/chunks/c97df44df42c6de8ffc5.js +1 -0
  179. package/assets/esri/core/workers/chunks/c9fe9792312f0161ef5a.js +1 -0
  180. package/assets/esri/core/workers/chunks/caeaa73cef54c69bfb8d.js +1 -0
  181. package/assets/esri/core/workers/chunks/cc097863f03902c75496.js +1 -0
  182. package/assets/esri/core/workers/chunks/ce0683921ccefc580018.js +1 -0
  183. package/assets/esri/core/workers/chunks/ce1a4368741f1ddc53fe.js +1 -0
  184. package/assets/esri/core/workers/chunks/cf5f18700facaa0c8170.js +1 -0
  185. package/assets/esri/core/workers/chunks/cf6a564fa3126add1664.js +1 -0
  186. package/assets/esri/core/workers/chunks/cf93b17f57cbc03f802e.js +1 -0
  187. package/assets/esri/core/workers/chunks/cffd73e94061823317ee.js +1 -0
  188. package/assets/esri/core/workers/chunks/d3b932ff2299c89c2582.js +1 -0
  189. package/assets/esri/core/workers/chunks/d52e8c2065f2767cd6f9.js +1 -0
  190. package/assets/esri/core/workers/chunks/{35aef6fd08b50c4d7dd3.js → d59a729c79e6ed434152.js} +1 -1
  191. package/assets/esri/core/workers/chunks/d88935ae5669d14c5b29.js +1 -0
  192. package/assets/esri/core/workers/chunks/{2d3679289b34b7da6bf4.js → da82ed1d2012d0cd883b.js} +1 -1
  193. package/assets/esri/core/workers/chunks/e03930dd9ce55b903906.js +1 -0
  194. package/assets/esri/core/workers/chunks/e302a3a9a6cf1f48455d.js +1 -0
  195. package/assets/esri/core/workers/chunks/e506c9158bd0b5174f18.js +1009 -0
  196. package/assets/esri/core/workers/chunks/e5d06f87eb8b52d10dfc.js +1 -0
  197. package/assets/esri/core/workers/chunks/e5fef2b5b6da2377703c.js +1 -0
  198. package/assets/esri/core/workers/chunks/e6009ddd28cc5b8752b2.js +1 -0
  199. package/assets/esri/core/workers/chunks/e6872460241fee0a561a.js +1 -0
  200. package/assets/esri/core/workers/chunks/e6e4e2fb9568319c6207.js +1 -0
  201. package/assets/esri/core/workers/chunks/e799433770e4303fcd9c.js +1 -0
  202. package/assets/esri/core/workers/chunks/e7cbd1b5e4cb32851a5c.js +1 -0
  203. package/assets/esri/core/workers/chunks/ecd673eccf89643df07a.js +2 -0
  204. package/assets/esri/core/workers/chunks/{d1aeb9fe9eb573beefcc.js → edc4f230a5bdf928f9fd.js} +2 -2
  205. package/assets/esri/core/workers/chunks/edd9f70247daaef2f0b9.js +1 -0
  206. package/assets/esri/core/workers/chunks/ee0596d6d66225b04465.js +1 -0
  207. package/assets/esri/core/workers/chunks/f318f3289684f9112431.js +1 -0
  208. package/assets/esri/core/workers/chunks/f3c011455136b6c85803.js +1 -0
  209. package/assets/esri/core/workers/chunks/f3d784052b8357408394.js +1 -0
  210. package/assets/esri/core/workers/chunks/{5284d46aecd6fe0345b8.js → f5e9f29cc132208c91be.js} +1 -1
  211. package/assets/esri/core/workers/chunks/f95edcb0664039bbe73f.js +1 -0
  212. package/assets/esri/core/workers/chunks/fb84fa28978a1820a725.js +1 -0
  213. package/assets/esri/core/workers/chunks/{c11efbf098866c927607.js → ffc4703dcdc792ddaa9c.js} +1 -1
  214. package/assets/esri/libs/i3s/i3s.wasm +0 -0
  215. package/chunks/BlendLayers.glsl.js +1 -1
  216. package/chunks/BloomBlur.glsl.js +8 -8
  217. package/chunks/CheckerBoard.glsl.js +3 -3
  218. package/chunks/Clouds.glsl.js +15 -15
  219. package/chunks/CloudsComposition.glsl.js +2 -2
  220. package/chunks/ColorMaterial.glsl.js +4 -4
  221. package/chunks/ComponentShader.glsl.js +36 -36
  222. package/chunks/Compositing.glsl.js +4 -4
  223. package/chunks/DefaultMaterial.glsl.js +23 -23
  224. package/chunks/EdgeShader.glsl.js +9 -9
  225. package/chunks/FocusAreaColor.glsl.js +3 -3
  226. package/chunks/FocusAreaMask.glsl.js +2 -2
  227. package/chunks/HUDMaterial.glsl.js +44 -44
  228. package/chunks/HeatmapDensity.glsl.js +6 -6
  229. package/chunks/ImageMaterial.glsl.js +4 -4
  230. package/chunks/LaserlinePath.glsl.js +6 -6
  231. package/chunks/LineCallout.glsl.js +5 -5
  232. package/chunks/LineMarker.glsl.js +29 -29
  233. package/chunks/Magnifier.glsl.js +2 -2
  234. package/chunks/MeasurementArrow.glsl.js +6 -6
  235. package/chunks/NativeLine.glsl.js +7 -7
  236. package/chunks/NoiseTextureAtlas.glsl.js +34 -34
  237. package/chunks/OverlayCompositing.glsl.js +2 -2
  238. package/chunks/Path.glsl.js +16 -16
  239. package/chunks/Pattern.glsl.js +22 -22
  240. package/chunks/PointRenderer.glsl.js +4 -4
  241. package/chunks/Precipitation.glsl.js +7 -7
  242. package/chunks/RasterColorizer.glsl.js +11 -11
  243. package/chunks/RealisticTree.glsl.js +16 -16
  244. package/chunks/RibbonLine.glsl.js +36 -36
  245. package/chunks/ShadedColorMaterial.glsl.js +7 -7
  246. package/chunks/ShadowCastAccumulate.glsl.js +4 -4
  247. package/chunks/ShadowCastClear.glsl.js +1 -1
  248. package/chunks/ShadowCastVisualize.glsl.js +11 -11
  249. package/chunks/ShadowHighlight.glsl.js +3 -3
  250. package/chunks/SimpleAtmosphere.glsl.js +9 -9
  251. package/chunks/SlicePlaneMaterial.glsl.js +3 -3
  252. package/chunks/Stars.glsl.js +2 -2
  253. package/chunks/Terrain.glsl.js +32 -32
  254. package/chunks/WaterSurface.glsl.js +16 -16
  255. package/chunks/aiServices.js +1 -1
  256. package/chunks/arcade.js +1 -1
  257. package/chunks/array.js +1 -1
  258. package/chunks/boundedPlane.js +1 -1
  259. package/chunks/cameraUtilsPlanar.js +1 -1
  260. package/chunks/cameraUtilsSpherical.js +1 -1
  261. package/chunks/i3s.js +1 -1
  262. package/chunks/languageUtils.js +1 -1
  263. package/chunks/persistableUrlUtils.js +1 -1
  264. package/chunks/sphere.js +1 -1
  265. package/config.js +1 -1
  266. package/core/ByteSizeUnit.js +0 -1
  267. package/core/Clonable.js +1 -1
  268. package/core/Collection.js +1 -1
  269. package/core/Loadable.js +1 -1
  270. package/core/MemCache.js +1 -1
  271. package/core/MemCachePool.js +1 -1
  272. package/core/MultiOriginJSONSupport.js +1 -1
  273. package/core/ObservableChangesType.js +0 -1
  274. package/core/Promise.js +1 -1
  275. package/core/accessorSupport/DefaultsStore.js +1 -1
  276. package/core/accessorSupport/MultiOriginStore.js +1 -1
  277. package/core/accessorSupport/Properties.js +1 -1
  278. package/core/accessorSupport/Property.js +1 -1
  279. package/core/accessorSupport/PropertyOrigin.js +1 -1
  280. package/core/accessorSupport/Store.js +1 -1
  281. package/core/accessorSupport/decorators/persistable.js +1 -1
  282. package/core/accessorSupport/defaultsStoreUtils.js +1 -1
  283. package/core/accessorSupport/overrideDefaultsFrom.js +1 -1
  284. package/core/accessorSupport/testSupport.js +1 -1
  285. package/core/accessorSupport/watch.js +1 -1
  286. package/core/accessorSupport/write.js +1 -1
  287. package/core/collectionUtils.js +1 -1
  288. package/core/colorUtils.js +1 -1
  289. package/core/pbf.js +1 -1
  290. package/core/sql/AggregateFunctions.js +1 -1
  291. package/core/sql/SqlInterval.js +1 -1
  292. package/core/sql/StandardizedFunctions.js +1 -1
  293. package/core/sql/WhereClause.js +1 -1
  294. package/core/sql/errorSupport.js +1 -1
  295. package/core/sql/sqlArithmeticUtils.js +1 -1
  296. package/core/sql/sqlCompareUtils.js +1 -1
  297. package/core/sql/sqlDateParsingUtils.js +1 -1
  298. package/core/support/OwningCollection.js +1 -1
  299. package/core/unitFormatUtils.js +1 -1
  300. package/editing/sharedTemplates/executor/builders/pointAtAllVerticesOfLine.js +1 -1
  301. package/editing/sharedTemplates/executor/builders/pointAtBeginningOfLine.js +1 -1
  302. package/editing/sharedTemplates/executor/builders/pointAtBeginningOfRadial.js +1 -1
  303. package/editing/sharedTemplates/executor/builders/pointAtEndOfLine.js +1 -1
  304. package/editing/sharedTemplates/executor/builders/pointAtInteriorVertices.js +1 -1
  305. package/editing/sharedTemplates/executor/builders/pointAtNotBeginningOfLine.js +1 -1
  306. package/editing/sharedTemplates/executor/builders/pointAtNotEndOfLine.js +1 -1
  307. package/editing/sharedTemplates/executor/builders/support/offsetUtils.js +1 -1
  308. package/editing/sharedTemplates/executor/createTemplateExecutor.js +1 -1
  309. package/geometry/projection/computeTranslationToOriginAndRotation.js +1 -1
  310. package/geometry/projection/localLinearScaleFactors.js +1 -1
  311. package/geometry/projection/projectBoundingSphere.js +1 -1
  312. package/geometry/projection/projectors.js +1 -1
  313. package/geometry/support/Axis.js +0 -1
  314. package/geometry/support/SupportedGCSWkids.js +0 -1
  315. package/geometry/support/TileClipper.js +1 -1
  316. package/geometry/support/boundedPlane.js +1 -1
  317. package/geometry/support/coordinateSystem.js +1 -1
  318. package/geometry/support/coordsUtils.js +1 -1
  319. package/geometry/support/frustum.js +1 -1
  320. package/geometry/support/heightModelInfoUtils.js +1 -1
  321. package/geometry/support/meshUtils/exporters/gltf/bufferview.js +1 -1
  322. package/geometry/support/meshUtils/exporters/gltf/glb.js +1 -1
  323. package/geometry/support/meshUtils/exporters/gltf/gltf.js +1 -1
  324. package/geometry/support/meshUtils/exporters/gltf/gltfexport.js +1 -1
  325. package/geometry/support/meshUtils/exporters/gltf/gltftypes.js +0 -1
  326. package/geometry/support/meshUtils/exporters/gltf/types.js +0 -1
  327. package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
  328. package/geometry/support/meshUtils/projection.js +1 -1
  329. package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
  330. package/geometry/support/plane.js +1 -1
  331. package/geometry/support/planetGCSUtils.js +1 -1
  332. package/geometry/support/polygonExtentClipping.js +1 -1
  333. package/geometry/support/polygonUtils.js +1 -1
  334. package/geometry/support/spatialReferenceUtils.js +1 -1
  335. package/geometry/support/sphere.js +1 -1
  336. package/geometry/support/triangulationUtils.js +1 -1
  337. package/interfaces.d.ts +61 -22
  338. package/kernel.js +1 -1
  339. package/layers/BuildingSceneLayer.js +1 -1
  340. package/layers/FeatureLayer.js +1 -1
  341. package/layers/GroupLayer.js +1 -1
  342. package/layers/ILyr3DWasmPerSceneView.js +1 -1
  343. package/layers/ImageryLayer.js +1 -1
  344. package/layers/ImageryTileLayer.js +1 -1
  345. package/layers/IntegratedMeshLayer.js +1 -1
  346. package/layers/KnowledgeGraphLayer.js +1 -1
  347. package/layers/LinkChartLayer.js +1 -1
  348. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  349. package/layers/MapImageLayer.js +1 -1
  350. package/layers/MediaLayer.js +1 -1
  351. package/layers/OrientedImageryLayer.js +1 -1
  352. package/layers/PointCloudLayer.js +1 -1
  353. package/layers/SceneLayer.js +1 -1
  354. package/layers/StreamLayer.js +1 -1
  355. package/layers/SubtypeGroupLayer.js +1 -1
  356. package/layers/VideoLayer.js +1 -1
  357. package/layers/VoxelWasmPerSceneView.js +1 -1
  358. package/layers/WCSLayer.js +1 -1
  359. package/layers/catalog/CatalogFootprintLayer.js +1 -1
  360. package/layers/graphics/controllers/I3SOnDemandController.js +1 -1
  361. package/layers/graphics/sources/connections/WebSocketConnection.js +1 -1
  362. package/layers/graphics/sources/interfaces.js +0 -1
  363. package/layers/knowledgeGraph/KnowledgeGraphSublayer.js +1 -1
  364. package/layers/mixins/ArcGISImageService.js +1 -1
  365. package/layers/mixins/ArcGISMapService.js +1 -1
  366. package/layers/mixins/FeatureLayerBase.js +1 -1
  367. package/layers/mixins/SceneService.js +1 -1
  368. package/layers/mixins/SublayersOwner.js +1 -1
  369. package/layers/ogc/ogcFeatureUtils.js +1 -1
  370. package/layers/orientedImagery/core/ExposurePoint.js +1 -1
  371. package/layers/orientedImagery/core/cameraOrientationRegistry.js +1 -1
  372. package/layers/orientedImagery/core/utils.js +1 -1
  373. package/layers/orientedImagery/enums/CameraOrientationType.js +0 -1
  374. package/layers/orientedImagery/transformations/updateElevationUtils.js +1 -1
  375. package/layers/orientedImagery/transformations/utils.js +1 -1
  376. package/layers/support/ImageElement.js +1 -1
  377. package/layers/support/RasterJobHandler.js +1 -1
  378. package/layers/support/RasterWorker.js +1 -1
  379. package/layers/support/Sublayer.js +1 -1
  380. package/layers/support/TileInfo.js +1 -1
  381. package/layers/support/TilemapCache.js +1 -1
  382. package/layers/support/domainUtils.js +1 -1
  383. package/layers/support/fieldUtils.js +1 -1
  384. package/layers/support/layerOriginUtils.js +1 -1
  385. package/layers/support/mediaUtils.js +1 -1
  386. package/layers/support/rasterDatasets/pixelReader.js +1 -1
  387. package/layers/support/rasterFunctions/ExtractBandFunction.js +1 -1
  388. package/layers/support/rasterFunctions/ExtractBandFunctionArguments.js +1 -1
  389. package/layers/support/rasterFunctions/MaskFunction.js +1 -1
  390. package/layers/support/rasterFunctions/MaskFunctionArguments.js +1 -1
  391. package/layers/support/rasterFunctions/pixelUtils.js +1 -1
  392. package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
  393. package/layers/support/rasterFunctions/stretchUtils.js +1 -1
  394. package/layers/support/streamLayerUtils.js +1 -1
  395. package/layers/support/sublayerUtils.js +1 -1
  396. package/layers/support/wmtsUtils.js +1 -1
  397. package/layers/voxel/VoxelTransferFunctionStyle.js +1 -1
  398. package/libs/basisu/TextureFormat.js +0 -1
  399. package/libs/i3s/I3SModule.js +1 -1
  400. package/libs/i3s/enums.js +0 -1
  401. package/libs/linkchartlayout/LinkChartLayout.js +1 -1
  402. package/libs/lyr3d/enums.js +0 -1
  403. package/libs/vxl/enums.js +0 -1
  404. package/networks/RulesTable.js +1 -1
  405. package/networks/UtilityNetwork.js +1 -1
  406. package/networks/support/UtilityNetworkLookupHelper.js +1 -1
  407. package/networks/support/typeUtils.js +1 -1
  408. package/networks/support/utils.js +1 -1
  409. package/package.json +3 -3
  410. package/renderers/support/DictionaryLoader.js +1 -1
  411. package/renderers/visualVariables/SizeVariable.js +1 -1
  412. package/renderers/visualVariables/support/sizeVariableUtils.js +1 -1
  413. package/renderers/visualVariables/support/visualVariableUtils.js +1 -1
  414. package/rest/knowledgeGraph/ProtoFeatureCollection.js +1 -1
  415. package/rest/knowledgeGraph/wasmInterface/KnowledgeWasmInterface.js +0 -1
  416. package/rest/knowledgeGraph/wasmInterface/WasmClientDataInterfaces.js +0 -1
  417. package/rest/knowledgeGraph/wasmInterface/WasmQueryWrapperInterfaces.js +1 -1
  418. package/rest/knowledgeGraph/wasmInterface/WasmSerializedLayerData.js +1 -1
  419. package/rest/knowledgeGraph/wasmInterface/wasmToClientDataFactories.js +1 -1
  420. package/rest/knowledgeGraph/wasmInterface/wasmToGeometryFactories.js +1 -1
  421. package/rest/knowledgeGraph/wasmInterface/wasmToQueryResponseObjFactories.js +1 -1
  422. package/rest/print.js +1 -1
  423. package/rest/support/meshFeatureSet.js +1 -1
  424. package/smartMapping/renderers/color.js +1 -1
  425. package/smartMapping/renderers/dotDensity.js +1 -1
  426. package/smartMapping/renderers/heatmap.js +1 -1
  427. package/smartMapping/renderers/pieChart.js +1 -1
  428. package/smartMapping/renderers/size.js +1 -1
  429. package/smartMapping/renderers/support/referenceSizeUtils.js +1 -1
  430. package/smartMapping/renderers/support/spikeUtils.js +1 -1
  431. package/smartMapping/renderers/type.js +1 -1
  432. package/smartMapping/statistics/heatmapStatistics.js +1 -1
  433. package/smartMapping/statistics/histogram.js +1 -1
  434. package/smartMapping/statistics/summaryStatistics.js +1 -1
  435. package/smartMapping/statistics/summaryStatisticsForAttributes.js +1 -1
  436. package/smartMapping/statistics/uniqueValues.js +1 -1
  437. package/smartMapping/support/adapters/support/layerUtils.js +1 -1
  438. package/support/persistableUrlUtils.js +1 -1
  439. package/support/revision.js +1 -1
  440. package/symbols/WaterSymbol3DLayer.js +1 -1
  441. package/symbols/cim/CIMEffects.js +1 -1
  442. package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
  443. package/symbols/cim/CIMSymbolHelper.js +1 -1
  444. package/symbols/cim/CurveHelper.js +1 -1
  445. package/symbols/cim/GeometryWalker.js +1 -1
  446. package/symbols/cim/animationUtils.js +1 -1
  447. package/symbols/cim/cimAnalyzer.js +1 -1
  448. package/symbols/cim/defaultCIMValues.js +1 -1
  449. package/symbols/cim/effects/EffectArrow.js +1 -1
  450. package/symbols/cim/effects/EffectBuffer.js +1 -1
  451. package/symbols/cim/effects/EffectControlMeasureLine.js +1 -1
  452. package/symbols/cim/effects/EffectDashes.js +1 -1
  453. package/symbols/cim/effects/EffectDonut.js +1 -1
  454. package/symbols/cim/effects/EffectEnclosingPolygon.js +1 -1
  455. package/symbols/cim/effects/EffectOffset.js +1 -1
  456. package/symbols/cim/effects/EffectWave.js +1 -1
  457. package/symbols/cim/enums.js +0 -1
  458. package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
  459. package/symbols/cim/placements/PlacementAtExtremities.js +1 -1
  460. package/symbols/cim/placements/PlacementAtRatioPositions.js +1 -1
  461. package/symbols/cim/placements/PlacementInsidePolygon.js +1 -1
  462. package/symbols/cim/placements/PlacementOnLine.js +1 -1
  463. package/symbols/cim/placements/PlacementPolygonCenter.js +1 -1
  464. package/symbols/support/materialUtils.js +1 -1
  465. package/symbols/support/previewCIMSymbol.js +1 -1
  466. package/symbols/support/previewSymbol2D.js +1 -1
  467. package/symbols/support/previewSymbol3D.js +1 -1
  468. package/symbols/support/previewUtils.js +1 -1
  469. package/symbols/support/previewWebStyleSymbol.js +1 -1
  470. package/symbols/support/symbolUtils.js +1 -1
  471. package/undoredo/OperationStatus.js +0 -1
  472. package/undoredo/UndoRedoError.js +1 -1
  473. package/undoredo/UndoableOperation.js +1 -1
  474. package/views/2d/FrameTask.js +1 -1
  475. package/views/2d/LabelManager.js +1 -1
  476. package/views/2d/engine/AFeatureContainer.js +1 -1
  477. package/views/2d/engine/Bitmap.js +1 -1
  478. package/views/2d/engine/BitmapContainer.js +1 -1
  479. package/views/2d/engine/BitmapTileContainer.js +1 -1
  480. package/views/2d/engine/Stage.js +1 -1
  481. package/views/2d/engine/flow/BrushFlow.js +1 -1
  482. package/views/2d/engine/flow/FlowContainer.js +1 -1
  483. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  484. package/views/2d/engine/flow/styles/Particles.js +1 -1
  485. package/views/2d/engine/flow/styles/Streamlines.js +1 -1
  486. package/views/2d/engine/imagery/BrushVectorField.js +1 -1
  487. package/views/2d/engine/imagery/RasterBitmap.js +1 -1
  488. package/views/2d/engine/imagery/RasterTileContainer.js +1 -1
  489. package/views/2d/engine/imagery/RasterVFContainer.js +1 -1
  490. package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
  491. package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
  492. package/views/2d/engine/imagery/enums.js +0 -1
  493. package/views/2d/engine/vectorTiles/Feature.js +1 -1
  494. package/views/2d/engine/vectorTiles/GlyphMosaic.js +1 -1
  495. package/views/2d/engine/vectorTiles/Placement.js +1 -1
  496. package/views/2d/engine/vectorTiles/RenderBucket.js +1 -1
  497. package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
  498. package/views/2d/engine/vectorTiles/TileHandler.js +1 -1
  499. package/views/2d/engine/vectorTiles/TileParser.js +1 -1
  500. package/views/2d/engine/vectorTiles/VTLPainter3D.js +1 -1
  501. package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
  502. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  503. package/views/2d/engine/vectorTiles/VectorTileFeatureIndex.js +1 -1
  504. package/views/2d/engine/vectorTiles/VectorTileRendererHelper3D.js +1 -1
  505. package/views/2d/engine/vectorTiles/WorkerTile.js +1 -1
  506. package/views/2d/engine/vectorTiles/WorkerTileHandler.js +1 -1
  507. package/views/2d/engine/vectorTiles/buckets/CircleBucket.js +1 -1
  508. package/views/2d/engine/vectorTiles/buckets/FillBucket.js +1 -1
  509. package/views/2d/engine/vectorTiles/buckets/LineBucket.js +1 -1
  510. package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
  511. package/views/2d/engine/vectorTiles/decluttering/CollisionJob.js +1 -1
  512. package/views/2d/engine/vectorTiles/decluttering/SymbolFader.js +1 -1
  513. package/views/2d/engine/vectorTiles/decluttering/jobsUtil.js +1 -1
  514. package/views/2d/engine/vectorTiles/decluttering/util.js +1 -1
  515. package/views/2d/engine/vectorTiles/enums.js +0 -1
  516. package/views/2d/engine/vectorTiles/expression/expression.js +1 -1
  517. package/views/2d/engine/vectorTiles/shaders/VTLCircleMaterial.js +1 -1
  518. package/views/2d/engine/vectorTiles/shaders/VTLFillMaterial.js +1 -1
  519. package/views/2d/engine/vectorTiles/shaders/VTLLineMaterial.js +1 -1
  520. package/views/2d/engine/vectorTiles/shaders/VTLMaterial.js +1 -1
  521. package/views/2d/engine/vectorTiles/shaders/VTLMaterialManager.js +1 -1
  522. package/views/2d/engine/vectorTiles/shaders/VTLSymbolMaterial.js +1 -1
  523. package/views/2d/engine/vectorTiles/shaders/enums.js +0 -1
  524. package/views/2d/engine/vectorTiles/style/StyleDefinition.js +1 -1
  525. package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
  526. package/views/2d/engine/vectorTiles/style/StyleRepository.js +1 -1
  527. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  528. package/views/2d/engine/webgl/BitBlitRenderer.js +1 -1
  529. package/views/2d/engine/webgl/FeatureDisplayList.js +1 -1
  530. package/views/2d/engine/webgl/FeatureTile.js +1 -1
  531. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  532. package/views/2d/engine/webgl/Mesh2D.js +1 -1
  533. package/views/2d/engine/webgl/Overlay.js +1 -1
  534. package/views/2d/engine/webgl/OverlayContainer.js +1 -1
  535. package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
  536. package/views/2d/engine/webgl/Painter.js +1 -1
  537. package/views/2d/engine/webgl/SpriteMosaic.js +1 -1
  538. package/views/2d/engine/webgl/TextureManager.js +1 -1
  539. package/views/2d/engine/webgl/TileContainer.js +1 -1
  540. package/views/2d/engine/webgl/TurboLine.js +1 -1
  541. package/views/2d/engine/webgl/Utils.js +1 -1
  542. package/views/2d/engine/webgl/VertexStream.js +1 -1
  543. package/views/2d/engine/webgl/VideoScreenRenderer.js +1 -1
  544. package/views/2d/engine/webgl/WGLContainer.js +1 -1
  545. package/views/2d/engine/webgl/WorldExtentClipRenderer.js +1 -1
  546. package/views/2d/engine/webgl/alignmentUtils.js +1 -1
  547. package/views/2d/engine/webgl/animatedFormats/utils.js +1 -1
  548. package/views/2d/engine/webgl/animations/instructions.js +1 -1
  549. package/views/2d/engine/webgl/animations/store/AnimationStore.js +1 -1
  550. package/views/2d/engine/webgl/brushes/BrushClip.js +1 -1
  551. package/views/2d/engine/webgl/brushes/WGLBrushStencil.js +1 -1
  552. package/views/2d/engine/webgl/brushes/WGLBrushTileDebugInfo.js +1 -1
  553. package/views/2d/engine/webgl/brushes/WGLBrushVTLBackground.js +1 -1
  554. package/views/2d/engine/webgl/brushes/WGLBrushVTLCircle.js +1 -1
  555. package/views/2d/engine/webgl/brushes/WGLBrushVTLFill.js +1 -1
  556. package/views/2d/engine/webgl/brushes/WGLBrushVTLLine.js +1 -1
  557. package/views/2d/engine/webgl/brushes/WGLBrushVTLSymbol.js +1 -1
  558. package/views/2d/engine/webgl/collisions/LabelMetric.js +1 -1
  559. package/views/2d/engine/webgl/cpuMapped/Buffer.js +1 -1
  560. package/views/2d/engine/webgl/definitions.js +1 -1
  561. package/views/2d/engine/webgl/effects/FeatureEffect.js +1 -1
  562. package/views/2d/engine/webgl/effects/HighlightEffect.js +1 -1
  563. package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
  564. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  565. package/views/2d/engine/webgl/effects/highlight/HighlightRenderer.js +1 -1
  566. package/views/2d/engine/webgl/effects/highlight/HighlightSurfaces.js +1 -1
  567. package/views/2d/engine/webgl/effects/post-processing/Bloom.js +1 -1
  568. package/views/2d/engine/webgl/effects/post-processing/Blur.js +1 -1
  569. package/views/2d/engine/webgl/effects/post-processing/Colorize.js +1 -1
  570. package/views/2d/engine/webgl/effects/post-processing/DropShadow.js +1 -1
  571. package/views/2d/engine/webgl/effects/post-processing/Opacity.js +1 -1
  572. package/views/2d/engine/webgl/enums.js +0 -1
  573. package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
  574. package/views/2d/engine/webgl/mesh/templates/templateUtils.js +1 -1
  575. package/views/2d/engine/webgl/meshing/Mesh.js +1 -1
  576. package/views/2d/engine/webgl/painter/RenderPass.js +1 -1
  577. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureTechnique.js +1 -1
  578. package/views/2d/engine/webgl/shaderGraph/techniques/Technique.js +1 -1
  579. package/views/2d/engine/webgl/shaderGraph/techniques/TechniqueType.js +0 -1
  580. package/views/2d/engine/webgl/shaderGraph/techniques/TestTechnique.js +1 -1
  581. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedPolyShader.js +1 -1
  582. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  583. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedLineShader.js +1 -1
  584. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
  585. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerShader.js +1 -1
  586. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedPolyMeshWriters.js +1 -1
  587. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedTechniques.js +1 -1
  588. package/views/2d/engine/webgl/shaderGraph/techniques/animated/enums.js +0 -1
  589. package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
  590. package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
  591. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityResources.js +1 -1
  592. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
  593. package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
  594. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
  595. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
  596. package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
  597. package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillMeshWriter.js +1 -1
  598. package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
  599. package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientSizeHelper.js +1 -1
  600. package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
  601. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
  602. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
  603. package/views/2d/engine/webgl/shaderGraph/techniques/fill/meshWriterUtils.js +1 -1
  604. package/views/2d/engine/webgl/shaderGraph/techniques/grid/GridTechnique.js +1 -1
  605. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapResources.js +1 -1
  606. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
  607. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
  608. package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeMeshWriter.js +1 -1
  609. package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
  610. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
  611. package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineMeshWriter.js +1 -1
  612. package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
  613. package/views/2d/engine/webgl/shaderGraph/techniques/magnifier/MagnifierTechnique.js +1 -1
  614. package/views/2d/engine/webgl/shaderGraph/techniques/markers/ComputedMarkerParams.js +1 -1
  615. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerMeshWriter.js +1 -1
  616. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
  617. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterRegistry.js +1 -1
  618. package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
  619. package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
  620. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
  621. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterProcessorTechnique.js +1 -1
  622. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/AspectTechnique.js +1 -1
  623. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BandArithmeticTechnique.js +1 -1
  624. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BaseRasterProcessorTechnique.js +1 -1
  625. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ColormapToRGBTechnique.js +1 -1
  626. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CompositeBandTechnique.js +1 -1
  627. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ComputeChangeTechnique.js +1 -1
  628. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ContrastBrightnessTechnique.js +1 -1
  629. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ConvolutionTechnique.js +1 -1
  630. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CurvatureTechnique.js +1 -1
  631. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ExtractBandTechnique.js +1 -1
  632. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/FocalStatisticsTechnique.js +1 -1
  633. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/GrayscaleTechnique.js +1 -1
  634. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/HillshadeTechnique.js +1 -1
  635. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/LocalTechnique.js +1 -1
  636. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/MaskTechnique.js +1 -1
  637. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/NDVITechnique.js +1 -1
  638. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/RemapTechnique.js +1 -1
  639. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ReprojectTechnique.js +1 -1
  640. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ShadedReliefTechnique.js +1 -1
  641. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SlopeTechnique.js +1 -1
  642. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/StretchTechnique.js +1 -1
  643. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/textureUtils.js +1 -1
  644. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/VisualVariableRotation.js +1 -1
  645. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/constants.js +1 -1
  646. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
  647. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
  648. package/views/2d/engine/webgl/shaderGraph/techniques/videoScreenRenderer/VideoScreenTechnique.js +1 -1
  649. package/views/2d/engine/webgl/util/createMatcher.js +1 -1
  650. package/views/2d/grid/GridView2D.js +1 -1
  651. package/views/2d/input/handlers/KeyZoom.js +1 -1
  652. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  653. package/views/2d/interactive/editingTools/ControlPointsTransformTool.js +1 -1
  654. package/views/2d/interactive/editingTools/TransformTool.js +1 -1
  655. package/views/2d/interactive/editingTools/manipulations/DragManipulation.js +1 -1
  656. package/views/2d/interactive/editingTools/manipulations/Manipulation.js +1 -1
  657. package/views/2d/interactive/editingTools/manipulations/RotateManipulation.js +1 -1
  658. package/views/2d/interactive/editingTools/manipulations/ScaleManipulation.js +1 -1
  659. package/views/2d/layers/ImageryLayerView2D.js +1 -1
  660. package/views/2d/layers/MediaLayerView2D.js +1 -1
  661. package/views/2d/layers/TileLayerView2D.js +1 -1
  662. package/views/2d/layers/VectorTileLayerView2D.js +1 -1
  663. package/views/2d/layers/features/FeatureContainer.js +1 -1
  664. package/views/2d/layers/features/RenderState.js +1 -1
  665. package/views/2d/layers/features/processor/TrackStrategy.js +1 -1
  666. package/views/2d/layers/features/schema/processor/SimpleProcessorSchema.js +1 -1
  667. package/views/2d/layers/features/schema/processor/StorageSchema.js +1 -1
  668. package/views/2d/layers/features/schema/processor/VisualVariablesSchema.js +1 -1
  669. package/views/2d/layers/features/schema/processor/symbols/ComplexSymbolSchema.js +1 -1
  670. package/views/2d/layers/features/schema/processor/symbols/SymbolSchema.js +1 -1
  671. package/views/2d/layers/features/schema/processor/symbols/utils.js +1 -1
  672. package/views/2d/layers/features/support/AttributeStore.js +1 -1
  673. package/views/2d/layers/graphics/AGraphicContainer.js +1 -1
  674. package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
  675. package/views/2d/layers/graphics/GraphicContainer.js +1 -1
  676. package/views/2d/layers/graphics/HighlightGraphicContainer.js +1 -1
  677. package/views/2d/layers/imagery/ImageryView2D.js +1 -1
  678. package/views/2d/layers/support/DebugOverlay.js +1 -1
  679. package/views/2d/layers/support/DisplayGL.js +1 -1
  680. package/views/2d/layers/support/visualVariableSimpleUtils.js +1 -1
  681. package/views/2d/magnifier/MagnifierView2D.js +1 -1
  682. package/views/2d/tiling/enums.js +0 -1
  683. package/views/3d/FocusAreasView.js +1 -1
  684. package/views/3d/analysis/AnalysisViewManager3D.js +1 -1
  685. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  686. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  687. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  688. package/views/3d/analysis/Dimension/DimensionController.js +1 -1
  689. package/views/3d/analysis/Dimension/DimensionTool.js +1 -1
  690. package/views/3d/analysis/Dimension/DimensionVisualization.js +1 -1
  691. package/views/3d/analysis/Dimension/LengthDimensionSubTool.js +1 -1
  692. package/views/3d/analysis/Dimension/LengthDimensionVisualization.js +1 -1
  693. package/views/3d/analysis/Dimension/lengthDimensionConstraintUtils.js +1 -1
  694. package/views/3d/analysis/Dimension/lengthDimensionManipulatorUtils.js +1 -1
  695. package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
  696. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementController.js +1 -1
  697. package/views/3d/analysis/DirectLineMeasurement/DirectLineMeasurementVisualization.js +1 -1
  698. package/views/3d/analysis/DirectLineMeasurement/interfaces.js +0 -1
  699. package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.js +1 -1
  700. package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
  701. package/views/3d/analysis/LineOfSight/LineOfSightManipulators.js +1 -1
  702. package/views/3d/analysis/LineOfSight/LineOfSightRayIntersector.js +1 -1
  703. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  704. package/views/3d/analysis/LineOfSight/LineOfSightVisualization.js +1 -1
  705. package/views/3d/analysis/Slice/ResizeManipulator.js +1 -1
  706. package/views/3d/analysis/Slice/RotateManipulator.js +1 -1
  707. package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
  708. package/views/3d/analysis/Slice/SliceController.js +1 -1
  709. package/views/3d/analysis/Slice/SliceTool.js +1 -1
  710. package/views/3d/analysis/Slice/sliceToolUtils.js +1 -1
  711. package/views/3d/analysis/Viewshed/ArrowManipulator.js +1 -1
  712. package/views/3d/analysis/Viewshed/FieldOfViewManipulation.js +1 -1
  713. package/views/3d/analysis/Viewshed/ScaleOrientManipulation.js +1 -1
  714. package/views/3d/analysis/Viewshed/ViewshedConfiguration.js +1 -1
  715. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  716. package/views/3d/analysis/Viewshed/ViewshedVisualization.js +1 -1
  717. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  718. package/views/3d/analysis/VolumeMeasurement/CutFillVolumeMeasurementController.js +1 -1
  719. package/views/3d/analysis/interfaces.js +0 -1
  720. package/views/3d/animation/pointToPoint/Camera.js +1 -1
  721. package/views/3d/camera/constraintUtils/ConstraintOptions.js +1 -1
  722. package/views/3d/camera/constraintUtils/ConstraintTypes.js +0 -1
  723. package/views/3d/camera/constraintUtils/InteractionType.js +0 -1
  724. package/views/3d/camera/constraintUtils/TiltMode.js +0 -1
  725. package/views/3d/camera/constraintUtils/altitude.js +1 -1
  726. package/views/3d/camera/constraintUtils/common.js +1 -1
  727. package/views/3d/camera/constraintUtils/distance.js +1 -1
  728. package/views/3d/camera/constraintUtils/surfaceCollision.js +1 -1
  729. package/views/3d/camera/constraintUtils/tilt.js +1 -1
  730. package/views/3d/camera/constraintUtils.js +1 -1
  731. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  732. package/views/3d/environment/ChapmanAtmosphereTechnique.js +1 -1
  733. package/views/3d/environment/Clouds.glsl.js +1 -1
  734. package/views/3d/environment/Clouds.js +1 -1
  735. package/views/3d/environment/CloudsComposition.glsl.js +1 -1
  736. package/views/3d/environment/CloudsComposition.js +1 -1
  737. package/views/3d/environment/CloudsCompositionTechnique.js +1 -1
  738. package/views/3d/environment/CloudsParameters.js +1 -1
  739. package/views/3d/environment/CloudsPresets.js +1 -1
  740. package/views/3d/environment/CloudsRenderer.js +1 -1
  741. package/views/3d/environment/CloudsTechnique.js +1 -1
  742. package/views/3d/environment/CloudsTechniqueConfiguration.js +1 -1
  743. package/views/3d/environment/EnvironmentManager.js +1 -1
  744. package/views/3d/environment/EnvironmentRenderer.js +1 -1
  745. package/views/3d/environment/Fog.js +1 -1
  746. package/views/3d/environment/FogTechnique.js +1 -1
  747. package/views/3d/environment/LocalAtmosphere.js +1 -1
  748. package/views/3d/environment/MarsAtmosphere.js +1 -1
  749. package/views/3d/environment/NoiseTextureAtlas.glsl.js +1 -1
  750. package/views/3d/environment/NoiseTextureAtlas.js +1 -1
  751. package/views/3d/environment/NoiseTextureAtlasConfiguration.js +1 -1
  752. package/views/3d/environment/NoiseTextureAtlasTechnique.js +1 -1
  753. package/views/3d/environment/Precipitation.glsl.js +1 -1
  754. package/views/3d/environment/Precipitation.js +1 -1
  755. package/views/3d/environment/PrecipitationTechnique.js +1 -1
  756. package/views/3d/environment/PrecipitationTechniqueConfiguration.js +1 -1
  757. package/views/3d/environment/SimpleAtmosphere.glsl.js +1 -1
  758. package/views/3d/environment/SimpleAtmosphereTechnique.js +1 -1
  759. package/views/3d/environment/SimpleAtmosphereTechniqueConfiguration.js +1 -1
  760. package/views/3d/glTF/DefaultLoadingContext.js +1 -1
  761. package/views/3d/glTF/LoaderResult.js +1 -1
  762. package/views/3d/glTF/internal/Resource.js +1 -1
  763. package/views/3d/glTF/internal/enums.js +0 -1
  764. package/views/3d/glTF/internal/fillDefaults.js +1 -1
  765. package/views/3d/glTF/internal/resourceUtils.js +1 -1
  766. package/views/3d/glTF/loader.js +1 -1
  767. package/views/3d/input/SceneInputManager.js +1 -1
  768. package/views/3d/input/handlers/DragRotate.js +1 -1
  769. package/views/3d/input/handlers/GamepadNavigation.js +1 -1
  770. package/views/3d/input/handlers/KeyboardNavigation.js +1 -1
  771. package/views/3d/input/handlers/MouseWheelZoom.js +1 -1
  772. package/views/3d/input/handlers/TwoFingerTilt.js +1 -1
  773. package/views/3d/interactive/Manipulator3D.js +1 -1
  774. package/views/3d/interactive/RenderObject.js +1 -1
  775. package/views/3d/interactive/SnappingVisualizer3D.js +1 -1
  776. package/views/3d/interactive/editingTools/GrabbingState.js +0 -1
  777. package/views/3d/interactive/editingTools/ManipulatedObject3DGraphic.js +1 -1
  778. package/views/3d/interactive/editingTools/ManipulatorState.js +1 -1
  779. package/views/3d/interactive/editingTools/ManipulatorType.js +0 -1
  780. package/views/3d/interactive/editingTools/dragEventPipeline3D.js +1 -1
  781. package/views/3d/interactive/editingTools/draw/DrawGraphicTool3D.js +1 -1
  782. package/views/3d/interactive/editingTools/isSupportedObjectUtils.js +1 -1
  783. package/views/3d/interactive/editingTools/lineObjectVisualElementUtils.js +1 -1
  784. package/views/3d/interactive/editingTools/manipulations/MoveManipulation.js +1 -1
  785. package/views/3d/interactive/editingTools/manipulations/MoveXYAxisManipulation.js +1 -1
  786. package/views/3d/interactive/editingTools/manipulations/MoveXYDiscManipulation.js +1 -1
  787. package/views/3d/interactive/editingTools/manipulations/MoveXYObjectManipulation.js +1 -1
  788. package/views/3d/interactive/editingTools/manipulations/MoveZManipulation.js +1 -1
  789. package/views/3d/interactive/editingTools/media/ControlPointOperations.js +1 -1
  790. package/views/3d/interactive/editingTools/meshFastUpdateUtils.js +1 -1
  791. package/views/3d/interactive/editingTools/move/MoveTool3D.js +1 -1
  792. package/views/3d/interactive/editingTools/move/isSupportedObject.js +1 -1
  793. package/views/3d/interactive/editingTools/originGeometryVisualElementUtils.js +1 -1
  794. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  795. package/views/3d/interactive/editingTools/reshape/edgeOffsetUtils.js +1 -1
  796. package/views/3d/interactive/editingTools/reshape/isSupportedObject.js +1 -1
  797. package/views/3d/interactive/editingTools/reshape/reshapeTooltipUtils3D.js +1 -1
  798. package/views/3d/interactive/editingTools/settings.js +1 -1
  799. package/views/3d/interactive/editingTools/tooltipUtils3D.js +1 -1
  800. package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
  801. package/views/3d/interactive/editingTools/transform/ScaleRotateTransform.js +1 -1
  802. package/views/3d/interactive/editingTools/transform/TransformTool3D.js +1 -1
  803. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentMove.js +1 -1
  804. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
  805. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
  806. package/views/3d/interactive/editingTools/transform/extentTransform/extentUtils.js +1 -1
  807. package/views/3d/interactive/editingTools/transform/isSupportedGraphic.js +1 -1
  808. package/views/3d/interactive/manipulatorUtils.js +1 -1
  809. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DTool.js +1 -1
  810. package/views/3d/interactive/measurementTools/directLineMeasurement3D/DirectLineMeasurement3DView.js +1 -1
  811. package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
  812. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  813. package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
  814. package/views/3d/interactive/visualElements/MarkerVisualElement.js +1 -1
  815. package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
  816. package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
  817. package/views/3d/interactive/visualElements/Object3DVisualElement.js +1 -1
  818. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  819. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  820. package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
  821. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  822. package/views/3d/interactive/visualElements/SlicePlaneVisualElement.js +1 -1
  823. package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
  824. package/views/3d/interactive/visualElements/ViewshedShapeVisualElement.js +1 -1
  825. package/views/3d/interactive/visualElements/VisualElementResources.js +1 -1
  826. package/views/3d/layers/BuildingComponentSublayerView3D.js +1 -1
  827. package/views/3d/layers/DrapedSubView3D.js +1 -1
  828. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  829. package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
  830. package/views/3d/layers/FeatureLikeLayerView3D.js +1 -1
  831. package/views/3d/layers/GraphicsLayerView3D.js +1 -1
  832. package/views/3d/layers/I3SMeshView3D.js +1 -1
  833. package/views/3d/layers/I3SMeshViewLabeler.js +1 -1
  834. package/views/3d/layers/I3SMeshWorkerHandle.js +1 -1
  835. package/views/3d/layers/II3SMeshView3D.js +0 -1
  836. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  837. package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
  838. package/views/3d/layers/Lyr3DWorker.js +1 -1
  839. package/views/3d/layers/MediaLayerView3D.js +1 -1
  840. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  841. package/views/3d/layers/RouteLayerView3D.js +1 -1
  842. package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
  843. package/views/3d/layers/SceneLayerView3D.js +1 -1
  844. package/views/3d/layers/SceneLayerWorker.js +1 -1
  845. package/views/3d/layers/StreamLayerView3D.js +1 -1
  846. package/views/3d/layers/VoxelLayerView3D.js +1 -1
  847. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  848. package/views/3d/layers/graphics/ElevationAligners.js +1 -1
  849. package/views/3d/layers/graphics/FeatureGraphics3DGraphicsPipeline.js +1 -1
  850. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  851. package/views/3d/layers/graphics/Graphics3DDrapedGraphicLayer.js +1 -1
  852. package/views/3d/layers/graphics/Graphics3DElevationAlignment.js +1 -1
  853. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  854. package/views/3d/layers/graphics/Graphics3DFeatureProcessor.js +1 -1
  855. package/views/3d/layers/graphics/Graphics3DGraphic.js +1 -1
  856. package/views/3d/layers/graphics/Graphics3DGraphicsPipeline.js +1 -1
  857. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  858. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  859. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  860. package/views/3d/layers/graphics/Graphics3DLodInstanceGraphicLayer.js +1 -1
  861. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  862. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  863. package/views/3d/layers/graphics/Graphics3DObjectStateSet.js +1 -1
  864. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  865. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  866. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  867. package/views/3d/layers/graphics/Graphics3DScaleVisibility.js +1 -1
  868. package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
  869. package/views/3d/layers/graphics/Graphics3DSymbolCreationContext.js +1 -1
  870. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  871. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  872. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  873. package/views/3d/layers/graphics/Graphics3DWebStyleSymbol.js +1 -1
  874. package/views/3d/layers/graphics/GraphicsDeconflictor.js +1 -1
  875. package/views/3d/layers/graphics/GraphicsProcessor.js +1 -1
  876. package/views/3d/layers/graphics/LabelDeconflictor.js +1 -1
  877. package/views/3d/layers/graphics/Labeler.js +1 -1
  878. package/views/3d/layers/graphics/Loadable.js +1 -1
  879. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  880. package/views/3d/layers/graphics/elevationAlignmentUtils.js +1 -1
  881. package/views/3d/layers/graphics/enums.js +0 -1
  882. package/views/3d/layers/graphics/interfaces.js +0 -1
  883. package/views/3d/layers/graphics/lineUtils.js +1 -1
  884. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  885. package/views/3d/layers/graphics/pipeline/Feature3DPipeline.js +1 -1
  886. package/views/3d/layers/graphics/pipeline/rendering/DirectRenderer.js +1 -1
  887. package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
  888. package/views/3d/layers/graphics/pipeline/rendering/LodRenderer.js +1 -1
  889. package/views/3d/layers/graphics/pipeline/rendering/RenderCommandContext.js +1 -1
  890. package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
  891. package/views/3d/layers/graphics/pipeline/symbolization/ObjectSymbolLayerRenderer.js +1 -1
  892. package/views/3d/layers/graphics/pipeline/symbolization/primitiveObjectUtils.js +1 -1
  893. package/views/3d/layers/graphics/placementUtils.js +1 -1
  894. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  895. package/views/3d/layers/graphics/wosrLoader.js +1 -1
  896. package/views/3d/layers/i3s/BuildingFilterUtil.js +1 -1
  897. package/views/3d/layers/i3s/Highlights.js +1 -1
  898. package/views/3d/layers/i3s/I3SAsyncElevationUpdater.js +1 -1
  899. package/views/3d/layers/i3s/I3SBinaryReader.js +1 -1
  900. package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
  901. package/views/3d/layers/i3s/I3SCrossfadeHelper.js +1 -1
  902. package/views/3d/layers/i3s/I3SIndex.js +1 -1
  903. package/views/3d/layers/i3s/I3SIntersectionHandler.js +1 -1
  904. package/views/3d/layers/i3s/I3SLodHandling.js +1 -1
  905. package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
  906. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  907. package/views/3d/layers/i3s/I3SNode.js +1 -1
  908. package/views/3d/layers/i3s/I3SNodeLoader.js +1 -1
  909. package/views/3d/layers/i3s/I3SOverrides.js +1 -1
  910. package/views/3d/layers/i3s/I3SQueryFeatureStore.js +1 -1
  911. package/views/3d/layers/i3s/I3SUtil.js +1 -1
  912. package/views/3d/layers/i3s/I3SViewportQueries.js +1 -1
  913. package/views/3d/layers/i3s/IDBCache.js +1 -1
  914. package/views/3d/layers/i3s/Intersector.js +1 -1
  915. package/views/3d/layers/i3s/LayerElevationProvider.js +1 -1
  916. package/views/3d/layers/i3s/PointCloudRenderer.js +1 -1
  917. package/views/3d/layers/i3s/SymbologyInfo.js +1 -1
  918. package/views/3d/layers/i3s/enums.js +1 -1
  919. package/views/3d/layers/i3s/featureEditing.js +1 -1
  920. package/views/3d/layers/interfaces.js +0 -1
  921. package/views/3d/layers/support/FastSymbolUpdates.js +1 -1
  922. package/views/3d/layers/support/FeatureTile.js +1 -1
  923. package/views/3d/layers/support/FeatureTileFetcher3D.js +1 -1
  924. package/views/3d/layers/support/FeatureTileMeasurements3D.js +1 -1
  925. package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
  926. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  927. package/views/3d/layers/support/I3SLayerView.js +0 -1
  928. package/views/3d/layers/support/StageLayerElevationProvider.js +1 -1
  929. package/views/3d/layers/support/Tiles3DIntersectionHandler.js +1 -1
  930. package/views/3d/layers/support/edgeUtils.js +1 -1
  931. package/views/3d/layers/support/fetchTile.js +1 -1
  932. package/views/3d/layers/support/lyr3dTypeConversions.js +1 -1
  933. package/views/3d/layers/support/overlayImageUtils.js +1 -1
  934. package/views/3d/layers/support/patternUtils.js +1 -1
  935. package/views/3d/layers/support/symbolColorUtils.js +1 -1
  936. package/views/3d/layers/support/uvUtils.js +1 -1
  937. package/views/3d/state/Constraints.js +1 -1
  938. package/views/3d/state/ConstraintsManager.js +1 -1
  939. package/views/3d/state/Frustum.js +1 -1
  940. package/views/3d/state/GoToOperation.js +1 -1
  941. package/views/3d/state/NearFarHeuristic.js +1 -1
  942. package/views/3d/state/SurfaceCollisionConstraint.js +1 -1
  943. package/views/3d/state/ViewState.js +1 -1
  944. package/views/3d/state/ViewStateManager.js +1 -1
  945. package/views/3d/state/controllers/AnimationController.js +1 -1
  946. package/views/3d/state/controllers/CameraController.js +1 -1
  947. package/views/3d/state/controllers/FovController.js +1 -1
  948. package/views/3d/state/controllers/GamepadKeyboardController.js +1 -1
  949. package/views/3d/state/controllers/InteractiveController.js +1 -1
  950. package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
  951. package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
  952. package/views/3d/state/controllers/RotateController.js +1 -1
  953. package/views/3d/state/controllers/SurfaceCollisionCorrectionController.js +1 -1
  954. package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
  955. package/views/3d/state/controllers/ZoomControllerLocal.js +1 -1
  956. package/views/3d/state/controllers/ZoomStepControllerGlobal.js +1 -1
  957. package/views/3d/state/controllers/ZoomStepControllerLocal.js +1 -1
  958. package/views/3d/state/controllers/momentum/MomentumController.js +1 -1
  959. package/views/3d/state/controllers/momentum/PanPlanarMomentumController.js +1 -1
  960. package/views/3d/state/controllers/momentum/PanSphericalMomentumController.js +1 -1
  961. package/views/3d/state/controllers/momentum/RotationMomentumController.js +1 -1
  962. package/views/3d/state/controllers/momentum/ZoomPlanarMomentumController.js +1 -1
  963. package/views/3d/state/controllers/momentum/ZoomSphericalMomentumController.js +1 -1
  964. package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
  965. package/views/3d/state/utils/navigationUtils.js +1 -1
  966. package/views/3d/support/EventedSet.js +1 -1
  967. package/views/3d/support/FrustumExtentIntersection.js +1 -1
  968. package/views/3d/support/MemoryController.js +1 -1
  969. package/views/3d/support/RenderCoordsHelper.js +1 -1
  970. package/views/3d/support/ResourceController.js +1 -1
  971. package/views/3d/support/SceneViewPerformanceInfo.js +1 -1
  972. package/views/3d/support/SharedSymbolResources.js +1 -1
  973. package/views/3d/support/StreamDataLoader.js +1 -1
  974. package/views/3d/support/StreamTextureCollection.js +1 -1
  975. package/views/3d/support/ViewSlice.js +1 -1
  976. package/views/3d/support/cameraUtils.js +1 -1
  977. package/views/3d/support/cameraUtilsPlanar.js +1 -1
  978. package/views/3d/support/cameraUtilsSpherical.js +1 -1
  979. package/views/3d/support/downloadSlots.js +5 -0
  980. package/views/3d/support/engineContent/line.js +1 -1
  981. package/views/3d/support/engineContent/marker.js +1 -1
  982. package/views/3d/support/engineContent/sdfPrimitives.js +1 -1
  983. package/views/3d/support/enums.js +4 -0
  984. package/views/3d/support/flow/FlowSubViewTiles3D.js +1 -1
  985. package/views/3d/support/flow/StreamlinesResources3D.js +1 -1
  986. package/views/3d/support/flow/geometryUtils.js +1 -1
  987. package/views/3d/support/hitTest.js +1 -1
  988. package/views/3d/support/orientedBoundingBox.js +1 -1
  989. package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
  990. package/views/3d/support/pointsOfInterest/Focus.js +1 -1
  991. package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
  992. package/views/3d/support/popupHitTest.js +1 -1
  993. package/views/3d/support/renderInfoUtils/line.js +1 -1
  994. package/views/3d/support/renderInfoUtils/polygon.js +1 -1
  995. package/views/3d/support/sunUtils.js +1 -1
  996. package/views/3d/support/viewpointUtils.js +1 -1
  997. package/views/3d/terrain/BlendLayersTechniqueConfiguration.js +1 -1
  998. package/views/3d/terrain/BlendModeTechniqueConfiguration.js +1 -1
  999. package/views/3d/terrain/ExtentHelper.js +1 -1
  1000. package/views/3d/terrain/Intersector.js +1 -1
  1001. package/views/3d/terrain/LayerClass.js +1 -1
  1002. package/views/3d/terrain/NeighborIndex.js +0 -1
  1003. package/views/3d/terrain/OverlayContent.js +0 -1
  1004. package/views/3d/terrain/OverlayManager.js +1 -1
  1005. package/views/3d/terrain/OverlayRenderTargets.js +1 -1
  1006. package/views/3d/terrain/OverlayRenderer.js +1 -1
  1007. package/views/3d/terrain/PatchGeometryFactory.js +1 -1
  1008. package/views/3d/terrain/PatchRenderData.js +1 -1
  1009. package/views/3d/terrain/PlanarPatch.js +1 -1
  1010. package/views/3d/terrain/RasterColorizerTechniqueConfiguration.js +1 -1
  1011. package/views/3d/terrain/RasterTile.js +1 -1
  1012. package/views/3d/terrain/RenderOrder.js +0 -1
  1013. package/views/3d/terrain/SphericalPatch.js +1 -1
  1014. package/views/3d/terrain/TerrainAttributes.js +1 -1
  1015. package/views/3d/terrain/TerrainRenderer.js +1 -1
  1016. package/views/3d/terrain/TerrainSurface.js +1 -1
  1017. package/views/3d/terrain/TextureFader.js +1 -1
  1018. package/views/3d/terrain/Tile.js +1 -1
  1019. package/views/3d/terrain/TileAgent.js +1 -1
  1020. package/views/3d/terrain/TileBlendTechniqueConfiguration.js +1 -1
  1021. package/views/3d/terrain/TileCompositor.js +1 -1
  1022. package/views/3d/terrain/TileFrustumVisibility.js +0 -1
  1023. package/views/3d/terrain/TilePerLayerInfo.js +1 -1
  1024. package/views/3d/terrain/TileRenderer.js +1 -1
  1025. package/views/3d/terrain/TileUpdate.js +0 -1
  1026. package/views/3d/terrain/TilingSchemeLogic.js +1 -1
  1027. package/views/3d/terrain/TransparencyMode.js +0 -1
  1028. package/views/3d/terrain/interfaces.js +0 -1
  1029. package/views/3d/terrain/terrainUtils.js +1 -1
  1030. package/views/3d/terrain/tileUtils.js +1 -1
  1031. package/views/3d/webgl/ManagedColorAttachment.js +1 -1
  1032. package/views/3d/webgl/ManagedDepthAttachment.js +1 -1
  1033. package/views/3d/webgl/ManagedDepthTexture.js +1 -1
  1034. package/views/3d/webgl/ManagedFBO.js +1 -1
  1035. package/views/3d/webgl/ManagedFBOResource.js +1 -1
  1036. package/views/3d/webgl/RenderCamera.js +1 -1
  1037. package/views/3d/webgl/RenderNode.js +1 -1
  1038. package/views/3d/webgl-engine/Stage.js +1 -1
  1039. package/views/3d/webgl-engine/collections/Component/ComponentObjectCollection.js +1 -1
  1040. package/views/3d/webgl-engine/collections/Component/IntersectionGeometry.js +1 -1
  1041. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  1042. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  1043. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  1044. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentData.glsl.js +10 -10
  1045. package/views/3d/webgl-engine/collections/Component/Material/shader/ComponentShader.glsl.js +1 -1
  1046. package/views/3d/webgl-engine/collections/Component/Material/shader/DecodeSymbolColor.glsl.js +6 -6
  1047. package/views/3d/webgl-engine/collections/Component/Material/shader/VertexDiscardMode.js +0 -1
  1048. package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
  1049. package/views/3d/webgl-engine/collections/Component/UniformComponentParameters.js +1 -1
  1050. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  1051. package/views/3d/webgl-engine/core/FBOCacheFormats.js +1 -1
  1052. package/views/3d/webgl-engine/core/renderPasses/AllRenderPasses.js +1 -1
  1053. package/views/3d/webgl-engine/core/renderPasses/RenderPass.js +1 -1
  1054. package/views/3d/webgl-engine/core/renderPasses/RenderPassIdentifier.js +0 -1
  1055. package/views/3d/webgl-engine/core/renderPasses/RenderPassManager.js +1 -1
  1056. package/views/3d/webgl-engine/core/shaderLibrary/ForwardLinearDepth.glsl.js +3 -3
  1057. package/views/3d/webgl-engine/core/shaderLibrary/ScreenSpacePass.glsl.js +3 -3
  1058. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  1059. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutputConfiguration.js +1 -1
  1060. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstanceColor.glsl.js +4 -4
  1061. package/views/3d/webgl-engine/core/shaderLibrary/attributes/InstancedDoublePrecision.glsl.js +10 -10
  1062. package/views/3d/webgl-engine/core/shaderLibrary/attributes/NormalAttribute.glsl.js +4 -4
  1063. package/views/3d/webgl-engine/core/shaderLibrary/attributes/ObjectAndLayerIdColor.glsl.js +4 -4
  1064. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +6 -6
  1065. package/views/3d/webgl-engine/core/shaderLibrary/attributes/RibbonVertexPosition.glsl.js +8 -8
  1066. package/views/3d/webgl-engine/core/shaderLibrary/attributes/SymbolColor.glsl.js +5 -5
  1067. package/views/3d/webgl-engine/core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js +2 -2
  1068. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexColor.glsl.js +3 -3
  1069. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexNormal.glsl.js +2 -2
  1070. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexPosition.glsl.js +5 -5
  1071. package/views/3d/webgl-engine/core/shaderLibrary/attributes/VertexTextureCoordinates.glsl.js +3 -3
  1072. package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +15 -15
  1073. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUD.glsl.js +14 -14
  1074. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUDRenderStyle.js +0 -1
  1075. package/views/3d/webgl-engine/core/shaderLibrary/hud/HUDVisibility.glsl.js +1 -1
  1076. package/views/3d/webgl-engine/core/shaderLibrary/output/BlendOptions.js +1 -1
  1077. package/views/3d/webgl-engine/core/shaderLibrary/output/Emissions.glsl.js +4 -4
  1078. package/views/3d/webgl-engine/core/shaderLibrary/output/OutputDepth.glsl.js +2 -2
  1079. package/views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlight.glsl.js +6 -6
  1080. package/views/3d/webgl-engine/core/shaderLibrary/output/OutputHighlightOverlay.js +2 -2
  1081. package/views/3d/webgl-engine/core/shaderLibrary/raster/RasterColorizer.glsl.js +1 -1
  1082. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js +6 -6
  1083. package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +7 -7
  1084. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateAmbientLighting.glsl.js +5 -5
  1085. package/views/3d/webgl-engine/core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js +15 -15
  1086. package/views/3d/webgl-engine/core/shaderLibrary/shading/MarkerSizing.glsl.js +3 -3
  1087. package/views/3d/webgl-engine/core/shaderLibrary/shading/Normals.glsl.js +5 -5
  1088. package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRendering.glsl.js +11 -11
  1089. package/views/3d/webgl-engine/core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js +10 -10
  1090. package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +2 -2
  1091. package/views/3d/webgl-engine/core/shaderLibrary/shading/TextureTransformUV.glsl.js +6 -6
  1092. package/views/3d/webgl-engine/core/shaderLibrary/shading/VisualVariables.glsl.js +8 -8
  1093. package/views/3d/webgl-engine/core/shaderLibrary/terrain/BaseOpacityMode.js +0 -1
  1094. package/views/3d/webgl-engine/core/shaderLibrary/terrain/BlendLayersOutput.js +0 -1
  1095. package/views/3d/webgl-engine/core/shaderLibrary/terrain/Overlay.glsl.js +7 -7
  1096. package/views/3d/webgl-engine/core/shaderLibrary/terrain/PremultipliedAlphaSource.js +0 -1
  1097. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TerrainTexture.glsl.js +8 -8
  1098. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileBackground.glsl.js +6 -6
  1099. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileBlendInput.js +0 -1
  1100. package/views/3d/webgl-engine/core/shaderLibrary/terrain/TileComposite.glsl.js +2 -2
  1101. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendLayers.glsl.js +1 -1
  1102. package/views/3d/webgl-engine/core/shaderLibrary/util/BlendModes.glsl.js +23 -23
  1103. package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +10 -10
  1104. package/views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js +3 -3
  1105. package/views/3d/webgl-engine/core/shaderLibrary/util/EllipsoidMode.js +1 -1
  1106. package/views/3d/webgl-engine/core/shaderLibrary/util/MixExternalColor.glsl.js +6 -6
  1107. package/views/3d/webgl-engine/core/shaderModules/BooleanBindUniform.js +1 -1
  1108. package/views/3d/webgl-engine/core/shaderModules/BooleanPassUniform.js +1 -1
  1109. package/views/3d/webgl-engine/core/shaderModules/Float2BindUniform.js +1 -1
  1110. package/views/3d/webgl-engine/core/shaderModules/Float2DrawUniform.js +1 -1
  1111. package/views/3d/webgl-engine/core/shaderModules/Float2PassUniform.js +1 -1
  1112. package/views/3d/webgl-engine/core/shaderModules/Float3BindUniform.js +1 -1
  1113. package/views/3d/webgl-engine/core/shaderModules/Float3DrawUniform.js +1 -1
  1114. package/views/3d/webgl-engine/core/shaderModules/Float3PassUniform.js +1 -1
  1115. package/views/3d/webgl-engine/core/shaderModules/Float4BindUniform.js +1 -1
  1116. package/views/3d/webgl-engine/core/shaderModules/Float4DrawUniform.js +1 -1
  1117. package/views/3d/webgl-engine/core/shaderModules/Float4PassUniform.js +1 -1
  1118. package/views/3d/webgl-engine/core/shaderModules/Float4sPassUniform.js +1 -1
  1119. package/views/3d/webgl-engine/core/shaderModules/FloatBindUniform.js +1 -1
  1120. package/views/3d/webgl-engine/core/shaderModules/FloatDrawUniform.js +1 -1
  1121. package/views/3d/webgl-engine/core/shaderModules/FloatPassUniform.js +1 -1
  1122. package/views/3d/webgl-engine/core/shaderModules/FloatsPassUniform.js +1 -1
  1123. package/views/3d/webgl-engine/core/shaderModules/Integer2BindUniform.js +1 -1
  1124. package/views/3d/webgl-engine/core/shaderModules/Integer2PassUniform.js +1 -1
  1125. package/views/3d/webgl-engine/core/shaderModules/IntegerBindUniform.js +1 -1
  1126. package/views/3d/webgl-engine/core/shaderModules/IntegerDrawUniform.js +1 -1
  1127. package/views/3d/webgl-engine/core/shaderModules/IntegerPassUniform.js +1 -1
  1128. package/views/3d/webgl-engine/core/shaderModules/Matrix3DrawUniform.js +1 -1
  1129. package/views/3d/webgl-engine/core/shaderModules/Matrix3PassUniform.js +1 -1
  1130. package/views/3d/webgl-engine/core/shaderModules/Matrix4BindUniform.js +1 -1
  1131. package/views/3d/webgl-engine/core/shaderModules/Matrix4DrawUniform.js +1 -1
  1132. package/views/3d/webgl-engine/core/shaderModules/Matrix4PassUniform.js +1 -1
  1133. package/views/3d/webgl-engine/core/shaderModules/Matrix4sDrawUniform.js +1 -1
  1134. package/views/3d/webgl-engine/core/shaderModules/Matrix4sPassUniform.js +1 -1
  1135. package/views/3d/webgl-engine/core/shaderModules/Texture2DArrayBindUniform.js +1 -1
  1136. package/views/3d/webgl-engine/core/shaderModules/Texture2DBindUniform.js +1 -1
  1137. package/views/3d/webgl-engine/core/shaderModules/Texture2DDrawUniform.js +1 -1
  1138. package/views/3d/webgl-engine/core/shaderModules/Texture2DPassUniform.js +1 -1
  1139. package/views/3d/webgl-engine/core/shaderModules/Texture2DShadowBindUniform.js +1 -1
  1140. package/views/3d/webgl-engine/core/shaderModules/Texture2DUintBindUniform.js +1 -1
  1141. package/views/3d/webgl-engine/core/shaderModules/Texture2DUintPassUniform.js +1 -1
  1142. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechnique.js +1 -1
  1143. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueConstructionContext.js +1 -1
  1144. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  1145. package/views/3d/webgl-engine/effects/OpaqueEnvironment.js +1 -1
  1146. package/views/3d/webgl-engine/effects/RenderPlugin.js +1 -1
  1147. package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
  1148. package/views/3d/webgl-engine/effects/ScreenSpaceGeometry.js +1 -1
  1149. package/views/3d/webgl-engine/effects/TransparentEnvironment.js +1 -1
  1150. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  1151. package/views/3d/webgl-engine/effects/bloom/BloomBlur.glsl.js +1 -1
  1152. package/views/3d/webgl-engine/effects/bloom/BloomBlurTechnique.js +1 -1
  1153. package/views/3d/webgl-engine/effects/bloom/BloomBlurTechniqueConfiguration.js +1 -1
  1154. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  1155. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +4 -4
  1156. package/views/3d/webgl-engine/effects/focusArea/FocusAreaColorNode.js +1 -1
  1157. package/views/3d/webgl-engine/effects/focusArea/FocusAreaEffect.js +0 -1
  1158. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  1159. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskTechnique.js +1 -1
  1160. package/views/3d/webgl-engine/effects/focusArea/FocusAreaOutlineItem.js +1 -1
  1161. package/views/3d/webgl-engine/effects/geometry/ObjectAndLayerIDRenderNode.js +1 -1
  1162. package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
  1163. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  1164. package/views/3d/webgl-engine/effects/haze/HazeCompositingTechnique.js +1 -1
  1165. package/views/3d/webgl-engine/effects/haze/HazeTechnique.js +1 -1
  1166. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  1167. package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
  1168. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  1169. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathData.js +1 -1
  1170. package/views/3d/webgl-engine/effects/laserlines/LaserlinePathTechnique.js +1 -1
  1171. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  1172. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  1173. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  1174. package/views/3d/webgl-engine/effects/stars/Stars.glsl.js +1 -1
  1175. package/views/3d/webgl-engine/effects/stars/Stars.js +1 -1
  1176. package/views/3d/webgl-engine/effects/stars/StarsTechnique.js +1 -1
  1177. package/views/3d/webgl-engine/lib/BasisUtil.js +1 -1
  1178. package/views/3d/webgl-engine/lib/BindParameters.js +1 -1
  1179. package/views/3d/webgl-engine/lib/CompositingHelper.js +1 -1
  1180. package/views/3d/webgl-engine/lib/DDSUtil.js +1 -1
  1181. package/views/3d/webgl-engine/lib/DefaultVertexAttributeLocations.js +1 -1
  1182. package/views/3d/webgl-engine/lib/DefaultVertexBufferLayouts.js +1 -1
  1183. package/views/3d/webgl-engine/lib/DrapedHeatmapRenderer.js +1 -1
  1184. package/views/3d/webgl-engine/lib/GLMaterial.js +1 -1
  1185. package/views/3d/webgl-engine/lib/GLMaterials.js +1 -1
  1186. package/views/3d/webgl-engine/lib/GLTextureMaterial.js +1 -1
  1187. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  1188. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  1189. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  1190. package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
  1191. package/views/3d/webgl-engine/lib/HUDIntersectorResult.js +1 -1
  1192. package/views/3d/webgl-engine/lib/IntersectableGeometry.js +0 -1
  1193. package/views/3d/webgl-engine/lib/Intersector.js +1 -1
  1194. package/views/3d/webgl-engine/lib/IntersectorInterfaces.js +1 -1
  1195. package/views/3d/webgl-engine/lib/IntersectorResult.js +1 -1
  1196. package/views/3d/webgl-engine/lib/IntersectorType.js +0 -1
  1197. package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
  1198. package/views/3d/webgl-engine/lib/Material.js +1 -1
  1199. package/views/3d/webgl-engine/lib/ModelDirtySet.js +1 -1
  1200. package/views/3d/webgl-engine/lib/ModelDirtyTypes.js +0 -1
  1201. package/views/3d/webgl-engine/lib/OITPass.js +0 -1
  1202. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  1203. package/views/3d/webgl-engine/lib/Object3DStateID.js +1 -1
  1204. package/views/3d/webgl-engine/lib/Object3DStateSet.js +1 -1
  1205. package/views/3d/webgl-engine/lib/ObjectIntersectorResult.js +1 -1
  1206. package/views/3d/webgl-engine/lib/Octree.js +1 -1
  1207. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  1208. package/views/3d/webgl-engine/lib/Path.js +1 -1
  1209. package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
  1210. package/views/3d/webgl-engine/lib/PathGeometryData.js +1 -1
  1211. package/views/3d/webgl-engine/lib/PathVertex.js +1 -1
  1212. package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
  1213. package/views/3d/webgl-engine/lib/RenderContext.js +1 -1
  1214. package/views/3d/webgl-engine/lib/RenderFeature.js +1 -1
  1215. package/views/3d/webgl-engine/lib/RenderSlot.js +0 -1
  1216. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  1217. package/views/3d/webgl-engine/lib/RendererBase.js +1 -1
  1218. package/views/3d/webgl-engine/lib/RenderingContext.js +1 -1
  1219. package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
  1220. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  1221. package/views/3d/webgl-engine/lib/SliceHelper.js +1 -1
  1222. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  1223. package/views/3d/webgl-engine/lib/StencilUtils.js +1 -1
  1224. package/views/3d/webgl-engine/lib/TextRenderer.js +1 -1
  1225. package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
  1226. package/views/3d/webgl-engine/lib/TextTextureFactory.js +1 -1
  1227. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  1228. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBackedBuffer.js +1 -1
  1229. package/views/3d/webgl-engine/lib/TextureRepository.js +1 -1
  1230. package/views/3d/webgl-engine/lib/Update.js +0 -1
  1231. package/views/3d/webgl-engine/lib/UpdatePolicy.js +0 -1
  1232. package/views/3d/webgl-engine/lib/VertexAttribute.js +1 -1
  1233. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  1234. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  1235. package/views/3d/webgl-engine/lib/WebGLLayer.js +1 -1
  1236. package/views/3d/webgl-engine/lib/basicInterfaces.js +0 -1
  1237. package/views/3d/webgl-engine/lib/bufferVectorMath.js +5 -0
  1238. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  1239. package/views/3d/webgl-engine/lib/edgeRendering/EdgeRenderer.js +1 -1
  1240. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechnique.js +1 -1
  1241. package/views/3d/webgl-engine/lib/edgeRendering/EdgeShaderTechniqueConfiguration.js +1 -1
  1242. package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
  1243. package/views/3d/webgl-engine/lib/edgeRendering/bufferLayouts.js +1 -1
  1244. package/views/3d/webgl-engine/lib/edgeRendering/edgeProcessing.js +1 -1
  1245. package/views/3d/webgl-engine/lib/edgeRendering/interfaces.js +0 -1
  1246. package/views/3d/webgl-engine/lib/edgeRendering/strokes.js +1 -1
  1247. package/views/3d/webgl-engine/lib/edgeRendering/util.js +1 -1
  1248. package/views/3d/webgl-engine/lib/glUtil3D.js +1 -1
  1249. package/views/3d/webgl-engine/lib/lodRendering/BackedBufferObject.js +1 -1
  1250. package/views/3d/webgl-engine/lib/lodRendering/InstanceData.js +1 -1
  1251. package/views/3d/webgl-engine/lib/lodRendering/Intersector.js +1 -1
  1252. package/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +1 -1
  1253. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  1254. package/views/3d/webgl-engine/lib/lodRendering/LodResources.js +1 -1
  1255. package/views/3d/webgl-engine/lib/lodRendering/RenderInstanceData.js +1 -1
  1256. package/views/3d/webgl-engine/lib/rendererUtils.js +1 -1
  1257. package/views/3d/webgl-engine/lib/screenSizePerspectiveUtils.js +1 -1
  1258. package/views/3d/webgl-engine/lib/verticalOffsetUtils.js +1 -1
  1259. package/views/3d/webgl-engine/materials/CheckerBoardMaterial.js +1 -1
  1260. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  1261. package/views/3d/webgl-engine/materials/DefaultBufferWriter.js +1 -1
  1262. package/views/3d/webgl-engine/materials/DefaultLayouts.js +1 -1
  1263. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  1264. package/views/3d/webgl-engine/materials/DefaultTechniqueConfiguration.js +1 -1
  1265. package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
  1266. package/views/3d/webgl-engine/materials/HeatmapDensityMaterial.js +1 -1
  1267. package/views/3d/webgl-engine/materials/ImageMaterial.js +1 -1
  1268. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  1269. package/views/3d/webgl-engine/materials/LineMarkerMaterial.js +1 -1
  1270. package/views/3d/webgl-engine/materials/MeasurementArrowMaterial.js +1 -1
  1271. package/views/3d/webgl-engine/materials/NativeLineMaterial.js +1 -1
  1272. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  1273. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  1274. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  1275. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  1276. package/views/3d/webgl-engine/materials/PatternStyle.js +0 -1
  1277. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  1278. package/views/3d/webgl-engine/materials/ShadedColorMaterial.js +1 -1
  1279. package/views/3d/webgl-engine/materials/SlicePlaneMaterial.js +1 -1
  1280. package/views/3d/webgl-engine/materials/VisualVariablePassParameters.js +1 -1
  1281. package/views/3d/webgl-engine/materials/WaterMaterial.js +1 -1
  1282. package/views/3d/webgl-engine/materials/WaterTechnique.js +1 -1
  1283. package/views/3d/webgl-engine/materials/WaterTechniqueConfiguration.js +1 -1
  1284. package/views/3d/webgl-engine/materials/internal/WaterTextureRepository.js +1 -1
  1285. package/views/3d/webgl-engine/materials/internal/bufferWriterUtils.js +1 -1
  1286. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  1287. package/views/3d/webgl-engine/materials/renderers/VaoCache.js +1 -1
  1288. package/views/3d/webgl-engine/materials/stippleTextureRepository.js +1 -1
  1289. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  1290. package/views/3d/webgl-engine/parts/ScreenshotManager.js +1 -1
  1291. package/views/3d/webgl-engine/shaders/AnimatedLine.glsl.js +4 -4
  1292. package/views/3d/webgl-engine/shaders/AtmosphereCompositingTechnique.js +1 -1
  1293. package/views/3d/webgl-engine/shaders/CheckerBoard.glsl.js +1 -1
  1294. package/views/3d/webgl-engine/shaders/CheckerBoardTechnique.js +1 -1
  1295. package/views/3d/webgl-engine/shaders/CheckerBoardTechniqueConfiguration.js +1 -1
  1296. package/views/3d/webgl-engine/shaders/ColorMaterial.glsl.js +1 -1
  1297. package/views/3d/webgl-engine/shaders/ColorMaterialTechnique.js +1 -1
  1298. package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
  1299. package/views/3d/webgl-engine/shaders/Compositing.glsl.js +1 -1
  1300. package/views/3d/webgl-engine/shaders/CompositingTechnique.js +1 -1
  1301. package/views/3d/webgl-engine/shaders/CompositingTechniqueConfiguration.js +1 -1
  1302. package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
  1303. package/views/3d/webgl-engine/shaders/DefaultMaterialTechnique.js +1 -1
  1304. package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
  1305. package/views/3d/webgl-engine/shaders/FocusAreaColor.glsl.js +1 -1
  1306. package/views/3d/webgl-engine/shaders/FocusAreaMask.glsl.js +1 -1
  1307. package/views/3d/webgl-engine/shaders/HUDMaterial.glsl.js +1 -1
  1308. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  1309. package/views/3d/webgl-engine/shaders/HUDMaterialTechniqueConfiguration.js +1 -1
  1310. package/views/3d/webgl-engine/shaders/HeatmapDensity.glsl.js +1 -1
  1311. package/views/3d/webgl-engine/shaders/ImageMaterial.glsl.js +1 -1
  1312. package/views/3d/webgl-engine/shaders/ImageMaterialTechnique.js +1 -1
  1313. package/views/3d/webgl-engine/shaders/ImageMaterialTechniqueConfiguration.js +1 -1
  1314. package/views/3d/webgl-engine/shaders/LaserlinePath.glsl.js +1 -1
  1315. package/views/3d/webgl-engine/shaders/LineCallout.glsl.js +1 -1
  1316. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  1317. package/views/3d/webgl-engine/shaders/LineMarker.glsl.js +1 -1
  1318. package/views/3d/webgl-engine/shaders/LineMarkerTechnique.js +1 -1
  1319. package/views/3d/webgl-engine/shaders/LineMarkerTechniqueConfiguration.js +1 -1
  1320. package/views/3d/webgl-engine/shaders/Magnifier.glsl.js +1 -1
  1321. package/views/3d/webgl-engine/shaders/MeasurementArrow.glsl.js +1 -1
  1322. package/views/3d/webgl-engine/shaders/MeasurementArrowTechnique.js +1 -1
  1323. package/views/3d/webgl-engine/shaders/NativeLine.glsl.js +1 -1
  1324. package/views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js +9 -9
  1325. package/views/3d/webgl-engine/shaders/OverlayCompositing.glsl.js +1 -1
  1326. package/views/3d/webgl-engine/shaders/Pattern.glsl.js +1 -1
  1327. package/views/3d/webgl-engine/shaders/PatternTechnique.js +1 -1
  1328. package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
  1329. package/views/3d/webgl-engine/shaders/PointRenderer.glsl.js +1 -1
  1330. package/views/3d/webgl-engine/shaders/PointRendererTechnique.js +1 -1
  1331. package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
  1332. package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
  1333. package/views/3d/webgl-engine/shaders/RibbonLineTechnique.js +1 -1
  1334. package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
  1335. package/views/3d/webgl-engine/shaders/ScreenSpacePassAtmosphere.glsl.js +4 -4
  1336. package/views/3d/webgl-engine/shaders/ShadedColorMaterial.glsl.js +1 -1
  1337. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechnique.js +1 -1
  1338. package/views/3d/webgl-engine/shaders/ShadedColorMaterialTechniqueConfiguration.js +1 -1
  1339. package/views/3d/webgl-engine/shaders/ShadowCastAccumulate.glsl.js +1 -1
  1340. package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechnique.js +1 -1
  1341. package/views/3d/webgl-engine/shaders/ShadowCastAccumulateTechniqueConfiguration.js +1 -1
  1342. package/views/3d/webgl-engine/shaders/ShadowCastClear.glsl.js +1 -1
  1343. package/views/3d/webgl-engine/shaders/ShadowCastClearTechnique.js +1 -1
  1344. package/views/3d/webgl-engine/shaders/ShadowCastVisualize.glsl.js +1 -1
  1345. package/views/3d/webgl-engine/shaders/ShadowCastVisualizeTechniqueConfiguration.js +1 -1
  1346. package/views/3d/webgl-engine/shaders/ShadowHighlight.glsl.js +1 -1
  1347. package/views/3d/webgl-engine/shaders/SlicePlaneMaterial.glsl.js +1 -1
  1348. package/views/3d/webgl-engine/shaders/SlicePlaneMaterialTechnique.js +1 -1
  1349. package/views/3d/webgl-engine/shaders/Terrain.glsl.js +1 -1
  1350. package/views/3d/webgl-engine/shaders/TerrainTechnique.js +1 -1
  1351. package/views/3d/webgl-engine/shaders/TerrainTechniqueConfiguration.js +1 -1
  1352. package/views/3d/webgl-engine/shaders/WaterSurface.glsl.js +1 -1
  1353. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeShader.glsl.js +1 -1
  1354. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/EdgeUtil.glsl.js +17 -17
  1355. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineAmplitude.glsl.js +4 -4
  1356. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/LineOffset.glsl.js +8 -8
  1357. package/views/3d/webgl-engine/shaders/sources/edgeRenderer/UnpackAttributes.glsl.js +7 -7
  1358. package/views/SceneView.js +1 -1
  1359. package/views/ToolViewManager.js +1 -1
  1360. package/views/VideoView.js +1 -1
  1361. package/views/ViewingMode.js +1 -1
  1362. package/views/draw/DrawAction.js +1 -1
  1363. package/views/draw/DrawOperation.js +1 -1
  1364. package/views/draw/SegmentDrawAction.js +1 -1
  1365. package/views/draw/support/Reshape.js +1 -1
  1366. package/views/draw/support/surfaceCoordinateSystems.js +1 -1
  1367. package/views/input/IViewEvents.js +0 -1
  1368. package/views/input/InputManager.js +1 -1
  1369. package/views/input/ViewEvents.js +1 -1
  1370. package/views/input/recognizers/Drag.js +1 -1
  1371. package/views/interactive/InteractiveToolBase.js +1 -1
  1372. package/views/interactive/ManipulatorCollection.js +1 -1
  1373. package/views/interactive/SegmentLabels.js +1 -1
  1374. package/views/interactive/ToolIntersector.js +1 -1
  1375. package/views/interactive/coordinateHelper.js +1 -1
  1376. package/views/interactive/editGeometry/EditGeometryOperations.js +1 -1
  1377. package/views/interactive/editGeometry/interfaces.js +0 -1
  1378. package/views/interactive/editGeometry/operations/OffsetEdgeVertex.js +1 -1
  1379. package/views/interactive/editGeometry/operations/RotateVertex.js +1 -1
  1380. package/views/interactive/editGeometry/operations/ScaleVertex.js +1 -1
  1381. package/views/interactive/editGeometry/operations/UpdateVertices.js +1 -1
  1382. package/views/interactive/editGeometry/support/editPlaneUtils.js +1 -1
  1383. package/views/interactive/editGeometry/unnormalizationHelper.js +1 -1
  1384. package/views/interactive/interactiveToolUtils.js +1 -1
  1385. package/views/interactive/interfaces.js +0 -1
  1386. package/views/interactive/sketch/SketchValueOptions.js +1 -1
  1387. package/views/interactive/sketch/constraintUtils.js +1 -1
  1388. package/views/interactive/sketch/constraints.js +1 -1
  1389. package/views/interactive/sketch/normalizedPoint.js +1 -1
  1390. package/views/interactive/snapping/FeatureSnappingEngine.js +1 -1
  1391. package/views/interactive/snapping/LineSnapper.js +1 -1
  1392. package/views/interactive/snapping/RightAngleSnapper.js +1 -1
  1393. package/views/interactive/snapping/SelfSnappingEngine.js +1 -1
  1394. package/views/interactive/snapping/SnappingDomain.js +0 -1
  1395. package/views/interactive/snapping/SnappingManager.js +1 -1
  1396. package/views/interactive/snapping/candidates/DrapedEdgeSnappingCandidate.js +1 -1
  1397. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  1398. package/views/interactive/snapping/candidates/FeatureSnappingCandidate.js +1 -1
  1399. package/views/interactive/snapping/candidates/IntersectionSnappingCandidate.js +1 -1
  1400. package/views/interactive/snapping/candidates/LineSnappingCandidate.js +1 -1
  1401. package/views/interactive/snapping/candidates/ParallelLineSnappingCandidate.js +1 -1
  1402. package/views/interactive/snapping/candidates/RightAngleSnappingCandidate.js +1 -1
  1403. package/views/interactive/snapping/candidates/RightAngleTriangleSnappingCandidate.js +1 -1
  1404. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTileStore.js +1 -1
  1405. package/views/interactive/snapping/featureSources/featureServiceSource/FeatureServiceTiledFetcher.js +1 -1
  1406. package/views/interactive/snapping/featureSources/featureServiceSource/PendingFeatureTile.js +1 -1
  1407. package/views/interactive/snapping/featureSources/featureServiceSource/tileUtils.js +1 -1
  1408. package/views/interactive/snapping/hints/IntersectionSnappingHint.js +1 -1
  1409. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  1410. package/views/interactive/snapping/hints/ParallelSnappingHint.js +1 -1
  1411. package/views/interactive/snapping/hints/RightAngleSnappingHint.js +1 -1
  1412. package/views/interactive/snapping/snappingUtils.js +1 -1
  1413. package/views/interactive/tooltip/fields/fields.js +1 -1
  1414. package/views/layers/LayerView.js +1 -1
  1415. package/views/layers/support/editableLayerViews.js +1 -1
  1416. package/views/support/DefaultsFromMap.js +1 -1
  1417. package/views/support/LayerLayerViewInfo.js +1 -1
  1418. package/views/support/LayerViewManager.js +1 -1
  1419. package/views/support/PixelHighlightOptions.js +5 -0
  1420. package/views/support/RenderState.js +0 -1
  1421. package/views/support/Scheduler.js +1 -1
  1422. package/views/support/TextureCompressionWorker.js +1 -1
  1423. package/views/support/TextureCompressionWorkerHandle.js +1 -1
  1424. package/views/support/angularMeasurementUtils.js +1 -1
  1425. package/views/support/euclideanLengthMeasurementUtils.js +1 -1
  1426. package/views/support/geometry2dUtils.js +1 -1
  1427. package/views/support/geometry3dUtils.js +1 -1
  1428. package/views/support/imageReprojection.js +1 -1
  1429. package/views/support/spatialReferenceSupport.js +1 -1
  1430. package/views/ui/UI.js +1 -1
  1431. package/views/webgl/AppleAmdDriverHelper.js +1 -1
  1432. package/views/webgl/BindType.js +0 -1
  1433. package/views/webgl/BufferObject.js +1 -1
  1434. package/views/webgl/ContextState.js +1 -1
  1435. package/views/webgl/FBOAttachmentType.js +0 -1
  1436. package/views/webgl/FramebufferObject.js +1 -1
  1437. package/views/webgl/Program.js +1 -1
  1438. package/views/webgl/Renderbuffer.js +1 -1
  1439. package/views/webgl/RenderingContext.js +1 -1
  1440. package/views/webgl/ShaderBuilder.js +1 -1
  1441. package/views/webgl/ShaderTranspiler.js +1 -1
  1442. package/views/webgl/Texture.js +1 -1
  1443. package/views/webgl/TextureDescriptor.js +1 -1
  1444. package/views/webgl/Uniform.js +1 -1
  1445. package/views/webgl/UniformBufferObject.js +1 -1
  1446. package/views/webgl/Util.js +1 -1
  1447. package/views/webgl/ValidatedTextureDescriptor.js +1 -1
  1448. package/views/webgl/checkWebGLError.js +1 -1
  1449. package/views/webgl/enums.js +1 -1
  1450. package/views/webgl/heatmapTextureUtils.js +1 -1
  1451. package/views/webgl/rasterUtils.js +1 -1
  1452. package/views/webgl/renderState.js +1 -1
  1453. package/views/webgl/storageLayouts.js +1 -1
  1454. package/views/webgl/testAppleAmdDrawArrays.js +1 -1
  1455. package/views/webgl/testFloatBufferBlend.js +1 -1
  1456. package/views/webgl/testSVGPremultipliedAlpha.js +1 -1
  1457. package/views/webgl/textureUtils.js +1 -1
  1458. package/webdoc/interfaces.js +0 -1
  1459. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  1460. package/widgets/BasemapGallery/support/basemapCompatibilityUtils.js +1 -1
  1461. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  1462. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  1463. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  1464. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  1465. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  1466. package/widgets/BatchAttributeForm.js +1 -1
  1467. package/widgets/Daylight/DaylightViewModel.js +1 -1
  1468. package/widgets/Daylight/support/daylightUtils.js +1 -1
  1469. package/widgets/Directions/DirectionsViewModel.js +1 -1
  1470. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
  1471. package/widgets/Editor/workflowUtils.js +1 -1
  1472. package/widgets/ElevationProfile/ElevationProfileInteraction.js +1 -1
  1473. package/widgets/ElevationProfile/ElevationProfileLineView.js +1 -1
  1474. package/widgets/ElevationProfile/ElevationProfileTool.js +1 -1
  1475. package/widgets/ElevationProfile/ElevationProfileViewModel.js +1 -1
  1476. package/widgets/ElevationProfile/support/ElevationProfileView2D.js +1 -1
  1477. package/widgets/ElevationProfile/support/ElevationProfileView3D.js +1 -1
  1478. package/widgets/ElevationProfile/support/InputRepresentation3D.js +1 -1
  1479. package/widgets/ElevationProfile/support/ProfileGenerationError.js +1 -1
  1480. package/widgets/ElevationProfile/support/constants.js +1 -1
  1481. package/widgets/ElevationProfile/support/geometryUtils.js +1 -1
  1482. package/widgets/ElevationProfile/support/profileUtils.js +1 -1
  1483. package/widgets/ElevationProfile.js +1 -1
  1484. package/widgets/Feature/FeatureUtilityNetworkAssociations.js +1 -1
  1485. package/widgets/FeatureForm/FieldInput.js +1 -1
  1486. package/widgets/FeatureForm/featureFormUtils.js +1 -1
  1487. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  1488. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  1489. package/widgets/OrientedImageryViewer/components/ImageLocationWidget.js +1 -1
  1490. package/widgets/OrientedImageryViewer.js +1 -1
  1491. package/widgets/Print/PrintViewModel.js +1 -1
  1492. package/widgets/Print/utils.js +1 -1
  1493. package/widgets/Print.js +1 -1
  1494. package/widgets/ScaleRangeSlider/scalePreviewUtils.js +1 -1
  1495. package/widgets/ShadowCast/DurationMode.js +0 -1
  1496. package/widgets/ShadowCast/DurationOptions.js +1 -1
  1497. package/widgets/ShadowCast/ShadowCastState.js +0 -1
  1498. package/widgets/ShadowCast/ShadowCastViewModel.js +1 -1
  1499. package/widgets/ShadowCast/ShadowTooltipViewModel.js +1 -1
  1500. package/widgets/ShadowCast/ShadowVisualizationType.js +1 -1
  1501. package/widgets/ShadowCast/components/DurationConfigurator.js +1 -1
  1502. package/widgets/ShadowCast.js +1 -1
  1503. package/widgets/Sketch/SketchViewModel.js +1 -1
  1504. package/widgets/Sketch/support/sketchUtils.js +1 -1
  1505. package/widgets/Sketch.js +1 -1
  1506. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceFeature.js +1 -1
  1507. package/widgets/Weather/WeatherViewModel.js +1 -1
  1508. package/widgets/Weather/enums.js +0 -1
  1509. package/widgets/Weather.js +1 -1
  1510. package/widgets/Widget.js +1 -1
  1511. package/widgets/support/AnalysisViewModel.js +1 -1
  1512. package/widgets/support/forms/formUtils.js +1 -1
  1513. package/widgets/support/uriUtils.js +1 -1
  1514. package/assets/esri/core/workers/chunks/026fbeb0ff5b9e6c74df.js +0 -1
  1515. package/assets/esri/core/workers/chunks/03bef3f4b6b09b1e864b.js +0 -1
  1516. package/assets/esri/core/workers/chunks/09618761df5c4fdd52a0.js +0 -1
  1517. package/assets/esri/core/workers/chunks/0ae00339991f5387203e.js +0 -1
  1518. package/assets/esri/core/workers/chunks/0b4b294f3ce74fde5620.js +0 -1
  1519. package/assets/esri/core/workers/chunks/0becc660e8ee6c5d02b5.js +0 -1
  1520. package/assets/esri/core/workers/chunks/0e96a3b7228f1ff8e6c5.js +0 -1
  1521. package/assets/esri/core/workers/chunks/12723e79b996969e304e.js +0 -1
  1522. package/assets/esri/core/workers/chunks/12a16f0fd77371d61c2a.js +0 -1
  1523. package/assets/esri/core/workers/chunks/15064c3b21b325d5c2f6.js +0 -1
  1524. package/assets/esri/core/workers/chunks/1597aca21334cab3b802.js +0 -1
  1525. package/assets/esri/core/workers/chunks/196564ad230bef6b59cf.js +0 -1
  1526. package/assets/esri/core/workers/chunks/19f8d551cbebc11db1eb.js +0 -1
  1527. package/assets/esri/core/workers/chunks/1ceee047e3fa617b0600.js +0 -1
  1528. package/assets/esri/core/workers/chunks/1cf0fae3f2e848a2a738.js +0 -1
  1529. package/assets/esri/core/workers/chunks/1f296f85becf1ca6714d.js +0 -1
  1530. package/assets/esri/core/workers/chunks/1f8d7bd44d53c30df383.js +0 -1
  1531. package/assets/esri/core/workers/chunks/1fabb5ec59da698c1618.js +0 -1
  1532. package/assets/esri/core/workers/chunks/20bcd2e6cf02e057ad7d.js +0 -1
  1533. package/assets/esri/core/workers/chunks/219b2911668db120452b.js +0 -1
  1534. package/assets/esri/core/workers/chunks/21a8ae88cfa644a30058.js +0 -1
  1535. package/assets/esri/core/workers/chunks/24fe862b607ec927e07f.js +0 -1
  1536. package/assets/esri/core/workers/chunks/2a6df3f0a166eb886554.js +0 -1
  1537. package/assets/esri/core/workers/chunks/2b4b073254fe8b6a081c.js +0 -1
  1538. package/assets/esri/core/workers/chunks/30293b88501b5d6162fc.js +0 -1
  1539. package/assets/esri/core/workers/chunks/31533f5e8b76b307f61c.js +0 -1
  1540. package/assets/esri/core/workers/chunks/347117e61e1c6edd074f.js +0 -1
  1541. package/assets/esri/core/workers/chunks/3616eb2607843524483f.js +0 -1
  1542. package/assets/esri/core/workers/chunks/3629d5e1a8e9bece0ed8.js +0 -1
  1543. package/assets/esri/core/workers/chunks/3793f282ddaccd3465f2.js +0 -1
  1544. package/assets/esri/core/workers/chunks/394477e88be0c6790f02.js +0 -1
  1545. package/assets/esri/core/workers/chunks/3be9ec0503a669bcfce6.js +0 -1
  1546. package/assets/esri/core/workers/chunks/3c9cf06ac6aa1db6c4f6.js +0 -1
  1547. package/assets/esri/core/workers/chunks/3d020f2e454c1e4babee.js +0 -1
  1548. package/assets/esri/core/workers/chunks/3ed7d19bbbad6c4a1cba.js +0 -1
  1549. package/assets/esri/core/workers/chunks/42cddc8f8c8d73e22ee2.js +0 -1
  1550. package/assets/esri/core/workers/chunks/437a4100a837ee16df7c.js +0 -1
  1551. package/assets/esri/core/workers/chunks/4405c765786c895365fb.js +0 -42
  1552. package/assets/esri/core/workers/chunks/4ce671bc4d36387b55fa.js +0 -1
  1553. package/assets/esri/core/workers/chunks/4cea5170939c8d363ef7.js +0 -1
  1554. package/assets/esri/core/workers/chunks/4de6c479df609398dee0.js +0 -1
  1555. package/assets/esri/core/workers/chunks/4f691962b96e78cbe1a9.js +0 -1
  1556. package/assets/esri/core/workers/chunks/51cfa2f70ec222e1582b.js +0 -1
  1557. package/assets/esri/core/workers/chunks/5253cca467fe9bc0a210.js +0 -1
  1558. package/assets/esri/core/workers/chunks/55c903d93b15f4e723d4.js +0 -1
  1559. package/assets/esri/core/workers/chunks/585031826294d5130813.js +0 -1
  1560. package/assets/esri/core/workers/chunks/5b276962c46c57155166.js +0 -1
  1561. package/assets/esri/core/workers/chunks/5bfcb3d87380e7f85b08.js +0 -1
  1562. package/assets/esri/core/workers/chunks/63966066a963e9a1fb14.js +0 -1
  1563. package/assets/esri/core/workers/chunks/63f50ff2ae94f684d56b.js +0 -1
  1564. package/assets/esri/core/workers/chunks/66757fc16316a5c50e1e.js +0 -1
  1565. package/assets/esri/core/workers/chunks/6a14af239b400b0976c5.js +0 -1
  1566. package/assets/esri/core/workers/chunks/6b4e66eb0cb37f293cf8.js +0 -1
  1567. package/assets/esri/core/workers/chunks/6c33ecffbc783cb8f944.js +0 -1
  1568. package/assets/esri/core/workers/chunks/6ce4327f63e6eb92bba8.js +0 -1
  1569. package/assets/esri/core/workers/chunks/6deaa08e3a61a455e564.js +0 -1
  1570. package/assets/esri/core/workers/chunks/6efc3d120c9c2c09cb06.js +0 -1
  1571. package/assets/esri/core/workers/chunks/6f9f32b7de59b4d9cd97.js +0 -2
  1572. package/assets/esri/core/workers/chunks/7338ce95bceb2c7fab87.js +0 -1
  1573. package/assets/esri/core/workers/chunks/7359652de3d7f969a712.js +0 -1
  1574. package/assets/esri/core/workers/chunks/771012f129890f9a089c.js +0 -1
  1575. package/assets/esri/core/workers/chunks/780ff9314f26ae62f75f.js +0 -1
  1576. package/assets/esri/core/workers/chunks/7a08d6d8e5e430658f3a.js +0 -1
  1577. package/assets/esri/core/workers/chunks/7a5a1d01a89383faf4fd.js +0 -1
  1578. package/assets/esri/core/workers/chunks/7b736885278af9676f3a.js +0 -1
  1579. package/assets/esri/core/workers/chunks/8000e2e80fff7752e761.js +0 -1
  1580. package/assets/esri/core/workers/chunks/8161b0a674ef9bf536a2.js +0 -1
  1581. package/assets/esri/core/workers/chunks/875c6293767602763bc0.js +0 -1
  1582. package/assets/esri/core/workers/chunks/8894483b91bcda845b6f.js +0 -1
  1583. package/assets/esri/core/workers/chunks/908ec8165d567f052155.js +0 -1
  1584. package/assets/esri/core/workers/chunks/91e6030a2845f5404e82.js +0 -1
  1585. package/assets/esri/core/workers/chunks/9511e55e4fabb3235eac.js +0 -1
  1586. package/assets/esri/core/workers/chunks/9d85e20a3d6ca1161c26.js +0 -1
  1587. package/assets/esri/core/workers/chunks/9f8341caab3b1d02f387.js +0 -1
  1588. package/assets/esri/core/workers/chunks/a08d018d8c137fc4ca17.js +0 -1
  1589. package/assets/esri/core/workers/chunks/a0abe3e54c8a20cafeb3.js +0 -1
  1590. package/assets/esri/core/workers/chunks/a22e5b2874647fe0d31a.js +0 -1
  1591. package/assets/esri/core/workers/chunks/a55338add265d330124b.js +0 -1
  1592. package/assets/esri/core/workers/chunks/a8f37681f8f6feebbd50.js +0 -1
  1593. package/assets/esri/core/workers/chunks/ac93b3f1ff15a95d926c.js +0 -1
  1594. package/assets/esri/core/workers/chunks/aeedc543320ee307d14a.js +0 -1
  1595. package/assets/esri/core/workers/chunks/afe4fd3b1b3521712edd.js +0 -1
  1596. package/assets/esri/core/workers/chunks/b3794c513a13facc98d3.js +0 -1
  1597. package/assets/esri/core/workers/chunks/b37f3c416cefc1a6ea2c.js +0 -1
  1598. package/assets/esri/core/workers/chunks/b4512d62b6cb26fc6b25.js +0 -1
  1599. package/assets/esri/core/workers/chunks/b6b8272a74a5c24a6b86.js +0 -1
  1600. package/assets/esri/core/workers/chunks/b9f66d735a7e63417b3d.js +0 -1
  1601. package/assets/esri/core/workers/chunks/bbc2a4976d044b990193.js +0 -1
  1602. package/assets/esri/core/workers/chunks/bbf2c31d217de1b8ba6e.js +0 -1
  1603. package/assets/esri/core/workers/chunks/befba7ceeb26a38732c1.js +0 -1
  1604. package/assets/esri/core/workers/chunks/c0517d02c99128fe603f.js +0 -1
  1605. package/assets/esri/core/workers/chunks/c1fb5290e0e259b74389.js +0 -1
  1606. package/assets/esri/core/workers/chunks/c25e28aab5bee30722cb.js +0 -1
  1607. package/assets/esri/core/workers/chunks/c2faddd504c2355ac46e.js +0 -1
  1608. package/assets/esri/core/workers/chunks/c361bf4d41a1843d4640.js +0 -1
  1609. package/assets/esri/core/workers/chunks/c51099eab5a99c88e5de.js +0 -1
  1610. package/assets/esri/core/workers/chunks/c6c0263fbcf2ca245c1b.js +0 -1009
  1611. package/assets/esri/core/workers/chunks/c6c3e703b18e1bb7113a.js +0 -1
  1612. package/assets/esri/core/workers/chunks/c82e78590c2fabc67609.js +0 -1
  1613. package/assets/esri/core/workers/chunks/c9e580867f7ac17be329.js +0 -1
  1614. package/assets/esri/core/workers/chunks/ce291074b0cbebcaf27b.js +0 -1
  1615. package/assets/esri/core/workers/chunks/ce48207997af9605b0f7.js +0 -1
  1616. package/assets/esri/core/workers/chunks/d29ae64703a947bfb83b.js +0 -1
  1617. package/assets/esri/core/workers/chunks/d6241c7736d4a86f201f.js +0 -1
  1618. package/assets/esri/core/workers/chunks/d683a97620cd606fa019.js +0 -1
  1619. package/assets/esri/core/workers/chunks/d9f311ac82ae8dabff8f.js +0 -1
  1620. package/assets/esri/core/workers/chunks/de1457b07f4e263f1524.js +0 -1
  1621. package/assets/esri/core/workers/chunks/e06096e532a8dbb31491.js +0 -1
  1622. package/assets/esri/core/workers/chunks/e547318638c8f496c1a0.js +0 -1
  1623. package/assets/esri/core/workers/chunks/e6a97f9b6f7be8076f85.js +0 -1
  1624. package/assets/esri/core/workers/chunks/ef7fdd5306588c4b4ad2.js +0 -1
  1625. package/assets/esri/core/workers/chunks/f291ccf9da6aa7d7ae23.js +0 -1
  1626. package/assets/esri/core/workers/chunks/f328c933bc0367938d70.js +0 -1
  1627. package/assets/esri/core/workers/chunks/f5ee10a8afb7f70833bb.js +0 -346
  1628. package/assets/esri/core/workers/chunks/f61a8cc7e2b198e521ba.js +0 -1
  1629. package/assets/esri/core/workers/chunks/f9442a281cb91c64c7cd.js +0 -1
  1630. package/assets/esri/core/workers/chunks/fa7243f080bcf6444929.js +0 -1
  1631. package/assets/esri/core/workers/chunks/fad577be78560ed6f4f8.js +0 -1
  1632. package/assets/esri/core/workers/chunks/fbf3240b36718fa5dc76.js +0 -1
  1633. package/assets/esri/core/workers/chunks/fdd48334ff0ec2fa484b.js +0 -1
  1634. package/assets/esri/core/workers/chunks/fe73e74e3e4278aedcc3.js +0 -1
  1635. package/geometry/support/meshUtils/exporters/gltf/index.js +0 -5
  1636. package/views/3d/support/index.js +0 -5
  1637. package/views/3d/webgl-engine/lib/BufferVectorMath.js +0 -5
  1638. /package/assets/esri/core/workers/chunks/{6f9f32b7de59b4d9cd97.js.LICENSE.txt → ecd673eccf89643df07a.js.LICENSE.txt} +0 -0
  1639. /package/assets/esri/core/workers/chunks/{d1aeb9fe9eb573beefcc.js.LICENSE.txt → edc4f230a5bdf928f9fd.js.LICENSE.txt} +0 -0
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{i as e,G as t,t as r}from"../../../../chunks/vec32.js";import{create as i}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{makeFloat16Array as a}from"../../../../geometry/support/float16.js";import{newLayout as s}from"../../support/buffer/InterleavedLayout.js";import{isColor as n,isDepth as o,isColorHighlightOrDepth as h,isColorOrColorEmission as c,ShaderOutput as p}from"../core/shaderLibrary/ShaderOutput.js";import l from"../lib/GLMaterial.js";import{Material as m,RenderOccludedFlag as u}from"../lib/Material.js";import{RenderSlot as T}from"../lib/RenderSlot.js";import{VertexAttribute as f}from"../lib/VertexAttribute.js";import{VisualVariablePassParameters as d}from"./VisualVariablePassParameters.js";import{writeDeltaF16Vector as E}from"./internal/bufferWriterUtils.js";import{vertexAttributeLocations as A,LineMarkerTechnique as _}from"../shaders/LineMarkerTechnique.js";import{LineMarkerTechniqueConfiguration as v,LineMarkerSpace as g,LineMarkerAnchor as S}from"../shaders/LineMarkerTechniqueConfiguration.js";import{CapType as O}from"../shaders/RibbonLineTechniqueConfiguration.js";import{alphaCutoff as R}from"../../../../webscene/support/AlphaCutoff.js";class I extends m{constructor(e){super(e,C),this._configuration=new v,this.vertexAttributeLocations=A,this.produces=new Map([[T.OPAQUE_MATERIAL,e=>e===p.Highlight||n(e)&&this.parameters.renderOccluded===u.OccludeAndTransparentStencil],[T.OPAQUE_MATERIAL_WITHOUT_NORMALS,e=>o(e)],[T.OCCLUDER_MATERIAL,e=>h(e)&&this.parameters.renderOccluded===u.OccludeAndTransparentStencil],[T.TRANSPARENT_OCCLUDER_MATERIAL,e=>h(e)&&this.parameters.renderOccluded===u.OccludeAndTransparentStencil],[T.TRANSPARENT_MATERIAL,e=>n(e)&&this.parameters.writeDepth],[T.TRANSPARENT_MATERIAL_WITHOUT_DEPTH,e=>n(e)&&!this.parameters.writeDepth],[T.DRAPED_MATERIAL,e=>c(e)||e===p.Highlight]]),this.intersectDraped=void 0,this._layout=this.createLayout()}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.space=t.slot===T.DRAPED_MATERIAL?g.Draped:this.parameters.worldSpace?g.World:g.Screen,this._configuration.hideOnShortSegments=this.parameters.hideOnShortSegments,this._configuration.hasCap=this.parameters.cap!==O.BUTT,this._configuration.anchor=this.parameters.anchor,this._configuration.hasTip=this.parameters.hasTip,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.hasOccludees=t.hasOccludees,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.vvSize=!!this.parameters.vvSize,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration.vvOpacity=!!this.parameters.vvOpacity,this._configuration.occluder=this.parameters.renderOccluded===u.OccludeAndTransparentStencil,this._configuration.oitPass=t.oitPass,this._configuration.terrainDepthTest=t.terrainDepthTest&&c(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration}get visible(){return this.parameters.color[3]>=R}intersect(){}createLayout(){const e=s().vec3f(f.POSITION).vec4f16(f.PREVIOUSDELTA).vec2f16(f.UV0);return this.parameters.vvColor?e.f32(f.COLORFEATUREATTRIBUTE):e.vec4u8(f.COLOR,{glNormalized:!0}),this.parameters.vvOpacity&&e.f32(f.OPACITYFEATUREATTRIBUTE),this.parameters.vvSize?e.f32(f.SIZEFEATUREATTRIBUTE):e.f16(f.SIZE),this.parameters.worldSpace&&e.vec3f16(f.NORMAL),e}createBufferWriter(){return new P(this._layout,this.parameters)}createGLMaterial(e){return new L(e)}}class L extends l{dispose(){super.dispose(),this._markerTextures.release(this._markerPrimitive),this._markerPrimitive=null}beginSlot(e){const t=this._material.parameters.markerPrimitive;return t!==this._markerPrimitive&&(this._material.setParameters({markerTexture:this._markerTextures.swap(t,this._markerPrimitive)}),this._markerPrimitive=t),this.getTechnique(_,e)}}class C extends d{constructor(){super(...arguments),this.width=0,this.color=[1,1,1,1],this.markerPrimitive="arrow",this.placement="end",this.cap=O.BUTT,this.anchor=S.Center,this.hasTip=!1,this.worldSpace=!1,this.hideOnShortSegments=!1,this.writeDepth=!0,this.hasSlicePlane=!1,this.vvFastUpdate=!1,this.markerTexture=null}}class P{constructor(e,t){this.vertexBufferLayout=e,this._parameters=t}elementCount(){return"begin-end"===this._parameters.placement?12:6}write(i,s,n,o,h,c){const p=n.get(f.POSITION).data,l=p.length/3;let m=[1,0,0];const u=n.get(f.NORMAL);this._parameters.worldSpace&&null!=u&&(m=u.data);let T=1,d=0;this._parameters.vvSize?d=n.get(f.SIZEFEATUREATTRIBUTE).data[0]:n.has(f.SIZE)&&(T=n.get(f.SIZE).data[0]);let A=[1,1,1,1],_=0;this._parameters.vvColor?_=n.get(f.COLORFEATUREATTRIBUTE).data[0]:n.has(f.COLOR)&&(A=n.get(f.COLOR).data);let v=0;this._parameters.vvOpacity&&(v=n.get(f.OPACITYFEATUREATTRIBUTE).data[0]);const g=new Float32Array(h.buffer),S=a(h.buffer),O=new Uint8Array(h.buffer);let R=c*(this.vertexBufferLayout.stride/4);const I=g.BYTES_PER_ELEMENT/S.BYTES_PER_ELEMENT,L=4/I,C=(e,t,r,i)=>{g[R++]=e[0],g[R++]=e[1],g[R++]=e[2],E(t,e,S,R*I),R+=L;let a=R*I;if(S[a++]=r[0],S[a++]=r[1],R=Math.ceil(a/I),this._parameters.vvColor)g[R++]=_;else{const e=Math.min(4*i,A.length-4),t=4*R++;O[t]=255*A[e],O[t+1]=255*A[e+1],O[t+2]=255*A[e+2],O[t+3]=255*A[e+3]}this._parameters.vvOpacity&&(g[R++]=v),a=R*I,this._parameters.vvSize?(g[R++]=d,a+=2):S[a++]=T,this._parameters.worldSpace&&(S[a++]=m[0],S[a++]=m[1],S[a++]=m[2]),R=Math.ceil(a/I)};let P;!function(e){e[e.ASCENDING=1]="ASCENDING",e[e.DESCENDING=-1]="DESCENDING"}(P||(P={}));const b=(a,s)=>{const n=e(D,p[3*a],p[3*a+1],p[3*a+2]),o=N;let h=a+s;do{e(o,p[3*h],p[3*h+1],p[3*h+2]),h+=s}while(t(n,o)&&h>=0&&h<l);i&&(r(n,n,i),r(o,o,i)),C(n,o,[-1,-1],a),C(n,o,[1,-1],a),C(n,o,[1,1],a),C(n,o,[-1,-1],a),C(n,o,[1,1],a),C(n,o,[-1,1],a)},U=this._parameters.placement;return"begin"!==U&&"begin-end"!==U||b(0,P.ASCENDING),"end"!==U&&"begin-end"!==U||b(l-1,P.DESCENDING),null}}const D=i(),N=i();export{I as LineMarkerMaterial,C as Parameters};
5
+ import{i as e,G as t,t as r}from"../../../../chunks/vec32.js";import{create as i}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{makeFloat16Array as a}from"../../../../geometry/support/float16.js";import{newLayout as s}from"../../support/buffer/InterleavedLayout.js";import{isColor as o,isDepth as n,isColorHighlightOrDepth as h,isColorOrColorEmission as c}from"../core/shaderLibrary/ShaderOutput.js";import p from"../lib/GLMaterial.js";import{Material as u}from"../lib/Material.js";import{VisualVariablePassParameters as m}from"./VisualVariablePassParameters.js";import{writeDeltaF16Vector as l}from"./internal/bufferWriterUtils.js";import{vertexAttributeLocations as f,LineMarkerTechnique as v}from"../shaders/LineMarkerTechnique.js";import{LineMarkerTechniqueConfiguration as d}from"../shaders/LineMarkerTechniqueConfiguration.js";import{alphaCutoff as g}from"../../../../webscene/support/AlphaCutoff.js";class _ extends u{constructor(e){super(e,S),this._configuration=new d,this.vertexAttributeLocations=f,this.produces=new Map([[2,e=>8===e||o(e)&&8===this.parameters.renderOccluded],[3,e=>n(e)],[9,e=>h(e)&&8===this.parameters.renderOccluded],[10,e=>h(e)&&8===this.parameters.renderOccluded],[4,e=>o(e)&&this.parameters.writeDepth],[7,e=>o(e)&&!this.parameters.writeDepth],[17,e=>c(e)||8===e]]),this.intersectDraped=void 0,this._layout=this.createLayout()}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.space=17===t.slot?0:this.parameters.worldSpace?2:1,this._configuration.hideOnShortSegments=this.parameters.hideOnShortSegments,this._configuration.hasCap=0!==this.parameters.cap,this._configuration.anchor=this.parameters.anchor,this._configuration.hasTip=this.parameters.hasTip,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.hasOccludees=t.hasOccludees,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.vvSize=!!this.parameters.vvSize,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration.vvOpacity=!!this.parameters.vvOpacity,this._configuration.occluder=8===this.parameters.renderOccluded,this._configuration.oitPass=t.oitPass,this._configuration.terrainDepthTest=t.terrainDepthTest&&c(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration}get visible(){return this.parameters.color[3]>=g}intersect(){}createLayout(){const e=s().vec3f("position").vec4f16("previousDelta").vec2f16("uv0");return this.parameters.vvColor?e.f32("colorFeatureAttribute"):e.vec4u8("color",{glNormalized:!0}),this.parameters.vvOpacity&&e.f32("opacityFeatureAttribute"),this.parameters.vvSize?e.f32("sizeFeatureAttribute"):e.f16("size"),this.parameters.worldSpace&&e.vec3f16("normal"),e}createBufferWriter(){return new w(this._layout,this.parameters)}createGLMaterial(e){return new b(e)}}class b extends p{dispose(){super.dispose(),this._markerTextures?.release(this._markerPrimitive),this._markerPrimitive=null}beginSlot(e){const t=this._material.parameters.markerPrimitive;return t!==this._markerPrimitive&&(this._material.setParameters({markerTexture:this._markerTextures.swap(t,this._markerPrimitive)}),this._markerPrimitive=t),this.getTechnique(v,e)}}class S extends m{constructor(){super(...arguments),this.width=0,this.color=[1,1,1,1],this.markerPrimitive="arrow",this.placement="end",this.cap=0,this.anchor=0,this.hasTip=!1,this.worldSpace=!1,this.hideOnShortSegments=!1,this.writeDepth=!0,this.hasSlicePlane=!1,this.vvFastUpdate=!1,this.markerTexture=null}}class w{constructor(e,t){this.vertexBufferLayout=e,this._parameters=t}elementCount(){return"begin-end"===this._parameters.placement?12:6}write(i,s,o,n,h,c){const p=o.get("position").data,u=p.length/3;let m=[1,0,0];const f=o.get("normal");this._parameters.worldSpace&&null!=f&&(m=f.data);let v=1,d=0;this._parameters.vvSize?d=o.get("sizeFeatureAttribute").data[0]:o.has("size")&&(v=o.get("size").data[0]);let g=[1,1,1,1],_=0;this._parameters.vvColor?_=o.get("colorFeatureAttribute").data[0]:o.has("color")&&(g=o.get("color").data);let b=0;this._parameters.vvOpacity&&(b=o.get("opacityFeatureAttribute").data[0]);const S=new Float32Array(h.buffer),w=a(h.buffer),P=new Uint8Array(h.buffer);let O=c*(this.vertexBufferLayout.stride/4);const k=S.BYTES_PER_ELEMENT/w.BYTES_PER_ELEMENT,L=4/k,j=(e,t,r,i)=>{S[O++]=e[0],S[O++]=e[1],S[O++]=e[2],l(t,e,w,O*k),O+=L;let a=O*k;if(w[a++]=r[0],w[a++]=r[1],O=Math.ceil(a/k),this._parameters.vvColor)S[O++]=_;else{const e=Math.min(4*i,g.length-4),t=4*O++;P[t]=255*g[e],P[t+1]=255*g[e+1],P[t+2]=255*g[e+2],P[t+3]=255*g[e+3]}this._parameters.vvOpacity&&(S[O++]=b),a=O*k,this._parameters.vvSize?(S[O++]=d,a+=2):w[a++]=v,this._parameters.worldSpace&&(w[a++]=m[0],w[a++]=m[1],w[a++]=m[2]),O=Math.ceil(a/k)},x=(a,s)=>{const o=e(y,p[3*a],p[3*a+1],p[3*a+2]),n=T;let h=a+s;do{e(n,p[3*h],p[3*h+1],p[3*h+2]),h+=s}while(t(o,n)&&h>=0&&h<u);i&&(r(o,o,i),r(n,n,i)),j(o,n,[-1,-1],a),j(o,n,[1,-1],a),j(o,n,[1,1],a),j(o,n,[-1,-1],a),j(o,n,[1,1],a),j(o,n,[-1,1],a)},A=this._parameters.placement;return"begin"!==A&&"begin-end"!==A||x(0,1),"end"!==A&&"begin-end"!==A||x(u-1,-1),null}}const y=i(),T=i();export{_ as LineMarkerMaterial,S as Parameters};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{i as t,n as e,d as r,h as s,j as o,t as i}from"../../../../chunks/vec32.js";import{create as n}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as a}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{newLayout as c}from"../../support/buffer/InterleavedLayout.js";import{isColorOrColorEmission as u}from"../core/shaderLibrary/ShaderOutput.js";import l from"../lib/GLMaterial.js";import{Material as f,MaterialParameters as p}from"../lib/Material.js";import{RenderSlot as h}from"../lib/RenderSlot.js";import{VertexAttribute as m}from"../lib/VertexAttribute.js";import{vertexAttributeLocations as g,MeasurementArrowTechnique as d}from"../shaders/MeasurementArrowTechnique.js";import{MeasurementArrowTechniqueConfiguration as O}from"../shaders/MeasurementArrowTechniqueConfiguration.js";import{alphaCutoff as v}from"../../../../webscene/support/AlphaCutoff.js";class A extends f{constructor(t){super(t,C),this._configuration=new O,this.vertexAttributeLocations=g,this.intersectDraped=void 0,this.produces=new Map([[h.OPAQUE_MATERIAL,t=>!this._transparent&&u(t)],[h.TRANSPARENT_MATERIAL_WITHOUT_DEPTH,t=>this._transparent&&u(t)]])}getConfiguration(t,e){return super.getConfiguration(t,e,this._configuration),this._configuration.polygonOffsetEnabled=this.parameters.polygonOffset,this._configuration.transparent=this._transparent,this._configuration.oitPass=e.oitPass,this._configuration}get visible(){const{outlineColor:t,stripeEvenColor:e,stripeOddColor:r}=this.parameters;return t[3]>=v||e[3]>=v||r[3]>=v}intersect(){}createGLMaterial(t){return new b(t)}createBufferWriter(){return new E}get _transparent(){const{parameters:t}=this;return t.outlineColor[3]<1||t.stripeEvenColor[3]<1||t.stripeOddColor[3]<1}}class b extends l{beginSlot(t){return this.getTechnique(d,t)}}class C extends p{constructor(){super(...arguments),this.width=32,this.outlineSize=.2,this.outlineColor=a(1,.5,0,1),this.stripeEvenColor=a(1,1,1,1),this.stripeOddColor=a(1,.5,0,1),this.stripeLength=1,this.polygonOffset=!1}}const T=c().vec3f(m.POSITION).vec3f(m.NORMAL).vec2f(m.UV0).f32(m.LENGTH),_=n(),j=n(),L=n(),M=n(),w=n();class E{constructor(){this.vertexBufferLayout=T}elementCount(t){return 2*(t.get(m.POSITION).indices.length/2+1)}write(n,a,c,u,l,f){const{data:p,indices:h}=c.get(m.POSITION),g=c.get(m.NORMAL).data,d=p.length/3;h&&h.length!==2*(d-1)&&console.warn("MeasurementArrowMaterial does not support indices");const O=_,v=j,A=L,b=M,C=w,T=l.position,E=l.normal,I=l.uv0;let x=0;for(let m=0;m<d;++m){const c=3*m;if(t(O,p[c],p[c+1],p[c+2]),m<d-1){const o=3*(m+1);t(v,p[o],p[o+1],p[o+2]),t(C,g[o],g[o+1],g[o+2]),e(C,C),r(A,v,O),e(A,A),s(b,C,A),e(b,b)}const u=o(O,v);n&&a&&(i(O,O,n),i(v,v,n),i(b,b,a));const l=f+2*m,h=l+1;T.setVec(l,O),T.setVec(h,O),E.setVec(l,b),E.setVec(h,b),I.set(l,0,x),I.set(l,1,-1),I.set(h,0,x),I.set(h,1,1),m<d-1&&(x+=u)}const N=l.length;for(let t=0;t<2*d;++t)N.set(f+t,x);return null}}export{A as MeasurementArrowMaterial,C as Parameters};
5
+ import{i as t,n as e,d as r,h as s,j as o,t as i}from"../../../../chunks/vec32.js";import{create as n}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as a}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{newLayout as c}from"../../support/buffer/InterleavedLayout.js";import{isColorOrColorEmission as u}from"../core/shaderLibrary/ShaderOutput.js";import l from"../lib/GLMaterial.js";import{Material as p,MaterialParameters as f}from"../lib/Material.js";import{vertexAttributeLocations as h,MeasurementArrowTechnique as m}from"../shaders/MeasurementArrowTechnique.js";import{MeasurementArrowTechniqueConfiguration as g}from"../shaders/MeasurementArrowTechniqueConfiguration.js";import{alphaCutoff as d}from"../../../../webscene/support/AlphaCutoff.js";class v extends p{constructor(t){super(t,b),this._configuration=new g,this.vertexAttributeLocations=h,this.intersectDraped=void 0,this.produces=new Map([[2,t=>!this._transparent&&u(t)],[7,t=>this._transparent&&u(t)]])}getConfiguration(t,e){return super.getConfiguration(t,e,this._configuration),this._configuration.polygonOffsetEnabled=this.parameters.polygonOffset,this._configuration.transparent=this._transparent,this._configuration.oitPass=e.oitPass,this._configuration}get visible(){const{outlineColor:t,stripeEvenColor:e,stripeOddColor:r}=this.parameters;return t[3]>=d||e[3]>=d||r[3]>=d}intersect(){}createGLMaterial(t){return new C(t)}createBufferWriter(){return new O}get _transparent(){const{parameters:t}=this;return t.outlineColor[3]<1||t.stripeEvenColor[3]<1||t.stripeOddColor[3]<1}}class C extends l{beginSlot(t){return this.getTechnique(m,t)}}class b extends f{constructor(){super(...arguments),this.width=32,this.outlineSize=.2,this.outlineColor=a(1,.5,0,1),this.stripeEvenColor=a(1,1,1,1),this.stripeOddColor=a(1,.5,0,1),this.stripeLength=1,this.polygonOffset=!1}}const j=c().vec3f("position").vec3f("normal").vec2f("uv0").f32("length"),w=n(),_=n(),x=n(),M=n(),L=n();class O{constructor(){this.vertexBufferLayout=j}elementCount(t){return 2*(t.get("position").indices.length/2+1)}write(n,a,c,u,l,p){const{data:f,indices:h}=c.get("position"),m=c.get("normal").data,g=f.length/3;h&&h.length!==2*(g-1)&&console.warn("MeasurementArrowMaterial does not support indices");const d=w,v=_,C=x,b=M,j=L,O=l.position,y=l.normal,A=l.uv0;let E=0;for(let w=0;w<g;++w){const c=3*w;if(t(d,f[c],f[c+1],f[c+2]),w<g-1){const o=3*(w+1);t(v,f[o],f[o+1],f[o+2]),t(j,m[o],m[o+1],m[o+2]),e(j,j),r(C,v,d),e(C,C),s(b,j,C),e(b,b)}const u=o(d,v);n&&a&&(i(d,d,n),i(v,v,n),i(b,b,a));const l=p+2*w,h=l+1;O.setVec(l,d),O.setVec(h,d),y.setVec(l,b),y.setVec(h,b),A.set(l,0,E),A.set(l,1,-1),A.set(h,0,E),A.set(h,1,1),w<g-1&&(E+=u)}const V=l.length;for(let t=0;t<2*g;++t)V.set(p+t,E);return null}}export{v as MeasurementArrowMaterial,b as Parameters};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import e from"../../../../core/Logger.js";import{clamp as r}from"../../../../core/mathUtils.js";import{createRenderScreenPointArray3 as t}from"../../../../core/screenUtils.js";import{copy as o}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{i as s,d as i,e as a,g as n,f as c,c as m,l,j as f}from"../../../../chunks/vec32.js";import{create as u}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ONES as p}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{PlaneIndex as h}from"../../../../geometry/support/frustum.js";import{distance2 as g,fromPoints as d,create as j,closestLineSegmentPoint as b}from"../../../../geometry/support/lineSegment.js";import{fromPoints as A,create as S,signedDistance as x,getNormal as L}from"../../../../geometry/support/plane.js";import{isColorHighlightOrOID as y}from"../core/shaderLibrary/ShaderOutput.js";import N from"../lib/GLMaterial.js";import{Material as R,MaterialParameters as v}from"../lib/Material.js";import{RenderSlot as E}from"../lib/RenderSlot.js";import{isTranslationMatrix as M}from"../lib/Util.js";import{VertexAttribute as T}from"../lib/VertexAttribute.js";import{DefaultBufferWriter as _}from"./DefaultBufferWriter.js";import{PositionColorLayout as w,PositionLayout as C}from"./DefaultLayouts.js";import{NativeLineTechnique as O}from"../shaders/NativeLineTechnique.js";import{NativeLineTechniqueConfiguration as V}from"../shaders/NativeLineTechniqueConfiguration.js";import{alphaCutoff as P}from"../../../../webscene/support/AlphaCutoff.js";class U extends R{constructor(e){super(e,q),this._configuration=new V,this.produces=new Map([[E.OPAQUE_MATERIAL,e=>y(e)]])}getConfiguration(e,r){return super.getConfiguration(e,r,this._configuration),this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.hasVertexColors=this.parameters.hasVertexColors,this._configuration.transparent=this.parameters.color[3]<1||this.parameters.width<1,this._configuration.hasOccludees=r.hasOccludees,this._configuration}get visible(){return this.parameters.color[3]>=P}intersect(r,t,u,p,j,S){const y=u.camera;if(!u.options.selectionMode||!r.visible||!y)return;if(!M(t))return void e.getLogger("esri.views.3d.webgl-engine.materials.NativeLineMaterial").error("intersection assumes a translation-only matrix");const N=r.attributes.get(T.POSITION).data,R=H;o(R,u.point);const v=2;s(J[0],R[0]-v,R[1]+v,0),s(J[1],R[0]+v,R[1]+v,0),s(J[2],R[0]+v,R[1]-v,0),s(J[3],R[0]-v,R[1]-v,0);for(let e=0;e<4;e++)if(!y.unprojectFromRenderScreen(J[e],K[e]))return;A(y.eye,K[0],K[1],Y),A(y.eye,K[1],K[2],$),A(y.eye,K[2],K[3],ee),A(y.eye,K[3],K[0],re);let E=Number.MAX_VALUE,_=0;for(let e=0;e<N.length-5;e+=3){if(B[0]=N[e]+t[12],B[1]=N[e+1]+t[13],B[2]=N[e+2]+t[14],D[0]=N[e+3]+t[12],D[1]=N[e+4]+t[13],D[2]=N[e+5]+t[14],x(Y,B)<0&&x(Y,D)<0||x($,B)<0&&x($,D)<0||x(ee,B)<0&&x(ee,D)<0||x(re,B)<0&&x(re,D)<0)continue;if(y.projectToRenderScreen(B,G),y.projectToRenderScreen(D,k),G[2]<0&&k[2]>0){i(W,B,D);const e=y.frustum,r=-x(e[h.NEAR],B)/a(W,L(e[h.NEAR]));n(W,W,r),c(B,B,W),y.projectToRenderScreen(B,G)}else if(G[2]>0&&k[2]<0){i(W,D,B);const e=y.frustum,r=-x(e[h.NEAR],D)/a(W,L(e[h.NEAR]));n(W,W,r),c(D,D,W),y.projectToRenderScreen(D,k)}else if(G[2]<0&&k[2]<0)continue;G[2]=0,k[2]=0;const r=g(d(G,k,Z),R);r<E&&(E=r,m(F,B),m(Q,D),_=e/3)}const w=u.rayBegin,C=u.rayEnd;if(E<v*v){let e=Number.MAX_VALUE;if(b(d(F,Q,Z),d(w,C,z),X)){i(X,X,w);const r=l(X);n(X,X,1/r),e=r/f(w,C)}S(e,X,_)}}intersectDraped(e,t,o,s,i){if(!t.options.selectionMode)return;const a=e.attributes.get(T.POSITION).data,n=e.attributes.get(T.SIZE),c=n?n.data[0]:0,m=o[0],l=o[1],f=((c+1)/2+4)*e.screenToWorldRatio;let u=Number.MAX_VALUE,p=0;for(let h=0;h<a.length-5;h+=3){const e=a[h],t=a[h+1],o=m-e,s=l-t,i=a[h+3]-e,n=a[h+4]-t,c=r((i*o+n*s)/(i*i+n*n),0,1),f=i*c-o,g=n*c-s,d=f*f+g*g;d<u&&(u=d,p=h/3)}u<f*f&&s(i.distance,i.normal,p)}createGLMaterial(e){return new I(e)}createBufferWriter(){const e=this.parameters.hasVertexColors?w:C;return new _(e)}}class I extends N{beginSlot(e){return this.getTechnique(O,e)}}class q extends v{constructor(){super(...arguments),this.color=p,this.hasVertexColors=!1,this.hasSlicePlane=!1,this.width=1}}const B=u(),D=u(),W=u(),X=u(),G=t(),k=t(),F=u(),Q=u(),Z=j(),z=j(),H=u(),J=[t(),t(),t(),t()],K=[u(),u(),u(),u()],Y=S(),$=S(),ee=S(),re=S();export{U as NativeLineMaterial,q as Parameters};
5
+ import e from"../../../../core/Logger.js";import{clamp as r}from"../../../../core/mathUtils.js";import{createRenderScreenPointArray3 as t}from"../../../../core/screenUtils.js";import{copy as o}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{i as s,d as i,e as a,g as n,f as c,c as m,l,j as f}from"../../../../chunks/vec32.js";import{create as u}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ONES as p}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{distance2 as h,fromPoints as g,create as d,closestLineSegmentPoint as j}from"../../../../geometry/support/lineSegment.js";import{fromPoints as b,create as x,signedDistance as L,getNormal as v}from"../../../../geometry/support/plane.js";import{isColorHighlightOrOID as y}from"../core/shaderLibrary/ShaderOutput.js";import S from"../lib/GLMaterial.js";import{Material as M,MaterialParameters as _}from"../lib/Material.js";import{isTranslationMatrix as w}from"../lib/Util.js";import{DefaultBufferWriter as C}from"./DefaultBufferWriter.js";import{PositionColorLayout as T,PositionLayout as A}from"./DefaultLayouts.js";import{NativeLineTechnique as V}from"../shaders/NativeLineTechnique.js";import{NativeLineTechniqueConfiguration as N}from"../shaders/NativeLineTechniqueConfiguration.js";import{alphaCutoff as R}from"../../../../webscene/support/AlphaCutoff.js";class U extends M{constructor(e){super(e,P),this._configuration=new N,this.produces=new Map([[2,e=>y(e)]])}getConfiguration(e,r){return super.getConfiguration(e,r,this._configuration),this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.hasVertexColors=this.parameters.hasVertexColors,this._configuration.transparent=this.parameters.color[3]<1||this.parameters.width<1,this._configuration.hasOccludees=r.hasOccludees,this._configuration}get visible(){return this.parameters.color[3]>=R}intersect(r,t,u,p,d,x){const y=u.camera;if(!u.options.selectionMode||!r.visible||!y)return;if(!w(t))return void e.getLogger("esri.views.3d.webgl-engine.materials.NativeLineMaterial").error("intersection assumes a translation-only matrix");const S=r.attributes.get("position").data,M=H;o(M,u.point);const _=2;s(I[0],M[0]-_,M[1]+_,0),s(I[1],M[0]+_,M[1]+_,0),s(I[2],M[0]+_,M[1]-_,0),s(I[3],M[0]-_,M[1]-_,0);for(let e=0;e<4;e++)if(!y.unprojectFromRenderScreen(I[e],J[e]))return;b(y.eye,J[0],J[1],K),b(y.eye,J[1],J[2],Q),b(y.eye,J[2],J[3],Y),b(y.eye,J[3],J[0],Z);let C=Number.MAX_VALUE,T=0;for(let e=0;e<S.length-5;e+=3){if(q[0]=S[e]+t[12],q[1]=S[e+1]+t[13],q[2]=S[e+2]+t[14],B[0]=S[e+3]+t[12],B[1]=S[e+4]+t[13],B[2]=S[e+5]+t[14],L(K,q)<0&&L(K,B)<0||L(Q,q)<0&&L(Q,B)<0||L(Y,q)<0&&L(Y,B)<0||L(Z,q)<0&&L(Z,B)<0)continue;if(y.projectToRenderScreen(q,W),y.projectToRenderScreen(B,X),W[2]<0&&X[2]>0){i(D,q,B);const e=y.frustum,r=-L(e[4],q)/a(D,v(e[4]));n(D,D,r),c(q,q,D),y.projectToRenderScreen(q,W)}else if(W[2]>0&&X[2]<0){i(D,B,q);const e=y.frustum,r=-L(e[4],B)/a(D,v(e[4]));n(D,D,r),c(B,B,D),y.projectToRenderScreen(B,X)}else if(W[2]<0&&X[2]<0)continue;W[2]=0,X[2]=0;const r=h(g(W,X,z),M);r<C&&(C=r,m(G,q),m(k,B),T=e/3)}const A=u.rayBegin,V=u.rayEnd;if(C<_*_){let e=Number.MAX_VALUE;if(j(g(G,k,z),g(A,V,F),O)){i(O,O,A);const r=l(O);n(O,O,1/r),e=r/f(A,V)}x(e,O,T)}}intersectDraped(e,t,o,s,i){if(!t.options.selectionMode)return;const a=e.attributes.get("position").data,n=e.attributes.get("size"),c=n?n.data[0]:0,m=o[0],l=o[1],f=((c+1)/2+4)*e.screenToWorldRatio;let u=Number.MAX_VALUE,p=0;for(let h=0;h<a.length-5;h+=3){const e=a[h],t=a[h+1],o=m-e,s=l-t,i=a[h+3]-e,n=a[h+4]-t,c=r((i*o+n*s)/(i*i+n*n),0,1),f=i*c-o,g=n*c-s,d=f*f+g*g;d<u&&(u=d,p=h/3)}u<f*f&&s(i.distance,i.normal,p)}createGLMaterial(e){return new E(e)}createBufferWriter(){const e=this.parameters.hasVertexColors?T:A;return new C(e)}}class E extends S{beginSlot(e){return this.getTechnique(V,e)}}class P extends _{constructor(){super(...arguments),this.color=p,this.hasVertexColors=!1,this.hasSlicePlane=!1,this.width=1}}const q=u(),B=u(),D=u(),O=u(),W=t(),X=t(),G=u(),k=u(),z=d(),F=d(),H=u(),I=[t(),t(),t(),t()],J=[u(),u(),u(),u()],K=x(),Q=x(),Y=x(),Z=x();export{U as NativeLineMaterial,P as Parameters};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{clamp as t}from"../../../../core/mathUtils.js";import{clone as e}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{fromValues as i}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as r}from"../../../../geometry/support/aaBoundingBox.js";import{newLayout as s}from"../../support/buffer/InterleavedLayout.js";import{isShadowRelatedOutput as o,is3DGeometryOutputMRT as a,isColorOrColorEmission as n,isColorEmission as h,ShaderOutput as c}from"../core/shaderLibrary/ShaderOutput.js";import{EmissionSource as p}from"../core/shaderLibrary/output/Emissions.glsl.js";import{NormalsDoubleSidedMode as u}from"../core/shaderLibrary/shading/Normals.glsl.js";import{PBRMode as m}from"../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{olidEnabled as l}from"../effects/geometry/olidUtils.js";import f from"../lib/GLMaterial.js";import{Material as d}from"../lib/Material.js";import{isPathGeometry as b}from"../lib/PathGeometry.js";import{MeshIntersectionOptions as g,intersectAabbInvDir as v}from"../lib/RayIntersections.js";import{RenderSlot as S}from"../lib/RenderSlot.js";import{VertexAttribute as _}from"../lib/VertexAttribute.js";import{DefaultBufferWriter as T}from"./DefaultBufferWriter.js";import{vertexAttributeLocations as A,PathPassParameters as O,PathTechnique as R}from"./PathTechnique.js";import{PathTechniqueConfiguration as y}from"./PathTechniqueConfiguration.js";import{alphaCutoff as E}from"../../../../webscene/support/AlphaCutoff.js";class P extends d{constructor(t,e){super(t,I),this.vertexAttributeLocations=A,this.supportsEdges=!0,this._pp0=i(0,0,1),this._pp1=i(0,0,0),this.produces=new Map([[S.OPAQUE_MATERIAL,t=>(this.parameters.castShadows&&o(t)||a(t))&&!this.transparent],[S.TRANSPARENT_MATERIAL,t=>(this.parameters.castShadows&&o(t)||a(t))&&this.transparent]]),this._configuration=new y(e.spherical)}get hasEmissions(){return this.parameters.emissiveStrength>0}getConfiguration(t,e){return super.getConfiguration(t,e,this._configuration),this._configuration.vvSize=!!this.parameters.vvSize,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration.vvOpacity=!!this.parameters.vvOpacity,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this.transparent,this._configuration.hasOccludees=e.hasOccludees,n(t)?(this._configuration.doubleSidedMode=this.parameters.doubleSided&&"normal"===this.parameters.doubleSidedType?u.View:this.parameters.doubleSided&&"winding-order"===this.parameters.doubleSidedType?u.WindingOrder:u.None,this._configuration.receiveShadows=e.shadowMap.enabled,this._configuration.receiveAmbientOcclusion=null!=e.ssao):this._configuration.receiveShadows=this._configuration.receiveAmbientOcclusion=!1,this._configuration.pbrMode=this.parameters.usePBR?m.Schematic:m.Disabled,this._configuration.emissionSource=this.parameters.usePBR?p.SymbolColor:p.None,this._configuration.hasBloom=h(t),this._configuration.oitPass=e.oitPass,this._configuration.terrainDepthTest=e.terrainDepthTest,this._configuration.cullAboveTerrain=e.cullAboveTerrain,this._configuration.snowCover=e.snowCover,this._configuration}isVisibleForOutput(t){return t!==c.Shadow&&t!==c.ShadowExcludeHighlight&&t!==c.ShadowHighlight||this.parameters.castShadows}get visible(){return this.parameters.opacity>=E}intersect(t,e,i,r,s,o){this._intersect(t,i,r,s,o)}intersectDraped(t,e,i,r){return this._pp0[0]=this._pp1[0]=i[0],this._pp0[1]=this._pp1[1]=i[1],this._intersect(t,e,this._pp0,this._pp1,r)}_intersect(i,s,o,a,n){const h=i;if(!b(h))return;const c=h.path,p=e(this.parameters.size);if(this.parameters.vvSize){const{offset:e,factor:i,minSize:r,maxSize:s,fallback:o}=this.parameters.vvSize,a=c.sizeAttributeValue;Number.isNaN(a)?(p[0]*=o[0],p[1]*=o[2]):(p[0]*=t(e[0]+a*i[0],r[0],s[0]),p[1]*=t(e[2]+a*i[2],r[2],s[2]))}const u=new g(!1,s.options.normalRequired),m=Math.max(p[0],p[1]),l=i.boundingInfo;if(null==l)return void w(c,p,o,a,u,n);const f=r(l.bbMin[0]-m,l.bbMin[1]-m,l.bbMin[2]-m,l.bbMax[0]+m,l.bbMax[1]+m,l.bbMax[2]+m),d=[a[0]-o[0],a[1]-o[1],a[2]-o[2]],S=Math.sqrt(d[0]*d[0]+d[1]*d[1]+d[2]*d[2]),_=[S/d[0],S/d[1],S/d[2]];v(f,o,_,s.tolerance)&&w(c,p,o,a,u,n)}createBufferWriter(){return new T(this._layout)}get _layout(){const t=s().vec3f(_.POSITION).vec4f16(_.PROFILEVERTEXANDNORMAL).vec2i16(_.PROFILERIGHT,{glNormalized:!0}).vec2i16(_.PROFILEUP,{glNormalized:!0});return this.parameters.vvSize&&t.f32(_.SIZEFEATUREATTRIBUTE),this.parameters.vvColor&&t.f32(_.COLORFEATUREATTRIBUTE),this.parameters.vvOpacity&&t.f32(_.OPACITYFEATUREATTRIBUTE),l()&&t.vec4u8(_.OLIDCOLOR),t.vec3f16(_.PROFILEAUXDATA),t}createGLMaterial(t){return new j(t)}get transparent(){const{parameters:t}=this;return t.drivenOpacity||t.opacity<1}}class j extends f{beginSlot(t){return this.getTechnique(R,t)}}function w(t,e,i,r,s,o){t.baked.size&&t.baked.size[0]===e[0]&&t.baked.size[1]===e[1]||t.baked.bake(e),t.baked.intersect(i,r,s,o)}class I extends O{constructor(){super(...arguments),this.doubleSided=!1,this.doubleSidedType="normal",this.castShadows=!0,this.hasSlicePlane=!1,this.drivenOpacity=!1,this.usePBR=!1}}export{I as Parameters,P as PathMaterial};
5
+ import{clamp as t}from"../../../../core/mathUtils.js";import{clone as e}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{fromValues as i}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as r}from"../../../../geometry/support/aaBoundingBox.js";import{newLayout as s}from"../../support/buffer/InterleavedLayout.js";import{isShadowRelatedOutput as a,is3DGeometryOutputMRT as o,isColorOrColorEmission as n,isColorEmission as c}from"../core/shaderLibrary/ShaderOutput.js";import{olidEnabled as p}from"../effects/geometry/olidUtils.js";import h from"../lib/GLMaterial.js";import{Material as u}from"../lib/Material.js";import{isPathGeometry as l}from"../lib/PathGeometry.js";import{MeshIntersectionOptions as m,intersectAabbInvDir as f}from"../lib/RayIntersections.js";import{DefaultBufferWriter as d}from"./DefaultBufferWriter.js";import{vertexAttributeLocations as b,PathPassParameters as v,PathTechnique as g}from"./PathTechnique.js";import{PathTechniqueConfiguration as _}from"./PathTechniqueConfiguration.js";import{alphaCutoff as S}from"../../../../webscene/support/AlphaCutoff.js";class y extends u{constructor(t,e){super(t,x),this.vertexAttributeLocations=b,this.supportsEdges=!0,this._pp0=i(0,0,1),this._pp1=i(0,0,0),this.produces=new Map([[2,t=>(this.parameters.castShadows&&a(t)||o(t))&&!this.transparent],[4,t=>(this.parameters.castShadows&&a(t)||o(t))&&this.transparent]]),this._configuration=new _(e.spherical)}get hasEmissions(){return this.parameters.emissiveStrength>0}getConfiguration(t,e){return super.getConfiguration(t,e,this._configuration),this._configuration.vvSize=!!this.parameters.vvSize,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration.vvOpacity=!!this.parameters.vvOpacity,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this.transparent,this._configuration.hasOccludees=e.hasOccludees,n(t)?(this._configuration.doubleSidedMode=this.parameters.doubleSided&&"normal"===this.parameters.doubleSidedType?1:this.parameters.doubleSided&&"winding-order"===this.parameters.doubleSidedType?2:0,this._configuration.receiveShadows=e.shadowMap.enabled,this._configuration.receiveAmbientOcclusion=null!=e.ssao):this._configuration.receiveShadows=this._configuration.receiveAmbientOcclusion=!1,this._configuration.pbrMode=this.parameters.usePBR?2:0,this._configuration.emissionSource=this.parameters.usePBR?1:0,this._configuration.hasBloom=c(t),this._configuration.oitPass=e.oitPass,this._configuration.terrainDepthTest=e.terrainDepthTest,this._configuration.cullAboveTerrain=e.cullAboveTerrain,this._configuration.snowCover=e.snowCover,this._configuration}isVisibleForOutput(t){return 4!==t&&6!==t&&5!==t||this.parameters.castShadows}get visible(){return this.parameters.opacity>=S}intersect(t,e,i,r,s,a){this._intersect(t,i,r,s,a)}intersectDraped(t,e,i,r){return this._pp0[0]=this._pp1[0]=i[0],this._pp0[1]=this._pp1[1]=i[1],this._intersect(t,e,this._pp0,this._pp1,r)}_intersect(i,s,a,o,n){const c=i;if(!l(c))return;const p=c.path,h=e(this.parameters.size);if(this.parameters.vvSize){const{offset:e,factor:i,minSize:r,maxSize:s,fallback:a}=this.parameters.vvSize,o=p.sizeAttributeValue;Number.isNaN(o)?(h[0]*=a[0],h[1]*=a[2]):(h[0]*=t(e[0]+o*i[0],r[0],s[0]),h[1]*=t(e[2]+o*i[2],r[2],s[2]))}const u=new m(!1,s.options.normalRequired),d=Math.max(h[0],h[1]),b=i.boundingInfo;if(null==b)return void w(p,h,a,o,u,n);const v=r(b.bbMin[0]-d,b.bbMin[1]-d,b.bbMin[2]-d,b.bbMax[0]+d,b.bbMax[1]+d,b.bbMax[2]+d),g=[o[0]-a[0],o[1]-a[1],o[2]-a[2]],_=Math.sqrt(g[0]*g[0]+g[1]*g[1]+g[2]*g[2]),S=[_/g[0],_/g[1],_/g[2]];f(v,a,S,s.tolerance)&&w(p,h,a,o,u,n)}createBufferWriter(){return new d(this._layout)}get _layout(){const t=s().vec3f("position").vec4f16("profileVertexAndNormal").vec2i16("profileRight",{glNormalized:!0}).vec2i16("profileUp",{glNormalized:!0});return this.parameters.vvSize&&t.f32("sizeFeatureAttribute"),this.parameters.vvColor&&t.f32("colorFeatureAttribute"),this.parameters.vvOpacity&&t.f32("opacityFeatureAttribute"),p()&&t.vec4u8("objectAndLayerIdColor"),t.vec3f16("profileAuxData"),t}createGLMaterial(t){return new j(t)}get transparent(){const{parameters:t}=this;return t.drivenOpacity||t.opacity<1}}class j extends h{beginSlot(t){return this.getTechnique(g,t)}}function w(t,e,i,r,s,a){t.baked.size&&t.baked.size[0]===e[0]&&t.baked.size[1]===e[1]||t.baked.bake(e),t.baked.intersect(i,r,s,a)}class x extends v{constructor(){super(...arguments),this.doubleSided=!1,this.doubleSidedType="normal",this.castShadows=!0,this.hasSlicePlane=!1,this.drivenOpacity=!1,this.usePBR=!1}}export{x as Parameters,y as PathMaterial};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{freeze as r,create as e,ZEROS as s}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{EmissiveSourceMode as t}from"../../../../symbols/support/materialUtils.js";import{isColorOrColorEmission as i}from"../core/shaderLibrary/ShaderOutput.js";import{PathVertexPositionPassParameters as o}from"../core/shaderLibrary/attributes/PathVertexPosition.glsl.js";import{NormalsDoubleSidedMode as l}from"../core/shaderLibrary/shading/Normals.glsl.js";import{ReloadableShaderModule as n}from"../core/shaderTechnique/ReloadableShaderModule.js";import{ShaderTechnique as a,depthOnlyOutputBuffersOr as m}from"../core/shaderTechnique/ShaderTechnique.js";import{OITPass as c}from"../lib/OITPass.js";import{OITPolygonOffset as p,oitDepthTest as h,blending as u,getDrawBuffers as d}from"../lib/OrderIndependentTransparency.js";import{stencilBaseAllZerosParams as T,stencilWriteMaskOn as f}from"../lib/StencilUtils.js";import{VertexAttribute as O}from"../lib/VertexAttribute.js";import{advancedMRRFactors as b}from"./pbrUtils.js";import{P as E}from"../../../../chunks/Path.glsl.js";import{makePipelineState as P,defaultColorWrite as R,defaultDepthWrite as j,frontFaceCullingParams as I}from"../../../webgl/renderState.js";class A extends o{constructor(){super(...arguments),this.ambient=r(.2,.2,.2),this.diffuse=r(.8,.8,.8),this.opacity=1,this.origin=e(),this.modelTransformation=null,this.mrrFactors=b,this.emissiveStrength=0,this.emissiveSource=t.Color,this.emissiveBaseColor=s}}class g extends a{constructor(r,e){super(r,e,new n(E,()=>import("../shaders/Path.glsl.js")),L)}initializePipeline(r){const{output:e,transparent:s,hasSlicePlane:t,doubleSidedMode:o,hasOccludees:n,oitPass:a}=r,O=a===c.NONE,b=a===c.FrontFace;return P({blending:i(e)&&s?u(a):null,culling:t&&!s&&o!==l.None?I:null,depthTest:{func:h(a)},depthWrite:O||b?j:null,drawBuffers:m(e,d(a,e)),colorWrite:R,stencilWrite:n?f:null,stencilTest:n?T:null,polygonOffset:O||b?null:p})}}const L=new Map([[O.POSITION,0],[O.PROFILEVERTEXANDNORMAL,1],[O.PROFILERIGHT,2],[O.PROFILEUP,3],[O.SIZEFEATUREATTRIBUTE,4],[O.COLORFEATUREATTRIBUTE,5],[O.OPACITYFEATUREATTRIBUTE,6],[O.OLIDCOLOR,7],[O.PROFILEAUXDATA,8]]);export{A as PathPassParameters,g as PathTechnique,L as vertexAttributeLocations};
5
+ import{freeze as e,create as r,ZEROS as t}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{isColorOrColorEmission as i}from"../core/shaderLibrary/ShaderOutput.js";import{PathVertexPositionPassParameters as s}from"../core/shaderLibrary/attributes/PathVertexPosition.glsl.js";import{ReloadableShaderModule as o}from"../core/shaderTechnique/ReloadableShaderModule.js";import{ShaderTechnique as l,depthOnlyOutputBuffersOr as n}from"../core/shaderTechnique/ShaderTechnique.js";import{OITPolygonOffset as a,oitDepthTest as u,blending as c,getDrawBuffers as p}from"../lib/OrderIndependentTransparency.js";import{stencilBaseAllZerosParams as d,stencilWriteMaskOn as h}from"../lib/StencilUtils.js";import{advancedMRRFactors as m}from"./pbrUtils.js";import{P as f}from"../../../../chunks/Path.glsl.js";import{makePipelineState as b,defaultColorWrite as j,defaultDepthWrite as g,frontFaceCullingParams as S}from"../../../webgl/renderState.js";class P extends s{constructor(){super(...arguments),this.ambient=e(.2,.2,.2),this.diffuse=e(.8,.8,.8),this.opacity=1,this.origin=r(),this.modelTransformation=null,this.mrrFactors=m,this.emissiveStrength=0,this.emissiveSource=1,this.emissiveBaseColor=t}}class x extends l{constructor(e,r){super(e,r,new o(f,()=>import("../shaders/Path.glsl.js")),y)}initializePipeline(e){const{output:r,transparent:t,hasSlicePlane:s,doubleSidedMode:o,hasOccludees:l,oitPass:m}=e,f=0===m,P=2===m;return b({blending:i(r)&&t?c(m):null,culling:s&&!t&&0!==o?S:null,depthTest:{func:u(m)},depthWrite:f||P?g:null,drawBuffers:n(r,p(m,r)),colorWrite:j,stencilWrite:l?h:null,stencilTest:l?d:null,polygonOffset:f||P?null:a})}}const y=new Map([["position",0],["profileVertexAndNormal",1],["profileRight",2],["profileUp",3],["sizeFeatureAttribute",4],["colorFeatureAttribute",5],["opacityFeatureAttribute",6],["objectAndLayerIdColor",7],["profileAuxData",8]]);export{P as PathPassParameters,x as PathTechnique,y as vertexAttributeLocations};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{_ as e}from"../../../../chunks/tslib.es6.js";import{TextureCoordinateType as o}from"../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{EmissionSource as t}from"../core/shaderLibrary/output/Emissions.glsl.js";import{NormalsDoubleSidedMode as r}from"../core/shaderLibrary/shading/Normals.glsl.js";import{PBRMode as s}from"../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{parameter as i}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as a}from"./DefaultTechniqueConfiguration.js";class h extends a{constructor(e){super(),this.spherical=e,this.pbrMode=s.Disabled,this.doubleSidedMode=r.None,this.emissionSource=t.None,this.receiveShadows=!1,this.receiveAmbientOcclusion=!1,this.vvSize=!1,this.vvColor=!1,this.vvOpacity=!1,this.transparent=!1,this.hasOccludees=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasBloom=!1,this.snowCover=!1,this.textureCoordinateType=o.None,this.occlusionPass=!1,this.hasVvInstancing=!0,this.useCustomDTRExponentForWater=!1,this.useFillLights=!1,this.hasColorTexture=!1,this.objectAndLayerIdColorInstanced=!1,this.hasMetallicRoughnessTexture=!1,this.hasOcclusionTexture=!1,this.hasNormalTexture=!1,this.draped=!1,this.overlayEnabled=!1}get discardInvisibleFragments(){return this.transparent}}e([i({count:s.COUNT})],h.prototype,"pbrMode",void 0),e([i({count:r.COUNT})],h.prototype,"doubleSidedMode",void 0),e([i({count:t.COUNT})],h.prototype,"emissionSource",void 0),e([i()],h.prototype,"receiveShadows",void 0),e([i()],h.prototype,"receiveAmbientOcclusion",void 0),e([i()],h.prototype,"vvSize",void 0),e([i()],h.prototype,"vvColor",void 0),e([i()],h.prototype,"vvOpacity",void 0),e([i()],h.prototype,"transparent",void 0),e([i()],h.prototype,"hasOccludees",void 0),e([i()],h.prototype,"terrainDepthTest",void 0),e([i()],h.prototype,"cullAboveTerrain",void 0),e([i()],h.prototype,"hasBloom",void 0),e([i()],h.prototype,"snowCover",void 0);export{h as PathTechniqueConfiguration};
5
+ import{_ as e}from"../../../../chunks/tslib.es6.js";import{parameter as t}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as o}from"./DefaultTechniqueConfiguration.js";class i extends o{constructor(e){super(),this.spherical=e,this.pbrMode=0,this.doubleSidedMode=0,this.emissionSource=0,this.receiveShadows=!1,this.receiveAmbientOcclusion=!1,this.vvSize=!1,this.vvColor=!1,this.vvOpacity=!1,this.transparent=!1,this.hasOccludees=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasBloom=!1,this.snowCover=!1,this.textureCoordinateType=0,this.occlusionPass=!1,this.hasVvInstancing=!0,this.useCustomDTRExponentForWater=!1,this.useFillLights=!1,this.hasColorTexture=!1,this.objectAndLayerIdColorInstanced=!1,this.hasMetallicRoughnessTexture=!1,this.hasOcclusionTexture=!1,this.hasNormalTexture=!1,this.draped=!1,this.overlayEnabled=!1}get discardInvisibleFragments(){return this.transparent}}e([t({count:7})],i.prototype,"pbrMode",void 0),e([t({count:3})],i.prototype,"doubleSidedMode",void 0),e([t({count:4})],i.prototype,"emissionSource",void 0),e([t()],i.prototype,"receiveShadows",void 0),e([t()],i.prototype,"receiveAmbientOcclusion",void 0),e([t()],i.prototype,"vvSize",void 0),e([t()],i.prototype,"vvColor",void 0),e([t()],i.prototype,"vvOpacity",void 0),e([t()],i.prototype,"transparent",void 0),e([t()],i.prototype,"hasOccludees",void 0),e([t()],i.prototype,"terrainDepthTest",void 0),e([t()],i.prototype,"cullAboveTerrain",void 0),e([t()],i.prototype,"hasBloom",void 0),e([t()],i.prototype,"snowCover",void 0);export{i as PathTechniqueConfiguration};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{fromValues as e}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{BufferViewMat3f as t,BufferViewVec4f as r}from"../../../../geometry/support/buffer/BufferView.js";import{newLayout as s}from"../../support/buffer/InterleavedLayout.js";import{isHighlightOrOID as i,isColorOrColorEmission as o,isDepth as a,isColorEmissionHighlightOrOID as n}from"../core/shaderLibrary/ShaderOutput.js";import{olidEnabled as f}from"../effects/geometry/olidUtils.js";import{CullFaceOptions as c}from"../lib/basicInterfaces.js";import l from"../lib/GLMaterial.js";import{OITPolygonOffsetLimit as u}from"../lib/OrderIndependentTransparency.js";import{RenderSlot as p}from"../lib/RenderSlot.js";import{assert as h}from"../lib/Util.js";import{VertexAttribute as m}from"../lib/VertexAttribute.js";import{DefaultBufferWriter as d}from"./DefaultBufferWriter.js";import{Style as g}from"./PatternStyle.js";import{TriangleMaterial as A}from"./TriangleMaterial.js";import{VisualVariablePassParameters as T}from"./VisualVariablePassParameters.js";import{writeDefaultAttributes as b,writeBufferVec4 as v}from"./internal/bufferWriterUtils.js";import{vertexAttributeLocationsOID as O,vertexAttributeLocations as _,PatternTechnique as j}from"../shaders/PatternTechnique.js";import{PatternTechniqueConfiguration as C}from"../shaders/PatternTechniqueConfiguration.js";import{alphaCutoff as P}from"../../../../webscene/support/AlphaCutoff.js";class R extends A{constructor(e){super(e,I),this._configuration=new C,this.vertexAttributeLocations=f()?O:_,this.supportsEdges=!0,this.produces=new Map([[p.OPAQUE_MATERIAL,e=>i(e)],[p.TRANSPARENT_MATERIAL,e=>o(e)],[p.TRANSPARENT_MATERIAL_WITHOUT_NORMALS,e=>a(e)],[p.DRAPED_MATERIAL,e=>this.parameters.draped&&n(e)]])}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.style=this.parameters.style,this._configuration.draped=this.parameters.draped,this._configuration.oitPass=t.oitPass,this._configuration.enableOffset=t.camera.relativeElevation<u,this._configuration.terrainDepthTest=t.terrainDepthTest&&o(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration}get visible(){return this.parameters.color[3]>=P}createGLMaterial(e){return new y(e)}createBufferWriter(){const e=s().vec3f(m.POSITION).vec4f(m.UVMAPSPACE);return this.parameters.draped||e.mat3f(m.BOUNDINGRECT),this.parameters.vvColor?e.f32(m.COLORFEATUREATTRIBUTE):e.vec4u8(m.COLOR),f()&&e.vec4u8(m.OLIDCOLOR),new E(e)}}class y extends l{beginSlot(e){return this.getTechnique(j,e)}}class E extends d{write(e,s,i,o,a,n){const f=b(i,o,this.vertexBufferLayout,e,s,a,n);for(const c of this.vertexBufferLayout.fields.keys()){const s=i.get(c),o=s?.indices;if(s&&o)switch(c){case m.UVMAPSPACE:{h(4===s.size);const e=a.getField(c,r);e&&v(s,e,n);break}case m.BOUNDINGRECT:{h(9===s.size);const r=a.getField(c,t);r&&L(s,e,r,n);break}}}return f}}function L(e,t,r,s){const{data:i,indices:o}=e,a=t,n=r.typedBuffer,f=r.typedBufferStride,c=o.length;s*=f;for(let l=0;l<c;++l){const e=9*o[l],t=i[e],r=i[e+1],c=i[e+2];n[s]=a[0]*t+a[4]*r+a[8]*c+a[12],n[s+1]=a[1]*t+a[5]*r+a[9]*c+a[13],n[s+2]=a[2]*t+a[6]*r+a[10]*c+a[14];for(let o=3;o<9;++o)n[s+o]=i[e+o];s+=f}}class I extends T{constructor(){super(...arguments),this.color=e(1,1,1,1),this.hasVertexColors=!1,this.polygonOffset=!1,this.hasSlicePlane=!1,this.cullFace=c.None,this.hasOccludees=!1,this.style=g.Cross,this.draped=!0}}export{I as Parameters,R as PatternMaterial};
5
+ import{fromValues as e}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{BufferViewMat3f as t,BufferViewVec4f as r}from"../../../../geometry/support/buffer/BufferView.js";import{newLayout as s}from"../../support/buffer/InterleavedLayout.js";import{isHighlightOrOID as i,isColorOrColorEmission as o,isDepth as a,isColorEmissionHighlightOrOID as n}from"../core/shaderLibrary/ShaderOutput.js";import{olidEnabled as f}from"../effects/geometry/olidUtils.js";import c from"../lib/GLMaterial.js";import{OITPolygonOffsetLimit as u}from"../lib/OrderIndependentTransparency.js";import{assert as l}from"../lib/Util.js";import{DefaultBufferWriter as p}from"./DefaultBufferWriter.js";import{TriangleMaterial as h}from"./TriangleMaterial.js";import{VisualVariablePassParameters as m}from"./VisualVariablePassParameters.js";import{writeDefaultAttributes as d,writeBufferVec4 as g}from"./internal/bufferWriterUtils.js";import{vertexAttributeLocationsOID as v,vertexAttributeLocations as b,PatternTechnique as y}from"../shaders/PatternTechnique.js";import{PatternTechniqueConfiguration as j}from"../shaders/PatternTechniqueConfiguration.js";import{alphaCutoff as _}from"../../../../webscene/support/AlphaCutoff.js";class x extends h{constructor(e){super(e,w),this._configuration=new j,this.vertexAttributeLocations=f()?v:b,this.supportsEdges=!0,this.produces=new Map([[2,e=>i(e)],[4,e=>o(e)],[5,e=>a(e)],[17,e=>this.parameters.draped&&n(e)]])}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.style=this.parameters.style,this._configuration.draped=this.parameters.draped,this._configuration.oitPass=t.oitPass,this._configuration.enableOffset=t.camera.relativeElevation<u,this._configuration.terrainDepthTest=t.terrainDepthTest&&o(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration}get visible(){return this.parameters.color[3]>=_}createGLMaterial(e){return new C(e)}createBufferWriter(){const e=s().vec3f("position").vec4f("uvMapSpace");return this.parameters.draped||e.mat3f("boundingRect"),this.parameters.vvColor?e.f32("colorFeatureAttribute"):e.vec4u8("color"),f()&&e.vec4u8("objectAndLayerIdColor"),new P(e)}}class C extends c{beginSlot(e){return this.getTechnique(y,e)}}class P extends p{write(e,s,i,o,a,n){const f=d(i,o,this.vertexBufferLayout,e,s,a,n);for(const c of this.vertexBufferLayout.fields.keys()){const s=i.get(c),o=s?.indices;if(s&&o)switch(c){case"uvMapSpace":{l(4===s.size);const e=a.getField(c,r);e&&g(s,e,n);break}case"boundingRect":{l(9===s.size);const r=a.getField(c,t);r&&T(s,e,r,n);break}}}return f}}function T(e,t,r,s){const{data:i,indices:o}=e,a=t,n=r.typedBuffer,f=r.typedBufferStride,c=o.length;s*=f;for(let u=0;u<c;++u){const e=9*o[u],t=i[e],r=i[e+1],c=i[e+2];n[s]=a[0]*t+a[4]*r+a[8]*c+a[12],n[s+1]=a[1]*t+a[5]*r+a[9]*c+a[13],n[s+2]=a[2]*t+a[6]*r+a[10]*c+a[14];for(let o=3;o<9;++o)n[s+o]=i[e+o];s+=f}}class w extends m{constructor(){super(...arguments),this.color=e(1,1,1,1),this.hasVertexColors=!1,this.polygonOffset=!1,this.hasSlicePlane=!1,this.cullFace=0,this.hasOccludees=!1,this.style=2,this.draped=!0}}export{w as Parameters,x as PatternMaterial};
@@ -2,4 +2,3 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- var a;!function(a){a[a.Horizontal=0]="Horizontal",a[a.Vertical=1]="Vertical",a[a.Cross=2]="Cross",a[a.ForwardDiagonal=3]="ForwardDiagonal",a[a.BackwardDiagonal=4]="BackwardDiagonal",a[a.DiagonalCross=5]="DiagonalCross",a[a.COUNT=6]="COUNT"}(a||(a={}));export{a as Style};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import e from"../../../../core/Logger.js";import{clamp as t}from"../../../../core/mathUtils.js";import{createRenderScreenPointArray3 as r}from"../../../../core/screenUtils.js";import{secondsFromMilliseconds as i}from"../../../../core/time.js";import{copy as s}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{i as a,d as n,e as o,g as l,f as c,c as h,l as p,j as m,t as f}from"../../../../chunks/vec32.js";import{create as u}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ONES as T}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{makeFloat16Array as d}from"../../../../geometry/support/float16.js";import{PlaneIndex as E}from"../../../../geometry/support/frustum.js";import{distance2 as _,fromPoints as A,create as R,closestLineSegmentPoint as g}from"../../../../geometry/support/lineSegment.js";import{fromPoints as S,create as I,signedDistance as O,getNormal as v}from"../../../../geometry/support/plane.js";import{newLayout as P}from"../../support/buffer/InterleavedLayout.js";import{isHighlightOrOID as N,isColorOrColorEmission as L,isDepth as b,isColorEmissionHighlightOIDOrDepth as C,is2DGeometryOutput as U,ShaderOutput as j}from"../core/shaderLibrary/ShaderOutput.js";import{olidEnabled as y}from"../effects/geometry/olidUtils.js";import M from"../lib/GLMaterial.js";import{Material as D,RenderOccludedFlag as F}from"../lib/Material.js";import{RenderSlot as w}from"../lib/RenderSlot.js";import{isTranslationMatrix as B}from"../lib/Util.js";import{VertexAttribute as x}from"../lib/VertexAttribute.js";import{VisualVariablePassParameters as J}from"./VisualVariablePassParameters.js";import{writeDeltaF16Vector as z}from"./internal/bufferWriterUtils.js";import{Animation as H}from"../shaders/AnimatedLine.glsl.js";import{LineMarkerAnchor as G}from"../shaders/LineMarkerTechniqueConfiguration.js";import{r as k}from"../../../../chunks/RibbonLine.glsl.js";import{vertexAttributeLocations as Z,RibbonLineTechnique as V}from"../shaders/RibbonLineTechnique.js";import{RibbonLineTechniqueConfiguration as W,CapType as Y}from"../shaders/RibbonLineTechniqueConfiguration.js";import{alphaCutoff as q}from"../../../../webscene/support/AlphaCutoff.js";var X;!function(e){e[e.LEFT_JOIN_START=-2]="LEFT_JOIN_START",e[e.LEFT_JOIN_END=-1]="LEFT_JOIN_END",e[e.LEFT_CAP_START=-4]="LEFT_CAP_START",e[e.LEFT_CAP_END=-5]="LEFT_CAP_END",e[e.RIGHT_JOIN_START=2]="RIGHT_JOIN_START",e[e.RIGHT_JOIN_END=1]="RIGHT_JOIN_END",e[e.RIGHT_CAP_START=4]="RIGHT_CAP_START",e[e.RIGHT_CAP_END=5]="RIGHT_CAP_END"}(X||(X={}));class Q extends D{constructor(e){super(e,$),this._configuration=new W,this.vertexAttributeLocations=Z,this.produces=new Map([[w.OPAQUE_MATERIAL,e=>N(e)||L(e)&&this.parameters.renderOccluded===F.OccludeAndTransparentStencil],[w.OPAQUE_MATERIAL_WITHOUT_NORMALS,e=>b(e)],[w.OCCLUDER_MATERIAL,e=>C(e)&&this.parameters.renderOccluded===F.OccludeAndTransparentStencil],[w.TRANSPARENT_OCCLUDER_MATERIAL,e=>C(e)&&this.parameters.renderOccluded===F.OccludeAndTransparentStencil],[w.TRANSPARENT_MATERIAL,e=>L(e)&&this.parameters.writeDepth&&this.parameters.renderOccluded!==F.OccludeAndTransparentStencil],[w.TRANSPARENT_MATERIAL_WITHOUT_DEPTH,e=>L(e)&&!this.parameters.writeDepth&&this.parameters.renderOccluded!==F.OccludeAndTransparentStencil],[w.DRAPED_MATERIAL,e=>U(e)]])}getConfiguration(e,t){super.getConfiguration(e,t,this._configuration),this._configuration.oitPass=t.oitPass,this._configuration.draped=t.slot===w.DRAPED_MATERIAL;const r=null!=this.parameters.stipplePattern&&e!==j.Highlight;return this._configuration.stippleEnabled=r,this._configuration.stippleOffColorEnabled=r&&null!=this.parameters.stippleOffColor,this._configuration.stipplePreferContinuous=r&&this.parameters.stipplePreferContinuous,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.roundJoins="round"===this.parameters.join,this._configuration.capType=this.parameters.cap,this._configuration.applyMarkerOffset=null!=this.parameters.markerParameters&&ie(this.parameters.markerParameters),this._configuration.hasPolygonOffset=this.parameters.hasPolygonOffset,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.vvSize=!!this.parameters.vvSize,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration.vvOpacity=!!this.parameters.vvOpacity,this._configuration.innerColorEnabled=this.parameters.innerWidth>0&&null!=this.parameters.innerColor,this._configuration.falloffEnabled=this.parameters.falloff>0,this._configuration.hasOccludees=t.hasOccludees,this._configuration.occluder=this.parameters.renderOccluded===F.OccludeAndTransparentStencil,this._configuration.terrainDepthTest=t.terrainDepthTest&&L(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration.wireframe=this.parameters.wireframe,this._configuration.animation=this.parameters.animation,this._configuration}get visible(){return this.parameters.color[3]>=q||null!=this.parameters.stipplePattern&&(this.parameters.stippleOffColor?.[3]??0)>q}setParameters(e,t){e.animation=this.parameters.animation,super.setParameters(e,t)}intersectDraped({attributes:e,screenToWorldRatio:r},i,s,a,n){if(!i.options.selectionMode)return;const o=e.get(x.SIZE);let l=this.parameters.width;if(this.parameters.vvSize){const r=e.get(x.SIZEFEATUREATTRIBUTE).data[0];Number.isNaN(r)?l*=this.parameters.vvSize.fallback[0]:l*=t(this.parameters.vvSize.offset[0]+r*this.parameters.vvSize.factor[0],this.parameters.vvSize.minSize[0],this.parameters.vvSize.maxSize[0])}else o&&(l*=o.data[0]);const c=s[0],h=s[1],p=(l/2+4)*r;let m=Number.MAX_VALUE,f=0;const u=e.get(x.POSITION).data,T=re(this.parameters,e)?u.length-2:u.length-5;for(let d=0;d<T;d+=3){const e=u[d],r=u[d+1],i=(d+3)%u.length,s=c-e,a=h-r,n=u[i]-e,o=u[i+1]-r,l=t((n*s+o*a)/(n*n+o*o),0,1),p=n*l-s,T=o*l-a,E=p*p+T*T;E<m&&(m=E,f=d/3)}m<p*p&&a(n.distance,n.normal,f)}intersect(r,i,f,u,T,d){const{options:R,camera:I,rayBegin:P,rayEnd:N}=f;if(!R.selectionMode||!r.visible||!I)return;if(!B(i))return void e.getLogger("esri.views.3d.webgl-engine.materials.RibbonLineMaterial").error("intersection assumes a translation-only matrix");const L=r.attributes,b=L.get(x.POSITION).data;let C=this.parameters.width;if(this.parameters.vvSize){const e=L.get(x.SIZEFEATUREATTRIBUTE).data[0];Number.isNaN(e)||(C*=t(this.parameters.vvSize.offset[0]+e*this.parameters.vvSize.factor[0],this.parameters.vvSize.minSize[0],this.parameters.vvSize.maxSize[0]))}else L.has(x.SIZE)&&(C*=L.get(x.SIZE).data[0]);const U=le;s(U,f.point);const j=C*I.pixelRatio/2+4*I.pixelRatio;a(Ae[0],U[0]-j,U[1]+j,0),a(Ae[1],U[0]+j,U[1]+j,0),a(Ae[2],U[0]+j,U[1]-j,0),a(Ae[3],U[0]-j,U[1]-j,0);for(let e=0;e<4;e++)if(!I.unprojectFromRenderScreen(Ae[e],Re[e]))return;S(I.eye,Re[0],Re[1],ge),S(I.eye,Re[1],Re[2],Se),S(I.eye,Re[2],Re[3],Ie),S(I.eye,Re[3],Re[0],Oe);let y=Number.MAX_VALUE,M=0;const D=re(this.parameters,L)?b.length-2:b.length-5;for(let e=0;e<D;e+=3){se[0]=b[e]+i[12],se[1]=b[e+1]+i[13],se[2]=b[e+2]+i[14];const t=(e+3)%b.length;if(ae[0]=b[t]+i[12],ae[1]=b[t+1]+i[13],ae[2]=b[t+2]+i[14],O(ge,se)<0&&O(ge,ae)<0||O(Se,se)<0&&O(Se,ae)<0||O(Ie,se)<0&&O(Ie,ae)<0||O(Oe,se)<0&&O(Oe,ae)<0)continue;if(I.projectToRenderScreen(se,ce),I.projectToRenderScreen(ae,he),ce[2]<0&&he[2]>0){n(ne,se,ae);const e=I.frustum,t=-O(e[E.NEAR],se)/o(ne,v(e[E.NEAR]));l(ne,ne,t),c(se,se,ne),I.projectToRenderScreen(se,ce)}else if(ce[2]>0&&he[2]<0){n(ne,ae,se);const e=I.frustum,t=-O(e[E.NEAR],ae)/o(ne,v(e[E.NEAR]));l(ne,ne,t),c(ae,ae,ne),I.projectToRenderScreen(ae,he)}else if(ce[2]<0&&he[2]<0)continue;ce[2]=0,he[2]=0;const r=_(A(ce,he,fe),U);r<y&&(y=r,h(pe,se),h(me,ae),M=e/3)}if(y<j*j){let e=Number.MAX_VALUE;if(g(A(pe,me,fe),A(P,N,ue),oe)){n(oe,oe,P);const t=p(oe);l(oe,oe,1/t),e=t/m(P,N)}d(e,oe,M)}}get _layout(){const e=P().vec3f(x.POSITION).vec4f16(x.PREVIOUSDELTA).vec4f16(x.NEXTDELTA).f32(x.U0).vec2f16(x.LINEPARAMETERS);return this.parameters.vvColor?e.f32(x.COLORFEATUREATTRIBUTE):e.vec4u8(x.COLOR,{glNormalized:!0}),this.parameters.vvSize?e.f32(x.SIZEFEATUREATTRIBUTE):e.f32(x.SIZE),this.parameters.vvOpacity&&e.f32(x.OPACITYFEATUREATTRIBUTE),y()&&e.vec4u8(x.OLIDCOLOR),this.parameters.hasAnimation&&e.vec3f16(x.TIMESTAMPS),e}createBufferWriter(){return new ee(this._layout,this.parameters)}createGLMaterial(e){return new K(e)}validateParameters(e){"miter"!==e.join&&(e.miterLimit=0),null!=e.markerParameters&&(e.markerScale=e.markerParameters.width/e.width)}update(e){const{hasAnimation:t,animationSpeed:r}=this.parameters;return!!t&&(this.setParameters({timeElapsed:i(e.time)*r},!1),e.dt>0)}}class K extends M{constructor(){super(...arguments),this._stipplePattern=null}dispose(){super.dispose(),this._stippleTextures.release(this._stipplePattern),this._stipplePattern=null}beginSlot(e){const t=this._material.parameters.stipplePattern;return this._stipplePattern!==t&&(this._material.setParameters({stippleTexture:this._stippleTextures.swap(t,this._stipplePattern)}),this._stipplePattern=t),this.getTechnique(V,e)}}class $ extends J{constructor(){super(...arguments),this.width=0,this.color=T,this.join="miter",this.cap=Y.BUTT,this.miterLimit=5,this.writeDepth=!0,this.hasPolygonOffset=!1,this.stippleTexture=null,this.stipplePreferContinuous=!0,this.markerParameters=null,this.markerScale=1,this.hasSlicePlane=!1,this.vvFastUpdate=!1,this.isClosed=!1,this.falloff=0,this.innerWidth=0,this.wireframe=!1,this.timeElapsed=0,this.animation=H.None,this.animationSpeed=1,this.trailLength=1}get transparent(){return this.color[3]<1||this.hasAnimation||null!=this.stipplePattern&&(this.stippleOffColor?.[3]??0)<1}get hasAnimation(){return this.animation!==H.None}}class ee{constructor(e,t){this.vertexBufferLayout=e,this._parameters=t;const r=t.stipplePattern?1:0;switch(this._parameters.join){case"miter":case"bevel":this.numJoinSubdivisions=r;break;case"round":this.numJoinSubdivisions=k+r}}_isClosed(e){return re(this._parameters,e)}allocate(e){return this.vertexBufferLayout.createBuffer(e)}elementCount(e){const t=2,r=e.get(x.POSITION).indices.length/2+1,i=this._isClosed(e);let s=i?2:2*t;return s+=((i?r:r-1)-(i?0:1))*(2*this.numJoinSubdivisions+4),s+=2,this._parameters.wireframe&&(s=2+4*(s-2)),s}write(e,t,r,i,s,n){const o=r.get(x.POSITION),l=o.indices,c=o.data.length/3,p=r.get(x.DISTANCETOSTART)?.data;l&&l.length!==2*(c-1)&&console.warn("RibbonLineMaterial does not support indices");const u=(this.vertexBufferLayout.fields.has(x.SIZEFEATUREATTRIBUTE)?r.get(x.SIZEFEATUREATTRIBUTE)?.data[0]:r.get(x.SIZE)?.data[0])??1;let T=[1,1,1,1],E=0;const _=this.vertexBufferLayout.fields.has(x.COLORFEATUREATTRIBUTE);_?E=r.get(x.COLORFEATUREATTRIBUTE).data[0]:r.has(x.COLOR)&&(T=r.get(x.COLOR).data);const A=r.get(x.TIMESTAMPS)?.data,R=A&&this.vertexBufferLayout.fields.has(x.TIMESTAMPS),g=this.vertexBufferLayout.fields.has(x.OPACITYFEATUREATTRIBUTE),S=g?r.get(x.OPACITYFEATUREATTRIBUTE).data[0]:0,I=new Float32Array(s.buffer),O=d(s.buffer),v=new Uint8Array(s.buffer),P=this.vertexBufferLayout.stride/4;let N=n*P;const L=N;let b=0;const C=p?(e,t,r)=>b=p[r]:(e,t,r)=>b+=m(e,t),U=I.BYTES_PER_ELEMENT/O.BYTES_PER_ELEMENT,j=4/U,M=(e,t,r,s,a,n,o,l)=>{I[N++]=t[0],I[N++]=t[1],I[N++]=t[2],z(e,t,O,N*U),N+=j,z(r,t,O,N*U),N+=j,I[N++]=l;let c=N*U;if(O[c++]=a,O[c++]=n,N=Math.ceil(c/U),_)I[N]=E;else{const e=Math.min(4*o,T.length-4),t=4*N;v[t]=255*T[e],v[t+1]=255*T[e+1],v[t+2]=255*T[e+2],v[t+3]=255*T[e+3]}if(N++,I[N++]=u,g&&(I[N++]=S),y()){let e=4*N;i?(v[e++]=i[0],v[e++]=i[1],v[e++]=i[2],v[e++]=i[3]):(v[e++]=0,v[e++]=0,v[e++]=0,v[e++]=0),N=Math.ceil(.25*e)}R&&(c=N*U,O[c++]=s[0],O[c++]=s[1],O[c++]=s[2],N=Math.ceil(c/U))};N+=P,a(de,o.data[0],o.data[1],o.data[2]),R&&a(_e,A[0],A[1],A[2]),e&&f(de,de,e);const D=this._isClosed(r);if(D){const t=o.data.length-3;a(Te,o.data[t],o.data[t+1],o.data[t+2]),e&&f(Te,Te,e)}else a(Ee,o.data[3],o.data[4],o.data[5]),e&&f(Ee,Ee,e),M(de,de,Ee,_e,1,X.LEFT_CAP_START,0,0),M(de,de,Ee,_e,1,X.RIGHT_CAP_START,0,0),h(Te,de),h(de,Ee),R&&a(_e,A[3],A[4],A[5]);const F=D?0:1,w=D?c:c-1;for(let m=F;m<w;m++){const t=(m+1)%c*3;a(Ee,o.data[t],o.data[t+1],o.data[t+2]),e&&f(Ee,Ee,e),C(Te,de,m),M(Te,de,Ee,_e,0,X.LEFT_JOIN_END,m,b),M(Te,de,Ee,_e,0,X.RIGHT_JOIN_END,m,b);const r=this.numJoinSubdivisions;for(let e=0;e<r;++e){const t=(e+1)/(r+1);M(Te,de,Ee,_e,t,X.LEFT_JOIN_END,m,b),M(Te,de,Ee,_e,t,X.RIGHT_JOIN_END,m,b)}M(Te,de,Ee,_e,1,X.LEFT_JOIN_START,m,b),M(Te,de,Ee,_e,1,X.RIGHT_JOIN_START,m,b),h(Te,de),h(de,Ee),R&&a(_e,A[t],A[t+1],A[t+2])}D?(a(Ee,o.data[3],o.data[4],o.data[5]),e&&f(Ee,Ee,e),b=C(Te,de,w),M(Te,de,Ee,_e,0,X.LEFT_JOIN_END,F,b),M(Te,de,Ee,_e,0,X.RIGHT_JOIN_END,F,b)):(b=C(Te,de,w),M(Te,de,de,_e,0,X.LEFT_CAP_END,w,b),M(Te,de,de,_e,0,X.RIGHT_CAP_END,w,b)),te(I,L+P,I,L,P);return N=te(I,N-P,I,N,P),this._parameters.wireframe&&this._addWireframeVertices(s,L,N,P),null}_addWireframeVertices(e,t,r,i){const s=new Float32Array(e.buffer,r*Float32Array.BYTES_PER_ELEMENT),a=new Float32Array(e.buffer,t*Float32Array.BYTES_PER_ELEMENT,r-t);let n=0;const o=e=>n=te(a,e,s,n,i);for(let l=0;l<a.length-1;l+=2*i)o(l),o(l+2*i),o(l+1*i),o(l+2*i),o(l+1*i),o(l+3*i)}}function te(e,t,r,i,s){for(let a=0;a<s;a++)r[i++]=e[t++];return i}function re(e,t){if(!e.isClosed)return!1;return t.get(x.POSITION).indices.length>2}function ie(e){return e.anchor===G.Tip&&e.hideOnShortSegments&&"begin-end"===e.placement&&e.worldSpace}const se=u(),ae=u(),ne=u(),oe=u(),le=u(),ce=r(),he=r(),pe=u(),me=u(),fe=R(),ue=R(),Te=u(),de=u(),Ee=u(),_e=u(),Ae=[r(),r(),r(),r()],Re=[u(),u(),u(),u()],ge=I(),Se=I(),Ie=I(),Oe=I();export{$ as Parameters,Q as RibbonLineMaterial};
5
+ import t from"../../../../core/Logger.js";import{clamp as e}from"../../../../core/mathUtils.js";import{createRenderScreenPointArray3 as r}from"../../../../core/screenUtils.js";import{secondsFromMilliseconds as i}from"../../../../core/time.js";import{copy as s}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{i as a,d as o,e as n,g as l,f as p,c,l as h,j as m,t as u}from"../../../../chunks/vec32.js";import{create as f}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ONES as d}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{makeFloat16Array as g}from"../../../../geometry/support/float16.js";import{distance2 as v,fromPoints as b,create as _,closestLineSegmentPoint as S}from"../../../../geometry/support/lineSegment.js";import{fromPoints as y,create as P,signedDistance as j,getNormal as A}from"../../../../geometry/support/plane.js";import{newLayout as w}from"../../support/buffer/InterleavedLayout.js";import{isHighlightOrOID as E,isColorOrColorEmission as L,isDepth as z,isColorEmissionHighlightOIDOrDepth as T,is2DGeometryOutput as x}from"../core/shaderLibrary/ShaderOutput.js";import{olidEnabled as C}from"../effects/geometry/olidUtils.js";import O from"../lib/GLMaterial.js";import{Material as M}from"../lib/Material.js";import{isTranslationMatrix as F}from"../lib/Util.js";import{VisualVariablePassParameters as R}from"./VisualVariablePassParameters.js";import{writeDeltaF16Vector as B}from"./internal/bufferWriterUtils.js";import{r as N}from"../../../../chunks/RibbonLine.glsl.js";import{vertexAttributeLocations as k,RibbonLineTechnique as D}from"../shaders/RibbonLineTechnique.js";import{RibbonLineTechniqueConfiguration as U}from"../shaders/RibbonLineTechniqueConfiguration.js";import{alphaCutoff as V}from"../../../../webscene/support/AlphaCutoff.js";class W extends M{constructor(t){super(t,Y),this._configuration=new U,this.vertexAttributeLocations=k,this.produces=new Map([[2,t=>E(t)||L(t)&&8===this.parameters.renderOccluded],[3,t=>z(t)],[9,t=>T(t)&&8===this.parameters.renderOccluded],[10,t=>T(t)&&8===this.parameters.renderOccluded],[4,t=>L(t)&&this.parameters.writeDepth&&8!==this.parameters.renderOccluded],[7,t=>L(t)&&!this.parameters.writeDepth&&8!==this.parameters.renderOccluded],[17,t=>x(t)]])}getConfiguration(t,e){super.getConfiguration(t,e,this._configuration),this._configuration.oitPass=e.oitPass,this._configuration.draped=17===e.slot;const r=null!=this.parameters.stipplePattern&&8!==t;return this._configuration.stippleEnabled=r,this._configuration.stippleOffColorEnabled=r&&null!=this.parameters.stippleOffColor,this._configuration.stipplePreferContinuous=r&&this.parameters.stipplePreferContinuous,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.roundJoins="round"===this.parameters.join,this._configuration.capType=this.parameters.cap,this._configuration.applyMarkerOffset=null!=this.parameters.markerParameters&&I(this.parameters.markerParameters),this._configuration.hasPolygonOffset=this.parameters.hasPolygonOffset,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.vvSize=!!this.parameters.vvSize,this._configuration.vvColor=!!this.parameters.vvColor,this._configuration.vvOpacity=!!this.parameters.vvOpacity,this._configuration.innerColorEnabled=this.parameters.innerWidth>0&&null!=this.parameters.innerColor,this._configuration.falloffEnabled=this.parameters.falloff>0,this._configuration.hasOccludees=e.hasOccludees,this._configuration.occluder=8===this.parameters.renderOccluded,this._configuration.terrainDepthTest=e.terrainDepthTest&&L(t),this._configuration.cullAboveTerrain=e.cullAboveTerrain,this._configuration.wireframe=this.parameters.wireframe,this._configuration.animation=this.parameters.animation,this._configuration}get visible(){return this.parameters.color[3]>=V||null!=this.parameters.stipplePattern&&(this.parameters.stippleOffColor?.[3]??0)>V}setParameters(t,e){t.animation=this.parameters.animation,super.setParameters(t,e)}intersectDraped({attributes:t,screenToWorldRatio:r},i,s,a,o){if(!i.options.selectionMode)return;const n=t.get("size");let l=this.parameters.width;if(this.parameters.vvSize){const r=t.get("sizeFeatureAttribute").data[0];Number.isNaN(r)?l*=this.parameters.vvSize.fallback[0]:l*=e(this.parameters.vvSize.offset[0]+r*this.parameters.vvSize.factor[0],this.parameters.vvSize.minSize[0],this.parameters.vvSize.maxSize[0])}else n&&(l*=n.data[0]);const p=s[0],c=s[1],h=(l/2+4)*r;let m=Number.MAX_VALUE,u=0;const f=t.get("position").data,d=G(this.parameters,t)?f.length-2:f.length-5;for(let g=0;g<d;g+=3){const t=f[g],r=f[g+1],i=(g+3)%f.length,s=p-t,a=c-r,o=f[i]-t,n=f[i+1]-r,l=e((o*s+n*a)/(o*o+n*n),0,1),h=o*l-s,d=n*l-a,v=h*h+d*d;v<m&&(m=v,u=g/3)}m<h*h&&a(o.distance,o.normal,u)}intersect(r,i,u,f,d,g){const{options:_,camera:P,rayBegin:w,rayEnd:E}=u;if(!_.selectionMode||!r.visible||!P)return;if(!F(i))return void t.getLogger("esri.views.3d.webgl-engine.materials.RibbonLineMaterial").error("intersection assumes a translation-only matrix");const L=r.attributes,z=L.get("position").data;let T=this.parameters.width;if(this.parameters.vvSize){const t=L.get("sizeFeatureAttribute").data[0];Number.isNaN(t)||(T*=e(this.parameters.vvSize.offset[0]+t*this.parameters.vvSize.factor[0],this.parameters.vvSize.minSize[0],this.parameters.vvSize.maxSize[0]))}else L.has("size")&&(T*=L.get("size").data[0]);const x=$;s(x,u.point);const C=T*P.pixelRatio/2+4*P.pixelRatio;a(ct[0],x[0]-C,x[1]+C,0),a(ct[1],x[0]+C,x[1]+C,0),a(ct[2],x[0]+C,x[1]-C,0),a(ct[3],x[0]-C,x[1]-C,0);for(let t=0;t<4;t++)if(!P.unprojectFromRenderScreen(ct[t],ht[t]))return;y(P.eye,ht[0],ht[1],mt),y(P.eye,ht[1],ht[2],ut),y(P.eye,ht[2],ht[3],ft),y(P.eye,ht[3],ht[0],dt);let O=Number.MAX_VALUE,M=0;const R=G(this.parameters,L)?z.length-2:z.length-5;for(let t=0;t<R;t+=3){H[0]=z[t]+i[12],H[1]=z[t+1]+i[13],H[2]=z[t+2]+i[14];const e=(t+3)%z.length;if(K[0]=z[e]+i[12],K[1]=z[e+1]+i[13],K[2]=z[e+2]+i[14],j(mt,H)<0&&j(mt,K)<0||j(ut,H)<0&&j(ut,K)<0||j(ft,H)<0&&j(ft,K)<0||j(dt,H)<0&&j(dt,K)<0)continue;if(P.projectToRenderScreen(H,tt),P.projectToRenderScreen(K,et),tt[2]<0&&et[2]>0){o(Q,H,K);const t=P.frustum,e=-j(t[4],H)/n(Q,A(t[4]));l(Q,Q,e),p(H,H,Q),P.projectToRenderScreen(H,tt)}else if(tt[2]>0&&et[2]<0){o(Q,K,H);const t=P.frustum,e=-j(t[4],K)/n(Q,A(t[4]));l(Q,Q,e),p(K,K,Q),P.projectToRenderScreen(K,et)}else if(tt[2]<0&&et[2]<0)continue;tt[2]=0,et[2]=0;const r=v(b(tt,et,st),x);r<O&&(O=r,c(rt,H),c(it,K),M=t/3)}if(O<C*C){let t=Number.MAX_VALUE;if(S(b(rt,it,st),b(w,E,at),Z)){o(Z,Z,w);const e=h(Z);l(Z,Z,1/e),t=e/m(w,E)}g(t,Z,M)}}get _layout(){const t=w().vec3f("position").vec4f16("previousDelta").vec4f16("nextDelta").f32("u0").vec2f16("lineParameters");return this.parameters.vvColor?t.f32("colorFeatureAttribute"):t.vec4u8("color",{glNormalized:!0}),this.parameters.vvSize?t.f32("sizeFeatureAttribute"):t.f32("size"),this.parameters.vvOpacity&&t.f32("opacityFeatureAttribute"),C()&&t.vec4u8("objectAndLayerIdColor"),this.parameters.hasAnimation&&t.vec3f16("timeStamps"),t}createBufferWriter(){return new q(this._layout,this.parameters)}createGLMaterial(t){return new J(t)}validateParameters(t){"miter"!==t.join&&(t.miterLimit=0),null!=t.markerParameters&&(t.markerScale=t.markerParameters.width/t.width)}update(t){const{hasAnimation:e,animationSpeed:r}=this.parameters;return!!e&&(this.setParameters({timeElapsed:i(t.time)*r},!1),t.dt>0)}}class J extends O{constructor(){super(...arguments),this._stipplePattern=null}dispose(){super.dispose(),this._stippleTextures?.release(this._stipplePattern),this._stipplePattern=null}beginSlot(t){const e=this._material.parameters.stipplePattern;return this._stipplePattern!==e&&(this._material.setParameters({stippleTexture:this._stippleTextures.swap(e,this._stipplePattern)}),this._stipplePattern=e),this.getTechnique(D,t)}}class Y extends R{constructor(){super(...arguments),this.width=0,this.color=d,this.join="miter",this.cap=0,this.miterLimit=5,this.writeDepth=!0,this.hasPolygonOffset=!1,this.stippleTexture=null,this.stipplePreferContinuous=!0,this.markerParameters=null,this.markerScale=1,this.hasSlicePlane=!1,this.vvFastUpdate=!1,this.isClosed=!1,this.falloff=0,this.innerWidth=0,this.wireframe=!1,this.timeElapsed=0,this.animation=0,this.animationSpeed=1,this.trailLength=1}get transparent(){return this.color[3]<1||this.hasAnimation||null!=this.stipplePattern&&(this.stippleOffColor?.[3]??0)<1}get hasAnimation(){return 0!==this.animation}}class q{constructor(t,e){this.vertexBufferLayout=t,this._parameters=e;const r=e.stipplePattern?1:0;switch(this._parameters.join){case"miter":case"bevel":this.numJoinSubdivisions=r;break;case"round":this.numJoinSubdivisions=N+r}}_isClosed(t){return G(this._parameters,t)}allocate(t){return this.vertexBufferLayout.createBuffer(t)}elementCount(t){const e=2,r=t.get("position").indices.length/2+1,i=this._isClosed(t);let s=i?2:2*e;return s+=((i?r:r-1)-(i?0:1))*(2*this.numJoinSubdivisions+4),s+=2,this._parameters.wireframe&&(s=2+4*(s-2)),s}write(t,e,r,i,s,o){const n=r.get("position"),l=n.indices,p=n.data.length/3,h=r.get("distanceToStart")?.data;l&&l.length!==2*(p-1)&&console.warn("RibbonLineMaterial does not support indices");const f=(this.vertexBufferLayout.fields.has("sizeFeatureAttribute")?r.get("sizeFeatureAttribute")?.data[0]:r.get("size")?.data[0])??1;let d=[1,1,1,1],v=0;const b=this.vertexBufferLayout.fields.has("colorFeatureAttribute");b?v=r.get("colorFeatureAttribute").data[0]:r.has("color")&&(d=r.get("color").data);const _=r.get("timeStamps")?.data,S=_&&this.vertexBufferLayout.fields.has("timeStamps"),y=this.vertexBufferLayout.fields.has("opacityFeatureAttribute"),P=y?r.get("opacityFeatureAttribute").data[0]:0,j=new Float32Array(s.buffer),A=g(s.buffer),w=new Uint8Array(s.buffer),E=this.vertexBufferLayout.stride/4;let L=o*E;const z=L;let T=0;const x=h?(t,e,r)=>T=h[r]:(t,e,r)=>T+=m(t,e),O=j.BYTES_PER_ELEMENT/A.BYTES_PER_ELEMENT,M=4/O,F=(t,e,r,s,a,o,n,l)=>{j[L++]=e[0],j[L++]=e[1],j[L++]=e[2],B(t,e,A,L*O),L+=M,B(r,e,A,L*O),L+=M,j[L++]=l;let p=L*O;if(A[p++]=a,A[p++]=o,L=Math.ceil(p/O),b)j[L]=v;else{const t=Math.min(4*n,d.length-4),e=4*L;w[e]=255*d[t],w[e+1]=255*d[t+1],w[e+2]=255*d[t+2],w[e+3]=255*d[t+3]}if(L++,j[L++]=f,y&&(j[L++]=P),C()){let t=4*L;i?(w[t++]=i[0],w[t++]=i[1],w[t++]=i[2],w[t++]=i[3]):(w[t++]=0,w[t++]=0,w[t++]=0,w[t++]=0),L=Math.ceil(.25*t)}S&&(p=L*O,A[p++]=s[0],A[p++]=s[1],A[p++]=s[2],L=Math.ceil(p/O))};L+=E,a(nt,n.data[0],n.data[1],n.data[2]),S&&a(pt,_[0],_[1],_[2]),t&&u(nt,nt,t);const R=this._isClosed(r);if(R){const e=n.data.length-3;a(ot,n.data[e],n.data[e+1],n.data[e+2]),t&&u(ot,ot,t)}else a(lt,n.data[3],n.data[4],n.data[5]),t&&u(lt,lt,t),F(nt,nt,lt,pt,1,-4,0,0),F(nt,nt,lt,pt,1,4,0,0),c(ot,nt),c(nt,lt),S&&a(pt,_[3],_[4],_[5]);const N=R?0:1,k=R?p:p-1;for(let m=N;m<k;m++){const e=(m+1)%p*3;a(lt,n.data[e],n.data[e+1],n.data[e+2]),t&&u(lt,lt,t),x(ot,nt,m),F(ot,nt,lt,pt,0,-1,m,T),F(ot,nt,lt,pt,0,1,m,T);const r=this.numJoinSubdivisions;for(let t=0;t<r;++t){const e=(t+1)/(r+1);F(ot,nt,lt,pt,e,-1,m,T),F(ot,nt,lt,pt,e,1,m,T)}F(ot,nt,lt,pt,1,-2,m,T),F(ot,nt,lt,pt,1,2,m,T),c(ot,nt),c(nt,lt),S&&a(pt,_[e],_[e+1],_[e+2])}R?(a(lt,n.data[3],n.data[4],n.data[5]),t&&u(lt,lt,t),T=x(ot,nt,k),F(ot,nt,lt,pt,0,-1,N,T),F(ot,nt,lt,pt,0,1,N,T)):(T=x(ot,nt,k),F(ot,nt,nt,pt,0,-5,k,T),F(ot,nt,nt,pt,0,5,k,T)),X(j,z+E,j,z,E);return L=X(j,L-E,j,L,E),this._parameters.wireframe&&this._addWireframeVertices(s,z,L,E),null}_addWireframeVertices(t,e,r,i){const s=new Float32Array(t.buffer,r*Float32Array.BYTES_PER_ELEMENT),a=new Float32Array(t.buffer,e*Float32Array.BYTES_PER_ELEMENT,r-e);let o=0;const n=t=>o=X(a,t,s,o,i);for(let l=0;l<a.length-1;l+=2*i)n(l),n(l+2*i),n(l+1*i),n(l+2*i),n(l+1*i),n(l+3*i)}}function X(t,e,r,i,s){for(let a=0;a<s;a++)r[i++]=t[e++];return i}function G(t,e){if(!t.isClosed)return!1;return e.get("position").indices.length>2}function I(t){return 1===t.anchor&&t.hideOnShortSegments&&"begin-end"===t.placement&&t.worldSpace}const H=f(),K=f(),Q=f(),Z=f(),$=f(),tt=r(),et=r(),rt=f(),it=f(),st=_(),at=_(),ot=f(),nt=f(),lt=f(),pt=f(),ct=[r(),r(),r(),r()],ht=[f(),f(),f(),f()],mt=P(),ut=P(),ft=P(),dt=P();export{Y as Parameters,W as RibbonLineMaterial};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{n as e,i as t,g as r,f as i}from"../../../../chunks/vec32.js";import{fromValues as s,create as a}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as n}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{center as o,scale as c}from"../../../../geometry/support/aaBoundingBox.js";import{BufferViewVec3f as h}from"../../../../geometry/support/buffer/BufferView.js";import{newLayout as p}from"../../support/buffer/InterleavedLayout.js";import{isColorOrOID as l,ShaderOutput as u,isColorOrColorEmission as f}from"../core/shaderLibrary/ShaderOutput.js";import{CullFaceOptions as m}from"../lib/basicInterfaces.js";import d from"../lib/GLMaterial.js";import{Material as g,MaterialParameters as S}from"../lib/Material.js";import{intersectTriangleGeometry as b}from"../lib/RayIntersections.js";import{RenderSlot as T}from"../lib/RenderSlot.js";import{assert as E}from"../lib/Util.js";import{VertexAttribute as _}from"../lib/VertexAttribute.js";import{writeDefaultAttributes as A,writePosition as j}from"./internal/bufferWriterUtils.js";import{vertexAttributeLocations as F,ShadedColorMaterialTechnique as w}from"../shaders/ShadedColorMaterialTechnique.js";import{ShadedColorMaterialTechniqueConfiguration as v}from"../shaders/ShadedColorMaterialTechniqueConfiguration.js";import{alphaCutoff as x}from"../../../../webscene/support/AlphaCutoff.js";class z extends g{constructor(e){super(e,M),this._configuration=new v,this.vertexAttributeLocations=F,this.supportsEdges=!0,this._pp0=s(0,0,1),this._pp1=s(0,0,0),this.produces=new Map([[T.OPAQUE_MATERIAL,e=>e===u.Highlight||l(e)&&!this.parameters.transparent],[T.TRANSPARENT_MATERIAL,e=>l(e)&&this.parameters.transparent&&this.parameters.writeDepth],[T.TRANSPARENT_MATERIAL_WITHOUT_DEPTH,e=>l(e)&&this.parameters.transparent&&!this.parameters.writeDepth]])}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this.parameters.transparent,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.screenSizeEnabled=this.parameters.screenSizeEnabled,this._configuration.shadingEnabled=this.parameters.shadingEnabled,this._configuration.oitPass=t.oitPass,this._configuration.terrainDepthTest=t.terrainDepthTest&&f(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration}get visible(){return this.parameters.color[3]>=x}intersect(e,t,r,i,s,a){this._intersect(e,r,i,s,a)}intersectDraped(e,t,r,i){return this._pp0[0]=this._pp1[0]=r[0],this._pp0[1]=this._pp1[1]=r[1],this._intersect(e,t,this._pp0,this._pp1,i)}_intersect(e,s,a,n,h){if(this.parameters.screenSizeEnabled){const p=e.attributes.get(_.OFFSET),l={applyToVertex:(e,a,n,o)=>{const c=t(I,p.data[3*o],p.data[3*o+1],p.data[3*o+2]),h=t(L,e,a,n);return r(c,c,this.parameters.screenSizeScale*(s.camera?.computeScreenPixelSizeAt(c)??1)),i(h,h,c),[h[0],h[1],h[2]]},applyToAabb:e=>{const t=o(e,I);return c(e,this.parameters.screenSizeScale*(s.camera?.computeScreenPixelSizeAt(t)??1))}};b(e,s,a,n,l,h)}else b(e,s,a,n,void 0,h)}createGLMaterial(e){return new O(e)}createBufferWriter(){return new P(this.parameters.screenSizeEnabled)}}class O extends d{beginSlot(e){return this.getTechnique(w,e)}}class M extends S{constructor(){super(...arguments),this.color=n(1,1,1,1),this.shadingTint=n(0,0,0,.25),this.shadingDirection=e(a(),[.5,-.5,-.5]),this.screenSizeScale=14,this.forceTransparentMode=!1,this.writeDepth=!0,this.hasSlicePlane=!1,this.cullFace=m.None,this.screenSizeEnabled=!1,this.shadingEnabled=!0}get transparent(){return this.color[3]<1||this.forceTransparentMode}}class P{constructor(e){this.screenSizeEnabled=e;const t=p().vec3f(_.POSITION).vec3f(_.NORMAL);this.screenSizeEnabled&&t.vec3f(_.OFFSET),this.vertexBufferLayout=t}elementCount(e){return e.get(_.POSITION).indices.length}write(e,t,r,i,s,a){const n=A(r,i,this.vertexBufferLayout,e,t,s,a);if(this.screenSizeEnabled){if(!r.has(_.OFFSET))throw new Error(`${_.OFFSET} vertex attribute required for screenSizeEnabled ShadedColorMaterial`);{const e=r.get(_.OFFSET);E(3===e.size);const i=s.getField(_.OFFSET,h);if(!i)throw new Error("unable to acquire view for "+_.OFFSET);j(e,t,i,a)}}return n}}const I=a(),L=a();export{M as Parameters,z as ShadedColorMaterial};
5
+ import{n as e,i as t,g as r,f as i}from"../../../../chunks/vec32.js";import{fromValues as s,create as a}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as n}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{center as o,scale as c}from"../../../../geometry/support/aaBoundingBox.js";import{BufferViewVec3f as h}from"../../../../geometry/support/buffer/BufferView.js";import{newLayout as p}from"../../support/buffer/InterleavedLayout.js";import{isColorOrOID as f,isColorOrColorEmission as l}from"../core/shaderLibrary/ShaderOutput.js";import u from"../lib/GLMaterial.js";import{Material as m,MaterialParameters as d}from"../lib/Material.js";import{intersectTriangleGeometry as g}from"../lib/RayIntersections.js";import{assert as b}from"../lib/Util.js";import{writeDefaultAttributes as S,writePosition as _}from"./internal/bufferWriterUtils.js";import{vertexAttributeLocations as w,ShadedColorMaterialTechnique as v}from"../shaders/ShadedColorMaterialTechnique.js";import{ShadedColorMaterialTechniqueConfiguration as j}from"../shaders/ShadedColorMaterialTechniqueConfiguration.js";import{alphaCutoff as z}from"../../../../webscene/support/AlphaCutoff.js";class E extends m{constructor(e){super(e,T),this._configuration=new j,this.vertexAttributeLocations=w,this.supportsEdges=!0,this._pp0=s(0,0,1),this._pp1=s(0,0,0),this.produces=new Map([[2,e=>8===e||f(e)&&!this.parameters.transparent],[4,e=>f(e)&&this.parameters.transparent&&this.parameters.writeDepth],[7,e=>f(e)&&this.parameters.transparent&&!this.parameters.writeDepth]])}getConfiguration(e,t){return super.getConfiguration(e,t,this._configuration),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this.parameters.transparent,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.screenSizeEnabled=this.parameters.screenSizeEnabled,this._configuration.shadingEnabled=this.parameters.shadingEnabled,this._configuration.oitPass=t.oitPass,this._configuration.terrainDepthTest=t.terrainDepthTest&&l(e),this._configuration.cullAboveTerrain=t.cullAboveTerrain,this._configuration}get visible(){return this.parameters.color[3]>=z}intersect(e,t,r,i,s,a){this._intersect(e,r,i,s,a)}intersectDraped(e,t,r,i){return this._pp0[0]=this._pp1[0]=r[0],this._pp0[1]=this._pp1[1]=r[1],this._intersect(e,t,this._pp0,this._pp1,i)}_intersect(e,s,a,n,h){if(this.parameters.screenSizeEnabled){const p=e.attributes.get("offset"),f={applyToVertex:(e,a,n,o)=>{const c=t(D,p.data[3*o],p.data[3*o+1],p.data[3*o+2]),h=t(M,e,a,n);return r(c,c,this.parameters.screenSizeScale*(s.camera?.computeScreenPixelSizeAt(c)??1)),i(h,h,c),[h[0],h[1],h[2]]},applyToAabb:e=>{const t=o(e,D);return c(e,this.parameters.screenSizeScale*(s.camera?.computeScreenPixelSizeAt(t)??1))}};g(e,s,a,n,f,h)}else g(e,s,a,n,void 0,h)}createGLMaterial(e){return new x(e)}createBufferWriter(){return new y(this.parameters.screenSizeEnabled)}}class x extends u{beginSlot(e){return this.getTechnique(v,e)}}class T extends d{constructor(){super(...arguments),this.color=n(1,1,1,1),this.shadingTint=n(0,0,0,.25),this.shadingDirection=e(a(),[.5,-.5,-.5]),this.screenSizeScale=14,this.forceTransparentMode=!1,this.writeDepth=!0,this.hasSlicePlane=!1,this.cullFace=0,this.screenSizeEnabled=!1,this.shadingEnabled=!0}get transparent(){return this.color[3]<1||this.forceTransparentMode}}class y{constructor(e){this.screenSizeEnabled=e;const t=p().vec3f("position").vec3f("normal");this.screenSizeEnabled&&t.vec3f("offset"),this.vertexBufferLayout=t}elementCount(e){return e.get("position").indices.length}write(e,t,r,i,s,a){const n=S(r,i,this.vertexBufferLayout,e,t,s,a);if(this.screenSizeEnabled){if(!r.has("offset"))throw new Error("offset vertex attribute required for screenSizeEnabled ShadedColorMaterial");{const e=r.get("offset");b(3===e.size);const i=s.getField("offset",h);if(!i)throw new Error("unable to acquire view for offset");_(e,t,i,a)}}return n}}const D=a(),M=a();export{T as Parameters,E as ShadedColorMaterial};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{isColorOrColorEmission as r}from"../core/shaderLibrary/ShaderOutput.js";import{InstancedDoubleConfiguration as e}from"../core/shaderLibrary/attributes/InstancedDoubleConfiguration.js";import t from"../lib/GLMaterial.js";import{RenderOccludedFlag as i}from"../lib/Material.js";import{RenderSlot as o}from"../lib/RenderSlot.js";import{DefaultBufferWriter as s}from"./DefaultBufferWriter.js";import{PositionUvLayout as a}from"./DefaultLayouts.js";import{TriangleMaterial as n}from"./TriangleMaterial.js";import{SlicePlaneMaterialPassParameters as u,SlicePlaneMaterialTechnique as c}from"../shaders/SlicePlaneMaterialTechnique.js";class l extends n{constructor(t){super(t,m),this.produces=new Map([[o.TRANSPARENT_MATERIAL_WITHOUT_DEPTH,e=>r(e)]]),this._configuration=new e}get visible(){return!0}createGLMaterial(r){return new f(r)}createBufferWriter(){return new s(a)}getConfiguration(){return this._configuration}}class f extends t{constructor(r){super(r)}beginSlot(r){return this.getTechnique(c,r)}}class m extends u{constructor(){super(...arguments),this.renderOccluded=i.Occlude,this.isDecoration=!1}}export{m as Parameters,l as SlicePlaneMaterial};
5
+ import{isColorOrColorEmission as r}from"../core/shaderLibrary/ShaderOutput.js";import{InstancedDoubleConfiguration as e}from"../core/shaderLibrary/attributes/InstancedDoubleConfiguration.js";import t from"../lib/GLMaterial.js";import{DefaultBufferWriter as i}from"./DefaultBufferWriter.js";import{PositionUvLayout as s}from"./DefaultLayouts.js";import{TriangleMaterial as o}from"./TriangleMaterial.js";import{SlicePlaneMaterialPassParameters as a,SlicePlaneMaterialTechnique as n}from"../shaders/SlicePlaneMaterialTechnique.js";class u extends o{constructor(t){super(t,f),this.produces=new Map([[7,e=>r(e)]]),this._configuration=new e}get visible(){return!0}createGLMaterial(r){return new c(r)}createBufferWriter(){return new i(s)}getConfiguration(){return this._configuration}}class c extends t{constructor(r){super(r)}beginSlot(r){return this.getTechnique(n,r)}}class f extends a{constructor(){super(...arguments),this.renderOccluded=1,this.isDecoration=!1}}export{f as Parameters,u as SlicePlaneMaterial};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{VisualVariablesParameters as s}from"../../layers/support/FastSymbolUpdates.js";import{RenderOccludedFlag as r}from"../lib/Material.js";class t extends s{constructor(){super(...arguments),this.renderOccluded=r.Occlude,this.isDecoration=!1}}const e=8;export{t as VisualVariablePassParameters,e as vvColorNumber};
5
+ import{VisualVariablesParameters as s}from"../../layers/support/FastSymbolUpdates.js";class t extends s{constructor(){super(...arguments),this.renderOccluded=1,this.isDecoration=!1}}const r=8;export{t as VisualVariablePassParameters,r as vvColorNumber};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import"../../../../core/has.js";import{secondsFromMilliseconds as t}from"../../../../core/time.js";import{fromValues as e}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{create as r}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as i}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{isColorOrColorEmission as a,isHighlightOrOID as s,ShaderOutput as o}from"../core/shaderLibrary/ShaderOutput.js";import{olidEnabled as n}from"../effects/geometry/olidUtils.js";import{MaterialParameters as l}from"../lib/Material.js";import{OITPolygonOffsetLimit as m}from"../lib/OrderIndependentTransparency.js";import{RenderSlot as c}from"../lib/RenderSlot.js";import{DefaultBufferWriter as h}from"./DefaultBufferWriter.js";import{PositionUvf32OlidLayout as f,PositionUvf32Layout as p}from"./DefaultLayouts.js";import{TriangleMaterial as u}from"./TriangleMaterial.js";import{WaterGLMaterial as d}from"./WaterGLMaterial.js";import{WaterTechniqueConfiguration as g}from"./WaterTechniqueConfiguration.js";class _ extends u{constructor(t,e){super(t,v),this.produces=new Map([[c.OPAQUE_MATERIAL,t=>a(t)&&!this.parameters.transparent||s(t)],[c.TRANSPARENT_MATERIAL,t=>a(t)&&this.parameters.transparent||s(t)],[c.DRAPED_MATERIAL,t=>this.parameters.draped&&a(t)||t===o.Normal||s(t)],[c.DRAPED_WATER,t=>t===o.Normal]]),this._configuration=new g(e.spherical)}getConfiguration(t,e){return super.getConfiguration(t,e,this._configuration),this._configuration.writeDepth=!0,this._configuration.receiveShadows=e.shadowMap.enabled,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this.parameters.transparent,this._configuration.screenSpaceReflections=null!=e.ssr.lastFrameColor,this._configuration.cloudReflections=null!=e.clouds.data,this._configuration.draped=this.parameters.draped,this._configuration.oitPass=e.oitPass,this._configuration.enableOffset=e.camera.relativeElevation<m,this._configuration.terrainDepthTest=e.terrainDepthTest&&a(t),this._configuration.cullAboveTerrain=e.cullAboveTerrain,this._configuration}get visible(){return!0}update(e){return this.setParameters({timeElapsed:t(e.time)*this.parameters.animationSpeed},!1),this._animationEnabled(e.camera)&&e.dt>0}_animationEnabled(t){const e=Math.min(t.relativeElevation,t.distance);return Math.sqrt(this.parameters.waveTextureRepeat/this.parameters.waveStrength)*e<T}createGLMaterial(t){return new d(t)}createBufferWriter(){return new h(n()?f:p)}get test(){}}class v extends l{constructor(){super(...arguments),this.waveStrength=.06,this.waveTextureRepeat=32,this.waveDirection=e(1,0),this.waveVelocity=.05,this.flowStrength=.015,this.flowOffset=-.5,this.animationSpeed=.35,this.timeElapsed=0,this.color=i(0,0,0,0),this.transparent=!0,this.hasSlicePlane=!1,this.draped=!1,this.origin=r(),this.modelTransformation=null}}const T=35e3;export{v as Parameters,_ as WaterMaterial};
5
+ import"../../../../core/has.js";import{secondsFromMilliseconds as t}from"../../../../core/time.js";import{fromValues as e}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{create as r}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{fromValues as i}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{isColorOrColorEmission as a,isHighlightOrOID as s}from"../core/shaderLibrary/ShaderOutput.js";import{olidEnabled as o}from"../effects/geometry/olidUtils.js";import{MaterialParameters as n}from"../lib/Material.js";import{OITPolygonOffsetLimit as c}from"../lib/OrderIndependentTransparency.js";import{DefaultBufferWriter as l}from"./DefaultBufferWriter.js";import{PositionUvf32OlidLayout as h,PositionUvf32Layout as m}from"./DefaultLayouts.js";import{TriangleMaterial as f}from"./TriangleMaterial.js";import{WaterGLMaterial as p}from"./WaterGLMaterial.js";import{WaterTechniqueConfiguration as u}from"./WaterTechniqueConfiguration.js";class d extends f{constructor(t,e){super(t,g),this.produces=new Map([[2,t=>a(t)&&!this.parameters.transparent||s(t)],[4,t=>a(t)&&this.parameters.transparent||s(t)],[17,t=>this.parameters.draped&&a(t)||3===t||s(t)],[18,t=>3===t]]),this._configuration=new u(e.spherical)}getConfiguration(t,e){return super.getConfiguration(t,e,this._configuration),this._configuration.writeDepth=!0,this._configuration.receiveShadows=e.shadowMap.enabled,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.transparent=this.parameters.transparent,this._configuration.screenSpaceReflections=null!=e.ssr.lastFrameColor,this._configuration.cloudReflections=null!=e.clouds.data,this._configuration.draped=this.parameters.draped,this._configuration.oitPass=e.oitPass,this._configuration.enableOffset=e.camera.relativeElevation<c,this._configuration.terrainDepthTest=e.terrainDepthTest&&a(t),this._configuration.cullAboveTerrain=e.cullAboveTerrain,this._configuration}get visible(){return!0}update(e){return this.setParameters({timeElapsed:t(e.time)*this.parameters.animationSpeed},!1),this._animationEnabled(e.camera)&&e.dt>0}_animationEnabled(t){const e=Math.min(t.relativeElevation,t.distance);return Math.sqrt(this.parameters.waveTextureRepeat/this.parameters.waveStrength)*e<v}createGLMaterial(t){return new p(t)}createBufferWriter(){return new l(o()?h:m)}get test(){}}class g extends n{constructor(){super(...arguments),this.waveStrength=.06,this.waveTextureRepeat=32,this.waveDirection=e(1,0),this.waveVelocity=.05,this.flowStrength=.015,this.flowOffset=-.5,this.animationSpeed=.35,this.timeElapsed=0,this.color=i(0,0,0,0),this.transparent=!0,this.hasSlicePlane=!1,this.draped=!1,this.origin=r(),this.modelTransformation=null}}const v=35e3;export{g as Parameters,d as WaterMaterial};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{ShaderOutput as r}from"../core/shaderLibrary/ShaderOutput.js";import{WaterDistortionPassParameters as e}from"../core/shaderLibrary/shading/WaterDistortion.glsl.js";import{ReloadableShaderModule as t}from"../core/shaderTechnique/ReloadableShaderModule.js";import{ShaderTechnique as s}from"../core/shaderTechnique/ShaderTechnique.js";import{oitPolygonOffset as o,getDrawBuffers as a,depthWrite as i,oitDepthTest as n,blending as d}from"../lib/OrderIndependentTransparency.js";import{W as l}from"../../../../chunks/WaterSurface.glsl.js";import{makePipelineState as p,defaultColorWrite as c}from"../../../webgl/renderState.js";class u extends e{}class h extends s{constructor(r,e){super(r,e,new t(l,()=>import("../shaders/WaterSurface.glsl.js")))}initializePipeline(e){const{oitPass:t,output:s,transparent:l,draped:u}=e;return p({blending:s!==r.Normal&&s!==r.Highlight&&s!==r.ObjectAndLayerIdColor&&l?d(t):null,depthTest:u?null:{func:n(t)},depthWrite:i(e),drawBuffers:a(t,s),colorWrite:c,polygonOffset:o(e)})}}export{u as WaterMaterialPassParameters,h as WaterTechnique};
5
+ import{WaterDistortionPassParameters as e}from"../core/shaderLibrary/shading/WaterDistortion.glsl.js";import{ReloadableShaderModule as r}from"../core/shaderTechnique/ReloadableShaderModule.js";import{ShaderTechnique as s}from"../core/shaderTechnique/ShaderTechnique.js";import{oitPolygonOffset as t,getDrawBuffers as o,depthWrite as n,oitDepthTest as a,blending as i}from"../lib/OrderIndependentTransparency.js";import{W as l}from"../../../../chunks/WaterSurface.glsl.js";import{makePipelineState as d,defaultColorWrite as p}from"../../../webgl/renderState.js";class c extends e{}class u extends s{constructor(e,s){super(e,s,new r(l,()=>import("../shaders/WaterSurface.glsl.js")))}initializePipeline(e){const{oitPass:r,output:s,transparent:l,draped:c}=e;return d({blending:3!==s&&8!==s&&9!==s&&l?i(r):null,depthTest:c?null:{func:a(r)},depthWrite:n(e),drawBuffers:o(r,s),colorWrite:p,polygonOffset:t(e)})}}export{c as WaterMaterialPassParameters,u as WaterTechnique};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{_ as e}from"../../../../chunks/tslib.es6.js";import{TextureCoordinateType as t}from"../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{EmissionSource as r}from"../core/shaderLibrary/output/Emissions.glsl.js";import{PBRMode as o}from"../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{parameter as s}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as i}from"./DefaultTechniqueConfiguration.js";class n extends i{constructor(e){super(),this.spherical=e,this.receiveShadows=!1,this.transparent=!1,this.enableOffset=!0,this.writeDepth=!1,this.screenSpaceReflections=!1,this.cloudReflections=!1,this.objectAndLayerIdColorInstanced=!1,this.draped=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.textureCoordinateType=t.None,this.emissionSource=r.None,this.pbrMode=o.Water,this.occlusionPass=!1,this.useCustomDTRExponentForWater=!0,this.highStepCount=!0,this.useFillLights=!1,this.overlayEnabled=!1,this.snowCover=!1}get discardInvisibleFragments(){return this.transparent&&this.writeDepth}}e([s()],n.prototype,"receiveShadows",void 0),e([s()],n.prototype,"transparent",void 0),e([s()],n.prototype,"enableOffset",void 0),e([s()],n.prototype,"writeDepth",void 0),e([s()],n.prototype,"screenSpaceReflections",void 0),e([s()],n.prototype,"cloudReflections",void 0),e([s()],n.prototype,"objectAndLayerIdColorInstanced",void 0),e([s()],n.prototype,"draped",void 0),e([s()],n.prototype,"terrainDepthTest",void 0),e([s()],n.prototype,"cullAboveTerrain",void 0);export{n as WaterTechniqueConfiguration};
5
+ import{_ as e}from"../../../../chunks/tslib.es6.js";import{parameter as t}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as o}from"./DefaultTechniqueConfiguration.js";class i extends o{constructor(e){super(),this.spherical=e,this.receiveShadows=!1,this.transparent=!1,this.enableOffset=!0,this.writeDepth=!1,this.screenSpaceReflections=!1,this.cloudReflections=!1,this.objectAndLayerIdColorInstanced=!1,this.draped=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.textureCoordinateType=0,this.emissionSource=0,this.pbrMode=3,this.occlusionPass=!1,this.useCustomDTRExponentForWater=!0,this.highStepCount=!0,this.useFillLights=!1,this.overlayEnabled=!1,this.snowCover=!1}get discardInvisibleFragments(){return this.transparent&&this.writeDepth}}e([t()],i.prototype,"receiveShadows",void 0),e([t()],i.prototype,"transparent",void 0),e([t()],i.prototype,"enableOffset",void 0),e([t()],i.prototype,"writeDepth",void 0),e([t()],i.prototype,"screenSpaceReflections",void 0),e([t()],i.prototype,"cloudReflections",void 0),e([t()],i.prototype,"objectAndLayerIdColorInstanced",void 0),e([t()],i.prototype,"draped",void 0),e([t()],i.prototype,"terrainDepthTest",void 0),e([t()],i.prototype,"cullAboveTerrain",void 0);export{i as WaterTechniqueConfiguration};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{_ as s}from"../../../../../chunks/tslib.es6.js";import{getAssetUrl as r}from"../../../../../assets.js";import e from"../../../../../core/Accessor.js";import{createTask as t}from"../../../../../core/asyncUtils.js";import a from"../../../../../core/Logger.js";import{abortMaybe as o,disposeMaybe as i}from"../../../../../core/maybe.js";import{throwIfAborted as m}from"../../../../../core/promiseUtils.js";import{property as p}from"../../../../../core/accessorSupport/decorators/property.js";import"../../../../../core/has.js";import"../../../../../core/RandomLCG.js";import{subclass as c}from"../../../../../core/accessorSupport/decorators/subclass.js";import{requestImage as l}from"../../../../../support/requestImageUtils.js";import{ResourceState as n}from"../../lib/basicInterfaces.js";import{PixelFormat as u,TextureSamplingMode as h}from"../../../../webgl/enums.js";import{NoParameters as g}from"../../../../webgl/NoParameters.js";import{Texture as _}from"../../../../webgl/Texture.js";import{TextureDescriptor as d}from"../../../../webgl/TextureDescriptor.js";let w=class extends e{constructor(){super(...arguments),this._passParameters=new j,this._resourcesTask=null}get passParameters(){return this._passParameters}destroy(){this._resourcesTask=o(this._resourcesTask),this._passParameters.waveNormal=i(this._passParameters.waveNormal),this._passParameters.wavePerturbation=i(this._passParameters.wavePerturbation)}get updating(){return!!this._resourcesTask&&!this._resourcesTask.finished}ensureResources(s){return this._resourcesTask||(this._resourcesTask=t(async e=>{await Promise.allSettled([this._loadImageResource(s,r("esri/images/materials/water/normals.jpg"),s=>this._passParameters.waveNormal=s,e),this._loadImageResource(s,r("esri/images/materials/water/perturbation.jpg"),s=>this._passParameters.wavePerturbation=s,e)])})),this._resourcesTask.finished?n.LOADED:n.LOADING}async _loadImageResource(s,r,e,t){try{const a=await l(r,{signal:t});m(t);const o=new d(a.width,a.height);o.pixelFormat=u.RGB,o.samplingMode=h.LINEAR_MIPMAP_LINEAR,o.hasMipmap=!0,o.maxAnisotropy=8,e(new _(s,o,a))}catch(o){a.getLogger(this).error("Failed to load water material normal texture.",o)}}};s([p()],w.prototype,"_resourcesTask",void 0),s([p({type:Boolean,readOnly:!0})],w.prototype,"updating",null),w=s([c("esri.views.3d.webgl-engine.materials.internal.WaterTextureRepository")],w);class j extends g{}export{j as WaterTexturePassParameters,w as WaterTextureRepository};
5
+ import{_ as s}from"../../../../../chunks/tslib.es6.js";import{getAssetUrl as e}from"../../../../../assets.js";import r from"../../../../../core/Accessor.js";import{createTask as t}from"../../../../../core/asyncUtils.js";import a from"../../../../../core/Logger.js";import{abortMaybe as o,disposeMaybe as i}from"../../../../../core/maybe.js";import{throwIfAborted as m}from"../../../../../core/promiseUtils.js";import{property as p}from"../../../../../core/accessorSupport/decorators/property.js";import"../../../../../core/has.js";import"../../../../../core/RandomLCG.js";import{subclass as c}from"../../../../../core/accessorSupport/decorators/subclass.js";import{requestImage as l}from"../../../../../support/requestImageUtils.js";import{NoParameters as n}from"../../../../webgl/NoParameters.js";import{Texture as u}from"../../../../webgl/Texture.js";import{TextureDescriptor as h}from"../../../../webgl/TextureDescriptor.js";let g=class extends r{constructor(){super(...arguments),this._passParameters=new d,this._resourcesTask=null}get passParameters(){return this._passParameters}destroy(){this._resourcesTask=o(this._resourcesTask),this._passParameters.waveNormal=i(this._passParameters.waveNormal),this._passParameters.wavePerturbation=i(this._passParameters.wavePerturbation)}get updating(){return!!this._resourcesTask&&!this._resourcesTask.finished}ensureResources(s){return this._resourcesTask||(this._resourcesTask=t(async r=>{await Promise.allSettled([this._loadImageResource(s,e("esri/images/materials/water/normals.jpg"),s=>this._passParameters.waveNormal=s,r),this._loadImageResource(s,e("esri/images/materials/water/perturbation.jpg"),s=>this._passParameters.wavePerturbation=s,r)])})),this._resourcesTask.finished?2:1}async _loadImageResource(s,e,r,t){try{const a=await l(e,{signal:t});m(t);const o=new h(a.width,a.height);o.pixelFormat=6407,o.samplingMode=9987,o.hasMipmap=!0,o.maxAnisotropy=8,r(new u(s,o,a))}catch(o){a.getLogger(this).error("Failed to load water material normal texture.",o)}}};s([p()],g.prototype,"_resourcesTask",void 0),s([p({type:Boolean,readOnly:!0})],g.prototype,"updating",null),g=s([c("esri.views.3d.webgl-engine.materials.internal.WaterTextureRepository")],g);class d extends n{}export{d as WaterTexturePassParameters,g as WaterTextureRepository};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{d as e,l as t,g as f}from"../../../../../chunks/vec32.js";import{create as r}from"../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{hasIdentityRotation as o,isOrthoNormal as i}from"../../../../../core/libs/gl-matrix-2/math/mat4.js";import{BufferViewVec4u8 as s,BufferViewVec3f16 as n,BufferViewVec3f as c,BufferViewVec4f16 as l,BufferViewVec4f as d,BufferViewFloat as u,BufferViewVec2i16 as a,BufferViewVec2f16 as p,BufferViewVec2f as g}from"../../../../../geometry/support/buffer/BufferView.js";import{assert as B}from"../../lib/Util.js";import{VertexAttribute as y}from"../../lib/VertexAttribute.js";function b(e,t,f,r=1){const{data:o,indices:i}=e,s=t.typedBuffer,n=t.typedBufferStride,c=i.length;if(f*=n,1===r)for(let l=0;l<c;++l)s[f]=o[i[l]],f+=n;else for(let l=0;l<c;++l){const e=o[i[l]];for(let t=0;t<r;t++)s[f]=e,f+=n}}function m(e,t,f){const{data:r,indices:o}=e,i=t.typedBuffer,s=t.typedBufferStride,n=o.length;f*=s;for(let c=0;c<n;++c){const e=2*o[c];i[f]=r[e],i[f+1]=r[e+1],f+=s}}function O(e,t,f,r=1){const{data:o,indices:i}=e,s=t.typedBuffer,n=t.typedBufferStride,c=i.length;if(f*=n,1===r)for(let l=0;l<c;++l){const e=3*i[l];s[f]=o[e],s[f+1]=o[e+1],s[f+2]=o[e+2],f+=n}else for(let l=0;l<c;++l){const e=3*i[l];for(let t=0;t<r;++t)s[f]=o[e],s[f+1]=o[e+1],s[f+2]=o[e+2],f+=n}}function h(e,t,f,r=1){const{data:o,indices:i}=e,s=t.typedBuffer,n=t.typedBufferStride,c=i.length;if(f*=n,1===r)for(let l=0;l<c;++l){const e=4*i[l];s[f]=o[e],s[f+1]=o[e+1],s[f+2]=o[e+2],s[f+3]=o[e+3],f+=n}else for(let l=0;l<c;++l){const e=4*i[l];for(let t=0;t<r;++t)s[f]=o[e],s[f+1]=o[e+1],s[f+2]=o[e+2],s[f+3]=o[e+3],f+=n}}function F(e,t,f){const r=e.typedBuffer,o=e.typedBufferStride;t*=o;for(let i=0;i<f;++i)r[t]=0,r[t+1]=0,r[t+2]=0,r[t+3]=0,t+=o}function I(e,t,f){const{data:r,indices:o}=e,i=t.typedBuffer,s=t.typedBufferStride,n=o.length;f*=s;for(let c=0;c<n;++c){const e=9*o[c];for(let t=0;t<9;++t)i[f+t]=r[e+t];f+=s}}function T(e,t,f){const{data:r,indices:o}=e,i=t.typedBuffer,s=t.typedBufferStride,n=o.length;f*=s;for(let c=0;c<n;++c){const e=16*o[c];for(let t=0;t<16;++t)i[f+t]=r[e+t];f+=s}}function R(e,t,f,r,i=1){if(!t)return void O(e,f,r,i);const{data:s,indices:n}=e,c=f.typedBuffer,l=f.typedBufferStride,d=n.length,u=t[0],a=t[1],p=t[2],g=t[4],B=t[5],y=t[6],b=t[8],m=t[9],h=t[10],F=t[12],I=t[13],T=t[14];r*=l;let R=0,S=0,E=0;const N=o(t)?e=>{R=s[e]+F,S=s[e+1]+I,E=s[e+2]+T}:e=>{const t=s[e],f=s[e+1],r=s[e+2];R=u*t+g*f+b*r+F,S=a*t+B*f+m*r+I,E=p*t+y*f+h*r+T};if(1===i)for(let o=0;o<d;++o)N(3*n[o]),c[r]=R,c[r+1]=S,c[r+2]=E,r+=l;else for(let o=0;o<d;++o){N(3*n[o]);for(let e=0;e<i;++e)c[r]=R,c[r+1]=S,c[r+2]=E,r+=l}}function S(e,t,f,r,s=1){if(!t)return void O(e,f,r,s);const{data:n,indices:c}=e,l=t,d=f.typedBuffer,u=f.typedBufferStride,a=c.length,p=l[0],g=l[1],B=l[2],y=l[4],b=l[5],m=l[6],h=l[8],F=l[9],I=l[10],T=!i(l),R=1e-6,S=1-R;r*=u;let E=0,N=0,A=0;const v=o(l)?e=>{E=n[e],N=n[e+1],A=n[e+2]}:e=>{const t=n[e],f=n[e+1],r=n[e+2];E=p*t+y*f+h*r,N=g*t+b*f+F*r,A=B*t+m*f+I*r};if(1===s)if(T)for(let o=0;o<a;++o){v(3*c[o]);const e=E*E+N*N+A*A;if(e<S&&e>R){const t=1/Math.sqrt(e);d[r]=E*t,d[r+1]=N*t,d[r+2]=A*t}else d[r]=E,d[r+1]=N,d[r+2]=A;r+=u}else for(let o=0;o<a;++o)v(3*c[o]),d[r]=E,d[r+1]=N,d[r+2]=A,r+=u;else for(let o=0;o<a;++o){if(v(3*c[o]),T){const e=E*E+N*N+A*A;if(e<S&&e>R){const t=1/Math.sqrt(e);E*=t,N*=t,A*=t}}for(let e=0;e<s;++e)d[r]=E,d[r+1]=N,d[r+2]=A,r+=u}}function E(e,t,f,r,o=1){if(!t)return void h(e,f,r,o);const{data:s,indices:n}=e,c=t,l=f.typedBuffer,d=f.typedBufferStride,u=n.length,a=c[0],p=c[1],g=c[2],B=c[4],y=c[5],b=c[6],m=c[8],O=c[9],F=c[10],I=!i(c),T=1e-6,R=1-T;if(r*=d,1===o)for(let i=0;i<u;++i){const e=4*n[i],t=s[e],f=s[e+1],o=s[e+2],c=s[e+3];let u=a*t+B*f+m*o,h=p*t+y*f+O*o,S=g*t+b*f+F*o;if(I){const e=u*u+h*h+S*S;if(e<R&&e>T){const t=1/Math.sqrt(e);u*=t,h*=t,S*=t}}l[r]=u,l[r+1]=h,l[r+2]=S,l[r+3]=c,r+=d}else for(let i=0;i<u;++i){const e=4*n[i],t=s[e],f=s[e+1],c=s[e+2],u=s[e+3];let h=a*t+B*f+m*c,S=p*t+y*f+O*c,E=g*t+b*f+F*c;if(I){const e=h*h+S*S+E*E;if(e<R&&e>T){const t=1/Math.sqrt(e);h*=t,S*=t,E*=t}}for(let i=0;i<o;++i)l[r]=h,l[r+1]=S,l[r+2]=E,l[r+3]=u,r+=d}}function N(e,t,f,r,o=1){const{data:i,indices:s}=e,n=f.typedBuffer,c=f.typedBufferStride,l=s.length;if(r*=c,t===i.length&&4===t){n[r]=i[0],n[r+1]=i[1],n[r+2]=i[2],n[r+3]=i[3];const e=new Uint32Array(f.typedBuffer.buffer,f.start),t=c/4,s=e[r/=4];r+=t;const d=l*o;for(let f=1;f<d;++f)e[r]=s,r+=t;return}if(1!==o)if(4!==t)for(let d=0;d<l;++d){const e=3*s[d];for(let t=0;t<o;++t)n[r]=i[e],n[r+1]=i[e+1],n[r+2]=i[e+2],n[r+3]=255,r+=c}else for(let d=0;d<l;++d){const e=4*s[d];for(let t=0;t<o;++t)n[r]=i[e],n[r+1]=i[e+1],n[r+2]=i[e+2],n[r+3]=i[e+3],r+=c}else{if(4===t){for(let e=0;e<l;++e){const t=4*s[e];n[r]=i[t],n[r+1]=i[t+1],n[r+2]=i[t+2],n[r+3]=i[t+3],r+=c}return}for(let e=0;e<l;++e){const t=3*s[e];n[r]=i[t],n[r+1]=i[t+1],n[r+2]=i[t+2],n[r+3]=255,r+=c}}}function A(e,t,f){const{data:r,indices:o}=e,i=t.typedBuffer,s=t.typedBufferStride,n=o.length,c=r[0];f*=s;for(let l=0;l<n;++l)i[f]=c,f+=s}function v(r,o,i,s){e(w,r,o);const n=Math.max(Math.sqrt(t(w)),1e-4);f(w,w,1/n),i[s++]=w[0],i[s++]=w[1],i[s++]=w[2],i[s++]=n}const w=r();function L(e,t,f,r,o=1){const i=t.typedBuffer,s=t.typedBufferStride;if(r*=s,1===o)for(let n=0;n<f;++n)i[r]=e[0],i[r+1]=e[1],i[r+2]=e[2],i[r+3]=e[3],r+=s;else for(let n=0;n<f;++n)for(let t=0;t<o;++t)i[r]=e[0],i[r+1]=e[1],i[r+2]=e[2],i[r+3]=e[3],r+=s}function k(e,t,f,r,o,i,n){let c={numItems:0,numVerticesPerItem:0};for(const l of f.fields.keys()){const f=e.get(l),d=f?.indices;if(f&&d)l===y.POSITION&&(c={numItems:1,numVerticesPerItem:d.length}),z(l,f,r,o,i,n);else if(l===y.OLIDCOLOR&&null!=t){const f=e.get(y.POSITION)?.indices;if(f){const e=f.length;L(t,i.getField(l,s),e,n)}}}return c}function z(e,t,f,r,o,i){switch(e){case y.POSITION:{B(3===t.size);const r=o.getField(e,c);B(!!r,`No buffer view for ${e}`),R(t,f,r,i);break}case y.NORMAL:{B(3===t.size);const f=o.getField(e,c);B(!!f,`No buffer view for ${e}`),S(t,r,f,i);break}case y.NORMALCOMPRESSED:case y.PROFILERIGHT:case y.PROFILEUP:{B(2===t.size);const f=o.getField(e,a);B(!!f,`No buffer view for ${e}`),m(t,f,i);break}case y.UV0:{B(2===t.size);const f=o.getField(e,p)??o.getField(e,g);B(!!f,`No buffer view for ${e}`),m(t,f,i);break}case y.UVI:{B(2===t.size);const f=o.getField(e,a);B(!!f,`No buffer view for ${e}`),m(t,f,i);break}case y.COLOR:case y.SYMBOLCOLOR:{const f=o.getField(e,s);B(!!f,`No buffer view for ${e}`),B(3===t.size||4===t.size),N(t,t.size,f,i);break}case y.COLORFEATUREATTRIBUTE:case y.OPACITYFEATUREATTRIBUTE:case y.SIZEFEATUREATTRIBUTE:{const f=o.getField(e,u)??o.getField(e,u);B(!!f,`No buffer view for ${e}`),B(1===t.size),A(t,f,i);break}case y.TANGENT:{B(4===t.size);const r=o.getField(e,d);B(!!r,`No buffer view for ${e}`),E(t,f,r,i);break}case y.PROFILEVERTEXANDNORMAL:{B(4===t.size);const f=o.getField(e,l)??o.getField(e,d);B(!!f,`No buffer view for ${e}`),h(t,f,i);break}case y.PROFILEAUXDATA:{B(3===t.size);const f=o.getField(e,n)??o.getField(e,c);B(!!f,`No buffer view for ${e}`),O(t,f,i);break}}}export{b as writeBufferFloat,I as writeBufferMat3f,T as writeBufferMat4f,m as writeBufferVec2,O as writeBufferVec3,h as writeBufferVec4,F as writeBufferVec4Zeros,N as writeColor,z as writeDefaultAttribute,k as writeDefaultAttributes,v as writeDeltaF16Vector,S as writeNormal,L as writeOlidColor,R as writePosition,E as writeTangent,A as writeVVFeatureAttribute};
5
+ import{d as e,l as t,g as f}from"../../../../../chunks/vec32.js";import{create as o}from"../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{hasIdentityRotation as r,isOrthoNormal as i}from"../../../../../core/libs/gl-matrix-2/math/mat4.js";import{BufferViewVec4u8 as s,BufferViewVec3f16 as n,BufferViewVec3f as c,BufferViewVec4f16 as l,BufferViewVec4f as d,BufferViewFloat as u,BufferViewVec2i16 as a,BufferViewVec2f16 as p,BufferViewVec2f as g}from"../../../../../geometry/support/buffer/BufferView.js";import{assert as y}from"../../lib/Util.js";function b(e,t,f,o=1){const{data:r,indices:i}=e,s=t.typedBuffer,n=t.typedBufferStride,c=i.length;if(f*=n,1===o)for(let l=0;l<c;++l)s[f]=r[i[l]],f+=n;else for(let l=0;l<c;++l){const e=r[i[l]];for(let t=0;t<o;t++)s[f]=e,f+=n}}function m(e,t,f){const{data:o,indices:r}=e,i=t.typedBuffer,s=t.typedBufferStride,n=r.length;f*=s;for(let c=0;c<n;++c){const e=2*r[c];i[f]=o[e],i[f+1]=o[e+1],f+=s}}function B(e,t,f,o=1){const{data:r,indices:i}=e,s=t.typedBuffer,n=t.typedBufferStride,c=i.length;if(f*=n,1===o)for(let l=0;l<c;++l){const e=3*i[l];s[f]=r[e],s[f+1]=r[e+1],s[f+2]=r[e+2],f+=n}else for(let l=0;l<c;++l){const e=3*i[l];for(let t=0;t<o;++t)s[f]=r[e],s[f+1]=r[e+1],s[f+2]=r[e+2],f+=n}}function h(e,t,f,o=1){const{data:r,indices:i}=e,s=t.typedBuffer,n=t.typedBufferStride,c=i.length;if(f*=n,1===o)for(let l=0;l<c;++l){const e=4*i[l];s[f]=r[e],s[f+1]=r[e+1],s[f+2]=r[e+2],s[f+3]=r[e+3],f+=n}else for(let l=0;l<c;++l){const e=4*i[l];for(let t=0;t<o;++t)s[f]=r[e],s[f+1]=r[e+1],s[f+2]=r[e+2],s[f+3]=r[e+3],f+=n}}function F(e,t,f){const o=e.typedBuffer,r=e.typedBufferStride;t*=r;for(let i=0;i<f;++i)o[t]=0,o[t+1]=0,o[t+2]=0,o[t+3]=0,t+=r}function v(e,t,f){const{data:o,indices:r}=e,i=t.typedBuffer,s=t.typedBufferStride,n=r.length;f*=s;for(let c=0;c<n;++c){const e=9*r[c];for(let t=0;t<9;++t)i[f+t]=o[e+t];f+=s}}function w(e,t,f){const{data:o,indices:r}=e,i=t.typedBuffer,s=t.typedBufferStride,n=r.length;f*=s;for(let c=0;c<n;++c){const e=16*r[c];for(let t=0;t<16;++t)i[f+t]=o[e+t];f+=s}}function z(e,t,f,o,i=1){if(!t)return void B(e,f,o,i);const{data:s,indices:n}=e,c=f.typedBuffer,l=f.typedBufferStride,d=n.length,u=t[0],a=t[1],p=t[2],g=t[4],y=t[5],b=t[6],m=t[8],h=t[9],F=t[10],v=t[12],w=t[13],z=t[14];o*=l;let S=0,k=0,N=0;const $=r(t)?e=>{S=s[e]+v,k=s[e+1]+w,N=s[e+2]+z}:e=>{const t=s[e],f=s[e+1],o=s[e+2];S=u*t+g*f+m*o+v,k=a*t+y*f+h*o+w,N=p*t+b*f+F*o+z};if(1===i)for(let r=0;r<d;++r)$(3*n[r]),c[o]=S,c[o+1]=k,c[o+2]=N,o+=l;else for(let r=0;r<d;++r){$(3*n[r]);for(let e=0;e<i;++e)c[o]=S,c[o+1]=k,c[o+2]=N,o+=l}}function S(e,t,f,o,s=1){if(!t)return void B(e,f,o,s);const{data:n,indices:c}=e,l=t,d=f.typedBuffer,u=f.typedBufferStride,a=c.length,p=l[0],g=l[1],y=l[2],b=l[4],m=l[5],h=l[6],F=l[8],v=l[9],w=l[10],z=!i(l),S=1e-6,k=1-S;o*=u;let N=0,$=0,A=0;const j=r(l)?e=>{N=n[e],$=n[e+1],A=n[e+2]}:e=>{const t=n[e],f=n[e+1],o=n[e+2];N=p*t+b*f+F*o,$=g*t+m*f+v*o,A=y*t+h*f+w*o};if(1===s)if(z)for(let r=0;r<a;++r){j(3*c[r]);const e=N*N+$*$+A*A;if(e<k&&e>S){const t=1/Math.sqrt(e);d[o]=N*t,d[o+1]=$*t,d[o+2]=A*t}else d[o]=N,d[o+1]=$,d[o+2]=A;o+=u}else for(let r=0;r<a;++r)j(3*c[r]),d[o]=N,d[o+1]=$,d[o+2]=A,o+=u;else for(let r=0;r<a;++r){if(j(3*c[r]),z){const e=N*N+$*$+A*A;if(e<k&&e>S){const t=1/Math.sqrt(e);N*=t,$*=t,A*=t}}for(let e=0;e<s;++e)d[o]=N,d[o+1]=$,d[o+2]=A,o+=u}}function k(e,t,f,o,r=1){if(!t)return void h(e,f,o,r);const{data:s,indices:n}=e,c=t,l=f.typedBuffer,d=f.typedBufferStride,u=n.length,a=c[0],p=c[1],g=c[2],y=c[4],b=c[5],m=c[6],B=c[8],F=c[9],v=c[10],w=!i(c),z=1e-6,S=1-z;if(o*=d,1===r)for(let i=0;i<u;++i){const e=4*n[i],t=s[e],f=s[e+1],r=s[e+2],c=s[e+3];let u=a*t+y*f+B*r,h=p*t+b*f+F*r,k=g*t+m*f+v*r;if(w){const e=u*u+h*h+k*k;if(e<S&&e>z){const t=1/Math.sqrt(e);u*=t,h*=t,k*=t}}l[o]=u,l[o+1]=h,l[o+2]=k,l[o+3]=c,o+=d}else for(let i=0;i<u;++i){const e=4*n[i],t=s[e],f=s[e+1],c=s[e+2],u=s[e+3];let h=a*t+y*f+B*c,k=p*t+b*f+F*c,N=g*t+m*f+v*c;if(w){const e=h*h+k*k+N*N;if(e<S&&e>z){const t=1/Math.sqrt(e);h*=t,k*=t,N*=t}}for(let i=0;i<r;++i)l[o]=h,l[o+1]=k,l[o+2]=N,l[o+3]=u,o+=d}}function N(e,t,f,o,r=1){const{data:i,indices:s}=e,n=f.typedBuffer,c=f.typedBufferStride,l=s.length;if(o*=c,t===i.length&&4===t){n[o]=i[0],n[o+1]=i[1],n[o+2]=i[2],n[o+3]=i[3];const e=new Uint32Array(f.typedBuffer.buffer,f.start),t=c/4,s=e[o/=4];o+=t;const d=l*r;for(let f=1;f<d;++f)e[o]=s,o+=t;return}if(1!==r)if(4!==t)for(let d=0;d<l;++d){const e=3*s[d];for(let t=0;t<r;++t)n[o]=i[e],n[o+1]=i[e+1],n[o+2]=i[e+2],n[o+3]=255,o+=c}else for(let d=0;d<l;++d){const e=4*s[d];for(let t=0;t<r;++t)n[o]=i[e],n[o+1]=i[e+1],n[o+2]=i[e+2],n[o+3]=i[e+3],o+=c}else{if(4===t){for(let e=0;e<l;++e){const t=4*s[e];n[o]=i[t],n[o+1]=i[t+1],n[o+2]=i[t+2],n[o+3]=i[t+3],o+=c}return}for(let e=0;e<l;++e){const t=3*s[e];n[o]=i[t],n[o+1]=i[t+1],n[o+2]=i[t+2],n[o+3]=255,o+=c}}}function $(e,t,f){const{data:o,indices:r}=e,i=t.typedBuffer,s=t.typedBufferStride,n=r.length,c=o[0];f*=s;for(let l=0;l<n;++l)i[f]=c,f+=s}function A(o,r,i,s){e(j,o,r);const n=Math.max(Math.sqrt(t(j)),1e-4);f(j,j,1/n),i[s++]=j[0],i[s++]=j[1],i[s++]=j[2],i[s++]=n}const j=o();function x(e,t,f,o,r=1){const i=t.typedBuffer,s=t.typedBufferStride;if(o*=s,1===r)for(let n=0;n<f;++n)i[o]=e[0],i[o+1]=e[1],i[o+2]=e[2],i[o+3]=e[3],o+=s;else for(let n=0;n<f;++n)for(let t=0;t<r;++t)i[o]=e[0],i[o+1]=e[1],i[o+2]=e[2],i[o+3]=e[3],o+=s}function M(e,t,f,o,r,i,n){let c={numItems:0,numVerticesPerItem:0};for(const l of f.fields.keys()){const f=e.get(l),d=f?.indices;if(f&&d)"position"===l&&(c={numItems:1,numVerticesPerItem:d.length}),q(l,f,o,r,i,n);else if("objectAndLayerIdColor"===l&&null!=t){const f=e.get("position")?.indices;if(f){const e=f.length;x(t,i.getField(l,s),e,n)}}}return c}function q(e,t,f,o,r,i){switch(e){case"position":{y(3===t.size);const o=r.getField(e,c);y(!!o,`No buffer view for ${e}`),z(t,f,o,i);break}case"normal":{y(3===t.size);const f=r.getField(e,c);y(!!f,`No buffer view for ${e}`),S(t,o,f,i);break}case"normalCompressed":case"profileRight":case"profileUp":{y(2===t.size);const f=r.getField(e,a);y(!!f,`No buffer view for ${e}`),m(t,f,i);break}case"uv0":{y(2===t.size);const f=r.getField(e,p)??r.getField(e,g);y(!!f,`No buffer view for ${e}`),m(t,f,i);break}case"uvi":{y(2===t.size);const f=r.getField(e,a);y(!!f,`No buffer view for ${e}`),m(t,f,i);break}case"color":case"symbolColor":{const f=r.getField(e,s);y(!!f,`No buffer view for ${e}`),y(3===t.size||4===t.size),N(t,t.size,f,i);break}case"colorFeatureAttribute":case"opacityFeatureAttribute":case"sizeFeatureAttribute":{const f=r.getField(e,u)??r.getField(e,u);y(!!f,`No buffer view for ${e}`),y(1===t.size),$(t,f,i);break}case"tangent":{y(4===t.size);const o=r.getField(e,d);y(!!o,`No buffer view for ${e}`),k(t,f,o,i);break}case"profileVertexAndNormal":{y(4===t.size);const f=r.getField(e,l)??r.getField(e,d);y(!!f,`No buffer view for ${e}`),h(t,f,i);break}case"profileAuxData":{y(3===t.size);const f=r.getField(e,n)??r.getField(e,c);y(!!f,`No buffer view for ${e}`),B(t,f,i);break}}}export{b as writeBufferFloat,v as writeBufferMat3f,w as writeBufferMat4f,m as writeBufferVec2,B as writeBufferVec3,h as writeBufferVec4,F as writeBufferVec4Zeros,N as writeColor,q as writeDefaultAttribute,M as writeDefaultAttributes,A as writeDeltaF16Vector,S as writeNormal,x as writeOlidColor,z as writePosition,k as writeTangent,$ as writeVVFeatureAttribute};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{_ as e}from"../../../../../chunks/tslib.es6.js";import{removeUnordered as t,filterInPlace as r}from"../../../../../core/arrayUtils.js";import"../../../../../core/has.js";import{nextHighestPowerOfTwo as i}from"../../../../../core/mathUtils.js";import{disposeMaybe as s}from"../../../../../core/maybe.js";import{NestedMap as o}from"../../../../../core/NestedMap.js";import a from"../../../../../core/PooledArray.js";import{addMany as n}from"../../../../../core/SetUtils.js";import{property as l}from"../../../../../core/accessorSupport/decorators/property.js";import"../../../../../core/Logger.js";import{subclass as h}from"../../../../../core/accessorSupport/decorators/subclass.js";import{copy as u,invert as f,transpose as c}from"../../../../../core/libs/gl-matrix-2/math/mat4.js";import{create as d}from"../../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{glLayout as m}from"../../../support/buffer/glUtil.js";import{ShaderOutput as g}from"../../core/shaderLibrary/ShaderOutput.js";import{SyncRenderPlugin as p}from"../../effects/RenderPlugin.js";import{GLMaterials as y}from"../../lib/GLMaterials.js";import{RenderOccludedFlag as _}from"../../lib/Material.js";import{DirtyState as b}from"../../lib/ModelDirtyTypes.js";import{RenderSlot as w}from"../../lib/RenderSlot.js";import{assert as v}from"../../lib/Util.js";import{DrawParameters as O}from"../DrawParameters.js";import{BufferRange as C,mergeAdjacentRanges as A}from"./BufferRange.js";import{Instance as E}from"./Instance.js";import{PerBufferData as B,hasVao as M}from"./PerBufferData.js";import{PerOriginData as x}from"./PerOriginData.js";import{defaultHighlightName as D}from"../../../../support/HighlightDefaults.js";let H=class extends p{get _hasHighlights(){return this._highlightNames.size>0}hasHighlight(e){return this._highlightNames.has(e)}constructor(e){super(e),this._dataByOrigin=new Map,this._drawParameters=new O,this._highlightNames=new Set,this.drapedPriority=0,this._produces=new Map,this._hasOccludees=!1}destroy(){this._glMaterials=s(this._glMaterials),this._dataByOrigin.forEach(e=>e.dispose()),this._dataByOrigin.clear(),this._vaoCache=null}initialize(){this._updateProduces()}_updateProduces(){this.material.produces.forEach((e,t)=>{this._produces.set(t,t=>!(0===this._dataByOrigin.size||!(t!==g.Highlight&&t!==g.ShadowHighlight||this._hasHighlights))&&e(t))})}initializeRenderContext(e){k??=e.renderContext.rctx.isAssumedMetalDriver,this._glMaterials=new y(this.material,e.materials),this._bufferWriter=this.material.createBufferWriter(),this._vaoCache=e.renderContext.rctx.getVaoCache(this.material.vertexAttributeLocations,m(this._bufferWriter.vertexBufferLayout))}uninitializeRenderContext(){}get produces(){return this._produces}get hasOccludees(){return this._hasOccludees}get hasOnlyOccluders(){return!!(0!==this.numGeometries&&this.renderOccludedFlags&~_.Occlude)}get hasEmissions(){return this.material.hasEmissions}get isDecoration(){return this.material.parameters.isDecoration}get renderOccludedFlags(){return this.material.renderOccludedFlags}get numGeometries(){let e=0;return this._dataByOrigin.forEach(t=>e+=t.buffers.reduce((e,t)=>e+t.instances.size,0)),e}get usedMemory(){let e=0;return this._dataByOrigin.forEach(t=>e+=t.buffers.reduce((e,t)=>e+t.vao.cachedMemory,0)),e}forEachGeometry(e){this._dataByOrigin.forEach(t=>t.buffers.forEach(t=>t.instances.forEach(({geometry:t})=>e(t))))}modify(e,t){this._applyUpdates(e,t),this._applyAddsAndRemoves(e),this._updateDrawCommands()}get canCompact(){for(const e of this._dataByOrigin.values())if(e.buffers.some(e=>e.holes.length>1))return!0;return!1}compact(e){if(!this.canCompact)return!1;let t=!1;for(const r of this._dataByOrigin.values()){const i=new Array;for(let t=0;t<r.buffers.length&&!e.done;){const s=r.buffers[t];s.holes.length<=1?++t:(s.instances.forEach(({geometry:e})=>i.push(e)),this._vaoCache.deleteVao(s.vao),r.buffers[t]=r.buffers[r.buffers.length-1],--r.buffers.length,e.madeProgress())}if(i.length>0){for(r.buffers.forEach(e=>this._applyAdds(e,i));i.length>0;)r.buffers.push(this._applyAndRebuild(new B,i,null));t=!0}}return t}updateHighlights(e){this.highlightOrderMap=e,this._highlightNames.clear(),this._dataByOrigin.forEach(t=>{t.buffers.forEach(t=>{t.updateHighlights(e),t.highlightNames.forEach(e=>this._highlightNames.add(e))})}),this._updateProduces()}_applyUpdates(e,t){const r=this._bufferWriter;if(null==r)return void e.clearUpdates();const i=r.vertexBufferLayout.stride/4;for(const s of e.updates){if(t.done)return;const{renderGeometry:o,updateType:a}=s;e.pending.updates.removeUnordered(s),t.madeProgress();const n=this._dataByOrigin.get(o.localOrigin.id),l=n?.findBuffer(o.id);if(null==l)return;const h=l.instances.get(o.id);if(a&(b.GEOMETRY|b.TRANSFORMATION)){const e=V(r.elementCount(h.geometry.geometry.attributes)*i),t=r.vertexBufferLayout.createView(e.buffer);this._writeGeometry(o,t,0),l.vao.vertexBuffers.get("geometry").setSubData(e,h.from*i,0,h.numElements*i)}a&(b.HIGHLIGHT|b.OCCLUDEE|b.VISIBILITY)&&(l.drawCommandsDirty=!0)}}_computeDeltas(e,t){const r=new o;for(const i of e){const e=i.localOrigin;if(null==e)continue;let t=r.get(e.id,null);null==t&&(t=new R(e.vec3),r.set(e.id,null,t)),t.changes.push(i)}for(const i of t){const e=i.localOrigin;if(null==e)continue;const t=this._dataByOrigin.get(e.id),s=t?.findBuffer(i.id);if(null==s)continue;let o=r.get(e.id,s);null==o&&(o=new R(e.vec3),r.set(e.id,s,o)),o.changes.push(i)}return r}_applyAddsAndRemoves(e){const{_bufferWriter:r,_dataByOrigin:i,_vaoCache:s}=this;if(null==r||null==s)return void e.clearAddsAndRemoves();const o=r.vertexBufferLayout.stride/4,a=this._computeDeltas(e.adds,e.removes);a.forEach((e,n)=>{const l=e.get(null),h=l?.changes??[];a.delete(n,null);let u=i.get(n);if(e.forEach((e,l)=>{if(a.delete(n,l),null==l&&v(!1,"No VAO for removed geometries"),l.instances.size===e.changes.length)return s.deleteVao(l.vao),t(u.buffers,l),void(0===u.buffers.length&&0===h.length&&i.delete(n));const f=l.numElements,c=l.vao.getByteLength("geometry")/4,d=h.reduce((e,t)=>e+r.elementCount(t.geometry.attributes),0),m=e.changes.reduce((e,t)=>e+r.elementCount(t.geometry.attributes),0),g=Math.min((f+d-m)*o,W),p=g>c;g>I&&g<c/2?(e.changes.forEach(({id:e})=>l.deleteInstance(e)),l.instances.forEach(({geometry:e})=>h.push(e)),this._vaoCache.deleteVao(l.vao),t(u.buffers,l)):p?this._applyAndRebuild(l,h,e):this._applyRemoves(l,e)}),h.length>0)for(null==u&&(u=new x(l.origin),i.set(n,u)),u.buffers.forEach(e=>this._applyAdds(e,h));h.length>0;)u.buffers.push(this._applyAndRebuild(new B,h,null))}),e.clearAddsAndRemoves()}_updateDrawCommands(){this._highlightNames.clear(),this._hasOccludees=!1,this._dataByOrigin.forEach(e=>{e.buffers.forEach(e=>{e.updateIfDrawCommandsDirty(this.highlightOrderMap,this._bufferWriter.vertexBufferLayout.stride),e.hasHighlights&&n(this._highlightNames,e.highlightNames),this._hasOccludees||=e.hasOccludees})})}_applyAndRebuild(e,t,r){if(r)for(const d of r.changes)e.deleteInstance(d.id);const i=this._bufferWriter,s=i.vertexBufferLayout.stride,o=s/4,a=Math.floor(W/o);let n=e.numElements;for(;t.length>0;){const r=t.pop(),s=i.elementCount(r.geometry.attributes);if(n+s>a&&n>0){t.push(r);break}n+=s;const o=new E(r,0,0,this.highlightOrderMap);v(null==e.instances.get(r.id)),e.addInstance(r.id,o)}const l=n*o,h=V(l),u=i.vertexBufferLayout.createView(h.buffer);let f=0;e.resetInstanceSummary(),e.instances.forEach((t,r)=>{this._writeGeometry(t.geometry,u,f);const s=f;f+=i.elementCount(t.geometry.geometry.attributes),e.updateInstance(r,s,f),e.updateDrawState(t)}),this._vaoCache.deleteVao(e.vao),e.vao=this._vaoCache.newVao(z(l)),e.vao.vertexBuffers.get("geometry").setSubData(h,0,0,f*o),e.holes.clear();const c=e.holes.pushNew();return c.from=f,c.to=Math.floor(e.vao.getByteLength("geometry")/s),e.updateDrawCommands(this.highlightOrderMap,s),e}_applyRemoves(e,t){if(0===t.changes.length||null==this._bufferWriter)return;let r=1/0,i=-1/0;for(const a of t.changes){const t=a.id,s=e.instances.get(t);if(!s)continue;e.deleteInstance(t),k&&(r=Math.min(r,s.from),i=Math.max(i,s.to));const o=N.back();if(o){if(o.to===s.from){o.to=s.to;continue}if(o.from===s.to){o.from=s.from;continue}}const n=N.pushNew();n.from=s.from,n.to=s.to}A(N);const s=this._bufferWriter.vertexBufferLayout.stride/4,o=e.vao.vertexBuffers.get("geometry");if(k){const t=(i-r)*s,a=V(t),n=this._bufferWriter.vertexBufferLayout.createView(a.buffer);a.fill(0,0,t),e.instances.forEach(e=>{if(!(e.from>=r&&e.to<=i))return;const t=e.from-r;this._writeGeometry(e.geometry,n,t)}),o.setSubData(a,r*s,0,t)}else{const e=N.reduce((e,t)=>Math.max(e,t.numElements),0)*s,t=V(e);t.fill(0,0,e),N.forAll(e=>o.setSubData(t,e.from*s,0,e.numElements*s))}e.holes.pushArray(N.data,N.length),N.forAll((e,t)=>N.data[t]=null),N.clear(),e.drawCommandsDirty=!0}_applyAdds(e,t){if(0===t.length||null==this._bufferWriter)return;if(!M(e))return void this._applyAndRebuild(e,t,null);const i=this._bufferWriter,s=i.vertexBufferLayout.stride/4,o=e.numElements,a=t.reduce((e,t)=>e+i.elementCount(t.geometry.attributes),0),n=Math.min((o+a)*s,W),l=4*n;if(e.vao.getByteLength("geometry")<z(W-I)&&l>e.vao.getByteLength("geometry"))return void this._applyAndRebuild(e,t,null);A(e.holes);const h=new Array;let u=1/0,f=-1/0;for(const r of t){const t=i.elementCount(r.geometry.attributes),s=j(e.holes,t);h.push(s),k&&null!=s&&(u=Math.min(s,u),f=Math.max(s+t,f))}const c=e.vao.vertexBuffers.get("geometry");let d=0,m=0,g=0;const p=V(k?(f-u)*s:n),y=i.vertexBufferLayout.createView(p.buffer);if(t.forEach((t,r)=>{const o=h[r];if(null==o)return;const a=i.elementCount(t.geometry.attributes);if(!k){if(!(g===o)){const e=g-m;e>0&&c.setSubData(p,m*s,0,e*s),m=o,d=0}this._writeGeometry(t,y,d),d+=a,g=o+a}const n=new E(t,o,o+a,this.highlightOrderMap);v(null==e.instances.get(t.id)),e.addInstance(t.id,n),e.drawCommandsDirty=!0}),k){const t=(f-u)*s;p.fill(0,0,t),e.instances.forEach(e=>{if(!(e.from>=u&&e.to<=f))return;const t=e.from-u;this._writeGeometry(e.geometry,y,t)}),m=u,g=f}const _=g-m;_>0&&c.setSubData(p,m*s,0,_*s),r(t,(e,t)=>null==h[t])}_writeGeometry(e,t,r){null!=this._bufferWriter&&(u(L,e.transformation),L[12]-=e.localOrigin.vec3[0],L[13]-=e.localOrigin.vec3[1],L[14]-=e.localOrigin.vec3[2],f(S,L),c(S,S),this._bufferWriter.write(L,S,e.geometry.attributes,e.geometry.objectAndLayerIdColor,t,r))}updateAnimation(e){return this.material.update(e)}acquireTechniques(e){if(!this.material.shouldRender(e))return null;const{output:t,bind:r}=e,i=this.material.produces.get(r.slot);if(!i?.(t))return null;const{highlight:s,slot:o}=r,a=t===g.ShadowHighlight,n=t===g.Highlight,l=n||a,h=s?.name;if(l&&(0===this._highlightNames.size||n&&h&&!this._highlightNames.has(h)))return null;const u=e=>n&&!!h&&!e.has(h),f=t===g.ShadowExcludeHighlight,c=!(l||f);for(const{buffers:d}of this._dataByOrigin.values())for(const i of d){if(u(i.highlightNames))continue;const s=a?i.drawCommandsHighlights.get(D):l?h?i.drawCommandsHighlights.get(h):i.drawCommandsHighlights.size>0:((f&&i.needsMultipleCommands()?i.drawCommandsShadowHighlightRest:i.drawCommandsDefault)||null)?.length??!1,n=c&&i.drawCommandsOccludees||null;if(s||n?.length){const i=this._glMaterials.load(e.rctx,o,t),s=i?.beginSlot(r);if(s)return s}}return null}render(e,t){const{output:r,bind:i}=e,{slot:s,highlight:o}=i,n=r===g.Highlight,l=o?.name??"";if(n&&!o)return;const h=r===g.ShadowHighlight,u=n||h,f=r===g.ShadowExcludeHighlight,c=!(u||f),d=s===w.OCCLUDER_MATERIAL||s===w.TRANSPARENT_OCCLUDER_MATERIAL?s:null,{rctx:m}=e;m.runAppleAmdDriverHelper();const p=m.bindTechnique(t,i,this.material.parameters);for(const g of this._dataByOrigin.values())for(const e of g.buffers){if(n&&(!e.hasHighlights||!e.drawCommandsHighlights.has(l)))continue;if(h&&(!e.hasHighlights||!e.drawCommandsHighlights.has(D)))continue;const r=()=>{const t=[],r=e.drawCommandsHighlights.get(D)??new a;return r&&t.push(r),t},s=u&&!h?e.drawCommandsHighlights.get(l)??null:null,o=h?r():u?s?[s]:F:f&&e.needsMultipleCommands()?[e.drawCommandsShadowHighlightRest]:[e.drawCommandsDefault],y=o.some(e=>e.length>0),_=c&&e.drawCommandsOccludees||null;if(y||_?.length){if(this._drawParameters.origin=g.origin,p.bindDraw(i,this.material.parameters,this._drawParameters),t.ensureAttributeLocations(e.vao),m.bindVAO(e.vao),y)for(const e of o)m.setPipelineState(t.getPipeline(!1,d)),e.forAll(e=>m.drawArrays(t.primitiveType,e.first,e.count));_?.length&&(m.setPipelineState(t.getPipeline(!0,d)),_.forAll(e=>m.drawArrays(t.primitiveType,e.first,e.count)))}}}static prune(){U=new Float32Array(I)}get test(){}};e([l({constructOnly:!0})],H.prototype,"material",void 0),e([l({})],H.prototype,"highlightOrderMap",void 0),H=e([h("esri.views.3d.webgl-engine.materials.renderers.MergedRenderer")],H);class R{constructor(e){this.origin=e,this.changes=new Array}}function j(e,t){const r=e.find(e=>e.numElements>=t);if(null==r)return null;const i=r.from;return r.from+=t,r.from>=r.to&&e.removeUnordered(r),i}const L=d(),S=d(),N=new a({allocator:e=>e||new C,deallocator:null}),I=65536,P=4*I,T=1024,G=16777216,W=G/4;let U=new Float32Array(I);function V(e){return U.length<e&&(U=new Float32Array(e)),U}function z(e){const t=4*e;return t<=T?T:t<P?i(t):Math.max(Math.min(Math.ceil(1.5*t/P)*P,G),t)}const F=[];let k;export{H as MergedRenderer,z as sizeForVao};
5
+ import{_ as e}from"../../../../../chunks/tslib.es6.js";import{removeUnordered as t,filterInPlace as r}from"../../../../../core/arrayUtils.js";import"../../../../../core/has.js";import{nextHighestPowerOfTwo as s}from"../../../../../core/mathUtils.js";import{disposeMaybe as i}from"../../../../../core/maybe.js";import{NestedMap as a}from"../../../../../core/NestedMap.js";import o from"../../../../../core/PooledArray.js";import{addMany as n}from"../../../../../core/SetUtils.js";import{property as l}from"../../../../../core/accessorSupport/decorators/property.js";import"../../../../../core/Logger.js";import{subclass as h}from"../../../../../core/accessorSupport/decorators/subclass.js";import{copy as u,invert as f,transpose as c}from"../../../../../core/libs/gl-matrix-2/math/mat4.js";import{create as d}from"../../../../../core/libs/gl-matrix-2/factories/mat4f64.js";import{glLayout as m}from"../../../support/buffer/glUtil.js";import{SyncRenderPlugin as g}from"../../effects/RenderPlugin.js";import{GLMaterials as p}from"../../lib/GLMaterials.js";import{assert as y}from"../../lib/Util.js";import{DrawParameters as _}from"../DrawParameters.js";import{BufferRange as b,mergeAdjacentRanges as v}from"./BufferRange.js";import{Instance as w}from"./Instance.js";import{PerBufferData as C,hasVao as O}from"./PerBufferData.js";import{PerOriginData as A}from"./PerOriginData.js";import{defaultHighlightName as B}from"../../../../support/HighlightDefaults.js";let E=class extends g{get _hasHighlights(){return this._highlightNames.size>0}hasHighlight(e){return this._highlightNames.has(e)}constructor(e){super(e),this._dataByOrigin=new Map,this._drawParameters=new _,this._highlightNames=new Set,this.drapedPriority=0,this._produces=new Map,this._hasOccludees=!1}destroy(){this._glMaterials=i(this._glMaterials),this._dataByOrigin.forEach(e=>e.dispose()),this._dataByOrigin.clear(),this._vaoCache=null}initialize(){this._updateProduces()}_updateProduces(){this.material.produces.forEach((e,t)=>{this._produces.set(t,t=>!(0===this._dataByOrigin.size||!(8!==t&&5!==t||this._hasHighlights))&&e(t))})}initializeRenderContext(e){U??=e.renderContext.rctx.isAssumedMetalDriver,this._glMaterials=new p(this.material,e.materials),this._bufferWriter=this.material.createBufferWriter(),this._vaoCache=e.renderContext.rctx.getVaoCache(this.material.vertexAttributeLocations,m(this._bufferWriter.vertexBufferLayout))}uninitializeRenderContext(){}get produces(){return this._produces}get hasOccludees(){return this._hasOccludees}get hasOnlyOccluders(){return!!(-2&this.renderOccludedFlags)}get hasEmissions(){return this.material.hasEmissions}get isDecoration(){return this.material.parameters.isDecoration}get renderOccludedFlags(){return this.material.renderOccludedFlags}get numGeometries(){let e=0;return this._dataByOrigin.forEach(t=>e+=t.buffers.reduce((e,t)=>e+t.instances.size,0)),e}get usedMemory(){let e=0;return this._dataByOrigin.forEach(t=>e+=t.buffers.reduce((e,t)=>e+t.vao.cachedMemory,0)),e}forEachGeometry(e){this._dataByOrigin.forEach(t=>t.buffers.forEach(t=>t.instances.forEach(({geometry:t})=>e(t))))}modify(e,t){this._applyUpdates(e,t),this._applyAddsAndRemoves(e),this._updateDrawCommands()}get canCompact(){for(const e of this._dataByOrigin.values())if(e.buffers.some(e=>e.holes.length>1))return!0;return!1}compact(e){if(!this.canCompact)return!1;let t=!1;for(const r of this._dataByOrigin.values()){const s=new Array;for(let t=0;t<r.buffers.length&&!e.done;){const i=r.buffers[t];i.holes.length<=1?++t:(i.instances.forEach(({geometry:e})=>s.push(e)),this._vaoCache.deleteVao(i.vao),r.buffers[t]=r.buffers[r.buffers.length-1],--r.buffers.length,e.madeProgress())}if(s.length>0){for(r.buffers.forEach(e=>this._applyAdds(e,s));s.length>0;)r.buffers.push(this._applyAndRebuild(new C,s,null));t=!0}}return t}updateHighlights(e){this.highlightOrderMap=e,this._highlightNames.clear(),this._dataByOrigin.forEach(t=>{t.buffers.forEach(t=>{t.updateHighlights(e),t.highlightNames.forEach(e=>this._highlightNames.add(e))})}),this._updateProduces()}_applyUpdates(e,t){const r=this._bufferWriter;if(null==r)return void e.clearUpdates();const s=r.vertexBufferLayout.stride/4;for(const i of e.updates){if(t.done)return;const{renderGeometry:a,updateType:o}=i;e.pending.updates.removeUnordered(i),t.madeProgress();const n=this._dataByOrigin.get(a.localOrigin.id),l=n?.findBuffer(a.id);if(null==l)return;const h=l.instances.get(a.id);if(6&o){const e=V(r.elementCount(h.geometry.geometry.attributes)*s),t=r.vertexBufferLayout.createView(e.buffer);this._writeGeometry(a,t,0),l.vao.vertexBuffers.get("geometry").setSubData(e,h.from*s,0,h.numElements*s)}25&o&&(l.drawCommandsDirty=!0)}}_computeDeltas(e,t){const r=new a;for(const s of e){const e=s.localOrigin;if(null==e)continue;let t=r.get(e.id,null);null==t&&(t=new x(e.vec3),r.set(e.id,null,t)),t.changes.push(s)}for(const s of t){const e=s.localOrigin;if(null==e)continue;const t=this._dataByOrigin.get(e.id),i=t?.findBuffer(s.id);if(null==i)continue;let a=r.get(e.id,i);null==a&&(a=new x(e.vec3),r.set(e.id,i,a)),a.changes.push(s)}return r}_applyAddsAndRemoves(e){const{_bufferWriter:r,_dataByOrigin:s,_vaoCache:i}=this;if(null==r||null==i)return void e.clearAddsAndRemoves();const a=r.vertexBufferLayout.stride/4,o=this._computeDeltas(e.adds,e.removes);o.forEach((e,n)=>{const l=e.get(null),h=l?.changes??[];o.delete(n,null);let u=s.get(n);if(e.forEach((e,l)=>{if(o.delete(n,l),null==l&&y(!1,"No VAO for removed geometries"),l.instances.size===e.changes.length)return i.deleteVao(l.vao),t(u.buffers,l),void(0===u.buffers.length&&0===h.length&&s.delete(n));const f=l.numElements,c=l.vao.getByteLength("geometry")/4,d=h.reduce((e,t)=>e+r.elementCount(t.geometry.attributes),0),m=e.changes.reduce((e,t)=>e+r.elementCount(t.geometry.attributes),0),g=Math.min((f+d-m)*a,N),p=g>c;g>R&&g<c/2?(e.changes.forEach(({id:e})=>l.deleteInstance(e)),l.instances.forEach(({geometry:e})=>h.push(e)),this._vaoCache.deleteVao(l.vao),t(u.buffers,l)):p?this._applyAndRebuild(l,h,e):this._applyRemoves(l,e)}),h.length>0)for(null==u&&(u=new A(l.origin),s.set(n,u)),u.buffers.forEach(e=>this._applyAdds(e,h));h.length>0;)u.buffers.push(this._applyAndRebuild(new C,h,null))}),e.clearAddsAndRemoves()}_updateDrawCommands(){this._highlightNames.clear(),this._hasOccludees=!1,this._dataByOrigin.forEach(e=>{e.buffers.forEach(e=>{e.updateIfDrawCommandsDirty(this.highlightOrderMap,this._bufferWriter.vertexBufferLayout.stride),e.hasHighlights&&n(this._highlightNames,e.highlightNames),this._hasOccludees||=e.hasOccludees})})}_applyAndRebuild(e,t,r){if(r)for(const d of r.changes)e.deleteInstance(d.id);const s=this._bufferWriter,i=s.vertexBufferLayout.stride,a=i/4,o=Math.floor(N/a);let n=e.numElements;for(;t.length>0;){const r=t.pop(),i=s.elementCount(r.geometry.attributes);if(n+i>o&&n>0){t.push(r);break}n+=i;const a=new w(r,0,0,this.highlightOrderMap);y(null==e.instances.get(r.id)),e.addInstance(r.id,a)}const l=n*a,h=V(l),u=s.vertexBufferLayout.createView(h.buffer);let f=0;e.resetInstanceSummary(),e.instances.forEach((t,r)=>{this._writeGeometry(t.geometry,u,f);const i=f;f+=s.elementCount(t.geometry.geometry.attributes),e.updateInstance(r,i,f),e.updateDrawState(t)}),this._vaoCache.deleteVao(e.vao),e.vao=this._vaoCache.newVao(G(l)),e.vao.vertexBuffers.get("geometry").setSubData(h,0,0,f*a),e.holes.clear();const c=e.holes.pushNew();return c.from=f,c.to=Math.floor(e.vao.getByteLength("geometry")/i),e.updateDrawCommands(this.highlightOrderMap,i),e}_applyRemoves(e,t){if(0===t.changes.length||null==this._bufferWriter)return;let r=1/0,s=-1/0;for(const o of t.changes){const t=o.id,i=e.instances.get(t);if(!i)continue;e.deleteInstance(t),U&&(r=Math.min(r,i.from),s=Math.max(s,i.to));const a=L.back();if(a){if(a.to===i.from){a.to=i.to;continue}if(a.from===i.to){a.from=i.from;continue}}const n=L.pushNew();n.from=i.from,n.to=i.to}v(L);const i=this._bufferWriter.vertexBufferLayout.stride/4,a=e.vao.vertexBuffers.get("geometry");if(U){const t=(s-r)*i,o=V(t),n=this._bufferWriter.vertexBufferLayout.createView(o.buffer);o.fill(0,0,t),e.instances.forEach(e=>{if(!(e.from>=r&&e.to<=s))return;const t=e.from-r;this._writeGeometry(e.geometry,n,t)}),a.setSubData(o,r*i,0,t)}else{const e=L.reduce((e,t)=>Math.max(e,t.numElements),0)*i,t=V(e);t.fill(0,0,e),L.forAll(e=>a.setSubData(t,e.from*i,0,e.numElements*i))}e.holes.pushArray(L.data,L.length),L.forAll((e,t)=>L.data[t]=null),L.clear(),e.drawCommandsDirty=!0}_applyAdds(e,t){if(0===t.length||null==this._bufferWriter)return;if(!O(e))return void this._applyAndRebuild(e,t,null);const s=this._bufferWriter,i=s.vertexBufferLayout.stride/4,a=e.numElements,o=t.reduce((e,t)=>e+s.elementCount(t.geometry.attributes),0),n=Math.min((a+o)*i,N),l=4*n;if(e.vao.getByteLength("geometry")<G(N-R)&&l>e.vao.getByteLength("geometry"))return void this._applyAndRebuild(e,t,null);v(e.holes);const h=new Array;let u=1/0,f=-1/0;for(const r of t){const t=s.elementCount(r.geometry.attributes),i=M(e.holes,t);h.push(i),U&&null!=i&&(u=Math.min(i,u),f=Math.max(i+t,f))}const c=e.vao.vertexBuffers.get("geometry");let d=0,m=0,g=0;const p=V(U?(f-u)*i:n),_=s.vertexBufferLayout.createView(p.buffer);if(t.forEach((t,r)=>{const a=h[r];if(null==a)return;const o=s.elementCount(t.geometry.attributes);if(!U){if(!(g===a)){const e=g-m;e>0&&c.setSubData(p,m*i,0,e*i),m=a,d=0}this._writeGeometry(t,_,d),d+=o,g=a+o}const n=new w(t,a,a+o,this.highlightOrderMap);y(null==e.instances.get(t.id)),e.addInstance(t.id,n),e.drawCommandsDirty=!0}),U){const t=(f-u)*i;p.fill(0,0,t),e.instances.forEach(e=>{if(!(e.from>=u&&e.to<=f))return;const t=e.from-u;this._writeGeometry(e.geometry,_,t)}),m=u,g=f}const b=g-m;b>0&&c.setSubData(p,m*i,0,b*i),r(t,(e,t)=>null==h[t])}_writeGeometry(e,t,r){null!=this._bufferWriter&&(u(D,e.transformation),D[12]-=e.localOrigin.vec3[0],D[13]-=e.localOrigin.vec3[1],D[14]-=e.localOrigin.vec3[2],f(j,D),c(j,j),this._bufferWriter.write(D,j,e.geometry.attributes,e.geometry.objectAndLayerIdColor,t,r))}updateAnimation(e){return this.material.update(e)}acquireTechniques(e){if(!this.material.shouldRender(e))return null;const{output:t,bind:r}=e,s=this.material.produces.get(r.slot);if(!s?.(t))return null;const{highlight:i,slot:a}=r,o=5===t,n=8===t,l=n||o,h=i?.name;if(l&&(0===this._highlightNames.size||n&&h&&!this._highlightNames.has(h)))return null;const u=e=>n&&!!h&&!e.has(h),f=6===t,c=!(l||f);for(const{buffers:d}of this._dataByOrigin.values())for(const s of d){if(u(s.highlightNames))continue;const i=o?s.drawCommandsHighlights.get(B):l?h?s.drawCommandsHighlights.get(h):s.drawCommandsHighlights.size>0:((f&&s.needsMultipleCommands()?s.drawCommandsShadowHighlightRest:s.drawCommandsDefault)||null)?.length??!1,n=c&&s.drawCommandsOccludees||null;if(i||n?.length){const s=this._glMaterials.load(e.rctx,a,t),i=s?.beginSlot(r);if(i)return i}}return null}render(e,t){const{output:r,bind:s}=e,{slot:i,highlight:a}=s,n=8===r,l=a?.name??"";if(n&&!a)return;const h=5===r,u=n||h,f=6===r,c=!(u||f),d=9===i||10===i?i:null,{rctx:m}=e;m.runAppleAmdDriverHelper();const g=m.bindTechnique(t,s,this.material.parameters);for(const p of this._dataByOrigin.values())for(const e of p.buffers){if(n&&(!e.hasHighlights||!e.drawCommandsHighlights.has(l)))continue;if(h&&(!e.hasHighlights||!e.drawCommandsHighlights.has(B)))continue;const r=()=>{const t=[],r=e.drawCommandsHighlights.get(B)??new o;return r&&t.push(r),t},i=u&&!h?e.drawCommandsHighlights.get(l)??null:null,a=h?r():u?i?[i]:I:f&&e.needsMultipleCommands()?[e.drawCommandsShadowHighlightRest]:[e.drawCommandsDefault],y=a.some(e=>e.length>0),_=c&&e.drawCommandsOccludees||null;if(y||_?.length){if(this._drawParameters.origin=p.origin,g.bindDraw(s,this.material.parameters,this._drawParameters),t.ensureAttributeLocations(e.vao),m.bindVAO(e.vao),y)for(const e of a)m.setPipelineState(t.getPipeline(!1,d)),e.forAll(e=>m.drawArrays(t.primitiveType,e.first,e.count));_?.length&&(m.setPipelineState(t.getPipeline(!0,d)),_.forAll(e=>m.drawArrays(t.primitiveType,e.first,e.count)))}}}static prune(){W=new Float32Array(R)}get test(){}};e([l({constructOnly:!0})],E.prototype,"material",void 0),e([l({})],E.prototype,"highlightOrderMap",void 0),E=e([h("esri.views.3d.webgl-engine.materials.renderers.MergedRenderer")],E);class x{constructor(e){this.origin=e,this.changes=new Array}}function M(e,t){const r=e.find(e=>e.numElements>=t);if(null==r)return null;const s=r.from;return r.from+=t,r.from>=r.to&&e.removeUnordered(r),s}const D=d(),j=d(),L=new o({allocator:e=>e||new b,deallocator:null}),R=65536,H=4*R,P=1024,S=16777216,N=S/4;let W=new Float32Array(R);function V(e){return W.length<e&&(W=new Float32Array(e)),W}function G(e){const t=4*e;return t<=P?P:t<H?s(t):Math.max(Math.min(Math.ceil(1.5*t/H)*H,S),t)}const I=[];let U;export{E as MergedRenderer,G as sizeForVao};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{MemCachePool as e}from"../../../../../core/MemCachePool.js";import{VertexArrayObject as t}from"../../lib/VertexArrayObject.js";import{BufferObject as r}from"../../../../webgl/BufferObject.js";import{Usage as o}from"../../../../webgl/enums.js";class s{constructor(t,r,o){this._rctx=t,this._locations=r,this._layout=o,this._cache=new e(t.newCache,"VAOCache")}dispose(){this._cache.destroy()}newVao(e){const s=e.toString();let c=this._cache.pop(s);return c||(c=new t(this._rctx,this._locations,new Map([["geometry",this._layout]]),new Map([["geometry",r.createVertex(this._rctx,o.STATIC_DRAW)]])),c.vertexBuffers.get("geometry")?.setSize(e),c)}deleteVao(e){if(null==e)return;const t=e.getByteLength("geometry").toString();this._cache.put(t,e)}}export{s as VaoCache};
5
+ import{MemCachePool as e}from"../../../../../core/MemCachePool.js";import{VertexArrayObject as t}from"../../lib/VertexArrayObject.js";import{BufferObject as r}from"../../../../webgl/BufferObject.js";class o{constructor(t,r,o){this._rctx=t,this._locations=r,this._layout=o,this._cache=new e(t.newCache,"VAOCache")}dispose(){this._cache.destroy()}newVao(e){const o=e.toString();let s=this._cache.pop(o);return s||(s=new t(this._rctx,this._locations,new Map([["geometry",this._layout]]),new Map([["geometry",r.createVertex(this._rctx,35044)]])),s.vertexBuffers.get("geometry")?.setSize(e),s)}deleteVao(e){if(null==e)return;const t=e.getByteLength("geometry").toString();this._cache.put(t,e)}}export{o as VaoCache};